/* Global Learning page — uses vars from style.css
   (--primary, --secondary, --accent, --dark, --white,
   --light-bg, --text-dark, --text-light). Shared card/section
   styles (home-topuni-*, home-section, trending-*, home-scholar-*,
   home-articles-*, enquiry-modal) included below so this page
   renders fine standalone too. */

/* Hero */
.gl-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(ellipse 620px 500px at 8% 8%, rgba(37,117,252,0.25), transparent 62%),
        radial-gradient(ellipse 520px 420px at 92% 100%, rgba(85,171,215,0.35), transparent 65%),
        linear-gradient(150deg, var(--dark) 0%, var(--primary) 58%, #1a4f86 100%);
    padding: 76px 0;
}

.gl-hero-glow {
    position: absolute;
    z-index: 0;
    top: -18%;
    right: -6%;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    filter: blur(90px);
    background: radial-gradient(circle, rgba(85,171,215,0.4), transparent 70%);
    pointer-events: none;
}

.gl-hero-grid {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    flex-wrap: wrap;
}

.gl-hero-left {
    flex: 1;
    min-width: 320px;
}

.gl-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.22);
    padding: 7px 18px;
    border-radius: 30px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    margin-bottom: 20px;
}

.gl-hero-eyebrow svg {
    color: var(--accent);
    flex-shrink: 0;
}

.gl-hero-title {
    color: var(--white);
    font-size: clamp(1.7rem, 4.2vw, 2.7rem);
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.22;
    letter-spacing: -0.5px;
}

.gl-hero-title span {
    font-family: Georgia, 'Times New Roman', serif;
    font-style: italic;
    font-weight: 500;
    color: var(--accent);
}

.gl-hero-sub {
    color: #cfd9f0;
    max-width: 460px;
    margin-bottom: 28px;
    font-size: 1rem;
    line-height: 1.65;
}

.gl-hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.gl-hero-chip {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    color: #eaf1ff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 30px;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.gl-hero-chip:hover {
    background: rgba(255,255,255,0.16);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.gl-hero-chip.active {
    background: var(--white);
    border-color: var(--white);
    color: var(--dark);
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(0,0,0,0.18);
}

.gl-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.gl-hero-actions-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.25s ease;
}

.gl-hero-actions-btn-light {
    background: var(--white);
    color: var(--primary);
    border: none;
}

.gl-hero-actions-btn-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(0,0,0,0.2);
    color: var(--primary);
}

.gl-hero-actions-btn-outline {
    border: 1.5px solid rgba(255,255,255,0.5);
    color: var(--white);
    background: transparent;
}

.gl-hero-actions-btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

/* Floating search card, right column */
.gl-hero-right {
    width: 380px;
    flex-shrink: 0;
}

.gl-search-card {
    background: var(--white);
    border-radius: 20px;
    padding: 28px 26px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.3);
    transition: transform 0.45s cubic-bezier(.2,.8,.2,1), box-shadow 0.45s ease;
    transform: perspective(1000px) rotateX(0) rotateY(0) translateY(0);
    will-change: transform;
}

.gl-search-card:hover {
    transform: perspective(1000px) rotateX(4deg) rotateY(-5deg) translateY(-10px);
    box-shadow: 0 36px 70px rgba(0,0,0,0.4);
}

.gl-search-card-eyebrow {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 8px;
}

.gl-search-card h3 {
    font-size: 1.1rem;
    line-height: 1.35;
    margin-bottom: 20px;
    color: var(--dark);
}

.gl-search-card-field {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--light-bg);
    border: 1px solid #e2e6ec;
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 22px;
    transition: border-color 0.2s ease;
}

.gl-search-card-field:focus-within {
    border-color: var(--primary);
}

.gl-search-card-field svg {
    color: var(--text-light);
    flex-shrink: 0;
}

.gl-search-card-field input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-family: inherit;
    font-size: 0.88rem;
    color: var(--text-dark);
    min-width: 0;
    width: 100%;
}

.gl-search-card-stats {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding-top: 18px;
    border-top: 1px solid #eee;
}

.gl-search-card-stats div {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: center;
    flex: 1;
}

.gl-search-card-stats strong {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--primary);
}

.gl-search-card-stats span {
    font-size: 0.68rem;
    color: var(--text-light);
}

@media (max-width: 992px) {
    .gl-hero { padding: 56px 0; }
    .gl-hero-right { width: 100%; }
    .gl-hero-grid { gap: 36px; }
}

