/* ==========================================================================
   Dr. Rozaline — site chrome and content blocks (builds on rz-luxe.css tokens)
   header + drawer, services, service details, FAQ, articles, footer credit
   ========================================================================== */

/* ---------- header: one header on every page, taller bar, larger wide logo ---------- */
.rz-hbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 80px; padding: 8px 0; }
.site-header .rz-logo .rz-brand img { height: 60px; }
.site-header .rz-logo .rz-brand-name { font-size: 19px; }
.site-header .rz-logo .rz-brand-tagline { font-size: 12px; }
.site-header .header-nav { flex: 1; display: flex; justify-content: center; }
.site-header .header-nav .nav { list-style: none; }
.site-header .header-nav .nav > li > a { font-size: 16px !important; padding: 11px 15px !important; }
.site-header .extra-nav { display: flex; align-items: center; gap: 10px; }
.site-header .extra-nav .btn-gradient { padding: 12px 24px !important; font-size: 15px !important; }
.rz-burger { display: none; width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--rz-line); background: #fff; align-items: center; justify-content: center; flex-direction: column; gap: 5px; cursor: pointer; }
.rz-burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--rz-v800); }
@media (max-width: 1023px) {
  .site-header .header-nav { display: none !important; }
  .rz-burger { display: inline-flex; }
  .rz-hbar { min-height: 70px; }
  .site-header .rz-logo .rz-brand img { height: 50px; }
}
@media (max-width: 575px) {
  .site-header .extra-nav .btn-gradient { display: none !important; }
  .site-header .rz-logo .rz-brand img { height: 46px; }
  .site-header .rz-logo .rz-brand-name { font-size: 16px; }
}

/* home: the bar floats over the hero with no background until it sticks (as in the original theme) */
header.site-header.rz-over:not(.is-fixed) { position: absolute !important; top: 0; left: 0; right: 0; }
header.site-header.rz-over:not(.is-fixed) .main-bar { background: transparent !important; box-shadow: none !important; backdrop-filter: none; -webkit-backdrop-filter: none; }
header.site-header.rz-over:not(.is-fixed) .header-nav .nav > li > a:not(:hover) { background: transparent !important; }
header.site-header.rz-over:not(.is-fixed) .rz-burger { background: rgba(255, 255, 255, .7); }
@media (min-width: 1024px) { header.site-header.rz-over:not(.is-fixed) .rz-hbar { min-height: 96px; } }

