/* Fairbanks Curling Club policies page */

.policies-page {
    --pol-deep: #2a4a6a;
    --pol-mid: #51789f;
    --pol-accent: #345f8b;
    --pol-ink: #1e2d3d;
    --pol-muted: #5a6b7c;
    --pol-radius: 14px;
    --pol-shadow: 0 10px 30px rgba(42, 74, 106, 0.12);
    max-width: 1140px;
    margin: 0 auto 2.5rem;
    padding: 0 1rem 1rem;
    width: 100%;
    box-sizing: border-box;
}

.policies-hero {
    position: relative;
    overflow: hidden;
    border-radius: var(--pol-radius);
    background:
        radial-gradient(ellipse 80% 60% at 12% 18%, rgba(255, 255, 255, 0.28), transparent 55%),
        radial-gradient(ellipse 70% 80% at 92% 85%, rgba(52, 95, 139, 0.4), transparent 50%),
        linear-gradient(135deg, #3d6a92 0%, var(--pol-deep) 55%, #1a3348 100%);
    color: #fff;
    padding: 2.6rem 2rem 2.3rem;
    margin-bottom: 1.25rem;
    box-shadow: var(--pol-shadow);
}

.policies-hero__layout {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.policies-hero__inner {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 44rem;
}

.policies-hero__eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.85;
    margin-bottom: 0.7rem;
}

.policies-hero h1 {
    font-family: "Raleway", "Source Sans Pro", sans-serif;
    font-size: clamp(1.9rem, 4vw, 2.55rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    margin: 0 0 0.85rem;
}

.policies-hero p {
    font-size: 1.08rem;
    line-height: 1.65;
    margin: 0;
    opacity: 0.92;
    max-width: 40rem;
}

.policies-updated {
    flex: 0 0 210px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 18px;
    padding: 1.15rem 1.1rem 1.2rem;
    text-align: center;
}

.policies-updated strong {
    display: block;
    font-family: "Raleway", "Source Sans Pro", sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.35rem;
}

.policies-updated span {
    display: block;
    font-size: 0.92rem;
    line-height: 1.4;
    opacity: 0.9;
}

.policies-jump {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.policies-jump a {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(82, 120, 159, 0.22);
    color: var(--pol-accent);
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
}

.policies-jump a:hover,
.policies-jump a:focus {
    background: var(--pol-deep);
    border-color: var(--pol-deep);
    color: #fff;
    text-decoration: none;
}

.policies-facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
    margin-bottom: 2rem;
}

.policies-fact {
    background: #fff;
    border: 1px solid rgba(82, 120, 159, 0.16);
    border-radius: 12px;
    padding: 1rem 1rem 1.05rem;
}

.policies-fact strong {
    display: block;
    font-family: "Raleway", "Source Sans Pro", sans-serif;
    color: var(--pol-deep);
    font-size: 1.15rem;
    margin-bottom: 0.25rem;
}

.policies-fact span {
    display: block;
    color: var(--pol-muted);
    font-size: 0.95rem;
    line-height: 1.45;
}

.policies-section {
    margin-bottom: 2rem;
}

.policies-section h2,
.policies-close h2 {
    font-family: "Raleway", "Source Sans Pro", sans-serif;
    font-weight: 700;
    color: var(--pol-ink);
    line-height: 1.2;
}

.policies-section h2 {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: clamp(1.3rem, 2.2vw, 1.6rem);
    margin: 0 0 0.85rem;
    padding-bottom: 0.7rem;
    border-bottom: 2px solid rgba(82, 120, 159, 0.18);
}

.policies-section h2 i {
    color: var(--pol-accent);
    font-size: 0.95em;
}

.policies-prose {
    color: var(--pol-ink);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 48rem;
}

.policies-prose p {
    margin: 0 0 1rem;
}

.policies-prose p:last-child {
    margin-bottom: 0;
}

.policies-prose a,
.policies-card a,
.policies-close a {
    color: var(--pol-accent);
    font-weight: 600;
}

.policies-close a {
    color: #fff;
    text-decoration: underline;
}

.policies-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.policies-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.policies-card {
    background: #fff;
    border: 1px solid rgba(82, 120, 159, 0.16);
    border-top: 4px solid var(--pol-mid);
    border-radius: 12px;
    padding: 1.1rem 1.05rem 1.15rem;
}

.policies-card h3 {
    font-family: "Raleway", "Source Sans Pro", sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--pol-ink);
    margin: 0 0 0.45rem;
}

.policies-card p {
    margin: 0 0 0.75rem;
    color: var(--pol-muted);
    line-height: 1.55;
    font-size: 0.98rem;
}

.policies-card p:last-child {
    margin-bottom: 0;
}

.policies-note {
    margin-top: 0.95rem;
    background: #fff;
    border-left: 5px solid var(--pol-accent);
    border-radius: var(--pol-radius);
    box-shadow: 0 4px 16px rgba(42, 74, 106, 0.06);
    padding: 1rem 1.15rem;
    color: var(--pol-ink);
    line-height: 1.6;
}

.policies-etiquette {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: policy;
    display: grid;
    gap: 0.7rem;
}

.policies-etiquette li {
    counter-increment: policy;
    display: grid;
    grid-template-columns: 2.2rem 1fr;
    gap: 0.75rem;
    align-items: start;
    background: #fff;
    border: 1px solid rgba(82, 120, 159, 0.16);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    color: var(--pol-ink);
    line-height: 1.55;
}

.policies-etiquette li::before {
    content: counter(policy);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 999px;
    background: rgba(81, 120, 159, 0.14);
    color: var(--pol-deep);
    font-family: "Raleway", "Source Sans Pro", sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
}

.policies-close {
    background: linear-gradient(135deg, #3d6a92 0%, var(--pol-deep) 60%, #1a3348 100%);
    color: #fff;
    border-radius: var(--pol-radius);
    padding: 1.7rem 1.5rem 1.75rem;
    box-shadow: var(--pol-shadow);
}

.policies-close h2 {
    color: #fff;
    font-size: clamp(1.3rem, 2.2vw, 1.6rem);
    margin: 0 0 0.75rem;
}

.policies-close p {
    margin: 0 0 0.85rem;
    line-height: 1.65;
    max-width: 46rem;
    opacity: 0.95;
}

.policies-close p:last-child {
    margin-bottom: 0;
}

.policies-signoff {
    font-family: "Raleway", "Source Sans Pro", sans-serif;
    font-weight: 700;
    letter-spacing: 0.06em;
}

@media (max-width: 900px) {
    .policies-facts,
    .policies-grid--3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .policies-hero__layout {
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 1.25rem;
    }

    .policies-updated {
        flex-basis: auto;
        width: 100%;
        max-width: 220px;
    }

    .policies-grid,
    .policies-grid--3 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .policies-hero {
        padding: 1.8rem 1.25rem 1.6rem;
    }

    .policies-facts {
        grid-template-columns: 1fr;
    }
}
