/* Compare Ottawa supporting pages — Suite 2.0 */

body .co-page-hero {
    margin: 0;
    padding: clamp(64px, 8vw, 112px) 24px;
    color: #fff;
    background:
        radial-gradient(circle at 88% 12%, rgba(54, 209, 220, .24), transparent 28%),
        linear-gradient(135deg, #082d50 0%, #075b92 58%, #087db0 100%);
    border-radius: 16px 16px 0 0;
}

.co-page-shell {
    width: min(1120px, 100%);
    margin: 0 auto;
}

.co-page-hero h1 {
    max-width: 880px;
    margin: 8px 0 18px;
    color: #fff;
    font-size: clamp(2.55rem, 6vw, 5rem);
    line-height: 1.02;
    letter-spacing: 0;
}

.co-page-hero p {
    max-width: 780px;
    margin: 0;
    color: rgba(255,255,255);
    font-size: clamp(1.08rem, 2vw, 1.36rem);
    line-height: 1.55;
}

.co-page-eyebrow {
    margin-bottom: 10px;
    font-size: .77rem;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: #a7e9f1;
}

.co-page-content {
    padding: clamp(52px, 8vw, 96px) 24px 80px;
    color: #223240;
}

.co-content-section {
    max-width: 850px;
    margin: 0 auto clamp(40px, 6vw, 72px);
}

.co-content-section h2,
.co-callout h2,
.co-info-card h2,
.co-explainer h2,
.co-timeline-body h2,
.co-candidate-directory__content h2,
.co-page-cta h2 {
    margin: 0 0 14px;
    color: #09385b;
    font-size: clamp(1.45rem, 2.4vw, 2rem);
    line-height: 1.15;
    letter-spacing: -.025em;
}

.co-content-section p,
.co-content-section li,
.co-callout p,
.co-callout li,
.co-explainer p,
.co-timeline-body p {
    font-size: 1.04rem;
    line-height: 1.75;
}

.co-content-section ul,
.co-content-section ol,
.co-callout ul {
    padding-left: 1.3em;
}

.co-callout {
    max-width: 940px;
    margin: 0 auto clamp(40px, 6vw, 72px);
    padding: clamp(24px, 4vw, 38px);
    border: 1px solid #b8dbe7;
    border-left: 6px solid #0b7ba7;
    border-radius: 14px;
    background: #f2fafc;
    box-shadow: 0 12px 32px rgba(7, 58, 89, .07);
}

.co-callout > :last-child,
.co-info-card > :last-child,
.co-explainer > :last-child,
.co-page-cta > div > :last-child {
    margin-bottom: 0;
}

.co-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin: 0 auto clamp(40px, 6vw, 72px);
}

.co-info-card,
.co-explainer {
    padding: 28px;
    border: 1px solid #d9e5eb;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 9px 24px rgba(9, 49, 73, .055);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.co-info-card:hover,
.co-info-card:focus-within,
.co-explainer:hover,
.co-explainer:focus-within {
    transform: translateY(-2px);
    border-color: #bfd5df;
    box-shadow: 0 14px 30px rgba(9, 49, 73, .075);
}

.co-info-card h2,
.co-explainer h2 {
    font-size: 1.25rem;
}

.co-info-card p {
    margin: 0;
    line-height: 1.65;
}

.co-steps {
    padding: 0 !important;
    list-style: none;
    counter-reset: co-step;
}

.co-steps li {
    display: grid;
    grid-template-columns: 48px 1fr;
    column-gap: 16px;
    margin: 0 0 22px;
    counter-increment: co-step;
}

.co-steps li::before {
    content: counter(co-step);
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: #fff;
    background: #087ca9;
    font-weight: 800;
}

.co-steps strong,
.co-steps span {
    grid-column: 2;
}

.co-steps strong {
    font-size: 1.1rem;
    color: #09385b;
}

.co-evidence-list {
    overflow: hidden;
    border: 1px solid #d6e3e9;
    border-radius: 14px;
}

.co-evidence-list > div {
    display: grid;
    grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr);
    gap: 20px;
    padding: 20px 22px;
    border-bottom: 1px solid #e2ebef;
}

.co-evidence-list > div:last-child {
    border-bottom: 0;
}

.co-evidence-list > div:nth-child(odd) {
    background: #f7fafb;
}

.co-evidence-list strong {
    color: #09385b;
}

.co-faq {
    max-width: 920px;
    margin: 0 auto 68px;
}

.co-faq-item {
    margin: 0 0 12px;
    border: 1px solid #d4e1e7;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(9, 49, 73, .055);
}

.co-faq-item summary {
    position: relative;
    padding: 20px 56px 20px 22px;
    color: #09385b;
    font-size: 1.05rem;
    font-weight: 750;
    cursor: pointer;
    list-style: none;
}

.co-faq-item summary::-webkit-details-marker {
    display: none;
}

.co-faq-item summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 22px;
    transform: translateY(-50%);
    font-size: 1.55rem;
    font-weight: 400;
    color: #087ca9;
}

.co-faq-item[open] summary::after {
    content: "−";
}

.co-faq-item > div {
    padding: 0 22px 20px;
}

.co-faq-item p {
    margin: 0;
    line-height: 1.7;
}

