/* Premium photographic choice cards. */
.fg-choice-group button {
    position: relative;
    min-height: 176px;
    align-items: stretch;
    gap: 0;
    padding: 0;
    overflow: hidden;
    border-radius: 18px;
    background: #fff;
    isolation: isolate;
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.fg-choice-group button::after {
    content: "✓";
    position: absolute;
    top: 10px;
    right: 10px;
    display: grid;
    place-items: center;
    width: 25px;
    height: 25px;
    border: 2px solid rgba(255, 255, 255, .92);
    border-radius: 50%;
    background: var(--fg-blue);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    box-shadow: 0 5px 15px rgba(4, 31, 50, .28);
    opacity: 0;
    transform: scale(.72);
    transition: .2s ease;
    z-index: 2;
}

.fg-choice-group button:hover {
    border-color: #87c8e0;
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(8, 50, 78, .14);
}

.fg-choice-group button:hover .fg-choice-media img {
    transform: scale(1.045);
}

.fg-choice-group button.is-selected {
    border-color: var(--fg-blue);
    background: #eff9fd;
    box-shadow: inset 0 0 0 2px var(--fg-blue), 0 14px 32px rgba(14, 121, 178, .17);
}

.fg-choice-group button.is-selected::after {
    opacity: 1;
    transform: scale(1);
}

.fg-choice-media {
    position: relative;
    display: block;
    width: 100%;
    height: 92px;
    overflow: hidden;
    background: #dce9ef;
}

.fg-choice-media::after {
    content: "";
    position: absolute;
    inset: 42% 0 0;
    background: linear-gradient(180deg, transparent, rgba(5, 28, 45, .24));
    pointer-events: none;
}

.fg-choice-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s cubic-bezier(.2, .8, .2, 1);
}

.fg-choice-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    padding: 12px 14px 13px;
}

.fg-choice-group strong {
    font-size: 14px;
    line-height: 1.25;
    color: var(--fg-navy);
}

.fg-choice-group small {
    font-size: 11px;
    line-height: 1.4;
    color: var(--fg-muted);
}

.fg-choice-group--compact button {
    min-height: 144px;
    padding: 0;
}

.fg-choice-group--compact .fg-choice-media {
    height: 88px;
}

.fg-choice-group--compact .fg-choice-content {
    padding: 11px 14px 12px;
}

@media (max-width: 740px) {
    .fg-choice-group,
    .fg-choice-group--compact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

    .fg-choice-group button,
    .fg-choice-group--compact button {
        display: flex;
        min-width: 0;
        min-height: 160px;
        border-radius: 15px;
    }

    .fg-choice-media,
    .fg-choice-group--compact .fg-choice-media {
        height: 82px;
        min-height: 82px;
    }

    .fg-choice-content,
    .fg-choice-group--compact .fg-choice-content {
        justify-content: flex-start;
        padding: 10px 10px 11px;
    }

    .fg-choice-group strong {
        font-size: 12.5px;
    }

    .fg-choice-group small {
        font-size: 9.5px;
        line-height: 1.35;
    }

    .fg-choice-group button::after {
        top: 7px;
        right: 7px;
        width: 22px;
        height: 22px;
        font-size: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fg-choice-group button,
    .fg-choice-media img {
        transition: none;
    }
}
