/* style/cookies-policy.css */

/* Variables for color scheme */
:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #8B0000; /* Dark Red */
    --text-dark: #333333;
    --text-light: #FFFFFF;
    --background-light: #F8F8F8;
    --background-dark: #222222;
    --border-color: #E0E0E0;
}

.page-cookies-policy {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
    padding-bottom: 50px; /* Ensure space for footer */
}

.page-cookies-policy-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.page-cookies-policy-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-light);
    padding: 60px 20px;
    text-align: center;
    border-bottom: 5px solid rgba(0, 0, 0, 0.1);
}

.page-cookies-policy-hero h1 {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: var(--text-light); /* Ensure contrast on dark background */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-cookies-policy-hero p {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: rgba(255, 255, 255, 0.9);
}

.page-cookies-policy-hero-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    margin-top: 30px;
    object-fit: cover;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

.page-cookies-policy-section {
    padding: 40px 0;
    border-bottom: 1px solid var(--border-color);
}

.page-cookies-policy-section:last-of-type {
    border-bottom: none;
}

.page-cookies-policy-section h2 {
    font-size: 2em;
    color: var(--secondary-color);
    margin-bottom: 25px;
    text-align: center;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
    padding-bottom: 10px;
    width: auto;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.page-cookies-policy-section h3 {
    font-size: 1.5em;
    color: var(--secondary-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-cookies-policy-section p {
    margin-bottom: 15px;
    color: var(--text-dark);
}

.page-cookies-policy-section ul,
.page-cookies-policy-section ol {
    margin-left: 25px;
    margin-bottom: 15px;
}

.page-cookies-policy-section li {
    margin-bottom: 8px;
    color: var(--text-dark);
}

.page-cookies-policy-section a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-cookies-policy-section a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-cookies-policy-dark-bg {
    background-color: var(--background-dark);
    color: var(--text-light);
}

.page-cookies-policy-dark-bg h2,
.page-cookies-policy-dark-bg h3 {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.page-cookies-policy-dark-bg p,
.page-cookies-policy-dark-bg li {
    color: rgba(255, 255, 255, 0.85);
}

.page-cookies-policy-dark-bg a {
    color: var(--primary-color);
}

.page-cookies-policy-dark-bg a:hover {
    color: var(--text-light);
}

.page-cookies-policy-gold-bg {
    background-color: var(--primary-color);
    color: var(--text-dark);
}

.page-cookies-policy-gold-bg h2 {
    color: var(--secondary-color);
    border-bottom-color: var(--secondary-color);
}

.page-cookies-policy-gold-bg p,
.page-cookies-policy-gold-bg li {
    color: var(--text-dark);
}

.page-cookies-policy-gold-bg a {
    color: var(--secondary-color);
}

.page-cookies-policy-gold-bg a:hover {
    color: var(--text-dark);
}

/* Images in content */
.page-cookies-policy-image-medium,
.page-cookies-policy-image-large,
.page-cookies-policy-image-small {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

.page-cookies-policy-image-medium {
    max-width: 700px;
}

.page-cookies-policy-image-large {
    max-width: 900px;
}

.page-cookies-policy-image-small {
    max-width: 400px;
}