/* =========================================================
   JUSOOR V2 — HOME
   Final visual polish
   Desktop / Tablet / Mobile
   ========================================================= */

.home-page{
    --h-navy-950:#071f33;
    --h-navy-900:#0b2940;
    --h-navy-850:#12344d;
    --h-ink:#173149;

    --h-gold:#b99a56;
    --h-gold-light:#d9ad49;
    --h-gold-soft:#f5edd8;

    --h-text:#475f6e;
    --h-muted:#70818c;

    --h-line:#dce4e8;
    --h-line-soft:#eaf0f2;

    --h-bg:#f6f8f9;
    --h-bg-soft:#fafcfc;

    --h-green:#2f9b63;
    --h-yellow:#d2a72e;
    --h-orange:#d77c31;
    --h-red:#c84d55;
    --h-none:#aab6bf;

    color:var(--h-ink);
    background:#fff;
    overflow:hidden;
}

.home-page *,
.home-page *::before,
.home-page *::after{
    box-sizing:border-box;
}

.home-page a{
    color:inherit;
}

.home-page img,
.home-page svg{
    max-width:100%;
}

.home-eyebrow{
    margin:0;
    color:var(--h-gold);
    font-size:11px;
    font-weight:900;
    line-height:1.5;
}


/* =========================================================
   HERO
   ========================================================= */

.home-hero{
    position:relative;
    overflow:hidden;
    border-bottom:3px solid var(--h-gold-light);
    background:
        radial-gradient(
            circle at 8% 25%,
            rgba(185,154,86,.11),
            transparent 31%
        ),
        radial-gradient(
            circle at 88% 56%,
            rgba(68,127,163,.13),
            transparent 38%
        ),
        linear-gradient(
            135deg,
            #071f33,
            #0b2940 56%,
            #10324b
        );
}

.home-hero::after{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    opacity:.20;
    background-image:
        linear-gradient(
            rgba(255,255,255,.024) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.024) 1px,
            transparent 1px
        );
    background-size:48px 48px;
}

.home-hero__grid{
    position:relative;
    z-index:1;
    display:grid;
    grid-template-columns:
        minmax(0,1.58fr)
        minmax(230px,.42fr);
    gap:58px;
    align-items:center;
    min-height:390px;
    padding-top:42px;
    padding-bottom:42px;
}

.home-hero__content{
    min-width:0;
}

.home-hero h1{
    max-width:700px;
    margin:10px 0 0;
    color:#fff;
    font-size:clamp(37px,3.8vw,53px);
    line-height:1.36;
    font-weight:900;
    letter-spacing:-.025em;
}

.home-hero h1 span{
    color:#f1d58d;
}

.home-hero__lead{
    max-width:690px;
    margin:13px 0 0;
    color:rgba(255,255,255,.78);
    font-size:13.5px;
    font-weight:600;
    line-height:1.92;
}


/* =========================================================
   SEARCH
   ========================================================= */

.home-search{
    display:grid;
    grid-template-columns:auto 1fr auto;
    align-items:center;
    width:min(100%,740px);
    min-height:57px;
    margin-top:21px;
    padding:5px;
    border:1px solid rgba(255,255,255,.18);
    border-radius:14px;
    background:#fff;
    box-shadow:
        0 14px 34px rgba(0,0,0,.13);
}

.home-search__icon{
    display:grid;
    place-items:center;
    width:42px;
    height:42px;
    color:#687e8c;
}

.home-search__icon svg{
    width:19px;
    height:19px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.8;
}

.home-search input{
    min-width:0;
    width:100%;
    height:45px;
    padding:0 7px;
    border:0;
    outline:0;
    background:transparent;
    color:var(--h-ink);
    font:inherit;
    font-size:12px;
    font-weight:600;
}

.home-search input::placeholder{
    color:#87959e;
    opacity:1;
}

.home-search:focus-within{
    border-color:#d5b65f;
    box-shadow:
        0 0 0 3px rgba(217,173,73,.15),
        0 14px 34px rgba(0,0,0,.13);
}

