
/* =========================================================
   DIPLOMASOLVER
   Modern Professional Education UI
========================================================= */

:root {
    --ink: #10223f;
    --ink-dark: #0b1830;

    --blue: #2563eb;
    --blue-dark: #1d4ed8;
    --blue-light: #eff6ff;
    --blue-soft: #dbeafe;

    --white: #ffffff;
    --light: #f7f9fc;
    --light-blue: #f5f8ff;

    --muted: #64748b;
    --muted-light: #94a3b8;

    --border: #e5eaf3;
    --border-dark: #d7dfeb;

    --success: #16a34a;

    --shadow-sm: 0 4px 15px rgba(15, 35, 70, .05);
    --shadow-md: 0 12px 35px rgba(15, 35, 70, .08);
    --shadow-lg: 0 22px 60px rgba(15, 35, 70, .12);

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 22px;

    --max-width: 1120px;
}


/* =========================================================
   RESET
========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;

    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    color: var(--ink);
    background: var(--white);

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;

    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

button,
input,
textarea,
select {
    font: inherit;
}


/* =========================================================
   COMMON
========================================================= */

.wrap {
    width: 100%;
    max-width: var(--max-width);

    margin: 0 auto;

    padding-left: 22px;
    padding-right: 22px;
}


/* =========================================================
   HEADER
========================================================= */

.top {
    height: 74px;

    position: sticky;
    top: 0;
    z-index: 100;

    background: rgba(255, 255, 255, .94);

    border-bottom: 1px solid rgba(229, 234, 243, .85);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.nav {
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}


/* Brand */

.brand {
    display: inline-flex;
    align-items: center;

    text-decoration: none;

    color: var(--ink);

    font-weight: 800;

    white-space: nowrap;
}

.brand-mark {
    width: 39px;
    height: 39px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: var(--blue);
    color: var(--white);

    border-radius: 11px;

    font-size: 13px;
    font-weight: 900;

    letter-spacing: -.02em;

    box-shadow:
        0 7px 18px rgba(37, 99, 235, .22);
}

.brand-name {
    margin-left: 9px;

    font-size: 20px;
    line-height: 1;

    letter-spacing: -.035em;
}

.brand-name span {
    color: var(--blue);
}


/* Navigation */

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 7px;
}

.desktop-nav a {
    position: relative;

    padding: 9px 13px;

    color: #334155;

    text-decoration: none;

    font-size: 14px;
    font-weight: 650;

    border-radius: 9px;

    transition:
        color .2s ease,
        background .2s ease;
}

.desktop-nav a:hover {
    color: var(--blue);
    background: var(--blue-light);
}


/* Article header nav */

.article-nav a {
    display: inline-flex;
    align-items: center;

    padding: 9px 13px;

    color: #334155;

    text-decoration: none;

    font-size: 14px;
    font-weight: 700;

    border: 1px solid var(--border);

    border-radius: 10px;

    transition: .2s ease;
}

.article-nav a:hover {
    color: var(--blue);
    border-color: #cbdaf8;
    background: var(--blue-light);
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;

    isolation: isolate;

    overflow: hidden;

    padding: 88px 0 100px;

    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(37, 99, 235, .10),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #f7faff 0%,
            #eef4ff 100%
        );

    border-bottom: 1px solid #edf1f7;
}


/* Decorative glow */

.hero-glow {
    position: absolute;

    border-radius: 999px;

    filter: blur(2px);

    pointer-events: none;

    z-index: -1;
}

.glow-one {
    width: 330px;
    height: 330px;

    right: -150px;
    top: -160px;

    background: rgba(37, 99, 235, .07);
}

.glow-two {
    width: 230px;
    height: 230px;

    left: -130px;
    bottom: -150px;

    background: rgba(59, 130, 246, .06);
}


.hero-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(320px, .85fr);

    gap: 65px;

    align-items: center;
}


/* Hero content */

.hero-content {
    min-width: 0;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 9px 13px;

    background: rgba(255, 255, 255, .72);

    border: 1px solid #dce7fb;

    color: #2453b8;

    border-radius: 999px;

    font-size: 11px;
    font-weight: 850;

    letter-spacing: .07em;
    text-transform: uppercase;

    box-shadow: var(--shadow-sm);
}

.badge-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--blue);

    box-shadow:
        0 0 0 4px rgba(37, 99, 235, .10);
}


.hero h1 {
    margin: 20px 0 19px;

    max-width: 700px;

    font-size: clamp(40px, 5vw, 58px);

    line-height: 1.045;

    letter-spacing: -.055em;

    color: var(--ink-dark);
}

.hero h1 span {
    color: var(--blue);
}