@media (max-width: 600px) {
    .gl-hero { padding: 44px 0; }
    .gl-hero-title { font-size: 1.7rem; }
    .gl-search-card { padding: 22px 20px; }
}

/* Filter tabs — sticky pill bar, same as other listing pages */
.gl-tabs-wrapper {
    background: var(--white);
    border-bottom: 1px solid #eee;
    position: -webkit-sticky;
    position: sticky;
    top: 72px;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.gl-tabs-inner {
    display: flex;
    justify-content: center;
    gap: 8px;
    overflow-x: auto;
    padding: 14px 16px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.gl-tabs-inner::-webkit-scrollbar {
    display: none;
}

.gl-tab-btn {
    background: var(--light-bg);
    border: none;
    padding: 10px 22px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
    border-radius: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.25s ease;
    font-family: inherit;
}

.gl-tab-btn:hover {
    background: #eaf2fb;
    color: var(--primary);
}

.gl-tab-btn.active {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: var(--white);
    box-shadow: 0 4px 12px rgba(37,117,252,0.3);
}

.gl-tab-badge {
    background: rgba(255,255,255,0.6);
    color: var(--dark);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 9px;
    border-radius: 20px;
}

.gl-tab-btn.active .gl-tab-badge {
    background: rgba(255,255,255,0.9);
    color: var(--primary);
}

@media (max-width: 992px) {
    .gl-tabs-wrapper { top: 64px; }
}

@media (max-width: 640px) {
    .gl-tabs-inner { justify-content: flex-start; gap: 6px; padding: 12px 16px; }
    .gl-tab-btn { padding: 8px 16px; font-size: 0.82rem; }
    .gl-tabs-wrapper { top: 0; }
}

.gl-showing-line {
    color: var(--text-light);
    font-size: 0.86rem;
    margin: 0 0 18px;
    padding: 0 4px;
}

/* Grid section wrapper + empty state */
.gl-grid-section {
    padding-top: 40px;
}

.gl-empty-state {
    display: none;
    text-align: center;
    color: var(--text-light);
    font-size: 0.92rem;
    padding: 50px 20px;
}

.gl-empty-state.show {
    display: block;
}

/* Why choose online learning — checklist cards */
.gl-why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}

.gl-why-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--white);
    border: 1px solid #edf0f4;
    border-radius: 14px;
    padding: 16px 20px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
    box-shadow: 0 2px 10px rgba(20,40,70,0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.gl-why-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(20,40,70,0.1);
    border-color: #d7e6fb;
}

.gl-why-item svg {
    color: #2e8b57;
    background: #eafaf0;
    border-radius: 50%;
    padding: 6px;
    width: 32px;
    height: 32px;
    box-sizing: border-box;
    flex-shrink: 0;
}

@media (max-width: 700px) {
    .gl-why-grid {
        grid-template-columns: 1fr;
    }
}

/* Online vs on-campus — comparison table.
   A single CSS Grid holds every cell (header + rows). Each cell carries
   an explicit inline grid-row (set from PHP) and a class-based
   grid-column, so a separate ".gl-compare-highlight" item can span
   grid-column 2 across every row (1 / -1) as a raised "featured
   column" panel sitting behind the Online cells. Header/row wrapper
   divs use display:contents purely so :hover / zebra striping can
   target a whole logical row without breaking the grid's auto layout. */
.gl-compare {
    position: relative;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    max-width: 920px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 20px;
    border: 1px solid #edf0f4;
    box-shadow: 0 14px 34px rgba(20,40,70,0.08);
    padding: 6px;
}

