
@font-face {
  font-family: 'Roboto Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/roboto-condensed-700-ext.6a8f910c566e.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Roboto Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/roboto-condensed-700-latin.d7fa0ca17dfd.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/source-sans-3-latin-ext.c6ba61588d7d.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/source-sans-3-latin.30164609c163.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --mkik-font-body: "Source Sans 3", "Source Sans Pro", "Open Sans", "Segoe UI", Arial, sans-serif;
  --mkik-font-nav: "Roboto Condensed", "Open Sans", "Segoe UI", Arial, sans-serif;
  --navy-1: #0d3b66;
  --navy-2: #165084;
  --navy-3: #1f67a3;
  --sky: #57a8e9;
  --page: #eef1f3;
  --line: #e2e8f0;
  --line-strong: #cfd8dc;
  --text: #212529;
  --text-secondary: #5c636a;
  --text-muted: #6b7280;
  --disabled: #87919c;
  --light: #f8f9fa;
  --footer: #2f775a;
  --danger: #b42318;
  --success: #2f775a;
  /* Bootstrap's default primary: the secondary buttons are drawn with it rather than with the navy above. */
  --btn-primary: #0d6efd;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--page);
  color: var(--text);
  font-family: var(--mkik-font-body);
  font-size: 1rem;
  line-height: 1.5;
}
a { color: var(--navy-3); text-decoration: underline; }
/* A page that also loads Bootstrap (the sign-in page, for its modal) must not lose the
   portal's look to Bootstrap's reboot. These restore what the reboot changes and the
   rules below do not already set: link underlines and the button line height. */
