/* Dr. Alaa Badawy — detailed inner pages and UX refinements (v1.1). Loaded after styles.css. */

/* ---------- Shared sections ---------- */
.rich-section { padding-block: 72px; }
.rich-section-tight { padding-block: 0 72px; }
.rich-tinted { background: #f2efec; }
.rich-heading { max-width: 720px; margin-bottom: 34px; }
.rich-heading h2 { margin-top: 12px; font-size: 36px; }
.rich-heading > p:not(.eyebrow) { font-size: 15px; line-height: 1.8; margin-top: 14px; }
.rich-section h3 { font-size: 17px; font-weight: 600; color: var(--ink); }
.rich-section p { font-size: 14px; line-height: 1.85; }
[dir="rtl"] .rich-section, [dir="rtl"] .rich-hero { text-align: right; }

/* Inner hero with actions */
.rich-hero h1 { max-width: 640px; }
.rich-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.rich-hero-actions .button { font-size: 14px; min-height: 46px; padding-inline: 22px; }
.rich-hero .inner-hero-media { height: 380px; }
.rich-hero .inner-hero-media img[src*="sapi-diagram"], .rich-hero .inner-hero-media img[src*="sleeve"] { object-fit: contain; background: #fff; padding: 24px; }
.rich-hero .inner-hero-media img[src*="doctor-about"] { object-position: center 20%; }

/* Prose + aside */
.rich-prose-section { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr); gap: 56px; align-items: start; }
.rich-prose-section:not(:has(.rich-aside)) { grid-template-columns: minmax(0, 820px); }
.rich-prose-body p + p { margin-top: 16px; }
.rich-prose-body p { font-size: 15px; color: #5f5866; }
.rich-aside { position: sticky; top: 24px; display: grid; gap: 20px; }
.rich-aside-image { width: 100%; border-radius: 10px; background: #fff; border: 1px solid var(--line); padding: 18px; }
.rich-quote { background: var(--purple); color: #fff; border-radius: 10px; padding: 28px; }
.rich-quote blockquote { font-size: 18px; line-height: 1.8; color: #fff; }
.rich-quote small { display: block; margin-top: 16px; color: var(--gold); font-weight: 600; letter-spacing: .5px; }
.rich-memberships { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; background: #fffdfb; border: 1px solid var(--line); border-radius: 10px; padding: 20px; }
.rich-memberships img { height: 38px; width: auto; object-fit: contain; }
.rich-stat-list { display: grid; gap: 12px; }
.rich-stat-list > div { background: #fffdfb; border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; }
.rich-stat-list strong { display: block; font-size: 17px; color: var(--purple); }
.rich-stat-list span { font-size: 13px; color: var(--muted); }

/* Cards */
.rich-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.rich-card { display: flex; flex-direction: column; background: #fffdfb; border: 1px solid var(--line); border-radius: 10px; padding: 26px; transition: box-shadow .2s ease, transform .2s ease; }
.rich-card:hover { box-shadow: 0 18px 40px #3020441a; transform: translateY(-2px); }
.rich-card-icon { display: inline-flex; width: 46px; height: 46px; align-items: center; justify-content: center; border-radius: 50%; background: #f4eef7; color: var(--purple); margin-bottom: 16px; }
.rich-card-icon svg { width: 22px; height: 22px; }
.rich-card-tag { color: var(--gold) !important; font-size: 12px !important; font-weight: 700; margin-bottom: 6px; }
.rich-card h3 { margin-bottom: 8px; }
.rich-card > p:not(.rich-card-tag) { color: #625b69; }
.rich-card .text-button { margin-top: auto; padding-top: 16px; font-size: 13px; font-weight: 600; }
.rich-card .text-button svg { width: 15px; height: 15px; }
[dir="rtl"] .rich-card .text-button svg, [dir="rtl"] .rich-hero-actions svg[data-lucide="arrow-right"] { transform: scaleX(-1); }
.rich-bullets { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.rich-bullets li { position: relative; padding-inline-start: 18px; font-size: 13px; line-height: 1.7; color: var(--ink); }
.rich-bullets li:before { content: ''; position: absolute; inset-inline-start: 0; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }

/* Lists */
.rich-list-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.rich-list-grid:has(> :only-child) { grid-template-columns: 1fr; max-width: 820px; }
.rich-list { background: #fffdfb; border: 1px solid var(--line); border-radius: 10px; padding: 26px; }
.rich-list h3 { margin-bottom: 14px; }
.rich-list ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.rich-list li { position: relative; padding-inline-start: 32px; font-size: 14px; line-height: 1.8; color: var(--ink); }
.rich-list li:before { content: ''; position: absolute; inset-inline-start: 0; top: 4px; width: 20px; height: 20px; background: var(--gold); -webkit-mask: var(--dx-check) center / contain no-repeat; mask: var(--dx-check) center / contain no-repeat; }
.rich-list-alert li:before { background: #b4533c; -webkit-mask-image: var(--dx-alert); mask-image: var(--dx-alert); }
:root { --dx-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"); --dx-alert: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m21.7 18-8-14a2 2 0 0 0-3.4 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.7-3'/%3E%3Cpath d='M12 9v4M12 17h.01'/%3E%3C/svg%3E"); --dx-info: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 16v-4M12 8h.01'/%3E%3C/svg%3E"); --dx-file: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7z'/%3E%3Cpath d='M14 2v5h5M16 13H8M16 17H8'/%3E%3C/svg%3E"); }

/* Timeline */
.rich-timeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rich-timeline.rich-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rich-step { background: #fffdfb; border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: 10px; padding: 20px; }
.rich-section .rich-when { display: inline-block; font-size: 13px; font-weight: 700; color: var(--purple); background: #f4eef7; border-radius: 20px; padding: 3px 12px; margin-bottom: 12px; line-height: 1.6; }
.rich-timeline h3 { margin-bottom: 6px; }
.rich-timeline p { font-size: 13px !important; }

/* FAQ accordion */
.rich-faq-section { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 48px; align-items: start; }
.rich-faq-list { display: grid; gap: 12px; }
.rich-faq { background: #fffdfb; border: 1px solid var(--line); border-radius: 10px; }
.rich-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; font-size: 16px; font-weight: 600; color: var(--ink); }
.rich-faq summary::-webkit-details-marker { display: none; }
.rich-faq summary svg { flex-shrink: 0; width: 20px; height: 20px; color: var(--gold); transition: transform .2s ease; }
.rich-faq[open] summary svg { transform: rotate(45deg); }
.rich-faq[open] { border-color: #d8c9b2; box-shadow: 0 10px 26px #3020440f; }
.rich-faq-answer { padding: 0 22px 20px; }
.rich-faq-answer p + p { margin-top: 10px; }
.faq-page .rich-faq-section + .rich-faq-section { border-top: 1px solid var(--line); }

/* Disclaimer */
.rich-disclaimer { position: relative; margin: 0 0 56px; padding: 16px 18px; padding-inline-start: 44px; border-radius: 10px; background: #f7f2ea; border: 1px solid #eadfcd; font-size: 13px !important; line-height: 1.8; color: #6b5c45 !important; }
.rich-disclaimer:before { content: ''; position: absolute; inset-inline-start: 16px; top: 19px; width: 18px; height: 18px; background: var(--gold); -webkit-mask: var(--dx-info) center / contain no-repeat; mask: var(--dx-info) center / contain no-repeat; }

/* CTA with two actions */
.cta.rich-cta { height: auto; padding-block: 56px; }
.rich-cta .cta-action { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.rich-cta .cta-action .button { width: auto; min-width: 190px; font-size: 14px; min-height: 48px; }
.rich-cta .cta-description { max-width: 560px; font-size: 15px; line-height: 1.8; }
.rich-cta h2 { font-size: 34px; }
.outline-light { background: transparent; color: #fff; border-color: #ffffff80; box-shadow: none; }
.outline-light:hover { background: #ffffff14; }

/* Reviews */
.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.review-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.review-card { display: flex; flex-direction: column; background: #fffdfb; border: 1px solid var(--line); border-radius: 10px; padding: 24px; }
.review-stars { color: var(--gold); letter-spacing: 3px; font-size: 15px; margin-bottom: 12px; }
.review-card blockquote { font-size: 14px; line-height: 1.85; color: #4f4757; flex: 1; }
.review-card blockquote { margin-bottom: 18px; }
.review-meta { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.review-meta strong { display: block; font-size: 14px; color: var(--ink); }
.review-meta span { display: block; font-size: 12px; color: var(--gold); font-weight: 600; }
.stories { min-height: 0; padding-block: 64px; }
.stories .section-heading { margin-bottom: 28px; }
.stories .section-heading .text-button { font-size: 13px; font-weight: 600; }

/* Before / after cases */
.case-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.case-card { background: #fffdfb; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.case-images { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--line); }
.case-figure { margin: 0; position: relative; aspect-ratio: 3 / 4; background: #eee9e4; overflow: hidden; }
.case-images img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.rich-section .case-label { position: absolute; bottom: 10px; inset-inline-start: 10px; background: #302044d9; color: #fff; font-size: 12px; font-weight: 600; line-height: 1.6; padding: 4px 12px; border-radius: 20px; }
.case-body { padding: 24px; }
.case-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 16px 0; text-align: center; }
.case-stats > div { background: #f7f4f1; border-radius: 8px; padding: 10px 6px; }
.case-stats strong { display: block; font-size: 24px; color: var(--ink); line-height: 1.3; }
.case-stats span { font-size: 12px; color: var(--muted); }
.case-stats .case-loss { background: var(--purple); }
.case-stats .case-loss strong, .case-stats .case-loss span { color: #fff; }
.case-body blockquote { font-size: 14px; line-height: 1.85; color: #4f4757; font-style: italic; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.contact-info-list { display: grid; gap: 12px; }
.contact-info-list > a, .contact-info-list > div { display: flex; gap: 16px; align-items: center; background: #fffdfb; border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; transition: border-color .2s ease; }
.contact-info-list > a:hover { border-color: #cdb58f; }
.contact-info-icon { display: inline-flex; flex-shrink: 0; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 50%; background: #f4eef7; color: var(--purple); }
.contact-info-list svg { width: 20px; height: 20px; }
.contact-info-list h3 { font-size: 14px !important; margin-bottom: 2px; }
.contact-info-list p { font-size: 14px !important; line-height: 1.6 !important; }
.wa-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; background: #fffdfb; border: 1px solid var(--line); border-radius: 12px; padding: 30px; box-shadow: 0 20px 48px #3020440f; }
.wa-form h2, .wa-form > p, .wa-form-wide { grid-column: 1 / -1; }
.wa-form h2 { font-size: 28px; }
.wa-form label { display: grid; gap: 6px; }
.wa-form label span { font-size: 13px; font-weight: 600; color: var(--ink); }
.wa-form input, .wa-form select, .wa-form textarea { width: 100%; font: inherit; font-size: 14px; border: 1px solid #d9cedd; border-radius: 8px; padding: 12px 14px; background: #fff; color: var(--ink); }
.wa-form input:focus, .wa-form select:focus, .wa-form textarea:focus { outline: 2px solid #9670a7; outline-offset: 1px; border-color: transparent; }
.wa-form .button { min-height: 50px; font-size: 15px; }
.contact-map { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); height: 360px; background: #eee9e4; }
.contact-map iframe { width: 100%; height: 100%; border: 0; }

/* Books */
.book-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.book-steps article { position: relative; background: #fffdfb; border: 1px solid var(--line); border-radius: 10px; padding: 26px; }
.book-step-number { position: absolute; top: 22px; inset-inline-end: 24px; font-family: var(--serif); font-size: 28px; color: #d9c7a6; }
.book-steps h3 { margin-bottom: 6px; }
.rich-section.real-books { padding-block: 64px; }
.book-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.book-price .amount, .book-price ins, .book-price bdi { font-size: 20px; font-weight: 700; color: var(--purple); text-decoration: none; }
.book-price del, .book-price del bdi { font-size: 14px; color: var(--muted); font-weight: 400; }
.book-format { position: relative; padding-inline-start: 20px; font-size: 12px !important; color: var(--muted); margin-bottom: 12px !important; }
.book-format:before { content: ''; position: absolute; inset-inline-start: 0; top: 50%; width: 14px; height: 14px; margin-top: -7px; background: var(--gold); -webkit-mask: var(--dx-file) center / contain no-repeat; mask: var(--dx-file) center / contain no-repeat; }
.book-price:empty { display: none; }

.books-hero-covers { display: flex; justify-content: center; align-items: flex-end; gap: 0; padding: 30px 10px 10px; }
.books-hero-covers .bhc { flex: 0 0 34%; width: 34%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 6px; box-shadow: 0 24px 44px #30204433; overflow: hidden; }
.books-hero-covers .bhc img { display: block; width: 100%; height: 100%; object-fit: cover; }
.books-hero-covers .bhc-1 { transform: rotate(-6deg) translateX(-18px); }
.books-hero-covers .bhc-2 { flex-basis: 38%; width: 38%; position: relative; z-index: 1; transform: translateY(-14px); }
.books-hero-covers .bhc-3 { transform: rotate(6deg) translateX(18px); }

/* Header / navigation */
.main-nav .active { color: var(--purple); }
.main-nav a:hover:after, .main-nav .active:after { width: 100%; background: var(--gold); height: 2px; }
.socials a { display: inline-flex; color: var(--muted); transition: color .2s ease; }
.socials a:hover { color: var(--purple); }
.footer-contact > p { white-space: normal; }

/* Floating WhatsApp */
.wa-float { position: fixed; z-index: 60; bottom: 22px; inset-inline-start: 22px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 26px #0000002e; transition: transform .2s ease; }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Tablet ---------- */
@media (max-width: 1099px) {
  .rich-card-grid, .review-grid, .review-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rich-timeline, .rich-timeline.rich-cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rich-prose-section, .rich-faq-section, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .rich-aside { position: static; }
  .rich-heading h2 { font-size: 30px; }
  .rich-hero .inner-hero-media { height: 320px; }
}

/* ---------- Mobile ---------- */
@media (max-width: 739px) {
  .rich-section { padding-block: 48px; }
  .rich-section-tight { padding-block: 0 48px; }
  .rich-heading { margin-bottom: 24px; }
  .rich-heading h2, [dir="rtl"] .rich-heading h2 { font-size: 25px; }
  .rich-heading > p:not(.eyebrow), .rich-prose-body p { font-size: 14px; }
  .rich-card-grid, .review-grid, .review-grid-4, .rich-list-grid, .case-grid, .book-steps { grid-template-columns: 1fr; }
  .rich-card, .rich-list, .review-card { padding: 20px; }
  .rich-timeline, .rich-timeline.rich-cols-4 { grid-template-columns: 1fr; }
  .rich-hero-actions { gap: 10px; }
  .rich-hero-actions .button { flex: 1 1 150px; font-size: 13px; }
  .rich-hero .inner-hero-media { height: 230px; }
  .rich-faq summary { font-size: 15px; padding: 16px 18px; }
  .rich-faq-answer { padding: 0 18px 18px; }
  .rich-cta h2 { font-size: 26px; }
  .rich-cta > .container { flex-direction: column; align-items: flex-start; gap: 22px; }
  .rich-cta .cta-action { width: 100%; }
  .rich-cta .cta-action .button { flex: 1 1 100%; }
  .wa-form { grid-template-columns: 1fr; padding: 22px; }
  .wa-form h2 { font-size: 24px; }
  .contact-map { height: 280px; }
  .case-stats strong { font-size: 20px; }
  .real-book-grid .book-card { grid-template-columns: 84px 1fr; gap: 16px; padding: 18px; align-items: start; }
  .real-book-grid .home-book-cover { width: 84px; }
  .books-hero-covers { padding-top: 10px; }
  .wa-float { width: 52px; height: 52px; bottom: 16px; inset-inline-start: 16px; }

  /* Mobile menu: a clean vertical list instead of a wrapped grid */
  .main-nav { flex-direction: column; gap: 0; padding: 8px 20px; }
  .main-nav a { padding: 14px 4px; font-size: 15px; border-bottom: 1px solid var(--line); }
  .main-nav a:last-child { border-bottom: 0; }
  .main-nav a:after { display: none; }
  .main-nav .active { color: var(--gold); }
  .top-book svg { display: none; }
}

@media (prefers-reduced-motion: reduce) { .rich-card, .wa-float, .rich-faq summary svg { transition: none; } }

/* SAGES highlight band (home + about) */
.sages-band { background: linear-gradient(120deg, #2c1842 0%, var(--purple) 100%); color: #fff; padding-block: 48px; }
.sages-band-inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 36px; align-items: center; }
.sages-logo { background: #fff; border-radius: 12px; padding: 18px 22px; display: flex; align-items: center; justify-content: center; }
.sages-logo img { height: 64px; width: auto; display: block; }
.sages-band .eyebrow { color: var(--gold); }
.sages-band h2 { color: #fff; font-size: 28px; margin-top: 10px; }
.sages-band p:not(.eyebrow) { color: #e6deee; font-size: 14px; line-height: 1.85; margin-top: 10px; max-width: 640px; }
.sages-band .button { min-height: 46px; font-size: 14px; }
.affiliation-link { display: inline-flex; }
@media (max-width: 899px) {
  .sages-band-inner { grid-template-columns: 1fr; gap: 20px; }
  .sages-logo { justify-self: start; }
  .sages-band h2 { font-size: 22px; }
}

/* Book pricing */
.book-badge { display: inline-block; font-size: 12px !important; font-weight: 700; padding: 3px 10px; border-radius: 20px; margin-bottom: 10px !important; }
.book-badge-free { background: #e6f4ea; color: #1e7b3c !important; }
.book-badge-paid { background: #f4eef7; color: var(--purple) !important; }
.book-buy { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: auto; }
.book-buy .book-price { margin: 0; }
.book-buy .book-price-soon { font-size: 13px; color: var(--muted); }
.book-buy .book-price-free { font-size: 18px; font-weight: 700; color: #1e7b3c; }
.books-group + .books-group { padding-top: 0; }

/* Articles: listing cards and single article */
.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.article-card { display: flex; flex-direction: column; background: #fffdfb; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; color: inherit; transition: box-shadow .2s ease, transform .2s ease; }
.article-card:hover, .article-card:focus-visible { box-shadow: 0 16px 36px #3020441a; transform: translateY(-2px); }
.article-card-media { aspect-ratio: 16 / 10; background: #f0ece8; overflow: hidden; }
.article-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.article-card-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.article-card-tag { font-size: 12px; font-weight: 700; color: var(--gold); letter-spacing: .4px; margin-bottom: 8px; }
.article-card h3 { font-size: 18px; line-height: 1.5; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.article-card-body > p:not(.article-card-tag) { font-size: 14px; line-height: 1.8; color: #625b69; }
.article-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 18px; font-size: 13px; color: var(--muted); }
.article-card-meta .text-button { font-size: 13px; font-weight: 600; }
.article-card-meta .text-button svg { width: 15px; height: 15px; }
.article-empty { font-size: 15px; color: var(--muted); }
.rich-section .nav-links { display: flex; justify-content: center; gap: 8px; margin-top: 36px; font-size: 14px; }
.rich-section .nav-links .page-numbers { padding: 6px 12px; border: 1px solid var(--line); border-radius: 6px; color: var(--purple); }
.rich-section .nav-links .current { background: var(--purple); color: #fff; border-color: var(--purple); }

.article-hero h1 { font-size: 46px; }
.article-back { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--purple); margin-bottom: 18px; }
.article-back svg { width: 15px; height: 15px; }
.article-hero .article-meta { display: flex; flex-wrap: wrap; gap: 18px; font-size: 14px; color: var(--muted); }
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-meta svg { width: 15px; height: 15px; color: var(--gold); }
.article-hero-media img { object-fit: contain; background: #fff; }
.article-section { padding-block: 56px 72px; }
.article-layout { max-width: 820px; }
.article-body { color: #5f5866; font-size: 16px; line-height: 1.9; }
.article-body .e-con { --padding-top: 0px; --padding-right: 0px; --padding-bottom: 0px; --padding-left: 0px; --gap: 14px; --row-gap: 14px; --content-width: 100%; }
.article-body .e-con + .e-con { margin-top: 40px; }
.article-body .elementor-widget-heading h2.elementor-heading-title, .article-body > h2, .article-body .wp-block-heading:is(h2) { font-family: var(--serif); font-size: 32px; line-height: 1.25; font-weight: 400; color: var(--ink); margin-top: 8px; }
.article-body .elementor-widget-heading h3.elementor-heading-title, .article-body > h3, .article-body .wp-block-heading:is(h3) { font-size: 19px; line-height: 1.5; font-weight: 600; color: var(--ink); margin-top: 10px; }
.article-section .article-body p, .article-section .article-body li { font-size: 16px; line-height: 1.9; color: #5f5866; }
.article-body p + p { margin-top: 14px; }
.article-body ul, .article-body ol { margin: 6px 0 0; padding-inline-start: 22px; display: grid; gap: 8px; }
.article-body li::marker { color: var(--gold); }
.article-body a { color: var(--purple); text-decoration: underline; text-underline-offset: 3px; }
.article-body strong { color: var(--ink); }
.article-section .article-body .article-note { background: #fbf6e9; border-inline-start: 3px solid var(--gold); border-radius: 8px; padding: 14px 18px; color: var(--purple); }
.article-body img { border-radius: 10px; height: auto; max-width: 100%; }
.article-body .elementor-widget-image img { display: block; margin-inline: auto; max-height: 520px; width: auto; }
.article-body .gallery { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 !important; }
.article-body .gallery.gallery-columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.article-body .gallery .gallery-item { width: auto !important; max-width: none !important; margin: 0 !important; padding: 0 !important; }
.article-body .gallery .gallery-icon { aspect-ratio: 1; background: #f6f2ec; border-radius: 10px; overflow: hidden; }
.article-body .gallery img { width: 100%; height: 100%; object-fit: contain; border: 0 !important; border-radius: 0; }
.article-more { background: #faf7f3; }
@media (max-width: 1099px) {
  .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 739px) {
  .article-grid { grid-template-columns: minmax(0, 1fr); }
  .article-hero h1, [dir="rtl"] .article-hero h1 { font-size: 32px; }
  .article-body, .article-section .article-body p, .article-section .article-body li { font-size: 15px; }
  .article-body .elementor-widget-heading h2.elementor-heading-title, .article-body > h2 { font-size: 26px; }
  .article-body .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
