/* ==========================================================
   HORMUUD UNIVERSITY FAQ

   MOTION CONCEPT:
   QUESTION FIELD / GLOBAL KNOWLEDGE SPHERE

   Inspired by Anthropic's calm editorial motion language,
   implemented independently for Hormuud University.
   ========================================================== */


.fq-page {
    --fq-green: #167a45;
    --fq-green-hover: #11673a;
    --fq-green-dark: #0a3420;
    --fq-green-soft: #edf5ef;

    --fq-paper: #edf5ef;
    --fq-paper-light: #e7f5eb;
    --fq-white: #ffffff;

    --fq-text: #22251f;
    --fq-text-soft: #5d635c;
    --fq-muted: #7b8078;

    --fq-line: #ddddd4;
    --fq-line-dark: #c6c8bf;

    --fq-gold: #2e84b6c9 !important;
    --fq-clay: #2e84b6 !important;

    --fq-display: "Fraunces", Georgia, serif;
    --fq-body: "Inter", Arial, sans-serif;
    --fq-mono: "DM Mono", monospace;

    width: 100%;

    color:
        var(--fq-text);

    background:
        var(--fq-paper-light);

    font-family:
        var(--fq-body);

    font-size: 17px;
    line-height: 1.7;

    -webkit-font-smoothing:
        antialiased;

    overflow: visible;
}


.fq-page *,
.fq-page *::before,
.fq-page *::after {
    box-sizing: border-box;
}


.fq-page button,
.fq-page input {
    font: inherit;
}


.fq-page button {
    -webkit-tap-highlight-color:
        transparent;
}


.fq-shell {
    width:
        min(
            1260px,
            calc(100% - 56px)
        );

    margin-inline: auto;
}


.fq-svg-library {
    position: absolute;

    width: 0;
    height: 0;

    overflow: hidden;
}


/* ==========================================================
   COMMON
   ========================================================== */

.fq-kicker {
    display: block;

    color:
        var(--fq-green);

    font-size: 12px;
    font-weight: 700;

    letter-spacing: .1em;

    text-transform: uppercase;
}


.fq-section-index > span {
    color:
        var(--fq-gold);

    font-family:
        var(--fq-mono);

    font-size: 12px;
}


.fq-section-index > p {
    margin:
        10px
        0
        0;

    color:
        var(--fq-green);

    font-size: 12px;
    font-weight: 700;

    letter-spacing: .08em;

    text-transform: uppercase;
}


/* ==========================================================
   HERO
   ========================================================== */

.fq-hero {
    position: relative;

    overflow: hidden;

    background:
        var(--fq-paper);

    border-bottom:
        1px solid
        var(--fq-line-dark);
}


.fq-hero::before {
    content: "?";

    position: absolute;

    left: -70px;
    bottom: -210px;

    color:
        rgba(22,122,69,.025);

    font-family:
        var(--fq-display);

    font-size:
        clamp(
            500px,
            60vw,
            950px
        );

    font-weight: 500;

    line-height: .7;

    pointer-events: none;
}


/* ==========================================================
   TOP BAR
   ========================================================== */

.fq-hero-top {
    position: relative;

    z-index: 10;

    min-height: 78px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    border-bottom:
        1px solid
        var(--fq-line-dark);
}


.fq-brand {
    display: flex;
    align-items: center;

    gap: 12px;
}


.fq-brand-mark {
    width: 39px;
    height: 39px;

    display: grid;
    place-items: center;

    color:
        #ffffff;

    background:
        var(--fq-green);

    font-family:
        var(--fq-display);

    font-size: 15px;
    font-weight: 600;
}


.fq-brand strong {
    display: block;

    color:
        var(--fq-green-dark);

    font-size: 13px;
}


.fq-brand small {
    display: block;

    margin-top: 2px;

    color:
        var(--fq-muted);

    font-size: 11px;
}


.fq-hero-meta {
    display: flex;
    align-items: center;

    gap: 11px;

    color:
        var(--fq-muted);
}


.fq-hero-meta span {
    font-family:
        var(--fq-mono);

    font-size: 10px;
}


.fq-hero-meta i {
    width: 42px;
    height: 1px;

    background:
        var(--fq-line-dark);
}


/* ==========================================================
   HERO GRID
   ========================================================== */

.fq-hero-grid {
    position: relative;

    z-index: 4;

    min-height: 760px;

    display: grid;

    grid-template-columns:
        minmax(380px, .78fr)
        minmax(610px, 1.22fr);

    align-items: center;

    gap: 70px;

    padding:
        70px
        0
        67px;
}


/* ==========================================================
   HERO COPY
   ========================================================== */

.fq-hero-copy h1 {
    max-width: 690px;

    margin:
        18px
        0
        0;

    color:
        var(--fq-green-dark);

    font-family:
        var(--fq-display);

    font-size:
        clamp(
            63px,
            7.2vw,
            98px
        );

    font-weight: 500;

    line-height: .92;

    letter-spacing: -.058em;
}


.fq-hero-copy h1 span {
    display: block;

    margin-top: 5px;

    color:
        var(--fq-clay);
}


.fq-source-heading {
    max-width: 600px;

    margin:
        30px
        0
        0;

    color:
        var(--fq-text-soft);

    font-size: 18px;

    line-height: 1.72;
}


.fq-source-heading strong {
    color:
        var(--fq-green-dark);

    font-weight: 600;
}


/* ==========================================================
   HERO ACTION
   ========================================================== */

.fq-hero-actions {
    display: flex;
    align-items: center;

    gap: 24px;

    margin-top: 34px;
}


.fq-explore {
    display: inline-flex;
    align-items: center;

    gap: 13px;

    padding: 0;

    color:
        var(--fq-green-dark);

    background:
        transparent;

    border: 0;

    cursor: pointer;

    font-size: 14px;
    font-weight: 700;
}


.fq-explore > span {
    width: 44px;
    height: 44px;

    display: grid;
    place-items: center;

    color:
        #ffffff;

    background:
        var(--fq-green);

    border-radius: 50%;

    transition:
        transform
        220ms ease,
        background
        180ms ease;
}


