/* Rasabam theme — additions to the original compiled UI stylesheet (app.css). */

/* Vazirmatn (github.com/rastikerdar/vazirmatn, SIL OFL 1.1) — one variable file for every weight. */
@font-face { font-family: Vazirmatn; src: url(../fonts/vazirmatn.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

html { scroll-behavior: smooth; }
body { font-family: Vazirmatn, Tahoma, sans-serif; overflow-x: clip; }
[hidden] { display: none !important; }
:target, #faq, .rasabam-article-content [id] { scroll-margin-top: 110px; }

/* Utilities used by the templates that the compiled app.css does not include. */
.col-span-full { grid-column: 1 / -1; }
.dir-ltr { direction: ltr; unicode-bidi: isolate; }
.mt-3 { margin-top: .75rem; }
.pt-14 { padding-top: 3.5rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.hover\:text-gold-300:hover { color: #edcd8a; }
.group:hover .group-hover\:text-gold-700 { color: var(--color-gold-700, #946d27); }
@media (min-width: 640px) {
	.sm\:no-scrollbar { scrollbar-width: none; }
	.sm\:no-scrollbar::-webkit-scrollbar { display: none; }
}

a[href^="tel:"],
a[href^="tel:"] span {
	direction: ltr !important;
	unicode-bidi: isolate !important;
	font-variant-numeric: tabular-nums;
}

/* Header ------------------------------------------------------------------ */
.rasabam-logo { display: block; width: 92px; height: 72px; }
.rasabam-logo img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 767px) { .rasabam-logo { width: 88px; height: 50px; } }
body.rasabam-solid-header #mainHeader,
#mainHeader.is-scrolled {
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
	background-color: #0d131afa;
	border-bottom: 1px solid #ffffff1f;
	padding-top: .75rem;
	padding-bottom: .75rem;
	box-shadow: 0 12px 30px -5px #0000008c;
}
body.admin-bar #mainHeader { top: 32px; }
@media (max-width: 782px) { body.admin-bar #mainHeader { top: 46px; } }

/* Mobile drawer */
#mobileBackdrop.is-open { opacity: 1; pointer-events: auto; }
#mobileDrawer.is-open { translate: none; transform: none; }
body.rasabam-locked { overflow: hidden; }

/* Hero overlays ----------------------------------------------------------- */
.rasabam-contact-overlay { background: linear-gradient(90deg, rgba(13, 19, 26, .2) 0%, rgba(13, 19, 26, .6) 35%, rgba(13, 19, 26, .95) 60%, #0d131a 80%, #0d131a 100%); }
.rasabam-cta-fade { background: linear-gradient(90deg, rgba(13, 19, 26, .1) 0%, rgba(13, 19, 26, .55) 30%, rgba(13, 19, 26, .92) 55%, #0d131a 75%, #0d131a 100%); }

/* Cards ------------------------------------------------------------------- */
.rasabam-cms-card { display: block; overflow: hidden; background: #fff; border: 1px solid #e2e8f0; border-radius: 18px; box-shadow: 0 10px 24px rgba(15, 23, 42, .05); color: inherit; text-decoration: none; }
.rasabam-cms-card > img { display: block; width: 100%; height: 210px; object-fit: cover; }
.rasabam-cms-card > div { padding: 20px; text-align: right; }
.rasabam-cms-type { color: #b98731; font: 700 11px Vazirmatn, sans-serif; }
.rasabam-cms-card h3 { margin: 8px 0; color: #17212b; font: 800 16px/1.8 Vazirmatn, sans-serif; }
.rasabam-cms-card p { min-height: 46px; margin: 0 0 16px; color: #64748b; font: 400 12px/1.9 Vazirmatn, sans-serif; }
.rasabam-services-only-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.rasabam-service-detail-card { transition: transform .2s ease, box-shadow .2s ease; }
.rasabam-service-detail-card:hover { transform: translateY(-5px); box-shadow: 0 16px 30px rgba(15, 23, 42, .12); }
.rasabam-card-link { color: #a67429; font: 700 12px Vazirmatn, sans-serif; }
.rasabam-card-link i { margin-right: 5px; font-size: 10px; }
.rasabam-cms-empty { grid-column: 1 / -1; padding: 48px 16px; text-align: center; color: #64748b; font: 500 14px Vazirmatn, sans-serif; }
@media (max-width: 900px) { .rasabam-services-only-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .rasabam-services-only-grid { grid-template-columns: 1fr; } .rasabam-cms-card > img { height: 190px; } }

/* Project spec bar: as many columns as there are filled fields. */

/* Drag-to-scroll tab rows */
[data-drag-scroll] { cursor: grab; }
[data-drag-scroll].is-dragging { cursor: grabbing; user-select: none; }

/* FAQ accordions (home uses + / ×, services use a chevron) */
[data-faq].is-open .faq-content { opacity: 1; max-height: 1200px; }
[data-faq].is-open .fa-chevron-down { transform: rotate(180deg); color: #ad8338; }

/* Rich text from the WordPress editor (service and project descriptions) */
.rasabam-entry { color: #334155; font-size: 14px; line-height: 2.2; text-align: justify; }
.rasabam-entry > * { max-width: 100%; }
.rasabam-entry p { margin: 0 0 16px; }
.rasabam-entry p:last-child { margin-bottom: 0; }
.rasabam-entry h2, .rasabam-entry h3, .rasabam-entry h4 { margin: 26px 0 10px; color: #17212b; font-weight: 900; line-height: 1.7; text-align: right; }
.rasabam-entry h2 { font-size: 19px; }
.rasabam-entry h3 { font-size: 17px; }
.rasabam-entry h4 { font-size: 15px; }
.rasabam-entry ul, .rasabam-entry ol, .rasabam-article-content ul, .rasabam-article-content ol { margin: 0 0 18px; padding-right: 22px; }
.rasabam-entry ul, .rasabam-article-content ul { list-style: disc; }
.rasabam-entry ol, .rasabam-article-content ol { list-style: decimal; }
.rasabam-entry li, .rasabam-article-content li { margin: 6px 0; }
.rasabam-entry img { height: auto; border-radius: 14px; }
.rasabam-entry a { color: #b98731; }
.rasabam-entry table, .rasabam-article-content table { width: 100%; margin: 0 0 20px; border-collapse: collapse; font-size: 13px; }
.rasabam-entry td, .rasabam-entry th, .rasabam-article-content td, .rasabam-article-content th { padding: 10px 12px; border: 1px solid #e2e8f0; text-align: right; }
.rasabam-entry th, .rasabam-article-content th { background: #f8fafc; color: #17212b; font-weight: 800; }
.rasabam-article-content blockquote { margin: 0 0 20px; padding: 14px 18px; border-right: 4px solid #c99b43; background: #faf7f0; border-radius: 10px; }
.rasabam-article-content strong { color: #17212b; }
@media (max-width: 640px) { .rasabam-entry, .rasabam-entry p, .text-justify { font-size: 13px; text-align: right; } }

/* Forms */
/* Honeypot: invisible to people, never offset off-screen (that would add a
   horizontal scroll area on RTL pages). */
.rasabam-hp { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; border: 0 !important; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }
.rasabam-form-feedback { margin-top: 12px; color: #047857; font: 600 12px Vazirmatn, sans-serif; text-align: center; }
.rasabam-form-feedback.is-error { color: #b91c1c; }
.js-inquiry-form button[type="submit"][disabled] { opacity: .65; cursor: wait; }

/* Consultation modal */
#consultModal { display: flex; }
#consultModal > div { max-height: calc(100vh - 32px); overflow-y: auto; }

/* Map */
.rasabam-map iframe { display: block; width: 100%; height: 100%; min-height: 300px; border: 0; }

/* Pagination */
.rasabam-pagination .page-numbers { width: 36px; height: 36px; border-radius: 12px; border: 1px solid #e2e8f0; background: #fff; color: #475569; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; transition: background-color .2s; }
.rasabam-pagination a.page-numbers:hover { background: #f1f5f9; }
.rasabam-pagination .page-numbers.current { background: #0d131a; border-color: #0d131a; color: #fff; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .1); }
.rasabam-pagination .page-numbers.dots { border: 0; background: transparent; }

/* Article page -------------------------------------------------------------- */
.rasabam-article-page { background: #f8fafc; color: #1e293b; padding-bottom: 72px; font-family: Vazirmatn, sans-serif; }
body.rasabam-solid-header #content { padding-top: 96px; }
@media (max-width: 767px) { body.rasabam-solid-header #content { padding-top: 74px; } }
.rasabam-article-loading { max-width: 760px; margin: 80px auto; padding: 34px; background: #fff; border: 1px solid #e2e8f0; border-radius: 22px; text-align: center; color: #64748b; font-weight: 700; }
.rasabam-article-loading p { margin: 12px 0 0; font-weight: 500; }
.rasabam-article-loading a { display: inline-block; margin-top: 16px; color: #b98731; text-decoration: none; }
.rasabam-article-main { min-width: 0; background: #fff; border: 1px solid #e2e8f0; border-radius: 22px; overflow: hidden; box-shadow: 0 12px 28px rgba(15, 23, 42, .05); }
.rasabam-article-featured { display: block; width: 100%; height: min(460px, 48vw); object-fit: cover; }
.rasabam-article-content { padding: 36px clamp(22px, 5vw, 64px); font-size: 15px; line-height: 2.35; color: #475569; text-align: right; }
.rasabam-article-content > * { max-width: 100%; }
.rasabam-article-content h2, .rasabam-article-content h3 { margin: 36px 0 14px; color: #17212b; font-weight: 900; line-height: 1.65; }
.rasabam-article-content h2 { font-size: 23px; }
.rasabam-article-content h3 { font-size: 19px; }
.rasabam-article-content p { margin: 0 0 20px; }
.rasabam-article-content img { height: auto; border-radius: 14px; }
.rasabam-article-content a { color: #b98731; }
.rasabam-page-wrap { max-width: 960px; margin: 0 auto; padding: 46px 16px 0; }
.rasabam-page-title { margin: 0 0 18px; color: #17212b; font-size: clamp(24px, 3vw, 34px); font-weight: 900; line-height: 1.5; }

@media (max-width: 640px) {
	.rasabam-article-featured { height: 250px; }
	.rasabam-article-content { padding: 26px 20px; font-size: 14px; }
}

/* ==========================================================================
   Detail pages (project, service, article) — approved designs
   ========================================================================== */
.rasabam-detail { --navy: #111a26; --ink: #17212b; --muted: #64748b; --gold: #c59b4e; --gold-dark: #ad8338; --cream: #f8f2e8; --line: #e8edf3; background: #f7f7f8; padding-bottom: 0; }
.rasabam-wrap { max-width: 1280px; margin-right: auto; margin-left: auto; padding-right: 24px; padding-left: 24px; }
@media (max-width: 640px) { .rasabam-wrap { padding-right: 16px; padding-left: 16px; } }

/* Buttons */
.rasabam-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 22px; border: 0; border-radius: 10px; font: 700 13px Vazirmatn, sans-serif; cursor: pointer; text-decoration: none; transition: background-color .2s, transform .2s; }
.rasabam-btn i { font-size: 11px; transition: transform .2s; }
.rasabam-btn:hover i { transform: translateX(-3px); }
.rasabam-btn--dark { background: #141c26; color: #fff; }
.rasabam-btn--dark:hover { background: #000; }
.rasabam-btn--gold { background: linear-gradient(135deg, #d9b26a, #c59b4e); color: #1b1408; box-shadow: 0 10px 24px rgba(197, 155, 78, .25); }
.rasabam-btn--gold:hover { background: #c59b4e; }
.rasabam-btn--block { width: 100%; padding: 14px 18px; }

/* Hero: photo on the left fading into the colour on the right */
.rasabam-dhero { position: relative; min-height: 330px; display: flex; align-items: center; background-color: var(--navy); background-size: cover; background-position: left center; overflow: hidden; }
.rasabam-dhero::before { content: ""; position: absolute; inset: 0; }
.rasabam-dhero--navy::before { background: linear-gradient(to left, #111a26 0%, #111a26 34%, rgba(17, 26, 38, .82) 50%, rgba(17, 26, 38, .2) 74%, rgba(17, 26, 38, 0) 100%); }
.rasabam-dhero--charcoal { background-color: #1c1f23; }
.rasabam-dhero--charcoal::before { background: linear-gradient(to left, #1c1f23 0%, #1c1f23 38%, rgba(28, 31, 35, .85) 52%, rgba(28, 31, 35, .15) 76%, rgba(28, 31, 35, 0) 100%); }
.rasabam-dhero--light { background-color: #f6efe4; min-height: 300px; }
.rasabam-dhero--light::before { background: linear-gradient(to left, #f8f1e6 0%, rgba(248, 241, 230, .96) 36%, rgba(248, 241, 230, .7) 52%, rgba(248, 241, 230, 0) 76%); }
.rasabam-dhero__inner { position: relative; z-index: 1; width: 100%; padding-top: 44px; padding-bottom: 44px; text-align: right; }
.rasabam-dhero__inner > * { max-width: 600px; }
.rasabam-dhero h1 { margin: 14px 0 12px; color: #fff; font-size: clamp(26px, 3.2vw, 40px); font-weight: 900; line-height: 1.5; }
.rasabam-dhero p { margin: 0; color: #d6dde7; font-size: 14px; line-height: 2.1; }
.rasabam-dhero--charcoal h1 { margin-top: 0; font-size: clamp(30px, 3.8vw, 46px); }
.rasabam-dhero--charcoal .rasabam-crumbs { margin-bottom: 14px; }
.rasabam-dhero--light h1 { color: var(--ink); }
.rasabam-dhero--light p { color: #475569; }
.rasabam-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: #cbd5e1; font-size: 12px; }
.rasabam-crumbs a { color: inherit; text-decoration: none; }
.rasabam-crumbs a:hover { color: var(--gold); }
.rasabam-crumbs i { font-size: 8px; opacity: .7; }
.rasabam-dhero--light .rasabam-crumbs { color: #475569; }

/* Hero info chips (project) */
.rasabam-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; max-width: 760px !important; }
.rasabam-chip { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 12px; background: rgba(255, 255, 255, .07); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.rasabam-chip > i { color: var(--gold); font-size: 18px; }
.rasabam-chip strong { display: block; color: #fff; font-size: 12px; font-weight: 800; }
.rasabam-chip span { display: block; color: #94a3b8; font-size: 10px; }

/* Article meta */
.rasabam-article-meta-row { display: flex; flex-wrap: wrap; gap: 0; margin-top: 22px; color: #334155; font-size: 12px; }
.rasabam-article-meta-row span { padding: 0 16px; border-left: 1px solid #d6cbb8; }
.rasabam-article-meta-row span:first-child { padding-right: 0; }
.rasabam-article-meta-row span:last-child { border-left: 0; }
.rasabam-article-meta-row i { margin-left: 6px; color: #475569; }

/* Cards */
.rasabam-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 10px 30px rgba(15, 23, 42, .05); }
.rasabam-card--warm { background: linear-gradient(160deg, #fff 0%, #fbf6ee 100%); }
.rasabam-card--soft { background: #f3f4f6; border-color: #eceef1; box-shadow: none; }
.rasabam-card__title { display: flex; align-items: center; gap: 8px; margin: 0 0 16px; color: var(--ink); font-size: 16px; font-weight: 900; }
.rasabam-card__title i { color: var(--gold); }
.rasabam-section-title { margin: 0 0 14px; color: var(--ink); font-size: 20px; font-weight: 900; }
.rasabam-section-title--line { display: flex; align-items: center; gap: 12px; }
.rasabam-section-title--line::before { content: ""; width: 28px; height: 3px; border-radius: 2px; background: var(--gold); }
.rasabam-subtitle { margin: 22px 0 8px; color: var(--ink); font-size: 16px; font-weight: 800; }
.rasabam-muted { color: var(--muted); font-size: 13px; line-height: 2.1; }

/* Project: specs + gallery row */
.rasabam-pd-top { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 24px; align-items: start; margin-top: 28px; }
.rasabam-pd-specs { padding: 24px; }
.rasabam-specs-list { margin: 0 0 20px; }
.rasabam-specs-list > div { display: grid; grid-template-columns: 130px 1fr; gap: 10px; padding: 11px 0; border-bottom: 1px solid #efe7da; font-size: 12px; }
.rasabam-specs-list dt { color: var(--muted); }
.rasabam-specs-list dd { margin: 0; color: var(--ink); font-weight: 700; }
.rasabam-share__title { margin: 0 0 10px; color: var(--ink); font-size: 13px; font-weight: 800; }
.rasabam-share { display: flex; gap: 8px; margin-bottom: 20px; }
.rasabam-share a, .rasabam-share button { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: #334155; font-size: 14px; cursor: pointer; text-decoration: none; }
.rasabam-share a:hover, .rasabam-share button:hover { border-color: var(--gold); color: var(--gold-dark); }
.rasabam-share button.is-copied { background: #ecfdf5; border-color: #34d399; color: #047857; }
.rasabam-pd-gallery { display: grid; grid-template-columns: minmax(0, 1fr) 170px; gap: 14px; padding: 14px; }
.rasabam-pd-gallery:not(:has(.rasabam-thumbs)) { grid-template-columns: 1fr; }
.rasabam-slider { position: relative; overflow: hidden; border-radius: 14px; aspect-ratio: 16 / 10; background: #e2e8f0; }
.rasabam-slider img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rasabam-slider__nav { position: absolute; top: 50%; width: 40px; height: 40px; margin-top: -20px; border: 0; border-radius: 50%; background: #fff; color: var(--ink); box-shadow: 0 6px 16px rgba(0, 0, 0, .18); cursor: pointer; }
.rasabam-slider__nav--next { right: 14px; }
.rasabam-slider__nav--prev { left: 14px; }
.rasabam-thumbs { display: flex; flex-direction: column; gap: 12px; height: 0; min-height: 100%; overflow-y: auto; }
.rasabam-thumbs button { flex: 0 0 auto; height: calc((100% - 24px) / 3); padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; cursor: pointer; background: none; opacity: .8; }
.rasabam-thumbs button.is-active { border-color: var(--gold); opacity: 1; }
.rasabam-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Project: about + features */
.rasabam-pd-about { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 24px; align-items: start; margin-top: 28px; }
.rasabam-pd-about__text { grid-column: 2; padding: 14px 8px 0; }
.rasabam-feature-list { grid-column: 1; grid-row: 1; padding: 24px; }
.rasabam-feature-list ul { margin: 0; padding: 0; list-style: none; }
.rasabam-feature-list li { display: flex; align-items: center; gap: 12px; padding: 9px 0; color: #475569; font-size: 12.5px; }
.rasabam-ring-icon { width: 30px; height: 30px; flex: 0 0 30px; display: inline-flex; align-items: center; justify-content: center; border: 1.5px solid #e0c48e; border-radius: 50%; color: var(--gold); font-size: 12px; }
.rasabam-pd-about:not(:has(.rasabam-feature-list)) { grid-template-columns: 1fr; }
.rasabam-pd-about:not(:has(.rasabam-feature-list)) .rasabam-pd-about__text { grid-column: 1; }

/* Project: before / after */
.rasabam-before-after { margin-top: 28px; padding: 22px; }
.rasabam-before-after__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.rasabam-before-after figure { position: relative; margin: 0; overflow: hidden; border-radius: 14px; aspect-ratio: 16 / 7; }
.rasabam-before-after img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rasabam-before-after figcaption { position: absolute; top: 12px; right: 12px; padding: 6px 12px; border-radius: 8px; background: #141c26; color: #fff; font-size: 11px; font-weight: 700; }

/* Related cards (projects and posts) */
.rasabam-related { margin-top: 34px; padding-bottom: 40px; }
.rasabam-related__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.rasabam-related__head a { color: #475569; font-size: 12px; text-decoration: none; }
.rasabam-related__head a:hover { color: var(--gold-dark); }
.rasabam-grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.rasabam-mini-card { display: flex; flex-direction: column; gap: 10px; padding: 10px 10px 14px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 8px 22px rgba(15, 23, 42, .05); color: var(--ink); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.rasabam-mini-card:hover { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(15, 23, 42, .1); }
.rasabam-mini-card__img { position: relative; display: block; overflow: hidden; border-radius: 12px; aspect-ratio: 16 / 9; }
.rasabam-mini-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rasabam-mini-card__img em { position: absolute; bottom: 8px; right: 8px; padding: 4px 10px; border-radius: 8px; background: #f6ead3; color: #7a5a22; font-size: 10px; font-style: normal; font-weight: 700; }
.rasabam-mini-card strong { padding: 0 4px; font-size: 13px; font-weight: 800; line-height: 1.8; }
.rasabam-mini-card small { display: flex; gap: 10px; padding: 0 4px; color: #94a3b8; font-size: 11px; }
.rasabam-mini-card small span + span { padding-right: 10px; border-right: 1px solid var(--line); }
.rasabam-mini-card small i { margin-left: 4px; color: var(--gold); }
.rasabam-mini-card--post .rasabam-mini-card__img { aspect-ratio: 16 / 7; }

/* Consultation band (project) */
.rasabam-cta-band { position: relative; margin-top: 10px; padding: 34px 0; background-color: #101826; background-size: cover; background-position: center; color: #fff; }
.rasabam-cta-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, rgba(16, 24, 38, .95), rgba(16, 24, 38, .78) 50%, rgba(16, 24, 38, .95)); }
.rasabam-cta-band__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.rasabam-cta-band__steps { display: flex; }
.rasabam-cta-band__steps > div { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 0 28px; text-align: center; }
.rasabam-cta-band__steps > div + div { border-right: 1px solid rgba(255, 255, 255, .15); }
.rasabam-cta-band__steps i { margin-bottom: 4px; color: var(--gold); font-size: 22px; }
.rasabam-cta-band__steps strong { font-size: 13px; font-weight: 800; }
.rasabam-cta-band__steps span { color: #94a3b8; font-size: 11px; }
.rasabam-cta-band__text { max-width: 440px; text-align: right; }
.rasabam-cta-band__text h2 { margin: 0 0 6px; font-size: 18px; font-weight: 900; }
.rasabam-cta-band__text p { margin: 0 0 16px; color: #cbd5e1; font-size: 12px; line-height: 2; }

/* Service: split sections */
.rasabam-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px; align-items: center; margin-top: 44px; }
.rasabam-split__media { overflow: hidden; border-radius: 16px; aspect-ratio: 16 / 10; box-shadow: 0 16px 36px rgba(15, 23, 42, .12); }
.rasabam-split__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rasabam-split:not(:has(.rasabam-split__media)) { grid-template-columns: 1fr; }
.rasabam-split--materials { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.rasabam-eyebrow { display: block; color: var(--gold-dark); font-size: 13px; font-weight: 800; }
.rasabam-heading { margin: 8px 0 12px; color: var(--ink); font-size: clamp(22px, 2.6vw, 30px); font-weight: 900; line-height: 1.6; }
.rasabam-heading--sm { font-size: 20px; }
.rasabam-heading--center { text-align: center; }
.rasabam-gold-rule { display: block; width: 42px; height: 2px; margin: 0 0 18px; background: var(--gold); }
.rasabam-gold-rule--center { margin-right: auto; margin-left: auto; }
.rasabam-entry--muted { color: #475569; font-size: 13.5px; }
.rasabam-feature-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 44px; padding: 30px 10px; }
.rasabam-feature-row > div { padding: 0 20px; text-align: center; }
.rasabam-feature-row > div + div { border-right: 1px solid var(--line); }
.rasabam-feature-row i { color: var(--gold); font-size: 30px; }
.rasabam-feature-row h3 { margin: 12px 0 6px; color: var(--ink); font-size: 14px; font-weight: 800; }
.rasabam-feature-row p { margin: 0; color: var(--muted); font-size: 12px; line-height: 2; }
.rasabam-types { margin-top: 50px; }
.rasabam-type-card { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 8px 22px rgba(15, 23, 42, .05); color: var(--ink); text-decoration: none; transition: transform .2s, box-shadow .2s; }
a.rasabam-type-card:hover { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(15, 23, 42, .1); }
.rasabam-type-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.rasabam-type-card > div { padding: 16px 18px 18px; }
.rasabam-type-card h3 { margin: 0 0 6px; font-size: 14px; font-weight: 800; }
.rasabam-type-card p { margin: 0 0 12px; color: var(--muted); font-size: 12px; line-height: 2; }
.rasabam-link-gold { color: var(--gold-dark); font-size: 12px; font-weight: 700; }
.rasabam-link-gold i { margin-right: 4px; font-size: 10px; }
.rasabam-checks { margin: 14px 0 0; padding: 0; list-style: none; }
.rasabam-checks li { display: flex; align-items: center; gap: 10px; padding: 6px 0; color: #334155; font-size: 13px; }
.rasabam-checks i { width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--gold); color: #fff; font-size: 10px; }
.rasabam-service-faq { max-width: 900px; margin-top: 50px; }
.rasabam-service-cta { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin: 50px 0 56px; padding: 30px 44px; border-radius: 18px; background: #1d2025; color: #fff; }
.rasabam-service-cta__phone { display: flex; align-items: center; gap: 22px; padding: 18px 26px; border: 1px solid rgba(197, 155, 78, .45); border-radius: 18px; color: #fff; text-decoration: none; }
.rasabam-service-cta__phone i { color: var(--gold); font-size: 36px; }
.rasabam-service-cta__phone small { display: block; margin-bottom: 4px; color: #e5c88f; font-size: 12px; }
.rasabam-service-cta__phone strong { font-size: 17px; font-weight: 800; direction: ltr; unicode-bidi: isolate; }
.rasabam-service-cta__text { max-width: 520px; text-align: right; }
.rasabam-service-cta__text h2 { margin: 6px 0; font-size: 20px; font-weight: 900; }
.rasabam-service-cta__text p { margin: 0 0 16px; color: #cbd5e1; font-size: 12px; }

/* Article */
.rasabam-article-grid { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 36px; align-items: start; margin-top: 30px; }
.rasabam-article-aside { display: grid; gap: 20px; position: sticky; top: 112px; align-self: start; }
.rasabam-toc ol { max-height: 300px; overflow-y: auto; scrollbar-width: thin; }
.rasabam-toc { padding: 22px; }
.rasabam-toc ol { margin: 0; padding: 0; list-style: none; }
.rasabam-toc li a { display: flex; gap: 8px; padding: 9px 0; color: #475569; font-size: 12.5px; line-height: 1.8; text-decoration: none; }
.rasabam-toc li a:hover { color: var(--gold-dark); }
.rasabam-toc li.is-sub a { padding-right: 20px; font-size: 12px; color: var(--muted); }
.rasabam-side-list { padding: 22px; }
.rasabam-side-list a { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid #f0f2f5; color: var(--ink); text-decoration: none; }
.rasabam-side-list .rasabam-card__title + a { border-top: 0; }
.rasabam-side-list img { width: 82px; height: 62px; flex: 0 0 82px; object-fit: cover; border-radius: 10px; }
.rasabam-side-list strong { display: block; font-size: 12px; font-weight: 800; line-height: 1.8; }
.rasabam-side-list a:hover strong { color: var(--gold-dark); }
.rasabam-side-list small { display: block; margin-top: 4px; color: #94a3b8; font-size: 10.5px; }
.rasabam-side-consult { position: relative; overflow: hidden; padding: 28px 22px; text-align: center; background-size: cover; background-position: center; }
.rasabam-side-consult::before { content: ""; position: absolute; inset: 0; background: rgba(248, 250, 252, .9); }
.rasabam-side-consult > * { position: relative; }
.rasabam-side-consult > i { color: var(--ink); font-size: 28px; }
.rasabam-side-consult h2 { margin: 10px 0 6px; color: var(--ink); font-size: 16px; font-weight: 900; }
.rasabam-side-consult p { margin: 0 0 16px; color: #475569; font-size: 12px; line-height: 2; }
.rasabam-article-cover { display: block; width: 100%; aspect-ratio: 16 / 7; object-fit: cover; border-radius: 16px; margin-bottom: 26px; }
.rasabam-article-entry { counter-reset: rasabam-h2; color: #475569; font-size: 14.5px; line-height: 2.3; }
.rasabam-article-entry h2 { counter-increment: rasabam-h2; display: flex; align-items: center; gap: 10px; margin: 34px 0 12px; font-size: 17px; }
.rasabam-article-entry h2::before { content: counter(rasabam-h2, decimal-leading-zero); flex: 0 0 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: #f8ecd6; color: var(--gold-dark); font-size: 11px; font-weight: 800; }
.rasabam-article-entry h3 { margin: 26px 0 10px; font-size: 15px; }
.rasabam-article-entry img { border-radius: 14px; }
.rasabam-article-entry hr { margin: 28px 0; border: 0; border-top: 1px solid #e8edf3; }
.rasabam-article-entry blockquote { position: relative; margin: 24px 0; padding: 22px 76px 20px 24px; border: 0; border-radius: 14px; background: var(--cream); color: #475569; font-size: 13px; line-height: 2.1; }
.rasabam-article-entry blockquote::before { content: "\f0eb"; position: absolute; top: 20px; right: 26px; color: var(--gold); font: 400 28px "Font Awesome 6 Free"; }
.rasabam-article-entry blockquote > :first-child::before { content: "نکته مهم"; display: block; margin-bottom: 4px; color: var(--ink); font-size: 14px; font-weight: 900; }
.rasabam-article-entry blockquote p { margin: 0; }
.rasabam-note-cta { display: flex; align-items: center; gap: 16px; margin: 30px 0 0; padding: 22px 26px; border-radius: 16px; background: var(--cream); }
.rasabam-note-cta > i { color: var(--gold); font-size: 30px; }
.rasabam-note-cta p { flex: 1; margin: 0; color: #475569; font-size: 12.5px; line-height: 2; }
.rasabam-related--posts { margin-top: 44px; padding-top: 30px; border-top: 1px solid var(--line); }

/* Detail pages — responsive */
@media (max-width: 1024px) {
	.rasabam-pd-top, .rasabam-pd-about, .rasabam-article-grid { grid-template-columns: 1fr; }
	.rasabam-pd-about__text, .rasabam-feature-list { grid-column: auto; grid-row: auto; }
	.rasabam-pd-gallery { order: -1; }
	.rasabam-article-aside { order: 2; position: static; }
	.rasabam-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rasabam-feature-row { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 26px; }
	.rasabam-feature-row > div:nth-child(3) { border-right: 0; }
	.rasabam-cta-band__inner, .rasabam-service-cta { flex-direction: column; align-items: stretch; }
	.rasabam-cta-band__steps { justify-content: center; }
}
@media (max-width: 640px) {
	.rasabam-dhero { min-height: 0; background-position: center; }
	.rasabam-dhero::before { background: linear-gradient(to top, rgba(17, 26, 38, .96) 30%, rgba(17, 26, 38, .65)) !important; }
	.rasabam-dhero--light::before { background: linear-gradient(to top, rgba(248, 241, 230, .97) 35%, rgba(248, 241, 230, .8)) !important; }
	.rasabam-dhero--charcoal::before { background: linear-gradient(to top, rgba(28, 31, 35, .96) 30%, rgba(28, 31, 35, .65)) !important; }
	.rasabam-dhero__inner { padding-top: 34px; padding-bottom: 30px; }
	.rasabam-chip { flex: 1 1 calc(50% - 10px); }
	.rasabam-pd-gallery { grid-template-columns: 1fr; }
	.rasabam-thumbs { flex-direction: row; height: auto; min-height: 0; overflow-x: auto; }
	.rasabam-thumbs button { width: 96px; height: 70px; min-height: 0; }
	.rasabam-before-after__grid, .rasabam-split, .rasabam-split--materials { grid-template-columns: 1fr; }
	.rasabam-grid-4 { grid-template-columns: 1fr; }
	.rasabam-feature-row { grid-template-columns: 1fr; }
	.rasabam-feature-row > div + div { border-right: 0; border-top: 1px solid var(--line); padding-top: 22px; }
	.rasabam-cta-band__steps { flex-direction: column; gap: 18px; }
	.rasabam-cta-band__steps > div + div { border-right: 0; }
	.rasabam-service-cta { padding: 24px; }
	.rasabam-note-cta { flex-direction: column; text-align: center; }
	.rasabam-article-entry blockquote { padding: 64px 20px 18px; }
	.rasabam-article-entry blockquote::before { right: 20px; }
}

/* Footer social icons keep their size even if a browser extension restyles them. */
.rasabam-ico { flex: 0 0 2rem; }
.rasabam-ico svg { display: block; }

/* Leave room for the fixed back-to-top button so it never covers the credit line. */
@media (min-width: 640px) { .rasabam-footer-bottom { padding-left: 56px; } }
@media (max-width: 639px) { .rasabam-footer-bottom { padding-bottom: 44px; } }
