/* list-your-perk.css — depends on tokens from style-homepage-gwp.css. */

/* Nuke the shared inside-page top margin so the hero sits under the header */
.fx-insidepage__wrapper:has(.list-your-perk-page) {
    padding-top: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* HERO — page-scoped tweaks on top of the shared .gwp-hero__* styles.
   Only what genuinely differs lives here. */

/* BG (#31356e). Set explicitly so no
   downstream cascade drifts the hero into a different shade. */
.list-your-perk-page .gwp-hero {
    background-color: #31356e;
}

/* Two-column grid: copy left, form right. Stacks under 992px. */
.list-your-perk-page .lyp-hero__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 992px) {
    .list-your-perk-page .lyp-hero__grid {
        grid-template-columns: minmax(0, 521px) minmax(0, 442px);
        justify-content: space-between;
        gap: 60px;
    }
}

/* Copy column — uniform 18px vertical rhythm */
.list-your-perk-page .lyp-hero__copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
}

/* Title — matches homepage .gwp-hero__title scale (28/32/36).
   !important defeats the global `h1 { font-size: 2.5rem }` rule. */
.list-your-perk-page .gwp-hero__title {
    text-transform: capitalize;
    font-size: 28px !important;
}

@media (min-width: 768px) { .list-your-perk-page .gwp-hero__title { font-size: 32px !important; } }
@media (min-width: 992px) { .list-your-perk-page .gwp-hero__title { font-size: 36px !important; } }

.list-your-perk-page .gwp-hero__title em {
    font-style: italic;
    color: var(--gwp-primary);
    font-weight: var(--gwp-fw-bold);
}

/* Body — shared has max-width 560; drop it, our column controls width */
.list-your-perk-page .gwp-hero__body {
    max-width: none;
}

/* Feature list (check icon + label)
   Each <li> is a direct child of .lyp-hero__copy so the parent's 18px flex
   gap already handles the vertical rhythm between features. */
.list-your-perk-page .lyp-hero__features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: contents;
}

.list-your-perk-page .lyp-hero__feature {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--gwp-text-inverse);
    font-family: var(--gwp-font-body);
    font-size: 16px;
    line-height: 1.331;
}

.list-your-perk-page .lyp-hero__feature-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: var(--gwp-primary);
}

/* FORM CARD */
.list-your-perk-page .lyp-form {
    width: 100%;
    max-width: 442px;
    margin: 0 auto;
    background-color: #585fbe;
    border: 2px solid var(--gwp-primary);
    border-radius: var(--gwp-radius-lg);
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
    box-sizing: border-box;
    text-align: left;
}

@media (min-width: 992px) {
    .list-your-perk-page .lyp-form {
        margin: 0 0 0 auto;
    }
}

.list-your-perk-page .lyp-form__title {
    font-family: var(--gwp-font-title);
    font-size: 22px;
    font-weight: var(--gwp-fw-bold);
    color: #ffcf4d;
    opacity: 1;
    margin: 0 0 42px 0;
    line-height: 1.2;
}

.list-your-perk-page .lyp-form__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.list-your-perk-page .lyp-form__field {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.list-your-perk-page .lyp-form__field:last-of-type {
    margin-bottom: 0;
}

.list-your-perk-page .lyp-form__label {
    font-family: var(--gwp-font-title);
    font-weight: var(--gwp-fw-semibold);
    font-size: var(--gwp-fs-base);
    color: var(--gwp-text-inverse);
    margin-bottom: 6px;
    line-height: 1.2;
}

.list-your-perk-page .lyp-form__control {
    width: 100%;
    background: transparent;
    border: 0;
    border-bottom: 0.6px solid rgba(255, 255, 255, 0.2);
    padding: 10px 12px;
    color: var(--gwp-text-inverse);
    font-family: var(--gwp-font-body);
    font-weight: 300;
    font-size: var(--gwp-fs-base);
    line-height: 1.4;
    outline: none;
    border-radius: 0;
    box-shadow: none;
}

.list-your-perk-page .lyp-form__control::placeholder {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 300;
}

.list-your-perk-page .lyp-form__control:focus {
    border-bottom-color: var(--gwp-primary);
    background: transparent;
    color: var(--gwp-text-inverse);
    box-shadow: none;
}

.list-your-perk-page .lyp-form__control:-webkit-autofill {
    -webkit-text-fill-color: var(--gwp-text-inverse);
    -webkit-box-shadow: 0 0 0 1000px #585fbe inset;
    caret-color: var(--gwp-text-inverse);
}

/* Submit button — uses .gwp-btn .gwp-btn--primary .gwp-btn--cta (shared).
   Only the page-specific top margin lives here. */
.list-your-perk-page .lyp-form__submit {
    margin-top: 15px;
}

/* Phone link under the submit button */
.list-your-perk-page .lyp-form__phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
    color: var(--gwp-text-inverse);
    font-family: var(--gwp-font-body);
    font-size: 16px;
    line-height: 1.331;
    text-decoration: none;
}

