/**
 * Privacy policy inner page — readable on small screens, no horizontal bleed.
 */

.privacy-page {
    overflow-x: hidden;
    padding-bottom: max(2.5rem, env(safe-area-inset-bottom, 0px));
    padding-inline-start: env(safe-area-inset-left, 0px);
    padding-inline-end: env(safe-area-inset-right, 0px);
}

.privacy-page .about-wrapper {
    margin: 0;
}

.privacy-page .about-item.about-text > div {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Long URLs and unbroken strings */
.privacy-page .about-text a {
    word-break: break-word;
    overflow-wrap: anywhere;
}

.privacy-page .about-text p,
.privacy-page .about-text li {
    font-size: clamp(0.85rem, 2.9vw, 0.95rem);
    line-height: 1.65;
}

.privacy-page .about-text h3 {
    font-size: clamp(1rem, 4vw, 1.15rem);
    margin-top: 1.35rem;
    margin-bottom: 0.65rem;
    line-height: 1.35;
}

.privacy-page .about-text h3:first-child {
    margin-top: 0;
}

.privacy-page .about-text h4 {
    font-size: clamp(0.95rem, 3.5vw, 1.05rem);
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.privacy-page .about-text ul {
    padding-inline-start: 1.15rem;
    margin-bottom: 0.75rem;
}

@media (max-width: 767.98px) {
    .privacy-page .container {
        max-width: 100%;
        padding-left: max(0.75rem, env(safe-area-inset-left, 0px));
        padding-right: max(0.75rem, env(safe-area-inset-right, 0px));
    }

    .privacy-page .about-text br:first-of-type {
        display: none;
    }
}
