@import url('https://fonts.googleapis.com/css2?family=Fira+Sans:wght@400;500;600;700;800&display=swap');

/* ─────────────────────────────────────────────────────────────
   LOGO — always render in the compact (≤1170 px breakpoint) style
   ───────────────────────────────────────────────────────────── */
.logo {
    position: relative !important;
    left: 0 !important;
    top: 0 !important;
    width: 120px !important;
    height: 120px !important;
    border-radius: 12px !important;
    transform: none !important;
    overflow: hidden;
}

.logo img {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    transform: none !important;
    width: 80% !important;
    height: 80% !important;
    margin: auto;
    display: block;
}

/* ─────────────────────────────────────────────────────────────
   CONTAINER — let height be driven by content, not a fixed 210 px
   ───────────────────────────────────────────────────────────── */
.container {
    height: auto !important;
    background: #fff;
    box-shadow: 0 2px 14px rgba(11, 2, 99, 0.07);
    overflow: visible;
}

/* Navbar at wide widths: cours.css handles everything, no overrides needed */

/* ─────────────────────────────────────────────────────────────
   POLICY HERO
   ───────────────────────────────────────────────────────────── */
.policy-hero {
    background: #00C89A15;
    min-height: 230px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 60px 20px;
}

/* ── decorative shapes ── */
.deco-rect {
    position: absolute;
    top: 28px;
    left: 64px;
    width: 130px;
    height: 85px;
    border: 4px solid #00C89A;
    border-radius: 6px;
    transform: rotate(-15deg);
    pointer-events: none;
}

.deco-x {
    position: absolute;
    top: 18px;
    right: 190px;
    width: 68px;
    height: 68px;
    pointer-events: none;
    transform: rotate(25deg);
}

.deco-triangle {
    position: absolute;
    top: 38px;
    right: 58px;
    width: 80px;
    height: 70px;
    pointer-events: none;
    transform: rotate(25deg);
}

/* ── title ── */
.policy-title {
    font-family: 'Fira Sans', Arial, sans-serif;
    font-size: 44px;
    font-weight: 800;
    text-align: center;
    margin: 0;
    line-height: 1.2;
    color: #00C89A;
    text-decoration: underline;
    position: relative;
    z-index: 1;
}

/* ─────────────────────────────────────────────────────────────
   POLICY MAIN CONTENT
   ───────────────────────────────────────────────────────────── */
.policy-main {
    background: #e6faf5;
    padding: 0px 20px 72px;
    min-height: 300px;
}

.policy-card {
    margin: 0 auto;
    background: #fff;
    border-radius: 16px;
    padding: 44px 52px;
    box-shadow:
        0px 22px 49px rgba(1, 201, 155, 0.10),
        0px 8px 20px rgba(11, 2, 99, 0.08);
}

#policy-content {
    color: #0B0263;
    font-family: 'Fira Sans', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.85;
}

#policy-content p {
    margin-top: 0;
    margin-bottom: 14px;
}

#policy-content h1,
#policy-content h2,
#policy-content h3 {
    color: #0B0263;
    margin-top: 30px;
    margin-bottom: 10px;
}

#policy-content strong,
#policy-content b {
    color: #0B0263;
    font-weight: 700;
}

#policy-content ul,
#policy-content ol {
    padding-left: 24px;
    margin-bottom: 14px;
}

#policy-content li {
    margin-bottom: 6px;
}

#policy-content a {
    color: #00C89A;
    text-decoration: underline;
    font-size: inherit;
}

.policy-loading {
    text-align: center;
    color: #aaa;
    font-size: 16px;
    padding: 48px 0;
}

/* ─────────────────────────────────────────────────────────────
   RESPONSIVE
   ───────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .policy-card {
        padding: 28px 20px;
    }

    .policy-title {
        font-size: 30px;
        padding: 12px 20px;
    }

    .deco-rect {
        width: 82px;
        height: 52px;
        left: 16px;
        top: 16px;
    }

    .deco-x {
        right: 72px;
        width: 48px;
        height: 48px;
    }

    .deco-triangle {
        right: 12px;
        width: 55px;
        height: 48px;
    }
}

@media (max-width: 480px) {
    .policy-hero {
        min-height: 160px;
        padding: 40px 16px;
    }

    .policy-title {
        font-size: 24px;
        padding: 10px 14px;
    }

    .deco-rect,
    .deco-x,
    .deco-triangle {
        display: none;
    }

    .policy-main {
        padding: 28px 12px 48px;
    }
}