.fq-explore:hover > span {
    background:
        var(--fq-green-hover);

    transform:
        translateY(4px);
}


.fq-explore svg {
    width: 16px;
    height: 16px;

    fill: none;

    stroke: currentColor;
    stroke-width: 1.8;
}


.fq-hero-hint {
    max-width: 130px;

    color:
        var(--fq-muted);

    font-size: 11px;

    line-height: 1.45;
}


/* ==========================================================
   QUESTION FIELD
   ========================================================== */

.fq-question-field {
    position: relative;

    width: 100%;
    height: 650px;

    overflow: hidden;

    background:
        #d9e6dc;

    border:
        1px solid
        var(--fq-line-dark);

    isolation: isolate;

    cursor: crosshair;

    touch-action: pan-y;
}


.fq-question-field::before {
    content: "";

    position: absolute;

    z-index: 0;

    inset: 0;

    opacity: .45;

    background-image:
        linear-gradient(
            rgba(98,103,94,.09) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(98,103,94,.08) 1px,
            transparent 1px
        );

    background-size:
        62px
        62px;

    pointer-events: none;
}


.fq-question-field::after {
    content: "";

    position: absolute;

    z-index: 1;

    left: 50%;
    top: 50%;

    width: 74%;
    aspect-ratio: 1;

    border:
        1px solid
        rgba(22,122,69,.07);

    border-radius: 50%;

    transform:
        translate(-50%, -50%);

    pointer-events: none;
}


/* ==========================================================
   FIELD META
   ========================================================== */

.fq-field-top {
    position: absolute;

    z-index: 20;

    left: 19px;
    right: 19px;
    top: 16px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}


.fq-field-top span,
.fq-field-top strong {
    font-family:
        var(--fq-mono);

    font-size: 9px;
}


.fq-field-top span {
    color:
        var(--fq-muted);
}


.fq-field-top strong {
    color:
        var(--fq-green);

    font-weight: 500;
}


/* ==========================================================
   CANVAS
   ========================================================== */

.fq-globe-canvas {
    position: absolute;

    z-index: 3;

    inset: 0;

    width: 100%;
    height: 100%;

    pointer-events: none;
}


/* ==========================================================
   CENTER
   ========================================================== */

.fq-globe-center {
    position: absolute;

    z-index: 7;

    left: 50%;
    top: 50%;

    width: 120px;
    height: 120px;

    display: grid;
    place-items: center;

    align-content: center;

    color:
        var(--fq-green-dark);

    background:
        rgba(245,243,235,.83);

    border:
        1px solid
        rgba(22,122,69,.22);

    border-radius: 50%;

    transform:
        translate(-50%, -50%);

    pointer-events: none;

    backdrop-filter:
        blur(5px);
}


.fq-globe-center small,
.fq-globe-center span {
    font-family:
        var(--fq-mono);

    font-size: 8px;

    letter-spacing: .08em;
}


.fq-globe-center small {
    color:
        var(--fq-muted);
}


.fq-globe-center strong {
    margin:
        -5px
        0;

    color:
        var(--fq-green);

    font-family:
        var(--fq-display);

    font-size: 54px;
    font-weight: 500;

    line-height: 1;
}


/* ==========================================================
   SATELLITES
   ========================================================== */

.fq-satellite {
    position: absolute;

    z-index: 12;

    min-width: 138px;

    display: flex;
    align-items: center;

    gap: 9px;

    padding:
        10px
        12px;

    color:
        var(--fq-text);

    background:
        rgba(255,253,248,.91);

    border:
        1px solid
        var(--fq-line-dark);

    cursor: pointer;

    box-shadow:
        0
        9px
        25px
        rgba(45,43,36,.06);

    transition:
        color
        180ms ease,
        border-color
        180ms ease,
        transform
        260ms
        cubic-bezier(
            .22,
            1,
            .36,
            1
        );
}


.fq-satellite:hover {
    color:
        var(--fq-green-dark);

    border-color:
        var(--fq-green);

    transform:
        translateY(-4px);
}


.fq-satellite > span {
    color:
        var(--fq-gold);

    font-family:
        var(--fq-mono);

    font-size: 9px;
}


.fq-satellite strong {
    font-size: 11px;
    font-weight: 600;

    white-space: nowrap;
}


.fq-satellite--one {
    left: 7%;
    top: 24%;

    animation:
        fqFloatA
        6s
        ease-in-out
        infinite;
}


.fq-satellite--two {
    right: 5%;
    top: 20%;

    animation:
        fqFloatB
        7s
        ease-in-out
        infinite;
}


.fq-satellite--three {
    left: 9%;
    bottom: 21%;

    animation:
        fqFloatB
        6.5s
        ease-in-out
        infinite;
}


.fq-satellite--four {
    right: 6%;
    bottom: 24%;

    animation:
        fqFloatA
        7.4s
        ease-in-out
        infinite;
}


@keyframes fqFloatA {

    0%,
    100% {
        translate: 0 0;
    }

    50% {
        translate: 0 -8px;
    }

}


@keyframes fqFloatB {

    0%,
    100% {
        translate: 0 0;
    }

    50% {
        translate: 4px 8px;
    }

}


/* ==========================================================
   CORNERS
   ========================================================== */

.fq-corner {
    position: absolute;

    z-index: 22;

    width: 18px;
    height: 18px;

    pointer-events: none;
}


.fq-corner::before,
.fq-corner::after {
    content: "";

    position: absolute;

    background:
        var(--fq-green);
}


.fq-corner::before {
    width: 18px;
    height: 1px;
}


.fq-corner::after {
    width: 1px;
    height: 18px;
}


.fq-corner--tl {
    left: 9px;
    top: 9px;
}


.fq-corner--tr {
    right: 9px;
    top: 9px;

    transform:
        rotate(90deg);
}


.fq-corner--br {
    right: 9px;
    bottom: 9px;

    transform:
        rotate(180deg);
}