.hero p {
    max-width: 670px;

    margin: 0;

    color: var(--muted);

    font-size: 17px;

    line-height: 1.75;
}

.hero p strong {
    color: #334155;
    font-weight: 750;
}


/* Hero points */

.hero-points {
    display: flex;

    flex-wrap: wrap;

    gap: 11px 20px;

    margin-top: 27px;
}

.hero-points div {
    display: flex;
    align-items: center;

    gap: 7px;

    color: #475569;

    font-size: 13px;
    font-weight: 650;
}

.hero-points span {
    width: 20px;
    height: 20px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: var(--blue);

    background: var(--blue-soft);

    border-radius: 50%;

    font-size: 11px;
    font-weight: 900;
}


/* =========================================================
   HERO CARD
========================================================= */

.hero-card {
    position: relative;

    background: rgba(255, 255, 255, .92);

    border: 1px solid rgba(218, 226, 239, .95);

    border-radius: 24px;

    padding: 25px;

    box-shadow: var(--shadow-lg);

    overflow: hidden;
}

.hero-card::before {
    content: "";

    position: absolute;

    width: 170px;
    height: 170px;

    right: -80px;
    top: -80px;

    border-radius: 50%;

    background: rgba(37, 99, 235, .06);
}

.hero-card-top {
    display: flex;
    align-items: center;

    gap: 14px;

    margin-bottom: 20px;
}

.hero-icon {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--blue-light);

    border: 1px solid #dbe7fb;

    border-radius: 14px;

    font-size: 22px;
}

.mini {
    color: var(--muted-light);

    font-size: 10px;
    font-weight: 850;

    letter-spacing: .12em;
}

.hero-card h3 {
    margin: 4px 0 0;

    font-size: 21px;

    letter-spacing: -.025em;
}

.line {
    min-height: 54px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;

    border-top: 1px solid var(--border);
}

.line span {
    display: flex;
    align-items: center;

    gap: 10px;

    color: #334155;

    font-size: 14px;
    font-weight: 650;
}

.line b {
    color: var(--muted-light);

    font-size: 10px;

    letter-spacing: .04em;
}

.line > strong {
    color: #a5b4c9;

    font-size: 16px;

    transition: transform .2s ease;
}

.line:hover > strong {
    color: var(--blue);
    transform: translateX(3px);
}

.hero-card-bottom {
    display: flex;
    align-items: center;

    gap: 7px;

    margin-top: 18px;

    padding-top: 15px;

    border-top: 1px solid var(--border);

    color: var(--muted);

    font-size: 11px;
    font-weight: 650;
}

.status-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--success);

    box-shadow:
        0 0 0 4px rgba(22, 163, 74, .09);
}


/* =========================================================
   SECTION
========================================================= */

.section {
    padding-top: 82px;
    padding-bottom: 82px;
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 25px;

    margin-bottom: 29px;
}

.eyebrow {
    color: var(--blue);

    font-size: 11px;
    font-weight: 900;

    letter-spacing: .12em;
}

.section h2 {
    margin: 7px 0 7px;

    color: var(--ink-dark);

    font-size: clamp(28px, 3vw, 36px);

    line-height: 1.15;

    letter-spacing: -.04em;
}

.section-head p {
    margin: 0;

    color: var(--muted);

    font-size: 14px;

    line-height: 1.6;
}

.section-number {
    color: #c5d0e0;

    font-size: 12px;
    font-weight: 850;

    letter-spacing: .1em;
}


/* =========================================================
   SCHOLARSHIP CARDS
========================================================= */

.cards.two {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 20px;
}

.feature {
    position: relative;

    min-width: 0;

    padding: 28px;

    border: 1px solid var(--border);

    border-radius: var(--radius-lg);

    text-decoration: none;

    color: var(--ink);

    overflow: hidden;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.feature::after {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    right: -90px;
    bottom: -110px;

    border-radius: 50%;

    background: rgba(37, 99, 235, .06);

    transition: transform .3s ease;
}

.feature:hover {
    transform: translateY(-5px);

    border-color: #d5e0f2;

    box-shadow: var(--shadow-md);
}

.feature:hover::after {
    transform: scale(1.25);
}

.scholarship {
    background:
        linear-gradient(
            145deg,
            #f5f8ff,
            #edf4ff
        );
}

.girls {
    background:
        linear-gradient(
            145deg,
            #fff8fc,
            #fff1f7
        );
}

.feature-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 24px;
}

.feature-icon {
    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255,255,255,.8);

    border: 1px solid rgba(255,255,255,.95);

    border-radius: 15px;

    font-size: 24px;

    box-shadow: var(--shadow-sm);
}

