/* FYV Question 1 — Homepage banner widget
   Styled to match the FYV quiz card (.fyv-question) exactly */

.dev-fyv-q1 {
    /* Override theme colour variables so no descendant gets the orange alter_bg_color */
    --theme-color-alter_bg_color: transparent;
    --theme-color-alter_bg_color2: transparent;
    --theme-color-bg_color: transparent;

    background: #fff;
    border-radius: 4px;
    padding: 16px 18px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Header block — brand label, hero heading, tagline */
.dev-fyv-q1 p.dev-fyv-q1__eyebrow {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: capitalize;
    color: #00337a;
    margin: 0 0 4px;
    padding: 0;
    background: transparent;
    text-align: center;
}
.dev-fyv-q1 p.dev-fyv-q1__brand {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: capitalize;
    color: #00337a;
    margin: 0 0 4px;
    padding: 0;
    background: transparent;
    text-align: center;
}
.dev-fyv-q1 p.dev-fyv-q1__hero {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 20px;
    font-weight: 550;
    color: #424242;
    text-transform: capitalize;
    margin: 0 0 4px;
    padding: 0;
    line-height: 1.2;
    background: transparent;
    text-align: center;
}
.dev-fyv-q1 p.dev-fyv-q1__hero strong {
    font-weight: 550;
}
.dev-fyv-q1 p.dev-fyv-q1__tagline {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #00337a;
    margin: 0 0 4px;
    padding: 0;
    background: transparent;
    text-align: center;
}

/* Progress dots — matches FYV page progress bar style */
.dev-fyv-q1__progress {
    display: flex;
    gap: 6px;
    margin-bottom: 6px;
    padding-top: 20px;
    padding-bottom: 6px;
}
.dev-fyv-q1__dot {
    flex: 1;
    height: 4px;
    border-radius: 2px;
    background: #d8dce6;
}
.dev-fyv-q1__dot--active {
    background: #00337a;
}

/* Question number — matches .q-number */
.dev-fyv-q1 p.dev-fyv-q1__qnum {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #00337a;
    margin: 0 0 8px;
    padding: 0;
    background: transparent;
    text-align: left;
}

/* Question text — matches .q-text */
.dev-fyv-q1 p.dev-fyv-q1__qtext {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #424242;
    margin: 0 0 8px;
    padding: 0;
    line-height: 1.3;
    letter-spacing: 0.3px;
    text-transform: capitalize;
    background: transparent;
    text-align: left;
}

/* Options grid — matches .q-options */
.dev-fyv-q1__options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

/* Option button — matches .q-option exactly */
.dev-fyv-q1__option {
    padding: 8px 10px;
    border: 1.5px solid #d0d5e0;
    border-radius: 4px;
    background: #fff;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    color: #84817a;
    cursor: pointer;
    text-align: center;
    line-height: 1.3;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.dev-fyv-q1__option:hover {
    border-color: #00337a;
    background: #eef1f8;
    color: #00337a;
}

.dev-fyv-q1__option.selected {
    border-color: #00337a;
    background: #00337a;
    color: #fff;
}

/* Small laptops: 1025px – 1279px */
@media (min-width: 1025px) and (max-width: 1279px) {
    .dev-fyv-q1 {
        padding: 14px 16px;
    }
    .dev-fyv-q1 p.dev-fyv-q1__hero {
        font-size: 17px;
    }
    .dev-fyv-q1 p.dev-fyv-q1__brand,
    .dev-fyv-q1 p.dev-fyv-q1__tagline {
        font-size: 13px;
    }
    .dev-fyv-q1 p.dev-fyv-q1__qnum {
        font-size: 12px;
    }
    .dev-fyv-q1 p.dev-fyv-q1__qtext {
        font-size: 13px;
        margin: 0 0 16px;
    }
    .dev-fyv-q1__options {
        gap: 8px;
    }
    .dev-fyv-q1__option {
        font-size: 13px;
        padding: 7px 8px;
    }
}

/* Large desktops: 1440px+ */
@media (min-width: 1440px) {
    .dev-fyv-q1 {
        padding: 20px 24px;
    }
    .dev-fyv-q1 p.dev-fyv-q1__hero {
        font-size: 22px;
    }
    .dev-fyv-q1 p.dev-fyv-q1__brand,
    .dev-fyv-q1 p.dev-fyv-q1__tagline {
        font-size: 16px;
    }
    .dev-fyv-q1 p.dev-fyv-q1__qnum {
        font-size: 15px;
    }
    .dev-fyv-q1 p.dev-fyv-q1__qtext {
        font-size: 16px;
    }
    .dev-fyv-q1__options {
        gap: 12px;
    }
    .dev-fyv-q1__option {
        font-size: 15px;
        padding: 10px 12px;
    }
}

/* Ultra-wide: 1920px+ */
@media (min-width: 1920px) {
    .dev-fyv-q1 {
        padding: 28px 32px;
    }
    .dev-fyv-q1 p.dev-fyv-q1__hero {
        font-size: 34px;
    }
    .dev-fyv-q1 p.dev-fyv-q1__brand,
    .dev-fyv-q1 p.dev-fyv-q1__tagline {
        font-size: 22px;
    }
    .dev-fyv-q1 p.dev-fyv-q1__qnum {
        font-size: 16px;
    }
    .dev-fyv-q1 p.dev-fyv-q1__qtext {
        font-size: 22px;
    }
    .dev-fyv-q1__options {
        gap: 14px;
    }
    .dev-fyv-q1__option {
        font-size: 21px;
        padding: 12px 14px;
    }
}

/* Mobile: ≤767px */
@media (max-width: 767px) {
    .dev-fyv-q1 {
        padding: 20px 12px;
        height: auto;
        justify-content: flex-start;
    }
    .dev-fyv-q1 p.dev-fyv-q1__eyebrow {
        font-size: 10px;
        margin: 0 0 2px;
    }
    .dev-fyv-q1 p.dev-fyv-q1__hero {
        font-size: 18px;
        margin: 0 0 2px;
        line-height: 1.15;
    }
    .dev-fyv-q1 p.dev-fyv-q1__tagline {
        font-size: 13px;
        margin: 0 0 0;
    }
    .dev-fyv-q1__progress {
        padding-top: 6px;
        padding-bottom: 6px;
        margin-bottom: 0;
    }
    .dev-fyv-q1 p.dev-fyv-q1__qnum {
        font-size: 10px;
        margin: 0 0 3px;
    }
    .dev-fyv-q1 p.dev-fyv-q1__qtext {
        font-size: 18px;
        margin: 0 0 6px;
        line-height: 1.2;
    }
    .dev-fyv-q1__options {
        grid-template-columns: 1fr;
        gap: 6px;
    }
    .dev-fyv-q1__option {
        font-size: 13px;
        padding: 7px 6px;
    }
}
