/* =========================================================
   PRIVACY POLICY TEMPLATE STYLES
   ========================================================= */

/* Hero Section */
.privacy-hero__container {
    padding-bottom: 80px;
}

.privacy-hero__content {
    color: #fff;
}

.privacy-hero__title {
    font-size: clamp(32px, 5vw, 64px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    text-transform: uppercase;
    word-break: keep-all;
    overflow-wrap: normal;
    -webkit-hyphens: none;
    hyphens: none;
}

.privacy-hero__subtitle {
    font-size: clamp(16px, 2vw, 18px);
    line-height: 1.4;
    font-weight: 400;
    opacity: 0.9;
}

.privacy-hero__image-wrap {
    display: flex;
    justify-content: flex-end;
}

.privacy-hero__image {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

body.privacy-template-active .privacy-page .dev-hero__image img {
    max-width: 90%;
}

/* На десктопе текст слева, картинка справа */
@media (min-width: 992px) {
    .privacy-hero__container {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
    }
    .privacy-hero__content {
        flex: 1;
        min-width: 300px;
        padding-right: 20px;
    }
    .privacy-hero__image-wrap {
        flex: 1;
        min-width: 300px;
    }
}

/* =========================================================
   CONTENT SECTION
   ========================================================= */
.privacy-content-section {
    position: relative;
    background: #f7f7f7; /* Light background to make white blocks pop slightly */
    color: #282828;
    padding: 80px 0;
    overflow: hidden;
}

/* Background Blobs (Copied from blog-post) */
.privacy-bg-blobs {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}
.privacy-bg-blobs .blob {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    opacity: 0.35;
    filter: blur(120px);
}
.privacy-bg-blobs .blob--1 { top: -100px; left: -200px; background: radial-gradient(circle, rgba(150, 215, 255, 0.8), rgba(255, 255, 255, 0)); }
.privacy-bg-blobs .blob--2 { top: 500px; right: -250px; background: radial-gradient(circle, rgba(255, 190, 90, 0.8), rgba(255, 255, 255, 0)); }
.privacy-bg-blobs .blob--3 { top: 1500px; left: -150px; background: radial-gradient(circle, rgba(250, 25, 25, 0.6), rgba(255, 255, 255, 0)); }
.privacy-bg-blobs .blob--4 { top: 2500px; right: -200px; background: radial-gradient(circle, rgba(61, 223, 236, 0.6), rgba(255, 255, 255, 0)); }

/* Intro text */
.privacy-introText {
    position: relative;
    z-index: 2;
    margin-bottom: 60px;
    font-size: 18px;
    line-height: 1.5;
    color: #1a1a1a;
}

/* Blocks list */
.privacy-blocks {
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: relative;
    z-index: 2;
}

/* Single Block */
.privacy-block {
    background: #ffffff;
    border-radius: 8px; /* Soft rounding */
    box-shadow: 0px 10px 40px rgba(0, 0, 0, 0.05); /* Soft shadow */
    padding: 60px;
    position: relative;
    overflow: hidden; /* For clipping the curved top-left corner */
}

/* Top-left number corner */
.privacy-block__number {
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #FA1919 0%, #F5B91E 100%); /* Same as blog */
    color: #ffffff;
    font-weight: 700;
    font-size: 32px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding-top: 15px;
    padding-left: 20px;
    border-bottom-right-radius: 100%;
    z-index: 1;
}

.privacy-block__title {
    font-size: 28px;
    font-weight: 700;
    margin-top: 5px; 
    margin-bottom: 30px;
    color: #1a1a1a;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
    padding-left: 80px; /* Clear the absolute positioned number */
}

.privacy-block__content {
    font-size: 16px;
    line-height: 1.6;
    color: #333333;
    position: relative;
    z-index: 2;
}

.privacy-block__content p {
    margin-bottom: 20px;
}
.privacy-block__content p:last-child {
    margin-bottom: 0;
}

/* =========================================================
   АДАПТИВ РАЗДЕЛА: ПРАВИЛА (ПОДХОД MOBILE MOBILE-OVERRIDES)
   ========================================================= */

/* --- Мобильные (max-width: 640px) --- */
@media (max-width: 640px) {
    .privacy-block {
        padding: 40px 20px;
    }
    .privacy-block__number {
        width: 70px;
        height: 70px;
        font-size: 24px;
        padding-top: 12px;
        padding-left: 15px;
    }
    .privacy-block__title {
        font-size: 20px;
        padding-left: 0;
        margin-top: 60px; /* shift under number on mobile */
    }
    .privacy-content-section {
        padding: 40px 16px;
    }
}

/* --- Мелкие экраны (max-width: 480px) --- */
@media (max-width: 480px) {
    .privacy-block__title {
        font-size: 18px;
    }
}
