/* سياسة الخصوصية — تخطيط Airbnb على مقياس html 62.5% (1rem ≈ 10px) */

body:has(.privacy-page) .hero:after,
body:has(.privacy-page) .page > .content:after {
    display: none !important;
    content: none !important;
    background: none !important;
}

body:has(.privacy-page) .hero .page-title,
body:has(.privacy-page) .page.sub-page .page-title {
    padding: 1.2rem 0 2rem;
    text-align: start;
}

body:has(.privacy-page) .hero .page-title h1,
body:has(.privacy-page) .page.sub-page .page-title h1 {
    font-family: inherit !important;
    font-size: 2.8rem !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
    margin: 0 0 0.6rem !important;
    letter-spacing: -0.03em;
    color: #222 !important;
}

.privacy-hero__kicker {
    display: inline-flex;
    align-items: center;
    margin: 0 0 0.8rem;
    padding: 0.35rem 1rem;
    border-radius: 999px;
    background: rgba(255, 120, 0, 0.12);
    color: #c2410c;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.privacy-hero__meta {
    margin: 0;
    color: #6b7280;
    font-size: 1.35rem;
    font-weight: 600;
}

.privacy-page.content {
    width: 100%;
    background: transparent !important;
}

.privacy-page .block {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 0 3rem;
}

.privacy-page .block section {
    margin-bottom: 0 !important;
}

.privacy-page .container {
    width: 100%;
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.privacy-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
}

.privacy-toc {
    margin: 0;
    padding: 1.4rem 1.5rem 1.5rem;
    border: 1px solid var(--ab-border-light, #ebebeb);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
}

.privacy-toc__title {
    margin: 0 0 1rem !important;
    padding: 0 !important;
    font-family: inherit !important;
    font-size: 1.45rem !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
    color: #222 !important;
}

.privacy-toc ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: pp-toc;
}

.privacy-toc li {
    margin: 0;
}

.privacy-toc a {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    max-width: 100%;
    padding: 0.55rem 0.9rem;
    border: 1px solid #ececf0;
    border-radius: 999px;
    background: #f7f7f7;
    color: #222 !important;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none !important;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.privacy-toc a::before {
    counter-increment: pp-toc;
    content: counter(pp-toc);
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 999px;
    background: #fff;
    color: #c2410c;
    font-size: 1.1rem;
    font-weight: 800;
}

.privacy-toc a:hover,
.privacy-toc a:focus {
    border-color: rgba(255, 120, 0, 0.45);
    background: #fff7ed;
    color: #c2410c !important;
}

.privacy-doc {
    min-width: 0;
    max-width: none;
    margin: 0;
    color: #374151;
}

.privacy-doc__lead {
    margin: 0 0 1.6rem;
    padding: 1.4rem 1.6rem;
    border: 1px solid rgba(255, 120, 0, 0.22);
    border-radius: 18px;
    background: linear-gradient(135deg, #fff7ed 0%, #fff 62%);
    color: #1f2937;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.85;
}

.privacy-doc__lead strong {
    font-weight: 800;
    color: #111;
}

.privacy-card {
    margin: 0 0 1.2rem;
    padding: 1.5rem 1.6rem 1.45rem;
    scroll-margin-top: 8rem;
    border: 1px solid var(--ab-border-light, #ebebeb);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
}

.privacy-card h2 {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin: 0 0 1rem !important;
    padding: 0 !important;
    font-family: inherit !important;
    font-size: 1.85rem !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
    color: #222 !important;
}

.privacy-card__num {
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 10px;
    background: #fff7ed;
    color: #c2410c;
    font-size: 1.3rem;
    font-weight: 800;
}

.privacy-card h3 {
    margin: 1.2rem 0 0.6rem !important;
    padding: 0 !important;
    font-family: inherit !important;
    font-size: 1.5rem !important;
    font-weight: 800 !important;
    color: #222 !important;
}

.privacy-card p,
.privacy-card li {
    font-size: 1.55rem;
    font-weight: 500;
    line-height: 1.85;
    color: #374151;
}

.privacy-card p {
    margin: 0 0 0.9rem;
}

.privacy-card p:last-child {
    margin-bottom: 0;
}

.privacy-card ul,
.privacy-card ol {
    margin: 0 0 0.9rem;
    padding: 0;
    list-style: none;
}

.privacy-card li {
    position: relative;
    margin: 0 0 0.55rem;
    padding-inline-start: 1.6rem;
}

.privacy-card li::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 0.85rem;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: #ff7800;
}

.privacy-card li:last-child {
    margin-bottom: 0;
}

.privacy-card strong {
    color: #111;
    font-weight: 800;
}

.privacy-card a {
    color: #c2410c;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.privacy-card a:hover {
    color: #9a3412;
}

.privacy-contact {
    margin: 1.6rem 0 0;
    padding: 1.7rem 1.6rem 1.6rem;
    border: 1px solid rgba(255, 120, 0, 0.28);
    border-radius: 20px;
    background: linear-gradient(160deg, #fff7ed 0%, #fff 55%);
}

.privacy-contact h2 {
    margin: 0 0 0.6rem !important;
    padding: 0 !important;
    font-family: inherit !important;
    font-size: 2rem !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
    color: #222 !important;
}

.privacy-contact > p {
    margin: 0 0 1.2rem;
    font-size: 1.5rem;
    line-height: 1.7;
    color: #4b5563;
}

.privacy-contact__channels {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.privacy-contact__channels li {
    margin: 0;
}

.privacy-contact__channels a {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.85rem 1.15rem;
    border: 1px solid #ececf0;
    border-radius: 999px;
    background: #fff;
    color: #222 !important;
    font-size: 1.4rem;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    transition: border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.privacy-contact__channels a:hover,
.privacy-contact__channels a:focus {
    border-color: #ff7800;
    color: #c2410c !important;
    transform: translateY(-1px);
}

.privacy-contact__channels i {
    color: #ff7800;
}

@media (min-width: 992px) {
    .privacy-shell {
        grid-template-columns: minmax(240px, 280px) minmax(0, 1fr);
        gap: 2.4rem;
    }

    .privacy-toc {
        position: sticky;
        top: 1.6rem;
    }

    .privacy-toc ol {
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 0.35rem;
    }

    .privacy-toc a {
        width: 100%;
        border-radius: 12px;
        justify-content: flex-start;
    }
}

@media (max-width: 767px) {
    body:has(.privacy-page) .page.sub-page .page-title h1 {
        font-size: 2.3rem !important;
    }

    .privacy-card,
    .privacy-doc__lead,
    .privacy-contact,
    .privacy-toc {
        padding: 1.2rem 1.15rem;
        border-radius: 14px;
    }

    .privacy-toc ol {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 0.2rem;
        -webkit-overflow-scrolling: touch;
    }

    .privacy-toc a {
        white-space: nowrap;
    }
}