.gl-compare-highlight {
    grid-column: 2;
    grid-row: 1 / -1;
    z-index: 0;
    align-self: stretch;
    justify-self: stretch;
    margin: 8px 4px;
    border-radius: 16px;
    background: linear-gradient(180deg, #eef5ff 0%, #f7fbff 100%);
    box-shadow: 0 10px 24px rgba(37,117,252,0.14);
}

.gl-compare-head-row,
.gl-compare-data-row {
    display: contents;
}

.gl-compare-cell {
    position: relative;
    z-index: 1;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.gl-compare-cell-feature { grid-column: 1; }
.gl-compare-cell-online { grid-column: 2; }
.gl-compare-cell-campus { grid-column: 3; }
.gl-compare-cell-feature-head { grid-column: 1; }
.gl-compare-cell-online-head { grid-column: 2; }
.gl-compare-cell-campus-head { grid-column: 3; }

/* Header */
.gl-compare-cell-feature-head,
.gl-compare-cell-online-head,
.gl-compare-cell-campus-head {
    padding-top: 20px;
    padding-bottom: 16px;
    font-weight: 800;
    font-size: 0.94rem;
    color: var(--dark);
    border-bottom: 1px solid #e9edf3;
}

.gl-compare-cell-online-head {
    color: var(--primary);
    border-bottom: none;
}

.gl-compare-tag {
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: var(--white);
    background: var(--accent);
    padding: 3px 9px;
    border-radius: 20px;
}

/* Feature icon badge */
.gl-compare-feature-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #eaf2fb;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.gl-compare-cell-feature {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.86rem;
}

.gl-compare-cell-online {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.87rem;
}

.gl-compare-check {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #2e8b57;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 3px 8px rgba(46,139,87,0.35);
}

.gl-compare-cell-campus {
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.86rem;
}

.gl-compare-cell-campus svg {
    color: #c3cbd6;
    flex-shrink: 0;
}

/* Zebra striping — feature/campus columns only; the online column
   already sits on its own highlighted panel background. */
.gl-compare-row-alt .gl-compare-cell-feature,
.gl-compare-row-alt .gl-compare-cell-campus {
    background: #fafbfd;
}

/* Row separators between data rows (skip the very first row) */
.gl-compare-cell-feature:not(.gl-compare-cell-feature-head),
.gl-compare-cell-campus:not(.gl-compare-cell-campus-head) {
    border-bottom: 1px solid #f1f3f6;
}

/* Whole-row hover: targets every cell sharing the same grid-row via
   the display:contents wrapper's :hover state. */
.gl-compare-data-row:hover .gl-compare-cell-feature,
.gl-compare-data-row:hover .gl-compare-cell-campus {
    background: #f0f6ff;
}

.gl-compare-data-row:hover .gl-compare-cell-feature {
    box-shadow: inset 3px 0 0 var(--primary);
}

.gl-compare-data-row:hover .gl-compare-cell-online,
.gl-compare-data-row:hover .gl-compare-cell-campus {
    transform: translateX(3px);
}

@media (max-width: 700px) {
    .gl-compare {
        grid-template-columns: 1fr;
        padding: 4px;
    }
    .gl-compare-highlight { display: none; }
    .gl-compare-head-row { display: none; }

    .gl-compare-cell {
        grid-column: 1 !important;
        padding: 3px 18px;
    }

    .gl-compare-cell-feature {
        padding-top: 16px;
        font-size: 0.7rem;
        text-transform: uppercase;
        letter-spacing: 0.4px;
        color: var(--text-light);
        border-bottom: none !important;
    }

    .gl-compare-cell-campus {
        padding-bottom: 16px;
    }

    .gl-compare-feature-icon { display: none; }

    .gl-compare-cell-online::before {
        content: "Online: ";
        color: var(--text-light);
        font-weight: 600;
        text-transform: none;
    }
    .gl-compare-cell-campus::before {
        content: "On-Campus: ";
        color: var(--text-light);
        font-weight: 600;
    }

    .gl-compare-row-alt .gl-compare-cell-feature,
    .gl-compare-row-alt .gl-compare-cell-campus {
        background: transparent;
    }

    .gl-compare-data-row:hover .gl-compare-cell-feature,
    .gl-compare-data-row:hover .gl-compare-cell-campus {
        background: #f7fafd;
        box-shadow: none;
    }
}

/* How it works — connected stepper cards */
.gl-steps-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    margin-top: 50px;
    gap: 24px;
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
}

.gl-steps-grid::before {
    content: "";
    position: absolute;
    top: 30px;
    left: calc(12.5% + 30px);
    right: calc(12.5% + 30px);
    height: 2px;
    background-image: linear-gradient(to right, #d7e4f3 0 8px, transparent 8px 16px);
    background-size: 16px 2px;
    background-repeat: repeat-x;
    z-index: 1;
}

.gl-step {
    flex: 1;
    background: var(--white);
    border-radius: 16px;
    padding: 46px 20px 26px;
    text-align: center;
    position: relative;
    box-shadow: 0 8px 22px rgba(20,40,70,0.07);
    z-index: 2;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gl-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(20,40,70,0.12);
}

.gl-step-top {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.gl-step-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--dark), var(--primary));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 18px rgba(4,26,87,0.25);
}

