/* Oosterhoff.org house style (2026-11), child template of Cassiopeia.
 * Your own small additions go in user.css (same folder), not here: this file is replaced by template updates.
 */

:root {
    --oo-ink: #1a2433;
    --oo-text: #3d4757;
    --oo-muted: #586474;
    --oo-navy: #1d3346;
    --oo-navy-2: #2b4a63;
    --oo-navy-3: #142636;
    --oo-on-navy: #d6e0ea;
    --oo-accent: #e0a64a;
    --oo-accent-dark: #8a5a14;
    --oo-cream: #f6f3ec;
    --oo-cream-2: #e9e3d8;
    --oo-line: #e3ddd2;
    --oo-white: #ffffff;
    --oo-radius: 16px;
    --oo-shadow: 0 1px 2px rgba(26, 36, 51, .06), 0 8px 24px rgba(26, 36, 51, .08);
    --oo-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
    --oo-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --oo-mono: Consolas, "Cascadia Mono", Menlo, Monaco, monospace;
    --oo-width: 1180px;

    /* Cassiopeia's own variables, so its buttons, links and forms match */
    --cassiopeia-color-primary: var(--oo-navy);
    --cassiopeia-color-link: var(--oo-navy);
    --cassiopeia-color-hover: var(--oo-navy-2);
    --link-color: var(--oo-navy);
    --link-hover-color: var(--oo-navy-2);
}

/* ---------- Base ---------- */

body.oo {
    margin: 0;
    background: var(--oo-white);
    color: var(--oo-ink);
    font-family: var(--oo-sans);
    font-size: 1.0625rem;
    line-height: 1.6;
}

.oo h1, .oo h2, .oo h3 {
    font-family: var(--oo-serif);
    font-weight: 600;
    line-height: 1.2;
    color: var(--oo-navy);
}

.oo h3, .oo h4 { font-family: var(--oo-sans); color: var(--oo-ink); }

.oo a { color: var(--oo-navy); }
.oo a:hover { color: var(--oo-navy-2); }

.oo img { max-width: 100%; height: auto; }

.oo-wrap {
    width: 100%; /* body is flex: without this, long code lines make the page wider than a phone */
    max-width: var(--oo-width);
    margin-inline: auto;
    padding-inline: 24px;
    box-sizing: border-box;
}

.oo-skip {
    position: absolute;
    left: -9999px;
    top: 8px;
    z-index: 100;
    background: var(--oo-accent);
    color: var(--oo-ink);
    padding: 8px 14px;
    border-radius: 8px;
}
.oo-skip:focus { left: 8px; }

/* ---------- Buttons ---------- */

.oo-btn,
.oo .mod-menu a.oo-cta {
    display: inline-block;
    background: var(--oo-accent);
    color: var(--oo-ink) !important;
    text-decoration: none;
    font-weight: 600;
    padding: 12px 22px;
    border-radius: 12px;
    border: 1px solid transparent;
    line-height: 1.3;
}
.oo-btn:hover,
.oo .mod-menu a.oo-cta:hover { filter: brightness(1.06); color: var(--oo-ink) !important; }

.oo-btn--ghost {
    background: transparent;
    color: var(--oo-white) !important;
    border-color: #6d8aa3;
}
.oo-btn--ghost:hover { background: rgba(255, 255, 255, .08); color: var(--oo-white) !important; }

.oo-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 0; }

/* ---------- Header ---------- */

.oo-header { background: var(--oo-navy); color: var(--oo-white); }
.oo-header--sticky { position: sticky; top: 0; z-index: 50; }

.oo-header__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    padding-block: 16px;
}

.oo-brand { display: flex; flex-direction: column; }
.oo-brand__link { color: var(--oo-white) !important; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
/* 1.0.12: logo mark after drawing 2 by Prof. J. Oosterhoff */
.oo-brand__mark { width: 40px; height: 40px; flex: 0 0 auto; }
@media (max-width: 480px) { .oo-brand__mark { width: 32px; height: 32px; } }
.oo-brand__title { font-family: var(--oo-serif); font-size: 1.4rem; font-weight: 600; }
.oo-brand__logo { max-height: 48px; width: auto; }
.oo-brand__tagline { color: var(--oo-on-navy); font-size: .9rem; }

.oo-header__nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 18px;
}