.home-search button{
    min-width:90px;
    height:45px;
    border:0;
    border-radius:10px;
    background:var(--h-gold-light);
    color:#10283c;
    font:inherit;
    font-size:11px;
    font-weight:900;
    cursor:pointer;
    transition:
        transform .16s ease,
        background .16s ease,
        box-shadow .16s ease;
}

.home-search button:hover{
    transform:translateY(-1px);
    background:#e2ba58;
    box-shadow:
        0 5px 14px rgba(217,173,73,.18);
}


/* =========================================================
   HERO ACTIONS
   ========================================================= */

.home-hero__actions{
    display:flex;
    flex-wrap:wrap;
    gap:9px;
    margin-top:13px;
}

.home-page .home-hero .home-hero__actions > .home-hero-btn{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;

    min-width:122px !important;
    min-height:38px !important;
    padding:8px 17px !important;

    border-radius:10px !important;
    background:rgba(255,255,255,.045) !important;
    color:#ffffff !important;

    text-decoration:none !important;
    font-size:10.8px !important;
    font-weight:900 !important;
    line-height:1.3 !important;

    opacity:1 !important;
    visibility:visible !important;
    filter:none !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.025) !important;

    transition:
        transform .16s ease,
        background .16s ease,
        border-color .16s ease,
        color .16s ease,
        box-shadow .16s ease;
}

/* استكشف اليمن — بنفس روح بطاقة منهج جسور */
.home-page .home-hero .home-hero__actions > .home-hero-btn--explore{
    background:rgba(255,255,255,.045) !important;
    border:1px solid rgba(217,173,73,.72) !important;
    color:#f1d58d !important;

    box-shadow:
        inset -3px 0 0 #d9ad49,
        inset 0 1px 0 rgba(255,255,255,.025) !important;
}

/* ما هي جسور؟ */
.home-page .home-hero .home-hero__actions > .home-hero-btn--about{
    background:rgba(255,255,255,.045) !important;
    border:1px solid rgba(255,255,255,.25) !important;
    color:#ffffff !important;
}

.home-page .home-hero .home-hero__actions > .home-hero-btn:hover{
    transform:translateY(-1px);
}

.home-page .home-hero .home-hero__actions > .home-hero-btn--explore:hover{
    background:rgba(217,173,73,.10) !important;
    border-color:#d9ad49 !important;
    color:#f6dda0 !important;
}

.home-page .home-hero .home-hero__actions > .home-hero-btn--about:hover{
    background:rgba(255,255,255,.09) !important;
    border-color:rgba(255,255,255,.42) !important;
    color:#ffffff !important;
}


/* =========================================================
   HERO PRINCIPLE
   ========================================================= */

.home-hero__insight{
    position:relative;
    padding:22px 21px;
    border:1px solid rgba(255,255,255,.13);
    border-radius:16px;
    background:rgba(255,255,255,.045);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.025);
}

.home-hero__insight::before{
    content:"";
    position:absolute;
    top:17px;
    bottom:17px;
    right:0;
    width:3px;
    border-radius:3px 0 0 3px;
    background:var(--h-gold-light);
}

.home-hero__insight-label{
    display:block;
    color:#e1c16a;
    font-size:10px;
    font-weight:900;
}

.home-hero__insight strong{
    display:block;
    margin-top:8px;
    color:#fff;
    font-size:18px;
    font-weight:900;
    line-height:1.55;
}

.home-hero__insight p{
    margin:8px 0 0;
    color:rgba(255,255,255,.69);
    font-size:10.5px;
    font-weight:600;
    line-height:1.85;
}


/* =========================================================
   NATIONAL SCOPE
   ========================================================= */

.home-national-strip{
    border-bottom:1px solid var(--h-line);
    background:#fff;
}

.home-national-strip__grid{
    display:grid;
}

.home-national-strip__grid--1{
    grid-template-columns:1fr;
}

.home-national-strip__grid--2{
    grid-template-columns:repeat(2,1fr);
}

.home-national-strip__grid--3{
    grid-template-columns:repeat(3,1fr);
}

.home-national-strip__grid--4{
    grid-template-columns:repeat(4,1fr);
}

.home-stat{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:11px;
    min-height:70px;
    padding:12px 20px;
}

