/* ==========================================================================
   Career detail 2026 (cd26) - job pages using "Career Detail Template".
   Loaded only by template-career-detail.php, and every rule is scoped to the
   .cd26 wrapper, so no other page is affected.
   ========================================================================== */

.cd26,
.cd26 * {
    box-sizing: border-box;
}
.cd26 {
    font-family: 'Archivo', 'Public Sans', system-ui, -apple-system, sans-serif;
    color: #0b2345;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}
.cd26-wrap {
    /* Same container as the site header: 1320px wide with 30px side padding,
       so the content lines up with the logo */
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 30px;
}

/* ---------- Title bar ---------- */
.cd26-bar {
    background: #f0f6ff;
    border-bottom: 1px solid #dbe6f3;
    padding: 28px 0 32px;
}
.cd26-bar .cd26-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.cd26-crumb {
    font-size: 14px;
    line-height: 1.4;
    color: #4b5563;
}
.cd26-crumb a {
    color: #1a6aa3;
    font-weight: 600;
    text-decoration: none;
}
.cd26-crumb a:hover {
    text-decoration: underline;
}
.cd26 h1.cd26-title {
    margin: 0;
    padding: 0;
    font-family: inherit;
    font-size: 36px;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #0b2345;
}
.cd26-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.cd26-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #dbe6f3;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    color: #0b2345;
}
.cd26-tag svg {
    display: block;
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    fill: none;
    stroke: #1a6aa3;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ---------- Job description (existing editor content) ---------- */
.cd26-main {
    padding: 24px 0 96px;
}
.cd26-content {
    max-width: none; /* full container width: logo to "Request a demo" */
    font-size: 17px;
    line-height: 1.7;
    color: #3c4a5e;
}
.cd26-content h2 {
    margin: 36px 0 16px;
    padding: 36px 0 0;
    border-top: 1px solid #e6eef7;
    font-family: inherit;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0a1e3c;
}
/* No divider above the first heading */
.cd26-content > h2:first-child,
.cd26-content > :first-child > h2:first-child {
    margin-top: 12px;
    border-top: 0;
}
.cd26-content h3 {
    margin: 24px 0 12px;
    padding: 0;
    font-family: inherit;
    font-size: 19px;
    line-height: 1.3;
    font-weight: 700;
    color: #008e99; /* homepage 2026 teal/green accent */
}
.cd26-content p {
    margin: 0 0 16px;
    font-size: 17px;
    line-height: 1.7;
    color: #3c4a5e;
}
.cd26-content ul {
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.cd26-content ul li {
    position: relative;
    margin: 0;
    padding: 0 0 0 34px;
    font-size: 16px;
    line-height: 1.65;
    color: #3c4a5e;
    list-style: none;
    background: none;
}
/* Blue check-mark bullet */
.cd26-content ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: #e3f1fb url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a6aa3' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px 12px no-repeat;
}
.cd26-content ol {
    margin: 0 0 16px;
    padding-left: 22px;
}
.cd26-content ol li {
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.65;
}
.cd26-content strong,
.cd26-content b {
    color: #0b2345;
    font-weight: 700;
}
.cd26-content a {
    color: #1a6aa3;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.cd26-content a:hover {
    color: #1E82C6;
}
.cd26-content em {
    font-size: 15px;
    color: #4b5563;
}
.cd26-content img {
    max-width: 100%;
    height: auto;
}

/* ---------- Two columns: job content + sticky "How to Apply" sidebar ---------- */
.cd26-layout {
    display: flex;
    align-items: flex-start;
    gap: 56px;
}
.cd26-layout .cd26-content {
    flex: 1 1 auto;
    min-width: 0;
}
.cd26-apply {
    flex: 0 0 360px;
    position: sticky;
    top: 96px; /* clears the sticky site header */
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.cd26-apply__card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 32px;
    border-radius: 18px;
    background: #f0f6ff;
    border: 1px solid #dbe6f3;
}
.cd26-apply h2 {
    margin: 0;
    padding: 0;
    border: 0;
    font-family: inherit;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0a1e3c;
}
.cd26-apply h3 {
    margin: 4px 0 0;
    padding: 0;
    font-family: inherit;
    font-size: 17px;
    font-weight: 700;
    color: #008e99;
}
.cd26-apply p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: #3c4a5e;
}
.cd26-apply p a {
    color: #1a6aa3;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
    overflow-wrap: anywhere;
}
.cd26-apply em {
    font-size: 13px;
    color: #4b5563;
}
.cd26-apply ul {
    margin: 0;
    padding: 0 0 0 18px;
}
.cd26-apply ul li {
    font-size: 15px;
    line-height: 1.6;
    color: #3c4a5e;
}
.cd26 .cd26-apply__btn,
.cd26 .cd26-apply a.job-apply__btn {
    display: block;
    margin-top: 4px;
    padding: 14px 20px;
    border-radius: 8px;
    background: #1E82C6;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
}
.cd26 .cd26-apply__btn:hover,
.cd26 .cd26-apply a.job-apply__btn:hover {
    background: #1a6fa9;
    color: #fff;
}

/* Tablet and phone: sidebar drops below the job content */
@media only screen and (max-width: 1023px) {
    .cd26-layout {
        flex-direction: column;
        gap: 32px;
    }
    .cd26-apply {
        position: static;
        flex-basis: auto;
        width: 100%;
        margin-top: 0;
    }
}

/* Header switches to 16px side padding below 1024px */
@media only screen and (max-width: 1023px) {
    .cd26-wrap {
        padding: 0 16px;
    }
}

/* ---------- Phone ---------- */
@media only screen and (max-width: 767px) {
    .cd26-bar {
        padding: 22px 0 26px;
    }
    .cd26 h1.cd26-title {
        font-size: 28px;
    }
    .cd26-main {
        padding: 16px 0 64px;
    }
    .cd26-content h2 {
        margin-top: 28px;
        padding-top: 28px;
        font-size: 24px;
    }
    .cd26-content,
    .cd26-content p {
        font-size: 16px;
    }
}
