/* style/cookies-policy.css */

/* Custom Colors */
:root {
    --rt88-primary-color: #11A84E; /* Main Green */
    --rt88-secondary-color: #22C768; /* Auxiliary Green */
    --rt88-button-gradient-start: #2AD16F;
    --rt88-button-gradient-end: #13994A;
    --rt88-card-bg: #11271B;
    --rt88-background-color: #08160F; /* Overall background */
    --rt88-text-main: #F2FFF6; /* Light text for dark backgrounds */
    --rt88-text-secondary: #A7D9B8; /* Secondary light text */
    --rt88-border-color: #2E7A4E;
    --rt88-glow-color: #57E38D;
    --rt88-gold-color: #F2C14E;
    --rt88-divider-color: #1E3A2A;
    --rt88-deep-green: #0A4B2C;
}

.page-cookies-policy {
    background-color: var(--rt88-background-color); /* Overall dark background */
    color: var(--rt88-text-main); /* Light text on dark background */
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

.page-cookies-policy__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    text-align: center;
    background-color: var(--rt88-deep-green); /* A darker green for the hero section background */
    overflow: hidden; /* Ensure content doesn't overflow */
}

.page-cookies-policy__hero-image-wrapper {
    width: 100%;
    max-width: 1920px; /* Max width for the image */
    margin-bottom: 30px; /* Space between image and content */
}

.page-cookies-policy__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
}

.page-cookies-policy__hero-content {
    max-width: 900px;
    margin: 0 auto;
    z-index: 1; /* Ensure content is above any background elements */
}

.page-cookies-policy__main-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
    font-weight: 700;
    color: var(--rt88-gold-color); /* Gold color 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.1em;
    color: var(--rt88-text-secondary);
    margin-bottom: 30px;
}

.page-cookies-policy__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    color: var(--rt88-text-main); /* Ensure content text is light */
}

.page-cookies-policy__container {
    max-width: 900px;
    margin: 0 auto;
}

.page-cookies-policy__section-title {
    font-size: clamp(1.8em, 3vw, 2.5em);
    color: var(--rt88-primary-color); /* Main green for section titles */
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--rt88-divider-color);
    padding-bottom: 10px;
}

.page-cookies-policy__sub-title {
    font-size: clamp(1.4em, 2.5vw, 1.8em);
    color: var(--rt88-secondary-color); /* Auxiliary green for sub titles */
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-cookies-policy__text-block {
    margin-bottom: 20px;
    color: var(--rt88-text-main);
}

.page-cookies-policy__link-inline {
    color: var(--rt88-glow-color); /* Glow color for inline links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-cookies-policy__link-inline:hover {
    color: var(--rt88-gold-color);
    text-decoration: underline;
}

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

.page-cookies-policy__image-content {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-cookies-policy__image-caption {
    font-size: 0.9em;
    color: var(--rt88-text-secondary);
    margin-top: 10px;
}

.page-cookies-policy__list {
    list-style: none;
    padding-left: 0;
    margin-top: 15px;
    margin-bottom: 20px;
}

.page-cookies-policy__list-item {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    color: var(--rt88-text-main);
}

.page-cookies-policy__list-item::before {
    content: '✅'; /* Green checkmark for list items */
    position: absolute;
    left: 0;
    color: var(--rt88-glow-color);
}

.page-cookies-policy__browser-links {
    list-style: none;
    padding-left: 0;
    margin-top: 20px;
}

.page-cookies-policy__browser-links .page-cookies-policy__list-item {
    margin-bottom: 8px;
}

.page-cookies-policy__browser-links .page-cookies-policy__list-item a {
    color: var(--rt88-secondary-color);
    text-decoration: none;
}

.page-cookies-policy__browser-links .page-cookies-policy__list-item a:hover {
    text-decoration: underline;
    color: var(--rt88-glow-color);
}

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

.page-cookies-policy__btn-primary,
.page-cookies-policy__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    max-width: 100%; /* Ensure buttons are responsive */
    box-sizing: border-box;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word;
}

.page-cookies-policy__btn-primary {
    background: linear-gradient(180deg, var(--rt88-button-gradient-start) 0%, var(--rt88-button-gradient-end) 100%);
    color: #ffffff;
    border: none;
}

.page-cookies-policy__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    background: linear-gradient(180deg, var(--rt88-button-gradient-end) 0%, var(--rt88-button-gradient-start) 100%);
}

.page-cookies-policy__btn-secondary {
    background: transparent;
    color: var(--rt88-secondary-color);
    border: 2px solid var(--rt88-secondary-color);
}

.page-cookies-policy__btn-secondary:hover {
    background: var(--rt88-secondary-color);
    color: var(--rt88-background-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-cookies-policy__contact-image {
    margin-top: 50px;
}

/* --- Responsive Styles --- */
@media (max-width: 768px) {
    .page-cookies-policy {
        font-size: 15px;
        line-height: 1.5;
    }

    .page-cookies-policy__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* body handles --header-offset, this is decorative */
    }

    .page-cookies-policy__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
    }

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

    .page-cookies-policy__content-area {
        padding: 20px 15px;
    }

    .page-cookies-policy__container {
        padding-left: 0;
        padding-right: 0;
    }

    .page-cookies-policy__section-title {
        font-size: clamp(1.5em, 6vw, 2em);
        margin-top: 30px;
    }

    .page-cookies-policy__sub-title {
        font-size: clamp(1.2em, 5vw, 1.5em);
        margin-top: 25px;
    }

    /* Images responsive */
    .page-cookies-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-cookies-policy__section,
    .page-cookies-policy__card,
    .page-cookies-policy__container,
    .page-cookies-policy__image-wrapper,
    .page-cookies-policy__cta-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }

    /* Buttons responsive */
    .page-cookies-policy__btn-primary,
    .page-cookies-policy__btn-secondary,
    .page-cookies-policy a[class*="button"],
    .page-cookies-policy a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px; /* Add padding to text inside button */
        padding-right: 15px;
    }

    .page-cookies-policy__cta-wrapper {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .page-cookies-policy__main-title {
        font-size: clamp(1.5em, 8vw, 2.2em);
    }
    .page-cookies-policy__section-title {
        font-size: clamp(1.2em, 7vw, 1.8em);
    }
    .page-cookies-policy__sub-title {
        font-size: clamp(1em, 6vw, 1.3em);
    }
}