.home-stat + .home-stat{
    border-right:1px solid var(--h-line-soft);
}

.home-stat strong{
    color:var(--h-ink);
    font-size:25px;
    font-weight:900;
    line-height:1;
}

.home-stat span{
    color:#5e7280;
    font-size:10.5px;
    font-weight:700;
    line-height:1.55;
}


/* =========================================================
   GENERAL SECTIONS
   ========================================================= */

.home-section{
    padding:52px 0;
}

.home-section-head{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:26px;
    margin-bottom:21px;
}

.home-section-head > div{
    max-width:720px;
}

.home-section-head h2{
    margin:7px 0 0;
    color:var(--h-ink);
    font-size:clamp(26px,2.5vw,35px);
    font-weight:900;
    line-height:1.42;
    letter-spacing:-.012em;
}

.home-section-head p:last-child{
    margin:7px 0 0;
    color:var(--h-text);
    font-size:11.5px;
    font-weight:600;
    line-height:1.82;
}

.home-section-link{
    flex:0 0 auto;
    display:inline-flex;
    align-items:center;
    gap:7px;
    color:var(--h-ink);
    text-decoration:none;
    font-size:10.5px;
    font-weight:900;
    white-space:nowrap;
    transition:
        transform .16s ease,
        color .16s ease;
}

.home-section-link span{
    color:var(--h-gold);
    font-size:16px;
}

.home-section-link:hover{
    color:#816a2d;
    transform:translateX(-2px);
}


/* =========================================================
   EXPLORE
   ========================================================= */

.home-explore{
    background:#fff;
}

.home-explore__layout{
    display:grid;
    grid-template-columns:
        minmax(0,1.72fr)
        minmax(260px,.48fr);
    gap:18px;
    align-items:stretch;
}

.home-map-card{
    position:relative;
    height:398px;
    overflow:hidden;
    border:1px solid var(--h-line);
    border-radius:16px;
    background:
        radial-gradient(
            circle at 49% 44%,
            rgba(61,126,163,.08),
            transparent 44%
        ),
        linear-gradient(
            180deg,
            #f8fafb,
            #eef3f4
        );
    box-shadow:
        0 10px 27px rgba(23,49,73,.055);
}

.home-map-card svg{
    display:block;
    width:100%;
    height:100%;
}

.home-map-state{
    position:absolute;
    inset:0;
    display:grid;
    place-items:center;
    padding:25px;
    color:#74858f;
    font-size:11px;
    font-weight:700;
    text-align:center;
}

.home-map-state[hidden]{
    display:none;
}

.home-map-tooltip{
    position:absolute;
    z-index:5;
    top:14px;
    left:14px;
    min-width:138px;
    padding:9px 12px;
    border:1px solid #dce4e7;
    border-radius:9px;
    background:rgba(255,255,255,.98);
    color:var(--h-ink);
    box-shadow:
        0 10px 24px rgba(18,48,72,.14);
    font-size:11px;
    font-weight:900;
    text-align:center;
    pointer-events:none;
}

.home-map-tooltip[hidden]{
    display:none;
}

.home-map-shape{
    fill:#cfd9dc;
    stroke:#fff;
    stroke-width:1.25;
    vector-effect:non-scaling-stroke;
    cursor:pointer;
    transition:
        fill .15s ease,
        opacity .15s ease;
}

.home-map-shape:hover,
.home-map-shape:focus,
.home-map-shape.is-active{
    fill:#b99a56;
    outline:none;
}

.home-map-shape.is-unlinked{
    cursor:default;
    opacity:.58;
}


/* =========================================================
   PLACE PANEL
   ========================================================= */

.home-place-panel{
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    min-width:0;
    padding:22px;
    border:1px solid var(--h-line);
    border-radius:16px;
    background:#fff;
    box-shadow:
        0 10px 27px rgba(23,49,73,.055);
}

.home-place-panel__eyebrow{
    margin:0;
    color:var(--h-gold);
    font-size:10px;
    font-weight:900;
}

.home-place-panel h3{
    margin:7px 0 0;
    color:var(--h-ink);
    font-size:20px;
    font-weight:900;
    line-height:1.5;
}

