.page-cookies-policy {
    background-color: #F4F7FB; /* Background color from palette */
    color: #1F2D3D; /* Text Main color from palette */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 40px; /* Add some padding at the bottom */
}

.page-cookies-policy__hero-section {
    position: relative;
    overflow: hidden;
    padding-top: 10px; /* Small top padding as per rules */
    background-color: #2F6BFF; /* Primary color as background for hero section for contrast */
    display: flex;
    flex-direction: column; /* Ensure image is above content */
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-bottom: 40px;
}

.page-cookies-policy__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px; /* Space between image and text */
}

.page-cookies-policy__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-height: 200px; /* Min size for images */
}

.page-cookies-policy__hero-content {
    max-width: 900px;
    padding: 0 20px;
    z-index: 1; /* Ensure content is above any potential background elements */
    color: #FFFFFF; /* White text for contrast on blue background */
}

.page-cookies-policy__main-title {
    font-size: clamp(2rem, 4vw, 3.5rem); /* Clamp for responsive H1, not fixed large size */
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #FFFFFF; /* White text */
}

.page-cookies-policy__description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #D6E2FF; /* Lighter text for description */
}

.page-cookies-policy__cta-button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color from palette */
    color: #FFFFFF;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.page-cookies-policy__cta-button:hover {
    background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%); /* Slight hover effect */
}

.page-cookies-policy__content-section {
    padding: 40px 0;
}

.page-cookies-policy__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-cookies-policy__section-title {
    font-size: 2.2rem;
    font-weight: bold;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #1F2D3D; /* Text Main color */
}

.page-cookies-policy__paragraph {
    margin-bottom: 15px;
    font-size: 1.05rem;
    color: #1F2D3D; /* Text Main color */
}

.page-cookies-policy__list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.page-cookies-policy__list-item {
    background-color: #FFFFFF; /* Card BG color */
    border: 1px solid #D6E2FF; /* Border color */
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-cookies-policy__list-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 10px;
    color: #2F6BFF; /* Primary color for list titles */
}

.page-cookies-policy__list-description {
    font-size: 1rem;
    color: #1F2D3D; /* Text Main color */
}

.page-cookies-policy__image-wrapper {
    margin: 30px 0;
    text-align: center;
}

.page-cookies-policy__content-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Min size for content images */
    min-height: 200px; /* Min size for content images */
}

.page-cookies-policy__contact-link {
    color: #2F6BFF; /* Primary color for links */
    text-decoration: underline;
    font-weight: bold;
}

.page-cookies-policy__contact-link:hover {
    color: #6FA3FF; /* Auxiliary color on hover */
}

.page-cookies-policy__register-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color from palette */
    color: #FFFFFF;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    margin-top: 30px;
    text-align: center;
}

.page-cookies-policy__register-button:hover {
    background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%); /* Slight hover effect */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-cookies-policy__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }

    .page-cookies-policy__section-title {
        font-size: 1.8rem;
    }

    .page-cookies-policy__paragraph,
    .page-cookies-policy__list-description {
        font-size: 1rem;
    }

    .page-cookies-policy__hero-content {
        padding: 0 15px;
    }

    .page-cookies-policy__container {
        padding: 0 15px;
    }

    /* Enforce max-width: 100%; height: auto; for all images in content area */
    .page-cookies-policy img {
        max-width: 100%;
        height: auto;
        /* min-width and min-height are removed here to prevent overflow on very small screens, */
        /* prioritizing "no horizontal scroll" for mobile. The source images are still large enough. */
        min-width: unset;
        min-height: unset;
    }

    .page-cookies-policy__content-image {
        max-width: 100%;
        height: auto;
    }
}

/* Ensure any img within the main content area has a minimum intrinsic size for the source, */
/* and CSS properties do not explicitly force display smaller than 200px on desktop. */
/* On mobile, responsiveness (max-width: 100%) takes precedence to prevent overflow. */
.page-cookies-policy .page-cookies-policy__content-section img {
    min-width: 200px; /* Applies for desktop, ensures it doesn't get explicitly styled smaller */
    min-height: 200px; /* Applies for desktop */
    max-width: 100%; /* Ensures responsiveness */
    height: auto; /* Maintains aspect ratio */
}

@media (max-width: 768px) {
    .page-cookies-policy .page-cookies-policy__content-section img {
        min-width: unset; /* Allow scaling down on mobile to prevent overflow */
        min-height: unset;
    }
}