/* Main menu (module Menu, layout Default or Dropdown) */
.oo-header .mod-menu {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.oo-header .mod-menu > li { position: relative; list-style: none; }
.oo-header .mod-menu > li > a,
.oo-header .mod-menu > li > span,
.oo-header .mod-menu > li > button {
    display: inline-block;
    color: var(--oo-white);
    text-decoration: none;
    padding: 8px 10px;
    border-radius: 8px;
    background: none;
    border: 0;
    font: inherit;
}
.oo-header .mod-menu > li > a:hover { background: rgba(255, 255, 255, .08); color: var(--oo-white); }
.oo-header .mod-menu > li.current > a,
.oo-header .mod-menu > li.active > a {
    box-shadow: inset 0 -2px 0 var(--oo-accent);
    border-radius: 0;
}
.oo-header .mod-menu > li > a.oo-cta { margin-left: 6px; padding: 9px 18px; }

/* Sub menus: shown on hover / keyboard focus, and by metismenu on click */
.oo-header .mod-menu ul {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    z-index: 60;
    min-width: 220px;
    margin: 0;
    padding: 8px;
    list-style: none;
    background: var(--oo-white);
    border-radius: 12px;
    box-shadow: var(--oo-shadow);
}
.oo-header .mod-menu li:hover > ul,
.oo-header .mod-menu li:focus-within > ul,
.oo-header .mod-menu ul.mm-show { display: block; }
.oo-header .mod-menu ul a {
    display: block;
    padding: 8px 12px;
    border-radius: 8px;
    color: var(--oo-ink);
    text-decoration: none;
}
.oo-header .mod-menu ul a:hover { background: var(--oo-cream); }
.oo-header .mm-toggler { color: var(--oo-white); }

/* Menu layout "Collapsible Dropdown": hamburger on small screens, open row on wider screens */
.oo-header .navbar { padding: 0; }
.oo-header .navbar-toggler {
    color: var(--oo-white);
    border: 1px solid #4d6a83;
    border-radius: 10px;
    padding: 6px 12px;
    background: none;
}
.oo-header .navbar-collapse { flex-basis: auto; }
@media (max-width: 767.98px) {
    .oo-header .navbar-collapse .mod-menu { flex-direction: column; align-items: flex-start; padding-top: 8px; }
    .oo-header .navbar-collapse { flex-basis: 100%; }
}

/* Language switcher (module Language Switcher: no flags, no full names) */
.oo-header .mod-languages ul,
.oo-header .mod-languages__list {
    display: flex;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.oo-header .mod-languages li { margin: 0 !important; }
/* 1.0.6: Joomla's mod_languages css gives the active item a light grey square behind the pill */
.oo-header .mod-languages li,
.oo-header .mod-languages li.lang-active { background: none; }
.oo-header .mod-languages a {
    display: inline-block;
    min-width: 2.4em;
    text-align: center;
    padding: 4px 9px;
    border-radius: 999px;
    border: 1px solid #4d6a83;
    color: var(--oo-white);
    text-decoration: none;
    font-size: .85rem;
    text-transform: uppercase;
}
.oo-header .mod-languages .lang-active a {
    background: var(--oo-accent);
    border-color: var(--oo-accent);
    color: var(--oo-ink);
    font-weight: 600;
}
.oo-header .mod-languages img { height: 12px; width: auto; }

/* Search */
.oo-header__search .mod-finder { margin: 0; }
.oo-header__search input[type="search"],
.oo-header__search input[type="text"] {
    border-radius: 10px 0 0 10px;
    border: 0;
    min-width: 160px;
}
.oo-header__search .btn {
    background: var(--oo-navy-2);
    border-color: var(--oo-navy-2);
    color: var(--oo-white);
}
.oo-header__search label { position: absolute; left: -9999px; }
/* 1.0.4: compact search (icon-only button), so menu + three language pills + search fit on one row */
.oo-header__search input[type="search"],
.oo-header__search input[type="text"] { min-width: 0; width: 150px; flex: 0 0 150px; }
.oo-header__search .btn { font-size: 0; padding-inline: .75rem; }
.oo-header__search .btn [class*="icon-"] { font-size: 1rem; }

/* ---------- Full-width bands (positions page-top / page-bottom, style "oo") ---------- */

.oo-band { padding-block: 72px; background: var(--oo-white); }
.oo-band + .oo-band:not(.oo-cream):not(.oo-navy) { padding-top: 16px; }
.oo-band.oo-cream { background: var(--oo-cream); }
.oo-band.oo-navy { background: var(--oo-navy); color: var(--oo-white); }
.oo-band.oo-navy h1, .oo-band.oo-navy h2, .oo-band.oo-navy h3 { color: var(--oo-white); }
.oo-band.oo-navy p { color: var(--oo-on-navy); }
.oo-band.oo-navy a:not(.oo-btn) { color: var(--oo-white); }
.oo-band.oo-hero { padding-block: 56px 96px; }
.oo-band.oo-tight { padding-block: 36px; }

.oo-band__title {
    margin: 0 0 12px;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
}
.oo-intro {
    margin: 0 0 36px;
    color: var(--oo-muted);
    font-size: 1.125rem;
    max-width: 700px;
}

/* Hero */
.oo-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 48px;
}
.oo-hero__text { flex: 999 1 520px; min-width: 0; }
.oo-hero__media { flex: 1 1 280px; display: flex; justify-content: center; }
.oo-hero__media img { width: 300px; max-width: 100%; border-radius: 18px; object-fit: cover; }
.oo-hero h1 {
    margin: 0 0 20px;
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    line-height: 1.12;
}
.oo-eyebrow {
    margin: 0 0 14px;
    color: #f0c98a !important;
    font-size: .9rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-weight: 600;
}
.oo-lead { margin: 0 0 30px; font-size: 1.25rem; max-width: 620px; }

/* Facts strip, pulled up into the hero */
.oo-band.oo-facts-band { padding-block: 0; background: transparent; }
.oo-facts {
    list-style: none;
    margin: -44px 0 0;
    padding: 0;
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    background: var(--oo-white);
    border: 1px solid var(--oo-line);
    border-radius: var(--oo-radius);
    box-shadow: var(--oo-shadow);
    overflow: hidden;
}
.oo-facts li { padding: 20px 26px; border-right: 1px solid var(--oo-line); border-bottom: 1px solid var(--oo-line); margin-right: -1px; margin-bottom: -1px; }
.oo-facts strong { display: block; font-family: var(--oo-serif); font-size: 1.35rem; color: var(--oo-navy); }
.oo-facts span { color: var(--oo-muted); font-size: .95rem; }

/* Cards (services) */
.oo-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 22px;
}
.oo-card {
    background: var(--oo-white);
    border: 1px solid var(--oo-line);
    border-radius: var(--oo-radius);
    padding: 26px;
}
.oo-card h3 { margin: 0 0 8px; font-size: 1.25rem; }
.oo-card p { margin: 0; color: var(--oo-text); font-size: 1rem; }