.fq-corner--bl {
    left: 9px;
    bottom: 9px;

    transform:
        rotate(270deg);
}


/* ==========================================================
   FIELD BOTTOM
   ========================================================== */

.fq-field-bottom {
    position: absolute;

    z-index: 20;

    left: 20px;
    right: 20px;
    bottom: 16px;

    display: flex;
    align-items: center;

    gap: 8px;

    color:
        var(--fq-muted);

    font-family:
        var(--fq-mono);

    font-size: 8px;

    pointer-events: none;
}


.fq-field-bottom span {
    flex: none;
}


.fq-field-bottom i {
    height: 1px;

    flex: 1;

    background:
        var(--fq-line-dark);
}


/* ==========================================================
   HERO STATS
   ========================================================== */

.fq-hero-stats {
    position: relative;

    z-index: 5;

    min-height: 110px;

    display: grid;

    grid-template-columns:
        1fr
        auto
        1fr
        auto
        1fr;

    align-items: center;

    gap: 30px;

    border-top:
        1px solid
        var(--fq-line-dark);
}


.fq-hero-stats > div {
    display: flex;
    align-items: center;

    gap: 15px;
}


.fq-hero-stats strong {
    color:
        var(--fq-green);

    font-family:
        var(--fq-display);

    font-size: 32px;
    font-weight: 500;
}


.fq-hero-stats span {
    color:
        var(--fq-muted);

    font-size: 12px;
}


.fq-hero-stats > i {
    width: 1px;
    height: 43px;

    background:
        var(--fq-line-dark);
}


/* ==========================================================
   EXPLORER
   ========================================================== */

.fq-explorer {
    padding:
        125px
        0
        140px;

    background:
        var(--fq-paper-light);
}


.fq-section-heading {
    display: grid;

    grid-template-columns:
        180px
        minmax(0, 1fr);

    gap: 80px;
}


.fq-section-copy h2 {
    max-width: 780px;

    margin:
        14px
        0
        0;

    color:
        var(--fq-green-dark);

    font-family:
        var(--fq-display);

    font-size:
        clamp(
            48px,
            6vw,
            72px
        );

    font-weight: 500;

    line-height: 1;

    letter-spacing: -.048em;
}


.fq-section-copy > p {
    max-width: 610px;

    margin:
        20px
        0
        0;

    color:
        var(--fq-text-soft);

    font-size: 17px;
}


/* ==========================================================
   SEARCH
   ========================================================== */

.fq-search-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    margin-top: 68px;

    padding:
        20px
        0;

    border-top:
        1px solid
        var(--fq-line-dark);

    border-bottom:
        1px solid
        var(--fq-line-dark);
}


.fq-search {
    width:
        min(
            620px,
            100%
        );

    min-height: 57px;

    display: grid;

    grid-template-columns:
        22px
        1fr
        auto;

    align-items: center;

    gap: 13px;

    padding:
        0
        15px;

    background:
        var(--fq-paper);

    border:
        1px solid
        var(--fq-line-dark);

    transition:
        border-color
        180ms ease,
        background
        180ms ease;
}


.fq-search:focus-within {
    background:
        #ffffff;

    border-color:
        var(--fq-green);
}


.fq-search svg {
    width: 20px;
    height: 20px;

    fill: none;

    color:
        var(--fq-green);

    stroke: currentColor;
    stroke-width: 1.6;
}


.fq-search input {
    width: 100%;

    padding:
        13px
        0;

    color:
        var(--fq-text);

    background:
        transparent;

    border: 0;

    outline: 0;

    font-size: 16px;
}


.fq-search input::placeholder {
    color:
        #90958e;
}


.fq-search kbd {
    min-width: 27px;
    height: 27px;

    display: grid;
    place-items: center;

    color:
        var(--fq-muted);

    background:
        #ffffff;

    border:
        1px solid
        var(--fq-line-dark);

    font-family:
        var(--fq-mono);

    font-size: 10px;
}


.fq-result-count {
    display: flex;
    align-items: baseline;

    gap: 8px;
}


.fq-result-count strong {
    color:
        var(--fq-green);

    font-family:
        var(--fq-display);

    font-size: 30px;
    font-weight: 500;
}


.fq-result-count span {
    color:
        var(--fq-muted);

    font-size: 12px;
}


/* ==========================================================
   WORKSPACE
   ========================================================== */

.fq-workspace {
    display: grid;

    grid-template-columns:
        290px
        minmax(0, 1fr);

    gap: 55px;

    margin-top: 60px;
}


/* ==========================================================
   CATEGORY PANEL
   ========================================================== */

.fq-category-panel {
    align-self: start;

    position: sticky;

    top: 100px;

    border-top:
        1px solid
        var(--fq-line-dark);
}


.fq-category-label {
    min-height: 72px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    border-bottom:
        1px solid
        var(--fq-line-dark);
}


.fq-category-label span {
    color:
        var(--fq-gold);

    font-family:
        var(--fq-mono);

    font-size: 10px;
}


.fq-category-label strong {
    color:
        var(--fq-green-dark);

    font-family:
        var(--fq-display);

    font-size: 24px;
    font-weight: 500;
}


/* ==========================================================
   CATEGORY NAV
   ========================================================== */

.fq-category-nav button {
    position: relative;

    width: 100%;

    min-height: 71px;

    display: grid;

    grid-template-columns:
        36px
        1fr
        auto;

    align-items: center;

    gap: 10px;

    padding:
        10px
        8px;

    text-align: left;

    color:
        var(--fq-text-soft);

    background:
        transparent;

    border: 0;

    border-bottom:
        1px solid
        var(--fq-line);

    cursor: pointer;

    transition:
        color
        180ms ease,
        padding-left
        220ms ease,
        background
        180ms ease;
}


.fq-category-nav button::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0;
    bottom: 0;

    width: 3px;

    background:
        var(--fq-green);

    transform:
        scaleY(0);

    transition:
        transform
        200ms ease;
}


