/*!
 * Informatika24 – Joomla 6 site template
 * (C) 2026 Informatika24 · GPL-2.0-or-later
 * Fonts: Inter, Plus Jakarta Sans (SIL OFL 1.1) – self-hosted, no third-party requests.
 */

@layer reset, tokens, base, layout, components, joomla, utilities;

/* ------------------------------------------------------------------ fonts */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/inter-latin-ext.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: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/inter-latin.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: "Plus Jakarta Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("../fonts/plus-jakarta-sans-latin-ext.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: "Plus Jakarta Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("../fonts/plus-jakarta-sans-latin.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;
}

/* ------------------------------------------------------------------ reset */
@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  * { margin: 0; }
  html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; hanging-punctuation: first last; }
  body { min-height: 100svh; line-height: 1.6; -webkit-font-smoothing: antialiased; }
  img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
  input, button, textarea, select { font: inherit; color: inherit; }
  p, li, h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; }
  h1, h2, h3, h4 { text-wrap: balance; }
  p { text-wrap: pretty; }
}

/* ------------------------------------------------------------------ tokens */
@layer tokens {
  :root {
    --i24-brand: #009fe3;
    --brand: var(--i24-brand);
    --brand-strong: color-mix(in oklch, var(--brand) 78%, black);
    --brand-soft: color-mix(in srgb, var(--brand) 12%, transparent);
    --brand-ink: #fff;

    --bg: #f6f8fb;
    --bg-alt: #eef3f8;
    --surface: #ffffff;
    --surface-2: #f9fbfd;
    --ink: #0e1621;
    --ink-2: #2b3644;
    --muted: #5a6676;
    --line: #e2e8ef;
    --line-strong: #cfd8e3;
    --shadow-color: 215 40% 20%;

    --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-display: "Plus Jakarta Sans", var(--font-sans);

    --step--1: clamp(0.83rem, 0.8rem + 0.15vw, 0.9rem);
    --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
    --step-1: clamp(1.2rem, 1.1rem + 0.45vw, 1.4rem);
    --step-2: clamp(1.45rem, 1.25rem + 0.9vw, 1.9rem);
    --step-3: clamp(1.8rem, 1.4rem + 1.8vw, 2.7rem);
    --step-4: clamp(2.2rem, 1.5rem + 3.2vw, 4rem);

    --radius-s: 0.5rem;
    --radius: 0.9rem;
    --radius-l: 1.5rem;
    --container: 76rem;
    --gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
    --header-h: 5.75rem;

    --shadow-s: 0 1px 2px hsl(var(--shadow-color) / .06), 0 1px 3px hsl(var(--shadow-color) / .08);
    --shadow-m: 0 2px 4px hsl(var(--shadow-color) / .05), 0 8px 24px -6px hsl(var(--shadow-color) / .14);
    --shadow-l: 0 4px 8px hsl(var(--shadow-color) / .05), 0 24px 60px -12px hsl(var(--shadow-color) / .25);
    --ease: cubic-bezier(.2, .7, .2, 1);

    color-scheme: light;
  }

}

/* ------------------------------------------------------------------ base */
@layer base {
  @view-transition { navigation: auto; }

  html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
  body {
    background: var(--bg);
    color: var(--ink-2);
    font-family: var(--font-sans);
    font-size: var(--step-0);
    font-feature-settings: "cv11", "ss01";
    display: flex;
    flex-direction: column;
  }
  .i24-main { flex: 1; outline: none; }

  h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--ink);
    line-height: 1.15;
    letter-spacing: -0.02em;
    font-weight: 750;
  }
  h1 { font-size: var(--step-4); }
  h2 { font-size: var(--step-3); }
  h3 { font-size: var(--step-2); }
  h4 { font-size: var(--step-1); }

  a { color: var(--brand-strong); text-decoration-thickness: 1px; text-underline-offset: .2em; transition: color .2s; }
  a:hover { color: var(--brand); }
  :focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
  ::selection { background: color-mix(in srgb, var(--brand) 30%, transparent); }
  strong, b { color: var(--ink); font-weight: 650; }
  hr { border: 0; border-top: 1px solid var(--line); margin-block: 2rem; }

  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    @view-transition { navigation: none; }
  }
}

