/* style/privacy-policy.css */

/* Custom Colors */
:root {
    --dt88-primary: #113B7A;
    --dt88-secondary: #1D5FD1;
    --dt88-button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
    --dt88-card-bg: #10233F;
    --dt88-text-main: #F3F8FF;
    --dt88-text-secondary: #AFC4E8;
    --dt88-border: #244D84;
    --dt88-glow: #4FA8FF;
    --dt88-gold: #F2C14E;
    --dt88-divider: #1B3357;
    --dt88-deep-navy: #08162B;
}

.page-privacy-policy {
    font-family: 'Arial', sans-serif;
    color: var(--dt88-text-main); /* Default text color for the page, based on dark body bg */
    background-color: var(--dt88-deep-navy); /* Ensure consistency if body bg is not fully applied */
}

.page-privacy-policy__hero-section {
    position: relative;
    width: 100%;
    padding-top: 10px; /* Small top padding, assuming body handles --header-offset */
    padding-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    box-sizing: border-box;
}

.page-privacy-policy__hero-image-wrapper {
    width: 100%;
    max-height: 500px; /* Limit height for hero image */
    overflow: hidden;
}

.page-privacy-policy__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
}

.page-privacy-policy__hero-content-wrapper {
    max-width: 900px;
    padding: 30px 20px;
    z-index: 1;
    margin-top: -100px; /* Pull content up slightly over the image for visual flow */
    background: rgba(16, 35, 63, 0.9); /* Card BG with slight transparency */
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--dt88-border);
}

.page-privacy-policy__main-title {
    font-size: clamp(2em, 3.5vw, 3.5em); /* Responsive font size */
    color: var(--dt88-gold);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(79, 168, 255, 0.5);
}

.page-privacy-policy__hero-description {
    font-size: 1.1em;
    color: var(--dt88-text-secondary);
    line-height: 1.6;
    margin-bottom: 30px;
}

.page-privacy-policy__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
    background-color: var(--dt88-deep-navy);
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.page-privacy-policy__section-intro {
    margin-bottom: 40px;
    text-align: center;
}

.page-privacy-policy__section-title {
    font-size: 2.5em;
    color: var(--dt88-gold);
    font-weight: 600;
    margin-bottom: 20px;
}

.page-privacy-policy__section-description {
    font-size: 1.05em;
    line-height: 1.7;
    color: var(--dt88-text-secondary);
    max-width: 900px;
    margin: 0 auto;
}

.page-privacy-policy__article-section {
    background-color: var(--dt88-card-bg);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    border: 1px solid var(--dt88-border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__article-heading {
    font-size: 1.8em;
    color: var(--dt88-text-main);
    font-weight: 600;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--dt88-divider);
    padding-bottom: 10px;
}

.page-privacy-policy__article-section p {
    font-size: 1em;
    line-height: 1.7;
    color: var(--dt88-text-secondary);
    margin-bottom: 15px;
}

.page-privacy-policy__list {
    list-style-type: disc;
    padding-left: 25px;
    margin-bottom: 20px;
}

.page-privacy-policy__list-item {
    font-size: 1em;
    line-height: 1.6;
    color: var(--dt88-text-secondary);
    margin-bottom: 10px;
}

.page-privacy-policy__list-item strong {
    color: var(--dt88-text-main);
}

.page-privacy-policy__image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin-top: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px; /* Ensure minimum size */
}

.page-privacy-policy a {
    color: var(--dt88-glow);
    text-decoration: none;
}

.page-privacy-policy a:hover {
    text-decoration: underline;
}

.page-privacy-policy__contact-list {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.page-privacy-policy__contact-item {
    font-size: 1em;
    line-height: 1.8;
    color: var(--dt88-text-secondary);
    margin-bottom: 10px;
}

.page-privacy-policy__btn-primary {
    display: inline-block;
    background: var(--dt88-button-gradient);
    color: var(--dt88-text-main);
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-privacy-policy__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.page-privacy-policy__cta-block {
    text-align: center;
    background-color: var(--dt88-primary);
    padding: 40px 20px;
    border-radius: 10px;
    margin-top: 40px;
    border: 1px solid var(--dt88-border);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.page-privacy-policy__cta-text {
    font-size: 1.3em;
    color: var(--dt88-text-main);
    margin-bottom: 25px;
    font-weight: 500;
    line-height: 1.5;
}

.page-privacy-policy__cta-button {
    max-width: 300px; /* Limit button width on desktop */
    width: 100%;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-privacy-policy__hero-content-wrapper {
        margin-top: -80px;
    }

    .page-privacy-policy__main-title {
        font-size: clamp(2em, 4vw, 3em);
    }

    .page-privacy-policy__section-title {
        font-size: 2em;
    }

    .page-privacy-policy__article-heading {
        font-size: 1.6em;
    }
}

@media (max-width: 768px) {
    .page-privacy-policy__hero-section {
        padding-top: 10px !important;
        padding-bottom: 20px;
    }

    .page-privacy-policy__hero-image-wrapper {
        max-height: 300px;
    }

    .page-privacy-policy__hero-content-wrapper {
        margin-top: -60px; /* Adjust for smaller screens */
        padding: 20px 15px;
    }

    .page-privacy-policy__main-title {
        font-size: clamp(1.8em, 6vw, 2.5em);
        line-height: 1.3;
    }

    .page-privacy-policy__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-privacy-policy__content-area {
        padding: 30px 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-privacy-policy__section-title {
        font-size: 1.8em;
        margin-bottom: 15px;
    }

    .page-privacy-policy__section-description,
    .page-privacy-policy__article-section p,
    .page-privacy-policy__list-item,
    .page-privacy-policy__contact-item {
        font-size: 0.95em;
        line-height: 1.6;
    }

    .page-privacy-policy__article-heading {
        font-size: 1.4em;
        margin-bottom: 15px;
    }

    .page-privacy-policy__article-section {
        padding: 20px;
        margin-bottom: 20px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Generic images and containers */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: unset !important; /* Allow images to shrink below 200px if container is smaller, but still enforce content image sizes */
        min-height: unset !important;
    }
    
    .page-privacy-policy__hero-image {
        min-width: 100% !important;
        min-height: 200px !important; /* Hero image should still be substantial */
    }

    .page-privacy-policy__cta-button,
    .page-privacy-policy__btn-primary,
    .page-privacy-policy a[class*="button"],
    .page-privacy-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;
        padding-right: 15px;
    }
    
    .page-privacy-policy__cta-block {
        padding: 30px 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-privacy-policy__cta-text {
        font-size: 1.1em;
        margin-bottom: 20px;
    }

    .page-privacy-policy__list {
        padding-left: 20px;
    }

    .page-privacy-policy__contact-list {
        padding-left: 0;
    }
}