/* SGF presentation fixes v11 */

/* —— Nav: prefs inside link row on desktop —— */
.gose-nav__prefs--mobile {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.gose-nav__prefs--desktop {
    display: none;
}

@media (min-width: 920px) {
    .gose-nav__prefs--mobile {
        display: none;
    }

    .gose-nav__prefs--desktop {
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        margin-left: 0.35rem;
        padding-left: 0.5rem;
        border-left: 1px solid var(--gose-line);
    }

    .gose-nav__links {
        gap: 0.15rem 0.25rem;
    }
}

@media (max-width: 919px) {
    .gose-nav.is-open .gose-nav__prefs--desktop {
        display: flex;
        width: 100%;
        margin: 0 0 0.5rem;
        padding: 0 0 0.75rem;
        border-bottom: 1px solid var(--gose-line);
        border-left: 0;
        justify-content: center;
    }

    .gose-nav__cta {
        margin-top: 0.35rem;
    }
}

/* —— Hero —— */
.gose-hero__tagline-zh {
    margin-bottom: 1.1rem;
    opacity: 0.82;
}

.gose-hero__scroll {
    z-index: 2;
    bottom: 1rem;
    pointer-events: none;
}

.gose-hero__actions {
    position: relative;
    z-index: 2;
}

.gose-hero__bg img {
    object-position: center 45%;
}

/* Hero light theme: gose-contrast.css */

/* —— About image —— */
.gose-about__visual img {
    object-position: center 30%;
    min-height: 280px;
}

/* —— Bento: readable overlays —— */
.gose-bento__card--feature {
    min-height: 320px;
}

.gose-bento__card--feature img {
    min-height: 320px;
    object-position: center 25%;
}

.gose-bento__card--bridge img {
    object-position: center 40%;
}

.gose-bento__card--youth img {
    object-position: center 20%;
}

/* —— Bento: sizing —— */
.gose-nation-constellation span {
    min-height: auto;
    padding: 0.75rem 0.85rem;
    word-break: keep-all;
    overflow-wrap: anywhere;
    overflow: visible;
}

.gose-nation-chip {
    justify-content: flex-start;
    min-height: 2.75rem;
    padding: 0.15rem 0;
    gap: 0.5rem;
}

.gose-nation-chip__name {
    min-width: 0;
    flex: 1;
    font-size: clamp(0.78rem, 2.4vw, 0.92rem);
    line-height: 1.3;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
}

.gose-member-panels {
    align-items: stretch;
    grid-template-columns: 1fr;
    gap: 1.15rem;
    margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

@media (min-width: 720px) {
    .gose-member-panels {
        grid-template-columns: 1fr;
    }

    .gose-nation-constellation--formal {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .gose-nation-constellation--affiliate {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.gose-member-panel--formal .gose-nation-constellation {
    /* full-width row above affiliate grid */
}

.gose-member-panel--formal {
    display: flex;
    flex-direction: column;
}

.gose-asean-map {
    padding: 1rem 1.1rem 1.1rem;
    margin-bottom: 1.5rem;
}

.gose-flags-ribbon {
    margin-bottom: 0;
    padding: 0.85rem 1rem;
    gap: 0.45rem;
}

.gose-flags-ribbon img {
    width: 2.15rem;
    height: 1.4rem;
}

.gose-asean-map__caption {
    margin-top: 0.65rem;
}

/* —— Vision / roadmap readability —— */
.gose-stack-list li {
    padding: 0.85rem 0;
}

.gose-roadmap__phase {
    padding: 1.15rem 1.2rem;
}

/* —— Contact: only form sticks —— */
@media (min-width: 900px) {
    .gose-contact__copy {
        position: static;
    }
}

/* —— Section heads on mobile —— */
.gose-section__head--center .gose-kicker::after {
    margin-top: 0.65rem;
}

.gose-section__head h2 {
    text-wrap: balance;
}

/* —— Marquee on small screens —— */
@media (max-width: 539px) {
    .gose-marquee__label {
        display: none;
    }
}