.feature-arrow {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255,255,255,.7);

    border: 1px solid rgba(219,226,238,.8);

    border-radius: 50%;

    color: #64748b;

    font-size: 16px;

    transition: .2s ease;
}

.feature:hover .feature-arrow {
    color: var(--blue);

    transform: translate(2px,-2px);
}

.feature-label {
    margin-bottom: 7px;

    color: var(--muted);

    font-size: 10px;
    font-weight: 850;

    letter-spacing: .11em;
}

.feature h3 {
    margin: 0 0 11px;

    color: var(--ink-dark);

    font-size: 23px;

    letter-spacing: -.035em;
}

.feature p {
    max-width: 600px;

    margin: 0;

    color: #64748b;

    font-size: 14px;

    line-height: 1.7;
}

.feature-tags {
    display: flex;

    flex-wrap: wrap;

    gap: 7px;

    margin-top: 23px;
}

.feature-tags span {
    padding: 6px 9px;

    background: rgba(255,255,255,.65);

    border: 1px solid rgba(215,224,238,.8);

    border-radius: 7px;

    color: #64748b;

    font-size: 10px;
    font-weight: 700;
}


/* =========================================================
   POPULAR SECTION
========================================================= */

.popular-section {
    background: var(--light);

    border-top: 1px solid #edf1f7;
    border-bottom: 1px solid #edf1f7;
}


/* =========================================================
   SOLUTION GRID
========================================================= */

.solution-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 18px;

    margin-top: 0;
}

.solution {
    position: relative;

    display: flex;
    flex-direction: column;

    min-width: 0;
    min-height: 255px;

    padding: 23px;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: 18px;

    box-shadow: 0 3px 12px rgba(15,35,70,.025);

    transition:
        transform .23s ease,
        box-shadow .23s ease,
        border-color .23s ease;
}

.solution:hover {
    transform: translateY(-4px);

    border-color: #d5e0f2;

    box-shadow: var(--shadow-md);
}

.solution-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 10px;
}

