/* ============================================================
   Homepage-only styles. Scoped with .home- prefixes so these do
   NOT affect other pages that import style.css.
   Palette: deep navy #0f2f44 / steel #45667c / warm orange #f5a650.
   ============================================================ */

:root{
    --h-navy: #0b2a3d;
    --h-navy-2: #122f45;
    --h-steel: #45667c;
    --h-orange: #f5a650;
    --h-text: #e8eff5;
    --h-muted: #9fb3c4;
}

/* ------- HERO -------
   Stacking strategy (per the spec):
   - .home-hero paints the image via explicit background-* properties,
     with a solid navy fallback color so there is NEVER a white pixel if
     the image fails to cover for any reason.
   - .home-hero::before is the dedicated semi-transparent black overlay.
     Using `isolation: isolate` on the hero means z-index:-1 on ::before
     stays INSIDE the hero's stacking context — above the image, below content.
   - .home-hero-wrap holds the content and naturally paints on top. */
.home-hero{
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 100vh;
    overflow: hidden;

    background-color: #0a1e30;
    background-image: var(--h-hero-img);
    background-size: cover;
    background-position: center 55%;
    background-repeat: no-repeat;
}
/* Dark navy geometric overlay — two diagonal panels at the corners and a
   soft centered darkening so the headline area reads cleanly over the
   industrial photo without hiding it. Matches the reference exactly:
   image visible across the whole hero, deeper navy wedges top-left and
   bottom-left, slight vignette through the middle. */
.home-hero::before{
    content: "";
    position: absolute;
    inset: 0;
    background:
        /* Top-left diagonal wedge */
        linear-gradient(135deg,
            rgba(8, 24, 40, .95) 0%,
            rgba(8, 24, 40, .78) 14%,
            rgba(8, 24, 40, .30) 24%,
            rgba(8, 24, 40, 0)   30%),
        /* Bottom-left diagonal wedge */
        linear-gradient(225deg,
            rgba(8, 24, 40, 0)   70%,
            rgba(8, 24, 40, .30) 80%,
            rgba(8, 24, 40, .80) 92%,
            rgba(8, 24, 40, .95) 100%),
        /* Central soft darkening for text legibility */
        radial-gradient(ellipse at 50% 55%,
            rgba(8, 24, 40, .55) 0%,
            rgba(8, 24, 40, .40) 45%,
            rgba(8, 24, 40, .20) 70%,
            rgba(8, 24, 40, .35) 100%);
    z-index: -1;
    pointer-events: none;
}
/* Thin orange tick that sits above the headline, matching the reference. */
.home-hero-wrap{
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 180px 48px 140px;
    width: 100%;
    direction: rtl;
    display: flex;
    flex-direction: column;
    align-items: flex-start;    /* right-align under RTL (flex-start = right) */
    text-align: right;
}
.home-hero h1{
    color: #fff;
    font-family: 'IBM Plex Sans Arabic', 'Tajawal', system-ui, sans-serif;
    font-size: clamp(26px, 3.6vw, 44px);
    font-weight: 800;
    line-height: 1.35;
    margin: 0 0 22px;
    letter-spacing: -0.4px;
    max-width: 820px;
    text-shadow: 0 2px 20px rgba(0,0,0,.5);
}
.home-hero h1 span{ display: block; }
.home-hero h1 .h-accent{
    color: var(--h-orange);
    margin-top: 6px;
}
.home-hero p{
    color: #d8e2ec;
    font-family: 'IBM Plex Sans Arabic', 'Tajawal', system-ui, sans-serif;
    font-size: clamp(14.5px, 1.3vw, 17px);
    font-weight: 400;
    max-width: 580px;
    line-height: 1.95;
    margin: 0 0 36px;
    text-shadow: 0 1px 10px rgba(0,0,0,.5);
}
.home-hero-cta{
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: flex-start;   /* right in RTL — matches headline alignment */
}
.home-hero-cta a{
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 999px;
    font-family: 'IBM Plex Sans Arabic', 'Tajawal', system-ui, sans-serif;
    font-weight: 700;
    font-size: 15px;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.home-hero-cta a:hover{
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(0,0,0,.35);
}
.home-hero-cta .h-btn-primary{
    background: var(--h-orange);
    color: #1a1a1a;
    border: 1px solid var(--h-orange);
    box-shadow: 0 8px 24px rgba(245,166,80,.28);
}
.home-hero-cta .h-btn-ghost{
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,.75);
}
.home-hero-cta .h-btn-ghost:hover{
    background: #fff;
    color: var(--h-navy);
    border-color: #fff;
}