.fq-category-nav button:hover,
.fq-category-nav button.is-active {
    padding-left: 16px;

    color:
        var(--fq-green-dark);

    background:
        var(--fq-green-soft);
}


.fq-category-nav button:hover::before,
.fq-category-nav button.is-active::before {
    transform:
        scaleY(1);
}


.fq-category-nav button > span,
.fq-category-nav button > small {
    font-family:
        var(--fq-mono);

    font-size: 10px;
}


.fq-category-nav button > span {
    color:
        var(--fq-gold);
}


.fq-category-nav button > small {
    color:
        var(--fq-muted);
}


.fq-category-nav button strong {
    font-size: 13px;
    font-weight: 600;

    line-height: 1.3;
}


.fq-category-foot {
    display: grid;

    grid-template-columns:
        58px
        1fr;

    gap: 15px;

    margin-top: 35px;

    padding-top: 25px;

    border-top:
        1px solid
        var(--fq-line-dark);
}


.fq-category-foot > span {
    color:
        var(--fq-green);

    font-family:
        var(--fq-display);

    font-size: 29px;
}


.fq-category-foot p {
    margin: 0;

    color:
        var(--fq-muted);

    font-size: 11px;

    line-height: 1.5;
}


/* ==========================================================
   QUESTIONS
   ========================================================== */

.fq-question-list {
    border-top:
        1px solid
        var(--fq-line-dark);
}


.fq-item {
    position: relative;

    border-bottom:
        1px solid
        var(--fq-line-dark);

    transition:
        background
        200ms ease;
}


.fq-item[hidden] {
    display: none !important;
}


.fq-item:hover,
.fq-item.is-open {
    background:
        #fbfaf5;
}


/* ==========================================================
   QUESTION BUTTON
   ========================================================== */

.fq-question {
    width: 100%;

    min-height: 112px;

    display: grid;

    grid-template-columns:
        48px
        minmax(0, 1fr)
        50px;

    align-items: center;

    gap: 25px;

    padding:
        21px
        18px
        21px
        0;

    text-align: left;

    color:
        inherit;

    background:
        transparent;

    border: 0;

    cursor: pointer;
}


.fq-question-number {
    align-self: start;

    padding-top: 7px;

    color:
        var(--fq-gold);

    font-family:
        var(--fq-mono);

    font-size: 10px;
}


.fq-question-copy small {
    display: block;

    color:
        var(--fq-green);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: .06em;

    text-transform: uppercase;
}


.fq-question-copy strong {
    display: block;

    max-width: 780px;

    margin-top: 7px;

    color:
        var(--fq-green-dark);

    font-family:
        var(--fq-display);

    font-size:
        clamp(
            21px,
            2vw,
            28px
        );

    font-weight: 500;

    line-height: 1.22;

    letter-spacing: -.02em;
}


/* ==========================================================
   PLUS
   ========================================================== */

.fq-question-plus {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    color:
        var(--fq-green-dark);

    border:
        1px solid
        var(--fq-line-dark);

    border-radius: 50%;

    transition:
        color
        180ms ease,
        background
        180ms ease,
        border-color
        180ms ease,
        transform
        320ms
        cubic-bezier(
            .22,
            1,
            .36,
            1
        );
}


.fq-question:hover
.fq-question-plus {
    border-color:
        var(--fq-green);
}


.fq-item.is-open
.fq-question-plus {
    color:
        #ffffff;

    background:
        var(--fq-green);

    border-color:
        var(--fq-green);

    transform:
        rotate(45deg);
}


.fq-question-plus svg {
    width: 18px;
    height: 18px;

    fill: none;

    stroke: currentColor;
    stroke-width: 1.6;
}


/* ==========================================================
   ANSWER
   ========================================================== */

.fq-answer {
    display: grid;

    grid-template-rows:
        0fr;

    opacity: 0;

    transition:
        grid-template-rows
        420ms
        cubic-bezier(
            .22,
            1,
            .36,
            1
        ),
        opacity
        260ms ease;
}


.fq-answer > div {
    overflow: hidden;

    padding-left:
        73px;

    padding-right:
        90px;
}


.fq-item.is-open
.fq-answer {
    grid-template-rows:
        1fr;

    opacity: 1;
}


.fq-answer p {
    max-width: 790px;

    margin:
        0
        0
        27px;

    color:
        var(--fq-text-soft);

    font-size: 16px;

    line-height: 1.85;
}


.fq-answer h4 {
    margin:
        2px
        0
        8px;

    color:
        var(--fq-green-dark);

    font-size: 15px;
    font-weight: 700;
}


.fq-answer h4:not(:first-child) {
    margin-top: 25px;
}


.fq-answer strong {
    color:
        var(--fq-green-dark);
}


/* ==========================================================
   EMPTY
   ========================================================== */

.fq-empty {
    min-height: 360px;

    place-items: center;

    align-content: center;

    text-align: center;

    border-bottom:
        1px solid
        var(--fq-line-dark);
}


.fq-empty:not([hidden]) {
    display: grid;
}


.fq-empty > span {
    color:
        var(--fq-green);

    font-family:
        var(--fq-display);

    font-size: 90px;

    line-height: .8;
}


.fq-empty h3 {
    margin:
        22px
        0
        0;

    color:
        var(--fq-green-dark);

    font-family:
        var(--fq-display);

    font-size: 32px;
    font-weight: 500;
}


.fq-empty p {
    margin:
        10px
        0
        0;

    color:
        var(--fq-muted);

    font-size: 14px;
}


/* ==========================================================
   CLOSING
   ========================================================== */

.fq-closing {
    padding:
        115px
        0;

    background:
        var(--fq-green-soft);

    border-top:
        1px solid
        #d2e3d6;
}


.fq-closing-grid {
    display: grid;

    grid-template-columns:
        260px
        minmax(0, 1fr);

    align-items: center;

    gap: 80px;
}