.tag {
    display: inline-flex;
    align-items: center;

    max-width: 85%;

    color: var(--blue);

    font-size: 10px;
    font-weight: 850;

    letter-spacing: .09em;

    text-transform: uppercase;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.solution-number {
    color: #cbd5e1;

    font-size: 16px;
    font-weight: 800;
}

.solution h3 {
    margin: 16px 0 10px;

    color: var(--ink-dark);

    font-size: 18px;

    line-height: 1.4;

    letter-spacing: -.025em;
}

.solution p {
    margin: 0;

    color: var(--muted);

    font-size: 13px;

    line-height: 1.7;
}

.solution-bottom {
    margin-top: auto;

    padding-top: 21px;
}

.solution a {
    display: inline-flex;
    align-items: center;

    gap: 6px;

    color: var(--blue);

    text-decoration: none;

    font-size: 13px;
    font-weight: 750;
}

.solution a span {
    transition: transform .2s ease;
}

.solution a:hover span {
    transform: translateX(4px);
}


/* =========================================================
   EMPTY STATE
========================================================= */

.empty {
    padding: 50px 25px;

    text-align: center;

    background: var(--white);

    border: 1px dashed var(--border-dark);

    border-radius: 18px;
}

.empty-icon {
    font-size: 30px;

    margin-bottom: 10px;
}

.empty h3 {
    margin: 0 0 5px;

    font-size: 18px;
}

.empty p {
    margin: 0;

    color: var(--muted);

    font-size: 13px;
}


/* =========================================================
   ARTICLE PAGE
========================================================= */

.article-page {
    background:
        linear-gradient(
            180deg,
            #f8faff 0,
            #ffffff 430px
        );

    min-height: calc(100vh - 74px);

    padding: 58px 0 85px;
}

.article {
    max-width: 850px;
}


/* Breadcrumb */

.breadcrumb {
    display: flex;
    align-items: center;

    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 26px;

    color: var(--muted);

    font-size: 12px;
    font-weight: 600;
}

.breadcrumb a {
    color: var(--blue);

    text-decoration: none;
}

.breadcrumb span:nth-child(2) {
    color: #c2cbd8;
}


/* Article header */

.article-header {
    margin-bottom: 34px;
}

.article-category {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    padding: 7px 10px;

    background: var(--blue-light);

    border: 1px solid #dbe7fb;

    border-radius: 8px;

    color: var(--blue);

    font-size: 10px;
    font-weight: 850;

    letter-spacing: .08em;

    text-transform: uppercase;
}

.category-dot {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: var(--blue);
}

.article h1 {
    margin: 17px 0 15px;

    color: var(--ink-dark);

    font-size: clamp(32px, 5vw, 48px);

    line-height: 1.13;

    letter-spacing: -.045em;
}

.article-meta {
    display: flex;
    align-items: center;

    flex-wrap: wrap;

    gap: 8px;

    color: var(--muted-light);

    font-size: 12px;
    font-weight: 600;
}

.meta-separator {
    color: #cbd5e1;
}


/* Article body */

.article-content {
    background: var(--white);

    border: 1px solid var(--border);

    border-radius: 20px;

    padding: 34px;

    box-shadow: var(--shadow-sm);
}

.content {
    color: #334155;

    font-size: 16px;

    line-height: 1.9;

    overflow-wrap: anywhere;
}

.content::first-letter {
    font-weight: 500;
}


/* Official source */

.official-box {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;

    margin-top: 35px;
    padding-top: 27px;

    border-top: 1px solid var(--border);
}

.official-label {
    color: var(--muted-light);

    font-size: 10px;
    font-weight: 850;

    letter-spacing: .1em;
}

.official-box p {
    margin: 6px 0 0;

    color: var(--muted);

    font-size: 12px;
    line-height: 1.5;
}

.official {
    display: inline-flex;
    align-items: center;

    gap: 7px;

    flex-shrink: 0;

    padding: 11px 15px;

    background: var(--blue);

    color: var(--white);

    border-radius: 10px;

    text-decoration: none;

    font-size: 12px;
    font-weight: 750;

    box-shadow:
        0 8px 18px rgba(37, 99, 235, .18);

    transition: .2s ease;
}

.official:hover {
    background: var(--blue-dark);

    transform: translateY(-1px);
}

.official span {
    font-size: 14px;
}


/* Article back */

.article-back {
    margin-top: 24px;
}

.article-back a {
    display: inline-flex;
    align-items: center;

    gap: 7px;

    color: var(--muted);

    text-decoration: none;

    font-size: 13px;
    font-weight: 650;
}

.article-back a:hover {
    color: var(--blue);
}

.article-back span {
    transition: transform .2s ease;
}

.article-back a:hover span {
    transform: translateX(-3px);
}


/* =========================================================
   FOOTER
========================================================= */

footer {
    background: #0b1830;

    color: #dce6f5;

    padding: 45px 0;

    border-top: 1px solid #172640;
}

.foot {
    display: flex;

    align-items: flex-start;
    justify-content: space-between;

    gap: 60px;
}

.footer-brand {
    max-width: 440px;
}

.footer-logo {
    color: white;
}

.footer-logo .brand-name {
    color: white;
}

.footer-brand > p {
    margin: 18px 0 0;

    color: #91a3bd;

    font-size: 13px;

    line-height: 1.7;
}

.footer-brand .copyright {
    margin-top: 19px;

    color: #657994;

    font-size: 11px;
}

.footer-links {
    display: flex;
    flex-direction: column;

    gap: 11px;

    min-width: 160px;
}

.footer-title {
    margin-bottom: 4px;

    color: #6f83a1;

    font-size: 10px;
    font-weight: 850;

    letter-spacing: .12em;
}

.footer-links a {
    color: #c6d3e5;

    text-decoration: none;

    font-size: 13px;
    font-weight: 600;

    transition: color .2s ease;
}

.footer-links a:hover {
    color: white;
}


/* =========================================================
   SEARCH SUPPORT
   Kept for future search UI
========================================================= */

.search {
    display: flex;
    align-items: stretch;

    width: 100%;
    max-width: 690px;

    margin-top: 28px;

    padding: 6px;

    background: var(--white);

    border: 1px solid #dce4f2;

    border-radius: 14px;

    box-shadow: var(--shadow-md);
}

.search input {
    flex: 1;

    min-width: 0;

    border: 0;
    outline: 0;

    background: transparent;

    padding: 13px;

    color: var(--ink);

    font-size: 14px;
}

.search button {
    flex-shrink: 0;

    border: 0;

    padding: 0 23px;

    background: var(--blue);

    color: white;

    border-radius: 10px;

    font-weight: 750;

    cursor: pointer;
}

.search button:hover {
    background: var(--blue-dark);
}

.quick {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-top: 15px;
}

.quick a {
    padding: 8px 11px;

    background: white;

    border: 1px solid var(--border);

    border-radius: 8px;

    color: #475569;

    text-decoration: none;

    font-size: 12px;
}


/* =========================================================
   BRANCH GRID SUPPORT
========================================================= */

.branch-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 14px;

    margin-top: 28px;
}