.gl-step-index {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--accent);
    color: var(--dark);
    font-size: 0.68rem;
    font-weight: 800;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--white);
}

.gl-step h4 {
    font-size: 1.02rem;
    color: var(--dark);
    margin: 6px 0 8px;
}

.gl-step p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.55;
}

@media (max-width: 900px) {
    .gl-steps-grid {
        flex-wrap: wrap;
        margin-top: 40px;
    }
    .gl-steps-grid::before { display: none; }
    .gl-step { flex: 1 1 45%; }
}

@media (max-width: 480px) {
    .gl-steps-grid { flex-direction: column; }
    .gl-step { flex: 1 1 100%; }
}

/* FAQ accordion */
.gl-faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gl-faq-item {
    background: var(--light-bg);
    border: 1px solid #edf0f4;
    border-radius: 14px;
    overflow: hidden;
    transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.gl-faq-item:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(20,40,70,0.08); }

.gl-faq-item.open {
    background: var(--white);
    border-color: var(--accent);
    box-shadow: 0 8px 20px rgba(20,40,70,0.08);
}

.gl-faq-question {
    width: 100%;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
    color: var(--dark);
    cursor: pointer;
    font-family: inherit;
}

.gl-faq-item.open .gl-faq-question { color: var(--primary); }

.gl-faq-question svg {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    padding: 5px;
    box-sizing: border-box;
    border-radius: 50%;
    background: var(--white);
    color: var(--text-light);
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.gl-faq-item.open .gl-faq-question svg {
    transform: rotate(180deg);
    background: linear-gradient(135deg, #fdf3e4, #fef8ee);
    color: var(--accent);
}

.gl-faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }

.gl-faq-answer p {
    padding: 0 22px 18px;
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* Quick CTA */
.gl-quickcta {
    position: relative;
    overflow: hidden;
    background: linear-gradient(120deg, var(--dark), var(--primary));
    border-radius: 22px;
    padding: 38px 44px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.gl-quickcta::before {
    content: "";
    position: absolute;
    top: -60px;
    right: -40px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(85,171,215,0.28), transparent 70%);
    pointer-events: none;
}

.gl-quickcta-top {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.gl-quickcta-left { display: flex; align-items: flex-start; gap: 16px; }

.gl-quickcta-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.gl-quickcta-left h3 { color: var(--white); font-size: 1.3rem; margin: 0 0 6px; }
.gl-quickcta-left p { color: #cfd9f0; font-size: 0.9rem; max-width: 460px; line-height: 1.55; margin: 0; }

.gl-quickcta-actions { display: flex; gap: 12px; flex-wrap: wrap; flex-shrink: 0; }

.gl-quickcta-btn-light, .gl-quickcta-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 24px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.88rem;
    white-space: nowrap;
    transition: all 0.25s ease;
    text-decoration: none;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.gl-quickcta-btn-light { background: var(--white); color: var(--primary); }

.gl-quickcta-btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0,0,0,0.2);
    color: var(--primary);
}

.gl-quickcta-btn-outline { border: 1.5px solid rgba(255,255,255,0.45); color: var(--white); background: transparent; }

.gl-quickcta-btn-outline:hover { background: rgba(255,255,255,0.12); border-color: var(--white); color: var(--white); }

.gl-quickcta-trust {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 12px 28px;
    flex-wrap: wrap;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.gl-quickcta-trust span {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.82rem;
    font-weight: 500;
    color: #eaf1ff;
    white-space: nowrap;
}

.gl-quickcta-trust svg {
    color: var(--accent);
    flex-shrink: 0;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    padding: 3px;
    width: 20px;
    height: 20px;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .gl-quickcta { padding: 28px 24px; }
    .gl-quickcta-top { flex-direction: column; align-items: flex-start; }
    .gl-quickcta-actions { width: 100%; }
    .gl-quickcta-btn-light, .gl-quickcta-btn-outline { flex: 1; justify-content: center; }
}

/* Shared section header, used by common-sections.php */
.home-section {
    padding: 64px 0;
}

.home-section-head {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 40px;
}

.home-section-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 8px;
    display: block;
}

.home-section-head h2 {
    font-size: 1.7rem;
    margin-bottom: 10px;
}

.home-section-head p {
    color: var(--text-light);
    font-size: 0.94rem;
}

.bg-light-custom {
    background-color: var(--light-bg);
}

/* Top universities card — shared with home.php via common-sections.php */
.home-topuni-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.home-topuni-card {
    display: flex;
    align-items: stretch;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(20,40,70,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.2s ease;
}

.home-topuni-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 44px rgba(20,40,70,0.18);
}

.home-topuni-card[data-href] {
    cursor: pointer;
}

.home-topuni-card.gl-hidden {
    display: none;
}

.home-topuni-left {
    width: 240px;
    flex-shrink: 0;
    background: linear-gradient(160deg, var(--dark), var(--primary));
    color: var(--white);
    padding: 24px 26px;
    display: flex;
    flex-direction: column;
}

.home-topuni-flagimg {
    width: 40px;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.3);
    margin-bottom: 10px;
    display: block;
}

.home-topuni-country {
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.home-topuni-city {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.78rem;
    color: #cfd9f0;
    margin-bottom: 14px;
}

.home-topuni-detail-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.15);
    margin-bottom: 14px;
}

