@import url("https://fonts.googleapis.com/css2?family=Caveat:wght@600;700&display=swap");

/* ── Section shell ───────────────────────────────────────── */

.fh-rev {
    position: relative;
    overflow: hidden;
    /* Peach, the same value as .fh-section--peach in flighta_home_sections.css, rather than a
       new colour: the page's section palette is white / gray / peach / maroon and this keeps to
       it. It also has to work HERE specifically - reviews sits between two gray sections
       (insurance above, faq below), and the old cool wash faded to white at the bottom, so white
       review cards sat on a near-white band with nothing separating them. */
    background: #FDF4EE;
    padding-block: 64px 56px;
}

/* The dotted flight path. Decorative, so it never takes a pointer or a screen reader. */
.fh-rev__trail {
    position: absolute;
    top: 26px;
    inset-inline-end: 24px;
    width: 230px;
    height: auto;
    /* The dotted flight path and its plane both paint with currentColor, so this one value
       colours the whole decoration. Warmed with the section. */
    color: #EBD3C0;
    opacity: 0.75;
    pointer-events: none;
}

[dir="rtl"] .fh-rev__trail {
    transform: scaleX(-1);
}

/* ── Intro ───────────────────────────────────────────────── */

.fh-rev__intro {
    max-width: 680px;
    margin-inline: auto;
    margin-block-end: 34px;
    text-align: center;
}

/* The rules either side are drawn, not typed, so there is nothing to read out. */
.fh-rev__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-family: var(--fh-font);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--fh-muted);
}

.fh-rev__eyebrow::before,
.fh-rev__eyebrow::after {
    content: "";
    width: 52px;
    height: 1px;
    /* Warmed to sit on the peach. #C8D4E2 was a blue-grey chosen against the old cool wash and
       reads as a dirty smudge on a warm background. */
    background: #E3CDBC;
}

.fh-rev__title {
    margin: 14px 0 0;
    font-family: var(--fh-font);
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--fh-ink);
}

/* The second half is set in a script face with a drawn underline, which is the whole look. The
   fallback chain matters: Caveat carries no Arabic, so Arabic falls back to the body font and
   simply reads as emphasis instead of as a broken script. */
