html {
    font-family: sans-serif;
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    height: 100%;
    overflow: hidden;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    height: 100%;
    color: #2e2e2e;
    font-size: 13pt;
    font-weight: normal;
    font-family: "Nexa Pro Text", "Nunito Sans", Arial, sans-serif;
    background: #e8e8e8;
    margin: 0;
    display: flex;
    flex-direction: column;
}

a,
a:visited,
a:hover {
    text-decoration: underline;
    color: rgb(0, 0, 0);
}

div {
    padding: 0px;
    margin: 0px;
}

hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

p {
    margin-top: 0;
    margin-bottom: 0.1rem;
}

abbr[title],
abbr[data-original-title] {
    text-decoration: underline;
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
    cursor: help;
    border-bottom: 0;
    -webkit-text-decoration-skip-ink: none;
    text-decoration-skip-ink: none;
}

address {
    margin-bottom: 1rem;
    font-style: normal;
    line-height: inherit;
}

ol,
ul,
dl {
    margin-top: 0;
    margin-bottom: 1rem;
}

ol ol,
ul ul,
ol ul,
ul ol {
    margin-bottom: 0;
}

dt {
    font-weight: 700;
}

dd {
    margin-bottom: .5rem;
    margin-left: 0;
}

blockquote {
    margin: 0 0 1rem;
}

b,
strong {
    font-weight: bolder;
}

small {
    font-size: 80%;
}

sub,
sup {
    position: relative;
    font-size: 75%;
    line-height: 0;
    vertical-align: baseline;
}

sub {
    bottom: -.25em;
}

sup {
    top: -.5em;
}

a {
    color: #2e2e2e;
    text-decoration: none;
    background-color: transparent;
}

a:hover {
    color: #2e2e2e;
    text-decoration: underline;
}

a:not([href]):not([class]) {
    color: inherit;
    text-decoration: none;
}

a:not([href]):not([class]):hover {
    color: inherit;
    text-decoration: none;
}

pre,
code,
kbd,
samp {
    font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 1em;
}

pre {
    margin-top: 0;
    margin-bottom: 1rem;
    overflow: auto;
    -ms-overflow-style: scrollbar;
}

figure {
    margin: 0 0 1rem;
}

img {
    vertical-align: middle;
    border-style: none;
}

svg {
    overflow: hidden;
    vertical-align: middle;
}

table {
    border-collapse: collapse;
}

caption {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    color: #6c757d;
    text-align: left;
    caption-side: bottom;
}

th {
    text-align: inherit;
}

label {
    display: inline-block;
    margin-bottom: 0.5rem;
}

button {
    border-radius: 0;
}

button:focus {
    outline: 1px dotted;
    outline: 5px auto -webkit-focus-ring-color;
}