.fq-closing-question {
    display: grid;
    place-items: center;

    width: 190px;
    height: 190px;

    color:
        var(--fq-green);

    border:
        1px solid
        #b9d5c1;

    border-radius: 50%;

    transition:
        color
        300ms ease,
        background
        300ms ease,
        transform
        500ms
        cubic-bezier(
            .22,
            1,
            .36,
            1
        );
}


.fq-closing-question:hover {
    color:
        #ffffff;

    background:
        var(--fq-green);

    transform:
        rotate(12deg)
        scale(1.05);
}


.fq-closing-question span {
    font-family:
        var(--fq-display);

    font-size: 100px;

    line-height: .8;
}


.fq-closing-copy h2 {
    max-width: 820px;

    margin:
        15px
        0
        0;

    color:
        var(--fq-green-dark);

    font-family:
        var(--fq-display);

    font-size:
        clamp(
            47px,
            6vw,
            72px
        );

    font-weight: 500;

    line-height: 1.02;

    letter-spacing: -.047em;
}


.fq-closing-copy > p {
    max-width: 630px;

    margin:
        22px
        0
        0;

    color:
        var(--fq-text-soft);

    font-size: 17px;
}


.fq-closing-copy button {
    min-height: 48px;

    display: inline-flex;
    align-items: center;

    gap: 10px;

    margin-top: 31px;

    padding:
        0
        17px;

    color:
        #ffffff;

    background:
        var(--fq-green);

    border:
        1px solid
        var(--fq-green);

    cursor: pointer;

    font-size: 13px;
    font-weight: 700;
}


.fq-closing-copy button:hover {
    background:
        var(--fq-green-hover);
}


.fq-closing-copy svg {
    width: 15px;
    height: 15px;

    fill: none;

    stroke: currentColor;
    stroke-width: 1.8;
}


/* ==========================================================
   REVEAL
   ========================================================== */

.fq-page.js-ready
.fq-reveal {
    opacity: 0;

    transform:
        translateY(18px);

    transition:
        opacity
        760ms ease,
        transform
        760ms
        cubic-bezier(
            .16,
            1,
            .3,
            1
        );
}


.fq-page.js-ready
.fq-reveal.is-visible {
    opacity: 1;

    transform: none;
}


/* ==========================================================
   MEDIUM DESKTOP
   ========================================================== */

@media (max-width: 1120px) {

    .fq-hero-grid {
        grid-template-columns:
            minmax(330px, .7fr)
            minmax(540px, 1.3fr);

        gap: 40px;
    }


    .fq-question-field {
        height: 590px;
    }


    .fq-workspace {
        grid-template-columns:
            260px
            minmax(0, 1fr);

        gap: 40px;
    }

}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 920px) {

    .fq-hero-grid {
        grid-template-columns: 1fr;

        gap: 50px;
    }


    .fq-question-field {
        max-width: 760px;
    }


    .fq-section-heading {
        grid-template-columns: 1fr;

        gap: 32px;
    }


    .fq-workspace {
        grid-template-columns: 1fr;
    }


    .fq-category-panel {
        position: static;
    }


    .fq-category-label,
    .fq-category-foot {
        display: none;
    }


    .fq-category-nav {
        display: flex;

        overflow-x: auto;

        border-top:
            1px solid
            var(--fq-line-dark);

        border-bottom:
            1px solid
            var(--fq-line-dark);

        scrollbar-width: none;
    }


    .fq-category-nav::-webkit-scrollbar {
        display: none;
    }


    .fq-category-nav button {
        min-width: 185px;

        flex:
            0
            0
            185px;

        border-bottom: 0;

        border-right:
            1px solid
            var(--fq-line);
    }


    .fq-category-nav button::before {
        top: auto;
        right: 0;
        bottom: 0;

        width: auto;
        height: 3px;

        transform:
            scaleX(0);
    }


    .fq-category-nav button:hover::before,
    .fq-category-nav button.is-active::before {
        transform:
            scaleX(1);
    }


    .fq-category-nav button:hover,
    .fq-category-nav button.is-active {
        padding-left: 8px;
    }

}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 720px) {

    .fq-shell {
        width:
            min(
                100% - 30px,
                1260px
            );
    }


    .fq-hero-meta {
        display: none;
    }


    .fq-hero-grid {
        min-height: auto;

        padding:
            57px
            0
            42px;
    }


    .fq-hero-copy h1 {
        font-size:
            clamp(
                53px,
                15vw,
                73px
            );
    }


    .fq-source-heading {
        font-size: 16px;
    }


    .fq-hero-actions {
        align-items: flex-start;

        flex-direction: column;

        gap: 15px;
    }


    .fq-hero-hint {
        max-width: 240px;
    }


    .fq-question-field {
        height: 500px;
    }


    .fq-satellite {
        min-width: auto;

        padding:
            8px
            9px;
    }


    .fq-satellite strong {
        font-size: 10px;
    }


    .fq-satellite--one {
        left: 3%;
        top: 20%;
    }


    .fq-satellite--two {
        right: 3%;
        top: 22%;
    }


    .fq-satellite--three {
        left: 4%;
        bottom: 21%;
    }


    .fq-satellite--four {
        right: 3%;
        bottom: 22%;
    }


    .fq-globe-center {
        width: 95px;
        height: 95px;
    }


    .fq-globe-center strong {
        font-size: 43px;
    }


    .fq-hero-stats {
        grid-template-columns: 1fr;

        gap: 0;

        padding:
            15px
            0;
    }


    .fq-hero-stats > div {
        min-height: 68px;

        border-bottom:
            1px solid
            var(--fq-line);
    }


    .fq-hero-stats > div:last-child {
        border-bottom: 0;
    }


    .fq-hero-stats > i {
        display: none;
    }


    .fq-explorer,
    .fq-closing {
        padding:
            82px
            0;
    }


    .fq-section-copy h2,
    .fq-closing-copy h2 {
        font-size: 41px;
    }


    .fq-search-row {
        align-items: stretch;

        flex-direction: column;

        gap: 15px;
    }


    .fq-search {
        width: 100%;
    }


    .fq-question {
        min-height: 105px;

        grid-template-columns:
            34px
            minmax(0, 1fr)
            42px;

        gap: 13px;

        padding-right: 3px;
    }


    .fq-question-copy strong {
        font-size: 22px;
    }


    .fq-question-plus {
        width: 38px;
        height: 38px;
    }


    .fq-answer > div {
        padding-left:
            47px;

        padding-right:
            45px;
    }


    .fq-closing-grid {
        grid-template-columns: 1fr;

        gap: 40px;
    }


    .fq-closing-question {
        width: 125px;
        height: 125px;
    }


    .fq-closing-question span {
        font-size: 72px;
    }

}


