/* Stable native-template corrections shared by the editor, preview and exports. */

/* Prevent theme and browser styles from stretching media outside its template box. */
.bwdcvs-main-wrapper .profile-img img,
.bwdcvs-main-wrapper .signature {
	max-inline-size: 100%;
}

/* Keep user-entered copy inside the column and section that owns it. */
.bwdcvs-main-wrapper .cv-left-content,
.bwdcvs-main-wrapper .cv-right-content,
.bwdcvs-main-wrapper .section,
.bwdcvs-main-wrapper .bwdcvs-content-wrapper,
.bwdcvs-main-wrapper .profile-info,
.bwdcvs-main-wrapper .bwdcv-name-wrap,
.bwdcvs-main-wrapper .icon-title-wrap,
.bwdcvs-main-wrapper .section-title {
	box-sizing: border-box;
	min-inline-size: 0;
}

.bwdcvs-main-wrapper .section-title,
.bwdcvs-main-wrapper .description,
.bwdcvs-main-wrapper .company-name,
.bwdcvs-main-wrapper .designation,
.bwdcvs-main-wrapper .degree-name,
.bwdcvs-main-wrapper .study-field,
.bwdcvs-main-wrapper .institution,
.bwdcvs-main-wrapper .reference-name,
.bwdcvs-main-wrapper .bwdcv-pb-label,
.bwdcvs-main-wrapper .contact-value {
	overflow-wrap: anywhere;
	word-break: normal;
}

/* Dynamic headings must wrap inside the native BWD title treatment. */
.style2 .cv-builder-information .section .icon-title-wrap,
.style3 .cv-builder-information .section .icon-title-wrap,
.style5 .cv-builder-information .section .icon-title-wrap,
.style15 .cv-builder-information .section .icon-title-wrap,
.style18 .cv-builder-information .section .icon-title-wrap,
.style19 .cv-builder-information .section .icon-title-wrap,
.style20 .cv-builder-information .section .icon-title-wrap,
.style21 .cv-builder-information .section .icon-title-wrap,
.style22 .cv-builder-information .section .icon-title-wrap,
.style25 .cv-builder-information .section .icon-title-wrap {
	max-inline-size: 100%;
}

.style2 .cv-builder-information .section .section-title,
.style3 .cv-builder-information .section .section-title,
.style5 .cv-builder-information .section .section-title,
.style15 .cv-builder-information .section .section-title,
.style18 .cv-builder-information .section .section-title,
.style19 .cv-builder-information .section .section-title,
.style20 .cv-builder-information .section .section-title,
.style21 .cv-builder-information .section .section-title,
.style22 .cv-builder-information .section .section-title,
.style25 .cv-builder-information .section .section-title {
	line-height: 1.15;
	max-inline-size: 100%;
	white-space: normal;
}

.style3 .cv-builder-information .cv-body .bwdcv-main-wrapper .cv-left-content .icon-title-wrap {
	inline-size: max-content;
	max-inline-size: 100%;
}

.style3 .cv-builder-information .cv-body .bwdcv-main-wrapper .icon-title-wrap .section-title {
	font-size: 20px !important;
	letter-spacing: .5px;
}

.style4 .cv-builder-information .cv-body .bwdcv-main-wrapper .icon-title-wrap .section-title {
	font-size: 20px !important;
	line-height: 1.2;
}

.style5 .cv-builder-information .cv-body .bwdcv-main-wrapper .icon-title-wrap .section-title {
	font-size: 22px !important;
	letter-spacing: 1px;
}

/* Style 5's decorative negative margins collide when CV copy wraps to extra lines. */
.style5 .cv-builder-information .cv-body .bwdcv-main-wrapper .section-skills,
.style5 .cv-builder-information .cv-body .bwdcv-main-wrapper .section-languages,
.style5 .cv-builder-information .cv-body .bwdcv-main-wrapper .section-hobbies,
.style5 .cv-builder-information .cv-body .bwdcv-main-wrapper .section-about,
.style5 .cv-builder-information .cv-body .bwdcv-main-wrapper .section-education,
.style5 .cv-builder-information .cv-body .bwdcv-main-wrapper .section-experience,
.style5 .cv-builder-information .cv-body .bwdcv-main-wrapper .section-reference {
	margin-block-start: 18px !important;
}

