/* public/css/posh_policy.css
   Standalone — does not depend on terms_and_condition.css.
   All selectors namespaced under .posh-* so nothing leaks into the rest of the site. */

.posh-hero,
.posh-layout {
    --posh-ink:    #10242C;
    --posh-ink-2:  #3D565F;
    --posh-paper:  #F1F5F5;
    --posh-card:   #FFFFFF;
    --posh-rule:   #D5E0E2;
    --posh-teal:   #0E6E7D;
    --posh-leaf:   #3E9B4F;
    --posh-alert:  #A8321C;
    --posh-alert-bg: #FCF1EE;
}

.posh-wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* ---------- hero ---------- */
.posh-hero {
    background: #10242C;
    color: #fff;
    padding: 54px 0 44px;
}
.posh-eyebrow {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #7FC5B4;
}
.posh-hero h1 {
    font-size: clamp(26px, 4vw, 42px);
    line-height: 1.14;
    font-weight: 700;
    margin: 14px 0 12px;
    max-width: 20ch;
    color: #fff;
}
.posh-hero p {
    color: #B9CBD1;
    max-width: 74ch;
    font-size: 15.5px;
    line-height: 1.7;
    margin: 0 0 26px;
}
.posh-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.posh-btn {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    padding: 11px 20px;
    border-radius: 2px;
    text-decoration: none;
    border: 1px solid transparent;
    transition: .15s;
}
.posh-btn-solid { background: #3E9B4F; color: #06231C; }
.posh-btn-solid:hover { background: #4FB161; color: #06231C; text-decoration: none; }
.posh-btn-ghost { border-color: #3C5A64; color: #fff; }
.posh-btn-ghost:hover { border-color: #7FC5B4; color: #fff; text-decoration: none; }

/* ---------- layout ---------- */
.posh-layout {
    display: grid;
    grid-template-columns: 264px 1fr;
    gap: 52px;
    align-items: start;
    padding-bottom: 80px;
    background: transparent;
}

.posh-rail { position: sticky; top: 24px; padding-top: 40px; }
.posh-rail nav { border-left: 2px solid #D5E0E2; margin-bottom: 24px; }
.posh-rail nav a {
    display: block;
    font-size: 13.5px;
    line-height: 1.35;
    color: #3D565F;
    text-decoration: none;
    padding: 7px 0 7px 14px;
    margin-left: -2px;
    border-left: 2px solid transparent;
}
.posh-rail nav a:hover { color: #0E6E7D; text-decoration: none; }
.posh-rail nav a.is-active {
    color: #10242C;
    font-weight: 600;
    border-left-color: #3E9B4F;
}

/* report card */
.posh-report {
    background: #FCF1EE;
    border: 1px solid #EBC9C0;
    border-top: 3px solid #A8321C;
    padding: 18px;
}
.posh-report h4 { font-size: 14px; margin: 0 0 6px; color: #A8321C; font-weight: 700; }
.posh-report > p { font-size: 13px; line-height: 1.5; margin: 0 0 12px; color: #5A3A33; }
.posh-call {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #10242C;
    text-decoration: none;
    padding: 8px 0;
    border-top: 1px solid #EBC9C0;
}
.posh-call:hover { color: #A8321C; text-decoration: none; }
.posh-call span { display: block; font-weight: 400; font-size: 12px; color: #7A5A52; }

/* ---------- document ---------- */
.posh-doc { padding-top: 40px; max-width: 78ch; color: #10242C; }
.posh-doc section {
    scroll-margin-top: 90px;
    padding-bottom: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid #D5E0E2;
}
.posh-doc section:last-of-type { border-bottom: 0; margin-bottom: 0; }
.posh-no {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    color: #3E9B4F;
    margin-bottom: 8px;
}
.posh-doc h2 { font-size: 24px; font-weight: 700; margin: 0 0 16px; line-height: 1.25; }
.posh-doc h3 { font-size: 16px; font-weight: 600; margin: 26px 0 10px; }
.posh-doc p  { font-size: 16px; line-height: 1.72; margin: 0 0 14px; }
.posh-doc ul, .posh-doc ol { margin: 0 0 16px; padding-left: 20px; }
.posh-doc li { font-size: 16px; line-height: 1.7; margin-bottom: 8px; }
.posh-sub { margin: 8px 0 0 !important; padding-left: 20px; }
.posh-sub li { font-size: 15.5px; margin-bottom: 5px; }
.posh-note { font-style: italic; color: #3D565F; }

.posh-callout {
    background: #fff;
    border-left: 3px solid #0E6E7D;
    padding: 14px 18px;
    margin: 18px 0;
}
.posh-callout p:last-child { margin-bottom: 0; }

/* definitions */
.posh-defs { margin: 0; background: #fff; border: 1px solid #D5E0E2; }
.posh-defs > div {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 20px;
    padding: 16px 20px;
    border-bottom: 1px solid #D5E0E2;
}
.posh-defs > div:last-child { border-bottom: 0; }
.posh-defs dt { font-weight: 600; font-size: 15px; line-height: 1.45; }
.posh-defs dd { margin: 0; font-size: 15.5px; line-height: 1.65; color: #3D565F; }

/* conduct cards */
.posh-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 18px 0; }
.posh-grid article { background: #fff; border: 1px solid #D5E0E2; padding: 18px 20px; }
.posh-grid h3 {
    margin: 0 0 10px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #0E6E7D;
    line-height: 1.4;
}
.posh-grid ul { margin: 0; padding-left: 18px; }
.posh-grid li { font-size: 15px; color: #3D565F; margin-bottom: 6px; }

/* ICC table */
.posh-table-wrap { overflow-x: auto; margin: 16px 0 8px; }
.posh-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid #D5E0E2;
    font-size: 15px;
}
.posh-table th {
    text-align: left;
    background: #E7EEEF;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: #3D565F;
    padding: 11px 16px;
    white-space: nowrap;
}
.posh-table td { padding: 13px 16px; border-top: 1px solid #D5E0E2; vertical-align: top; }
.posh-table tr.is-chair td { background: #F4FAF6; }
.posh-table a { font-weight: 600; text-decoration: none; white-space: nowrap; color: #0E6E7D; }

/* timeline */
.posh-timeline {
    list-style: none;
    margin: 20px 0 0 !important;
    padding: 0 0 0 0 !important;
    border-left: 2px solid #D5E0E2;
}
.posh-timeline > li { position: relative; padding: 0 0 24px 26px; margin: 0; }
.posh-timeline > li::before {
    content: '';
    position: absolute;
    left: -7px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #F1F5F5;
    border: 2px solid #3E9B4F;
}
.posh-day {
    display: block;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .11em;
    text-transform: uppercase;
    color: #3E9B4F;
    margin-bottom: 4px;
}
.posh-timeline p { font-size: 15.5px; color: #3D565F; margin-bottom: 10px; }
.posh-timeline p:last-child { margin-bottom: 0; }

/* ---------- responsive ---------- */
@media (max-width: 991px) {
    .posh-layout { grid-template-columns: 1fr; gap: 0; }
    .posh-rail { position: static; padding-top: 26px; }
    .posh-rail nav { display: none; }
    .posh-grid { grid-template-columns: 1fr; }
    .posh-defs > div { grid-template-columns: 1fr; gap: 5px; }
    .posh-doc { padding-top: 28px; max-width: none; }
    .posh-hero { padding: 36px 0 32px; }
}

@media (prefers-reduced-motion: reduce) {
    .posh-btn { transition: none; }
}

.posh-layout a:focus-visible,
.posh-hero a:focus-visible { outline: 2px solid #3E9B4F; outline-offset: 2px; }

@media print {
    .posh-rail, .posh-hero-actions { display: none; }
    .posh-hero { background: #fff; padding: 0 0 16px; }
    .posh-hero h1 { color: #000; }
    .posh-hero p, .posh-eyebrow { color: #333; }
    .posh-layout { display: block; padding: 0; }
    .posh-doc { max-width: none; padding-top: 0; }
    .posh-doc section { page-break-inside: avoid; }
}