/* ------------------------------------------------------------------ layout */
@layer layout {
  .i24-container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }

  .i24-skip {
    position: absolute; inset-inline-start: 1rem; top: -100px; z-index: 100;
    background: var(--brand); color: #fff; padding: .6rem 1rem; border-radius: var(--radius-s); font-weight: 600;
  }
  .i24-skip:focus { top: 1rem; color: #fff; }

  /* top bar */
  .i24-topbar { background: linear-gradient(90deg, color-mix(in srgb, var(--brand) 55%, #062a4a), color-mix(in srgb, var(--brand) 75%, #0a3a66)); color: #e6f3fb; font-size: var(--step--1); }
  .i24-topbar__inner { display: flex; align-items: center; gap: 1.25rem; min-height: 2.5rem; flex-wrap: wrap; }
  .i24-topbar__contact { list-style: none; padding: 0; display: flex; gap: 1.25rem; flex-wrap: wrap; margin-inline-end: auto; }
  .i24-topbar a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: .45rem; }
  .i24-topbar a:hover { color: #fff; text-decoration: underline; text-underline-offset: .2em; }
  .i24-topbar__helpdesk { padding: .15rem .7rem; border: 1px solid #ffffff59; border-radius: 99px; background: #ffffff1a; }
  @media (max-width: 40rem) { .i24-topbar__helpdesk { display: none !important; } }

  /* header */
  .i24-header {
    position: sticky; top: 0; z-index: 50;
    background: color-mix(in srgb, #fff 86%, transparent);
    backdrop-filter: saturate(1.6) blur(14px);
    -webkit-backdrop-filter: saturate(1.6) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s, box-shadow .3s, background .3s;
    view-transition-name: i24-header;
  }
  .i24-header[data-scrolled] { border-bottom-color: var(--line); box-shadow: var(--shadow-s); }
  .i24-header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }

  .i24-brand { display: inline-flex; align-items: center; flex-shrink: 0; border-radius: var(--radius-s); }
  .i24-brand__logo { height: 5rem; width: auto; transition: height .3s var(--ease); }
  .i24-header[data-scrolled] .i24-brand__logo { height: 3.5rem; }
  @media (max-width: 40rem) { .i24-brand__logo { height: 3.25rem; } .i24-header[data-scrolled] .i24-brand__logo { height: 2.75rem; } }

  .i24-header__actions { display: flex; align-items: center; gap: .5rem; margin-inline-start: auto; }
  .i24-nav { margin-inline-start: auto; }
  .i24-nav + .i24-header__actions { margin-inline-start: 0; }

  /* main grid */
  .i24-layout { display: grid; gap: clamp(2rem, 4vw, 3.5rem); padding-block: clamp(1.25rem, 2.5vw, 2rem) clamp(2.5rem, 5vw, 4rem); }
  .is-home .i24-layout { padding-block-start: clamp(1rem, 3vw, 2rem); }
  .i24-layout__crumbs { grid-column: 1 / -1; margin-bottom: calc(-1 * clamp(2rem, 4vw, 3.5rem) + clamp(.75rem, 1.5vw, 1.25rem)); }
  .i24-layout__content { min-width: 0; }
  @media (min-width: 64rem) {
    .has-sidebar .i24-layout { grid-template-columns: minmax(0, 1fr) 20rem; align-items: start; }
    .i24-layout__sidebar { position: sticky; top: calc(var(--header-h) + 1.5rem); }
  }
  .i24-layout__sidebar { display: grid; gap: 1.5rem; }

  /* footer */
  .i24-footer { background: var(--bg-alt); color: var(--muted); margin-top: auto; font-size: .95rem; border-top: 1px solid var(--line); }
  .i24-footer a { color: var(--ink-2); text-decoration: none; }
  .i24-footer a:hover { color: var(--brand-strong); }
  .i24-footer__grid { display: grid; gap: 2.5rem; padding-block: clamp(3rem, 6vw, 4.5rem); grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
  .i24-footer__about { max-width: 26rem; display: grid; gap: 1rem; }
  .i24-footer .i24-brand__logo { height: 3.5rem; }
  .i24-footer__title { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ink); margin-bottom: 1rem; font-family: var(--font-sans); font-weight: 650; }
  .i24-footer ul { list-style: none; padding: 0; display: grid; gap: .6rem; }
  .i24-footer li a { display: inline-flex; align-items: center; gap: .55rem; }
  .i24-footer__bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; border-top: 1px solid var(--line); padding-block: 1.25rem; font-size: var(--step--1); }

  /* error / offline */
  .error-page, .offline-page { background: radial-gradient(60rem 30rem at 50% -10%, var(--brand-soft), transparent), var(--bg); }
  .i24-error { min-height: 100svh; display: grid; place-content: center; justify-items: center; text-align: center; gap: 1.25rem; padding: 2rem var(--gutter); max-width: 40rem; margin-inline: auto; }
  .i24-error__code { font-family: var(--font-display); font-weight: 800; font-size: clamp(5rem, 20vw, 10rem); line-height: 1; background: linear-gradient(135deg, var(--brand), var(--brand-strong)); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .i24-error__msg { color: var(--muted); }
  .i24-error__debug { text-align: start; font-size: .8rem; overflow: auto; max-width: 100%; }
  .i24-login { display: grid; gap: 1rem; width: min(22rem, 100%); text-align: start; }
}

/* ------------------------------------------------------------------ components */
@layer components {
  /* icons (CSS masks – editor-safe, recolourable) */
  .i24-icon {
    --icon: none;
    display: inline-block; flex-shrink: 0;
    inline-size: 1.1em; block-size: 1.1em;
    background: currentColor;
    -webkit-mask: var(--icon) center / contain no-repeat;
    mask: var(--icon) center / contain no-repeat;
  }
  .i24-icon--phone  { --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='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.7 2.7a2 2 0 0 1-.5 2.1L8 9.8a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.7.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E"); }
  .i24-icon--mail   { --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='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 7-10 6L2 7'/%3E%3C/svg%3E"); }
  .i24-icon--ticket { --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='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 9a3 3 0 0 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 0 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z'/%3E%3Cpath d='M13 5v2M13 17v2M13 11v2'/%3E%3C/svg%3E"); }
  .i24-icon--sun    { --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='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v2M12 20v2M4.9 4.9l1.4 1.4M17.7 17.7l1.4 1.4M2 12h2M20 12h2M4.9 19.1l1.4-1.4M17.7 6.3l1.4-1.4'/%3E%3C/svg%3E"); }
  .i24-icon--moon   { --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='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z'/%3E%3C/svg%3E"); }
  .i24-icon--clock  { --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='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 6v6l4 2'/%3E%3C/svg%3E"); }
  .i24-icon--server { --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='2' stroke-linecap='round'%3E%3Crect x='2' y='2' width='20' height='8' rx='2'/%3E%3Crect x='2' y='14' width='20' height='8' rx='2'/%3E%3Cpath d='M6 6h.01M6 18h.01'/%3E%3C/svg%3E"); }
  .i24-icon--code   { --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='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='3' width='20' height='18' rx='2'/%3E%3Cpath d='M2 8h20M10 13l-2 2 2 2M14 13l2 2-2 2'/%3E%3C/svg%3E"); }
  .i24-icon--home   { --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='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10.5 12 3l9 7.5V20a1 1 0 0 1-1 1h-5v-6h-6v6H4a1 1 0 0 1-1-1Z'/%3E%3Ccircle cx='12' cy='11' r='1.2'/%3E%3C/svg%3E"); }
  .i24-icon--check  { --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='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
  .i24-icon--monitor{ --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='2' stroke-linecap='round'%3E%3Crect x='2' y='3' width='20' height='14' rx='2'/%3E%3Cpath d='M8 21h8M12 17v4'/%3E%3C/svg%3E"); }
  .i24-icon--arrow  { --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='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E"); }

  /* buttons */
  .btn, .i24-btn {
    --btn-bg: var(--surface); --btn-fg: var(--ink); --btn-line: var(--line-strong);
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    padding: .8rem 1.35rem; border-radius: 99px;
    background: var(--btn-bg); color: var(--btn-fg); border: 1px solid var(--btn-line);
    font-weight: 650; font-size: .975rem; line-height: 1.2; text-decoration: none; cursor: pointer;
    transition: transform .2s var(--ease), box-shadow .2s, background .2s, color .2s;
  }
  .btn:hover, .i24-btn:hover { color: var(--btn-fg); transform: translateY(-2px); box-shadow: var(--shadow-m); }
  .btn:active, .i24-btn:active { transform: translateY(0); }
  .btn-primary, .i24-btn--primary {
    --btn-bg: var(--brand); --btn-fg: var(--brand-ink); --btn-line: transparent;
    background: linear-gradient(135deg, var(--brand), color-mix(in oklch, var(--brand) 70%, #0050a0));
    box-shadow: 0 6px 20px -6px color-mix(in srgb, var(--brand) 70%, transparent);
  }
  .i24-btn--ghost { --btn-bg: #ffffff10; --btn-fg: #fff; --btn-line: #ffffff35; backdrop-filter: blur(6px); }
  .i24-btn--ghost:hover { --btn-bg: #ffffff1c; }
  .i24-btn .i24-icon--arrow { transition: transform .2s var(--ease); }
  .i24-btn:hover .i24-icon--arrow { transform: translateX(3px); }

  .i24-iconbtn {
    display: inline-grid; place-items: center; inline-size: 2.6rem; block-size: 2.6rem; border-radius: 99px;
    background: var(--surface); border: 1px solid var(--line); color: var(--ink); cursor: pointer;
    transition: background .2s, border-color .2s;
  }
  .i24-iconbtn:hover { border-color: var(--line-strong); background: var(--surface-2); }

  /* navigation (core mod_menu markup) */
  .i24-nav ul { list-style: none; padding: 0; margin: 0; }
  .i24-nav .mod-menu { display: flex; align-items: center; gap: .25rem; }
  .i24-nav .mod-menu > li > a, .i24-nav .mod-menu > li > span {
    position: relative; display: block; padding: .55rem .85rem; border-radius: 99px;
    color: var(--ink-2); font-weight: 560; font-size: .95rem; text-decoration: none; white-space: nowrap;
    transition: background .2s, color .2s;
  }
  .i24-nav .mod-menu > li > a:hover { background: var(--brand-soft); color: var(--ink); }
  .i24-nav .mod-menu > li.current > a,
  .i24-nav .mod-menu > li.active > a,
  .i24-nav .mod-menu > li > a[aria-current="page"] { color: var(--brand-strong); background: var(--brand-soft); }

  .i24-menu-toggle { display: none; }
  .i24-burger { position: relative; inline-size: 1.15rem; block-size: .8rem; display: block; }
  .i24-burger::before, .i24-burger::after, .i24-burger span {
    content: ""; position: absolute; inset-inline: 0; block-size: 2px; border-radius: 2px; background: currentColor;
    transition: transform .3s var(--ease), opacity .2s, top .3s var(--ease);
  }
  .i24-burger::before { top: 0; }
  .i24-burger span { top: calc(50% - 1px); }
  .i24-burger::after { top: calc(100% - 2px); }
  [aria-expanded="true"] .i24-burger::before { top: calc(50% - 1px); transform: rotate(45deg); }
  [aria-expanded="true"] .i24-burger::after { top: calc(50% - 1px); transform: rotate(-45deg); }
  [aria-expanded="true"] .i24-burger span { opacity: 0; }

  @media (max-width: 63.99rem) {
    .i24-menu-toggle { display: inline-grid; }
    .i24-nav {
      position: absolute; inset-inline: 0; top: 100%;
      background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-l);
      padding: .75rem var(--gutter) 1.25rem;
      visibility: hidden; opacity: 0; transform: translateY(-8px);
      transition: opacity .25s, transform .25s var(--ease), visibility 0s .25s;
    }
    .i24-nav[data-open] { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
    .i24-nav .mod-menu { flex-direction: column; align-items: stretch; gap: .15rem; }
    .i24-nav .mod-menu > li > a { padding: .85rem 1rem; border-radius: var(--radius-s); font-size: 1.05rem; }
  }

  /* breadcrumbs (core mod_breadcrumbs) */
  .mod-breadcrumbs, .breadcrumb { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; font-size: var(--step--1); color: var(--muted); }
  .mod-breadcrumbs__item + .mod-breadcrumbs__item::before, .breadcrumb-item + .breadcrumb-item::before { content: "/"; margin-inline-end: .35rem; color: var(--line-strong); }
  .mod-breadcrumbs a, .breadcrumb a { color: var(--muted); text-decoration: none; }
  .mod-breadcrumbs a:hover, .breadcrumb a:hover { color: var(--brand-strong); }
  .mod-breadcrumbs__here, .mod-breadcrumbs__divider { display: none; }

  /* eyebrow, headings, pills */
  .i24-eyebrow {
    display: inline-flex; align-items: center; gap: .5rem;
    font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-strong);
  }
  .i24-eyebrow::before { content: ""; inline-size: 1.5rem; block-size: 2px; background: currentColor; border-radius: 2px; }
  .i24-section-head { display: grid; gap: .6rem; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
  .i24-section-head--center { text-align: center; justify-items: center; }
  .i24-section-title { font-size: var(--step-3); }
  .i24-page-head { display: grid; gap: .75rem; margin-bottom: clamp(2rem, 4vw, 3rem); max-width: 50rem; }
  .i24-page-title { font-size: var(--step-4); }
  .i24-lead { font-size: var(--step-1); color: var(--muted); line-height: 1.55; }
  .i24-pill {
    display: inline-flex; align-items: center; padding: .2rem .7rem; border-radius: 99px;
    background: var(--brand-soft); color: var(--brand-strong); font-size: .78rem; font-weight: 650; text-decoration: none;
  }
  a.i24-pill:hover { background: color-mix(in srgb, var(--brand) 22%, transparent); }

  /* HERO (light) */
  .i24-hero {
    position: relative; isolation: isolate; overflow: clip;
    background: linear-gradient(180deg, color-mix(in srgb, var(--brand) 10%, white) 0%, color-mix(in srgb, var(--brand) 22%, white) 100%);
    color: var(--ink-2);
    padding-block: clamp(1.75rem, 3.5vw, 3rem) clamp(4.5rem, 10vw, 7rem);
    border-bottom: 1px solid color-mix(in srgb, var(--brand) 12%, white);
  }
  .i24-hero::before {
    content: ""; position: absolute; inset: 0; z-index: -2;
    background:
      radial-gradient(38rem 26rem at 88% 8%, color-mix(in srgb, var(--brand) 30%, transparent), transparent 70%),
      radial-gradient(30rem 22rem at 5% 95%, color-mix(in srgb, #5d8bff 14%, transparent), transparent 70%);
    animation: i24-aurora 18s ease-in-out infinite alternate;
  }
  /* printed circuit board pattern (tools/gen_pcb_pattern.py): faint behind the text, stronger towards the picture */
  .i24-hero::after {
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
    background: url("../images/pcb-pattern.svg") 0 0 / 640px 640px repeat;
    -webkit-mask-image: linear-gradient(100deg, rgb(0 0 0 / .25) 0%, rgb(0 0 0 / .45) 40%, #000 70%);
    mask-image: linear-gradient(100deg, rgb(0 0 0 / .25) 0%, rgb(0 0 0 / .45) 40%, #000 70%);
  }
  @media (max-width: 61.99rem) {
    .i24-hero::after { opacity: .36; }
  }
  @keyframes i24-aurora {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to   { transform: translate3d(-3%, 2%, 0) scale(1.08); }
  }
  .i24-hero__grid { display: grid; gap: clamp(2.5rem, 6vw, 4rem); align-items: center; }
  @media (min-width: 62rem) { .i24-hero__grid { grid-template-columns: 1.1fr .9fr; } }
  .i24-hero__copy { display: grid; gap: 1.5rem; justify-items: start; }
  .i24-hero h1 { color: var(--ink); font-size: clamp(2.3rem, 1.4rem + 4vw, 4.4rem); letter-spacing: -0.035em; line-height: 1.05; }
  .i24-hero h1 em {
    font-style: normal;
    background: linear-gradient(100deg, var(--brand) 10%, color-mix(in srgb, var(--brand) 55%, #2b4fd8));
    -webkit-background-clip: text; background-clip: text; color: transparent;
  }
  .i24-hero__lead { font-size: var(--step-1); max-width: 36rem; line-height: 1.55; color: var(--muted); }
  .i24-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .5rem; }
  .i24-hero .i24-btn--ghost { --btn-bg: #fff; --btn-fg: var(--ink); --btn-line: var(--line-strong); backdrop-filter: none; }
  .i24-hero .i24-btn--ghost:hover { --btn-bg: #fff; }
  .i24-hero__facts { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 1rem; font-size: .95rem; color: var(--ink-2); }
  .i24-hero__facts li { display: inline-flex; align-items: center; gap: .5rem; }
  .i24-hero__facts .i24-icon { color: var(--brand); }

  .i24-hero__visual { position: relative; }
  .i24-hero__frame {
    border-radius: var(--radius-l); overflow: hidden;
    border: 6px solid #fff; box-shadow: var(--shadow-l);
    transform: perspective(1400px) rotateY(-8deg) rotateX(4deg);
    transition: transform .6s var(--ease);
  }
  .i24-hero__visual:hover .i24-hero__frame { transform: perspective(1400px) rotateY(-3deg) rotateX(1deg); }
  .i24-hero__frame img { inline-size: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
  .i24-hero__badge {
    position: absolute; display: flex; align-items: center; gap: .75rem;
    padding: .8rem 1rem; border-radius: var(--radius);
    background: color-mix(in srgb, #fff 88%, transparent); border: 1px solid var(--line);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    color: var(--muted); font-size: .88rem; line-height: 1.3; box-shadow: var(--shadow-m);
    animation: i24-float 6s ease-in-out infinite;
  }
  .i24-hero__badge strong { display: block; color: var(--ink); font-family: var(--font-display); font-size: 1.35rem; letter-spacing: -.02em; }
  .i24-hero__badge .i24-icon { inline-size: 2.2rem; block-size: 2.2rem; padding: .5rem; border-radius: .6rem; background: var(--brand); color: #fff; -webkit-mask: none; mask: none; position: relative; }
  .i24-hero__badge .i24-icon::after { content: ""; position: absolute; inset: .45rem; background: #fff; -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
  .i24-hero__badge--a { inset-inline-start: -1.25rem; bottom: 12%; }
  .i24-hero__badge--b { inset-inline-end: -1rem; top: 8%; animation-delay: -3s; }
  @media (max-width: 40rem) { .i24-hero__badge--a { inset-inline-start: .5rem; } .i24-hero__badge--b { inset-inline-end: .5rem; } }
  @keyframes i24-float { 50% { transform: translateY(-8px); } }

  /* SERVICES (bento) */
  .i24-services { position: relative; margin-top: clamp(-4rem, -6vw, -2.5rem); z-index: 2; }
  .i24-services__grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); }
  .i24-service {
    position: relative; display: grid; gap: 1rem; align-content: start;
    padding: clamp(1.5rem, 3vw, 2rem); border-radius: var(--radius-l);
    background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-m);
    transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
    overflow: hidden;
  }
  .i24-service::before {
    content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity .35s;
    background: radial-gradient(22rem 14rem at var(--mx, 80%) var(--my, 0%), var(--brand-soft), transparent 70%);
  }
  .i24-service > * { position: relative; }
  .i24-service:hover { transform: translateY(-6px); box-shadow: var(--shadow-l); border-color: color-mix(in oklch, var(--brand) 35%, var(--line)); }
  .i24-service:hover::before { opacity: 1; }
  .i24-service__icon {
    display: grid; place-items: center; inline-size: 3.25rem; block-size: 3.25rem; border-radius: 1rem;
    background: linear-gradient(135deg, var(--brand), color-mix(in oklch, var(--brand) 60%, #3b49df)); color: #fff;
    box-shadow: 0 10px 24px -10px var(--brand);
  }
  .i24-service__icon .i24-icon { inline-size: 1.5rem; block-size: 1.5rem; }
  .i24-service h3 { font-size: var(--step-1); }
  .i24-service p { color: var(--muted); }
  .i24-service__link { margin-top: auto; display: inline-flex; align-items: center; gap: .4rem; font-weight: 650; text-decoration: none; }
  .i24-service__link::after { content: ""; position: absolute; inset: 0; } /* whole card clickable */
  .i24-service__link .i24-icon { transition: transform .2s var(--ease); }
  .i24-service:hover .i24-service__link .i24-icon { transform: translateX(4px); }

  /* CARDS */
  .i24-card-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); }
  .i24-card {
    container-type: inline-size;
    position: relative; display: flex; flex-direction: column;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l);
    overflow: hidden; box-shadow: var(--shadow-s);
    transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
  }
  .i24-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-l); border-color: var(--line-strong); }
  .i24-card__media { display: block; overflow: hidden; aspect-ratio: 2 / 1; background: var(--bg-alt); }
  .i24-card__media img { inline-size: 100%; block-size: 100%; object-fit: cover; transition: transform .7s var(--ease); }
  .i24-card:hover .i24-card__media img { transform: scale(1.05); }
  .i24-card__media--placeholder {
    display: grid; place-items: center; color: #fff;
    background:
      radial-gradient(circle at 1px 1px, #ffffff40 1px, transparent 1.5px) 0 0 / 18px 18px,
      linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 45%, #1b2a8f));
  }
  .i24-card__media--placeholder .i24-icon { inline-size: 3.5rem; block-size: 3.5rem; opacity: .9; transition: transform .5s var(--ease); }
  .i24-card:hover .i24-card__media--placeholder .i24-icon { transform: scale(1.1); }
  .i24-card__body { display: flex; flex-direction: column; gap: .7rem; padding: 1.35rem 1.5rem 1.5rem; flex: 1; }
  .i24-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .8rem; color: var(--muted); font-size: .82rem; }
  .i24-card__title { font-size: 1.2rem; line-height: 1.25; }
  .i24-card__title a { color: var(--ink); text-decoration: none; }
  .i24-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
  .i24-card__excerpt { color: var(--muted); font-size: .95rem; display: -webkit-box; -webkit-line-clamp: 4; line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
  .i24-card__more { margin-top: auto; padding-top: .25rem; color: var(--brand-strong); font-weight: 650; font-size: .92rem; }
  .i24-arrow { display: inline-block; transition: transform .2s var(--ease); }
  .i24-card:hover .i24-arrow { transform: translateX(4px); }
  .i24-card:has(:focus-visible) { outline: 3px solid var(--brand); outline-offset: 3px; }
  .i24-card :focus-visible { outline: none; }

  @media (min-width: 52rem) {
    .i24-card-grid:not(.i24-card-grid--even) { grid-template-columns: repeat(3, 1fr); }
    .i24-card--lead { grid-column: 1 / -1; flex-direction: row; }
    .i24-card--lead .i24-card__media { flex: 1.15; aspect-ratio: auto; min-block-size: 20rem; }
    .i24-card--lead .i24-card__body { flex: 1; padding: clamp(1.75rem, 3vw, 2.75rem); justify-content: center; }
    .i24-card--lead .i24-card__title { font-size: var(--step-2); }
    .i24-card--lead .i24-card__excerpt { font-size: 1.02rem; -webkit-line-clamp: 6; line-clamp: 6; }
  }

  /* scroll reveal where supported */
  @supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
      .i24-card, .i24-service, .i24-reveal {
        animation: i24-reveal linear both;
        animation-timeline: view();
        animation-range: entry 0% entry 35%;
      }
    }
  }
  @keyframes i24-reveal { from { opacity: 0; translate: 0 32px; } to { opacity: 1; translate: 0 0; } }

  /* ARTICLE */
  .i24-article { max-width: 50rem; }
  .has-sidebar .i24-article { max-width: none; }
  .i24-article__head { display: grid; gap: 1rem; margin-bottom: 2rem; }
  .i24-article__head .i24-page-title { font-size: var(--step-4); }
  .i24-article__meta { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; color: var(--muted); font-size: .9rem; }
  .i24-article__meta > * { display: inline-flex; align-items: center; gap: .4rem; }
  .i24-article__hero { margin: 0 0 clamp(2rem, 4vw, 3rem); border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-m); background: var(--bg-alt); }
  .i24-article__hero img { inline-size: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
  .i24-article__hero figcaption { padding: .75rem 1rem; font-size: .85rem; color: var(--muted); }

  .i24-prose { font-size: 1.0625rem; line-height: 1.75; color: var(--ink-2); max-width: 72ch; }
  .i24-prose > * + * { margin-top: 1.1em; }
  .i24-prose h2, .i24-prose h3, .i24-prose h4 { margin-top: 2.2em; }
  .i24-prose h3 { font-size: var(--step-2); }
  .i24-prose h4 { font-size: var(--step-1); }
  .i24-prose h3 + *, .i24-prose h4 + * { margin-top: .6em; }
  .i24-prose ul, .i24-prose ol { padding-inline-start: 0; list-style: none; display: grid; gap: .55em; }
  .i24-prose ul ul { margin-top: .55em; padding-inline-start: 1.25rem; }
  .i24-prose ul > li { position: relative; padding-inline-start: 1.9rem; }
  .i24-prose ul > li::before {
    content: ""; position: absolute; inset-inline-start: 0; top: .32em; inline-size: 1.2rem; block-size: 1.2rem; border-radius: 99px;
    background: var(--brand-soft);
  }
  .i24-prose ul > li::after {
    content: ""; position: absolute; inset-inline-start: .3rem; top: calc(.32em + .3rem); inline-size: .6rem; block-size: .6rem;
    background: var(--brand-strong);
    -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='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%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='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
  }
  .i24-prose ol { counter-reset: i24; }
  .i24-prose ol > li { counter-increment: i24; position: relative; padding-inline-start: 2.2rem; }
  .i24-prose ol > li::before { content: counter(i24); position: absolute; inset-inline-start: 0; top: .1em; inline-size: 1.6rem; block-size: 1.6rem; border-radius: 99px; display: grid; place-items: center; font-size: .8rem; font-weight: 700; background: var(--brand-soft); color: var(--brand-strong); }
  .i24-prose img { border-radius: var(--radius); }
  .i24-prose blockquote { border-inline-start: 3px solid var(--brand); padding: .5rem 0 .5rem 1.25rem; color: var(--ink); font-size: 1.15rem; }
  .i24-prose table { border-collapse: collapse; width: 100%; font-size: .95rem; }
  .i24-prose th, .i24-prose td { border-bottom: 1px solid var(--line); padding: .6rem .75rem; text-align: start; }
  .i24-prose code { font-size: .9em; background: var(--bg-alt); padding: .1em .35em; border-radius: .3em; }
  .i24-prose p:empty, .i24-prose h3:empty { display: none; }

  /* numbered step headings (e.g. "1. Célok meghatározása") get a counter badge look */
  .i24-prose h4 { padding-block: .1em; }

  /* MODULES */
  .i24-module__title { font-size: var(--step-1); margin-bottom: 1rem; }
  .i24-footer .i24-module__title { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ink); margin-bottom: 1rem; font-family: var(--font-sans); font-weight: 650; }
  .i24-layout__sidebar .i24-module { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 1.5rem; box-shadow: var(--shadow-s); }

  .i24-helpdesk-card { display: grid; gap: 1rem; text-decoration: none; color: inherit; }
  .i24-helpdesk-card img { border-radius: var(--radius); inline-size: 100%; }
  .i24-helpdesk-card h3 { font-size: 1.15rem; }
  .i24-helpdesk-card p { color: var(--muted); font-size: .95rem; }

  /* CTA band */
  .i24-cta { padding-block: clamp(1rem, 3vw, 2rem) clamp(3rem, 7vw, 5rem); }
  .i24-cta__panel {
    position: relative; overflow: hidden; isolation: isolate;
    display: grid; gap: 1.5rem; align-items: center;
    padding: clamp(2rem, 5vw, 3.5rem); border-radius: calc(var(--radius-l) * 1.3);
    background: linear-gradient(120deg, color-mix(in oklch, var(--brand) 85%, #002c6b), color-mix(in oklch, var(--brand) 55%, #2a1a8a));
    color: #e6f4ff; box-shadow: var(--shadow-l);
  }
  .i24-cta__panel::before {
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: .35;
    background: radial-gradient(circle at 1px 1px, #fff6 1px, transparent 1.5px) 0 0 / 22px 22px;
    -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000);
    mask-image: linear-gradient(90deg, transparent 20%, #000);
  }
  @media (min-width: 52rem) { .i24-cta__panel { grid-template-columns: 1fr auto; } }
  .i24-cta h2 { color: #fff; font-size: var(--step-3); }
  .i24-cta p { max-width: 38rem; margin-top: .5rem; font-size: 1.05rem; }
  .i24-cta__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
  .i24-cta .i24-btn--light { --btn-bg: #fff; --btn-fg: #06223d; --btn-line: transparent; }

  .i24-empty { color: var(--muted); }
}

/* ------------------------------------------------------------------ joomla core output */
@layer joomla {
  .visually-hidden, .sr-only, .element-invisible {
    position: absolute !important; inline-size: 1px !important; block-size: 1px !important; padding: 0 !important; margin: -1px !important;
    overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important;
  }
  .w-100 { width: 100%; }

  /* system messages */
  #system-message-container:not(:empty) { margin-bottom: 1.5rem; }
  joomla-alert, .alert {
    display: block; position: relative; padding: 1rem 3rem 1rem 1.25rem; margin-bottom: 1rem; border-radius: var(--radius);
    border: 1px solid var(--line); background: var(--surface); color: var(--ink); box-shadow: var(--shadow-s);
    border-inline-start: 4px solid var(--brand);
  }
  joomla-alert[type="success"], .alert-success { border-inline-start-color: #16a34a; }
  joomla-alert[type="danger"], joomla-alert[type="error"], .alert-danger, .alert-error { border-inline-start-color: #dc2626; }
  joomla-alert[type="warning"], .alert-warning { border-inline-start-color: #d97706; }
  joomla-alert .alert-heading { font-weight: 700; margin-bottom: .25rem; }
  joomla-alert .joomla-alert--close, joomla-alert button.joomla-alert--close {
    position: absolute; inset-inline-end: .75rem; top: .75rem; background: none; border: 0; font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--muted);
  }

  /* forms (com_contact, com_users, search…) */
  form fieldset { border: 0; padding: 0; margin: 0 0 1rem; }
  form legend { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: var(--step-1); margin-bottom: 1rem; }
  .control-group, .mb-3 { margin-bottom: 1.1rem; }
  .control-label label, form label { display: inline-block; font-weight: 600; color: var(--ink); margin-bottom: .4rem; font-size: .93rem; }
  .star { color: #dc2626; }
  .form-control, .form-select,
  input[type="text"], input[type="email"], input[type="password"], input[type="tel"], input[type="url"], input[type="search"], input[type="number"], textarea, select {
    display: block; inline-size: 100%; padding: .8rem 1rem; border-radius: var(--radius-s);
    background: var(--surface); border: 1px solid var(--line-strong); color: var(--ink);
    transition: border-color .2s, box-shadow .2s;
  }
  textarea { min-block-size: 9rem; resize: vertical; }
  .form-control:focus, .form-select:focus, input:focus, textarea:focus, select:focus {
    outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft);
  }
  .invalid, .form-control.invalid, input.invalid, textarea.invalid { border-color: #dc2626 !important; }
  label.invalid { color: #dc2626; }
  .form-control-feedback, .invalid-feedback { color: #dc2626; font-size: .85rem; margin-top: .25rem; }
  .form-check { display: flex; gap: .6rem; align-items: flex-start; }
  .form-check-input { inline-size: 1.15rem; block-size: 1.15rem; margin-top: .25rem; accent-color: var(--brand); }
  .controls .btn, .com-contact__form .btn { margin-top: .5rem; }

  /* com_contact */
  .com-contact { display: grid; gap: 2rem; }
  .com-contact h1, .com-contact .page-header h1 { font-size: var(--step-4); }
  .com-contact__container, .contact { display: grid; gap: 2rem; }
  @media (min-width: 60rem) {
    .com-contact__container:has(.com-contact__form) { grid-template-columns: 1fr 1.4fr; align-items: start; }
  }
  .com-contact__info, .contact-address, .com-contact__address, .com-contact__miscinfo {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 1.5rem; box-shadow: var(--shadow-s);
  }
  .com-contact__form, .contact-form {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); padding: clamp(1.5rem, 3vw, 2.25rem); box-shadow: var(--shadow-m);
  }
  .com-contact dl, .contact-address dl { display: grid; grid-template-columns: auto 1fr; gap: .5rem 1rem; }
  .com-contact dd { margin: 0; }
  .com-contact h2, .com-contact h3 { font-size: var(--step-2); margin-bottom: 1rem; }

  /* com_contact (template override) */
  .i24-contact__grid { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }
  @media (min-width: 60rem) { .i24-contact__grid:not(.i24-contact__grid--single) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); } }
  .i24-contact__info, .i24-contact__form {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l);
    padding: clamp(1.5rem, 3vw, 2.25rem); box-shadow: var(--shadow-m);
  }
  .i24-contact__info { display: grid; gap: 1.5rem; }
  .i24-contact__misc { color: var(--ink-2); line-height: 1.7; }
  .i24-contact__misc > * + * { margin-top: .9em; }
  .i24-contact__misc strong { white-space: nowrap; }
  .i24-contact__list { list-style: none; padding: 0; display: grid; gap: 1rem; border-top: 1px solid var(--line); padding-top: 1.5rem; }
  .i24-contact__list li { display: flex; align-items: center; gap: .9rem; }
  .i24-contact__list small { display: block; color: var(--muted); font-size: .8rem; }
  .i24-contact__list a { font-weight: 600; text-decoration: none; color: var(--ink); }
  .i24-contact__list a:hover { color: var(--brand-strong); }
  .i24-contact__icon { display: grid; place-items: center; inline-size: 2.75rem; block-size: 2.75rem; border-radius: .8rem; background: var(--brand-soft); color: var(--brand-strong); flex-shrink: 0; }
  .i24-contact__title { font-size: var(--step-2); margin-bottom: 1.25rem; }
  .i24-contact .com-contact__form { background: none; border: 0; padding: 0; box-shadow: none; border-radius: 0; }
  .i24-contact .com-contact__form legend { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .i24-contact .control-group .control-label { margin-bottom: 0; }

  /* pagination */
  .pagination { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; justify-content: center; margin-top: 2.5rem; }
  .page-link { display: grid; place-items: center; min-inline-size: 2.5rem; block-size: 2.5rem; padding-inline: .75rem; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; }
  .page-item.active .page-link { background: var(--brand); color: #fff; border-color: transparent; }
  .page-item.disabled .page-link { opacity: .45; }
  .counter { text-align: center; color: var(--muted); font-size: .9rem; }

  /* edit icons for logged-in authors */
  .icons { justify-self: start; }
  .icons .btn { padding: .35rem .8rem; font-size: .85rem; }

  /* tables, generic */
  table { border-collapse: collapse; }
  .table { width: 100%; }
  .table th, .table td { padding: .6rem .75rem; border-bottom: 1px solid var(--line); text-align: start; }
}

/* ------------------------------------------------------------------ utilities */
@layer utilities {
  .i24-component { padding-block: 1.5rem; }
  .text-center { text-align: center; }
  .mt-0 { margin-top: 0 !important; }
}

@media print {
  .i24-topbar, .i24-header, .i24-footer, .i24-cta, .i24-layout__sidebar, .i24-hero::before, .i24-hero::after { display: none !important; }
  body { background: #fff; color: #000; }
}