.fh-rev__script {
    position: relative;
    display: inline-block;
    padding-inline: 4px;
    font-family: "Caveat", var(--fh-font);
    font-size: 1.22em;
    font-style: normal;
    font-weight: 700;
    line-height: 1;
    color: var(--fh-btn, #541725);
}

.fh-rev__underline {
    position: absolute;
    inset-inline: 0;
    bottom: -0.18em;
    width: 100%;
    height: auto;
    color: var(--fh-gold, #F2AE58);
    pointer-events: none;
}

.fh-rev__lede {
    margin: 14px auto 0;
    max-width: 580px;
    font-family: var(--fh-font);
    font-size: 15.5px;
    line-height: 1.7;
    color: var(--fh-body);
}

.fh-rev__score {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 16px 0 0;
    font-family: var(--fh-font);
    font-size: 14px;
    color: var(--fh-muted);
}

.fh-rev__score b {
    color: var(--fh-ink);
}

.fh-rev__score-sep {
    /* A neutral token rather than another warm tint: this is the "·" between "4.7 out of 5" and
       the review count, so it has to stay legible as TEXT, which #E3CDBC is too pale for. */
    color: var(--fh-faint, #99A1AF);
}

.fh-rev__stars {
    display: inline-flex;
    gap: 2px;
    color: #DCDFE4;
    font-size: 15px;
}

/* The literal is the point, not decoration: an unresolved var() invalidates the declaration
   and every star falls back to the grey above it. */
.fh-rev__stars .is-on {
    color: var(--fh-gold, #F2AE58);
}

.fh-rev__stars--sm {
    font-size: 12px;
}

/* ── Carousel ────────────────────────────────────────────── */

.fh-rev__carousel {
    display: flex;
    align-items: center;
    gap: 14px;
}

.fh-rev__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 44px) / 3);
    gap: 22px;
    flex: 1 1 auto;
    min-width: 0;
    padding-block: 6px 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    /* The arrows and the dots are the control; the bar under the cards is noise. */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.fh-rev__track::-webkit-scrollbar {
    display: none;
}

.fh-rev__track:focus-visible {
    outline: 2px solid var(--fh-btn, #541725);
    outline-offset: 4px;
    border-radius: 18px;
}

.fh-rev__arrow {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #E3EAF3;
    border-radius: 50%;
    background: #FFFFFF;
    color: var(--fh-btn, #541725);
    font-size: 13px;
    cursor: pointer;
    box-shadow: 0 4px 14px -8px rgba(16, 24, 40, 0.35);
    transition: background 0.15s ease, color 0.15s ease, opacity 0.15s ease;
}

.fh-rev__arrow:hover:not(:disabled) {
    background: var(--fh-btn, #541725);
    border-color: var(--fh-btn, #541725);
    color: #FFFFFF;
}

.fh-rev__arrow:disabled {
    opacity: 0.35;
    cursor: default;
}

/* The chevrons point along the reading direction, which reverses in Arabic. */
[dir="rtl"] .fh-rev__arrow i {
    transform: scaleX(-1);
}

/* ── Dots ────────────────────────────────────────────────── */

.fh-rev__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-block-start: 20px;
}

.fh-rev__dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #E3CDBC;
    cursor: pointer;
    transition: background 0.15s ease, width 0.15s ease;
}

.fh-rev__dot.is-on {
    width: 24px;
    border-radius: 999px;
    background: var(--fh-btn, #541725);
}

/* ── Card ────────────────────────────────────────────────── */

.fh-rev-card {
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 24px 24px 22px;
    border-radius: 18px;
    background: #FFFFFF;
    border: 1px solid #ECF1F7;
    box-shadow: 0 10px 30px -18px rgba(16, 24, 40, 0.35);
}

.fh-rev-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-block-end: 14px;
}

/* Reads "Verified", never "Verified booking": it reports that the reviewer was signed in when
   they wrote this, and nothing here checks that anybody flew. See the migration. */
.fh-rev-card__verified {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #EEF6FF;
    font-family: var(--fh-font);
    font-size: 11.5px;
    font-weight: 700;
    color: #1D6FB8;
    white-space: nowrap;
}

.fh-rev-card__verified i {
    font-size: 12px;
    color: #1D9BF0;
}

.fh-rev-card__quote {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 26px;
    line-height: 0;
    vertical-align: -0.22em;
    margin-inline-end: 3px;
    color: #C9D6E4;
}

/* ── Card foot: who wrote it ─────────────────────────────── */

.fh-rev-card__foot {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-block-start: auto;
    padding-block-start: 16px;
    border-block-start: 1px solid #F1F5F9;
}

.fh-rev-card__avatar {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #6C2234 0%, #4A1322 100%);
    color: #FFFFFF;
    font-family: var(--fh-font);
    font-size: 18px;
    font-weight: 700;
}

.fh-rev-card__who {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.fh-rev-card__name {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--fh-font);
    font-size: 16px;
    font-weight: 700;
    color: var(--fh-ink);
}

/* Says the reviewer was signed in when they wrote it - nothing more. See the migration. */
.fh-rev-card__badge {
    font-size: 13px;
    color: #1D9BF0;
}

.fh-rev-card__place {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: var(--fh-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fh-rev-card__place i {
    font-size: 11px;
    color: #9FB3C8;
}

/* ── Card body ───────────────────────────────────────────── */

.fh-rev-card__text {
    margin: 0 0 18px;
    font-family: var(--fh-font);
    font-size: 15px;
    line-height: 1.7;
    color: #5D6B7E;
    /* Five lines, then an ellipsis: the whole text is one click away on /reviews, and a card
       that grows with whatever somebody typed drags the slider out of shape. */
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fh-rev-card__title {
    margin: 0 0 10px;
    font-family: var(--fh-font);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--fh-ink);
}

.fh-rev-card__when {
    font-size: 12.5px;
    color: var(--fh-faint);
}

/* ── Arrows ──────────────────────────────────────────────── */

.fh-rev__nav {
    position: absolute;
    z-index: 1;
    inset-inline-end: 40px;
    bottom: 40px;
    display: flex;
    gap: 12px;
}

.fh-rev__arrow {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--fh-btn, #541725);
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(16, 24, 40, 0.18);
    transition: background 0.15s ease, color 0.15s ease, opacity 0.15s ease;
}

.fh-rev__arrow--next {
    background: var(--fh-btn, #541725);
    color: #FFFFFF;
}

.fh-rev__arrow:hover:not(:disabled) {
    background: var(--fh-btn-hover, #3F101B);
    border-color: var(--fh-btn-hover, #3F101B);
    color: #FFFFFF;
}

.fh-rev__arrow:disabled {
    opacity: 0.35;
    cursor: default;
}

/* The chevrons point along the reading direction, which reverses in Arabic. */
[dir="rtl"] .fh-rev__arrow i {
    transform: scaleX(-1);
}

/* ── Platform badges (whatever the operator is listed on) ── */

.fh-rev__platforms {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 16px;
    margin-block-start: 20px;
}

.fh-rev-platform {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border: 1px solid var(--fh-line-2);
    border-radius: 14px;
    background: #FFFFFF;
    text-decoration: none !important;
    color: inherit;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

a.fh-rev-platform[href]:hover {
    border-color: #D8DCE2;
    box-shadow: 0 6px 18px -8px rgba(16, 24, 40, 0.25);
}

.fh-rev-platform__logo {
    width: 34px;
    height: 34px;
    object-fit: contain;
    flex-shrink: 0;
}

.fh-rev-platform__body {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.fh-rev-platform__name {
    font-family: var(--fh-font);
    font-size: 14.5px;
    font-weight: 700;
    color: var(--fh-ink);
}

.fh-rev-platform__score {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: var(--fh-muted);
}

.fh-rev__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-block-start: 28px;
}

.fh-rev__write {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 24px;
    border: 0;
    border-radius: 999px;
    background: var(--fh-btn, #541725);
    font-family: var(--fh-font);
    font-size: 14px;
    font-weight: 700;
    color: #FFFFFF;
    cursor: pointer;
    box-shadow: 0 8px 20px -10px rgba(84, 23, 37, 0.8);
    transition: background 0.15s ease;
}

.fh-rev__write:hover {
    background: var(--fh-btn-hover, #3F101B);
}

.fh-rev__write i {
    font-size: 12.5px;
}

.fh-rev__all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid #DCE6F2;
    background: #FFFFFF;
    font-family: var(--fh-font);
    font-size: 14px;
    font-weight: 700;
    color: var(--fh-btn, #541725) !important;
    text-decoration: none !important;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.fh-rev__all:hover {
    border-color: var(--fh-btn, #541725);
    background: #FBF5F6;
}

.fh-rev__all i {
    font-size: 12px;
}

[dir="rtl"] .fh-rev__all i {
    transform: scaleX(-1);
}

/* ── Empty state ─────────────────────────────────────────── */

.fh-rev__empty {
    padding: 44px 24px;
    text-align: center;
    background: #F8F9FB;
    border: 1px dashed var(--fh-line-2);
    border-radius: 18px;
}

.fh-rev__empty i {
    font-size: 32px;
    color: var(--fh-line-2);
}

.fh-rev__empty h3 {
    margin: 14px 0 6px;
    font-family: var(--fh-font);
    font-size: 18px;
    font-weight: 700;
    color: var(--fh-ink);
}

.fh-rev__empty p {
    margin: 0 0 18px;
    font-size: 14px;
    color: var(--fh-muted);
}

/* ── Flash (the no-JavaScript path) ──────────────────────── */

.fh-rev__flash {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-block-end: 20px;
    padding: 13px 16px;
    border-radius: 10px;
    font-family: var(--fh-font);
    font-size: 14px;
    font-weight: 600;
}

.fh-rev__flash--ok {
    background: #ECFDF3;
    border: 1px solid #ABEFC6;
    color: #067647;
}

.fh-rev__flash--bad {
    background: #FEF3F2;
    border: 1px solid #FECDCA;
    color: #B42318;
}

/* ── Submit dialog ───────────────────────────────────────── */

.fh-rev-modal .modal-dialog {
    max-width: 560px;
}

.fh-rev-modal .modal-content {
    border: 0;
    border-radius: 18px;
    overflow: hidden;
    font-family: var(--fh-font);
    color: var(--fh-body);
}

.fh-rev-modal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    background: var(--fh-maroon);
    color: #FFFFFF;
}

.fh-rev-modal__title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #FFFFFF;
}

.fh-rev-modal__close {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    color: #FFFFFF;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.fh-rev-modal__close:hover {
    background: rgba(255, 255, 255, 0.26);
}

.fh-rev-form {
    padding: 22px 24px 24px;
}

.fh-rev-form__rating {
    margin: 0 0 20px;
    padding: 16px 12px 12px;
    border: 1px solid var(--fh-line);
    border-radius: 12px;
    background: #FBFCFD;
    text-align: center;
}

.fh-rev-form__rating legend {
    float: none;
    width: auto;
    margin: 0 0 8px;
    padding: 0;
    font-size: 13px;
    font-weight: 700;
    color: var(--fh-ink);
    text-align: center;
}

/* row-reverse + "5 first" in the DOM: star 1 lands at the inline start in both directions, and
   checking a star lights every star written after it, which is every lower one. */
.fh-rev-stars-input {
    position: relative;
    display: inline-flex;
    flex-direction: row-reverse;
    justify-content: center;
    gap: 6px;
}

.fh-rev-stars-input__radio {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.fh-rev-stars-input__star {
    margin: 0;
    font-size: 28px;
    line-height: 1;
    color: var(--fh-line-2);
    cursor: pointer;
    transition: color 0.12s ease, transform 0.12s ease;
}

.fh-rev-stars-input__star:hover {
    transform: scale(1.08);
}

.fh-rev-stars-input__radio:checked ~ .fh-rev-stars-input__star {
    color: var(--fh-gold);
}

/* While the pointer is in the row, the choice being previewed wins over the choice already
   made - otherwise hovering 2 with 5 selected shows 5 stars lit and the preview means nothing.
   These three rules have to stay in this order; they settle it by source order, not weight. */
.fh-rev-stars-input:hover .fh-rev-stars-input__star {
    color: var(--fh-line-2);
}

.fh-rev-stars-input:hover .fh-rev-stars-input__star:hover,
.fh-rev-stars-input__star:hover ~ .fh-rev-stars-input__star {
    color: var(--fh-gold);
}

.fh-rev-stars-input__radio:focus-visible + .fh-rev-stars-input__star {
    outline: 2px solid var(--fh-maroon);
    outline-offset: 3px;
    border-radius: 4px;
}

.fh-rev-form__hint {
    display: block;
    min-height: 18px;
    margin-block-start: 6px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--fh-maroon);
}

.fh-rev-form__row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.fh-rev-form__field {
    position: relative;
    margin-block-end: 14px;
}

.fh-rev-form__field label {
    display: block;
    margin-block-end: 6px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--fh-ink);
}

.fh-rev-form__field input,
.fh-rev-form__field textarea {
    width: 100%;
    padding: 11px 13px;
    border: 1px solid var(--fh-line-2);
    border-radius: 10px;
    background: #FFFFFF;
    font-family: var(--fh-font);
    font-size: 14px;
    color: var(--fh-ink);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.fh-rev-form__field textarea {
    resize: vertical;
    min-height: 104px;
    line-height: 1.6;
}

.fh-rev-form__field input:focus,
.fh-rev-form__field textarea:focus {
    outline: none;
    border-color: var(--fh-maroon);
    box-shadow: 0 0 0 3px rgba(92, 26, 42, 0.1);
}

.fh-rev-form__req {
    color: #B42318;
}

.fh-rev-form__opt {
    font-weight: 500;
    color: var(--fh-faint);
}

.fh-rev-form__counter {
    position: absolute;
    inset-inline-end: 2px;
    bottom: -16px;
    font-size: 11px;
    color: var(--fh-faint);
    font-variant-numeric: tabular-nums;
}

/* A field the dialog is complaining about. The message sits under the field it belongs to,
   which for the rating is the group - the radios themselves are visually hidden, and a native
   bubble anchored to one of those points at nothing. */
.fh-rev-form__field.is-bad input,
.fh-rev-form__field.is-bad textarea {
    border-color: #F0A8A2;
    background: #FFFBFB;
}

.fh-rev-form__rating.is-bad {
    border-color: #F0A8A2;
    background: #FFFBFB;
}

.fh-rev-form__error {
    display: block;
    margin-block-start: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #B42318;
}

.fh-rev-form__as {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    padding: 10px 13px;
    border-radius: 10px;
    background: var(--fh-tint);
    font-size: 13px;
    color: var(--fh-body);
}

.fh-rev-form__as i {
    color: var(--fh-maroon);
}

.fh-rev-form__privacy {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 16px 0 0;
    font-size: 12px;
    line-height: 1.55;
    color: var(--fh-muted);
}

.fh-rev-form__privacy i {
    margin-block-start: 2px;
    color: var(--fh-faint);
}

.fh-rev-form__actions {
    margin-block-start: 18px;
}

.fh-rev-form__submit {
    width: 100%;
    height: 44px;
    font-size: 14.5px;
}

.fh-rev-form__submit:disabled {
    opacity: 0.65;
    cursor: progress;
}

.fh-rev-form__moderation {
    margin: 10px 0 0;
    font-size: 11.5px;
    text-align: center;
    color: var(--fh-faint);
}

.fh-rev-form__alert {
    margin-block-end: 16px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.5;
}

.fh-rev-form__alert--ok {
    background: #ECFDF3;
    border: 1px solid #ABEFC6;
    color: #067647;
}

.fh-rev-form__alert--bad {
    background: #FEF3F2;
    border: 1px solid #FECDCA;
    color: #B42318;
}

/* ── /reviews page ───────────────────────────────────────── */

.fh-rev-page {
    padding-block: 40px 64px;
    background: #FFFFFF;
    min-height: 60vh;
}

.fh-rev-page__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-block-end: 26px;
}

.fh-rev-page__title {
    margin: 0 0 4px;
    font-family: var(--fh-font);
    font-size: 28px;
    font-weight: 700;
    color: var(--fh-ink);
}

.fh-rev-page__count {
    margin: 0;
    font-family: var(--fh-font);
    font-size: 14px;
    color: var(--fh-muted);
}

.fh-rev-page__strip {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    padding: 16px 20px;
    margin-block-end: 24px;
    background: #F8F9FB;
    border: 1px solid var(--fh-line-2);
    border-radius: 16px;
    font-family: var(--fh-font);
}

.fh-rev-page__avg {
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
    color: var(--fh-ink);
    font-variant-numeric: tabular-nums;
}

.fh-rev-page__avg-note {
    font-size: 13px;
    color: var(--fh-muted);
}

.fh-rev-page__cta {
    margin-inline-start: auto;
}

.fh-rev-page__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

/* The page shows reviews in full - it is the place the slider links to. */
.fh-rev-page__grid .fh-rev-card__text {
    display: block;
    overflow: visible;
}

.fh-rev-page__pager {
    display: flex;
    justify-content: center;
    margin-block-start: 30px;
    font-family: var(--fh-font);
}

.fh-rev-page__pager .pagination {
    margin: 0;
    gap: 6px;
    flex-wrap: wrap;
}

.fh-rev-page__pager .page-link {
    min-width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--fh-line-2);
    border-radius: 9px;
    background: #FFFFFF;
    color: var(--fh-body);
    font-size: 13.5px;
    font-weight: 600;
}

.fh-rev-page__pager .page-item.active .page-link {
    background: var(--fh-maroon);
    border-color: var(--fh-maroon);
    color: #FFFFFF;
}

.fh-rev-page__pager .page-item.disabled .page-link {
    opacity: 0.45;
}

/* ── Responsive ──────────────────────────────────────────── */

@media (max-width: 1199px) {
    .fh-rev__track { grid-auto-columns: calc((100% - 22px) / 2); }
    .fh-rev__title { font-size: 34px; }
    .fh-rev-page__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
    .fh-rev { padding-block: 44px 40px; }
    .fh-rev__trail { width: 150px; top: 14px; opacity: 0.5; }
    .fh-rev__title { font-size: 27px; }
    .fh-rev__eyebrow::before,
    .fh-rev__eyebrow::after { width: 26px; }
    .fh-rev__lede { font-size: 14.5px; }

    /* Columns in one grid row all take the tallest card's height, which is right beside each
       other and wrong one at a time: the short review would inherit the long one's box. */
    .fh-rev__track {
        display: flex;
        align-items: flex-start;
    }

    .fh-rev-card { flex: 0 0 100%; }
    /* The dots and a swipe are the control at this width; the arrows would eat the cards. */
    .fh-rev__arrow { display: none; }

    .fh-rev__actions { flex-direction: column; }
    .fh-rev__write,
    .fh-rev__all { width: 100%; justify-content: center; }

    .fh-rev-page__grid { grid-template-columns: minmax(0, 1fr); }
    .fh-rev-form__row { grid-template-columns: minmax(0, 1fr); }
    .fh-rev-page__cta { margin-inline-start: 0; width: 100%; }
    .fh-rev-stars-input__star { font-size: 32px; }
}
