[hidden] {
    display: none !important;
}

/* Optional advertising occupies no feed space until the user explicitly enables it. */
html:not(.consent-advertising) .adsense-item {
    display: none !important;
}

.consent-dialog-open {
    overflow: hidden;
}

.consent-banner {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    z-index: 2050;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    width: min(100% - 2rem, 980px);
    margin-inline: auto;
    padding: 1rem 1.1rem;
    color: #153c37;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(7, 94, 84, 0.16);
    border-radius: 1rem;
    box-shadow: 0 22px 65px rgba(7, 48, 43, 0.28);
    backdrop-filter: blur(14px);
}

.consent-banner__icon {
    display: inline-grid;
    width: 2.75rem;
    height: 2.75rem;
    place-items: center;
    color: #08796d;
    background: #e8f7f3;
    border-radius: 0.85rem;
    font-size: 1.2rem;
}

.consent-banner__content strong {
    display: block;
    margin-bottom: 0.2rem;
    color: #075e54;
    font-size: 1rem;
}

.consent-banner__content p {
    max-width: 650px;
    margin: 0;
    color: #48635f;
    font-size: 0.88rem;
    line-height: 1.55;
}

.consent-banner__content a,
.consent-dialog a {
    color: #08796d;
    font-weight: 700;
    text-underline-offset: 0.15em;
}

.consent-banner__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.45rem;
    max-width: 290px;
}

.consent-banner__actions .btn {
    white-space: nowrap;
}

.consent-dialog {
    position: fixed;
    inset: 0;
    z-index: 2060;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgba(2, 28, 25, 0.58);
    backdrop-filter: blur(5px);
}

.consent-dialog__panel {
    width: min(100%, 640px);
    max-height: min(90vh, 760px);
    overflow-y: auto;
    padding: 1.35rem;
    color: #173f3a;
    background: #ffffff;
    border-radius: 1.2rem;
    box-shadow: 0 32px 85px rgba(2, 31, 28, 0.35);
    outline: none;
}

.consent-dialog__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.consent-dialog__eyebrow {
    display: block;
    margin-bottom: 0.2rem;
    color: #128c7e;
    font-size: 0.73rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.consent-dialog__header h2 {
    margin: 0;
    color: #075e54;
    font-size: clamp(1.4rem, 4vw, 1.85rem);
}

.consent-dialog__close {
    display: inline-grid;
    flex: 0 0 auto;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    place-items: center;
    color: #315d57;
    background: #eef7f5;
    border: 0;
    border-radius: 50%;
}

.consent-dialog__close:hover,
.consent-dialog__close:focus-visible {
    color: #ffffff;
    background: #075e54;
}

.consent-dialog__intro {
    margin: 0.8rem 0 1rem;
    color: #55706c;
    line-height: 1.55;
}

.consent-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1rem 0;
    border-top: 1px solid #e4efed;
}

.consent-option strong {
    color: #173f3a;
}

.consent-option p {
    margin: 0.2rem 0 0;
    color: #607a76;
    font-size: 0.86rem;
    line-height: 1.45;
}

.consent-switch {
    position: relative;
    display: inline-flex;
    flex: 0 0 3rem;
    width: 3rem;
    height: 1.75rem;
    cursor: pointer;
}

.consent-switch input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.consent-switch > span:first-of-type {
    position: absolute;
    inset: 0;
    background: #b7c9c6;
    border-radius: 999px;
    transition: background-color 160ms ease;
}

.consent-switch > span:first-of-type::after {
    position: absolute;
    top: 0.2rem;
    left: 0.2rem;
    width: 1.35rem;
    height: 1.35rem;
    content: "";
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 2px 7px rgba(5, 48, 43, 0.28);
    transition: transform 160ms ease;
}

.consent-switch input:checked + span {
    background: #128c7e;
}

.consent-switch input:checked + span::after {
    transform: translateX(1.25rem);
}

.consent-switch input:focus-visible + span {
    outline: 3px solid rgba(37, 211, 102, 0.35);
    outline-offset: 2px;
}

.consent-switch input:disabled + span {
    background: #7ab8b0;
    cursor: not-allowed;
    opacity: 0.72;
}

.consent-dialog__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    padding-top: 0.85rem;
    border-top: 1px solid #e4efed;
    font-size: 0.86rem;
}

.consent-dialog__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.65rem;
    margin-top: 1.15rem;
}