.home-topuni-detail-list li {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.home-topuni-detail-list span {
    font-size: 0.64rem;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #9db3d8;
}

.home-topuni-detail-list strong {
    font-size: 0.84rem;
    font-weight: 700;
}

.home-topuni-explore {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--white);
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 12px;
    margin-top: auto;
    transition: color 0.2s ease;
}

.home-topuni-explore svg {
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.home-topuni-explore:hover svg {
    transform: translateX(3px);
}

.home-topuni-main {
    flex: 1;
    min-width: 0;
    background: #eaf2fb;
    padding: 26px 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.home-topuni-main-top {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.home-topuni-logo {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--white);
    border: 1px solid #d7e4f3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: var(--primary);
    font-size: 0.88rem;
    flex-shrink: 0;
}

.home-topuni-title {
    flex: 1;
    min-width: 160px;
}

.home-topuni-title h3 {
    font-size: 1.18rem;
    color: var(--dark);
    margin-bottom: 4px;
}

.home-topuni-title span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 2px;
}

.home-topuni-qs {
    background: var(--dark);
    color: var(--white);
    font-size: 0.68rem;
    font-weight: 700;
    text-align: center;
    padding: 6px 12px;
    border-radius: 8px;
    line-height: 1.3;
    flex-shrink: 0;
}

.home-topuni-qs small {
    display: block;
    font-size: 0.62rem;
    font-weight: 500;
    opacity: 0.75;
}

.home-topuni-statrow {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.home-topuni-statbox {
    background: var(--white);
    border-radius: 10px;
    padding: 11px 16px;
    flex: 1;
    min-width: 140px;
}

.home-topuni-statbox span {
    display: block;
    font-size: 0.66rem;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--text-light);
    margin-bottom: 3px;
}

.home-topuni-statbox strong {
    font-weight: 700;
    color: var(--dark);
    font-size: 0.92rem;
}

.home-topuni-statbox strong em {
    font-style: normal;
    font-weight: 500;
    font-size: 0.7rem;
    color: var(--text-light);
    margin-left: 2px;
}

.home-topuni-pillarlabel {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--text-light);
}

.home-topuni-pillargrid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.home-topuni-pillarcard {
    background: var(--white);
    border-radius: 10px;
    padding: 10px 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-topuni-pillarcard:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(20,40,70,0.1);
}

.home-topuni-pillarcard-top {
    margin-bottom: 8px;
}

.home-topuni-pillarcard-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.68rem;
    line-height: 1.3;
    min-height: 2.6em;
    color: var(--text-light);
    margin-bottom: 6px;
}

.home-topuni-pillarcard-scorerow {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 6px;
}

.home-topuni-pillarcard-score {
    font-weight: 800;
    color: var(--dark);
    font-size: 0.88rem;
    white-space: nowrap;
}

.home-topuni-pillarcard-score small {
    font-weight: 500;
    font-size: 0.64rem;
    color: var(--text-light);
    margin-left: 1px;
}

.home-topuni-pillarcard-rank {
    background: var(--light-bg);
    color: var(--text-light);
    font-size: 0.62rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 6px;
    flex-shrink: 0;
}

.home-topuni-pillartrack {
    height: 5px;
    border-radius: 5px;
    background: #e4eaf2;
    overflow: hidden;
}

