/* Claim pages only. Let text wrap and the masthead grow when visitors enlarge type. */
.rb-claim-mast {
    width: 100%;
    color: #153d35;
    background: linear-gradient(100deg, #fff 22%, #f7fbf9 58%, #edf6f1);
    border: 0;
    box-shadow: none;
    font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
    overflow-wrap: anywhere;
}
.rb-claim-mast__bar {
    box-sizing: border-box;
    display: grid;
    grid-template: "logo help contacts" auto "logo origin origin" auto / auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0 .9rem;
    padding: .36rem clamp(.875rem, 3.5vw, 3.75rem);
}
.rb-claim-mast__brand {
    grid-area: logo;
    display: grid;
    justify-items: center;
    justify-self: start;
    gap: .12rem;
    min-width: 0;
    max-width: 100%;
}
.rb-claim-mast__pride {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    color: #344f46;
    font-size: .71rem;
    font-weight: 600;
    line-height: 1.3;
}
.rb-claim-mast__pride img { width: 1.1rem; height: auto; flex: none; }
.rb-claim-mast__brand img { border: 0; box-shadow: none; }
.rb-claim-mast__logo {
    display: block;
    width: clamp(8.5rem, 14vw, 10.5rem);
    max-width: 100%;
    height: auto;
}
.rb-claim-mast__help, .rb-claim-mast__origin { margin: 0; text-align: end; }
.rb-claim-mast__help { grid-area: help; font-size: .82rem; line-height: 1.35; font-weight: 650; }
.rb-claim-mast__contacts,
.rb-claim-mast__contacts a { display: flex; align-items: center; }
.rb-claim-mast__contacts {
    grid-area: contacts;
    justify-content: flex-end;
    gap: 0 .95rem;
    flex-wrap: wrap;
}
.rb-claim-mast__contacts a {
    gap: .35rem;
    min-height: 1.75rem;
    color: #14584b;
    font-size: .82rem;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: underline;
    text-decoration-color: #9cbdb3;
    text-underline-offset: .2em;
}
.rb-claim-mast__contacts a:hover { color: #0b3a31; text-decoration-color: currentColor; }
.rb-claim-mast__contacts a:focus-visible { outline: 2px solid #166752; outline-offset: 2px; border-radius: 2px; }
.rb-claim-mast__bar svg { width: .9rem; height: .9rem; flex: none; }
.rb-claim-mast__origin {
    grid-area: origin;
    text-wrap: pretty;
    color: #415c53;
    font-size: .75rem;
    line-height: 1.45;
}
.rb-claim-mast__origin strong { color: #284b40; font-weight: 600; }

/* The legacy mobile identity strip repeats this masthead; leave the guide, eligibility
   and desktop support panel alone. Applies only when the new header is present. */
.rb-claim-mast + main.rb-claim-simple .rb-claim-mobile-trust { display: none; }

@media (max-width: 45rem) {
    .rb-claim-mast__bar {
        grid-template: "logo help" auto "contacts contacts" auto "origin origin" auto / minmax(0, .92fr) minmax(0, 1.08fr);
        column-gap: .65rem;
        padding-block: .4rem;
    }
    .rb-claim-mast__contacts { gap: 0 clamp(.7rem, 3vw, 1rem); }
    .rb-claim-mast__contacts a { min-height: 2rem; }
}

/* “Claim my $XX rebate” box — banking and credit cards */
#main-content.rb-claim-simple .rb-claim-rebate-banner {
    background: #124734;
    border-color: #124734;
    color: #fff;
}

#main-content.rb-claim-simple .rb-claim-rebate-banner * {
    color: inherit;
}

/* Keep the envelope icon and e-transfer label readable on deep green. */
#main-content.rb-claim-simple .rb-claim-rebate-banner :is(
    .rb-claim-rebate-banner__icon,
    .rb-claim-rebate-banner__delivery
) {
    background: rgb(255 255 255 / 12%);
    border-color: rgb(255 255 255 / 28%);
}