input,
button,
select,
optgroup,
textarea {
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

button,
input {
    overflow: visible;
}

button,
select {
    text-transform: none;
}

[role="button"] {
    cursor: pointer;
}

select {
    word-wrap: normal;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
    appearance: button;
    -webkit-appearance: button;
}

button:not(:disabled),
[type="button"]:not(:disabled),
[type="reset"]:not(:disabled),
[type="submit"]:not(:disabled) {
    cursor: pointer;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    padding: 0;
    border-style: none;
}

input[type="radio"],
input[type="checkbox"] {
    box-sizing: border-box;
    padding: 0;
}

textarea {
    overflow: auto;
    resize: vertical;
}

fieldset {
    min-width: 0;
    padding: 0;
    margin: 0;
    border: 0;
}

legend {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin-bottom: .5rem;
    font-size: 1.5rem;
    line-height: inherit;
    color: inherit;
    white-space: normal;
}

progress {
    vertical-align: baseline;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

[type="search"] {
    outline-offset: -2px;
    appearance: none;
    -webkit-appearance: none;
}

[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

 ::-webkit-file-upload-button {
    font: inherit;
    -webkit-appearance: button;
}

output {
    display: inline-block;
}

summary {
    display: list-item;
    cursor: pointer;
}

template {
    display: none;
}

[hidden] {
    display: none !important;
}

.dutch,
.english {
    display: none;
}

.active {
    display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-bottom: 0.5rem;
    font-weight: 500;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

hr {
    margin-top: 1rem;
    margin-bottom: 1rem;
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

code {
    font-size: 87.5%;
    color: #e83e8c;
    word-wrap: break-word;
}

a>code {
    color: inherit;
}

kbd {
    padding: 0.2rem 0.4rem;
    font-size: 87.5%;
    color: #fff;
    background-color: #212529;
    border-radius: 0.2rem;
}

kbd kbd {
    padding: 0;
    font-size: 100%;
    font-weight: 700;
}

pre {
    display: block;
    font-size: 87.5%;
    color: #212529;
}

pre code {
    font-size: inherit;
    color: inherit;
    word-break: normal;
}

.bg-middle {
    background: url(images/bg-middle-octs.png) repeat-x 0px 0px fixed;
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
}

.layout-container {
    flex: 1 1 auto;
    min-height: 0;
}

.main-stack {
    flex: 1 1 auto;
    min-height: 0;
}

.footer-contact-bar {
    position: relative;
    background: #d8e2d6;
    border-top: 1px solid #b8c8b4;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.06);
    z-index: 5;
    padding: 0.5rem 0.8rem;
    flex: 0 0 auto;
}

.footer-contact-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(180px, 1fr));
    gap: 0.45rem 1rem;
    align-items: center;
}

.footer-item {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.86rem;
    color: #2e2e2e;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.footer-item i {
    color: #799974;
    font-size: 1rem;
    width: 1rem;
    text-align: center;
    flex: 0 0 1rem;
}

.footer-item a {
    color: #2e2e2e;
    text-decoration: none;
}

.footer-item a:hover {
    text-decoration: underline;
}

.logo-middle2 {
    height: 170px;
    min-height: 170px;
    max-height: 170px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    padding-right: 1rem;
    overflow: visible;
    transition: height 220ms ease, min-height 220ms ease, max-height 220ms ease, padding-top 220ms ease;
}

.logo-lockup {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    flex: 0 0 auto;
}

.header-spacer {
    display: flex;
    align-items: center;
    flex: 1 1 0%;
    min-width: 0;
}

.logo-middle2 img.logoSymbol {
    width: auto;
    max-height: 100%;
    transition: max-height 220ms ease, max-width 220ms ease;
}

.logo-middle2 img.logoSymbol {
    width: clamp(92px, 9vw, 132px);
    max-width: none;
    height: auto;
    transform-origin: left center;
    transform: translateX(15%);
}

.logo-middle2 img.logoText {
    width: clamp(170px, 20vw, 300px);
    max-width: none;
    height: auto;
    transform-origin: left center;
    transform: translateX(10%) translateY(5%) scale(0.7);
}

.language-switch {
    margin-left: 0;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    align-self: center;
    border: 1px solid #8ea089;
    background: #eef3ed;
    border-radius: 999px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.language-btn {
    border: none;
    background: transparent;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #465b42;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.38rem 0.85rem;
    line-height: 1;
}

.flag-icon {
    font-size: 0.95rem;
    line-height: 1;
}

.language-btn:hover {
    background: #dfe8dc;
    text-decoration: none;
}

.language-btn.is-active {
    background: #8ea089;
    color: #ffffff;
}

.language-btn:focus,
.language-btn:focus-visible {
    outline: none;
    box-shadow: none;
}

.top-nav {
    background: var(--header-bg, #d8e2d6);
    border-top: 1px solid #b8c8b4;
    border-bottom: 1px solid #b8c8b4;
    padding: 0.3rem 1rem;
    transition: padding 220ms ease;
}

body.header-compact .logo-middle2 {
    padding-top: 16px;
    height: 92px;
    min-height: 92px;
    max-height: 92px;
}

body.header-compact .logo-middle2 img.logoSymbol {
    width: clamp(74px, 7.2vw, 106px);
    transform: translateX(20%) scale(0.9);
}

body.header-compact .logo-middle2 img.logoText {
    width: clamp(110px, 11vw, 175px);
    transform: translateX(10%) translateY(10%) scale(0.6);
}

body.header-compact .top-nav {
    padding: 0.2rem 0.85rem;
}

.menu-toggle {
    display: none;
    border: 1px solid #8ea089;
    background: #eef3ed;
    color: #2e2e2e;
    padding: 0;
    width: 2.3rem;
    height: 2rem;
    font-size: 0.95rem;
    align-items: center;
    justify-content: center;
}

.menu-toggle-icon {
    width: 1.05rem;
    height: 0.8rem;
    display: inline-flex;
    flex-direction: column;
    justify-content: space-between;
}

.menu-toggle-line {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 180ms ease, opacity 160ms ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(1) {
    transform: translateY(0.3rem) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(3) {
    transform: translateY(-0.3rem) rotate(-45deg);
}

.main-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.1rem;
    align-items: center;
}

.main-menu>li {
    position: relative;
}

.main-menu>li>a {
    display: inline-block;
    font-weight: 600;
    text-decoration: none;
    padding: 0.4rem 0;
}

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    list-style: none;
    margin: 0;
    padding: 0.6rem;
    background: #eef3ed;
    border: 1px solid #b8c8b4;
    z-index: 20;
}

.submenu li {
    margin-bottom: 0.3rem;
}

.submenu li:last-child {
    margin-bottom: 0;
}

.submenu a {
    display: block;
    padding: 0.2rem 0.35rem;
    border-radius: 4px;
    color: #2e2e2e;
    text-decoration: none;
    font-weight: 400;
    transition: background-color 140ms ease, color 140ms ease;
}

.submenu a:hover,
.submenu a:focus-visible {
    background: var(--section-header-bg, #122D42);
    color: #ffffff;
    text-decoration: none;
}

.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu {
    display: block;
}

.top-nav.submenu-force-closed .submenu {
    display: none !important;
}

.content {
    background-color: #E7EBE6;
    border: rgb(180, 180, 180) solid 1px;
    padding: 1.5em;
    overflow: auto;
    min-height: 0px;
    width: 100%;
}

.content-background {
    background: transparent;
    border: none;
    display: flex;
    padding: 0;
    min-height: 0px;
    height: 100%;
    /* -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover; */
}

:root {
    --header-bg: #d8e2d6;
    --section-header-bg: #122D42;
    --chapter-odd-bg: #f1f5ef;
    --chapter-even-bg: #e4ece1;
    --chapter-border: #b8c8b4;
    --chapter-accent: #8ea089;
}

.content h1 {
    margin-bottom: 0.35rem;
}

.content h2 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

.english > section,
.dutch > section {
    margin: 1.2rem 0;
    padding: 1.15rem 1.25rem;
    border: 1px solid var(--chapter-border);
    border-left: 5px solid var(--chapter-accent);
    border-radius: 8px;
}

.english > section:nth-of-type(odd),
.dutch > section:nth-of-type(odd) {
    background: var(--chapter-odd-bg);
}

.english > section:nth-of-type(even),
.dutch > section:nth-of-type(even) {
    background: var(--chapter-even-bg);
}

.english > section h3,
.dutch > section h3 {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 1.35rem;
    margin-bottom: 0.7rem;
    color: #ffffff;
    background: var(--section-header-bg, #d8e2d6);
    border-radius: 10px;
    padding: 0.35rem 0.75rem;
}

.english > section h3::before,
.dutch > section h3::before {
    content: "";
    width: 4rem;
    height: 4rem;
    flex: 0 0 4rem;
    background-image: url("images/OCTS-LogoOnlyNoBackground.svg");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.english > section h4,
.dutch > section h4 {
    font-size: 1.15rem;
    margin-top: 1.1rem;
    margin-bottom: 0.45rem;
    color: #5b6f56;
}

@media (max-width: 980px) {
    .footer-contact-bar {
        padding: 0.45rem 0.55rem;
    }

    .footer-contact-grid {
        grid-template-columns: repeat(2, minmax(140px, 1fr));
        gap: 0.35rem 0.8rem;
    }

    .footer-item {
        font-size: 0.8rem;
    }

    .menu-toggle {
        display: inline-flex;
        margin-bottom: 0.45rem;
    }

    .main-menu {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.45rem;
        width: 100%;
    }

    .main-menu.is-open {
        display: flex;
        max-height: min(68dvh, calc(100dvh - 9rem));
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        padding-right: 0.35rem;
        padding-bottom: 0.25rem;
    }

    .submenu {
        display: block;
        position: static;
        border: none;
        background: transparent;
        padding: 0.2rem 0 0.3rem 0.8rem;
        min-width: 0;
    }
} 