.home-topuni-pillarfill {
    height: 100%;
    border-radius: 5px;
    background: linear-gradient(90deg, #f5c344, #f5a623);
}

@media (max-width: 900px) {
    .home-topuni-pillargrid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .home-topuni-pillargrid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.home-topuni-scholar {
    font-size: 0.8rem;
    font-weight: 600;
    color: #2e8b57;
    width: fit-content;
}

.home-topuni-right {
    width: 270px;
    flex-shrink: 0;
    background: #eaf2fb;
    border-left: 1px solid #d7e4f3;
    padding: 22px 22px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.home-topuni-expert-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.home-topuni-avatar {
    position: relative;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: var(--dark);
    color: var(--white);
    font-weight: 700;
    font-size: 0.78rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.home-topuni-dot {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #2e8b57;
    border: 2px solid var(--white);
}

.home-topuni-expert-row strong {
    display: block;
    font-size: 0.84rem;
    color: var(--dark);
}

.home-topuni-expert-row span {
    font-size: 0.72rem;
    color: var(--text-light);
}

.home-topuni-expert-stats {
    display: flex;
    justify-content: space-between;
    background: var(--white);
    border-radius: 10px;
    padding: 10px 14px;
}

.home-topuni-expert-stats div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.home-topuni-expert-stats strong {
    font-size: 0.86rem;
    color: var(--dark);
}

.home-topuni-expert-stats span {
    font-size: 0.7rem;
    color: var(--text-light);
}

.home-topuni-expert-stats div:first-child span {
    color: #f5a623;
    letter-spacing: 1px;
}

.home-topuni-support {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: var(--text-light);
}

.home-topuni-free {
    background: #eafaf0;
    color: #2e8b57;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 20px;
    text-transform: none;
    letter-spacing: 0;
}

.home-topuni-enquire {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(160deg, var(--dark), var(--primary));
    color: var(--white);
    font-weight: 700;
    font-size: 0.86rem;
    padding: 11px;
    border-radius: 10px;
    transition: all 0.25s ease;
    cursor: pointer;
    border: none;
    width: 100%;
}

.home-topuni-enquire svg {
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.home-topuni-enquire:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(4,26,87,0.25);
    color: var(--white);
}

.home-topuni-enquire:hover svg {
    transform: translateX(3px);
}

.home-topuni-contact-row {
    display: flex;
    gap: 8px;
}

.home-topuni-contact-row a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    border: 1px solid #d7e4f3;
    background: var(--white);
    border-radius: 8px;
    padding: 8px 4px;
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--dark);
    transition: all 0.2s ease;
}

.home-topuni-contact-row a:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.home-topuni-activity {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--white);
    border-radius: 20px;
    padding: 7px 12px;
    font-size: 0.7rem;
    color: var(--text-light);
}

.home-topuni-activity-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #2e8b57;
    flex-shrink: 0;
}

.home-topuni-more-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.home-topuni-heart {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1.5px solid #d7e4f3;
    background: var(--white);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.home-topuni-heart:hover {
    border-color: #e0567a;
    color: #e0567a;
}

.home-topuni-more {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--primary);
}

.home-topuni-viewall {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.home-topuni-viewall .btn-outline-dark {
    border: 1.5px solid #d7dfe8;
    color: var(--dark);
    font-weight: 700;
    padding: 12px 26px;
    border-radius: 30px;
    transition: all 0.25s ease;
}

.home-topuni-viewall .btn-outline-dark:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.home-topuni-viewall .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: var(--white);
    font-weight: 700;
    padding: 12px 26px;
    border-radius: 30px;
    transition: all 0.25s ease;
}

.home-topuni-viewall .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(37,117,252,0.35);
    color: var(--white);
}

@media (max-width: 992px) {
    .home-topuni-card {
        flex-wrap: wrap;
    }
    .home-topuni-left {
        width: 100%;
    }
    .home-topuni-right {
        width: 100%;
        border-left: none;
        border-top: 1px solid #d7e4f3;
    }
}

@media (max-width: 600px) {
    .home-topuni-statbox {
        min-width: 120px;
    }
}

/* Trending programs / course-item-card — shared */
.trending-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 26px;
}

.trending-header-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.trending-header .home-section-eyebrow {
    display: block;
    margin-bottom: 6px;
}

.trending-header h2 {
    font-size: 1.35rem;
    margin-bottom: 2px;
}

.trending-header p {
    color: var(--text-light);
    font-size: 0.86rem;
}

