.page-cookies-policy {
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
    color: #333333; /* Dark text for light body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #ffffff; /* Explicitly set for clarity, though body is default white */
}

.page-cookies-policy__hero-section {
    position: relative;
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #1A1A1A; /* Dark background for hero section */
    color: #f0f0f0; /* Light text for dark background */
    overflow: hidden; /* To contain the image if it overflows */
}

.page-cookies-policy__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Make it subtle */
    z-index: 0;
}

.page-cookies-policy__hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.page-cookies-policy__hero-title {
    font-size: 3.5em;
    color: #DAA520; /* Gold for main title */
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-cookies-policy__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    max-width: 700px;
    color: #e0e0e0;
}

.page-cookies-policy__button {
    display: inline-block;
    background-color: #DAA520; /* Gold button */
    color: #1A1A1A;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.page-cookies-policy__button:hover {
    background-color: #e5c063; /* Lighter gold on hover */
    transform: translateY(-2px);
}

.page-cookies-policy__content-wrapper {
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
    background-color: #ffffff; /* White background for content */
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-cookies-policy__section-title {
    font-size: 2.2em;
    color: #1A1A1A;
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid #DAA520;
    padding-bottom: 10px;
}

.page-cookies-policy__subsection-title {
    font-size: 1.6em;
    color: #DAA520;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-cookies-policy__paragraph {
    font-size: 1.1em;
    margin-bottom: 15px;
    color: #333333;
}

.page-cookies-policy__image-content {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
}

.page-cookies-policy__external-link {
    color: #DAA520;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-cookies-policy__external-link:hover {
    color: #b8860b; /* Darker gold on hover */
}

.page-cookies-policy__button-group {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-cookies-policy__button--secondary {
    background-color: #1A1A1A;
    color: #DAA520;
    border: 2px solid #DAA520;
}

.page-cookies-policy__button--secondary:hover {
    background-color: #333333;
    color: #e5c063;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-cookies-policy__hero-title {
        font-size: 2.5em;
    }

    .page-cookies-policy__hero-description {
        font-size: 1em;
    }

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

    .page-cookies-policy__subsection-title {
        font-size: 1.4em;
    }

    .page-cookies-policy__paragraph {
        font-size: 0.95em;
    }

    .page-cookies-policy__button {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-cookies-policy__button-group {
        flex-direction: column;
        align-items: center;
    }

    /* Mobile content images must not overflow */
    .page-cookies-policy__image-content {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-cookies-policy__hero-title {
        font-size: 2em;
    }

    .page-cookies-policy__hero-description {
        font-size: 0.9em;
    }

    .page-cookies-policy__hero-section {
        padding: 60px 15px;
    }

    .page-cookies-policy__content-wrapper {
        margin: 20px auto;
        padding: 15px;
    }
}

/* Ensure images within content area are not smaller than 200px and are responsive */
.page-cookies-policy__content-wrapper img {
    min-width: 200px;
    min-height: 200px;
    max-width: 100%;
    height: auto;
    object-fit: cover;
}
@media (max-width: 768px) {
    .page-cookies-policy img { /* This targets all images within the page content for mobile */
        max-width: 100%;
        height: auto;
    }
}