.list-your-perk-page .lyp-form__phone-icon {
    width: 18px;
    height: 18px;
    color: var(--gwp-text-inverse);
    flex-shrink: 0;
}

.list-your-perk-page .lyp-form__phone-number {
    font-family: var(--gwp-font-title);
    font-weight: var(--gwp-fw-bold);
    color: var(--gwp-text-inverse);
    text-decoration: none;
}

.list-your-perk-page .lyp-form__phone:hover .lyp-form__phone-number {
    color: var(--gwp-primary);
}

/* HERO — responsive (iPad + mobile).
   Desktop grid stacks under 992px; the rules below tune the stacked state. */
@media (max-width: 991.98px) {
    .list-your-perk-page .lyp-hero__grid {
        gap: 32px;
    }

    .list-your-perk-page .lyp-hero__copy {
        gap: 16px;
        align-items: center;
        text-align: center;
    }

    .list-your-perk-page .lyp-hero__features {
        align-items: flex-start;
    }

    .list-your-perk-page .lyp-hero__feature {
        text-align: left;
    }

    .list-your-perk-page .lyp-form {
        max-width: 520px;
    }
}

@media (max-width: 767.98px) {
    /* Match homepage .gwp-hero__title / .gwp-hero__body mobile scale */
    .list-your-perk-page .gwp-hero__title {
        font-size: 29px !important;
        line-height: 1.2;
    }

    .list-your-perk-page .lyp-hero__grid {
        gap: 28px;
    }

    .list-your-perk-page .lyp-hero__copy {
        gap: 14px;
    }

    .list-your-perk-page .gwp-hero__body {
        font-size: 16px;
        line-height: 1.6;
    }

    .list-your-perk-page .lyp-hero__feature {
        font-size: 15px;
    }

    .list-your-perk-page .lyp-hero__feature-icon {
        width: 22px;
        height: 22px;
    }

    .list-your-perk-page .lyp-form {
        padding: 18px;
    }

    .list-your-perk-page .lyp-form__title {
        font-size: 20px;
        margin-bottom: 24px;
    }

    .list-your-perk-page .lyp-form__field {
        margin-bottom: 16px;
    }

    .list-your-perk-page .lyp-form__grid {
        gap: 14px;
        margin-bottom: 16px;
    }
}

