/*
Theme Name: Milbet Nexus
Theme URI: https://milbet.info/
Author: R Plus
Description: Arabic MELBET agents directory with a distinctive dark editorial interface.
Version: 1.0.0
Text Domain: milbet-nexus
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
WPVibe: yes
*/

:root{
    --bg:#061019;
    --bg-2:#091722;
    --panel:#0d1d2a;
    --panel-2:#102638;
    --line:rgba(255,255,255,.10);
    --line-strong:rgba(255,255,255,.18);
    --text:#f4f7fb;
    --muted:#93a8ba;
    --orange:#ffad16;
    --orange-2:#ff7a18;
    --cyan:#22d3ee;
    --green:#24d366;
    --blue:#2aabee;
    --shadow:0 24px 70px rgba(0,0,0,.35);
    --radius:24px;
    --container:1180px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
    margin:0;
    background:
        radial-gradient(circle at 85% 10%,rgba(34,211,238,.10),transparent 28%),
        radial-gradient(circle at 15% 20%,rgba(255,173,22,.09),transparent 26%),
        var(--bg);
    color:var(--text);
    font-family:"Tajawal",sans-serif;
    font-size:17px;
    line-height:1.8;
    overflow-x:hidden;
}
body:before{
    content:"";
    position:fixed;
    inset:0;
    pointer-events:none;
    opacity:.25;
    background-image:
        linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),
        linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);
    background-size:44px 44px;
    mask-image:linear-gradient(to bottom,#000,transparent 80%);
    z-index:-1;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto;display:block}
svg{width:1.15em;height:1.15em;display:block}
button,input,textarea,select{font:inherit}
.container{width:min(var(--container),calc(100% - 40px));margin-inline:auto}
.site-main{min-height:60vh}