.trending-viewall {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    border: 1.5px solid #d7dfe8;
    color: var(--dark);
    font-weight: 700;
    font-size: 0.86rem;
    padding: 11px 22px;
    border-radius: 30px;
    white-space: nowrap;
    transition: all 0.25s ease;
}

.trending-viewall:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(37,117,252,0.15);
}

.trending-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.course-item-card {
    display: flex;
    align-items: stretch;
    background: var(--white);
    border: 1px solid #cfe0f5;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(20,40,70,0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.course-item-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(20,40,70,0.1);
}

.course-card-uni {
    width: 240px;
    flex-shrink: 0;
    padding: 20px 22px;
    border-right: 1px solid #eee;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

.course-card-logo {
    width: 56px;
    height: 40px;
    border-radius: 6px;
    background: var(--white);
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 3px;
    font-weight: 800;
    color: var(--primary);
    font-size: 0.72rem;
}

.course-card-uniname {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 700;
    color: var(--dark);
    font-size: 0.88rem;
    line-height: 1.3;
}

.course-card-uniname svg {
    color: #2e8b57;
    flex-shrink: 0;
}

.course-card-loc {
    font-size: 0.74rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 4px;
}

.course-card-main {
    flex: 1;
    min-width: 0;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

.course-card-badge-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.course-card-level {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    background: var(--light-bg);
    color: var(--dark);
    padding: 4px 10px;
    border-radius: 6px;
}

.course-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.course-card-title:hover {
    color: var(--primary);
}

.course-card-meta {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.85;
}

.course-card-meta strong {
    color: var(--dark);
    font-weight: 600;
}

.course-card-apply {
    width: 300px;
    flex-shrink: 0;
    background: linear-gradient(160deg, var(--dark), var(--primary));
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.course-card-apply-head {
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.course-card-apply-head strong {
    display: block;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--white);
}

.course-card-apply-head span {
    font-size: 0.74rem;
    color: #cfd9f0;
}

.course-card-apply-body {
    padding: 10px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.course-card-apply-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--white);
}

.course-card-apply-row svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--white);
}

.course-card-apply-row strong {
    display: block;
    font-weight: 700;
    font-size: 0.82rem;
    color: var(--white);
}

.course-card-apply-row span {
    color: #cfd9f0;
    font-size: 0.74rem;
}

.course-card-apply-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 20px 14px;
}

.course-card-heart {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--white);
    background: transparent;
    transition: all 0.2s ease;
}

.course-card-heart:hover {
    background: rgba(255,255,255,0.15);
    border-color: var(--white);
}

.course-card-apply-btn {
    flex: 1.3;
    background: var(--white);
    color: var(--dark);
    font-weight: 700;
    font-size: 0.82rem;
    text-align: center;
    padding: 8px 8px;
    border-radius: 8px;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.course-card-apply-btn:hover {
    background: var(--accent);
    color: var(--white);
}

.course-card-more-link {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 8px 6px;
    border-radius: 8px;
    border: 1.5px solid rgba(255,255,255,0.4);
    background: transparent;
    color: var(--white);
    font-size: 0.76rem;
    font-weight: 600;
    white-space: nowrap;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.course-card-apply .course-card-more-link:hover {
    background: rgba(255,255,255,0.18);
    border-color: var(--white);
    color: var(--white);
}

@media (max-width: 780px) {
    .course-item-card {
        flex-direction: column;
    }
    .course-card-uni {
        width: 100%;
        flex-direction: row;
        align-items: center;
        border-right: none;
        border-bottom: 1px solid #eee;
    }
    .course-card-apply {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .trending-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .trending-viewall {
        width: 100%;
        justify-content: center;
    }
}

/* Scholarships — shared */
.home-scholar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 18px;
}

.home-scholarcard {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid #edf0f4;
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(20,40,70,0.04);
}

.home-scholarcard:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(20,40,70,0.14);
    border-color: var(--accent);
}

.home-scholarcard-level {
    width: auto;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    background: linear-gradient(90deg, var(--dark), var(--primary));
    padding: 12px 20px;
    text-align: left;
}

.home-scholarcard-level span {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: var(--dark);
    background: var(--white);
    padding: 2px 8px;
    border-radius: 6px;
}

.home-scholarcard-level strong {
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.home-scholarcard-body {
    flex: 1;
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.home-scholarcard-org {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: var(--text-light);
}

.home-scholarcard-org strong {
    color: var(--dark);
    text-transform: none;
    font-size: 0.84rem;
}

.home-scholarcard-title {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.02rem;
    line-height: 1.35;
    min-height: 2.7em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-scholarcard-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px dashed #e6ecf5;
}

.home-scholarcard-amount {
    font-size: 0.72rem;
    font-weight: 700;
    color: #b5790f;
    background: #fdf3e4;
    border: 1px solid #f5e3c2;
    padding: 3px 10px;
    border-radius: 20px;
}

.home-scholarcard-deadline {
    font-size: 0.74rem;
    color: var(--text-light);
}

.home-scholarcard-apply {
    margin-top: 10px;
    text-align: center;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: var(--white);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 11px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.25s ease;
}

.home-scholarcard-apply:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(37,117,252,0.3);
    color: var(--white);
}

/* Blog articles — shared */
.home-articles {
    background: linear-gradient(135deg, var(--dark), var(--primary));
    padding: 60px 0;
}

.home-articles-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.home-articles-head h2 {
    color: var(--white);
    font-size: 1.35rem;
    margin-bottom: 4px;
}

.home-articles-head .home-section-eyebrow {
    color: #9db3d8;
}

.home-articles-viewall {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 0.86rem;
    color: var(--white);
}

.home-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}

.home-article-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
    transition: all 0.3s ease;
}

