/*
Theme Name: زهرة الخليج
Theme URI: https://example.com/zahrat-alkhaleej
Author: Zahrat Al Khaleej
Description: قالب عربي سريع لشركة نقل عفش في المدينة المنورة، متوافق مع Gutenberg وElementor.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: zahrat-alkhaleej
*/

:root {
    --navy-950: #062c30;
    --navy-900: #073f43;
    --navy-800: #0b5759;
    --navy-700: #14706f;
    --gold-500: #f08a6b;
    --gold-400: #f6a184;
    --gold-100: #fff0ea;
    --sand-50: #fbfaf6;
    --white: #fff;
    --ink: #173338;
    --muted: #627477;
    --line: #e1e9e8;
    --success: #137a4e;
    --error: #b42318;
    --radius-sm: 12px;
    --radius: 20px;
    --shadow: 0 22px 55px rgba(6, 44, 48, .13);
    --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Tahoma, "Segoe UI", Arial, sans-serif; line-height: 1.75; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 999; top: 10px; right: 10px; transform: translateY(-150%); padding: 10px 16px; background: var(--gold-500); color: var(--navy-950); border-radius: 8px; font-weight: 700; }
.skip-link:focus { transform: none; }

.topbar { background: var(--navy-950); color: #d9e3ee; font-size: .83rem; }
.topbar__inner { min-height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar p { margin: 0; }
.topbar a { display: flex; align-items: center; gap: 7px; color: var(--gold-400); font-weight: 700; }
.topbar svg { width: 16px; fill: currentColor; }

.site-header { position: sticky; z-index: 100; top: 0; background: rgba(255, 255, 255, .96); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(7, 27, 51, .08); }
.nav-wrap { height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand__mark { width: 48px; height: 48px; display: grid; place-items: center; background: var(--navy-900); border-radius: 14px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.brand__mark svg { width: 35px; fill: var(--gold-400); }
.brand > span:last-child { display: flex; flex-direction: column; line-height: 1.25; }
.brand strong { color: var(--navy-900); font-size: 1.25rem; }
.brand small { color: var(--muted); font-size: .72rem; }
.main-nav { display: flex; align-items: center; gap: 28px; color: #31455d; font-size: .94rem; font-weight: 700; }
.main-nav > a:not(.btn) { position: relative; padding-block: 10px; }
.main-nav > a:not(.btn)::after { content: ""; position: absolute; right: 0; bottom: 2px; width: 0; height: 2px; background: var(--gold-500); transition: width .2s ease; }
.main-nav > a:hover::after, .main-nav > a:focus-visible::after { width: 100%; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; border-radius: 10px; background: var(--sand-50); cursor: pointer; }
.menu-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--navy-900); transition: .2s ease; }

.btn { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 25px; border: 1px solid transparent; border-radius: 11px; font-weight: 800; cursor: pointer; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible { outline: 3px solid rgba(240,138,107,.45); outline-offset: 3px; }
.btn--small { min-height: 44px; padding: 8px 18px; }
.btn--gold { background: var(--gold-500); color: var(--navy-950); box-shadow: 0 12px 28px rgba(240, 138, 107, .25); }
.btn--gold:hover { background: var(--gold-400); }
.btn--outline { border-color: rgba(255,255,255,.55); color: var(--white); background: rgba(255,255,255,.06); }
.btn--outline:hover { background: rgba(255,255,255,.14); }
.btn--full { width: 100%; border: 0; }

.hero { position: relative; min-height: 640px; display: grid; overflow: hidden; background: var(--navy-950); }
.hero__image, .hero__overlay { position: absolute; inset: 0; }
.hero__image { background: url("assets/images/hero-zahrat-alkhaleej.webp") center / cover no-repeat; }
.hero__overlay { background: linear-gradient(90deg, rgba(6,44,48,.05) 18%, rgba(6,44,48,.6) 55%, rgba(6,44,48,.97) 100%); }
.hero__content { position: relative; z-index: 2; display: flex; align-items: center; min-height: 640px; }
.hero__copy { width: min(650px, 58%); color: var(--white); padding-block: 75px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--gold-400); font-size: .86rem; font-weight: 800; letter-spacing: .01em; }
.eyebrow span { width: 31px; height: 2px; background: currentColor; }
.hero h1 { margin: 15px 0 18px; color: var(--white); font-size: clamp(2.65rem, 5vw, 5rem); line-height: 1.15; letter-spacing: -.04em; }
.hero h1 em { color: var(--gold-400); font-style: normal; }
.hero__copy > p { max-width: 570px; margin: 0 0 30px; color: #e1e8ef; font-size: 1.08rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 14px 23px; margin: 30px 0 0; padding: 0; list-style: none; color: #e5ebf1; font-size: .88rem; }
.hero__trust span { display: inline-grid; place-items: center; width: 21px; height: 21px; margin-left: 5px; border-radius: 50%; color: var(--navy-950); background: var(--gold-400); font-size: .75rem; font-weight: 900; }

.quick-contact { position: relative; z-index: 4; margin-top: -1px; background: var(--gold-500); color: var(--navy-950); }
.quick-contact__inner { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.quick-contact__inner > div { display: flex; align-items: center; gap: 16px; }
.quick-contact__icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.36); font-size: 1.2rem; }
.quick-contact p { display: flex; flex-direction: column; margin: 0; line-height: 1.5; }
.quick-contact p strong { font-size: 1.08rem; }
.quick-contact p span { font-size: .84rem; opacity: .78; }
.quick-contact__inner > a { font-size: clamp(1.2rem, 2vw, 1.7rem); font-weight: 900; letter-spacing: .02em; direction: ltr; }

.section { padding: 105px 0; }
.section-heading { max-width: 650px; margin-bottom: 48px; }
.section-heading .kicker, .kicker { color: #c85f45; font-weight: 900; font-size: .8rem; letter-spacing: .08em; }
.section-heading h2, .about h2, .quote h2 { margin: 10px 0 12px; color: var(--navy-900); font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.25; letter-spacing: -.035em; }
.section-heading p { margin: 0; color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card { position: relative; min-height: 282px; padding: 30px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.service-card:hover { transform: translateY(-6px); border-color: rgba(240,138,107,.65); box-shadow: var(--shadow); }
.service-card__number { position: absolute; top: 15px; left: 20px; color: #edf0f3; font-size: 3.1rem; line-height: 1; font-weight: 900; }
.icon-box { position: relative; width: 53px; height: 53px; display: grid; place-items: center; margin-bottom: 28px; border-radius: 14px; background: var(--gold-100); color: #b9563e; }
.icon-box svg { width: 28px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { margin: 0 0 10px; color: var(--navy-900); font-size: 1.2rem; }
.service-card p { margin: 0; color: var(--muted); font-size: .91rem; }

.process { background: var(--navy-900); color: var(--white); }
.section-heading--light h2 { color: var(--white); }
.process .kicker { color: var(--gold-400); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: steps; }
.process-grid li { position: relative; padding: 0 28px; border-left: 1px solid rgba(255,255,255,.12); }
.process-grid li:first-child { padding-right: 0; }
.process-grid li:last-child { border-left: 0; }
.process-grid li > span { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 23px; border: 1px solid rgba(231,190,89,.55); border-radius: 50%; color: var(--gold-400); font-weight: 900; }
.process-grid h3 { margin: 0 0 8px; color: var(--white); }
.process-grid p { margin: 0; color: #b7c3cf; font-size: .9rem; }

.about { background: var(--sand-50); }
.about__grid { display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 80px; }
.about__visual { position: relative; }
.about__visual::before { content: ""; position: absolute; z-index: 0; inset: 28px -24px -24px 28px; border: 2px solid var(--gold-500); border-radius: var(--radius); }
.about__visual img { position: relative; z-index: 1; width: 100%; aspect-ratio: 5/4; object-fit: cover; object-position: 30% center; border-radius: var(--radius); box-shadow: var(--shadow); }
.about__badge { position: absolute; z-index: 2; left: -20px; bottom: 28px; min-width: 155px; padding: 17px 20px; color: var(--white); background: var(--navy-900); border-right: 4px solid var(--gold-500); box-shadow: var(--shadow); }
.about__badge strong, .about__badge span { display: block; }
.about__badge strong { color: var(--gold-400); font-size: 1.25rem; }
.about__badge span { font-size: .78rem; }
.about__content > p { color: var(--muted); }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 21px; margin: 29px 0; }
.feature-list > div { display: flex; gap: 11px; }
.feature-list > div > span { flex: 0 0 26px; height: 26px; display: grid; place-items: center; margin-top: 3px; border-radius: 50%; background: var(--gold-100); color: #b9563e; font-weight: 900; }
.feature-list p { display: flex; flex-direction: column; margin: 0; }
.feature-list strong { color: var(--navy-900); font-size: .95rem; }
.feature-list small { color: var(--muted); line-height: 1.6; }
.text-link { color: var(--navy-800); font-weight: 900; border-bottom: 2px solid var(--gold-500); }

.quote { background: linear-gradient(135deg, var(--navy-950), var(--navy-800)); color: var(--white); }
.quote__grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 75px; align-items: center; }
.quote h2 { color: var(--white); }
.quote__content > p { color: #c5d0db; }
.quote__contact { margin-top: 35px; padding-top: 25px; border-top: 1px solid rgba(255,255,255,.15); }
.quote__contact span, .quote__contact a { display: block; }
.quote__contact span { color: #94a5b5; font-size: .84rem; }
.quote__contact strong { display: block; margin: 6px 0 8px; color: var(--gold-400); font-size: 1.55rem; }
.quote__contact a:last-child { width: max-content; border-bottom: 1px solid var(--gold-400); color: var(--white); font-weight: 700; }
.form-card { padding: 36px; border-radius: var(--radius); background: var(--white); color: var(--ink); box-shadow: 0 30px 75px rgba(0,0,0,.28); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-card label { display: block; margin-bottom: 16px; color: #31455d; font-size: .84rem; font-weight: 800; }
.form-card label > span { color: var(--error); }
.form-card input:not([type="checkbox"]), .form-card select, .form-card textarea { width: 100%; min-height: 49px; margin-top: 7px; padding: 10px 13px; border: 1px solid #d8dde4; border-radius: 9px; background: #fbfcfd; color: var(--ink); outline: 0; transition: border-color .2s, box-shadow .2s; }
.form-card textarea { resize: vertical; }
.form-card input:focus, .form-card select:focus, .form-card textarea:focus { border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(215,169,54,.15); }
.consent { display: flex !important; align-items: flex-start; gap: 9px; font-weight: 500 !important; line-height: 1.6; }
.consent input { margin-top: 5px; accent-color: var(--navy-800); }
.consent span { color: var(--muted) !important; }
.honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.alert { margin-bottom: 20px; padding: 12px 15px; border-radius: 9px; font-size: .9rem; font-weight: 700; }
.alert--success { color: var(--success); background: #eaf8f1; border: 1px solid #b7e7cd; }
.alert--error { color: var(--error); background: #fff0ee; border: 1px solid #ffcdc7; }

.faq__grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 70px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; display: flex; justify-content: space-between; gap: 15px; padding: 21px 0; color: var(--navy-900); font-weight: 800; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--gold-500); font-size: 1.4rem; transition: transform .2s; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { margin: -4px 0 20px; color: var(--muted); font-size: .93rem; }

.final-cta { padding: 60px 0; background: var(--gold-500); color: var(--navy-950); }
.final-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.final-cta span { font-weight: 800; }
.final-cta h2 { margin: 3px 0 0; font-size: clamp(1.7rem, 3vw, 2.6rem); }
.final-cta__inner > div:last-child { display: flex; gap: 10px; }
.final-cta .btn--gold { background: var(--navy-950); color: var(--white); box-shadow: none; }
.final-cta .btn--outline { border-color: var(--navy-950); color: var(--navy-950); }

.site-footer { padding-top: 75px; background: var(--navy-950); color: #aebdca; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 50px; padding-bottom: 55px; }
.brand--footer strong { color: var(--white); }
.brand--footer small { color: #c5d1dc; }
.footer-grid > div:first-child > p { max-width: 340px; margin-top: 19px; font-size: .88rem; }
.footer-grid h3 { margin: 5px 0 17px; color: var(--white); font-size: 1rem; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; font-size: .86rem; }
.footer-grid a:hover { color: var(--gold-400); }
.footer-bottom { min-height: 65px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: .78rem; }
.footer-bottom p { margin: 0; }
.mobile-bar { display: none; }

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } .btn, .service-card { transition: none; } }

@media (max-width: 960px) {
    .menu-toggle { display: block; }
    .main-nav { position: fixed; inset: 122px 0 auto; display: flex; flex-direction: column; align-items: stretch; gap: 5px; padding: 25px 20px 32px; background: var(--white); box-shadow: 0 25px 45px rgba(4,20,39,.16); transform: translateY(-140%); opacity: 0; pointer-events: none; transition: .25s ease; }
    .main-nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
    .main-nav a { padding: 11px 10px !important; }
    .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .hero__copy { width: 68%; }
    .hero__overlay { background: linear-gradient(90deg, rgba(4,20,39,.22), rgba(4,20,39,.93) 78%); }
    .service-grid { grid-template-columns: repeat(2, 1fr); }
    .process-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 0; }
    .process-grid li:nth-child(2) { border-left: 0; }
    .about__grid, .quote__grid, .faq__grid { grid-template-columns: 1fr; gap: 55px; }
    .about__grid { max-width: 760px; }
    .quote__content { max-width: 650px; }
    .faq .section-heading { margin-bottom: 0; }
    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
    .footer-grid > div:last-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
    body { padding-bottom: 62px; }
    .container { width: min(100% - 28px, var(--container)); }
    .topbar p { display: none; }
    .topbar__inner { justify-content: center; }
    .nav-wrap { height: 74px; }
    .brand__mark { width: 42px; height: 42px; border-radius: 12px; }
    .brand__mark svg { width: 30px; }
    .brand strong { font-size: 1.08rem; }
    .main-nav { top: 114px; }
    .hero, .hero__content { min-height: 690px; }
    .hero__image { background-position: 32% center; }
    .hero__overlay { background: linear-gradient(180deg, rgba(4,20,39,.28), rgba(4,20,39,.96) 65%); }
    .hero__content { align-items: flex-end; }
    .hero__copy { width: 100%; padding: 70px 0 50px; }
    .hero h1 { font-size: 2.75rem; }
    .hero__copy > p { font-size: .98rem; }
    .hero__actions { flex-direction: column; }
    .hero__actions .btn { width: 100%; }
    .hero__trust { gap: 9px; font-size: .78rem; }
    .quick-contact__inner { min-height: 120px; flex-direction: column; justify-content: center; gap: 8px; padding-block: 18px; text-align: center; }
    .quick-contact__inner > div { flex-direction: column; gap: 6px; }
    .quick-contact__icon { display: none; }
    .section { padding: 78px 0; }
    .section-heading { margin-bottom: 35px; }
    .service-grid, .form-row, .feature-list, .process-grid { grid-template-columns: 1fr; }
    .service-card { min-height: auto; }
    .process-grid { gap: 30px; }
    .process-grid li { padding: 0 !important; border-left: 0; }
    .process-grid li > span { width: 44px; height: 44px; margin-bottom: 15px; }
    .about__visual::before { inset: 18px -9px -13px 17px; }
    .about__badge { left: -7px; bottom: 15px; }
    .form-card { padding: 24px 18px; }
    .quote__grid { gap: 40px; }
    .final-cta__inner, .final-cta__inner > div:last-child, .footer-bottom { flex-direction: column; align-items: stretch; text-align: center; }
    .final-cta__inner > div:last-child .btn { width: 100%; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 38px 25px; }
    .footer-grid > div:first-child { grid-column: 1 / -1; }
    .footer-grid > div:last-child { grid-column: auto; }
    .footer-bottom { justify-content: center; padding-block: 18px; gap: 4px; }
    .mobile-bar { position: fixed; z-index: 200; right: 0; bottom: 0; left: 0; height: 62px; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--navy-950); box-shadow: 0 -8px 25px rgba(4,20,39,.18); }
    .mobile-bar a { display: grid; place-items: center; color: var(--white); border-left: 1px solid rgba(255,255,255,.12); font-size: .82rem; font-weight: 800; }
    .mobile-bar a:nth-child(2) { background: #168c5b; }
    .mobile-bar a:last-child { color: var(--navy-950); background: var(--gold-500); border-left: 0; }
}

/* Articles and SEO content */
.home-articles { background: #f7f8fa; }
.article-heading { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.article-heading > div { max-width: 650px; }
.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.article-grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.article-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 12px 32px rgba(4,20,39,.06); transition: transform .25s ease, box-shadow .25s ease; }
.article-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.article-card__image { display: block; overflow: hidden; aspect-ratio: 16 / 9; background: #e7ebef; }
.article-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.article-card:hover .article-card__image img { transform: scale(1.035); }
.article-card__body { padding: 24px; }
.article-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 13px; color: var(--muted); font-size: .75rem; }
.article-meta span { padding: 3px 8px; border-radius: 99px; color: #a64f3a; background: var(--gold-100); font-weight: 800; }
.article-card h2, .article-card h3 { margin: 0 0 10px; color: var(--navy-900); font-size: 1.16rem; line-height: 1.55; }
.article-card h2 a, .article-card h3 a { transition: color .2s; }
.article-card h2 a:hover, .article-card h3 a:hover { color: #9b6c00; }
.article-card p { display: -webkit-box; margin: 0 0 18px; overflow: hidden; color: var(--muted); font-size: .88rem; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.article-card__link { color: var(--navy-800); font-size: .86rem; font-weight: 900; }
.article-card__link span { color: var(--gold-500); }

.archive-hero { padding: 78px 0 84px; color: var(--white); background: radial-gradient(circle at 18% 20%, rgba(215,169,54,.16), transparent 31%), linear-gradient(135deg, var(--navy-950), var(--navy-800)); }
.archive-hero h1 { margin: 11px 0 15px; max-width: 720px; color: var(--white); font-size: clamp(2.5rem, 5vw, 4.7rem); line-height: 1.2; letter-spacing: -.04em; text-wrap: balance; }
.archive-hero h1 em { color: var(--gold-400); font-style: normal; }
.archive-hero p { max-width: 650px; margin: 0; color: #c4d0db; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 26px; color: #aebdca; font-size: .78rem; }
.breadcrumbs a:hover { color: var(--gold-400); }
.article-archive { min-height: 520px; background: var(--sand-50); }
.category-filter { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 36px; }
.category-filter a { padding: 8px 15px; border: 1px solid var(--line); border-radius: 99px; background: var(--white); color: #526174; font-size: .82rem; font-weight: 800; }
.category-filter a.is-active, .category-filter a:hover { border-color: var(--navy-900); color: var(--white); background: var(--navy-900); }
.article-grid--archive { max-width: 1000px; margin-inline: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pagination { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 42px; }
.pagination a { padding: 8px 15px; border-radius: 8px; background: var(--navy-900); color: var(--white); font-weight: 800; }
.pagination span { color: var(--muted); font-size: .85rem; }
.empty-state { padding: 65px 25px; border: 1px dashed #ccd3dc; border-radius: var(--radius); text-align: center; }
.empty-state h2 { color: var(--navy-900); }
.empty-state p { color: var(--muted); }

.article-header { padding: 58px 0 95px; color: var(--white); background: linear-gradient(135deg, var(--navy-950), var(--navy-800)); }
.article-header__inner { max-width: 930px; }
.article-category { display: inline-block; padding: 5px 10px; border-radius: 99px; color: var(--navy-950); background: var(--gold-400); font-size: .76rem; font-weight: 900; }
.article-header h1 { margin: 18px 0 15px; color: var(--white); font-size: clamp(2.25rem, 5vw, 4rem); line-height: 1.25; letter-spacing: -.035em; text-wrap: balance; }
.article-header__inner > p { max-width: 760px; margin: 0; color: #c5d1dc; font-size: 1.02rem; }
.article-byline { display: flex; flex-wrap: wrap; gap: 9px 25px; margin-top: 27px; color: #aab9c7; font-size: .8rem; }
.article-byline > * { position: relative; }
.article-byline > *:not(:last-child)::after { content: ""; position: absolute; left: -14px; top: 50%; width: 4px; height: 4px; border-radius: 50%; background: var(--gold-500); }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 55px; align-items: start; padding-bottom: 100px; }
.article-main { min-width: 0; }
.article-cover { margin: -55px 0 50px; overflow: hidden; border: 7px solid var(--white); border-radius: var(--radius); background: #e7ebef; box-shadow: var(--shadow); }
.article-cover img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.article-content { max-width: 780px; color: #34475c; font-size: 1.02rem; line-height: 2; }
.article-content p { margin: 0 0 25px; }
.article-content h2 { margin: 45px 0 15px; color: var(--navy-900); font-size: 1.65rem; line-height: 1.45; }
.article-content h3 { margin: 34px 0 12px; color: var(--navy-800); font-size: 1.25rem; }
.article-content ul { margin: 5px 0 28px; padding-right: 23px; }
.article-content li { margin-bottom: 8px; padding-right: 6px; }
.article-content li::marker { color: var(--gold-500); }
.article-sidebar { position: sticky; top: 105px; padding-top: 35px; }
.article-sidebar > div { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 24px; border: 1px solid var(--line); border-radius: 15px; background: var(--sand-50); }
.article-sidebar h2 { margin: 0 0 7px; color: var(--navy-900); font-size: 1.05rem; }
.article-sidebar a { display: block; width: 100%; padding: 12px 0; border-bottom: 1px solid var(--line); color: #526174; font-size: .86rem; line-height: 1.7; }
.article-sidebar a:last-child { padding-bottom: 0; border-bottom: 0; }
.article-sidebar a:hover { color: #976a00; }
.article-inline-cta { margin-top: 50px; padding: 30px; border-right: 5px solid var(--gold-500); border-radius: 12px; background: var(--navy-900); color: var(--white); }
.article-inline-cta h2 { margin: 0 0 7px; color: var(--white); font-size: 1.4rem; }
.article-inline-cta p { margin: 0 0 20px; color: #c5d1dc; }
.not-found { min-height: 62vh; display: grid; place-items: center; padding: 80px 0; text-align: center; }
.not-found span { color: var(--gold-500); font-size: 4rem; font-weight: 900; }
.not-found h1 { margin: 0; color: var(--navy-900); font-size: 2.4rem; }
.not-found p { color: var(--muted); }

@media (max-width: 960px) {
    .article-grid, .article-grid--archive, .article-grid--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .article-layout { grid-template-columns: minmax(0, 1fr); }
    .article-sidebar { position: static; padding-top: 0; }
    .article-sidebar > div { display: grid; grid-template-columns: repeat(2, 1fr); }
    .article-sidebar h2 { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
    .article-heading { align-items: flex-start; flex-direction: column; }
    .article-grid, .article-grid--archive, .article-grid--four { grid-template-columns: 1fr; }
    .archive-hero { padding: 58px 0 64px; }
    .article-archive { padding-top: 58px; }
    .category-filter { flex-wrap: nowrap; margin-left: -14px; padding-left: 14px; overflow-x: auto; scrollbar-width: none; }
    .category-filter a { flex: 0 0 auto; }
    .article-header { padding: 44px 0 78px; }
    .article-header h1 { font-size: 2.2rem; }
    .article-layout { gap: 32px; padding-bottom: 75px; }
    .article-cover { margin-top: -42px; margin-bottom: 35px; border-width: 4px; }
    .article-content { font-size: .97rem; }
    .article-content h2 { font-size: 1.4rem; }
    .article-byline > *:not(:last-child)::after { display: none; }
    .article-inline-cta { padding: 24px 19px; }
    .article-sidebar > div { grid-template-columns: 1fr; }
    .article-sidebar h2 { grid-column: auto; }
}

/* WordPress and Elementor compatibility */
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { z-index: 100000; top: 10px; right: 10px; width: auto; height: auto; padding: 10px 16px; clip: auto; background: var(--white); color: var(--navy-900); }
.site-main { min-height: 55vh; }
.content-page { padding: 78px 0 100px; }
.content-page__inner { max-width: 860px; }
.entry-title { margin: 0 0 28px; color: var(--navy-900); font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.25; }
.entry-content { color: #344f53; font-size: 1rem; line-height: 2; }
.entry-content h2, .entry-content h3 { color: var(--navy-900); line-height: 1.45; }
.entry-content img { height: auto; border-radius: var(--radius-sm); }
.post-navigation { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 55px; }
.post-navigation > a { min-width: 0; min-height: 122px; display: flex; flex-direction: column; justify-content: center; gap: 7px; padding: 20px 22px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--navy-800); background: var(--sand-50); overflow-wrap: anywhere; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.post-navigation > a:hover { transform: translateY(-3px); border-color: rgba(240,138,107,.65); box-shadow: 0 14px 32px rgba(7,63,67,.09); }
.post-navigation > a:only-child { grid-column: 1 / -1; }
.post-navigation span { color: #a64f3a; font-size: .76rem; font-weight: 900; }
.post-navigation strong { color: var(--navy-900); font-size: .95rem; line-height: 1.75; }
.post-nav-card--next { text-align: left; }
.article-cover--fallback { background: var(--navy-900); }
.article-cover--fallback img { opacity: .9; }
.article-content a:not(.btn) { color: var(--navy-800); text-decoration: underline; text-decoration-color: var(--gold-500); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.article-content .article-inline-cta a { text-decoration: none; }
.edit-link { display: inline-block; margin-top: 25px; color: var(--navy-800); font-weight: 800; }
.admin-bar .site-header { top: 32px; }
.elementor-page .content-page { padding: 0; }
.elementor-page .content-page__inner { max-width: none; width: 100%; }
.elementor-page .entry-title { display: none; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 640px) {
    .post-navigation { grid-template-columns: 1fr; }
    .post-navigation > a, .post-navigation > a:only-child { grid-column: auto; min-height: 0; }
    .post-nav-card--next { text-align: right; }
}