.home-place-panel > div > p:last-child{
    margin:8px 0 0;
    color:var(--h-text);
    font-size:10.8px;
    font-weight:600;
    line-height:1.85;
}

.home-place-panel__form{
    margin-top:20px;
}

.home-place-panel__label{
    display:block;
    color:#586f7c;
    font-size:10px;
    font-weight:900;
}

.home-place-panel__select{
    width:100%;
    height:45px;
    margin-top:6px;
    padding:0 11px;
    border:1px solid #d0dbe0;
    border-radius:10px;
    background:#fff;
    color:var(--h-ink);
    font:inherit;
    font-size:11px;
    font-weight:700;
    outline:none;
}

.home-place-panel__select:focus{
    border-color:#b99a56;
    box-shadow:
        0 0 0 3px rgba(185,154,86,.12);
}

.home-place-panel__button{
    width:100%;
    height:44px;
    margin-top:8px;
    border:0;
    border-radius:10px;
    background:var(--h-ink);
    color:#fff;
    font:inherit;
    font-size:10.5px;
    font-weight:900;
    cursor:pointer;
    transition:
        background .16s ease,
        transform .16s ease;
}

.home-place-panel__button:disabled{
    cursor:not-allowed;
    opacity:.38;
}

.home-place-panel__button:not(:disabled):hover{
    background:#0b2940;
    transform:translateY(-1px);
}

.home-place-panel__links{
    display:grid;
    gap:0;
    margin-top:20px;
    border-top:1px solid var(--h-line-soft);
}

.home-place-panel__links a{
    display:flex;
    justify-content:space-between;
    gap:12px;
    padding:10px 0;
    border-bottom:1px solid var(--h-line-soft);
    color:#536d7d;
    text-decoration:none;
    font-size:10px;
    font-weight:800;
}

.home-place-panel__links a span{
    color:var(--h-gold);
}

.home-place-panel__links a:hover{
    color:var(--h-ink);
}


/* =========================================================
   UPDATES
   ========================================================= */

.home-updates{
    background:var(--h-bg);
}

.home-update-grid{
    display:grid;
    gap:14px;
}

.home-update-grid--1{
    grid-template-columns:1fr;
}

.home-update-grid--2{
    grid-template-columns:repeat(2,minmax(0,1fr));
}

.home-update-grid--3{
    grid-template-columns:repeat(3,minmax(0,1fr));
}

.home-update-card{
    display:flex;
    flex-direction:column;
    min-width:0;
    padding:20px;
    border:1px solid var(--h-line);
    border-radius:14px;
    background:#fff;
    transition:
        transform .16s ease,
        border-color .16s ease,
        box-shadow .16s ease;
}

.home-update-grid--1 .home-update-card{
    width:100%;
    min-height:170px;
    padding:24px 28px;
    border-right:4px solid var(--h-gold-light);
}

.home-update-grid--1 .home-update-card h3{
    max-width:900px;
    font-size:18px;
}

.home-update-grid--1 .home-update-card p{
    max-width:980px;
    font-size:11.3px;
}

.home-update-card:hover{
    transform:translateY(-2px);
    border-color:#ccb982;
    box-shadow:
        0 12px 28px rgba(23,49,73,.07);
}

.home-update-card__meta{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:6px 10px;
    color:#71828d;
    font-size:9.5px;
    font-weight:700;
}

.home-content-type{
    padding:3px 8px;
    border-radius:999px;
    background:#edf3f6;
    color:#31546c;
    font-weight:900;
}

.home-update-card h3{
    margin:12px 0 0;
    color:var(--h-ink);
    font-size:15.5px;
    font-weight:900;
    line-height:1.72;
}

.home-update-card h3 a{
    text-decoration:none;
}

.home-update-card h3 a:hover{
    color:#816a2d;
}

.home-update-card p{
    margin:8px 0 0;
    color:var(--h-text);
    font-size:10.8px;
    font-weight:600;
    line-height:1.86;
}

.home-source-line{
    margin-top:auto;
    padding-top:13px;
    color:#74858f;
    font-size:9.5px;
}