@media (max-width: 575.98px) {
    .list-your-perk-page .lyp-hero__grid {
        gap: 24px;
    }

    .list-your-perk-page .lyp-hero__copy {
        gap: 12px;
    }

    .list-your-perk-page .lyp-hero__feature {
        font-size: 14px;
        gap: 8px;
    }

    .list-your-perk-page .lyp-hero__feature-icon {
        width: 20px;
        height: 20px;
    }

    .list-your-perk-page .lyp-form {
        padding: 16px;
        border-radius: var(--gwp-radius-md, 12px);
    }

    .list-your-perk-page .lyp-form__title {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .list-your-perk-page .lyp-form__label {
        font-size: 11px;
    }

    .list-your-perk-page .lyp-form__control {
        font-size: 13px;
        padding: 8px 10px;
    }

    .list-your-perk-page .lyp-form__field {
        margin-bottom: 14px;
    }

    .list-your-perk-page .lyp-form__grid {
        gap: 12px;
        margin-bottom: 14px;
    }

    .list-your-perk-page .lyp-form__phone {
        font-size: 14px;
        gap: 8px;
    }

    .list-your-perk-page .lyp-form__phone-icon {
        width: 16px;
        height: 16px;
    }
}

/* ELIGIBILITY CRITERIA — flex-col gap 50px; intro (806w, 9px inner gap)
   then features (1278w, 114px gap). */
.list-your-perk-page .lyp-elig {
    background-image: linear-gradient(99.27deg, #31356e 36.44%, #585fbe 112.51%);
    color: var(--gwp-text-inverse);
}

/* Eyebrow — visuals from global .gwp-eyebrow + --inverse.
   Page-specific: only the bold "ligibility criteria" span + spacing. */
.list-your-perk-page .lyp-elig__eyebrow {
    margin-bottom: 9px;
}

.list-your-perk-page .lyp-elig__eyebrow .lyp-elig__eyebrow-em {
    font-weight: var(--gwp-fw-bold);
}

/* Title — uses shared .gwp-section-title .gwp-section-title--inverse, but
   needs capitalize + max-width 633 + line-height 1.2 + custom responsive
   sizes 26/30/33 that differ from the shared 24/32/36. */
.list-your-perk-page .lyp-elig__title {
    font-size: 26px !important;
    line-height: 1.2;
    text-transform: capitalize;
    max-width: 633px;
    margin: 0 auto 9px auto !important;
}

@media (min-width: 768px) {
    .list-your-perk-page .lyp-elig__title { font-size: 30px !important; }
}
@media (min-width: 992px) {
    .list-your-perk-page .lyp-elig__title { font-size: 33px !important; }
}

.list-your-perk-page .lyp-elig__title-accent {
    color: var(--gwp-primary);
}

/* Lead — uses .gwp-section-lead .gwp-section-lead--inverse (shared).
   Only page-specific max-width + tighter 25px line-height remain here. */
.list-your-perk-page .lyp-elig__lead {
    line-height: 25px;
    max-width: 806px;
    margin: 0 auto !important;
}

/* --- Left: infographic — cards fill the column so labels wrap to 2 lines
   like the target design; badge overlaps where the 4 cards meet. --- */
.list-your-perk-page .lyp-elig__infographic {
    width: 100%;
    max-width: 620px;
}

/* Horizontal breathing room between the 2x2 cards column and the info-list
   column at lg+ (the row uses g-0 so we add it explicitly). */
@media (min-width: 992px) {
    .list-your-perk-page .lyp-elig .col-lg-6:first-child {
        padding-right: 40px;
    }
    .list-your-perk-page .lyp-elig .col-lg-6:last-child {
        padding-left: 40px;
    }
}

/* Two-column grid; cards stretch to fill each track. Gap wide enough for
   the 90px badge to sit prominently at the intersection. */
.list-your-perk-page .lyp-elig__cards {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 24px !important;
}

@media (min-width: 576px) {
    .list-your-perk-page .lyp-elig__cards {
        gap: 40px 40px !important;
        justify-content: stretch;
    }
}

/* Cards — 2px gold border, r-18, #31356e bg, p-[20px]; height flexes to content */
.list-your-perk-page .lyp-elig__card {
    background-color: #31356e;
    border: 2px solid var(--gwp-primary);
    border-radius: 18px;
    padding: 24px;
    min-height: 165px;
    width: 100%;
}

.list-your-perk-page .lyp-elig__card-title {
    font-family: var(--gwp-font-body);
    font-weight: var(--gwp-fw-bold);
    font-size: 18px !important;
    line-height: 26px;
    color: var(--gwp-primary);
    margin: 0;
    text-transform: none;
}

@media (min-width: 992px) {
    .list-your-perk-page .lyp-elig__card-title { font-size: 20px !important; }
}

.list-your-perk-page .lyp-elig__card-body {
    font-family: var(--gwp-font-body);
    font-weight: var(--gwp-fw-medium);
    font-size: var(--gwp-fs-base);
    line-height: 1.331;
    color: var(--gwp-text-inverse);
    text-transform: capitalize;
    margin: 0;
}

@media (min-width: 992px) {
    .list-your-perk-page .lyp-elig__card-body { font-size: var(--gwp-fs-base); }
}

/* Center GWP briefcase badge (90px gold ring) + 2592:400 (84px briefcase).
   Positioned absolute over the .lyp-elig__infographic wrapper so it overlaps
   the 70px column gap between the four cards. */
.list-your-perk-page .lyp-elig__badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    background-color: var(--gwp-primary);
    border-radius: 50%;
    z-index: 2;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}

.list-your-perk-page .lyp-elig__badge-img {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    object-fit: cover;
}

.list-your-perk-page .lyp-elig__item-icon {
    width: 44px;
    height: 44px;
    background-color: #31356e;
    color: var(--gwp-primary);
    border-radius: 6px;
    font-size: 22px;
    line-height: 1;
}

.list-your-perk-page .lyp-elig__item-title {
    font-family: var(--gwp-font-title);
    font-weight: var(--gwp-fw-bold);
    font-size: 20px !important;
    line-height: 1.331;
    color: var(--gwp-text-inverse);
    text-transform: none;
}

@media (min-width: 992px) {
    .list-your-perk-page .lyp-elig__item-title { font-size: 22px !important; }
}

.list-your-perk-page .lyp-elig__item-copy {
    font-family: var(--gwp-font-body);
    font-weight: var(--gwp-fw-regular);
    font-size: var(--gwp-fs-base);
    line-height: 22px;
    color: var(--gwp-text-inverse);
}

/* Mobile: single-column grid so cards don't get too narrow beside the badge */
@media (max-width: 575.98px) {
    .list-your-perk-page .lyp-elig__cards {
        grid-template-columns: 1fr !important;
    }
    .list-your-perk-page .lyp-elig__badge {
        display: none !important;
    }
}

/* ELIGIBILITY — Responsive (iPad + mobile) */
@media (max-width: 991.98px) {
    .list-your-perk-page .lyp-elig__items {
        max-width: 720px;
    }

    .list-your-perk-page .lyp-elig__item-title {
        font-size: 18px !important;
    }

    .list-your-perk-page .lyp-elig__item-copy {
        line-height: 1.55;
    }
}

@media (max-width: 767.98px) {
    .list-your-perk-page .lyp-elig__card {
        padding: 18px;
        min-height: 140px;
    }

    .list-your-perk-page .lyp-elig__card-title {
        font-size: 16px !important;
        line-height: 1.3;
    }

    .list-your-perk-page .lyp-elig__card-body {
        font-size: 13px;
    }

    .list-your-perk-page .lyp-elig__badge {
        width: 72px;
        height: 72px;
    }

    .list-your-perk-page .lyp-elig__badge-img {
        width: 66px;
        height: 66px;
    }

    .list-your-perk-page .lyp-elig__item-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .list-your-perk-page .lyp-elig__item-title {
        font-size: 17px !important;
    }

    .list-your-perk-page .lyp-elig__item-copy {
        font-size: 13px;
    }
}

@media (max-width: 575.98px) {
    .list-your-perk-page .lyp-elig__card {
        padding: 16px;
        min-height: 0;
    }

    .list-your-perk-page .lyp-elig__card-title {
        font-size: 16px !important;
    }

    .list-your-perk-page .lyp-elig__card-body {
        font-size: 13px;
    }

    .list-your-perk-page .lyp-elig__items {
        gap: 20px !important;
    }

    .list-your-perk-page .lyp-elig__item-icon {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

    .list-your-perk-page .lyp-elig__item-title {
        font-size: 16px !important;
    }

    .list-your-perk-page .lyp-elig__item-copy {
        font-size: 13px;
        line-height: 1.5;
    }
}

/* BENEFITS SECTION HEADER — overrides shared .gwp-different__* base:
   40px pill badge with #224eb7 outline, 36px Plus Jakarta Bold title
   capped at 586px, 16px Inter description underneath. */
.list-your-perk-page .gwp-different__header {
    gap: 12px;
    max-width: 1082px;
}

/* Badge visuals from global .gwp-eyebrow (see cshtml). */

.list-your-perk-page .gwp-different__title-wrap {
    gap: 16px;
    max-width: 1082px;
    margin: 0 auto;
}

/* Title uses shared .gwp-section-title; only max-width + capitalize here. */
.list-your-perk-page .gwp-different__title {
    max-width: 586px;
    margin: 0 auto !important;
    text-transform: capitalize;
}

/* Subtitle uses .gwp-section-lead (shared) — nothing to override. */

@media (max-width: 991.98px) {
    .list-your-perk-page .gwp-different__title {
        font-size: 30px !important;
        max-width: 520px;
    }
}

@media (max-width: 767.98px) {
    .list-your-perk-page .gwp-different__title {
        font-size: 24px !important;
        max-width: 100%;
    }

    .list-your-perk-page .gwp-different__subtitle {
        font-size: 14px;
    }
}

@media (max-width: 575.98px) {
    .list-your-perk-page .gwp-different__title {
        font-size: 22px !important;
        line-height: 1.2;
    }
}
