/* Sales landings, page-wide. The benefit landings' main.css is loaded before this file: colour tokens
   (--ltb-*), section heads (.ltb-head), overlines, numbered cards (.ltb-card) and buttons (.ltb-btn) come from it. */

/* a word longer than its line (a longer translation, the narrowest phones) breaks inside its box instead of running
   out of it; inherited by every section */
.sales-page {
    overflow-wrap: break-word;
}

/* the same where a box takes the width of its longest word (centred heads, the text beside an icon or a value) */
.sales-page :is(.ltb-head__title, .ltb-faq__question, .ltb-tbl__title, .ltb-tbl__value, .zenref-fees__calc-slider-label,
    .zenref-fees__calc-result-head, .sales-card-head__title, .sales-split__title, .sales-claim__title) {
    overflow-wrap: anywhere;
}

/* the narrowest phones: a receipt amount with its note may take two lines */
@media (max-width: 479px) {
    .sales-page .sales-receipt__value {
        white-space: normal;
    }
}

/* white sections, beige ones between them (as Travel's coverage / plans) */
.sales-section {
    padding: 104px 0;
    background: #fff;
}

.sales-section--beige {
    background: var(--ltb-light-beige);
}

/* a section head 64px over its content */
.sales-section__body {
    margin-top: 64px;
}

/* the dark info card (as the open FAQ question): example receipts, the claim timeline, the calculator result */
.sales-dark-card {
    padding: 32px;
    border-radius: 24px;
    background: var(--ltb-anthracite);
    color: #fff;
}

/* the green rule and a bold line: the point a section makes ("Razem wraca ok. …") */
.sales-takeaway {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    color: #000;
    font-size: 18px;
    font-weight: 800;
    line-height: 26px;
}

.sales-takeaway::before {
    content: '';
    flex: 0 0 32px;
    height: 4px;
    margin-top: 11px;
    border-radius: 2px;
    background: var(--ltb-green);
}

/* small print with the (i) of the coverage note */
.sales-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: var(--ltb-soft-grey);
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
}

.sales-note__icon {
    display: block;
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    margin-top: 2px;
}

.sales-note strong {
    color: var(--ltb-ash);
}

@media (max-width: 1023px) {
    .sales-section {
        padding: 56px 0;
    }

    .sales-section__body {
        margin-top: 40px;
    }

    .sales-dark-card {
        padding: 24px;
    }

    .sales-takeaway {
        font-size: 16px;
        line-height: 24px;
    }
}