/* Information-rich footer that remains compact on listing pages. */
.chat-footer.trust-footer {
    padding: 2.25rem 0 1rem;
    background:
        radial-gradient(circle at 12% 0%, rgba(37, 211, 102, 0.18), transparent 34%),
        linear-gradient(135deg, #06483f, #086e62 58%, #075e54);
}

.chat-footer .trust-footer__shell {
    display: block;
    text-align: left;
}

.trust-footer__main {
    display: grid;
    grid-template-columns: minmax(240px, 1.2fr) minmax(320px, 1fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: start;
}

.trust-footer__brand-link {
    display: inline-block;
    color: #ffffff !important;
    font-size: 1.15rem;
    font-weight: 800 !important;
    letter-spacing: -0.02em;
    text-decoration: none;
}

.trust-footer__brand p {
    max-width: 390px;
    margin: 0.45rem 0 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.92rem;
}

.trust-footer__assurance {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #d9fdd3;
    font-size: 0.82rem;
    font-weight: 700;
}

.trust-footer__nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.trust-footer__group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
}

.trust-footer__group h2 {
    margin: 0 0 0.2rem;
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.trust-footer__group a {
    color: rgba(255, 255, 255, 0.78) !important;
    font-size: 0.87rem;
    font-weight: 500 !important;
    text-decoration: none;
}

.trust-footer__group a:hover,
.trust-footer__group a:focus-visible {
    color: #ffffff !important;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.trust-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem 1rem;
    margin-top: 1.7rem;
    padding-top: 1rem;
    color: rgba(255, 255, 255, 0.62);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 0.78rem;
}

.trust-footer__cookie-link {
    padding: 0;
    color: #d9fdd3;
    background: none;
    border: 0;
    font: inherit;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.trust-footer__cookie-link:hover,
.trust-footer__cookie-link:focus-visible {
    color: #ffffff;
}

/* About, contact, safety and legal pages. */
.app-shell.trust-app-shell {
    width: min(100%, 1180px);
}

.trust-page {
    padding: clamp(1.2rem, 4vw, 3rem) 0 clamp(2rem, 6vw, 4.5rem);
}

.trust-page__hero {
    position: relative;
    overflow: hidden;
    padding: clamp(1.5rem, 5vw, 3.6rem);
    color: #ffffff;
    background:
        radial-gradient(circle at 90% 15%, rgba(37, 211, 102, 0.3), transparent 30%),
        linear-gradient(135deg, #06483f, #128c7e);
    border-radius: clamp(1rem, 3vw, 1.75rem);
    box-shadow: 0 24px 55px rgba(7, 94, 84, 0.2);
}

.trust-page__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.85rem;
    color: #d9fdd3;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.trust-page__hero h1 {
    max-width: 790px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(2rem, 6vw, 3.5rem);
    line-height: 1.06;
    letter-spacing: -0.045em;
}

.trust-page__hero p {
    max-width: 720px;
    margin: 1rem 0 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    line-height: 1.65;
}

.trust-page__hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.35rem;
}

.trust-page__hero-actions .btn-light {
    color: #075e54;
    font-weight: 800;
}

.trust-page__hero-actions .btn-outline-light {
    font-weight: 700;
}

.trust-page__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.2rem;
}

.trust-card {
    padding: 1.35rem;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(7, 94, 84, 0.11);
    border-radius: 1rem;
    box-shadow: 0 14px 34px rgba(7, 71, 64, 0.08);
}

.trust-card__icon {
    display: inline-grid;
    width: 2.65rem;
    height: 2.65rem;
    margin-bottom: 0.9rem;
    place-items: center;
    color: #08796d;
    background: #e6f6f2;
    border-radius: 0.8rem;
}

.trust-card h2,
.trust-card h3 {
    margin: 0;
    color: #075e54;
    font-size: 1.08rem;
}

.trust-card p {
    margin: 0.55rem 0 0;
    color: #58716d;
    line-height: 1.58;
}

.trust-card a:not(.btn) {
    display: inline-block;
    margin-top: 0.8rem;
    color: #08796d;
    font-weight: 800;
}

.trust-page__section {
    margin-top: clamp(1.8rem, 5vw, 3.6rem);
}

.trust-page__section-heading {
    max-width: 760px;
    margin-bottom: 1.2rem;
}

.trust-page__section-heading h2 {
    margin: 0;
    color: #075e54;
    font-size: clamp(1.45rem, 4vw, 2.15rem);
    letter-spacing: -0.025em;
}

.trust-page__section-heading p {
    margin: 0.55rem 0 0;
    color: #607a76;
    line-height: 1.6;
}

.trust-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    padding: 0;
    list-style: none;
    counter-reset: trust-step;
}