.home-source-line strong{
    color:#536b79;
}


/* =========================================================
   INDICATORS
   ========================================================= */

.home-indicators{
    background:#fff;
}

.home-indicator-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:13px;
}

.home-indicator-card{
    padding:18px;
    border:1px solid var(--h-line);
    border-top:3px solid var(--h-none);
    border-radius:13px;
    background:#fff;
}

.home-indicator-card.level-green{
    border-top-color:var(--h-green);
}

.home-indicator-card.level-yellow{
    border-top-color:var(--h-yellow);
}

.home-indicator-card.level-orange{
    border-top-color:var(--h-orange);
}

.home-indicator-card.level-red{
    border-top-color:var(--h-red);
}

.home-indicator-card__top{
    display:flex;
    align-items:center;
    gap:6px;
    color:#687d8a;
    font-size:9.5px;
    font-weight:800;
}

.home-indicator-dot{
    width:7px;
    height:7px;
    flex:0 0 7px;
    border-radius:50%;
    background:var(--h-none);
}

.level-green .home-indicator-dot{
    background:var(--h-green);
}

.level-yellow .home-indicator-dot{
    background:var(--h-yellow);
}

.level-orange .home-indicator-dot{
    background:var(--h-orange);
}

.level-red .home-indicator-dot{
    background:var(--h-red);
}

.home-indicator-card h3{
    min-height:48px;
    margin:11px 0 0;
    color:var(--h-ink);
    font-size:13px;
    font-weight:900;
    line-height:1.7;
}

.home-indicator-value{
    display:block;
    margin-top:10px;
    color:var(--h-ink);
    font-size:30px;
    font-weight:900;
}

.home-indicator-period{
    margin-top:6px;
    color:#70818c;
    font-size:9.5px;
    line-height:1.6;
}


/* =========================================================
   KNOWLEDGE
   ========================================================= */

.home-knowledge{
    background:var(--h-bg-soft);
}

.home-knowledge-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:14px;
}

.home-knowledge-card{
    display:flex;
    flex-direction:column;
    min-height:215px;
    padding:20px;
    border:1px solid var(--h-line);
    border-radius:14px;
    background:#fff;
}

.home-knowledge-card__meta{
    display:flex;
    gap:8px 12px;
    flex-wrap:wrap;
    color:#71818b;
    font-size:9.5px;
    font-weight:800;
}

.home-knowledge-card__meta span:first-child{
    color:#81692e;
}

.home-knowledge-card h3{
    margin:13px 0 0;
    color:var(--h-ink);
    font-size:16px;
    font-weight:900;
    line-height:1.72;
}

.home-knowledge-card h3 a{
    text-decoration:none;
}

.home-knowledge-card h3 a:hover{
    color:#816a2d;
}

.home-knowledge-card p{
    margin:8px 0 0;
    color:var(--h-text);
    font-size:10.8px;
    font-weight:600;
    line-height:1.85;
}

.home-card-link{
    display:inline-flex;
    align-items:center;
    gap:6px;
    align-self:flex-start;
    margin-top:auto;
    padding-top:15px;
    color:#745e27;
    text-decoration:none;
    font-size:10px;
    font-weight:900;
}

.home-card-link:hover{
    color:#342b15;
}


/* =========================================================
   TRUST
   ========================================================= */

.home-trust{
    padding:40px 0;
    border-top:1px solid var(--h-line-soft);
    background:#fff;
}

.home-trust__layout{
    display:grid;
    grid-template-columns:
        minmax(260px,.68fr)
        minmax(0,1.32fr);
    gap:42px;
    align-items:center;
}

.home-trust__intro h2{
    margin:7px 0 0;
    color:var(--h-ink);
    font-size:26px;
    font-weight:900;
    line-height:1.45;
}

.home-trust__intro > p:last-child{
    margin:7px 0 0;
    color:var(--h-text);
    font-size:10.8px;
    font-weight:600;
    line-height:1.82;
}

.home-trust-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    border:1px solid var(--h-line);
    border-radius:14px;
    overflow:hidden;
    background:#fff;
}