/* Icons in front of card headings: <h3 class="oo-ic oo-ic--db"> */
.oo-ic::before {
    content: "";
    display: block;
    width: 34px;
    height: 34px;
    margin-bottom: 14px;
    background: var(--oo-navy);
    -webkit-mask: var(--oo-icon) center / contain no-repeat;
    mask: var(--oo-icon) center / contain no-repeat;
}
.oo-ic--db { --oo-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round'%3E%3Cellipse cx='12' cy='5' rx='8' ry='3'/%3E%3Cpath d='M4 5v6c0 1.7 3.6 3 8 3s8-1.3 8-3V5M4 11v6c0 1.7 3.6 3 8 3s8-1.3 8-3v-6'/%3E%3C/svg%3E"); }
.oo-ic--chart { --oo-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3v18h18M7 15l4-4 3 3 5-6'/%3E%3C/svg%3E"); }
.oo-ic--ledger { --oo-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round'%3E%3Crect x='4' y='3' width='16' height='18' rx='2'/%3E%3Cpath d='M8 7h8M8 11h8M8 15h5'/%3E%3C/svg%3E"); }
.oo-ic--move { --oo-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h11l-3-3M20 17H9l3 3'/%3E%3C/svg%3E"); }

/* Project cards: the link in the h3 makes the whole card clickable */
.oo-projects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
    gap: 26px;
}
.oo-project {
    position: relative;
    background: var(--oo-white);
    border: 1px solid var(--oo-line);
    border-radius: var(--oo-radius);
    overflow: hidden;
    transition: box-shadow .15s;
}
.oo-project:hover { box-shadow: var(--oo-shadow); }
.oo-project img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--oo-cream-2); }
.oo-project__body { padding: 20px 24px 24px; }
.oo-project h3 { margin: 0 0 8px; font-size: 1.35rem; }
.oo-project h3 a { color: var(--oo-ink); text-decoration: none; }
.oo-project h3 a::after { content: ""; position: absolute; inset: 0; }
.oo-project p { margin: 0 0 12px; color: var(--oo-text); font-size: 1rem; }
.oo-project p:last-child { margin-bottom: 0; }
.oo-kicker {
    margin: 0 0 6px !important;
    font-size: .8rem !important;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--oo-accent-dark) !important;
    font-weight: 600;
}
.oo-more { font-weight: 600; color: var(--oo-navy) !important; }

