/**
 * Shared layout for standalone text/legal pages (cookiebeleid, privacybeleid,
 * voorwaarden, over-ons, contact, etc.): a hero title + a column of prose
 * sections. Reuses the shared design tokens from /app/core/global.css.
 */

.policy-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: 72px 0 60px;
    background:
        linear-gradient(135deg, rgba(252, 5, 204, 0.06), rgba(123, 47, 247, 0.06)),
        var(--light-light-gray);
    border-bottom: 1px solid var(--border-color);
}
/* Soft decorative brand glow in the corner of the hero */
.policy-hero::before {
    content: "";
    position: absolute;
    top: -140px;
    right: -80px;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(252, 5, 204, 0.18), transparent 68%);
    filter: blur(30px);
    z-index: -1;
    pointer-events: none;
}

.policy-hero__title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--secondary-color);
    margin-bottom: 10px;
}
/* Gradient accent underline under the page title */
.policy-hero__title::after {
    content: "";
    display: block;
    width: 64px;
    height: 4px;
    margin-top: 16px;
    border-radius: 100px;
    background: var(--grad-brand);
}

.policy-hero__updated {
    color: var(--gray);
    font-size: 0.9rem;
}

.policy-content {
    max-width: 820px;
    padding-top: 48px;
    padding-bottom: 64px;
}

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

.policy-section__title {
    position: relative;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 12px;
    padding-left: 16px;
}
/* Gradient accent bar to the left of every section heading */
.policy-section__title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.15em;
    bottom: 0.15em;
    width: 4px;
    border-radius: 100px;
    background: var(--grad-brand);
}

.policy-section p {
    color: var(--dark_gray);
    margin-bottom: 12px;
}

.policy-section ul {
    color: var(--dark_gray);
    margin: 0 0 12px 1.25rem;
}

.policy-section li {
    margin-bottom: 6px;
}

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

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

.policy-table-wrapper {
    overflow-x: auto;
    margin-bottom: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
}

.policy-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.policy-table th,
.policy-table td {
    text-align: left;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: top;
}

.policy-table th {
    background-color: var(--light-light-gray);
    color: var(--secondary-color);
    font-weight: 700;
}

.policy-table tr:last-child td {
    border-bottom: none;
}

.policy-settings-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    padding: 0.85rem 1.8rem;
    border: none;
    border-radius: 100px;
    background: var(--primary-color);
    color: #ffffff;
    cursor: pointer;
    box-shadow: 0 10px 30px -8px rgba(252, 5, 204, 0.55);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.policy-settings-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px -8px rgba(252, 5, 204, 0.75);
}