.style15 .cv-builder-information .cv-body .bwdcv-main-wrapper .icon-title-wrap .section-title {
	font-size: 21px !important;
	letter-spacing: 2px;
}

/* Public Style 11 uses renderer style23. Keep long competency labels compact. */
.style23 .cv-builder-information .section-skills .cv-skill,
.style23 .cv-builder-information .section-skills .bwdcv-pb-label,
.style23 .cv-builder-information .section-skills .bwdcv-pb-label > span,
.style23 .cv-builder-information .section-skills .rich-text {
	font-size: 10px !important;
	line-height: 1.2 !important;
	letter-spacing: .1px !important;
}

.style23 .cv-builder-information .section-skills .bwdcv-pb-value,
.style23 .cv-builder-information .section-skills [class*="percent"] {
	font-size: 9px !important;
	line-height: 1.2 !important;
}

/* Narrow native headings remain readable when users enter descriptive titles. */
.style12 .cv-builder-information .cv-body .bwdcv-main-wrapper .icon-title-wrap .section-title,
.style19 .cv-builder-information .cv-body .bwdcv-main-wrapper .icon-title-wrap .section-title {
	font-size: 18px !important;
	line-height: 1.2;
}

.style13 .cv-builder-information .cv-body .bwdcv-main-wrapper .icon-title-wrap .section-title,
.style17 .cv-builder-information .cv-body .bwdcv-main-wrapper .icon-title-wrap .section-title,
.style18 .cv-builder-information .cv-body .bwdcv-main-wrapper .icon-title-wrap .section-title {
	font-size: 20px !important;
	line-height: 1.2;
}

.style20 .cv-builder-information .cv-body .bwdcv-main-wrapper .icon-title-wrap .section-title {
	font-size: 16px !important;
	line-height: 1.2;
}

/* Styles 21 and 22 use compact side headings; long translated titles remain legible. */
.style21 .cv-builder-information .cv-body .bwdcv-main-wrapper .cv-left-content .icon-title-wrap .section-title,
.style22 .cv-builder-information .cv-body .bwdcv-main-wrapper .cv-left-content .icon-title-wrap .section-title {
	font-size: 20px;
	letter-spacing: 1px;
	line-height: 1.15;
	overflow-wrap: anywhere;
	padding-inline: 12px;
	white-space: normal;
}

/* Preserve the original BWD offsets/transforms while preventing translated labels from wrapping. */
.style21 .cv-builder-information .cv-body .bwdcv-main-wrapper .cv-right-content .icon-title-wrap,
.style22 .cv-builder-information .cv-body .bwdcv-main-wrapper .cv-right-content .icon-title-wrap {
	inline-size: max-content;
	max-inline-size: none;
}

.style21 .cv-builder-information .cv-body .bwdcv-main-wrapper .cv-right-content .icon-title-wrap .section-title,
.style22 .cv-builder-information .cv-body .bwdcv-main-wrapper .cv-right-content .icon-title-wrap .section-title {
	inline-size: auto;
	max-inline-size: none;
	white-space: nowrap;
}

.style21 .cv-builder-information .cv-body .bwdcv-main-wrapper .cv-right-content .icon-title-wrap .section-title,
.style22 .cv-builder-information .cv-body .bwdcv-main-wrapper .cv-right-content .icon-title-wrap .section-title {
	font-size: 20px;
	letter-spacing: 3px;
	line-height: 1;
}

/*
 * The account editor keeps the user's section order. When Reference precedes
 * Hobbies in public Style 24, the two rotated labels need the same visual gap
 * the original Elementor demo receives from its opposite section order.
 */
.style21 .cv-builder-information .cv-body .bwdcv-main-wrapper .cv-right-content .section-reference + .section-hobbies {
	margin-block-start: 110px !important;
}

/* Keep Style 25's About Me and Education vertical labels from touching. */
.style22 .cv-builder-information .cv-body .bwdcv-main-wrapper .cv-right-content .section-about + .section-education {
	margin-block-start: 78px !important;
}

/* Optional QR codes stay clear of the profile name and live ATS score. */
.bwdcvs-main-wrapper #qr-code-canvas {
	block-size: 96px !important;
	inline-size: 96px !important;
	max-block-size: 96px;
	max-inline-size: 96px;
}

@media (max-width: 640px) {
	.bwdcvs-main-wrapper #qr-code-canvas {
		block-size: 72px !important;
		inline-size: 72px !important;
	}
}
