/* style/cookies-policy.css */

.page-cookies-policy {
    background-color: var(--background-color, #FFFFFF); /* Use background color from config */
    color: var(--text-color, #000000); /* Default text color */
    padding-bottom: 40px; /* Add some padding at the bottom */
}

/* Hero Section */
.page-cookies-policy__hero-section {
    position: relative;
    width: 100%;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column; /* Ensure image is above text */
    padding-top: 10px; /* Small top padding as per rules */
}

.page-cookies-policy__hero-image {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 5; /* For 1920x600 */
    object-fit: cover;
    object-position: center;
    filter: none; /* Ensure no CSS filters are applied */
}

.page-cookies-policy__hero-content {
    max-width: 1200px;
    margin: 20px auto 0 auto;
    padding: 0 15px;
    text-align: center;
}

.page-cookies-policy__main-title {
    font-size: clamp(1.8rem, 4.5vw, 2.8rem); /* Use clamp for H1 font size */
    font-weight: 700;
    line-height: 1.2;
    color: #00568C; /* Darker blue for better contrast (ratio ~7.5:1 on white) */
    margin-bottom: 0;
}

/* Content Area */
.page-cookies-policy__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-cookies-policy__container {
    padding: 20px;
    background-color: var(--secondary-color, #FFFFFF); /* White background for content */
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-cookies-policy__intro-paragraph {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.page-cookies-policy__heading {
    font-size: clamp(1.4rem, 3.5vw, 2rem);
    font-weight: 600;
    color: #00568C; /* Darker blue for better contrast */
    margin-top: 40px;
    margin-bottom: 20px;
}

.page-cookies-policy__paragraph {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
    color: var(--text-color, #000000);
}

.page-cookies-policy__list {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: var(--text-color, #000000);
}

.page-cookies-policy__list-item {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 8px;
}

.page-cookies-policy__list-item strong {
    color: #00568C; /* Darker blue for better contrast */
}

.page-cookies-policy__paragraph a {
    color: #00568C; /* Darker blue for links */
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.page-cookies-policy__paragraph a:hover {
    color: #003d63; /* Even darker for hover */
    text-decoration: underline;
}

.page-cookies-policy__contact-button {
    display: inline-block;
    background-color: var(--login-color, #EA7C07); /* Use specific login color for button */
    color: var(--secondary-color, #FFFFFF);
    padding: 12px 25px;
    border-radius: 5px;
    text-align: center;
    margin-top: 30px;
    font-weight: 600;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-cookies-policy__contact-button:hover {
    background-color: #d66f06; /* Slightly darker orange for hover */
    text-decoration: none;
}

.page-cookies-policy__content-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 25px auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    filter: none; /* Ensure no CSS filters are applied */
    min-width: 200px; /* Enforce minimum size for desktop view */
    min-height: 200px; /* Enforce minimum size for desktop view */
}

.page-cookies-policy__content-image--small {
    max-width: 600px; /* Example for a smaller image */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-cookies-policy__main-title {
        font-size: clamp(1.5rem, 6vw, 2rem); /* Adjust H1 size for mobile */
    }

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

    .page-cookies-policy__content-area {
        padding: 0 10px;
    }

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

    /* Ensure images are responsive and don't overflow */
    .page-cookies-policy img {
        max-width: 100%;
        height: auto;
        min-width: unset; /* Allow images to shrink below 200px on mobile */
        min-height: unset; /* Allow images to shrink below 200px on mobile */
    }
}