.co-candidate-directory {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin: 0 auto 68px;
}

.co-candidate-directory__card {
    display: grid;
    grid-template-columns: 155px minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid #d8e3e8;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(9, 49, 73, .065);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.co-candidate-directory__card:hover,
.co-candidate-directory__card:focus-within {
    transform: translateY(-2px);
    border-color: #bfd5df;
    box-shadow: 0 15px 34px rgba(9, 49, 73, .085);
}

.co-candidate-directory__media {
    min-height: 240px;
    background: #ddecf2;
}

.co-candidate-directory__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.co-candidate-directory__initials {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    min-height: 240px;
    color: #fff;
    background: linear-gradient(145deg, #0b4168, #0783ad);
    font-size: 2.3rem;
    font-weight: 800;
}

.co-candidate-directory__content {
    padding: 26px;
}

.co-candidate-directory__content h2 {
    font-size: 1.55rem;
}

.co-candidate-directory__role {
    margin: -5px 0 14px;
    color: #527080;
    font-weight: 650;
}

.co-candidate-directory__bio p {
    margin: 0 0 18px;
    line-height: 1.62;
}

.co-candidate-directory__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.co-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    border-radius: 8px;
    color: #fff !important;
    background: #087ca9;
    font-weight: 750;
    text-decoration: none !important;
    transition: transform .16s ease, background .16s ease;
}

.co-button:hover,
.co-button:focus {
    color: #fff !important;
    background: #075d82;
    transform: translateY(-1px);
}

.co-text-link {
    color: #075d82;
    font-weight: 700;
}

.co-explainer-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin: 0 auto 68px;
}

.co-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto 68px;
}

.co-timeline::before {
    content: "";
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: 168px;
    width: 2px;
    background: #b9dce7;
}

.co-timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 145px minmax(0, 1fr);
    gap: 48px;
    padding: 0 0 34px;
}

.co-timeline-item::before {
    content: "";
    position: absolute;
    top: 7px;
    left: 161px;
    width: 16px;
    height: 16px;
    border: 4px solid #fff;
    border-radius: 50%;
    background: #087ca9;
    box-shadow: 0 0 0 2px #087ca9;
}

.co-timeline-date {
    padding-top: 3px;
    color: #087096;
    font-weight: 800;
    text-align: right;
}

.co-timeline-body {
    padding: 0 0 4px;
}

.co-timeline-body h2 {
    font-size: 1.35rem;
}

.co-timeline-body p {
    margin: 0;
}

.co-code-example {
    padding: 24px;
    border-radius: 12px;
    background: #eef5f7;
}

.co-page-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin: 70px 0 0;
    padding: clamp(28px, 5vw, 44px);
    border-radius: 18px;
    color: #fff;
    background: #09385b;
}

.co-page-cta h2 {
    color: #fff;
}

.co-page-cta p {
    margin: 0;
    color: rgba(255,255,255);
    font-size: 1.04rem;
}

.co-page-cta .co-button {
    flex: 0 0 auto;
    background: #fff;
    color: #09385b !important;
}

.co-page-cta .co-button:hover,
.co-page-cta .co-button:focus {
    background: #dff5fa;
    color: #09385b !important;
}

@media (max-width: 900px) {
    .co-info-grid {
        grid-template-columns: 1fr;
    }

    .co-candidate-directory {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    body .co-page-hero {
        padding-inline: 20px;
    }

    .co-page-content {
        padding-inline: 18px;
    }

    .co-explainer-grid {
        grid-template-columns: 1fr;
    }

    .co-candidate-directory__card {
        grid-template-columns: 110px minmax(0, 1fr);
    }

    .co-candidate-directory__media,
    .co-candidate-directory__initials {
        min-height: 220px;
    }

    .co-candidate-directory__content {
        padding: 20px;
    }

    .co-evidence-list > div {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .co-timeline::before {
        left: 7px;
    }

    .co-timeline-item {
        grid-template-columns: 1fr;
        gap: 5px;
        padding-left: 34px;
    }

    .co-timeline-item::before {
        left: 0;
    }

    .co-timeline-date {
        text-align: left;
    }

    .co-page-cta {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .co-candidate-directory__card {
        grid-template-columns: 1fr;
    }

    .co-candidate-directory__media,
    .co-candidate-directory__initials {
        min-height: 280px;
    }
}

/* Suite 3.2.0 — timeline state treatment */
.co-timeline-status {
    display: inline-block;
    margin: 0 0 8px;
    padding: 4px 9px;
    border-radius: 999px;
    background: #087ca9;
    color: #fff;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .08em;
    line-height: 1;
    text-transform: uppercase;
}

.co-timeline-status--complete {
    background: #e8f3f5;
    color: #38606b;
}

.co-timeline-item--complete .co-timeline-date,
.co-timeline-item--complete .co-timeline-body p {
    color: #6f7f87;
}

.co-timeline-item--complete::before {
    background: #78a7b5;
    box-shadow: 0 0 0 2px #78a7b5;
}

.co-timeline-item--next .co-timeline-body {
    margin: -10px 0 12px;
    padding: 18px 20px 20px;
    border: 1px solid #b8dbe7;
    border-radius: 14px;
    background: #f2fafc;
    box-shadow: 0 10px 26px rgba(7,58,89,.06);
}