button { line-height: normal; }
:focus-visible { outline: 3px solid rgba(13, 59, 102, .45); outline-offset: 2px; }
.site-content { flex: 1 0 auto; background: #fff; }
.container { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 .75rem; }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Header ── */
.mkik-header { background: var(--page); border-bottom: 1px solid #e1e4e8; }
.header-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; }
.logo-img { height: 72px; width: auto; display: block; }
.mkik-nav { display: flex; align-items: center; margin-left: auto; margin-right: 16px; font-family: var(--mkik-font-nav); }
.mkik-nav a, .mkik-nav .is-disabled {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .01em;
  color: #0b1320;
  text-decoration: none;
  line-height: 1.1;
  padding: 12px 16px;
  border-right: 1px solid var(--line-strong);
  font-size: 1.05rem;
}
.mkik-nav > :last-child { border-right: none; }
.mkik-nav a:hover { text-decoration: underline; }
.mkik-nav a[aria-current="page"] {
  color: var(--navy-1);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.mkik-nav .is-disabled { color: var(--disabled); cursor: not-allowed; }
.soon {
  font-family: var(--mkik-font-body);
  font-size: .72rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1;
  padding: .25rem .55rem;
  border-radius: 50rem;
  background: #e5e7eb;
  color: #4b5563;
}
.nav-toggle {
  display: none;
  margin-left: auto;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 12px;
  font-family: var(--mkik-font-nav);
  font-weight: 700;
  font-size: .84rem;
  text-transform: uppercase;
  color: #0b1320;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: .375rem;
  cursor: pointer;
}

/* ── Page headline ── */
.mkik-headline { background: #fff; }
.mkik-headline .container { padding-top: 1rem; padding-bottom: 1rem; }
.mkik-title { font-family: var(--mkik-font-nav); font-size: 2rem; font-weight: 700; line-height: 1.2; margin: 0; }
.mkik-headline-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.headline-logos { display: flex; align-items: center; gap: 1rem; margin-left: auto; }
.headline-logos img { display: block; height: 48px; width: auto; }
.headline-logos.is-card {
  background: #fff; padding: .5rem; border: 1px solid #dee2e6; border-radius: .5rem;
  box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075);
}
.headline-logo-divider { height: 35px; width: 1px; background-color: #cbd5e1; }
.mkik-sep { box-sizing: border-box; height: 4px; background: #e5e7eb; border: 0; margin: 18px 0 22px; opacity: .25; }

/* ── Main ── */
.mkik-main { margin-top: 12px; margin-bottom: 3rem; }
.layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 1.5rem; align-items: start; }

.nis2-hero-card, .nis2-subpage-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.nis2-hero-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .05);
  padding: 3rem;
}
.nis2-subpage-card {
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .04);
  padding: 2rem;
}
.nis2-hero-card .section-title, .nis2-subpage-card .section-title { color: var(--navy-1); }
/* The main card of a NIS2 page: a light blue field; its muted text darker, to stay readable on it. */
.nis2-content .nis2-hero-card:not(.nis2-hero-card--feature) {
  --text-muted: #586270;
  background: #eaf2fa;
  border-color: #cfe0f0;
}
.nis2-hero-card--feature {
  background: linear-gradient(135deg, var(--navy-1) 0%, var(--navy-2) 100%);
  border-color: transparent;
  box-shadow: 0 14px 34px rgba(13, 59, 102, .28);
}
.nis2-hero-card--feature .section-title { color: #fff; font-size: 2rem; text-wrap: balance; }
.nis2-hero-card--feature .lead { color: #dce8f4; }
.nis2-hero-card--feature .body-text { color: #b9cfe6; }
.nis2-hero-card--feature .nis2-badge-pill.static {
  background: rgba(255, 255, 255, .14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3);
}

/* Tabs as tabs: an underline, like the current page in the header menu, rather than the pills
   the portal uses for labels and filters. */
.info-tabs { display: flex; gap: 1.75rem; margin: 0 0 1.75rem; border-bottom: 1px solid var(--line-strong); }
.info-tab {
  margin-bottom: -1px; padding: .2rem 0 .75rem;
  font-family: var(--mkik-font-body); font-size: 1rem; font-weight: 600; line-height: 1.2;
  color: var(--text-secondary); background: none;
  border: 0; border-bottom: 3px solid transparent;
  cursor: pointer;
}
.info-tab:hover { color: var(--navy-1); border-bottom-color: var(--line-strong); }
.info-tab[aria-selected="true"] { color: var(--navy-1); border-bottom-color: var(--navy-1); }
@media (max-width: 767.98px) {
  /* One row that scrolls; the tab cut off at the edge shows there is more. */
  .info-tabs { gap: 1.25rem; overflow-x: auto; scrollbar-width: none; }
  .info-tab { flex: none; white-space: nowrap; }
}
.nis2-badge-pill {
  font-family: var(--mkik-font-body);
  font-size: .9rem;
  font-weight: 600;
  padding: .45rem .95rem;
  border-radius: 50rem;
  border: 1px solid var(--line);
  background: var(--light);
  color: var(--navy-1);
}
.tab-panel { max-width: 68ch; }
.lead { font-size: 1.25rem; font-weight: 400; line-height: 1.55; color: var(--text-secondary); margin: 0 0 1.5rem; }
.body-text { font-size: 1.02rem; line-height: 1.7; color: var(--text-muted); margin: 0 0 1rem; }
.body-text:last-child { margin-bottom: 0; }


/* ── Forms and buttons ── */
.panel-title { font-size: 1.5rem; font-weight: 700; line-height: 1.2; margin: 0 0 1.25rem; color: var(--text); }
.panel-intro { color: var(--text-muted); margin: -.5rem 0 1.25rem; }
.form-label { display: block; font-weight: 600; margin-bottom: .4rem; }
.form-group { margin-bottom: 1rem; }
.input-wrap { position: relative; }
.form-control {
  display: block;
  width: 100%;
  padding: .55rem .75rem;
  font: inherit;
  color: var(--text);
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: .375rem;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
.form-control:focus { outline: 0; color: var(--text); border-color: #86a8cc; box-shadow: 0 0 0 .25rem rgba(13, 59, 102, .18); }
.input-wrap .form-control { padding-right: 4.5rem; }
.reveal {
  position: absolute; top: 50%; right: .5rem; transform: translateY(-50%);
  padding: .25rem .5rem;
  font: inherit; font-size: .875rem; font-weight: 600;
  color: var(--navy-3); background: none; border: 0; cursor: pointer;
}
.token { letter-spacing: .35em; font-size: 1.25rem; text-align: center; }
.form-help { display: block; font-size: .85rem; color: var(--text-muted); margin-top: .3rem; }
.form-errors { list-style: none; margin: .35rem 0 0; padding: 0; color: var(--danger); font-size: .875rem; }

.nis2-btn-primary {
  display: flex; align-items: center; justify-content: center;
  width: 100%;
  margin-top: 1.25rem;
  padding: .85rem 2rem;
  font-family: var(--mkik-font-nav);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: .03em;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, #0d3b66 0%, #1f67a3 100%);
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(13, 59, 102, .3);
  cursor: pointer;
  transition: background .3s ease, box-shadow .3s ease;
}
.nis2-btn-primary:hover { background: linear-gradient(135deg, #082949 0%, #165084 100%); box-shadow: 0 8px 25px rgba(13, 59, 102, .4); color: #fff; }
.nis2-btn-primary[disabled], .nis2-btn-primary.disabled {
  background: #adb5bd;
  box-shadow: none;
  cursor: not-allowed;
  pointer-events: none;
}
.nis2-btn-primary.inline { display: inline-flex; width: auto; }

/* The secondary buttons: the application's submit button (.nis2-btn-primary) at a small
   size, with smaller corners to match. */
.nis2-btn-secondary {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .4rem 1.1rem;
  font-family: var(--mkik-font-nav);
  font-weight: 700;
  font-size: .875rem;
  letter-spacing: .03em;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, #0d3b66 0%, #1f67a3 100%);
  border: none;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(13, 59, 102, .25);
  cursor: pointer;
  transition: background .3s ease, box-shadow .3s ease;
}
.nis2-btn-secondary:hover {
  color: #fff;
  background: linear-gradient(135deg, #082949 0%, #165084 100%);
  box-shadow: 0 4px 14px rgba(13, 59, 102, .35);
}
.nis2-btn-secondary:focus-visible { outline: 3px solid rgba(31, 103, 163, .5); outline-offset: 2px; }
.nis2-btn-secondary[disabled] { background: #adb5bd; box-shadow: none; cursor: not-allowed; }
/* Kept clear of whatever it follows - a card's text, or the repeated rows of a form
   section it adds to - rather than sitting on its edge. */
* + .nis2-btn-secondary { margin-top: 1rem; }

.choose { font-size: .875rem; font-weight: 600; color: var(--text-muted); margin: 1.75rem 0 .6rem; }
.action-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.action-item {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  width: 100%;
  padding: .8rem 1rem;
  font: inherit; font-size: .95rem; font-weight: 600; text-align: left;
  color: var(--navy-1);
  background: var(--light);
  border: 1px solid #dee2e6;
  border-radius: .5rem;
  cursor: pointer;
  text-decoration: none;
}
.action-item:hover { border-color: #b9c6d3; background: #f1f4f7; }
.action-item svg { flex: 0 0 auto; color: var(--navy-3); }
.note { font-size: .875rem; line-height: 1.6; color: var(--text-muted); margin: 1.5rem 0 0; }
.back {
  display: inline-block; margin-top: 1.25rem; padding: 0;
  font: inherit; font-size: .95rem; font-weight: 600;
  color: var(--navy-3); background: none; border: 0; cursor: pointer; text-decoration: underline;
}
.step.entering { animation: stepIn .25s cubic-bezier(.16, 1, .3, 1); }
@keyframes stepIn { from { opacity: 0; } to { opacity: 1; } }
[hidden] { display: none !important; }

/* ── Messages ── */
.alert {
  padding: .85rem 1rem;
  border: 1px solid var(--line);
  border-radius: .5rem;
  background: var(--light);
  margin-bottom: 1rem;
}
.alert-error, .alert-danger { border-color: #f3c6c2; background: #fdf3f2; color: var(--danger); }
.alert-success { border-color: #bcdccd; background: #f1f8f4; color: var(--success); }
.alert-info { border-color: #bcd4e8; background: #f0f6fb; color: var(--navy-1); }
.alert-warning { border-color: #f0d9a8; background: #fdf8ec; color: #92400e; }

/* ── Cookie consent ── */
.cookie-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1080;
  background: #fff;
  border-top: 4px solid var(--navy-1);
  box-shadow: 0 -6px 24px rgba(0, 0, 0, .12);
  padding: 1rem 0;
}
.cookie-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cookie-bar-text { margin: 0; font-size: .95rem; color: var(--text-secondary); max-width: 72ch; }
.cookie-bar-actions { display: flex; gap: .5rem; flex: 0 0 auto; }
.cookie-btn {
  padding: .55rem 1.1rem;
  font: inherit; font-weight: 600;
  border-radius: .5rem;
  border: 1px solid var(--line-strong);
  cursor: pointer;
}
.cookie-btn-secondary { background: var(--light); color: var(--navy-1); }
.cookie-btn-secondary:hover { background: #eef2f6; }
.cookie-btn-primary { background: var(--navy-1); border-color: var(--navy-1); color: #fff; }
.cookie-btn-primary:hover { background: #082949; }
@media (max-width: 767.98px) {
  .cookie-bar-inner { flex-direction: column; align-items: stretch; }
  .cookie-bar-actions { justify-content: stretch; }
  .cookie-btn { flex: 1; }
}

/* ── Footer ── */
.footer-mkik { margin-top: auto; background: var(--footer); color: #fff; padding: 32px 0; }
.footer-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 1.5rem; }
.footer-mkik a { color: #fff; text-transform: uppercase; font-weight: 700; text-decoration: none; }
.footer-mkik a:hover { text-decoration: underline; }
.footer-logo { height: 46px; width: auto; display: block; margin-bottom: .5rem; }
.footer-mkik .brand { font-weight: 700; letter-spacing: .02em; }
.footer-mkik .copy { margin-top: 6px; font-weight: 600; }
.footer-contact { margin-top: 12px; }
.footer-contact-label { display: block; font-weight: 700; text-transform: uppercase; }
.footer-contact-text { display: block; margin-top: 4px; font-weight: 600; }
.footer-contact-text a { text-transform: none; }
.footer-links { text-align: right; }
.footer-links a, .footer-links button { display: block; margin: 4px 0 4px auto; text-align: right; }
.footer-links button {
  padding: 0; font: inherit; font-weight: 700; text-transform: uppercase;
  color: #fff; background: none; border: 0; cursor: pointer;
}
.footer-links button:hover { text-decoration: underline; }

@media (max-width: 1199.98px) {
  .logo-img { height: 64px; }
}
@media (max-width: 991.98px) {
  .layout { grid-template-columns: 1fr; }
  .login-card { order: -1; }
  .nis2-hero-card { padding: 1.5rem; }
  .nis2-subpage-card { padding: 1.5rem; }
}
@media (max-width: 767.98px) {
  .container { padding: 0 1rem; }
  .header-row { flex-wrap: wrap; padding: 10px 0; }
  .logo-img { height: 52px; }
  .nav-toggle { display: inline-flex; }
  .mkik-nav { display: none; width: 100%; margin: 0; flex-direction: column; align-items: stretch; border-top: 1px solid #e1e4e8; }
  .mkik-nav.open { display: flex; }
  .mkik-nav a, .mkik-nav .is-disabled { padding: 14px 4px; border-right: none; border-bottom: 1px solid #e1e4e8; }
  .mkik-nav > :last-child { border-bottom: none; }
  .mkik-title { font-size: 1.6rem; }
  .footer-row { flex-direction: column; }
  .footer-links { text-align: left; }
  .footer-links a, .footer-links button { margin: 4px 0; text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  .step.entering { animation: none; }
  .form-control, .nis2-btn-primary, .nis2-btn-secondary { transition: none; }
}

/* ══════════════════════════════════════════════════════════════════════════
   NIS2 Knowledge Base
   ══════════════════════════════════════════════════════════════════════════ */

.nis2-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 1.5rem; align-items: start; }
.nis2-content { display: grid; gap: 1.5rem; min-width: 0; }
.nis2-side { display: grid; gap: 1rem; min-width: 0; }

.nis2-tiles { display: grid; gap: .25rem; }
.nis2-tile {
  display: block;
  padding: 1rem 1.25rem;
  font-family: var(--mkik-font-nav);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .01em;
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
}
.nis2-tile:hover { color: #fff; filter: brightness(1.08); }
.nis2-tile--1 { background: #0d3b66; }
.nis2-tile--2 { background: #165084; }
.nis2-tile--3 { background: #1f67a3; }
.nis2-tile--4 { background: #2b7fc2; }
.nis2-tile--5 { background: #3c96df; }
.nis2-tile--6 { background: #57a8e9; }

.nis2-side-box { padding: 1rem; background: #fff; border: 1px solid var(--line); border-radius: .75rem; }
.nis2-side-title { font-size: 1rem; font-weight: 700; margin: 0 0 .75rem; color: var(--navy-1); }
.category-badges { display: flex; flex-wrap: wrap; gap: .4rem; }
.category-badge {
  padding: .4rem .65rem;
  font-size: .85rem;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  text-decoration: none;
  background: #6c757d;
  border-radius: .375rem;
}
.category-badge:hover { color: #fff; text-decoration: none; }
.category-badge.is-active { background: #0d6efd; }

.section-title { font-family: var(--mkik-font-nav); font-size: 1.75rem; font-weight: 700; line-height: 1.2; margin: .75rem 0 1rem; }
.section-subtitle { font-size: 1.2rem; font-weight: 700; margin: 1.5rem 0 .75rem; }
.nis2-badge-pill.static {
  display: inline-block;
  padding: .35rem .8rem;
  font-size: .8rem;
  font-weight: 600;
  line-height: 1;
  color: #fff;
  background: var(--navy-1);
  border: 0;
  cursor: default;
}
.nis2-badge-pill.static.secondary { background: #6c757d; }

.nis2-search-card {
  display: flex; flex-wrap: wrap; gap: .5rem; align-items: center;
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: .75rem;
}
.nis2-search-card .form-control { flex: 1 1 18rem; }
.nis2-search-card .nis2-btn-primary { margin-top: 0; }

.active-filters {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem;
  padding: .85rem 1rem;
  background: var(--light);
  border: 1px solid var(--line);
  border-radius: .75rem;
}
.active-filters-title { font-size: .9rem; font-weight: 700; margin: 0 .25rem 0 0; }
.filter-chip {
  display: inline-flex;
  align-items: center;
  padding: .5rem 1rem;
  font-size: .85rem;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  background: var(--navy-1);
  border-radius: 50rem;
}
.filter-chip-remove { margin-left: .5rem; color: #fff; font-weight: 700; text-decoration: none; }
.filter-chip-remove:hover { color: #fff; }
.filter-clear { font-size: .875rem; color: var(--text-secondary); }

.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr)); gap: 1.25rem; }
.entry-card { display: flex; flex-direction: column; padding: 1.5rem; }
.entry-card.is-past { opacity: .9; }
.entry-card-categories { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: .75rem; }
.entry-category {
  /* A badge, also where it sits straight in a card's column rather than in a row of them. */
  align-self: flex-start;
  padding: .28rem .55rem;
  font-family: var(--mkik-font-nav);
  font-size: .82rem; font-weight: 700; line-height: 1.1; letter-spacing: .01em;
  color: var(--navy-2); text-decoration: none;
  background: #fff;
  border: 1px solid #9fbedb;
  border-radius: 4px;
}
a.entry-category:hover { color: var(--navy-1); border-color: var(--navy-2); background: #eaf2fa; }
.entry-card > .entry-category { margin-bottom: .5rem; }
.entry-category.neutral { color: var(--text-secondary); border-color: var(--line-strong); }
.entry-category.closed { color: #495057; background: #e9ecef; border-color: #ced4da; }
.entry-card-title { font-size: 1.05rem; font-weight: 700; line-height: 1.35; margin: 0 0 .5rem; }
.entry-card-title a { color: var(--text); text-decoration: none; }
.entry-card-title a:hover { text-decoration: underline; }
.entry-card-excerpt { flex: 1 1 auto; font-size: .95rem; color: var(--text-muted); margin: 0 0 1rem; }
.entry-card-footer {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem;
  margin-top: auto; padding-top: .85rem;
  border-top: 1px solid var(--line);
}
/* The card's action - apply, read on, details - stands at the right, also when it is alone. */
.entry-card-footer > :last-child { margin-left: auto; }
.entry-card-apply { flex: 1 1 100%; padding-block: .6rem; }
.entry-meta { font-size: .85rem; color: var(--text-muted); }
.entry-more { font-size: .9rem; font-weight: 600; text-decoration: none; }
.entry-more:hover { text-decoration: underline; }

.entry-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.entry-list-item { display: grid; gap: .15rem; }
.entry-link { font-weight: 600; text-decoration: none; }
.entry-link:hover { text-decoration: underline; }

.entry-detail-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.entry-detail-title { font-family: var(--mkik-font-nav); font-size: 1.9rem; font-weight: 700; line-height: 1.25; margin: 1rem 0; }
.entry-detail-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.nis2-content-body { font-size: 1.02rem; line-height: 1.75; color: var(--text-secondary); }
.nis2-content-body img { max-width: 100%; height: auto; }
/* Text sizes set with the Quill editor, kept in rich text written with it. */
.ql-size-small { font-size: .75em; }
.ql-size-large { font-size: 1.5em; }
.ql-size-huge { font-size: 2.5em; }

.contact-page { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 1.5rem; align-items: stretch; }
.contact-map {
  display: grid;
  min-height: 24rem;
  overflow: hidden;
  background: var(--light);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.contact-map iframe { width: 100%; height: 100%; min-height: 24rem; border: 0; }
.contact-map-placeholder {
  display: grid; place-content: center; justify-items: center; gap: .75rem;
  padding: 2rem; text-align: center; color: var(--text-secondary);
}
.contact-map-placeholder p { max-width: 36ch; margin: 0; }
@media (max-width: 991.98px) {
  .contact-page { grid-template-columns: 1fr; }
}
.attachment-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.empty-state { padding: 2rem; text-align: center; color: var(--text-muted); background: #fff; border: 1px dashed var(--line-strong); border-radius: .75rem; }

.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem; margin-top: 1.5rem; }
.page-link {
  display: inline-block;
  min-width: 2.25rem;
  padding: .4rem .7rem;
  font-weight: 600; text-align: center; text-decoration: none;
  color: var(--navy-1);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: .375rem;
}
.page-link:hover { background: var(--light); }
.page-link.is-current { color: #fff; background: var(--navy-1); border-color: var(--navy-1); }

/* ── Forms ── */
.application-form .form-section { margin: 0 0 2rem; padding: 0; border: 0; }
.application-form legend { padding: 0; }
.form-check { margin-bottom: .6rem; }
.form-check-label { display: flex; align-items: flex-start; gap: .55rem; font-weight: 500; cursor: pointer; }
.form-check-label input { margin-top: .25rem; }
.form-group.has-error .form-control, .form-check.has-error { border-color: var(--danger); }
.required { color: var(--danger); }
.repeater { display: grid; gap: 1rem; }
.repeater-item { padding: 1rem; background: var(--light); border: 1px solid var(--line); border-radius: .5rem; }
ul.form-errors { list-style: none; }
.form-group ul { list-style: none; margin: 0; padding: 0; }
.form-group ul li label { display: flex; align-items: center; gap: .45rem; font-weight: 500; }

/* ── Poll ── */
.poll-options { margin: 1rem 0; padding: 0; border: 0; display: grid; gap: .6rem; }
.poll-option {
  display: flex; align-items: center; gap: .75rem;
  padding: .85rem 1rem;
  background: var(--light);
  border: 1px solid var(--line);
  border-radius: .5rem;
  font-weight: 600;
  cursor: pointer;
}
.poll-option:hover { border-color: #b9c6d3; background: #f1f4f7; }
.poll-results { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .5rem; }
.poll-result { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem .85rem; background: var(--light); border-radius: .5rem; }
.poll-result-count { font-weight: 700; color: var(--navy-1); }

/* ── FAQ ── */
.faq-list { display: grid; gap: .6rem; }
.faq-item { border: 1px solid var(--line); border-radius: .5rem; background: #fff; }
.faq-question { padding: 1rem 1.25rem; font-weight: 700; cursor: pointer; }
.faq-answer { padding: 0 1.25rem 1.25rem; }

@media (max-width: 991.98px) {
  .nis2-layout { grid-template-columns: 1fr; }
}

.two-factor-page { max-width: 42rem; margin: 0 auto; }
.two-factor-page .btn, .two-factor-page button[type="submit"] { margin-top: 1rem; }

.expert-qualifications {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 1rem;
}
.expert-qualification {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--light);
  border: 1px solid #dee2e6;
  border-radius: .5rem;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text);
}
.expert-check {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: .5rem;
  border-radius: 50%;
  background: var(--navy-1);
  color: #fff;
}
.expert-label {
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.5;
}
.expert-note {
  margin: 1rem 0 0;
  padding: 1rem 1.25rem;
  background: #eaf2fa;
  border-radius: .5rem;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 700;
  color: var(--navy-1);
}
@media (max-width: 767.98px) {
  .expert-qualifications { grid-template-columns: 1fr; }
}