/* ==========================================================
   SMALL MOBILE
   ========================================================== */

@media (max-width: 460px) {

    .fq-shell {
        width:
            min(
                100% - 22px,
                1260px
            );
    }


    .fq-brand small {
        display: none;
    }


    .fq-question-field {
        height: 450px;
    }


    .fq-field-top strong {
        display: none;
    }


    .fq-satellite strong {
        display: none;
    }


    .fq-satellite {
        min-width: 42px;
        min-height: 38px;

        justify-content: center;
    }


    .fq-satellite > span {
        font-size: 10px;
    }


    .fq-category-nav button {
        min-width: 160px;

        flex-basis: 160px;
    }


    .fq-search kbd {
        display: none;
    }


    .fq-search {
        grid-template-columns:
            22px
            1fr;
    }


    .fq-question {
        grid-template-columns:
            30px
            1fr
            37px;
    }


    .fq-question-copy small {
        font-size: 10px;
    }


    .fq-question-copy strong {
        font-size: 20px;
    }


    .fq-answer > div {
        padding-left: 43px;
        padding-right: 25px;
    }

}


/* ==========================================================
   SCROLL SAFETY
   ========================================================== */

html,
body {
    height: auto !important;

    min-height: 100% !important;

    overflow-y: auto !important;

    overflow-x: hidden;
}


.fq-page {
    height: auto !important;

    max-height: none !important;

    overflow: visible !important;
}


/* ==========================================================
   REDUCED MOTION
   ========================================================== */

@media (prefers-reduced-motion: reduce) {

    .fq-page *,
    .fq-page *::before,
    .fq-page *::after {
        animation-duration:
            .01ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            .01ms !important;

        scroll-behavior:
            auto !important;
    }


    .fq-page.js-ready
    .fq-reveal {
        opacity: 1;

        transform: none;
    }


    .fq-satellite {
        animation: none;
    }

}

/* ==========================================================
   HORMUUD UNIVERSITY — FAQ DARK MODE 2026
   Page-specific editorial dark mode.

   DESIGN DECISION
   ---------------
   The FAQ intentionally uses a paper / green / gold / clay
   editorial palette. Its light mode is preserved rather than
   being forced into the standard HU green/blue identity.

   Dark mode adapts that same visual language:
   - warm green-charcoal paper
   - adaptive university green
   - restrained gold
   - softened clay accent
   - high-contrast readable FAQ workspace
   ========================================================== */


/* ==========================================================
   DARK MODE — PAGE TOKENS
   ========================================================== */

html[data-theme="dark"] .fq-page {
    --fq-green: #66C59B;
    --fq-green-hover: #86D5B2;
    --fq-green-dark: #86D5B2;
    --fq-green-soft: #183A2C;

    --fq-paper: #141A16;
    --fq-paper-light: #0E1511;
    --fq-white: #151E18;

    --fq-text: #EDF3EF;
    --fq-text-soft: #A9B5AE;
    --fq-muted: #7F8B84;

    --fq-line: #2D3A32;
    --fq-line-dark: #3A493F;

    /* Preserve the page's warm editorial accent language. */
    --fq-gold: #D7B66E;
    --fq-clay: #E28F75;

    color: var(--fq-text) !important;
    background: var(--fq-paper-light) !important;
}


/* ==========================================================
   DARK — HERO / PAPER FIELD
   ========================================================== */

html[data-theme="dark"] .fq-page .fq-hero {
    background: #141A16 !important;
    border-bottom-color: var(--fq-line-dark) !important;
}

html[data-theme="dark"] .fq-page .fq-hero::before {
    color: rgba(134, 213, 178, .032) !important;
}


/* Meta bar */

html[data-theme="dark"] .fq-page .fq-hero-top {
    border-bottom-color: var(--fq-line-dark) !important;
}

html[data-theme="dark"] .fq-page .fq-brand-mark {
    color: #0E1511 !important;
    background: var(--fq-green) !important;
}

html[data-theme="dark"] .fq-page .fq-brand strong {
    color: var(--fq-green-dark) !important;
}

html[data-theme="dark"] .fq-page .fq-brand small,
html[data-theme="dark"] .fq-page .fq-hero-meta {
    color: var(--fq-muted) !important;
}

html[data-theme="dark"] .fq-page .fq-hero-meta i {
    background: var(--fq-line-dark) !important;
}


/* Hero copy */

html[data-theme="dark"] .fq-page .fq-kicker {
    color: var(--fq-green) !important;
}

html[data-theme="dark"] .fq-page .fq-hero-copy h1 {
    color: var(--fq-green-dark) !important;
}

html[data-theme="dark"] .fq-page .fq-hero-copy h1 span {
    color: var(--fq-clay) !important;
}

html[data-theme="dark"] .fq-page .fq-source-heading {
    color: var(--fq-text-soft) !important;
}

html[data-theme="dark"] .fq-page .fq-source-heading strong {
    color: var(--fq-green-dark) !important;
}

html[data-theme="dark"] .fq-page .fq-explore {
    color: var(--fq-green-dark) !important;
}

html[data-theme="dark"] .fq-page .fq-explore > span {
    color: #0E1511 !important;
    background: var(--fq-green) !important;
}

html[data-theme="dark"] .fq-page .fq-explore:hover > span,
html[data-theme="dark"] .fq-page .fq-explore:focus-visible > span {
    background: var(--fq-green-dark) !important;
}