.signal-bar{border-bottom:1px solid var(--line);background:#03090e;color:var(--muted);font-size:13px}
.signal-bar__inner{min-height:34px;display:flex;align-items:center;justify-content:center;gap:9px}
.signal-bar a{color:var(--cyan);font-weight:700}
.signal-dot{width:8px;height:8px;border-radius:50%;background:var(--cyan);box-shadow:0 0 0 5px rgba(34,211,238,.08),0 0 18px rgba(34,211,238,.8);display:inline-block}

.site-header{position:sticky;top:0;z-index:50;backdrop-filter:blur(18px);background:rgba(6,16,25,.74);border-bottom:1px solid transparent;transition:.25s ease}
.site-header.is-scrolled{border-color:var(--line);background:rgba(6,16,25,.94)}
.header-grid{min-height:82px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:34px}
.brand{display:inline-flex;align-items:center;gap:11px;width:max-content}
.brand-mark{width:44px;height:44px;border-radius:13px;display:grid;place-items:center;font-family:"Changa",sans-serif;font-weight:800;font-size:24px;background:linear-gradient(145deg,var(--orange),var(--orange-2));color:#091018;box-shadow:0 10px 26px rgba(255,173,22,.18)}
.brand-copy{display:grid;line-height:1.1}
.brand-copy strong{font-family:"Changa",sans-serif;letter-spacing:.5px;font-size:18px}
.brand-copy strong span{color:var(--orange)}
.brand-copy small{font-size:11px;color:var(--muted);margin-top:4px}
.desktop-nav{display:flex;align-items:center;justify-content:center;gap:28px}
.desktop-nav a{font-size:14px;font-weight:700;color:#c9d5de;position:relative}
.desktop-nav a:after{content:"";position:absolute;right:0;left:100%;bottom:-10px;height:2px;background:var(--orange);transition:.25s}
.desktop-nav a:hover{color:#fff}
.desktop-nav a:hover:after{left:0}
.header-cta{display:inline-flex;align-items:center;gap:8px;padding:10px 15px;border:1px solid rgba(42,171,238,.32);border-radius:13px;color:#dff5ff;background:rgba(42,171,238,.08);font-size:14px;font-weight:700}
.header-cta:hover{background:rgba(42,171,238,.15)}
.menu-toggle{display:none;background:none;border:0;width:42px;height:42px;padding:9px;cursor:pointer}
.menu-toggle span{display:block;height:2px;background:#fff;margin:5px 0;border-radius:10px}
.mobile-nav{display:none}

.hero{padding:78px 0 72px;position:relative;overflow:hidden}
.hero:after{content:"";position:absolute;width:560px;height:560px;border-radius:50%;left:-260px;top:40px;border:1px solid rgba(34,211,238,.12);box-shadow:0 0 0 70px rgba(34,211,238,.02),0 0 0 140px rgba(34,211,238,.015);pointer-events:none}
.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:74px;align-items:center}
.eyebrow{display:inline-flex;align-items:center;gap:10px;color:var(--orange);font-size:13px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.hero h1,.section-head h2,.faq-intro h2,.footer-cta h2,.agent-hero h1,.content-card h1,.article-head h1{font-family:"Changa",sans-serif;line-height:1.25;margin:14px 0 18px}
.hero h1{font-size:clamp(46px,6vw,78px);letter-spacing:-2px;max-width:720px}
.hero h1 span{color:var(--orange)}
.hero-copy>p{color:var(--muted);font-size:19px;max-width:670px;margin:0 0 30px}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.btn{min-height:48px;padding:0 18px;border-radius:14px;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-size:14px;font-weight:800;border:1px solid transparent;transition:.22s ease}
.btn:hover{transform:translateY(-2px)}
.btn--primary{background:linear-gradient(135deg,var(--orange),var(--orange-2));color:#081019;box-shadow:0 14px 38px rgba(255,139,24,.18)}
.btn--ghost{background:rgba(255,255,255,.04);border-color:var(--line);color:#fff}
.btn--whatsapp{background:rgba(36,211,102,.12);border-color:rgba(36,211,102,.35);color:#bfffd5}
.btn--telegram{background:rgba(42,171,238,.12);border-color:rgba(42,171,238,.35);color:#d7f2ff}
.btn--whatsapp:hover{background:rgba(36,211,102,.2)}
.btn--telegram:hover{background:rgba(42,171,238,.2)}
.hero-metrics{display:flex;gap:34px;margin-top:40px}
.hero-metrics div{display:grid}
.hero-metrics strong{font-family:"Changa",sans-serif;font-size:28px;line-height:1;color:#fff}
.hero-metrics span{font-size:12px;color:var(--muted);margin-top:8px}

.hero-panel{position:relative;min-height:520px;border-radius:36px;padding:28px;border:1px solid var(--line-strong);background:linear-gradient(160deg,rgba(255,255,255,.08),rgba(255,255,255,.02)),var(--panel);box-shadow:var(--shadow);overflow:hidden}
.hero-panel:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 50% 45%,rgba(255,173,22,.16),transparent 26%),radial-gradient(circle at 50% 45%,rgba(34,211,238,.08),transparent 48%)}
.hero-panel__head{position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:11px}
.hero-panel__head span{letter-spacing:.18em;color:var(--cyan)}
.hero-stack{position:absolute;inset:auto 26px 26px;z-index:3;display:grid;gap:10px}
.hero-stack__item{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:13px 14px;border:1px solid var(--line);border-radius:16px;background:rgba(4,12,18,.76);backdrop-filter:blur(8px)}
.hero-stack__item:hover{border-color:rgba(255,173,22,.4);transform:translateX(-4px)}
.hero-stack__item .rank{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:rgba(255,173,22,.1);color:var(--orange);font-weight:800}
.hero-stack__item div{display:grid}
.hero-stack__item strong{font-family:"Changa",sans-serif;font-size:14px}
.hero-stack__item small{color:var(--muted);direction:ltr;text-align:right}
.hero-stack__item svg{color:var(--muted)}
.hero-orbit{position:absolute;width:270px;height:270px;right:50%;top:47%;transform:translate(50%,-50%);display:grid;place-items:center}
.hero-orbit strong{position:relative;z-index:3;width:86px;height:86px;border-radius:26px;display:grid;place-items:center;color:#091018;background:linear-gradient(145deg,var(--orange),var(--orange-2));font-family:"Changa",sans-serif;font-size:48px;box-shadow:0 0 60px rgba(255,173,22,.28)}
.orbit{position:absolute;border:1px solid rgba(255,255,255,.14);border-radius:50%;animation:spin 14s linear infinite}
.orbit:after{content:"";position:absolute;width:8px;height:8px;border-radius:50%;background:var(--cyan);top:10%;left:14%;box-shadow:0 0 15px var(--cyan)}
.orbit--1{inset:0}
.orbit--2{inset:28px;animation-duration:10s;animation-direction:reverse}
.orbit--3{inset:62px;animation-duration:8s}
@keyframes spin{to{transform:rotate(360deg)}}

.agents-section{padding:94px 0;background:#f3f6f8;color:#10202d}
.section-head{display:flex;align-items:end;justify-content:space-between;gap:34px;margin-bottom:34px}
.section-head h2,.faq-intro h2{font-size:clamp(34px,4vw,50px);margin-bottom:0;color:#0c1a25}
.section-head p{max-width:500px;color:#627583;margin:0}
.agents-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.agent-card{background:#fff;border:1px solid #dfe7ed;border-radius:24px;overflow:hidden;box-shadow:0 18px 44px rgba(10,36,52,.08);transition:.25s ease}
.agent-card:hover{transform:translateY(-5px);box-shadow:0 26px 60px rgba(10,36,52,.13)}
.agent-card--featured{grid-column:span 2;display:grid;grid-template-columns:1.15fr .85fr}
.agent-card__media{position:relative;display:block;aspect-ratio:4/3;background:#0b1720;overflow:hidden}
.agent-card--featured .agent-card__media{aspect-ratio:auto;min-height:430px}
.agent-card__media img{width:100%;height:100%;object-fit:cover;transition:.35s ease}
.agent-card:hover .agent-card__media img{transform:scale(1.035)}
.agent-placeholder{width:100%;height:100%;min-height:250px;display:grid;place-items:center;background:radial-gradient(circle at 70% 30%,rgba(34,211,238,.24),transparent 28%),radial-gradient(circle at 25% 75%,rgba(255,173,22,.25),transparent 30%),#0c1c29}
.agent-placeholder span{font-family:"Changa",sans-serif;font-size:80px;color:rgba(255,255,255,.92)}
.agent-rank{position:absolute;right:14px;top:14px;padding:7px 10px;border-radius:10px;background:rgba(5,14,20,.8);color:#fff;font-family:"Changa",sans-serif;font-size:12px;border:1px solid rgba(255,255,255,.16);backdrop-filter:blur(7px)}
.agent-badge{position:absolute;left:14px;bottom:14px;background:var(--orange);color:#0c1820;padding:7px 10px;border-radius:10px;font-size:11px;font-weight:800}
.agent-card__body{padding:20px}
.agent-card--featured .agent-card__body{display:flex;flex-direction:column;justify-content:center;padding:32px}
.agent-title-row{display:flex;align-items:center;justify-content:space-between;gap:14px}
.agent-title-row small{color:#7e909d;font-size:12px}
.agent-title-row h3{font-family:"Changa",sans-serif;font-size:22px;line-height:1.2;margin:3px 0 0}
.agent-card--featured .agent-title-row h3{font-size:31px}
.phone-chip{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:#eef3f6;color:#375064}
.agent-phone{direction:ltr;text-align:right;font-size:17px;font-weight:800;letter-spacing:.06em;color:#445865;margin:16px 0}
.agent-card--featured .agent-phone{font-size:22px}
.agent-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.agent-card--featured .agent-actions{margin-top:10px}
.center-action{text-align:center;margin-top:36px}
.text-link{display:inline-flex;align-items:center;gap:8px;color:#0d344c;font-weight:800;border-bottom:1px solid #aac0ce;padding-bottom:4px}
.text-link svg{transition:.2s}
.text-link:hover svg{transform:translateX(-4px)}

.process-section{padding:96px 0;background:#07121b;color:#fff;position:relative;overflow:hidden}
.process-section:before{content:"";position:absolute;inset:0;background:linear-gradient(120deg,rgba(34,211,238,.05),transparent 40%,rgba(255,173,22,.05))}
.section-head--light h2{color:#fff}
.process-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;position:relative}
.process-grid article{padding:30px;border:1px solid var(--line);border-radius:22px;background:rgba(255,255,255,.03);min-height:220px}
.process-grid article>span{display:inline-grid;place-items:center;width:44px;height:44px;border-radius:14px;background:rgba(255,173,22,.1);color:var(--orange);font-family:"Changa",sans-serif;font-weight:700}
.process-grid h3{font-family:"Changa",sans-serif;font-size:22px;margin:34px 0 8px}
.process-grid p{color:var(--muted);margin:0}

.faq-preview{padding:96px 0;background:#f3f6f8;color:#10202d}
.faq-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:70px;align-items:start}
.faq-intro{position:sticky;top:120px}
.faq-intro p{color:#627583;margin:0 0 25px}
.faq-list{display:grid;gap:12px}
.faq-list details{background:#fff;border:1px solid #dfe7ed;border-radius:18px;padding:0 20px;box-shadow:0 10px 30px rgba(10,36,52,.05)}
.faq-list summary{cursor:pointer;list-style:none;padding:19px 0;font-family:"Changa",sans-serif;font-weight:700}
.faq-list summary::-webkit-details-marker{display:none}
.faq-list summary:before{content:"+";float:left;width:30px;height:30px;border-radius:9px;display:grid;place-items:center;background:#eef3f6;color:#304d60}
.faq-list details[open] summary:before{content:"–";background:#fff2d7;color:#9a6200}
.faq-list details p{color:#657987;margin:0;padding:0 0 20px}

.latest-section{padding:90px 0;background:#ecf1f4;color:#10202d}
.posts-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.post-card{background:#fff;border-radius:22px;border:1px solid #dce5eb;overflow:hidden}
.post-card__media{display:block;aspect-ratio:16/10;background:#0c1c29;overflow:hidden}
.post-card__media img{width:100%;height:100%;object-fit:cover}
.post-placeholder{height:100%;display:grid;place-items:center;color:rgba(255,255,255,.7);font-family:"Changa",sans-serif;background:linear-gradient(135deg,#0c1c29,#12344b)}
.post-card__body{padding:20px}
.post-card__body>span{font-size:12px;color:#7f909b}
.post-card h2,.post-card h3{font-family:"Changa",sans-serif;line-height:1.35;margin:8px 0 10px}
.post-card h2{font-size:23px}
.post-card h3{font-size:20px}
.post-card p{color:#657987;margin:0}

.site-footer{background:#03090e;border-top:1px solid var(--line)}
.footer-cta{padding:54px 0;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:30px}
.footer-cta h2{font-size:32px;margin:8px 0 0}
.footer-grid{display:grid;grid-template-columns:1.3fr .7fr .8fr;gap:70px;padding:56px 0}
.brand--footer{margin-bottom:18px}
.footer-brand p,.footer-contact{color:var(--muted);max-width:430px}
.site-footer h3{font-family:"Changa",sans-serif;font-size:16px;margin:0 0 16px}
.footer-links{list-style:none;margin:0;padding:0;display:grid;gap:9px}
.footer-links a{color:#a9bac6}
.footer-links a:hover{color:#fff}
.footer-handle{color:var(--cyan);font-weight:800;font-size:18px}
.footer-bottom{border-top:1px solid var(--line);padding:18px 0 26px;display:flex;justify-content:space-between;gap:20px;color:#718391;font-size:12px}
.footer-bottom p{margin:0}

.agent-hero{padding:70px 0 80px;background:radial-gradient(circle at 80% 20%,rgba(255,173,22,.11),transparent 25%),radial-gradient(circle at 15% 75%,rgba(34,211,238,.08),transparent 28%)}
.agent-hero__grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:64px;align-items:center}
.agent-hero__media{position:relative;border-radius:30px;overflow:hidden;border:1px solid var(--line-strong);background:var(--panel);box-shadow:var(--shadow);aspect-ratio:1/1}
.agent-hero__media img{width:100%;height:100%;object-fit:cover}
.agent-placeholder--large{min-height:100%}
.agent-rank--large{font-size:15px;padding:9px 13px}
.agent-hero h1{font-size:clamp(44px,6vw,72px);margin-bottom:4px}
.agent-arabic-name{color:var(--orange)!important;font-family:"Changa",sans-serif;font-size:21px!important;margin-top:0!important}
.agent-hero__content>p{color:var(--muted);max-width:650px;font-size:18px}
.contact-number{margin:28px 0;display:inline-grid;padding:16px 22px;border-radius:18px;border:1px solid var(--line);background:rgba(255,255,255,.04)}
.contact-number small{color:var(--muted)}
.contact-number a{direction:ltr;text-align:right;font-size:28px;font-weight:800;letter-spacing:.06em}
.agent-details{padding:90px 0;background:#f3f6f8;color:#10202d}
.agent-details__grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:22px}
.info-panel,.content-panel{background:#fff;border:1px solid #dce5eb;border-radius:24px;padding:30px}
.info-panel h2,.content-panel h2{font-family:"Changa",sans-serif;font-size:30px;margin:8px 0 24px}
.info-rows{display:grid}
.info-rows div{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 0;border-bottom:1px solid #e8eef2}
.info-rows div:last-child{border-bottom:0}
.info-rows span{color:#748895}
.info-rows strong{direction:ltr;text-align:right}
.prose{color:#425966}
.prose p{margin:0 0 18px}
.prose h2,.prose h3,.prose h4{font-family:"Changa",sans-serif;color:#122431;line-height:1.4;margin-top:32px}
.prose a{color:#0b7598;text-decoration:underline}
.process-section--agent{padding-top:76px;padding-bottom:76px}
.other-agents{padding:82px 0;background:#f3f6f8;color:#10202d}
.mini-agents{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.mini-agents a{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:16px;border:1px solid #dbe5ea;background:#fff;border-radius:16px}
.mini-agents a:hover{border-color:#afc5d1;transform:translateY(-2px)}
.mini-agents span{color:#9a6b11;font-weight:800}
.mini-agents strong{font-family:"Changa",sans-serif}
.mini-agents svg{color:#8196a3}

.content-page,.single-article{padding:70px 0 90px;background:#f3f6f8;color:#10202d;min-height:65vh}
.content-card,.article-card{background:#fff;border:1px solid #dce5eb;border-radius:26px;padding:clamp(26px,5vw,58px);box-shadow:0 20px 60px rgba(10,36,52,.06)}
.content-card__head{padding-bottom:22px;border-bottom:1px solid #e4ebef;margin-bottom:28px}
.content-card h1,.article-head h1{font-size:clamp(38px,5vw,58px);color:#10202d}
.single-article__grid{display:grid;grid-template-columns:1fr 300px;gap:24px;align-items:start}
.article-cover{border-radius:20px;overflow:hidden;margin:22px 0 30px}
.article-side{position:sticky;top:120px;background:#091722;color:#fff;border-radius:22px;padding:22px;border:1px solid var(--line)}
.article-side h2{font-family:"Changa",sans-serif;font-size:22px;margin:8px 0 18px}
.side-agent{display:grid;grid-template-columns:auto 1fr;gap:10px;padding:10px 0;border-bottom:1px solid var(--line)}
.side-agent span{color:var(--orange);font-size:12px}
.empty-state{grid-column:1/-1;padding:44px;border-radius:22px;background:#fff;border:1px solid #dce5eb;text-align:center}

.not-found{padding:100px 0;min-height:70vh;display:grid;align-items:center}
.not-found__card{max-width:760px;margin:auto;text-align:center;padding:50px;border:1px solid var(--line);border-radius:30px;background:rgba(255,255,255,.03)}
.not-found__card>span{font-family:"Changa",sans-serif;font-size:100px;line-height:1;color:var(--orange)}
.not-found__card h1{font-family:"Changa",sans-serif;font-size:40px;margin:10px 0}
.not-found__card p{color:var(--muted)}
.not-found__card .hero-actions{justify-content:center;margin-top:24px}

@media (max-width:1020px){
    .desktop-nav{display:none}
    .header-grid{grid-template-columns:1fr auto auto}
    .menu-toggle{display:block}
    .mobile-nav{display:grid;position:absolute;top:100%;right:20px;left:20px;padding:12px;border:1px solid var(--line);border-radius:18px;background:rgba(5,13,20,.97);box-shadow:var(--shadow);opacity:0;visibility:hidden;transform:translateY(-8px);transition:.2s}
    .mobile-nav.is-open{opacity:1;visibility:visible;transform:none}
    .mobile-nav a{padding:12px;border-bottom:1px solid var(--line);font-weight:700}
    .mobile-nav a:last-child{border-bottom:0}
    .hero-grid{grid-template-columns:1fr;gap:42px}
    .hero-panel{min-height:470px}
    .agents-grid{grid-template-columns:repeat(2,1fr)}
    .agent-card--featured{grid-column:span 2}
    .faq-grid{grid-template-columns:1fr;gap:40px}
    .faq-intro{position:static}
    .posts-grid{grid-template-columns:repeat(2,1fr)}
    .footer-grid{grid-template-columns:1fr 1fr}
    .footer-brand{grid-column:1/-1}
    .agent-hero__grid,.agent-details__grid{grid-template-columns:1fr}
    .agent-hero__media{max-width:620px;width:100%;margin:auto}
    .single-article__grid{grid-template-columns:1fr}
    .article-side{position:static}
}
@media (max-width:720px){
    body{font-size:16px}
    .container{width:min(100% - 28px,var(--container))}
    .signal-bar__inner{justify-content:flex-start;overflow:hidden;white-space:nowrap}
    .header-grid{min-height:70px;gap:12px}
    .brand-copy small{display:none}
    .brand-mark{width:40px;height:40px;border-radius:12px}
    .header-cta{display:none}
    .hero{padding:52px 0 48px}
    .hero h1{font-size:44px;letter-spacing:-1px}
    .hero-copy>p{font-size:17px}
    .hero-actions .btn{flex:1}
    .hero-metrics{gap:18px;justify-content:space-between}
    .hero-panel{min-height:430px;padding:18px;border-radius:26px}
    .hero-stack{inset:auto 16px 16px}
    .hero-orbit{width:220px;height:220px}
    .hero-orbit strong{width:72px;height:72px;font-size:40px}
    .agents-section,.process-section,.faq-preview,.latest-section,.agent-details,.other-agents{padding:64px 0}
    .section-head{display:block;margin-bottom:26px}
    .section-head h2,.faq-intro h2{font-size:34px}
    .section-head p{margin-top:10px}
    .agents-grid{grid-template-columns:1fr}
    .agent-card--featured{grid-column:auto;display:block}
    .agent-card--featured .agent-card__media{min-height:0;aspect-ratio:4/3}
    .agent-card--featured .agent-card__body{padding:20px}
    .agent-card--featured .agent-title-row h3{font-size:22px}
    .agent-card--featured .agent-phone{font-size:17px}
    .process-grid,.posts-grid,.mini-agents{grid-template-columns:1fr}
    .process-grid article{min-height:0}
    .footer-cta{display:block}
    .footer-cta .btn{margin-top:18px;width:100%}
    .footer-grid{grid-template-columns:1fr;gap:34px}
    .footer-brand{grid-column:auto}
    .footer-bottom{display:block;text-align:center}
    .footer-bottom p+p{margin-top:6px}
    .agent-hero{padding:44px 0 54px}
    .agent-hero__grid{gap:30px}
    .agent-hero h1{font-size:42px}
    .contact-number{width:100%}
    .agent-hero .hero-actions .btn{width:100%;flex-basis:100%}
    .info-panel,.content-panel{padding:22px}
    .content-page,.single-article{padding:44px 0 64px}
    .content-card,.article-card{border-radius:20px}
}
/* ===== Premium Agents Redesign ===== */
.site-header{
    background:rgba(4,10,15,.94);
    border-bottom:1px solid rgba(255,168,0,.16);
    box-shadow:0 10px 36px rgba(0,0,0,.24);
}
.header-grid{min-height:76px}
.brand-mark{
    background:linear-gradient(145deg,#ffb000,#ff7b00);
    box-shadow:0 8px 26px rgba(255,145,0,.22);
}
.brand-copy strong span{color:#ffad12}
.desktop-nav a{color:#cbd5dc}
.desktop-nav a:hover{color:#fff}
.header-cta{
    border-color:rgba(42,171,238,.34);
    background:rgba(42,171,238,.10);
    color:#e8f8ff;
}

.agents-section{
    position:relative;
    padding:88px 0 96px;
    background:
        radial-gradient(circle at 90% 0%,rgba(255,169,18,.08),transparent 24%),
        radial-gradient(circle at 8% 100%,rgba(32,180,255,.06),transparent 26%),
        #071018;
    color:#fff;
    overflow:hidden;
}
.agents-section:before{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    background-image:
        linear-gradient(rgba(255,255,255,.018) 1px,transparent 1px),
        linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px);
    background-size:36px 36px;
}
.agents-section .container{position:relative;z-index:1}
.agents-section .section-head{
    align-items:center;
    margin-bottom:30px;
    padding-bottom:24px;
    border-bottom:1px solid rgba(255,255,255,.08);
}
.agents-section .section-head h2{
    color:#fff;
    margin-top:8px;
    font-size:clamp(34px,4vw,48px);
}
.agents-section .section-head p{
    color:#91a4b2;
    max-width:470px;
    font-size:15px;
}
.agents-section .eyebrow{
    color:#ffb21c;
    letter-spacing:.03em;
}

.agents-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:18px;
}
.agent-card,
.agent-card--featured{
    display:block;
    grid-column:auto;
    min-width:0;
    overflow:hidden;
    border-radius:20px;
    border:1px solid rgba(255,255,255,.09);
    background:linear-gradient(180deg,#0d1a24 0%,#0a151e 100%);
    box-shadow:0 18px 45px rgba(0,0,0,.22);
    transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease;
}
.agent-card:hover{
    transform:translateY(-4px);
    border-color:rgba(255,177,25,.34);
    box-shadow:0 24px 54px rgba(0,0,0,.32);
}
.agent-card__media,
.agent-card--featured .agent-card__media{
    position:relative;
    display:block;
    height:225px;
    min-height:225px;
    aspect-ratio:auto;
    padding:10px;
    overflow:hidden;
    background:
        radial-gradient(circle at 50% 25%,rgba(255,171,15,.08),transparent 36%),
        #050b10;
}
.agent-card__media:after{
    content:"";
    position:absolute;
    left:10px;
    right:10px;
    bottom:10px;
    height:34%;
    border-radius:0 0 14px 14px;
    background:linear-gradient(to top,rgba(2,8,12,.58),transparent);
    pointer-events:none;
}
.agent-card__media img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
    border-radius:14px;
    transition:transform .35s ease,filter .35s ease;
}
.agent-card:hover .agent-card__media img{transform:scale(1.025)}
#king-melbet .agent-card__media img,
#gefara-cash .agent-card__media img{
    transform:scale(1.48);
}
#king-melbet:hover .agent-card__media img,
#gefara-cash:hover .agent-card__media img{
    transform:scale(1.54);
}
.agent-rank{
    top:20px;
    right:20px;
    z-index:3;
    padding:5px 9px;
    border-radius:9px;
    background:rgba(3,9,14,.82);
    border:1px solid rgba(255,255,255,.16);
    color:#f8fbfd;
    font-size:11px;
    backdrop-filter:blur(8px);
}
.agent-badge{
    left:20px;
    bottom:20px;
    z-index:3;
    background:linear-gradient(135deg,#ffb21c,#ff8a00);
    color:#111920;
    box-shadow:0 8px 20px rgba(255,144,0,.22);
}
.agent-card__body,
.agent-card--featured .agent-card__body{
    display:block;
    padding:18px 18px 17px;
}
.agent-title-row{
    align-items:flex-start;
    gap:10px;
}
.agent-title-row small{
    color:#788d9c;
    font-size:11px;
    font-weight:700;
}
.agent-title-row h3,
.agent-card--featured .agent-title-row h3{
    color:#f6f9fb;
    font-size:19px;
    margin-top:2px;
    letter-spacing:.01em;
}
.agent-title-row h3 a:hover{color:#ffb21c}
.phone-chip{
    width:36px;
    height:36px;
    flex:0 0 36px;
    border-radius:10px;
    background:#122431;
    border:1px solid rgba(255,255,255,.08);
    color:#8ea6b6;
}
.agent-phone,
.agent-card--featured .agent-phone{
    margin:13px 0 16px;
    padding:10px 12px;
    border-radius:11px;
    background:#08121a;
    border:1px solid rgba(255,255,255,.06);
    color:#c7d5de;
    font-size:15px;
    letter-spacing:.05em;
    text-align:center;
}
.agent-actions{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
}
.agent-card--featured .agent-actions{margin-top:0}
.agent-actions .btn{
    min-height:43px;
    border-radius:11px;
    padding-inline:12px;
    font-size:13px;
    box-shadow:none;
}
.agent-actions .btn--whatsapp{
    color:#eafff1;
    background:linear-gradient(135deg,#179d4a,#1fba59);
    border-color:transparent;
}
.agent-actions .btn--telegram{
    color:#effaff;
    background:linear-gradient(135deg,#178bc4,#229ed9);
    border-color:transparent;
}
.agent-actions .btn:hover{
    filter:brightness(1.08);
    transform:translateY(-1px);
}
.agents-section .center-action{margin-top:30px}
.agents-section .text-link{
    color:#d8e3ea;
    border-bottom-color:rgba(255,255,255,.18);
}
.agents-section .text-link:hover{color:#ffb21c}

.agent-hero{
    background:
        radial-gradient(circle at 78% 14%,rgba(255,173,22,.12),transparent 22%),
        radial-gradient(circle at 8% 85%,rgba(34,211,238,.06),transparent 26%),
        #071018;
}
.agent-hero__media{
    aspect-ratio:4/3;
    max-height:520px;
    background:#050b10;
    border-radius:24px;
    padding:12px;
}
.agent-hero__media img{
    border-radius:16px;
    object-fit:cover;
}
.page-id-7 .agent-hero__media img,
.page-id-12 .agent-hero__media img{
    transform:scale(1.46);
}
.agent-details{
    background:#0a141d;
    color:#fff;
}
.info-panel,.content-panel{
    background:#0e1b25;
    border-color:rgba(255,255,255,.08);
    box-shadow:0 18px 44px rgba(0,0,0,.18);
}
.info-panel h2,.content-panel h2,.prose h2,.prose h3,.prose h4{color:#fff}
.info-rows div{border-bottom-color:rgba(255,255,255,.08)}
.info-rows span,.prose{color:#93a7b5}
.info-rows strong{color:#eef5f8}

@media (max-width:1080px){
    .agents-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:820px){
    .agents-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .agent-card__media,.agent-card--featured .agent-card__media{height:240px;min-height:240px}
}
@media (max-width:560px){
    .agents-section{padding:58px 0 64px}
    .agents-grid{grid-template-columns:1fr;gap:14px}
    .agent-card__media,.agent-card--featured .agent-card__media{height:255px;min-height:255px}
    .agent-card__body,.agent-card--featured .agent-card__body{padding:16px}
    .agent-title-row h3,.agent-card--featured .agent-title-row h3{font-size:20px}
    .agent-actions .btn{min-height:46px}
    .agents-section .section-head{padding-bottom:18px}
}

@media (prefers-reduced-motion:reduce){
    *,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}
}