.home-trust-grid article{
    display:flex;
    gap:11px;
    align-items:flex-start;
    min-width:0;
    padding:17px;
}

.home-trust-grid article + article{
    border-right:1px solid var(--h-line-soft);
}

.home-trust-grid article > span{
    flex:0 0 auto;
    display:grid;
    place-items:center;
    width:30px;
    height:30px;
    border-radius:8px;
    background:var(--h-gold-soft);
    color:#7d6426;
    font-size:9px;
    font-weight:900;
}

.home-trust-grid h3{
    margin:0;
    color:var(--h-ink);
    font-size:13px;
    font-weight:900;
}

.home-trust-grid p{
    margin:4px 0 0;
    color:#647985;
    font-size:9.8px;
    font-weight:600;
    line-height:1.7;
}


/* =========================================================
   PARTICIPATION
   ========================================================= */

.home-participation{
    padding:42px 0;
    background:
        radial-gradient(
            circle at 12% 50%,
            rgba(217,173,73,.09),
            transparent 31%
        ),
        var(--h-navy-950);
}

.home-participation__inner{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:center;
    gap:26px;
}

.home-participation h2{
    max-width:760px;
    margin:7px 0 0;
    color:#fff;
    font-size:clamp(23px,2.4vw,31px);
    font-weight:900;
    line-height:1.48;
}

.home-participation p:last-child{
    max-width:660px;
    margin:7px 0 0;
    color:rgba(255,255,255,.68);
    font-size:10.8px;
    font-weight:600;
    line-height:1.8;
}

.home-participation__actions{
    display:flex;
    align-items:center;
}

.home-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:112px;
    min-height:44px;
    padding:8px 20px;
    border-radius:10px;
    text-decoration:none;
    font-size:10.5px;
    font-weight:900;
    transition:
        transform .16s ease,
        background .16s ease,
        box-shadow .16s ease;
}

.home-button:hover{
    transform:translateY(-1px);
}

.home-button--gold{
    background:var(--h-gold-light);
    color:#10283c;
}