.home-article-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0,0,0,0.25);
}

.home-article-media {
    position: relative;
    height: 140px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.35);
}

.home-article-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255,255,255,0.92);
    color: var(--dark);
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 6px;
}

.home-article-body {
    padding: 18px 20px 20px;
}

.home-article-body h4 {
    font-size: 0.96rem;
    color: var(--dark);
    margin-bottom: 8px;
    line-height: 1.35;
}

.home-article-body p {
    font-size: 0.82rem;
    color: var(--text-light);
    margin-bottom: 14px;
    line-height: 1.5;
}

.home-article-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.72rem;
    color: var(--text-light);
    border-top: 1px solid #eee;
    padding-top: 10px;
}

@media (max-width: 768px) {
    .home-articles-head {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Enquiry modal — shared */
.enquiry-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.enquiry-modal.active {
    display: flex;
}

.enquiry-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(1px);
}

.enquiry-modal-box {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 450px;
    background: #fff;
    border-radius: 14px;
    padding: 26px 26px 24px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.25);
    animation: enquiryModalOpen 0.25s ease;
}

@keyframes enquiryModalOpen {
    from { opacity: 0; transform: translateY(15px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.enquiry-modal-close {
    position: absolute;
    top: 13px;
    right: 16px;
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    background: transparent;
    color: #667085;
    font-size: 27px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.enquiry-modal-close:hover {
    color: var(--dark);
}

.enquiry-modal-box h2 {
    font-size: 1.35rem;
    color: var(--dark);
    margin: 0 0 6px;
}

.enquiry-modal-subtitle {
    margin: 0 0 22px;
    color: var(--text-light);
    font-size: 0.84rem;
    line-height: 1.5;
}

.enquiry-modal-subtitle span {
    font-weight: 600;
}

.enquiry-form-group {
    margin-bottom: 16px;
}

.enquiry-form-group label {
    display: block;
    margin-bottom: 7px;
    color: var(--dark);
    font-size: 0.82rem;
    font-weight: 600;
}

.enquiry-form-group input,
.enquiry-form-group textarea {
    width: 100%;
    border: 1px solid #dfe4ec;
    background: #fff;
    border-radius: 10px;
    padding: 12px 14px;
    font-family: inherit;
    font-size: 0.84rem;
    color: var(--dark);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.enquiry-form-group input {
    height: 46px;
}

.enquiry-form-group textarea {
    min-height: 90px;
    resize: vertical;
}

.enquiry-form-group input::placeholder,
.enquiry-form-group textarea::placeholder {
    color: #98a2b3;
}

.enquiry-form-group input:focus,
.enquiry-form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 93, 170, 0.1);
}

.enquiry-submit-btn {
    width: 100%;
    height: 46px;
    border: none;
    border-radius: 9px;
    background: linear-gradient(160deg, var(--dark), var(--primary));
    color: #fff;
    font-family: inherit;
    font-size: 0.86rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.enquiry-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(4, 26, 87, 0.22);
}

body.enquiry-modal-open {
    overflow: hidden;
}

@media (max-width: 576px) {
    .enquiry-modal { padding: 15px; }
    .enquiry-modal-box { max-width: 100%; padding: 24px 20px 20px; }
}