html[data-theme="dark"] .fq-page .fq-hero-hint {
    color: var(--fq-muted) !important;
}


/* ==========================================================
   DARK — QUESTION / KNOWLEDGE FIELD
   ========================================================== */

html[data-theme="dark"] .fq-page .fq-question-field {
    background: #111713 !important;
    border-color: var(--fq-line-dark) !important;
}

html[data-theme="dark"] .fq-page .fq-question-field::before {
    opacity: .40 !important;

    background-image:
        linear-gradient(
            rgba(134, 213, 178, .075) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(215, 182, 110, .06) 1px,
            transparent 1px
        ) !important;
}

html[data-theme="dark"] .fq-page .fq-question-field::after {
    border-color: rgba(102, 197, 155, .12) !important;
}

html[data-theme="dark"] .fq-page .fq-field-top span,
html[data-theme="dark"] .fq-page .fq-field-bottom {
    color: var(--fq-muted) !important;
}

html[data-theme="dark"] .fq-page .fq-field-top strong {
    color: var(--fq-green) !important;
}

html[data-theme="dark"] .fq-page .fq-field-bottom i {
    background: var(--fq-line-dark) !important;
}


/* Center */

html[data-theme="dark"] .fq-page .fq-globe-center {
    color: var(--fq-green-dark) !important;
    background: rgba(21, 30, 24, .88) !important;
    border-color: rgba(102, 197, 155, .28) !important;

    box-shadow:
        0 18px 50px
        rgba(0, 0, 0, .18);
}

html[data-theme="dark"] .fq-page .fq-globe-center small {
    color: var(--fq-muted) !important;
}

html[data-theme="dark"] .fq-page .fq-globe-center strong {
    color: var(--fq-green) !important;
}


/* Satellites */

html[data-theme="dark"] .fq-page .fq-satellite {
    color: var(--fq-text) !important;
    background: rgba(21, 30, 24, .94) !important;
    border-color: var(--fq-line-dark) !important;

    box-shadow:
        0 10px 28px
        rgba(0, 0, 0, .18) !important;
}

html[data-theme="dark"] .fq-page .fq-satellite:hover,
html[data-theme="dark"] .fq-page .fq-satellite:focus-visible {
    color: var(--fq-green-dark) !important;
    background: #183A2C !important;
    border-color: var(--fq-green) !important;
}

html[data-theme="dark"] .fq-page .fq-satellite > span {
    color: var(--fq-gold) !important;
}

html[data-theme="dark"] .fq-page .fq-corner::before,
html[data-theme="dark"] .fq-page .fq-corner::after {
    background: var(--fq-green) !important;
}


/* ==========================================================
   DARK — HERO STATS
   ========================================================== */

html[data-theme="dark"] .fq-page .fq-hero-stats {
    border-top-color: var(--fq-line-dark) !important;
}

html[data-theme="dark"] .fq-page .fq-hero-stats strong {
    color: var(--fq-green) !important;
}

html[data-theme="dark"] .fq-page .fq-hero-stats span {
    color: var(--fq-muted) !important;
}

html[data-theme="dark"] .fq-page .fq-hero-stats > i {
    background: var(--fq-line-dark) !important;
}


/* ==========================================================
   DARK — FAQ EXPLORER
   ========================================================== */

html[data-theme="dark"] .fq-page .fq-explorer {
    background: #0E1511 !important;
}

html[data-theme="dark"] .fq-page .fq-section-index > span {
    color: var(--fq-gold) !important;
}

html[data-theme="dark"] .fq-page .fq-section-index > p,
html[data-theme="dark"] .fq-page .fq-section-copy .fq-kicker {
    color: var(--fq-green) !important;
}

html[data-theme="dark"] .fq-page .fq-section-copy h2 {
    color: var(--fq-green-dark) !important;
}

html[data-theme="dark"] .fq-page .fq-section-copy > p {
    color: var(--fq-text-soft) !important;
}


/* ==========================================================
   DARK — SEARCH
   ========================================================== */

html[data-theme="dark"] .fq-page .fq-search-row {
    border-color: var(--fq-line-dark) !important;
}

html[data-theme="dark"] .fq-page .fq-search {
    background: #141A16 !important;
    border-color: var(--fq-line-dark) !important;
}

html[data-theme="dark"] .fq-page .fq-search:focus-within {
    background: #151E18 !important;
    border-color: var(--fq-green) !important;
}

html[data-theme="dark"] .fq-page .fq-search svg {
    color: var(--fq-green) !important;
}

html[data-theme="dark"] .fq-page .fq-search input {
    color: var(--fq-text) !important;
}

html[data-theme="dark"] .fq-page .fq-search input::placeholder {
    color: #7F8B84 !important;
}

html[data-theme="dark"] .fq-page .fq-search kbd {
    color: var(--fq-muted) !important;
    background: #1A241E !important;
    border-color: var(--fq-line-dark) !important;
}

html[data-theme="dark"] .fq-page .fq-result-count strong {
    color: var(--fq-green) !important;
}

html[data-theme="dark"] .fq-page .fq-result-count span {
    color: var(--fq-muted) !important;
}


/* ==========================================================
   DARK — CATEGORY PANEL
   ========================================================== */

html[data-theme="dark"] .fq-page .fq-category-panel,
html[data-theme="dark"] .fq-page .fq-category-label,
html[data-theme="dark"] .fq-page .fq-category-foot {
    border-color: var(--fq-line-dark) !important;
}

html[data-theme="dark"] .fq-page .fq-category-label span {
    color: var(--fq-gold) !important;
}

html[data-theme="dark"] .fq-page .fq-category-label strong {
    color: var(--fq-green-dark) !important;
}

html[data-theme="dark"] .fq-page .fq-category-nav button {
    color: var(--fq-text-soft) !important;
    border-bottom-color: var(--fq-line) !important;
}

html[data-theme="dark"] .fq-page .fq-category-nav button::before {
    background: var(--fq-green) !important;
}