.branch-grid a {
    padding: 19px;

    background: white;

    border: 1px solid var(--border);

    border-radius: 14px;

    color: var(--ink);

    text-decoration: none;

    font-weight: 700;

    transition: .2s ease;
}

.branch-grid a:hover {
    transform: translateY(-3px);

    box-shadow: var(--shadow-md);
}

.branch-grid span {
    display: block;

    margin-bottom: 11px;

    font-size: 24px;
}

.branch-grid small {
    display: block;

    margin-top: 10px;

    color: var(--blue);

    font-size: 11px;
}


/* =========================================================
   FOCUS STATES
========================================================= */

a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 3px solid rgba(37, 99, 235, .25);

    outline-offset: 3px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .hero {
        padding: 72px 0 80px;
    }

    .hero-grid {
        grid-template-columns: 1fr;

        gap: 42px;
    }

    .hero-content {
        max-width: 750px;
    }

    .hero-card {
        max-width: 650px;
    }

    .solution-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .branch-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 680px) {

    .wrap {
        padding-left: 17px;
        padding-right: 17px;
    }


    /* Header */

    .top {
        height: 66px;
    }

    .brand-mark {
        width: 35px;
        height: 35px;

        border-radius: 9px;

        font-size: 12px;
    }

    .brand-name {
        margin-left: 8px;

        font-size: 18px;
    }

    .desktop-nav {
        display: none;
    }

    .article-nav a {
        padding: 8px 10px;

        font-size: 12px;
    }


    /* Hero */

    .hero {
        padding: 55px 0 62px;
    }

    .hero h1 {
        margin-top: 17px;

        font-size: clamp(36px, 10vw, 46px);

        letter-spacing: -.05em;
    }

    .hero p {
        font-size: 15px;

        line-height: 1.7;
    }

    .hero-points {
        flex-direction: column;

        align-items: flex-start;

        gap: 10px;
    }

    .hero-card {
        padding: 20px;

        border-radius: 19px;
    }

    .hero-card h3 {
        font-size: 19px;
    }


    /* Sections */

    .section {
        padding-top: 62px;
        padding-bottom: 62px;
    }

    .section-head {
        align-items: flex-start;

        margin-bottom: 23px;
    }

    .section-number {
        display: none;
    }

    .section h2 {
        font-size: 29px;
    }

    .section-head p {
        max-width: 330px;

        font-size: 13px;
    }


    /* Scholarship */

    .cards.two {
        grid-template-columns: 1fr;

        gap: 14px;
    }

    .feature {
        padding: 22px;

        border-radius: 18px;
    }

    .feature h3 {
        font-size: 21px;
    }

    .feature p {
        font-size: 13px;
    }


    /* Popular */

    .solution-grid {
        grid-template-columns: 1fr;

        gap: 13px;
    }

    .solution {
        min-height: auto;

        padding: 21px;
    }


    /* Article */

    .article-page {
        padding: 40px 0 60px;
    }

    .breadcrumb {
        margin-bottom: 20px;

        font-size: 11px;
    }

    .article h1 {
        font-size: 32px;

        line-height: 1.17;
    }

    .article-content {
        padding: 22px 18px;

        border-radius: 16px;
    }

    .content {
        font-size: 15px;

        line-height: 1.85;
    }

    .official-box {
        flex-direction: column;

        align-items: flex-start;

        gap: 16px;
    }

    .official {
        width: 100%;

        justify-content: center;
    }


    /* Footer */

    footer {
        padding: 38px 0;
    }

    .foot {
        flex-direction: column;

        gap: 30px;
    }

    .footer-brand {
        max-width: 100%;
    }

    .footer-links {
        width: 100%;
    }


    /* Search */

    .search {
        flex-direction: column;

        padding: 6px;
    }

    .search input {
        width: 100%;
    }

    .search button {
        min-height: 45px;
    }


    /* Branch */

    .branch-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 10px;
    }

    .branch-grid a {
        padding: 15px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 390px) {

    .wrap {
        padding-left: 14px;
        padding-right: 14px;
    }

    .brand-name {
        font-size: 17px;
    }

    .brand-mark {
        width: 33px;
        height: 33px;
    }

    .hero {
        padding-top: 47px;
    }

    .badge {
        font-size: 9px;

        padding: 8px 10px;
    }

    .hero h1 {
        font-size: 35px;
    }

    .hero-card {
        padding: 17px;
    }

    .line span {
        font-size: 12px;
    }

    .feature {
        padding: 19px;
    }

    .feature h3 {
        font-size: 19px;
    }

    .feature-tags span {
        font-size: 9px;
    }

    .article h1 {
        font-size: 29px;
    }

    .article-content {
        padding: 20px 15px;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

}