.home-button--gold:hover{
    background:#e2ba58;
    box-shadow:
        0 6px 16px rgba(217,173,73,.16);
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

.home-page a:focus-visible,
.home-page button:focus-visible,
.home-page select:focus-visible{
    outline:3px solid rgba(217,173,73,.72);
    outline-offset:3px;
}

@media (prefers-reduced-motion:reduce){

    .home-page *,
    .home-page *::before,
    .home-page *::after{
        transition:none !important;
        animation:none !important;
        scroll-behavior:auto !important;
    }

}


/* =========================================================
   LARGE TABLET
   ========================================================= */

@media(max-width:1100px){

    .home-hero__grid{
        gap:38px;
    }

    .home-explore__layout{
        grid-template-columns:
            minmax(0,1.45fr)
            minmax(245px,.55fr);
    }

    .home-indicator-grid{
        grid-template-columns:
            repeat(2,minmax(0,1fr));
    }

}


/* =========================================================
   TABLET
   ========================================================= */

@media(max-width:900px){

    .home-hero__grid{
        grid-template-columns:1fr;
        min-height:0;
        gap:23px;
        padding-top:38px;
        padding-bottom:38px;
    }

    .home-hero__insight{
        max-width:590px;
    }

    .home-national-strip__grid--3,
    .home-national-strip__grid--4{
        grid-template-columns:
            repeat(2,minmax(0,1fr));
    }

    .home-explore__layout{
        grid-template-columns:1fr;
    }

    .home-map-card{
        height:380px;
    }

    .home-update-grid--3{
        grid-template-columns:
            repeat(2,minmax(0,1fr));
    }

    .home-knowledge-grid{
        grid-template-columns:
            repeat(2,minmax(0,1fr));
    }

    .home-trust__layout{
        grid-template-columns:1fr;
        gap:20px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media(max-width:640px){

    .home-hero__grid{
        padding-top:30px;
        padding-bottom:30px;
    }

    .home-hero h1{
        font-size:34px;
        line-height:1.4;
    }

    .home-hero__lead{
        font-size:12px;
        line-height:1.85;
    }

    .home-search{
        grid-template-columns:
            auto minmax(0,1fr);
    }

    .home-search input{
        height:40px;
        font-size:10.5px;
    }

    .home-search button{
        grid-column:1/-1;
        width:100%;
        height:41px;
        margin-top:4px;
    }

    .home-hero__actions{
        width:100%;
    }

    .home-hero-btn{
        flex:1 1 135px;
    }

    .home-hero__insight{
        padding:18px;
    }

    .home-national-strip__grid--2,
    .home-national-strip__grid--3,
    .home-national-strip__grid--4{
        grid-template-columns:
            repeat(2,minmax(0,1fr));
    }

    .home-stat{
        min-height:68px;
        padding:11px;
        flex-direction:column;
        gap:4px;
        text-align:center;
    }

    .home-stat strong{
        font-size:22px;
    }

    .home-stat span{
        font-size:9.5px;
    }

    .home-section{
        padding:40px 0;
    }

    .home-section-head{
        flex-direction:column;
        align-items:flex-start;
        gap:10px;
        margin-bottom:18px;
    }

    .home-section-head h2{
        font-size:26px;
    }

    .home-section-head p:last-child{
        font-size:11px;
    }

    .home-map-card{
        height:305px;
    }

    .home-map-tooltip{
        top:10px;
        left:10px;
        min-width:115px;
        padding:7px 9px;
        font-size:10px;
    }

    .home-place-panel{
        padding:18px;
    }

    .home-update-grid--2,
    .home-update-grid--3,
    .home-indicator-grid,
    .home-knowledge-grid{
        grid-template-columns:1fr;
    }

    .home-update-grid--1 .home-update-card{
        min-height:0;
        padding:19px;
        border-right-width:3px;
    }

    .home-update-grid--1 .home-update-card h3{
        font-size:16px;
    }

    .home-indicator-card h3{
        min-height:0;
    }

    .home-trust{
        padding:35px 0;
    }

    .home-trust-grid{
        grid-template-columns:1fr;
    }

    .home-trust-grid article + article{
        border-right:0;
        border-top:1px solid var(--h-line-soft);
    }

    .home-participation{
        padding:36px 0 58px;
    }

    .home-participation__inner{
        grid-template-columns:1fr;
        gap:18px;
    }

    .home-participation__actions{
        width:100%;
    }

    .home-button{
        width:100%;
        min-height:45px;
    }

}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media(max-width:420px){

    .home-hero h1{
        font-size:30px;
    }

    .home-hero__actions{
        display:grid;
        grid-template-columns:1fr;
    }

    .home-national-strip__grid--2,
    .home-national-strip__grid--3,
    .home-national-strip__grid--4{
        grid-template-columns:1fr;
    }

    .home-stat{
        min-height:58px;
        flex-direction:row;
        justify-content:flex-start;
        text-align:right;
        gap:10px;
    }

    .home-stat + .home-stat{
        border-right:0;
        border-top:1px solid var(--h-line-soft);
    }

    .home-map-card{
        height:270px;
    }

    .home-trust__intro h2{
        font-size:24px;
    }

}


/* =========================================================
   JUSOOR V2 — HOME FINAL MICRO POLISH
   ========================================================= */


/* حالة زر فتح ملف المحافظة عند التعطيل */
.home-place-panel__button:disabled{
    background:#eef2f4;
    color:#8a98a2;
    border:1px solid #d8e0e4;
    opacity:1;
    cursor:not-allowed;
}

.home-place-panel__button:not(:disabled){
    background:var(--h-ink);
    color:#fff;
    border:1px solid var(--h-ink);
}


/* تقريب زر المشاركة من الرسالة */
.home-participation__inner{
    grid-template-columns:
        minmax(0,900px)
        auto;
    justify-content:space-between;
    column-gap:22px;
}

.home-participation__actions{
    justify-self:start;
}

@media(max-width:900px){

    .home-participation__inner{
        grid-template-columns:1fr auto;
        column-gap:18px;
    }

}

@media(max-width:640px){

    .home-participation__inner{
        grid-template-columns:1fr;
        row-gap:16px;
    }

    .home-participation__actions{
        justify-self:stretch;
    }

}