.public-education-detail-page {
    background: #fff;
    color: #19314f;
    padding: 88px 0 64px;
}

.of-app {
    --of-blue: #2b88e0;
    --of-yellow: var(--co-yellow, #cccc00);
    --of-dark: var(--co-dark, #003366);
    --of-primary: var(--co-primary, #334ec3);
    --of-line: #aab9d4;
    font-family: Co-valent-Grotesk-Regular, Arial, sans-serif;
    color: #19314f;
    min-width: 0;
}
.of-app, .of-app *, .of-app *::before, .of-app *::after { box-sizing: border-box; }

.of-app h1, .of-app h2, .of-app h3 {
    color: var(--of-dark);
    font-family: Co-valent-geist-black, Arial, sans-serif;
}

.of-page { width: 100%; max-width: 1180px; min-width: 0; margin: 0 auto; padding: 16px 24px 48px; }
.of-breadcrumb { position: relative; z-index: 1; display: flex; visibility: visible; flex-wrap: wrap; gap: 4px; min-height: 18px; margin: 4px 0 14px; color: #4f546c; font-size: 13px; }
.of-breadcrumb a { color: var(--of-dark); font-weight: 700; text-decoration: underline; }

.of-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 300px;
    overflow: hidden;
    border-radius: 0;
    color: #fff;
    background: linear-gradient(135deg, var(--of-dark), var(--of-primary));
    box-shadow: 0 26px 44px rgba(0, 51, 102, .16);
}

.of-hero.of-hero-foto {
    background:
        linear-gradient(90deg, rgba(0, 31, 61, .94) 0%, rgba(0, 31, 61, .78) 42%, rgba(0, 31, 61, .18) 82%, rgba(0, 31, 61, .04) 100%),
        linear-gradient(0deg, rgba(0, 31, 61, .58), rgba(0, 31, 61, 0) 65%),
        var(--of-foto) center / cover no-repeat;
}

.of-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 20, 50, 0) 35%, rgba(0, 20, 50, .4)); pointer-events: none; }
.of-hero-inner { position: relative; z-index: 1; width: 100%; max-width: 860px; min-width: 0; padding: 32px 36px; }
.of-app .of-hero h1 { margin: 0 0 16px; color: #fff; font-size: 40px; line-height: 1.12; }

.of-hero-nieuw {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    padding: 8px 18px;
    background: var(--of-yellow);
    color: var(--of-dark);
    font-family: Co-valent-geist-black, Arial, sans-serif;
    font-size: 14px;
    letter-spacing: .08em;
    line-height: 1.2;
    text-transform: uppercase;
}

.of-app .of-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.of-tag { display: inline-flex; max-width: 100%; min-width: 0; align-items: center; gap: 6px; padding: 5px 14px; border: 0; border-radius: 999px; background: var(--of-yellow); color: var(--of-dark); font-size: 13px; font-weight: 700; line-height: 1.4; overflow-wrap: anywhere; text-decoration: none; }
.of-tag-video, .of-tag-video:hover, .of-tag-video:focus { background: var(--of-blue); color: #fff; text-decoration: none; }

.of-introrow { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(240px, .9fr); gap: 32px; padding: 28px 0 8px 8px; }
.of-intro p { margin: 0; color: var(--of-dark); font-size: 17px; font-weight: 700; line-height: 1.55; }
.of-actions { display: grid; gap: 6px; justify-self: end; min-width: 190px; max-width: 340px; margin: 0; padding: 0; list-style: none; }
.of-actions li::before, .of-steps li::before { content: none !important; }
.of-action { display: inline-flex; align-items: flex-start; gap: 12px; padding: 4px 0; border: 0; background: none; color: var(--of-dark); font: inherit; font-size: 14px; font-weight: 700; text-align: left; cursor: pointer; }
.of-action .bi { min-width: 22px; color: #9a9a00; font-size: 20px; line-height: 1; }
.of-action span { text-decoration: underline; text-underline-offset: 3px; }

.of-dialog { width: min(470px, calc(100% - 32px)); padding: 0; border: 2px solid #222; border-radius: 5px; color: var(--of-dark); box-shadow: none; }
.of-dialog::backdrop { background: rgba(0, 31, 61, .48); }
.of-dialog form { padding: 20px 23px; }
.of-app .of-dialog h2 { margin: 0 0 8px; font-size: 21px; }
.of-dialog p { margin: 0 0 16px; font-size: 13px; line-height: 1.6; }
.of-link-label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 700; }
.of-link { display: block; width: 100%; padding: 9px 12px; border: 0; border-radius: 2px; background: #ddd; color: var(--of-dark); font: inherit; font-size: 11px; }
.of-dialog-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; margin-top: 17px; }
.of-dialog .cv-btn { display: inline-flex; align-items: center; justify-content: center; padding: 7px 18px; border: 1.5px solid var(--of-primary); border-radius: 999px; background: #fff; color: var(--of-primary); font: inherit; font-size: 14px; font-weight: 700; white-space: nowrap; }
.of-dialog .cv-btn:hover, .of-dialog .cv-btn:focus { background: var(--of-primary); color: #fff; }

.of-card { margin-top: 28px; }
.of-card-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 14px; }
.of-app .of-card-head h2 { min-width: 0; margin: 0; font-size: 26px; overflow-wrap: anywhere; }
.of-verloop { padding: 24px 26px; border: 1px solid #d5def6; background: #eef3ff; }
.of-verloop-lead { margin: -2px 0 16px; color: #4f546c; }
.of-vormen { display: grid; gap: 16px; }
.of-vormen-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.of-vorm { padding: 18px 20px; border: 1px solid #dfe5f3; background: #fff; }
.of-app .of-vorm h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; font-size: 19px; }
.of-vorm-uitleg { margin: 4px 0 14px; color: #4f546c; font-size: 14px; }
.of-vorm h3 .bi, .of-step-body strong .bi { color: var(--of-primary); }
.of-steps { display: flex; flex-wrap: wrap; gap: 10px 0; margin: 0; padding: 0; list-style: none; }
.of-step { position: relative; display: flex; flex: 1 1 170px; gap: 10px; padding-right: 16px; }
.of-step-nr { display: grid; flex: 0 0 28px; place-items: center; width: 28px; height: 28px; padding: 0; border-radius: 50%; background: var(--of-primary); color: #fff; font-weight: 700; line-height: 1; text-align: center; }
.of-step-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 14px; }
.of-step-body strong { display: inline-flex; align-items: baseline; gap: 6px; color: var(--of-dark); }
.of-step-body span { color: #4f546c; }

.of-toolbar { display: flex; margin-bottom: 12px; }
.of-filter { display: flex; flex-wrap: wrap; gap: 6px; }
.of-pill { padding: 4px 14px; border: 1.5px solid var(--of-primary); border-radius: 999px; background: #fff; color: var(--of-primary); font: inherit; font-size: 14px; font-weight: 700; }
.of-pill[aria-pressed="true"] { background: var(--of-primary); color: #fff; }
.of-table-wrap { overflow: hidden; border: 1.5px solid var(--of-dark); }
.of-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.of-table thead th { padding: 12px 14px; background: var(--of-primary); color: #fff; font-size: 13px; font-weight: 700; text-align: left; white-space: nowrap; }
.of-table thead th > .bi { margin-right: 6px; }
.of-table td { padding: 12px 14px; border-top: 1px solid var(--of-line); vertical-align: middle; }
.of-table .of-multi td:not(.of-num):not(.of-act) { vertical-align: top; }
.of-table td + td { border-left: 1px solid var(--of-line); }
.of-table .of-full td:not(.of-act) { color: #4f546c; }
.of-sortbtn { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; font: inherit; font-weight: 700; }
.of-sortbtn:hover { text-decoration: underline; }
.of-sortbtn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.of-sortbtn .bi { margin: 0; }
.of-sortbtn .of-sorticon { margin-left: 2px; font-size: 10px; }
.of-line { display: flex; align-items: baseline; gap: 6px; white-space: nowrap; }
.of-line + .of-line { margin-top: 4px; }
.of-line small { display: block; color: #5b6075; }
.of-line .bi, .of-place-icon { margin-right: 5px; color: var(--of-primary); }
.of-num { text-align: center; white-space: nowrap; }
.of-act { width: 1%; text-align: center; white-space: nowrap; }
.of-vormchip { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 999px; background: #e6edff; color: #1f3aa8; font-size: 13px; font-weight: 700; white-space: nowrap; }
.of-vormchip-klassikaal, .of-vormchip-klas { background: #eef0f4; color: #3d4254; }
.of-vormchip-hybride, .of-vormchip-hybrid, .of-vormchip-hybr { background: #e6edff; color: #1f3aa8; }
.of-vormchip-live-online, .of-vormchip-online, .of-vormchip-live, .of-vormchip-begz { background: #e3f4f9; color: #0b5c7a; }
.of-vormchip-digitaal-traject, .of-vormchip-digital, .of-vormchip-digi, .of-vormchip-digb { background: #f4f1ec; color: #5b5449; }
.of-vormchip-planning-op-maat, .of-vormchip-individueel, .of-vormchip-plom, .of-vormchip-indi { background: #fff7d6; color: #6b5a00; }
.of-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 7px 18px; border: 0; border-radius: 999px; font-size: 14px; font-weight: 700; white-space: nowrap; text-decoration: none; }
.of-btn-yellow { background: var(--of-yellow); color: var(--of-dark); }
.of-btn-blue { background: var(--of-blue); color: #fff; }
.of-btn:hover { filter: brightness(.95); text-decoration: none; }
.of-empty { margin: 0; padding: 18px; color: #4f546c; }

.of-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(260px, .9fr); gap: 48px; margin-top: 40px; }
.of-block + .of-block { margin-top: 32px; }
.of-side .of-block + .of-infobox, .of-side .of-infobox + .of-block { margin-top: 32px; }
.of-app .of-block h2 { margin: 0 0 10px; font-size: 26px; }
.of-rich, .of-block p, .of-block li { line-height: 1.6; }
.of-rich p, .of-block p { margin: 0 0 8px; }
.of-rich ul { padding-left: 20px; list-style: disc; }
.of-rich li::before { content: none !important; }

.of-docent { display: flex; align-items: flex-start; gap: 18px; }
.of-avatar { display: inline-flex; flex: 0 0 84px; align-items: center; justify-content: center; height: 84px; border-radius: 50%; background: #d9dce3; color: var(--of-dark); font-family: Co-valent-geist-black, Arial, sans-serif; font-size: 26px; }
.of-quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px 16px; padding-top: 22px; }
.of-quote { position: relative; margin: 0; padding: 22px 18px 16px; border: 1.5px solid var(--of-dark); }
.of-quote::before { content: "\201C"; position: absolute; top: -22px; left: 12px; padding: 0 4px; background: #fff; color: var(--of-primary); font-family: Georgia, serif; font-size: 56px; line-height: 1; }
.of-quote blockquote, .of-quote blockquote p { margin: 0 0 10px; padding: 0; border: 0; color: inherit; font-size: 14.5px; text-align: center; }
.of-quote blockquote::before { content: none !important; display: none !important; }
.of-quote figcaption { font-size: 13px; font-weight: 700; letter-spacing: .04em; text-align: center; text-transform: uppercase; }

.of-infobox { margin-bottom: 24px; padding: 22px 22px 18px; background: var(--of-blue); color: #fff; }
.of-app .of-infobox h2 { margin: 0 0 12px; color: #fff; font-size: 26px; }
.of-app .of-infobox h3 { margin: 12px 0 2px; color: #fff; font-family: Co-valent-Grotesk-Regular, Arial, sans-serif; font-size: 15px; font-weight: 700; }
.of-infobox a { color: #fff; text-decoration: underline; }
.of-infobox p { margin: 0; font-size: 14px; line-height: 1.5; }

.of-toast { position: fixed; z-index: 9999; bottom: 30px; left: 50%; padding: 11px 18px; transform: translate(-50%, 20px); background: var(--of-dark); color: #fff; opacity: 0; pointer-events: none; transition: .2s; }
.of-toast-show { transform: translate(-50%, 0); opacity: 1; }

@media (max-width: 991px) {
    .of-page { width: calc(100% - 30px); padding: 12px 0 36px; }
    .of-hero { min-height: 250px; }
    .of-hero-inner { padding: 30px 24px; }
    .of-introrow, .of-grid { grid-template-columns: 1fr; }
    .of-actions { justify-self: start; max-width: none; }
    .of-vormen-2 { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
    .public-education-detail-page { overflow-x: hidden; }
    .of-app .of-hero h1 { font-size: 28px; }
    .of-introrow { gap: 22px; padding-left: 0; }
    .of-verloop { padding: 20px 14px; }
    .of-hero { min-height: 230px; }
    .of-hero.of-hero-foto { background: linear-gradient(0deg, rgba(0, 31, 61, .92) 0%, rgba(0, 31, 61, .7) 55%, rgba(0, 31, 61, .45) 100%), var(--of-foto) center / cover no-repeat; }
    .of-hero-inner { padding: 22px 20px; }
    .of-table-wrap { overflow: visible; border: 0; }
    .of-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .of-table, .of-table tbody, .of-table tr, .of-table td { display: block; width: 100%; }
    .of-table tr { margin-top: 12px; border: 1.5px solid var(--of-dark); }
    .of-table td, .of-table td + td { display: block; padding: 6px 14px; border: 0; text-align: left; }
    .of-table td[data-label]::before { content: attr(data-label); display: block; color: #5b6075; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
    .of-table .of-num, .of-table .of-act { display: block; width: 100%; text-align: left; }
    .of-table .of-act { padding-bottom: 14px; }
    .of-table .of-act::before { display: none; }
    .of-line { white-space: normal; }
    .of-dialog form { padding: 24px 20px; }
    .of-dialog-actions { align-items: stretch; flex-direction: column; }
    .of-dialog-actions .of-btn, .of-dialog-actions .cv-btn { width: 100%; }
}

@media print {
    .of-actions, .of-breadcrumb, .of-toolbar, .of-act, .of-dialog, header#header, footer { display: none !important; }
    .public-education-detail-page { padding: 0; background: #fff; }
    .of-page { max-width: none; padding: 0; }
    .of-verloop, .of-block { break-inside: avoid; }
}