html[data-theme="dark"] .fq-page .fq-category-nav button:hover,
html[data-theme="dark"] .fq-page .fq-category-nav button.is-active {
    color: var(--fq-green-dark) !important;
    background: #183A2C !important;
}

html[data-theme="dark"] .fq-page .fq-category-nav button > span {
    color: var(--fq-gold) !important;
}

html[data-theme="dark"] .fq-page .fq-category-nav button > small,
html[data-theme="dark"] .fq-page .fq-category-foot p {
    color: var(--fq-muted) !important;
}

html[data-theme="dark"] .fq-page .fq-category-foot > span {
    color: var(--fq-green) !important;
}


/* ==========================================================
   DARK — QUESTIONS / ACCORDION
   ========================================================== */

html[data-theme="dark"] .fq-page .fq-question-list,
html[data-theme="dark"] .fq-page .fq-item {
    border-color: var(--fq-line-dark) !important;
}

html[data-theme="dark"] .fq-page .fq-item {
    background: transparent !important;
}

html[data-theme="dark"] .fq-page .fq-item:hover,
html[data-theme="dark"] .fq-page .fq-item.is-open {
    background: #141A16 !important;
}

html[data-theme="dark"] .fq-page .fq-question {
    color: var(--fq-text) !important;
}

html[data-theme="dark"] .fq-page .fq-question-number {
    color: var(--fq-gold) !important;
}

html[data-theme="dark"] .fq-page .fq-question-copy small {
    color: var(--fq-green) !important;
}

html[data-theme="dark"] .fq-page .fq-question-copy strong {
    color: var(--fq-green-dark) !important;
}

html[data-theme="dark"] .fq-page .fq-question-plus {
    color: var(--fq-green-dark) !important;
    border-color: var(--fq-line-dark) !important;
}

html[data-theme="dark"] .fq-page .fq-question:hover .fq-question-plus,
html[data-theme="dark"] .fq-page .fq-question:focus-visible .fq-question-plus {
    border-color: var(--fq-green) !important;
}

html[data-theme="dark"] .fq-page .fq-item.is-open .fq-question-plus {
    color: #0E1511 !important;
    background: var(--fq-green) !important;
    border-color: var(--fq-green) !important;
}


/* Answers */

html[data-theme="dark"] .fq-page .fq-answer p {
    color: var(--fq-text-soft) !important;
}

html[data-theme="dark"] .fq-page .fq-answer h4,
html[data-theme="dark"] .fq-page .fq-answer strong {
    color: var(--fq-green-dark) !important;
}


/* ==========================================================
   DARK — EMPTY SEARCH STATE
   ========================================================== */

html[data-theme="dark"] .fq-page .fq-empty {
    border-bottom-color: var(--fq-line-dark) !important;
}

html[data-theme="dark"] .fq-page .fq-empty > span {
    color: var(--fq-green) !important;
}

html[data-theme="dark"] .fq-page .fq-empty h3 {
    color: var(--fq-green-dark) !important;
}

html[data-theme="dark"] .fq-page .fq-empty p {
    color: var(--fq-muted) !important;
}


/* ==========================================================
   DARK — CLOSING
   Keep the calm editorial ending rather than a generic dark card.
   ========================================================== */

html[data-theme="dark"] .fq-page .fq-closing {
    background: #13271D !important;
    border-top-color: #315944 !important;
}

html[data-theme="dark"] .fq-page .fq-closing-question {
    color: var(--fq-green) !important;
    border-color: #315944 !important;
}

html[data-theme="dark"] .fq-page .fq-closing-question:hover {
    color: #0E1511 !important;
    background: var(--fq-green) !important;
}

html[data-theme="dark"] .fq-page .fq-closing-copy h2 {
    color: var(--fq-green-dark) !important;
}

html[data-theme="dark"] .fq-page .fq-closing-copy > p {
    color: var(--fq-text-soft) !important;
}

html[data-theme="dark"] .fq-page .fq-closing-copy button {
    color: #0E1511 !important;
    background: var(--fq-green) !important;
    border-color: var(--fq-green) !important;
}

html[data-theme="dark"] .fq-page .fq-closing-copy button:hover,
html[data-theme="dark"] .fq-page .fq-closing-copy button:focus-visible {
    background: var(--fq-green-dark) !important;
}


/* ==========================================================
   THEME TRANSITIONS
   ========================================================== */

.fq-page,
.fq-page .fq-hero,
.fq-page .fq-brand-mark,
.fq-page .fq-question-field,
.fq-page .fq-globe-center,
.fq-page .fq-satellite,
.fq-page .fq-explorer,
.fq-page .fq-search,
.fq-page .fq-category-nav button,
.fq-page .fq-item,
.fq-page .fq-question-plus,
.fq-page .fq-closing,
.fq-page .fq-closing-question,
.fq-page .fq-closing-copy button {
    transition:
        background-color .24s ease,
        color .24s ease,
        border-color .24s ease;
}


/* ==========================================================
   MOBILE DARK MODE
   ========================================================== */

@media (max-width: 760px) {

    html[data-theme="dark"] .fq-page .fq-category-panel {
        border-top-color: var(--fq-line-dark) !important;
    }

    html[data-theme="dark"] .fq-page .fq-category-nav {
        border-bottom-color: var(--fq-line-dark) !important;
    }

}


/* ==========================================================
   REDUCED MOTION
   ========================================================== */

@media (prefers-reduced-motion: reduce) {

    .fq-page,
    .fq-page .fq-hero,
    .fq-page .fq-brand-mark,
    .fq-page .fq-question-field,
    .fq-page .fq-globe-center,
    .fq-page .fq-satellite,
    .fq-page .fq-explorer,
    .fq-page .fq-search,
    .fq-page .fq-category-nav button,
    .fq-page .fq-item,
    .fq-page .fq-question-plus,
    .fq-page .fq-closing,
    .fq-page .fq-closing-question,
    .fq-page .fq-closing-copy button {
        transition: none !important;
    }

}
