.page-cookies-policy {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text on light body background #f4f4f4 */
    background-color: #f4f4f4; /* Ensure consistency, though usually inherited from body */
}

.page-cookies-policy__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Ensure header offset */
    background-color: #000080; /* Dark background for hero */
    color: #ffffff; /* Light text on dark background */
    overflow: hidden; /* Prevent content overflow */
}

.page-cookies-policy__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.page-cookies-policy__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    margin-bottom: 30px;
}

.page-cookies-policy__main-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #FFD700; /* Gold title */
    line-height: 1.2;
}

.page-cookies-policy__description {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.page-cookies-policy__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: #FFD700; /* Primary brand color */
    color: #000080; /* Dark text on gold button */
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-cookies-policy__cta-button:hover {
    background: #e0b800; /* Slightly darker gold on hover */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-cookies-policy__hero-image {
    width: 100%;
    margin-top: 30px; /* Space between content and image */
}

.page-cookies-policy__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    min-width: 200px; /* Enforce min image size for source */
    min-height: 200px; /* Enforce min image size for source */
}

.page-cookies-policy__content-area {
    max-width: 100%; /* Ensure content area is responsive */
    width: 100%;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
    background-color: #f4f4f4; /* Light background for content area */
}

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

.page-cookies-policy__section-title {
    font-size: 2em;
    color: #000080; /* Dark blue heading */
    margin-top: 40px;
    margin-bottom: 25px;
    text-align: center;
    border-bottom: 2px solid #FFD700; /* Gold underline */
    padding-bottom: 10px;
}

.page-cookies-policy__sub-title {
    font-size: 1.5em;
    color: #000080;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-cookies-policy__text-block {
    background-color: #ffffff; /* White background for text blocks */
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.page-cookies-policy__text-block p {
    margin-bottom: 15px;
    color: #333333;
}

.page-cookies-policy__text-block ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 15px;
    color: #333333;
}

.page-cookies-policy__text-block li {
    margin-bottom: 8px;
}

.page-cookies-policy__text-block img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 25px auto;
    border-radius: 8px;
    object-fit: cover;
    min-width: 200px; /* Enforce min image size for display */
    min-height: 200px; /* Enforce min image size for display */
}

.page-cookies-policy__text-block a {
    color: #000080; /* Dark blue for links */
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-cookies-policy__text-block a:hover {
    color: #FFD700; /* Gold on hover */
}

/* FAQ Section */
.page-cookies-policy__faq-section {
    padding: 40px 0;
    background-color: #f9f9f9;
    border-radius: 8px;
    margin-top: 40px;
}

.page-cookies-policy__faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.page-cookies-policy__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.page-cookies-policy__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 15px;
    opacity: 0;
    background: #f9f9f9;
    color: #333333;
}

.page-cookies-policy__faq-item.active .page-cookies-policy__faq-answer {
    max-height: 2000px !important; /* 🚨 Use !important and sufficient max-height */
    padding: 20px 15px !important;
    opacity: 1;
    border-radius: 0 0 5px 5px;
    border-top: 1px solid #e0e0e0;
}

.page-cookies-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
    color: #000080; /* Dark blue question text */
}

.page-cookies-policy__faq-question:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

.page-cookies-policy__faq-question:active {
    background: #eeeeee;
}

.page-cookies-policy__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 1.1em;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none; /* Prevent h3 from blocking click */
    color: #000080; /* Ensure h3 color is consistent */
}

.page-cookies-policy__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: #FFD700; /* Gold toggle icon */
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none; /* Prevent icon from blocking click */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: #000080; /* Dark blue background for toggle */
    color: #FFD700; /* Gold plus/minus sign */
}

.page-cookies-policy__faq-item.active .page-cookies-policy__faq-toggle {
    color: #000080; /* Dark blue when active */
    background-color: #FFD700; /* Gold background when active */
    transform: rotate(180deg);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-cookies-policy__hero-section {
        padding: 50px 15px;
        padding-top: var(--header-offset, 120px);
    }
    .page-cookies-policy__main-title {
        font-size: 2.2em;
    }
    .page-cookies-policy__description {
        font-size: 1em;
    }
    .page-cookies-policy__section-title {
        font-size: 1.8em;
    }
    .page-cookies-policy__sub-title {
        font-size: 1.3em;
    }
    .page-cookies-policy__text-block {
        padding: 25px;
    }
    .page-cookies-policy__faq-question h3 {
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .page-cookies-policy__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Mobile specific offset */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-cookies-policy__hero-content {
        margin-bottom: 20px;
    }
    .page-cookies-policy__main-title {
        font-size: 2em;
        margin-bottom: 15px;
    }
    .page-cookies-policy__description {
        font-size: 0.95em;
        margin-bottom: 20px;
    }
    .page-cookies-policy__cta-button {
        padding: 12px 30px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-cookies-policy__content-area {
        padding: 30px 15px;
    }
    .page-cookies-policy__section-title {
        font-size: 1.6em;
        margin-top: 30px;
        margin-bottom: 20px;
    }
    .page-cookies-policy__sub-title {
        font-size: 1.2em;
        margin-top: 25px;
        margin-bottom: 10px;
    }
    .page-cookies-policy__text-block {
        padding: 20px;
        margin-bottom: 20px;
    }
    .page-cookies-policy__text-block img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: unset !important; /* Allow images to scale down on mobile */
        min-height: unset !important;
        margin: 20px auto;
    }
    .page-cookies-policy__faq-section {
        padding: 30px 0;
        margin-top: 30px;
    }
    .page-cookies-policy__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    .page-cookies-policy__faq-question h3 {
        font-size: 15px;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    .page-cookies-policy__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    .page-cookies-policy__faq-item.active .page-cookies-policy__faq-answer {
        padding: 15px !important;
    }

    /* Ensure all content containers are responsive on mobile */
    .page-cookies-policy__section,
    .page-cookies-policy__card,
    .page-cookies-policy__container,
    .page-cookies-policy__text-block {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Global image responsiveness - crucial for all images */
.page-cookies-policy img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Override min-width/height for mobile images within content blocks */
@media (max-width: 768px) {
    .page-cookies-policy__text-block img {
        min-width: unset !important;
        min-height: unset !important;
    }
}