.trust-steps li {
    position: relative;
    padding: 1.2rem 1.2rem 1.2rem 3.7rem;
    color: #516c67;
    background: #ffffff;
    border: 1px solid rgba(7, 94, 84, 0.11);
    border-radius: 1rem;
    line-height: 1.55;
    counter-increment: trust-step;
}

.trust-steps li::before {
    position: absolute;
    top: 1.15rem;
    left: 1.15rem;
    display: grid;
    width: 1.9rem;
    height: 1.9rem;
    place-items: center;
    color: #ffffff;
    content: counter(trust-step);
    background: #128c7e;
    border-radius: 50%;
    font-size: 0.82rem;
    font-weight: 800;
}

.trust-steps strong {
    display: block;
    margin-bottom: 0.2rem;
    color: #173f3a;
}

.trust-callout {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-top: 1.2rem;
    padding: 1.2rem;
    color: #244d47;
    background: #e9f7f4;
    border: 1px solid #cce9e4;
    border-radius: 1rem;
}

.trust-callout > i {
    margin-top: 0.15rem;
    color: #08796d;
    font-size: 1.15rem;
}

.trust-callout p {
    margin: 0;
    line-height: 1.55;
}

.legal-page {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
    gap: clamp(1.25rem, 4vw, 2.5rem);
    align-items: start;
    padding: clamp(1.2rem, 4vw, 3rem) 0 clamp(2rem, 6vw, 4.5rem);
}

.legal-page__content {
    padding: clamp(1.25rem, 4vw, 2.5rem);
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(7, 94, 84, 0.1);
    border-radius: 1.25rem;
    box-shadow: 0 18px 45px rgba(7, 71, 64, 0.08);
}

.legal-page__content h1 {
    margin: 0;
    color: #075e54;
    font-size: clamp(1.8rem, 5vw, 2.7rem);
    letter-spacing: -0.035em;
}

.legal-page__updated {
    margin: 0.45rem 0 1.5rem;
    color: #718681;
    font-size: 0.85rem;
}

.legal-page__content h2 {
    margin: 1.8rem 0 0.65rem;
    color: #0b6f64;
    font-size: 1.2rem;
}

.legal-page__content p,
.legal-page__content li {
    color: #526d68;
    line-height: 1.68;
}

.legal-page__content ul {
    padding-left: 1.25rem;
}

.legal-page__content a {
    color: #08796d;
    font-weight: 700;
}

.legal-page__aside {
    position: sticky;
    top: 1rem;
    padding: 1.15rem;
    background: #e9f7f4;
    border: 1px solid #cde9e4;
    border-radius: 1rem;
}

.legal-page__aside strong {
    display: block;
    margin-bottom: 0.65rem;
    color: #075e54;
}

.legal-page__aside a,
.legal-page__aside button {
    display: block;
    width: fit-content;
    margin-top: 0.55rem;
    padding: 0;
    color: #08796d;
    background: none;
    border: 0;
    font-weight: 700;
    text-align: left;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

@media (max-width: 820px) {
    .consent-banner {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .consent-banner__actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
        max-width: none;
        padding-left: 3.75rem;
    }

    .trust-footer__main,
    .legal-page {
        grid-template-columns: 1fr;
    }

    .legal-page__aside {
        position: static;
    }
}

@media (max-width: 640px) {
    .consent-banner {
        right: 0.55rem;
        bottom: 0.55rem;
        left: 0.55rem;
        grid-template-columns: 1fr;
        width: calc(100% - 1.1rem);
        max-height: calc(100vh - 1.1rem);
        overflow-y: auto;
        padding: 0.9rem;
        border-radius: 0.9rem;
    }

    .consent-banner__icon {
        display: none;
    }

    .consent-banner__actions {
        grid-column: auto;
        display: grid;
        grid-template-columns: 1fr 1fr;
        padding-left: 0;
    }

    .consent-banner__actions .btn-link {
        grid-column: 1 / -1;
    }

    .consent-dialog {
        align-items: end;
        padding: 0;
    }

    .consent-dialog__panel {
        width: 100%;
        max-height: 92vh;
        padding: 1.1rem;
        border-radius: 1.2rem 1.2rem 0 0;
    }

    .consent-option {
        gap: 0.75rem;
    }

    .consent-dialog__actions {
        display: grid;
    }

    .chat-footer.trust-footer {
        padding-top: 1.75rem;
    }

    .trust-footer__nav,
    .trust-page__grid,
    .trust-steps {
        grid-template-columns: 1fr;
    }

    .trust-footer__main {
        gap: 1.6rem;
    }

    .trust-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .trust-page__hero {
        border-radius: 1.1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .consent-switch > span:first-of-type,
    .consent-switch > span:first-of-type::after {
        transition: none;
    }
}
