/* =========================================================
   Imported WordPress pages (npm run import:wp pages)
   The Elementor layouts of retal.com.sa are imported as plain
   content — headings, text, lists, tables, images, media — so
   none of the Elementor stylesheets are needed. The design pass
   of `src/app/(frontend)/_components/wpDesign.ts` groups that
   content into the site's own vocabulary (.wp-eyebrow, .wp-title,
   .wp-lead, .wp-cards, .wp-accordion, .wp-tabs, .wp-media) and
   this stylesheet gives it the look of the designed pages:
   the same container, typography, brown accent, beige rhythm,
   cards and controls as style.css.
   A page that gets a designed layout later simply drops `pageCss`
   in the Shell tab.
   ========================================================= */

/* ---------------- Section rhythm ----------------
   The sections alternate white / beige exactly like the home page
   alternates its bands. `.cms-section` (display:contents) is the
   wrapper PageShell renders around each imported section, so the
   count runs over the page's sections, not over the markup inside. */
.wp-section { background: #fff; padding: 90px 0; }
.wp-section > .container { max-width: var(--container); }
main > .cms-section:nth-of-type(even) > .wp-section:not(.wp-section--bg) { background: var(--beige, #F9F7F3); }
/* PageShell wraps every section in its own `.cms-section` div, so two sections
   are never DOM siblings: the first-section rule is written on the wrapper. */
main > .cms-section:first-of-type > .wp-section:not(.wp-section--bg) { padding-top: 70px; }

/* One Elementor design is often split across three sections — a heading here,
   its picture there, one line below — and at full padding they read as three
   empty screens. A section that holds only pictures, or only a line of text,
   closes the gap to the one above it. */
.wp-section--media:not(.wp-section--tint) { padding-top: 0; padding-bottom: 50px; }
.wp-section--tight:not(.wp-section--tint) { padding-top: 55px; padding-bottom: 15px; }
main > .cms-section:first-of-type > .wp-section--media,
main > .cms-section:first-of-type > .wp-section--tight { padding-top: 70px; }
/* Logos and marks are drawn in one colour — often white — so they are shown on
   a tile instead of on the page's own white. Photographs keep their own frame. */
.wp-section--media > .container > img[src$=".svg"],
.wp-section--media > .container > img[src$=".png"],
.wp-section--media > .container > a > img[src$=".svg"],
.wp-section--media > .container > a > img[src$=".png"],
.wp-section--media > .container > p > img[src$=".svg"],
.wp-section--media > .container > p > img[src$=".png"] { background: var(--beige, #F9F7F3); padding: 24px; }
/* Artwork drawn in white is invisible on a light tile, and the brand library is
   full of it; the file names say which those are. Listed with the same reach as
   the tile rules above so it is the colour that wins, not the longer selector. */
.wp-section img[src*="white" i],
.wp-section--media > .container > img[src*="white" i],
.wp-section--media > .container > a > img[src*="white" i],
.wp-section--media > .container > p > img[src*="white" i],
.wp-media > img[src*="white" i],
.wp-media > a > img[src*="white" i],
.wp-media > figure > img[src*="white" i] { background: #2C2C2C; padding: 24px; }

/* Hero: a section that carried a background photo on the live site.
   Same treatment as the inner-page heroes — full-bleed photo, dark
   gradient from the bottom, copy centred over it. */
.wp-section--bg {
	position: relative; background-size: cover; background-position: center; background-repeat: no-repeat;
	color: #fff; padding: 140px 0; min-height: 62vh; display: flex; align-items: center;
}
.wp-section--bg::before {
	content: ''; position: absolute; inset: 0;
	background: linear-gradient(to bottom, rgba(0, 0, 0, .45) 0%, rgba(0, 0, 0, .35) 45%, rgba(22, 9, 5, .75) 100%);
}
.wp-section--bg > .container { position: relative; z-index: 1; width: 100%; text-align: center; }

/* ---------------- Typography ---------------- */
.wp-section h1, .wp-section h2, .wp-section .wp-title {
	font-family: var(--font-head); font-size: 30px; font-weight: 700; line-height: 45px; color: #2C2C2C; margin: 0 0 20px;
}
.wp-section h1 { font-size: 38px; line-height: 52px; }
.wp-section h3 { font-family: var(--font-head); font-size: 22px; font-weight: 700; line-height: 34px; color: #2C2C2C; margin: 40px 0 12px; }
.wp-section h4, .wp-section h5, .wp-section h6 { font-family: var(--font-body); font-size: 19px; font-weight: 600; line-height: 30px; color: #2C2C2C; margin: 30px 0 12px; }
.wp-section p { font-family: var(--font-body); font-size: 17px; line-height: 1.7; color: #7A7A7A; margin: 0 0 20px; }
.wp-section > .container > *:first-child { margin-top: 0; }
.wp-section > .container > *:last-child { margin-bottom: 0; }

/* The Elementor "icon list" label above a title (.section-label of the site). */
.wp-eyebrow {
	display: flex; align-items: center; gap: 10px; margin: 0 0 18px;
	font-family: var(--font-body); font-size: 15px; line-height: 30px; letter-spacing: .04em;
	color: #85553A; text-transform: uppercase;
}
.wp-eyebrow .line { display: inline-block; width: 22px; height: 1px; background: currentColor; flex: 0 0 auto; }
.wp-eyebrow a { color: inherit; }
/* The label was a line of its own in Elementor, broken to fit its column. */
.wp-eyebrow br { display: none; }

/* A heading Elementor used as a sub-title; it is body copy, set as a lead. */
.wp-lead {
	font-family: var(--font-body); font-size: 21px; font-weight: 400; line-height: 1.6; color: #2C2C2C;
	max-width: 900px; margin: 0 0 24px;
}
.wp-section--bg .wp-lead { margin-left: auto; margin-right: auto; }
/* On a photo hero the copy carries the message (the thank-you pages), so it is
   set at heading scale rather than as body text. */
.wp-section--bg .wp-text { font-family: var(--font-head); font-size: 26px; line-height: 40px; color: #fff; }
.wp-section--bg .wp-text strong { color: #fff; font-weight: 400; }
.wp-subtitle { font-size: 26px; line-height: 38px; margin-top: 50px; }

/* `:not(.btn)` matters: this selector outranks `.btn-brown`, so without it the
   imported buttons got brown text on their brown fill and read as empty boxes. */
.wp-section a:not(.btn) { color: #85553A; transition: color .3s; }
.wp-section a:not(.btn):hover { text-decoration: underline; }
.wp-section strong { color: #2C2C2C; }

.wp-section ul, .wp-section ol { font-family: var(--font-body); font-size: 17px; line-height: 1.7; color: #7A7A7A; margin: 0 0 20px; padding-left: 20px; }
.wp-section ul { list-style: none; padding-left: 0; }
.wp-section ol { list-style: decimal; padding-left: 22px; }
.wp-section ul > li { position: relative; padding-left: 22px; margin: 0 0 10px; }
.wp-section ul > li::before { content: ''; position: absolute; left: 0; top: 12px; width: 8px; height: 1px; background: #85553A; }
.wp-section ol > li { margin: 0 0 10px; }
.wp-section blockquote {
	border-left: 2px solid #85553A; margin: 0 0 24px; padding: 6px 0 6px 24px;
	font-family: var(--font-head); font-size: 21px; line-height: 34px; color: #2C2C2C;
}

/* ---------------- Cards (a run of links that only hold a heading) ---------------- */
.wp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 10px 0 30px; }
.wp-card {
	display: flex; flex-direction: column; justify-content: space-between; min-height: 190px;
	background: #fff; border: 1px solid rgba(0, 0, 0, .1); padding: 28px 26px 24px;
	transition: border-color .3s, box-shadow .3s, transform .3s;
}
.wp-card h2, .wp-card h3, .wp-card h4 {
	font-family: var(--font-head); font-size: 19px; font-weight: 700; line-height: 29px; color: #2C2C2C;
	margin: 0; transition: color .3s;
}
.wp-card::after {
	content: '\f061'; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: 13px;
	color: #85553A; margin-top: 20px; transition: transform .3s;
}
.wp-section a.wp-card:hover { border-color: #85553A; box-shadow: 0 14px 30px rgba(44, 44, 44, .08); transform: translateY(-3px); text-decoration: none; }
.wp-card:hover h2, .wp-card:hover h3, .wp-card:hover h4 { color: #85553A; }
.wp-card:hover::after { transform: translateX(6px); }
main > .cms-section:nth-of-type(even) > .wp-section .wp-card { background: #fff; }

/* ---------------- Item cards (a repeated heading + facts) ----------------
   The imported project and unit lists: a status badge, a linked title and a
   short list of facts, repeated. They read as the site's project cards. */
.wp-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 10px 0 30px; }
.wp-item {
	display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
	background: #fff; border: 1px solid rgba(0, 0, 0, .1); padding: 26px 24px; transition: border-color .3s, box-shadow .3s;
}
.wp-item:hover { border-color: #85553A; box-shadow: 0 14px 30px rgba(44, 44, 44, .08); }
.wp-item h3, .wp-item h4, .wp-item h5 {
	font-family: var(--font-head); font-size: 20px; font-weight: 700; line-height: 30px; color: #2C2C2C; margin: 0;
}
.wp-item h3 a, .wp-item h4 a, .wp-item h5 a { color: inherit; transition: color .3s; }
.wp-item:hover h3 a, .wp-item:hover h4 a, .wp-item:hover h5 a { color: #85553A; text-decoration: none; }
.wp-item ul { display: flex; flex-wrap: wrap; gap: 0 18px; margin: 0; font-size: 15px; }
.wp-item ul > li { margin: 0; }
.wp-item p { font-size: 15px; margin: 0; }
/* The "coming soon" / "sold out" badge Elementor printed above the title. */
.wp-section .wp-item .btn {
	order: -1; margin: 0 0 6px; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; padding: 7px 14px;
	background: transparent; color: #85553A; border: 1px solid #85553A; pointer-events: none;
}

/* A loose line of text that introduces a form is that form's label — and it
   says the same thing as Elementor's internal field name in the <legend>. */
.wp-text:has(+ .wp-form) {
	font-family: var(--font-head); font-size: 19px; font-weight: 700; color: #2C2C2C; margin: 30px 0 10px;
}
.wp-text:has(+ .wp-form) + .wp-form legend { display: none; }

/* ---------------- Accordion (a run of <details>) ---------------- */
.wp-accordion { margin: 0 0 30px; border-top: 1px solid rgba(0, 0, 0, .12); }
.wp-acc { border-bottom: 1px solid rgba(0, 0, 0, .12); padding: 0; }
.wp-acc > summary {
	display: flex; align-items: center; gap: 14px; cursor: pointer; list-style: none; padding: 22px 40px 22px 0; position: relative;
	font-family: var(--font-head); font-size: 20px; font-weight: 700; line-height: 30px; color: #2C2C2C; transition: color .3s;
}
.wp-acc > summary::-webkit-details-marker { display: none; }
.wp-acc > summary::after {
	content: ''; position: absolute; right: 4px; top: 50%; width: 12px; height: 12px;
	background: linear-gradient(#85553A, #85553A) center/12px 1px no-repeat, linear-gradient(#85553A, #85553A) center/1px 12px no-repeat;
	transform: translateY(-50%); transition: transform .3s;
}
.wp-acc[open] > summary::after { transform: translateY(-50%) rotate(90deg); background: linear-gradient(#85553A, #85553A) center/12px 1px no-repeat; }
.wp-acc > summary:hover { color: #85553A; }
.wp-acc > summary img { width: 40px; height: 40px; object-fit: contain; }
.wp-acc > *:not(summary) { font-family: var(--font-body); font-size: 17px; line-height: 1.7; color: #7A7A7A; }
.wp-acc > p { margin: 0 0 22px; }
.wp-acc[open] { padding-bottom: 4px; }

/* ---------------- Tabs (a run of bare <button>) ---------------- */
.wp-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 30px; }
.wp-tab, .wp-section button:not(.btn) {
	font-family: var(--font-head); font-size: 15px; font-weight: 700; color: #2C2C2C;
	background: transparent; border: 1px solid #2C2C2C; padding: 12px 20px; cursor: pointer; transition: all .3s;
}
.wp-tab:hover, .wp-tab.is-active, .wp-section button:not(.btn):hover { background: #2C2C2C; color: #fff; }
.wp-section button:not(.btn) { margin: 10px 10px 10px 0; }
.rtl .wp-section button:not(.btn) { margin: 10px 0 10px 10px; }
.wp-tabs .wp-tab { margin: 0; }

/* ---------------- Media ----------------
   A run of images becomes a grid of tiles. The imported pictures are a mix of
   photographs, renders and logos, so they are contained on a beige tile rather
   than cropped to a common ratio. */
.wp-media { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; margin: 10px 0 30px; }
.wp-media > img, .wp-media > figure > img, .wp-media > a > img {
	width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: var(--beige, #F9F7F3); padding: 10px;
}
.wp-media > figure { margin: 0; }
.wp-section img { max-width: 100%; height: auto; }
/* A picture on its own is centred at its natural size, never blown up to the
   width of the container: the imported set mixes logos, portraits and renders. */
.wp-section > .container > img,
.wp-section > .container > figure > img,
.wp-section > .container > p > img,
.wp-section > .container > a > img { display: block; width: auto; margin: 0 auto 24px; max-height: 620px; }
/* An icon or a mark (a menu glyph, a logo lockup) is drawn by Elementor at its
   own large size; wpDesign.ts marks the square ones so only those are capped. */
.wp-icon, .wp-section > .container > .wp-icon,
.wp-section > .container > a > .wp-icon,
.wp-section > .container > p > .wp-icon,
.wp-media > .wp-icon, .wp-media > a > .wp-icon { max-height: 200px; }
.wp-section figure { margin: 0 0 24px; }
.wp-section figcaption { font-family: var(--font-body); font-size: 14px; color: #7A7A7A; margin-top: 10px; }
.wp-section iframe, .wp-section video { max-width: 100%; border: 0; }
.wp-section audio { width: 100%; margin: 0 0 20px; }

/* ---------------- Tables ---------------- */
.wp-section table { width: 100%; border-collapse: collapse; font-family: var(--font-body); font-size: 15px; color: #2C2C2C; margin: 0 0 24px; }
.wp-section th, .wp-section td { border: 1px solid #E5E0DB; padding: 14px 16px; text-align: left; vertical-align: top; }
.wp-section th { background: #F7F4F1; font-family: var(--font-head); font-weight: 700; }

/* ---------------- Buttons ---------------- */
.wp-section .btn { margin: 10px 10px 10px 0; }
.wp-section .cms-buttons .btn { margin: 0; }

/* ---------------- Counters (Elementor stat widget) ---------------- */
.wp-section .elementor-counter { display: flex; flex-direction: column-reverse; width: max-content; margin: 0 0 20px; }
.wp-section .elementor-counter-number-wrapper { font-family: var(--font-body); font-size: 40px; font-weight: 500; line-height: 45px; color: #2C2C2C; }
.wp-section .elementor-counter-title { font-family: var(--font-body); font-size: 16px; line-height: 20px; color: #7A7A7A; }

/* ---------------- Text over a background photo ----------------
   These must stay AFTER the typography rules above: `.wp-section--bg h2` and
   `.wp-section h2` have the same specificity, so source order decides. Placed
   before them the headings fell back to #2C2C2C and read as dark grey on the
   photo (all the thank-you pages). */
.wp-section--bg h1, .wp-section--bg h2, .wp-section--bg h3,
.wp-section--bg h4, .wp-section--bg h5, .wp-section--bg h6,
.wp-section--bg p, .wp-section--bg li, .wp-section--bg strong,
.wp-section--bg .wp-title, .wp-section--bg .wp-subtitle,
.wp-section--bg .wp-lead, .wp-section--bg .wp-text { color: #fff; }
/* The hero of the thank-you pages is one line under a title: both are set at
   heading scale, not at the 19px the imported `h6` would give. */
.wp-section--bg h4, .wp-section--bg h5, .wp-section--bg h6 {
	font-family: var(--font-body); font-size: 21px; font-weight: 400; line-height: 34px; margin: 0 0 12px;
}
.wp-section--bg .wp-title { font-size: 38px; line-height: 52px; }
.wp-section--bg .wp-eyebrow { color: #fff; justify-content: center; }
.wp-section--bg a:not(.btn) { color: #fff; text-decoration: underline; }
.wp-section--bg ul, .wp-section--bg ol { list-style: none; padding-left: 0; }
.wp-section--bg ul > li { padding-left: 0; }
.wp-section--bg ul > li::before { display: none; }

/* ---------------- Home button on a photo hero ----------------
   The thank-you pages carry their "Home" button ahead of the title in the
   imported markup; it is the call to action, so it goes after the message. */
.wp-section--bg > .container:has(> .btn:first-child) { display: flex; flex-direction: column; align-items: center; }
.wp-section--bg > .container > .btn:first-child { order: 1; margin: 20px 0 0; }

/* ---------------- Imported form markup ----------------
   `.wp-form` is an inert copy of a WordPress form: its fields are kept so the
   form can be rebuilt under Forms, but it posts nowhere until it is. The
   filter groups (city / type / status radios) read as the site's pill filters. */
.wp-form { display: flex; flex-wrap: wrap; gap: 14px; margin: 0 0 24px; }
.wp-form fieldset { flex: 1 1 100%; border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.wp-form legend {
	float: left; width: 100%; margin: 0 0 12px; padding: 0;
	font-family: var(--font-body); font-size: 15px; letter-spacing: .04em; text-transform: uppercase; color: #85553A;
}
.wp-form label { font-family: var(--font-body); font-size: 15px; color: #2C2C2C; }
.wp-form fieldset > label {
	display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
	border: 1px solid rgba(0, 0, 0, .15); padding: 10px 18px; transition: all .3s;
}
.wp-form fieldset > label:hover { border-color: #85553A; color: #85553A; }
.wp-form input[type="radio"], .wp-form input[type="checkbox"] { accent-color: #85553A; margin: 0; }
.wp-form input:not([type="radio"]):not([type="checkbox"]), .wp-form select, .wp-form textarea {
	flex: 1 1 260px; font-family: var(--font-body); font-size: 15px; color: #2C2C2C;
	background: #fff; border: 1px solid #E5E0DB; padding: 13px 16px; transition: border-color .3s;
}
.wp-form input:focus, .wp-form select:focus, .wp-form textarea:focus { border-color: #85553A; }
.wp-form input[type="hidden"] { display: none; }
.wp-form textarea { flex-basis: 100%; min-height: 120px; }
.wp-form button { flex: 0 0 auto; }

/* ---------------- Coloured bands ----------------
   An Elementor section often carries its design in a background colour rather
   than a photo (the brand pages, the landing pages). The importer keeps the
   colour as an inline background-color and says whether it is a dark band, so
   the copy, the cards and the controls can turn over. */
.wp-section--tint > .container { position: relative; z-index: 1; }
.wp-section--dark, .wp-section--dark p, .wp-section--dark li, .wp-section--dark strong,
.wp-section--dark h1, .wp-section--dark h2, .wp-section--dark h3,
.wp-section--dark h4, .wp-section--dark h5, .wp-section--dark h6,
.wp-section--dark .wp-title, .wp-section--dark .wp-subtitle,
.wp-section--dark .wp-lead, .wp-section--dark .wp-text { color: #fff; }
.wp-section--dark .wp-eyebrow { color: rgba(255, 255, 255, .75); }
.wp-section--dark a:not(.btn) { color: #fff; }
.wp-section--dark ul > li::before { background: rgba(255, 255, 255, .6); }
.wp-section--dark blockquote { border-color: rgba(255, 255, 255, .6); color: #fff; }
.wp-section--dark .wp-card, .wp-section--dark .wp-item {
	background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .25);
}
.wp-section--dark .wp-card h2, .wp-section--dark .wp-card h3, .wp-section--dark .wp-card h4,
.wp-section--dark .wp-item h3 a, .wp-section--dark .wp-item h4 a, .wp-section--dark .wp-item h5 a { color: #fff; }
.wp-section--dark a.wp-card:hover, .wp-section--dark .wp-item:hover { border-color: #fff; box-shadow: none; }
.wp-section--dark .wp-card::after { color: #fff; }
.wp-section--dark .wp-accordion, .wp-section--dark .wp-acc { border-color: rgba(255, 255, 255, .25); }
.wp-section--dark .wp-acc > summary { color: #fff; }
.wp-section--dark .wp-acc > summary::after { background-image: linear-gradient(#fff, #fff), linear-gradient(#fff, #fff); }
.wp-section--dark .wp-acc > *:not(summary) { color: rgba(255, 255, 255, .8); }
.wp-section--dark .wp-tab, .wp-section--dark button:not(.btn) { color: #fff; border-color: #fff; }
.wp-section--dark .wp-tab:hover, .wp-section--dark .wp-tab.is-active,
.wp-section--dark button:not(.btn):hover { background: #fff; color: #2C2C2C; }
.wp-section--dark .wp-form legend { color: rgba(255, 255, 255, .75); }
.wp-section--dark .wp-form label, .wp-section--dark .wp-form fieldset > label { color: #fff; border-color: rgba(255, 255, 255, .3); }
.wp-section--dark .wp-form input:not([type="radio"]):not([type="checkbox"]),
.wp-section--dark .wp-form select, .wp-section--dark .wp-form textarea {
	background: transparent; color: #fff; border-color: rgba(255, 255, 255, .4);
}
.wp-section--dark table { color: #fff; }
.wp-section--dark th, .wp-section--dark td { border-color: rgba(255, 255, 255, .25); }
.wp-section--dark th { background: rgba(255, 255, 255, .08); }
/* On a dark band the artwork already reads: no tile behind it. The white-
   artwork rule above is written with two selectors, so this one needs three. */
.wp-section.wp-section--dark img,
.wp-section.wp-section--dark .wp-media > img,
.wp-section.wp-section--dark .wp-media > a > img,
.wp-section.wp-section--dark .wp-media > figure > img,
.wp-section--dark.wp-section--media > .container > img,
.wp-section--dark.wp-section--media > .container > a > img,
.wp-section--dark.wp-section--media > .container > p > img { background: transparent; padding: 0; }

/* ---------------- Split title ----------------
   Large two-line page title, second line in the brown accent
   (`<h2 class="wp-split-title">Internship<br><span class="brown">Opportunities</span></h2>`),
   the way the WordPress form pages opened. */
.wp-section h2.wp-split-title {
	font-size: 64px; font-weight: 400; line-height: 1.2; color: #2C2C2C; margin: 0;
}
.wp-section--split-title:not(.wp-section--tint) { padding-bottom: 20px; }
/* The form under it would repeat its admin name ("Internship form En") as a heading. */
.cms-section:has(> .wp-section--split-title) + .cms-form-section .section-title { display: none; }

/* Title | form side by side, as on WordPress (Internship Opportunities: a boxed 1140px row,
   40% title column, 60% form column). `.cms-section` is display: contents, so the title's
   section and the form's section are both items of main's grid. */
main:has(> .cms-section > .wp-section--split-title):has(> .cms-form-section) {
	display: grid; align-items: start;
	grid-template-columns: minmax(10px, 1fr) minmax(0, calc(var(--container) * .4 - 10px)) minmax(0, calc(var(--container) * .6 - 10px)) minmax(10px, 1fr);
}
main:has(> .cms-section > .wp-section--split-title):has(> .cms-form-section) > *,
main:has(> .cms-section > .wp-section--split-title):has(> .cms-form-section) > .cms-section > * { grid-column: 1 / -1; }
main:has(> .cms-section > .wp-section--split-title):has(> .cms-form-section) > .cms-section > .wp-section--split-title { grid-column: 2; padding: 90px 20px 0 0; }
main:has(> .cms-section > .wp-section--split-title):has(> .cms-form-section) > .cms-section:has(> .wp-section--split-title) + .cms-form-section { grid-column: 3; padding: 90px 0; }
.cms-section:has(> .wp-section--split-title) + .cms-form-section .container,
main:has(> .cms-section > .wp-section--split-title):has(> .cms-form-section) .wp-section--split-title > .container { max-width: none; padding: 0; }
.rtl main:has(> .cms-section > .wp-section--split-title):has(> .cms-form-section) > .cms-section > .wp-section--split-title { padding: 90px 0 0 20px; }

/* its form, Elementor-style: labels above in Lucky Beauty, white 40px fields, 25px apart, a full-width brown button */
.cms-section:has(> .wp-section--split-title) + .cms-form-section .lead-form { gap: 25px; padding: 0; border: 0; background: transparent; }
/* the field's width setting, as on the Elementor form: Full width across both columns, 1/2 in one */
.cms-section:has(> .wp-section--split-title) + .cms-form-section .lead-form > .w100 { grid-column: 1 / -1; }
.cms-section:has(> .wp-section--split-title) + .cms-form-section .lead-form :is(label, .flbl, .fselect, .fphone, .ffile, legend) {
	gap: 6px; font-family: 'Lucky Beauty', serif; font-size: 15px; letter-spacing: 0; text-transform: none; color: #7A7A7A;
}
.cms-section:has(> .wp-section--split-title) + .cms-form-section .lead-form :is(input, select, textarea, .ss-trigger) {
	min-height: 40px; padding: 5px 14px; border: 1px solid #69727D; border-radius: 3px; background: #fff; font-size: 13px;
}
.cms-section:has(> .wp-section--split-title) + .cms-form-section .lead-form .pi { border: 1px solid #69727D; border-radius: 3px; background: #fff; }
/* the date and file fields are boxes of their own: same border, height and text as the others */
.cms-section:has(> .wp-section--split-title) + .cms-form-section .lead-form :is(.dp-trigger, .ffile-box) {
	min-height: 40px; padding: 5px 14px; border: 1px solid #69727D; border-radius: 3px; background: #fff; font-size: 13px;
}
.cms-section:has(> .wp-section--split-title) + .cms-form-section .lead-form .ffile-name { font-size: 13px; }
.cms-section:has(> .wp-section--split-title) + .cms-form-section .lead-form .ffile-btn { padding: 4px 10px; font-size: 11px; }
.cms-section:has(> .wp-section--split-title) + .cms-form-section .lead-form .pi :is(.pi-num, .ss-trigger) { border: 0; }
.cms-section:has(> .wp-section--split-title) + .cms-form-section .lead-form .ss-chev { display: none; }
.cms-section:has(> .wp-section--split-title) + .cms-form-section .lead-form .ss-trigger::after {
	content: ''; flex: none; margin-inline-start: auto; width: 0; height: 0;
	border-inline: 5px solid transparent; border-top: 6px solid #2C2C2C;
}
.cms-section:has(> .wp-section--split-title) + .cms-form-section .lead-form .btn-solid {
	justify-self: stretch !important; justify-content: center; width: 100%; padding: 12px 24px; border: 0; border-radius: 0;
	background: #85553A; font-family: 'Lucky Beauty', serif; font-size: 15px; letter-spacing: 0; text-transform: none; color: #fff;
}
.cms-section:has(> .wp-section--split-title) + .cms-form-section .lead-form .btn-solid:hover { background: #2C2C2C; }
.cms-section:has(> .wp-section--split-title) + .cms-form-section .lead-form .btn-solid .arr { display: none; }
.rtl .cms-section:has(> .wp-section--split-title) + .cms-form-section .lead-form :is(label, .flbl, .fselect, .fphone, .ffile, legend),
.rtl .cms-section:has(> .wp-section--split-title) + .cms-form-section .lead-form .btn-solid { font-family: '29LTAzer-Light', sans-serif; }

/* ---------------- Responsive ---------------- */
@media (max-width: 1200px) {
	.wp-section h2.wp-split-title { font-size: 48px; }
	.wp-section { padding: 70px 20px; }
	.wp-section--bg { padding: 100px 20px; }
	.wp-cards, .wp-items { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
	.wp-section { padding: 45px 20px; }
	.wp-section--bg { padding: 70px 20px; min-height: 50vh; }
	.wp-section h1 { font-size: 26px; line-height: 38px; }
	.wp-section h1, .wp-section h2, .wp-section .wp-title { font-size: 22px; line-height: 32px; }
	.wp-section h2.wp-split-title { font-size: 36px; line-height: 1.25; }
	/* title above the form again */
	main:has(> .cms-section > .wp-section--split-title):has(> .cms-form-section) { display: block; }
	main:has(> .cms-section > .wp-section--split-title):has(> .cms-form-section) > .cms-section > .wp-section--split-title,
	.rtl main:has(> .cms-section > .wp-section--split-title):has(> .cms-form-section) > .cms-section > .wp-section--split-title { padding: 45px 20px 0; }
	main:has(> .cms-section > .wp-section--split-title):has(> .cms-form-section) > .cms-section:has(> .wp-section--split-title) + .cms-form-section { padding: 30px 20px 40px; }
	.cms-section:has(> .wp-section--split-title) + .cms-form-section .lead-form { grid-template-columns: 1fr; }
	.cms-section:has(> .wp-section--split-title) + .cms-form-section .lead-form > * { grid-column: 1 / -1; }
	.wp-subtitle { font-size: 20px; line-height: 30px; margin-top: 35px; }
	.wp-section h3 { font-size: 18px; line-height: 28px; margin-top: 28px; }
	.wp-lead { font-size: 17px; }
	.wp-section p, .wp-section ul, .wp-section ol { font-size: 15px; }
	.wp-cards, .wp-items { grid-template-columns: 1fr; gap: 16px; }
	.wp-card { min-height: 0; padding: 22px 20px; }
	.wp-acc > summary { font-size: 17px; line-height: 26px; padding: 18px 34px 18px 0; }
	.wp-media { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
	.wp-section table { display: block; overflow-x: auto; }
}

/* ---------------- RTL (Arabic) ---------------- */
.rtl .wp-section ol { padding-left: 0; padding-right: 22px; }
.rtl .wp-section ul > li { padding-left: 0; padding-right: 22px; }
.rtl .wp-section ul > li::before { left: auto; right: 0; }
.rtl .wp-section--bg ul > li { padding-right: 0; }
.rtl .wp-section blockquote { border-left: 0; border-right: 2px solid #85553A; padding: 6px 24px 6px 0; }
.rtl .wp-section th, .rtl .wp-section td { text-align: right; }
.rtl .wp-section .btn { margin: 10px 0 10px 10px; }
.rtl .wp-card::after { content: '\f060'; }
.rtl .wp-card:hover::after { transform: translateX(-6px); }
.rtl .wp-acc > summary { padding: 22px 0 22px 40px; }
.rtl .wp-acc > summary::after { right: auto; left: 4px; }
@media (max-width: 767px) {
	.rtl .wp-acc > summary { padding: 18px 0 18px 34px; }
}