/* Heritage block on the home pages (layout mod_articles "heritage"): square drawings, up to 4 in a row */
.oo-drawings {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
    gap: 22px;
}
.oo-drawing img { aspect-ratio: 1 / 1; object-fit: cover; object-position: top; }
.oo-drawing .oo-project__body { padding: 16px 18px 20px; }
.oo-drawing h3 { font-size: 1.15rem; }
.oo-drawing p { font-size: .95rem; }
.oo-drawings__all { margin-top: 24px; justify-content: center; }
/* the ghost button is made for navy bands: on the light background navy text and border */
.oo-drawings__all .oo-btn--ghost { color: var(--oo-navy) !important; border-color: var(--oo-navy); }
.oo-drawings__all .oo-btn--ghost:hover { background: var(--oo-navy); color: var(--oo-white) !important; }

/* Steps: <ol class="oo-steps"> */
.oo-steps {
    list-style: none;
    counter-reset: oo-step;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 22px;
}
.oo-steps li { counter-increment: oo-step; padding-top: 18px; border-top: 3px solid var(--oo-accent); }
.oo-steps li::before {
    content: counter(oo-step);
    display: block;
    font-family: var(--oo-serif);
    font-size: 1.9rem;
    font-weight: 600;
    color: var(--oo-navy);
}
.oo-steps h3 { margin: 6px 0; font-size: 1.15rem; }
.oo-steps p { margin: 0; color: var(--oo-text); font-size: 1rem; }

