/* Policies Page Styles */

.policies-hero {
    padding: 80px 0 50px;
    background: var(--background-color);
    text-align: center;
    border-bottom: 1px solid var(--light-grey);
}

.policies-hero h1 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-color);
    font-weight: 700;
}

.policies-hero .lead {
    color: var(--dark-grey);
}

.policies-page {
    padding: 50px 0 70px;
    background: var(--background-color);
    position: relative;
}

.policies-page::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
        transparent,
        var(--primary-color),
        var(--secondary-color),
        var(--primary-color),
        transparent);
    background-size: 200% 100%;
    animation: borderFlow 3s linear infinite reverse;
}

.policy-content {
    max-width: 860px;
    margin: 0 auto;
    background-color: var(--very-light-grey);
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.policy-divider {
    border: none;
    border-top: 1px solid var(--light-grey);
    margin: 40px 0;
}

.policy-section {
    margin-bottom: 10px;
}

.policy-section h2 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 2rem;
    font-weight: 700;
}

.policy-section h3 {
    font-family: 'Montserrat', sans-serif;
    color: var(--secondary-color);
    margin: 20px 0 10px;
    font-size: 1.3rem;
    font-weight: 700;
}

.policy-section p {
    margin-bottom: 15px;
    line-height: 1.7;
    color: var(--text-color);
}

.policy-section a {
    color: var(--primary-color);
    text-decoration: none;
}

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

.policy-section ul {
    margin-bottom: 15px;
    padding-left: 20px;
}

.policy-section li {
    margin-bottom: 8px;
    line-height: 1.6;
    color: var(--text-color);
}

/* Age Restrictions Grid */
.age-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 25px 0;
}

.age-card {
    background: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.age-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.age-badge {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 15px;
}

.age-card ul {
    padding-left: 18px;
    margin-bottom: 0;
}

.age-card li {
    margin-bottom: 6px;
    line-height: 1.5;
    color: var(--text-color);
}

/* Responsive */
@media (max-width: 768px) {
    .policies-hero {
        padding: 60px 0 35px;
    }

    .policy-content {
        padding: 25px 20px;
        margin: 0 10px;
    }

    .policy-section h2 {
        font-size: 1.6rem;
    }

    .policy-section h3 {
        font-size: 1.15rem;
    }

    .age-grid {
        grid-template-columns: 1fr;
    }
}
