/* style/cookies-policy.css */

/* Custom Colors */
:root {
    --mb661-primary: #2F6BFF;
    --mb661-secondary: #6FA3FF;
    --mb661-button-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    --mb661-card-bg: #FFFFFF;
    --mb661-background: #F4F7FB;
    --mb661-text-main: #1F2D3D;
    --mb661-text-black: #000000;
    --mb661-border: #D6E2FF;
    --mb661-glow: #A5C4FF;
}

/* Page base styles */
.page-cookies-policy {
    background-color: var(--mb661-background); /* Background: #F4F7FB */
    color: var(--mb661-text-main); /* Text Main: #1F2D3D */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    font-size: 16px;
}

/* Hero Section */
.page-cookies-policy__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image on top, text below */
    align-items: center;
    text-align: center;
    padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
    background-color: var(--mb661-primary); /* Use primary color for hero background */
    color: #ffffff; /* White text on primary background */
    overflow: hidden; /* Ensure no overflow */
}

.page-cookies-policy__hero-image {
    width: 100%;
    max-width: 1920px; /* Max width for hero image */
    height: auto;
    object-fit: cover;
    display: block;
    margin-bottom: 30px; /* Space between image and content */
}

.page-cookies-policy__hero-content {
    max-width: 900px;
    padding: 0 20px;
    box-sizing: border-box;
    z-index: 1; /* Ensure content is above any potential background elements */
}

.page-cookies-policy__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive H1 font size */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #ffffff; /* White text for main title */
}

.page-cookies-policy__hero-description {
    font-size: 1.15rem;
    margin-bottom: 30px;
    color: #f0f0f0; /* Slightly off-white for description */
}

/* Content Area */
.page-cookies-policy__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    background-color: var(--mb661-background); /* Background: #F4F7FB */
    color: var(--mb661-text-main); /* Text Main: #1F2D3D */
    box-sizing: border-box;
}

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

.page-cookies-policy__section-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--mb661-text-black); /* Custom Color_1776249996415: #000000 */
    margin-top: 40px;
    margin-bottom: 20px;
}

.page-cookies-policy__paragraph {
    margin-bottom: 15px;
    color: var(--mb661-text-main); /* Text Main: #1F2D3D */
}

.page-cookies-policy__paragraph a {
    color: var(--mb661-primary);
    text-decoration: underline;
}

.page-cookies-policy__list {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: var(--mb661-text-main); /* Text Main: #1F2D3D */
}

.page-cookies-policy__list-item {
    margin-bottom: 10px;
}

.page-cookies-policy__list-item strong {
    color: var(--mb661-text-black); /* Custom Color_1776249996415: #000000 */
}

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

/* Buttons */
.page-cookies-policy__cta-buttons {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on small screens */
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

.page-cookies-policy__btn-primary,
.page-cookies-policy__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    min-width: 200px; /* Ensure buttons are large enough */
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Break long words */
    text-align: center;
}

.page-cookies-policy__btn-primary {
    background: var(--mb661-button-gradient); /* Button gradient */
    color: #ffffff;
    border: 2px solid transparent;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-cookies-policy__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-cookies-policy__btn-secondary {
    background-color: var(--mb661-card-bg); /* Card BG: #FFFFFF */
    color: var(--mb661-primary);
    border: 2px solid var(--mb661-primary);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-cookies-policy__btn-secondary:hover {
    background-color: var(--mb661-primary);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

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

    .page-cookies-policy__hero-section {
        padding-top: 10px !important; /* Small top padding for mobile */
        padding-bottom: 40px;
    }

    .page-cookies-policy__main-title {
        font-size: clamp(2rem, 8vw, 2.5rem); /* Adjust H1 for smaller screens */
    }

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

    .page-cookies-policy__content-area {
        padding: 30px 15px; /* Adjust padding for mobile */
    }

    .page-cookies-policy__section-title {
        font-size: 1.75rem;
        margin-top: 30px;
    }

    /* Images responsiveness */
    .page-cookies-policy img {
        max-width: 100% !important;
        width: 100% !important; /* Ensure images take full width */
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
    }

    /* All containers that might hold images/videos/buttons */
    .page-cookies-policy__section,
    .page-cookies-policy__card,
    .page-cookies-policy__container,
    .page-cookies-policy__hero-content,
    .page-cookies-policy__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px; /* Standard mobile padding */
        padding-right: 15px; /* Standard mobile padding */
        overflow: hidden !important; /* Prevent overflow */
    }

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

    .page-cookies-policy__btn-primary,
    .page-cookies-policy__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        min-width: unset; /* Remove min-width on mobile */
        padding: 12px 20px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .page-cookies-policy__main-title {
        font-size: clamp(1.8rem, 10vw, 2.2rem);
    }
    .page-cookies-policy__section-title {
        font-size: 1.5rem;
    }
}