/* Two columns: <div class="oo-split"><div>…</div><div class="oo-box">…</div></div> */
.oo-split { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.oo-split > * { flex: 1 1 320px; min-width: 0; }
.oo-box { background: var(--oo-cream); border-radius: var(--oo-radius); padding: 26px; }
.oo-band.oo-cream .oo-box { background: var(--oo-white); }
.oo-box h3 { margin-top: 0; }

/* Call-to-action band: <div class="oo-ctaband"> */
.oo-ctaband { display: flex; flex-wrap: wrap; gap: 28px 40px; align-items: center; justify-content: space-between; }
.oo-ctaband > div { flex: 999 1 460px; min-width: 0; }
.oo-ctaband h2 { margin: 0 0 10px; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.oo-ctaband p { margin: 0; font-size: 1.15rem; }
.oo-ctaband .oo-btn { padding: 15px 26px; font-size: 1.05rem; }

/* Articles module (Articles, Articles - Newest) inside a band */
.oo-band .mod-articles-items,
.oo-band .mod-articleslatest,
.oo-band .latestnews {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 22px;
}
.oo-band .mod-articles-items > li,
.oo-band .mod-articleslatest > li,
.oo-band .latestnews > li {
    background: var(--oo-white);
    border: 1px solid var(--oo-line);
    border-radius: 14px;
    padding: 20px 22px;
    margin: 0;
}
.oo-band .mod-articles-items a,
.oo-band .mod-articleslatest a,
.oo-band .latestnews a { font-weight: 600; text-decoration: none; }

/* ---------- Main layout with sidebars ---------- */

.oo-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    align-items: flex-start;
    padding-block: 40px 72px;
}
.oo-content { flex: 999 1 560px; min-width: 0; }
.oo-sidebar { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.oo-sidebar--left { order: -1; }

.oo-sidebar .card,
.oo-cards-row .card {
    border: 1px solid var(--oo-line);
    border-radius: 14px;
    background: var(--oo-white);
    margin: 0;
}
.oo-sidebar .card-header,
.oo-cards-row .card-header {
    background: none;
    border: 0;
    padding: 18px 22px 0;
    font-family: var(--oo-sans);
    font-size: .8rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--oo-muted);
}
.oo-sidebar .card-body { padding: 12px 22px 20px; }
.oo-cards-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; padding-block: 24px; }

/* Breadcrumbs */
.oo .mod-breadcrumbs__wrapper { margin-bottom: 18px; }
.oo .mod-breadcrumbs {
    background: none;
    padding: 0 !important;
    margin: 0;
    font-size: .9rem;
}
.oo .mod-breadcrumbs a { color: var(--oo-muted); }
.oo .mod-breadcrumbs__here { display: none; }

/* ---------- Article page ---------- */