/* ---------- mobile drawer ---------- */
.rz-drawer { position: fixed; inset: 0; z-index: 1000000; pointer-events: none; }
.rz-drawer-bg { position: absolute; inset: 0; background: rgba(20, 8, 40, .5); opacity: 0; transition: opacity .3s; }
.rz-drawer-panel { position: absolute; top: 0; bottom: 0; right: 0; width: min(330px, 86vw); background: #fff; box-shadow: var(--rz-shadow-lg); transform: translateX(105%); transition: transform .35s cubic-bezier(.2, .8, .2, 1); display: flex; flex-direction: column; padding: 18px 20px 24px; overflow-y: auto; }
.rz-drawer.is-open { pointer-events: auto; }
.rz-drawer.is-open .rz-drawer-bg { opacity: 1; }
.rz-drawer.is-open .rz-drawer-panel { transform: none; }
.rz-drawer-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.rz-drawer-top .rz-brand img { height: 46px; }
.rz-drawer-close { width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--rz-line); background: #fff; font-size: 18px; color: var(--rz-v800); cursor: pointer; }
.rz-drawer nav a { display: flex; align-items: center; justify-content: space-between; padding: 14px 6px; border-bottom: 1px solid var(--rz-line); font-size: 17px; font-weight: 700; color: var(--rz-ink); }
.rz-drawer nav a.active, .rz-drawer nav a:hover { color: var(--rz-v600); }
.rz-drawer nav a i { font-size: 12px; opacity: .5; }
.rz-drawer .rz-btn { margin-top: 22px; width: 100%; }
.rz-drawer .rz-socials { margin-top: 22px; justify-content: center; }
html.rz-menu-open { overflow: hidden; }

/* ---------- social icons (filled from the clinic settings) ---------- */
.rz-socials { display: flex; flex-wrap: wrap; gap: 10px; }
.rz-soc { width: 44px; height: 44px; border-radius: 50%; display: inline-grid; place-items: center; background: #fff; color: var(--rz-v600) !important; box-shadow: 0 6px 18px -10px rgba(42, 20, 80, .45); border: 1px solid var(--rz-line); transition: transform .2s, background .2s, color .2s; font-size: 16px; }
.rz-soc:hover { transform: translateY(-3px); background: var(--rz-v600); color: #fff !important; }

/* ---------- services grid ---------- */
.rz-services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.rz-service { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--rz-line); border-radius: 26px; padding: 30px 28px 24px; box-shadow: 0 14px 40px -28px rgba(42, 20, 80, .35); transition: transform .35s, box-shadow .35s, border-color .35s; }
.rz-service:hover { transform: translateY(-6px); box-shadow: var(--rz-shadow-lg); border-color: rgba(96, 48, 146, .3); }
.rz-service-ic { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; font-size: 26px; color: var(--rz-v600); background: linear-gradient(135deg, var(--rz-v100), #fff); border: 1px solid var(--rz-line); margin-bottom: 22px; transition: background .35s, color .35s; }
.rz-service:hover .rz-service-ic { background: linear-gradient(135deg, var(--rz-v500), var(--rz-v600)); color: #fff; }
.rz-service h3 { font-size: 21px; font-weight: 800; color: var(--rz-ink); margin: 0 0 10px; line-height: 1.45; }
.rz-service p { font-size: 15px; line-height: 1.9; color: var(--rz-muted); margin: 0 0 20px; }
.rz-service-foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--rz-line); display: flex; align-items: center; justify-content: space-between; }
.rz-pill { display: inline-block; font-size: 12px; font-weight: 800; padding: 5px 12px; border-radius: 999px; background: var(--rz-leaf-soft); color: #5b7a22; }
.rz-more { font-weight: 800; color: var(--rz-v600) !important; display: inline-flex; align-items: center; gap: 6px; }
.rz-more i { font-size: 12px; transition: transform .25s; }
.rz-more:hover i { transform: translateX(-4px); }
@media (max-width: 1199px) { .rz-services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .rz-services { grid-template-columns: 1fr; gap: 16px; } .rz-service { padding: 24px 22px 20px; } }

/* ---------- service detail blocks ---------- */
.rz-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 44px 0; border-bottom: 1px solid var(--rz-line); scroll-margin-top: 110px; }
.rz-detail:last-child { border-bottom: 0; }
.rz-detail:nth-child(even) .rz-detail-media { order: 2; }
.rz-detail-media { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 5 / 4; box-shadow: var(--rz-shadow-lg); }
.rz-detail-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rz-detail-media .rz-pill { position: absolute; top: 18px; right: 18px; background: #fff; color: var(--rz-v600); box-shadow: var(--rz-shadow); }
.rz-detail h2 { font-size: clamp(24px, 2.6vw, 34px); font-weight: 900; color: var(--rz-ink); margin: 10px 0 12px; line-height: 1.35; }
.rz-detail-text > p { font-size: 16.5px; line-height: 2; color: var(--rz-muted); margin: 0 0 18px; }
.rz-detail h3 { font-size: 16px; font-weight: 800; color: var(--rz-v700); margin: 18px 0 10px; }
.rz-detail .rz-checks { margin-bottom: 24px; }
@media (max-width: 991px) { .rz-detail { grid-template-columns: 1fr; gap: 26px; padding: 32px 0; } .rz-detail:nth-child(even) .rz-detail-media { order: 0; } }

/* ---------- FAQ (native details/summary — works without JS) ---------- */
.rz-faq { max-width: 900px; margin: 0 auto; display: grid; gap: 14px; }
.rz-faq details { background: #fff; border: 1px solid var(--rz-line); border-radius: 20px; box-shadow: 0 10px 30px -24px rgba(42, 20, 80, .35); transition: border-color .25s, box-shadow .25s; }
.rz-faq details[open] { border-color: rgba(96, 48, 146, .35); box-shadow: var(--rz-shadow); }
.rz-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; font-size: 17.5px; font-weight: 800; color: var(--rz-ink); }
.rz-faq summary::-webkit-details-marker { display: none; }
.rz-faq summary::after { content: "+"; flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; font-weight: 500; color: var(--rz-v600); background: var(--rz-v50); transition: background .25s, color .25s; }
.rz-faq details[open] summary::after { content: "–"; background: var(--rz-v600); color: #fff; }
.rz-faq details > div { padding: 0 24px 22px; font-size: 16px; line-height: 2; color: var(--rz-muted); }
@media (max-width: 575px) { .rz-faq summary { padding: 16px 18px; font-size: 16px; } .rz-faq details > div { padding: 0 18px 18px; font-size: 15px; } }

/* ---------- articles list ---------- */
.rz-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.rz-post { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--rz-line); border-radius: 24px; overflow: hidden; box-shadow: 0 14px 40px -28px rgba(42, 20, 80, .35); transition: transform .35s, box-shadow .35s; }
.rz-post[hidden] { display: none; }
.rz-post:hover { transform: translateY(-6px); box-shadow: var(--rz-shadow-lg); }
.rz-post-img { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.rz-post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.rz-post:hover .rz-post-img img { transform: scale(1.05); }
.rz-post-img .rz-pill { position: absolute; top: 14px; right: 14px; background: #fff; color: var(--rz-v600); }
.rz-post-body { padding: 22px 22px 20px; display: flex; flex-direction: column; flex: 1; }
.rz-post-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; font-weight: 700; color: var(--rz-muted); margin-bottom: 10px; }
.rz-post-meta i { color: var(--rz-leaf); margin-inline-end: 4px; }
.rz-post h3 { font-size: 19px; font-weight: 800; line-height: 1.55; margin: 0 0 10px; }
.rz-post h3 a { color: var(--rz-ink); }
.rz-post h3 a:hover { color: var(--rz-v600); }
.rz-post p { font-size: 14.5px; line-height: 1.9; color: var(--rz-muted); margin: 0 0 16px; }
.rz-post .rz-more { margin-top: auto; }
.rz-filter-label { text-align: center; margin: -24px 0 30px; font-weight: 700; color: var(--rz-muted); }
.rz-filter-label a { color: var(--rz-v600); text-decoration: underline; }
@media (max-width: 1199px) { .rz-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .rz-posts { grid-template-columns: 1fr; } }

/* ---------- article page ---------- */
.rz-article-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 44px; align-items: start; }
@media (max-width: 1099px) { .rz-article-wrap { grid-template-columns: 1fr; } }
.rz-article { background: #fff; border: 1px solid var(--rz-line); border-radius: 30px; padding: 0 0 36px; overflow: hidden; box-shadow: 0 14px 40px -30px rgba(42, 20, 80, .35); }
.rz-article-cover { aspect-ratio: 16 / 8; overflow: hidden; }
.rz-article-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rz-article-inner { padding: 30px 44px 0; }
.rz-article h1 { font-size: clamp(26px, 3vw, 38px); font-weight: 900; line-height: 1.45; color: var(--rz-ink); margin: 0 0 14px; }
.rz-article .rz-post-meta { margin-bottom: 22px; }
.rz-article .rz-post-meta a { color: var(--rz-v600); }
@media (max-width: 640px) { .rz-article-inner { padding: 22px 20px 0; } .rz-article { border-radius: 22px; } }
.rz-prose { font-size: 17.5px; line-height: 2.05; color: #3c3550; }
.rz-prose > p:first-of-type { font-size: 19px; color: var(--rz-ink); }
.rz-prose h2 { font-size: clamp(22px, 2.3vw, 28px); font-weight: 900; color: var(--rz-ink); margin: 38px 0 14px; line-height: 1.45; }
.rz-prose h3 { font-size: 20px; font-weight: 800; color: var(--rz-v700); margin: 26px 0 10px; }
.rz-prose p { margin: 0 0 16px; }
.rz-prose ul, .rz-prose ol { margin: 0 0 18px; padding: 0; list-style: none; display: grid; gap: 10px; }
.rz-prose li { position: relative; padding-inline-start: 32px; }
.rz-prose ul li::before { content: ""; position: absolute; right: 4px; top: 13px; width: 10px; height: 10px; border-radius: 50%; background: var(--rz-leaf); box-shadow: 0 0 0 4px var(--rz-leaf-soft); }
.rz-prose ol { counter-reset: rzol; }
.rz-prose ol li { counter-increment: rzol; }
.rz-prose ol li::before { content: counter(rzol); position: absolute; right: 0; top: 6px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; line-height: 1; color: #fff; background: var(--rz-v600); }
.rz-prose strong { color: var(--rz-ink); }
.rz-prose .rz-faq { margin: 10px 0 0; }
.rz-tip { margin: 26px 0; padding: 20px 24px; border-radius: 20px; background: var(--rz-v50); border-inline-start: 4px solid var(--rz-v600); }
.rz-tip b { display: block; color: var(--rz-v700); margin-bottom: 4px; }
.rz-tip p { margin: 0; }
.rz-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.rz-tags a { font-size: 13px; font-weight: 700; padding: 6px 13px; border-radius: 999px; background: var(--rz-v50); color: var(--rz-v600); border: 1px solid var(--rz-line); }
.rz-tags a:hover { background: var(--rz-v600); color: #fff; }
.rz-article-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; margin: 30px 44px 0; padding-top: 22px; border-top: 1px solid var(--rz-line); }
.rz-share { display: flex; align-items: center; gap: 8px; font-weight: 800; color: var(--rz-ink); }
.rz-share .rz-soc { width: 38px; height: 38px; font-size: 14px; }
.rz-author { display: flex; gap: 18px; align-items: center; margin: 30px 44px 0; padding: 22px; border-radius: 22px; background: linear-gradient(135deg, var(--rz-v50), #fff); border: 1px solid var(--rz-line); }
.rz-author img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; object-position: 42% 25%; border: 3px solid #fff; box-shadow: var(--rz-shadow); flex: none; }
.rz-author h4 { font-size: 18px; font-weight: 900; margin: 0 0 4px; color: var(--rz-ink); }
.rz-author p { font-size: 14.5px; line-height: 1.8; margin: 0 0 8px; color: var(--rz-muted); }
@media (max-width: 640px) { .rz-author, .rz-article-foot { margin-inline: 20px; } .rz-author { flex-direction: column; text-align: center; } }
.rz-side { display: grid; gap: 24px; position: sticky; top: 110px; }
@media (max-width: 1099px) { .rz-side { position: static; } }
.rz-widget { background: #fff; border: 1px solid var(--rz-line); border-radius: 24px; padding: 24px; box-shadow: 0 14px 40px -30px rgba(42, 20, 80, .35); }
.rz-widget h4 { font-size: 19px; font-weight: 900; color: var(--rz-ink); margin: 0 0 14px; }
.rz-cats { list-style: none; margin: 0; padding: 0; }
.rz-cats a { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--rz-line); font-weight: 700; color: var(--rz-ink); }
.rz-cats li:last-child a { border-bottom: 0; }
.rz-cats a:hover { color: var(--rz-v600); }
.rz-cats span { font-size: 12px; min-width: 28px; text-align: center; padding: 2px 8px; border-radius: 999px; background: var(--rz-v50); color: var(--rz-v600); }
.rz-recent a { display: flex; gap: 12px; align-items: center; padding: 8px 0; }
.rz-recent img { width: 72px; height: 62px; border-radius: 14px; object-fit: cover; flex: none; }
.rz-recent b { display: block; font-size: 14.5px; line-height: 1.6; color: var(--rz-ink); }
.rz-recent small { font-size: 12px; color: var(--rz-muted); }
.rz-widget-cta { background: linear-gradient(150deg, var(--rz-v600), var(--rz-v800)); border: 0; }
.rz-widget-cta h4 { color: #fff; }
.rz-widget-cta p { color: rgba(255, 255, 255, .82); font-size: 15px; line-height: 1.9; margin: 0 0 16px; }
.rz-widget-cta .rz-btn { width: 100%; background: #fff; color: var(--rz-v700) !important; }

/* ---------- contact page social row ---------- */
.rz-contact-social { margin-top: 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.rz-contact-social b { font-size: 17px; color: var(--rz-ink); }

/* ---------- footer credit ---------- */
.rz-credit a { color: var(--rz-v600); font-weight: 800; }
.rz-credit a:hover { text-decoration: underline; }

/* ---------- arrows follow the Arabic reading direction (point left) ---------- */
/* drawn with borders (an icon-font glyph gets mirrored by the RTL text direction): a chevron pointing left */
[dir="rtl"] .shadow-breadcrumb li + li::before { content: "" !important; float: none !important; display: inline-block; width: 8px; height: 8px; margin: 0 2px 2px 12px; border-inline-start: 0; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) !important; scale: none !important; rotate: none !important; translate: none !important; top: 0 !important; vertical-align: middle; opacity: .7; }
[dir="rtl"] a.btn-square[href="about-us.html"] svg { transform: scaleX(-1); }

/* ---------- longer-duration offers on the pricing cards ---------- */
.rz-offers { list-style: none; margin: 14px 0 0; padding: 0; border-radius: 14px; overflow: hidden; border: 1px solid rgba(143, 174, 74, .35); background: #fff; }
.rz-offers li { display: grid; grid-template-columns: 62px 1fr auto; align-items: center; gap: 4px 8px; padding: 8px 12px; font-size: 13px; border-top: 1px dashed rgba(143, 174, 74, .3); }
.rz-offers li b { color: var(--rz-ink); font-weight: 800; }
.rz-offers li span { font-weight: 900; color: var(--rz-v600); }
.rz-offers li em { font-style: normal; font-size: 11.5px; font-weight: 800; color: #4d6b16; background: var(--rz-leaf-soft); padding: 2px 8px; border-radius: 999px; }
.rz-offers li em:empty { display: none; }
.rz-offers li small { grid-column: 2 / -1; font-size: 11.5px; color: var(--rz-muted); }
.rz-offers li small i { color: var(--rz-leaf); margin-inline-end: 3px; }
.rz-offers .rz-offers-h { display: block; border-top: 0; background: var(--rz-leaf-soft); color: #4d6b16; font-weight: 800; font-size: 12.5px; }
