/* Main section heading wrapped for translation. The base stylesheet styles
   `.sec-hdn h2 span` as the small uppercase eyebrow, so the translatable main
   title needs to opt back out to the h2's own (large) heading style. Using
   inherit keeps it correct across the responsive font-size breakpoints. */
.sec-hdn h2 span.gq-h2-title {
    font-family: var(--hdnFont);
    font-size: inherit;
    color: inherit;
    text-transform: none;
    letter-spacing: normal;
    display: inline;
    width: auto;
    margin: 0;
}

/* Goal Questers landing-page language chooser */
#gq-lang-chooser {
    position: relative;
    display: inline-block;
    margin-left: 18px;
    vertical-align: middle;
    font-family: 'Inter', 'Roboto', sans-serif;
}

.gq-lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    border-radius: 24px;
    padding: 7px 12px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    transition: background 0.2s ease;
}
.gq-lang-toggle:hover { background: rgba(255, 255, 255, 0.22); }
.gq-lang-flag { font-size: 16px; }
.gq-lang-code { font-weight: 600; letter-spacing: 0.5px; }
.gq-lang-caret { font-size: 11px; opacity: 0.8; }

.gq-lang-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 220px;
    max-height: 340px;
    overflow-y: auto;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 12px 38px rgba(0, 0, 0, 0.18);
    padding: 6px;
    display: none;
    z-index: 1200;
}
#gq-lang-chooser.gq-lang-open .gq-lang-menu { display: block; }

.gq-lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    text-align: left;
    background: transparent;
    border: 0;
    border-radius: 10px;
    padding: 9px 12px;
    cursor: pointer;
    color: #1a1a2e;
    font-size: 14px;
}
.gq-lang-option:hover { background: #f1f1f7; }
.gq-lang-option-active { background: #ecebff; }
.gq-lang-option .gq-lang-native { font-weight: 600; }
.gq-lang-option .gq-lang-en { margin-left: auto; color: #8a8aa0; font-size: 12px; }

/* On small screens the chooser sits inside the collapsed nav; keep it readable */
@media (max-width: 767px) {
    #gq-lang-chooser { display: block; margin: 14px 0 0; }
    .gq-lang-toggle {
        background: rgba(0, 0, 0, 0.06);
        border-color: rgba(0, 0, 0, 0.15);
        color: #1a1a2e;
    }
    .gq-lang-menu { right: auto; left: 0; }
}