.oo-article-head {
    background: var(--oo-cream);
    border-radius: 18px;
    padding: 30px 32px 28px;
    margin-bottom: 32px;
}
.oo-article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 14px;
    margin-bottom: 12px;
    font-size: .9rem;
    color: var(--oo-muted);
}
.oo-article-meta__item + .oo-article-meta__item::before { content: "·"; margin-right: 14px; color: #a59d90; }
.oo-article-meta__translation { font-weight: 600; }
.oo-article-title { margin: 0; font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1.15; }

.oo-badge {
    display: inline-block;
    font-size: .75rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    background: #e4ecf3;
    color: var(--oo-navy);
}
.oo-badge--nl { background: #f6e6cc; color: #6b4410; }
.oo-badge--de { background: #e3efe6; color: #1f4d2c; }

.oo-article .com-content-article__body { max-width: 760px; }
.oo-article .com-content-article__body h2 { margin: 2.2em 0 .6em; font-size: 1.75rem; scroll-margin-top: 90px; }
.oo-article .com-content-article__body h3 { margin: 1.8em 0 .5em; font-size: 1.2rem; }
.oo-article .com-content-article__body img { border-radius: 12px; }

/* Code blocks + copy button (added by oosterhoff.js) */
.oo pre {
    background: var(--oo-navy-3);
    color: #e3ebf2;
    border-radius: 12px;
    padding: 20px 22px;
    overflow-x: auto;
    font-family: var(--oo-mono);
    font-size: .9rem;
    line-height: 1.6;
}
.oo :not(pre) > code {
    background: var(--oo-cream);
    color: var(--oo-ink);
    padding: 1px 6px;
    border-radius: 5px;
    font-size: .9em;
}
.oo-pre { position: relative; }
.oo-pre pre { padding-right: 90px; }
.oo-copy {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--oo-navy-2);
    color: var(--oo-white);
    border: 0;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: .8rem;
    cursor: pointer;
}
.oo-copy:hover { background: #3a5d7a; }

/* Tables in articles and category lists */
.oo-content table {
    width: 100%;
    border-collapse: collapse;
    font-size: .95rem;
    margin-bottom: 1.5em;
}
.oo-content th {
    background: var(--oo-cream);
    text-align: left;
    padding: 11px 14px;
    border-bottom: 1px solid var(--oo-line);
}
.oo-content td { padding: 10px 14px; border-bottom: 1px solid #eee8de; }
.oo .com-content-article__body table { display: block; overflow-x: auto; }

/* Highlight box in an article: <div class="oo-note"> */
.oo-note {
    background: #fbf3e4;
    border-radius: 12px;
    padding: 18px 22px;
    margin: 0 0 1.5em;
}
.oo-note > :last-child { margin-bottom: 0; }

/* 1.0.7: live result of a query (oosterhoff.js turns <div class="oo-live" data-src> into an iframe) */
.oo-live { margin: 0 0 1.6em; }
.oo-live__label {
    margin: 0 0 6px;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--oo-muted);
}
.oo-live__label::before { content: "● "; color: #2e9d5b; }
.oo-live__frame {
    display: block;
    width: 100%;
    border: 1px solid #e3e0d8;
    border-radius: 12px;
    background: var(--oo-white);
}

/* 1.0.9: card of one of my apps (oosterhoff.js turns <div class="oo-embed" data-src> into an iframe) */
.oo-embed { margin: 1.6em auto; max-width: 640px; }
.oo-embed > p { margin: 0; }
.oo-embed__frame {
    display: block;
    width: 100%;
    border: 0;
    border-radius: 12px;
    box-shadow: 0 6px 22px rgba(20, 38, 58, .14);
    background: #14263a;
}

/* "In this article" (made by oosterhoff.js) */
.oo-toc {
    border: 1px solid var(--oo-line);
    border-radius: 14px;
    padding: 18px 22px;
    background: var(--oo-white);
}
.oo-toc--inline { margin-bottom: 28px; max-width: 760px; }
.oo-toc__title {
    margin: 0 0 10px;
    font-size: .8rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--oo-muted);
    font-weight: 600;
}
.oo-toc ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: .95rem; }
.oo-toc a { text-decoration: none; }
@media (min-width: 1000px) {
    .oo-sidebar--right .oo-toc { position: sticky; top: 20px; }
}

/* Call to action under every article (position article-cta) */
.oo-article-cta {
    background: var(--oo-navy);
    color: var(--oo-white);
    border-radius: 18px;
    padding: 28px 32px;
    margin: 40px 0;
    max-width: 760px;
}
.oo-article-cta .oo-cta-inner { display: flex; flex-wrap: wrap; gap: 20px 24px; align-items: center; }
.oo-article-cta .oo-cta-inner > div { flex: 999 1 300px; min-width: 0; }
.oo-article-cta img.oo-cta-photo { width: 84px; height: 84px; border-radius: 999px; object-fit: cover; flex: 0 0 auto; }
.oo-article-cta h2, .oo-article-cta h3 { color: var(--oo-white); margin: 0 0 6px; font-size: 1.5rem; }
.oo-article-cta p { color: var(--oo-on-navy); margin: 0; }
.oo-article-cta p.oo-actions { flex: 0 0 auto; }
/* 1.0.11: heritage box (Erfgoed pages): text links, book buttons and the copyright line */
.oo-article-cta p a:not(.oo-btn) { color: var(--oo-accent); }
.oo-article-cta p a:not(.oo-btn):hover { color: var(--oo-white); }
.oo-article-cta .oo-books { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.oo-article-cta .oo-books .oo-btn { padding: 7px 14px; font-size: .9rem; }
.oo-article-cta .oo-credit { margin: 16px 0 0; opacity: .8; } /* not .oo-copy: that is the code copy button */

/* 1.0.17: all projects under each project article (mod_articles layout projectlist); light, since the navy contact band follows */
.oo-article-cta:has(.oo-projectlist) { background: var(--oo-cream); color: var(--oo-ink); border: 1px solid var(--oo-line); }
.oo-projectlist h2 { color: var(--oo-ink) !important; margin: 0 0 14px !important; }
.oo-projectlist ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 10px; }
.oo-projectlist__item { display: flex; align-items: center; gap: 12px; height: 100%; padding: 8px; border-radius: 12px; background: var(--oo-white); border: 1px solid var(--oo-line); color: var(--oo-ink); text-decoration: none; }
a.oo-projectlist__item:hover { border-color: var(--oo-navy); box-shadow: var(--oo-shadow); }
a.oo-projectlist__item:hover strong { text-decoration: underline; }
.oo-projectlist__item img { width: 72px; height: 45px; object-fit: cover; border-radius: 6px; flex: 0 0 auto; }
.oo-projectlist__text { min-width: 0; line-height: 1.25; }
.oo-projectlist__text strong { display: block; color: var(--oo-navy); }
.oo-projectlist__text small { display: block; color: var(--oo-muted); font-size: .82rem; margin-top: 2px; }
.oo-projectlist li.is-current .oo-projectlist__item { border: 2px solid var(--oo-accent); }
.oo-projectlist li.is-current small { color: var(--oo-accent-dark); font-weight: 700; }

/* 1.0.11: drawings and other figures in an article */
.oo-article .com-content-article__body figure { margin: 0 0 1.6em; }
.oo-article .com-content-article__body figure img { display: block; width: 100%; height: auto; border: 1px solid var(--oo-line); }
.oo-article .com-content-article__body figcaption { margin-top: 8px; font-size: .9rem; color: var(--oo-muted); }

/* Previous / next (plugin Content - Page Navigation) */
.oo .pagenavigation {
    border-top: 1px solid var(--oo-line);
    padding-top: 20px;
    margin: 32px 0;
    max-width: 760px;
}
.oo .pagenavigation .pagination { display: flex; justify-content: space-between; gap: 16px; margin: 0; }
.oo .pagenavigation .btn {
    background: none;
    border: 1px solid var(--oo-line);
    color: var(--oo-navy);
    border-radius: 10px;
}
.oo .pagenavigation .btn:hover { background: var(--oo-cream); }

/* Project facts inside an article: <ul class="oo-facts oo-facts--flat"> */
.oo-facts--flat { margin: 0 0 2em; box-shadow: none; }
.oo-facts--flat li span { display: block; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.oo-facts--flat li strong { font-family: var(--oo-sans); font-size: 1.05rem; color: var(--oo-ink); }

/* Three columns in an article: <div class="oo-cols"> */
.oo-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; margin-bottom: 2em; }
.oo-cols h2 { margin-top: 0 !important; font-size: 1.4rem !important; }

/* Tick list: <ul class="oo-checklist"> */
.oo-checklist { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px 28px; }
.oo-checklist li { position: relative; padding-left: 32px; }
.oo-checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .25em;
    width: 20px;
    height: 20px;
    background: #2f7a5e;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Quote: <blockquote class="oo-quote"><p>…</p><footer>Name</footer></blockquote> */
.oo-quote {
    margin: 2em 0;
    padding: 0;
    text-align: center;
}
.oo-quote p { font-family: var(--oo-serif); font-size: 1.6rem; line-height: 1.4; color: var(--oo-navy); margin: 0 0 12px; }
.oo-quote footer { color: var(--oo-muted); }

/* Screenshot with caption: <figure class="oo-shot"> */
.oo-shot { margin: 0 0 2em; }
.oo-shot img { border-radius: 14px; border: 1px solid var(--oo-line); }
.oo-shot figcaption { color: var(--oo-muted); font-size: .95rem; margin-top: 8px; }

/* ---------- Category blog and list ---------- */

.oo .com-content-category-blog__children,
.oo .com-content-categories__items { margin-bottom: 28px; }
.oo .com-content-category-blog__child,
.oo .cat-children > div {
    display: inline-block;
    margin: 0 8px 8px 0;
}
.oo .com-content-category-blog__child .page-header,
.oo .cat-children h3 { margin: 0; font-size: 1rem; font-family: var(--oo-sans); }
.oo .com-content-category-blog__child a,
.oo .cat-children h3 a {
    display: inline-block;
    padding: 8px 15px;
    border-radius: 999px;
    background: var(--oo-white);
    border: 1px solid #d9d1c3;
    color: var(--oo-ink);
    text-decoration: none;
    font-weight: 400;
}
.oo .com-content-category-blog__child a:hover { background: var(--oo-cream); }

.oo .blog-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}
.oo .blog-item {
    border: 1px solid var(--oo-line);
    border-radius: 14px;
    padding: 22px;
    margin: 0;
    background: var(--oo-white);
}
.oo .blog-item h2 { font-size: 1.3rem; margin-top: 0; }
.oo .blog-item h2 a { text-decoration: none; }
.oo .blog-item .item-image img { border-radius: 10px; }
.oo .readmore .btn {
    background: none;
    border: 0;
    padding: 0;
    color: var(--oo-navy);
    font-weight: 600;
}

/* Joomla's "Details" block, if still switched on somewhere */
.oo .article-info { font-size: .9rem; color: var(--oo-muted); }
.oo .article-info .hits { display: none; }

/* ---------- Forms (contact form, comments) ---------- */

.oo .form-control,
.oo .form-select { border-radius: 10px; border-color: #cfc7b9; }
.oo .btn-primary {
    background: var(--oo-navy);
    border-color: var(--oo-navy);
    border-radius: 10px;
}
.oo .btn-primary:hover { background: var(--oo-navy-2); border-color: var(--oo-navy-2); }

/* ---------- Footer ---------- */

.oo-footer {
    background: var(--oo-navy-3);
    color: #b9c7d4;
    padding-block: 30px;
    font-size: .95rem;
}
.oo-footer a { color: #b9c7d4 !important; }
.oo-footer a:hover { color: var(--oo-white) !important; }
.oo-footer p { margin: 0; }
.oo-footer .mod-menu { display: flex; flex-wrap: wrap; gap: 18px; list-style: none; margin: 0; padding: 0; }
.oo-footline { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.oo-footline ul { display: flex; flex-wrap: wrap; gap: 18px; list-style: none; margin: 0; padding: 0; }

.oo .back-to-top-link { background: var(--oo-navy); }

/* ---------- Home page without content area ---------- */

.oo-messages:empty { display: none; }
.oo-band.oo-facts-band + .oo-band.oo-band { padding-top: 72px; }

/* ---------- 1.0.3: pages and contact ---------- */

/* In the narrow article column four facts or four steps go 2 x 2 instead of 3 + 1 */
.com-content-article__body .oo-facts--flat,
.com-content-article__body .oo-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.com-content-article__body .oo-steps { margin-bottom: 2em; }
@media (max-width: 560px) {
    .com-content-article__body .oo-steps { grid-template-columns: 1fr; }
}

/* Contact page: intro above Joomla's own form */
.oo-contact { max-width: 720px; }
.oo-contact__title { margin-bottom: .4em; }
.oo-contact__intro { margin-bottom: 1.6em; }
.oo-contact__intro p:last-child { margin-bottom: 0; }
.oo-contact__form fieldset { border: 0; padding: 0; margin: 0; }
.oo-contact__form legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.oo-contact__form .control-group { margin-bottom: 1.1em; }
.oo-contact__form .btn-primary { background: var(--oo-accent); border-color: var(--oo-accent); color: var(--oo-ink); font-weight: 600; padding: 10px 22px; }
.oo-contact__form .btn-primary:hover { filter: brightness(.95); }

/* ---------- Phone ---------- */

@media (max-width: 700px) {
    body.oo { font-size: 1rem; }
    .oo-wrap { padding-inline: 16px; }
    .oo-band { padding-block: 48px; }
    .oo-band.oo-hero { padding-block: 36px 80px; }
    .oo-header__nav { width: 100%; }
    .oo-header .mod-menu > li > a { padding: 6px 8px; }
    .oo-article-head { padding: 22px 20px; }
    .oo-article-cta { padding: 22px 20px; }
    .oo-hero__media img { width: 220px; }
}

@media print {
    .oo-header, .oo-footer, .oo-sidebar, .oo-article-cta, .oo-copy, .back-to-top-link { display: none !important; }
}