/* Transparent/floating header ONLY on the homepage so it reads as part of
   the hero (reference image). Scoped to body.has-home-hero so every other
   page keeps the solid navy header. */
body.has-home-hero .nav{
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
body.has-home-hero .links a{
    color: #fff;
    text-shadow: 0 1px 6px rgba(0,0,0,.4);
}

/* ------- Section skeleton ------- */
.home-sec{ padding: 90px 24px; }
.home-sec-wrap{ max-width: 1240px; margin: 0 auto; direction:rtl; }
.home-sec-title{
    text-align:center;
    color:#0b2a3d;
    font-size: clamp(26px, 3vw, 36px);
    font-weight:800;
    margin: 0 0 16px;
    position:relative;
    padding-bottom:16px;
}
.home-sec-title::after{
    content:"";
    position:absolute;
    left:50%; bottom:0;
    transform:translateX(-50%);
    width:72px; height:3px;
    background:var(--h-orange);
    border-radius:2px;
}
.home-sec-lead{
    text-align:center;
    color:#4a6174;
    max-width:720px;
    margin: 0 auto 32px;
    line-height:1.95;
    font-size:16px;
}

/* ================================================================
   VISION / MISSION — industrial background with two cards
   Section bg: industrial photo + soft white veil for readability.
   Vision card (right): navy with same industrial photo + dark veil.
   Mission card (left): translucent white, navy text, subtle border.
   ================================================================ */

/* ---- Section backdrop ----
   Solid off-white — no photo, no gradient, no texture. The industrial
   photograph lives ONLY inside the Vision card below. */
.home-vm-sec{
    background: #f6f9fc;
}

.home-vm{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    direction: rtl;
    align-items: stretch;
    min-width: 0;
}

.home-vm-tile{
    min-width: 0;
    padding: 44px 40px;
    border-radius: 14px;
    font-family: 'IBM Plex Sans Arabic', 'Tajawal', system-ui, sans-serif;
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

/* ---- VISION card (right in RTL) ----
   Navy base + industrial image set via inline --h-vm-card-bg.
   Dark overlay keeps white text at full contrast. */
.home-vm-vision{
    color: #fff;
    background-color: var(--h-navy);
    background-image: linear-gradient(
            180deg,
            rgba(10, 25, 38, .78) 0%,
            rgba(10, 25, 38, .88) 100%
        ),
        var(--h-vm-card-bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 20px 44px -24px rgba(10, 25, 38, .40);
}

/* ---- MISSION card (left in RTL) ----
   Translucent white so the section's subtle photo peeks through
   just enough to tie the two cards together. */
.home-vm-mission{
    color: var(--h-navy);
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    box-shadow:
        inset 0 0 0 1px rgba(10, 25, 38, .08),
        0 18px 40px -28px rgba(10, 25, 38, .18);
}

/* ---- Small orange eyebrow (الرؤية / الرسالة) ---- */
.home-vm-eyebrow{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 4px;
    color: var(--h-orange);
}
.home-vm-eyebrow::before{
    content: "";
    display: inline-block;
    width: 24px;
    height: 2px;
    background: var(--h-orange);
    border-radius: 2px;
}

/* ---- Heading with short orange underline ---- */
.home-vm-head{
    position: relative;
    margin: 0;
    padding-bottom: 14px;
    font-size: clamp(20px, 2vw, 25px);
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: -0.2px;
}
.home-vm-vision .home-vm-head{ color: #fff; }
.home-vm-mission .home-vm-head{ color: var(--h-navy); }
.home-vm-head::after{
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 44px;
    height: 2px;
    background: var(--h-orange);
    border-radius: 2px;
}

/* ---- Body text ---- */
.home-vm-body{
    margin: 0;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.95;
    max-width: 100%;
}
.home-vm-vision .home-vm-body{ color: rgba(255, 255, 255, .85); }
.home-vm-mission .home-vm-body{ color: #4a6174; }

/* ------- EVENTS GRID ------- */
.home-events-grid{
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.home-event-card{
    background:#fff;
    border-radius: 14px;
    overflow:hidden;
    box-shadow: 0 8px 24px rgba(10,25,38,.08);
    transition: transform .3s ease, box-shadow .3s ease;
    display:flex;
    flex-direction:column;
}
.home-event-card:hover{
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(10,25,38,.14);
}
.home-event-img{
    position:relative;
    aspect-ratio: 16/10;
    overflow:hidden;
    background:#e9eef3;
}
.home-event-img img{
    width:100%; height:100%;
    object-fit:cover;
    transition: transform .5s ease;
}
.home-event-card:hover .home-event-img img{ transform: scale(1.05); }
.home-event-date{
    position:absolute;
    top:14px;
    inset-inline-start:14px;
    background:#fff;
    color:var(--h-navy);
    padding: 8px 12px;
    border-radius:8px;
    font-weight:800;
    text-align:center;
    line-height:1.1;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
}
.home-event-date .d{ font-size:18px; display:block }
.home-event-date .m{ font-size:11px; color:var(--h-orange); text-transform:uppercase; letter-spacing:1px }
.home-event-body{
    padding: 20px 22px 22px;
    display:flex;
    flex-direction:column;
    flex:1;
}
.home-event-body h3{
    color:var(--h-navy);
    font-size:18px;
    font-weight:800;
    margin: 0 0 10px;
    line-height:1.5;
}
.home-event-meta{
    color:#6a7f91;
    font-size:14px;
    margin:0 0 16px;
    display:flex; align-items:center; gap:8px;
}
.home-event-meta b{color:var(--h-navy); font-weight:700}
.home-event-link{
    margin-top:auto;
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid #e6ebf0;
    color: var(--h-orange);
    text-decoration:none;
    font-weight:700;
    font-size:13px;
    width: fit-content;
    transition: all .25s;
}
.home-event-link:hover{
    background: var(--h-orange);
    color:#fff;
    border-color: var(--h-orange);
}
.home-events-more{
    text-align:center;
    margin-top: 40px;
}
.home-events-more a{
    color: var(--h-orange);
    font-weight:700;
    text-decoration:none;
    display:inline-flex;
    gap:8px;
    align-items:center;
}

/* ------- ARTICLES — editorial: 1 featured + 2 small, balanced ------- */
.home-articles{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start; /* don't stretch — each card uses its intrinsic height */
}

/* Top bar above the grid: "عرض جميع المقالات" link */
.home-articles-top{
    display:flex;
    justify-content: flex-start; /* flex-start in RTL = right */
    margin: 0 0 20px;
}
.home-articles-top a{
    color: var(--h-orange);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    display:inline-flex;
    gap:6px;
    align-items:center;
}
.home-articles-top a:hover{ color: var(--h-navy); }

/* ---- Featured (RTL: first grid child = right column) ---- */
.home-article-featured{
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 16/10;             /* balanced landscape, no runaway height */
    display: flex;
    text-decoration: none;
    color: #fff;
    box-shadow: 0 6px 20px rgba(10,25,38,.08);
    transition: transform .25s ease, box-shadow .25s ease;
}
.home-article-featured:hover{
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(10,25,38,.14);
}
.home-article-featured img{
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: transform .6s ease;
}
.home-article-featured:hover img{ transform: scale(1.04); }
.home-article-featured::after{
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg,
        rgba(10,25,38,0) 0%,
        rgba(10,25,38,.30) 50%,
        rgba(10,25,38,.82) 100%);
}
.home-article-featured-body{
    position: relative;
    z-index: 2;
    margin-top: auto;
    padding: 20px 22px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    direction: rtl;
    width: 100%;
}
.home-article-featured .home-article-tag{
    position: static;
    align-self: flex-start;
    background: var(--h-orange);
    color: #1a1a1a;
    padding: 5px 12px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 11.5px;
    width: fit-content;
}
.home-article-featured h3{
    font-size: clamp(17px, 1.6vw, 20px);
    font-weight: 800;
    color: #fff;
    margin: 0;
    line-height: 1.4;
    /* keep to 2 lines so proportions stay stable */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.home-article-featured-meta{
    color: #d8e0e8;
    font-size: 12.5px;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.home-article-featured-meta b{ color: #fff; font-weight: 700; }
.home-article-featured-link{
    margin-top: 2px;
    color: var(--h-orange);
    font-weight: 700;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
}

/* ---- Small cards column (RTL: second grid child = left column) ---- */
.home-article-small-col{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: start;
}
.home-article-small{
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(10,25,38,.08);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: transform .25s ease, box-shadow .25s ease;
}
.home-article-small:hover{
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(10,25,38,.14);
}
.home-article-small-img{
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #e9eef3;
}
.home-article-small-img img{
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.home-article-small:hover .home-article-small-img img{ transform: scale(1.05); }
.home-article-small-body{
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    direction: rtl;
}
.home-article-small-body h3{
    color: var(--h-navy);
    font-size: 15px;
    font-weight: 800;
    margin: 0;
    line-height: 1.5;
    /* clamp to 2 lines to keep both cards same height */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(1.5em * 2);
}
.home-article-small-date{
    color: #6a7f91;
    font-size: 12.5px;
    margin: 0;
}
.home-article-small-date b{ color: var(--h-navy); font-weight: 700; }
.home-article-small-link{
    color: var(--h-orange);
    font-weight: 700;
    font-size: 12.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ------- SPONSOR CAROUSEL ------- */
.home-sponsors{
    background: linear-gradient(135deg, var(--h-navy) 0%, var(--h-navy-2) 100%);
    padding: 70px 0;
    position:relative;
    overflow:hidden;
}
.home-sponsors::before{
    content:"";
    position:absolute;
    inset:0;
    background:
        linear-gradient(0deg, transparent 0, rgba(10,25,38,.4) 100%),
        var(--h-sponsor-bg) center/cover no-repeat;
    opacity:.4;
    pointer-events:none;
}
.home-sponsors-head{
    position:relative;
    z-index:1;
    text-align:center;
    margin-bottom: 36px;
}
.home-sponsors-head h2{
    color:#fff;
    font-size: clamp(26px, 3vw, 32px);
    font-weight:800;
    margin: 0 0 12px;
    position:relative;
    display:inline-block;
    padding-bottom: 14px;
}
.home-sponsors-head h2::after{
    content:"";
    position:absolute;
    left:50%; bottom:0;
    transform:translateX(-50%);
    width:72px; height:3px;
    background:var(--h-orange);
    border-radius:2px;
}
.home-carousel{
    position:relative;
    z-index:1;
    max-width: 1240px;
    margin: 0 auto;
    overflow:hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.home-carousel-track{
    display:flex;
    gap: 20px;
    width: max-content;
    /* JS owns the transform (seamless rAF loop). No CSS keyframe. */
}
.home-carousel-item{
    flex: 0 0 180px;
    height: 110px;
    background:#fff;
    border-radius: 12px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:6px;
    padding: 14px;
    text-align:center;
}
.home-carousel-item img{
    max-width: 72px;
    max-height: 48px;
    object-fit: contain;
    display:block;
}
.home-carousel-item p{
    margin:0;
    font-size:12px;
    font-weight:700;
    color:var(--h-navy);
    line-height:1.3;
}
.home-carousel-item p small{display:block; color:#8ea0b0; font-weight:600; font-size:11px}
.home-carousel-ctrl{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:44px; height:44px;
    border-radius:50%;
    background:rgba(255,255,255,.1);
    border:1px solid rgba(255,255,255,.25);
    color:#fff;
    font-size:20px;
    cursor:pointer;
    z-index:3;
    display:grid;
    place-items:center;
    transition: background .2s;
}
.home-carousel-ctrl:hover{ background:rgba(245,166,80,.4); border-color:var(--h-orange); }
.home-carousel-prev{ left: 12px; }
.home-carousel-next{ right: 12px; }

/* JS-driven marquee: no CSS keyframe. Reduced-motion support is handled
   by the rAF loop (it pauses when the tab is hidden; we honor
   prefers-reduced-motion by freezing the position at 0). */
@media (prefers-reduced-motion: reduce){
    .home-carousel-track{ transform: translateX(0) !important; }
}

/* ------- JOIN SECTION — compact, minimal, single CTA -------
   Tight vertical rhythm:  heading (12px) ─ orange tick (24px) ─
   description (18px) ─ CTA. Section padding deliberately asymmetric
   so the block "lands" cleanly against the dark footer below with
   no excessive bottom gap. */
.home-join{
    background: #f6f9fc;
    padding: 48px 24px 52px;
    margin: 0;                  /* defensive: kill any inherited vertical margin */
}
.home-join-wrap{
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
    direction: rtl;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.home-join h2{
    color: var(--h-navy);
    font-size: clamp(22px, 2.6vw, 30px);
    font-weight: 800;
    line-height: 1.35;
    margin: 0 0 12px;
    position: relative;
}
/* Subtle orange accent underline below the heading. */
.home-join h2::after{
    content: "";
    display: block;
    width: 44px;
    height: 2px;
    background: var(--h-orange);
    border-radius: 2px;
    margin: 12px auto 0;
}
.home-join p{
    color: #4a6174;
    font-size: 15px;
    line-height: 1.85;
    margin: 0 0 20px;
    max-width: 560px;
}
.home-join-cta{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--h-orange);
    color: #1a1a1a;
    text-decoration: none;
    padding: 12px 32px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 14.5px;
    transition: transform .25s ease, box-shadow .25s ease;
}
.home-join-cta:hover{
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(245,166,80,.35);
}

/* ------- Scroll reveal ------- */
.home-reveal{
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s ease, transform .7s ease;
}
.home-reveal.in{
    opacity: 1;
    transform: translateY(0);
}
@media (prefers-reduced-motion: reduce){
    .home-reveal{ opacity: 1; transform: none; transition: none; }
    .home-event-card, .home-article-card{ transition: none; }
}

/* ------- FOOTER -------
   The .home-footer rules were extracted to static/css/footer.css so every
   page that includes the shared footer renders it identically without
   depending on home.css. The homepage links footer.css separately.
   ---------------------------------------------------------------- */

/* ------- RESPONSIVE ------- */
@media (max-width: 1000px){
    .home-hero{ min-height: 92vh; }
    .home-hero-wrap{ padding: 120px 24px 80px; }
    .home-hero h1{ font-size: clamp(24px, 4.5vw, 36px); }
    .home-vm{ gap: 18px; }
    .home-vm-tile{ padding: 40px 28px; }
    .home-vm-head{ font-size: clamp(20px, 2.4vw, 24px); padding-bottom: 12px; }
    .home-vm-body{ font-size: 15px; line-height: 1.9; }
    .home-events-grid{ grid-template-columns: 1fr 1fr; }
    .home-articles{ grid-template-columns: 1fr; gap: 20px; }
    .home-article-small-col{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px){
    .home-sec{ padding: 60px 18px; }
    .home-hero{ min-height: 88vh; }
    .home-hero-wrap{ padding: 110px 18px 70px; }
    .home-hero h1{ font-size: clamp(22px, 7vw, 28px); line-height: 1.4; }
    .home-hero p{ font-size: 14px; }
    .home-hero-cta{ width: 100%; flex-direction: column; }
    .home-hero-cta a{ width: 100%; justify-content: center; }
    .home-vm{ grid-template-columns: 1fr; gap: 18px; }
    .home-vm-tile{ padding: 32px 22px; }
    .home-vm-head{ font-size: 22px; padding-bottom: 10px; }
    .home-vm-head::after{ width: 36px; }
    .home-vm-body{ font-size: 14.5px; line-height: 1.9; }
    .home-events-grid{ grid-template-columns: 1fr; }
    .home-articles{ grid-template-columns: 1fr; }
    .home-article-featured{ aspect-ratio: 4/3; }
    .home-article-featured-body{ padding: 18px 18px 18px; }
    .home-article-small-col{ grid-template-columns: 1fr; }
    .home-join{ padding: 40px 20px 44px; }
    .home-join h2{ font-size: clamp(20px, 6vw, 24px); }
    .home-join p{ font-size: 14px; margin-bottom: 18px; }
    .home-join h2::after{ width: 36px; margin-top: 10px; }
    .home-carousel-item{ flex-basis: 140px; height: 92px; }
}
