@charset "UTF-8";
/*
 * SPŠ a VOŠ Chomutov — společný vizuální systém pro vnitřní stránky
 * Bez frameworku, responzivní, přístupný a snadno převoditelný do CMS.
 */
:root {
  color-scheme: light;
  --navy-950: #071426;
  --navy-900: #0b1d36;
  --navy-800: #12345a;
  --blue-700: #0d5fba;
  --blue-600: #1675da;
  --blue-500: #2a8cf0;
  --blue-300: #85d4ff;
  --orange-500: #f47a20;
  --magenta-500: #d63b8c;
  --green-500: #38a84c;
  --yellow-400: #f5c842;
  --ink-900: #152033;
  --ink-700: #40506a;
  --ink-600: #5d6a7d;
  --ink-500: #78859a;
  --line: #dfe6ee;
  --line-strong: #cad5e2;
  --surface: #ffffff;
  --surface-alt: #f4f7fb;
  --surface-blue: #edf6ff;
  --success-bg: #edf9ef;
  --success-text: #1f6d2f;
  --shadow-sm: 0 4px 18px rgba(10, 32, 60, 0.08);
  --shadow-md: 0 14px 40px rgba(7, 27, 53, 0.12);
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --container: 1220px;
  --transition: 180ms ease;
  /* Sdílené aliasy pro prvky převzaté z úvodní stránky. */
  --chrome-navy-950: var(--navy-950);
  --chrome-navy-800: var(--navy-800);
  --color-primary: var(--navy-800);
  --color-primary-light: var(--blue-500);
  --color-accent: #007f7e;
  --color-bg-dark: var(--surface-alt);
  --color-bg-panel: var(--surface);
  --color-bg-panel-soft: var(--line);
  --color-text-main: var(--ink-900);
  --color-text-muted: var(--ink-600);
  --color-white: #ffffff;
  --shadow-cyan-glow: 0 0 0 2px rgba(0, 201, 200, 0.85);
  --action-bg: var(--blue-700);
  --action-bg-hover: #084f9c;
  --action-text: #ffffff;
  --action-outline-bg: #edf6ff;
  --action-outline-text: #0d5fba;
  --action-outline-border: #9bc8ee;
  --action-outline-bg-hover: #dceeff;
  --action-outline-border-hover: #0d5fba;
  --action-focus: var(--blue-300);
}

[data-theme="dark"] {
  color-scheme: dark;
  --ink-900: #edf3f8;
  --ink-700: #c8d3df;
  --ink-600: #aab8c7;
  --ink-500: #8798ac;
  --line: #2b3a4b;
  --line-strong: #3a4d61;
  --surface: #111b27;
  --surface-alt: #172432;
  --surface-blue: #193149;
  --success-bg: #173322;
  --success-text: #91d9a1;
  --shadow-sm: 0 4px 18px rgba(0, 0, 0, 0.24);
  --shadow-md: 0 14px 40px rgba(0, 0, 0, 0.3);
  --color-accent: #00c9c8;
  --action-bg: #57afea;
  --action-bg-hover: var(--blue-300);
  --action-text: #071426;
  --action-outline-bg: #193149;
  --action-outline-text: #bfe4ff;
  --action-outline-border: #4f91bf;
  --action-outline-bg-hover: var(--blue-300);
  --action-outline-border-hover: var(--blue-300);
  --action-focus: var(--blue-300);
}

/* Focus follows the actual main-content surface; site chrome keeps its light ring. */
main {
  --action-focus: var(--blue-700);
  scroll-margin-top: 110px;
}

main[tabindex="-1"]:focus {
  outline: none;
}

[data-theme="dark"] main,
main :is(.hero, .page-hero, .card--dark, .info-strip, .poster-lightbox, .history-lightbox),
.contact-alphabet__button[aria-pressed="true"] {
  --action-focus: var(--blue-300);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* Suppress elastic overscroll beyond the document’s vertical edges. */
html,
body {
  overscroll-behavior-y: none;
}

body {
  margin: 0;
  color: var(--ink-900);
  background: var(--surface);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
  overscroll-behavior: none;
}

.nav-overlay {
  position: fixed;
  z-index: 29;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  visibility: hidden;
  border: 0;
  background: rgba(4, 14, 28, 0.26);
  opacity: 0;
  pointer-events: none;
  -webkit-backdrop-filter: blur(3px) saturate(92%);
  backdrop-filter: blur(3px) saturate(92%);
  transition:
    opacity 180ms ease,
    visibility 180ms ease;
}

body.nav-open .nav-overlay {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

body.nav-open .theme-toggle {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

@media (min-width: 1101px) {
  .nav-overlay {
    display: none;
  }
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--blue-700);
  text-decoration: none;
}

a:hover {
  color: var(--blue-600);
}

button,
input,
select {
  font: inherit;
}

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

::selection {
  color: #fff;
  background: var(--blue-700);
}

h1,
h2,
h3,
h4,
p,
ul,
ol {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--navy-950);
  font-family: "Roboto Condensed", Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 760;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.6rem, 5vw, 5.25rem);
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3.35rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

p:last-child {
  margin-bottom: 0;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.narrow {
  width: min(100% - 40px, 860px);
  margin-inline: auto;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 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;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: #fff;
  background: var(--navy-950);
  border-radius: var(--radius-pill);
  transform: translateY(-160%);
  transition: transform var(--transition);
}

.skip-link:focus {
  transform: translateY(0);
}

/* Header */

/* Buttons */
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  color: #fff;
  background: var(--blue-700);
  border: 1px solid var(--blue-700);
  border-radius: var(--radius-pill);
  font-weight: 720;
  line-height: 1;
  text-decoration: none;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background var(--transition);
}

.button:hover {
  color: #fff;
  background: var(--blue-600);
  box-shadow: 0 10px 24px rgba(13, 95, 186, 0.24);
  transform: translateY(-1px);
}

.button--light {
  color: var(--navy-950);
  background: #fff;
  border-color: #fff;
}

.button--light:hover {
  color: var(--blue-700);
  background: #fff;
}

.card--dark .button--light,
.card--dark .button--light:visited {
  color: var(--navy-950);
}

.card--dark .button--light:hover,
.card--dark .button--light:focus-visible {
  color: var(--blue-700);
}

.button--ghost {
  color: var(--blue-700);
  background: transparent;
  border-color: #a8cceb;
}

.button--ghost:hover {
  color: var(--blue-700);
  background: var(--surface-blue);
  box-shadow: none;
}

.button--small {
  min-height: 38px;
  padding-inline: 14px;
  font-size: 0.88rem;
}

.arrow {
  font-size: 1.1em;
  line-height: 1;
}

/* Hero */
.page-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(
      circle at 83% 30%,
      rgba(56, 189, 248, 0.28),
      transparent 25%
    ),
    radial-gradient(
      circle at 100% 95%,
      rgba(214, 59, 140, 0.19),
      transparent 30%
    ),
    linear-gradient(
      125deg,
      var(--navy-950) 0%,
      var(--navy-800) 58%,
      #0c5fa6 100%
    );
}

.page-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.3;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 62%);
  mask-image: linear-gradient(to right, transparent, #000 62%);
}

.page-hero::after {
  position: absolute;
  right: -75px;
  bottom: -125px;
  width: 420px;
  height: 420px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  box-shadow:
    0 0 0 48px rgba(255, 255, 255, 0.035),
    0 0 0 98px rgba(255, 255, 255, 0.025);
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 470px;
  align-content: center;
  padding-block: 76px 84px;
}

.page-hero--compact .page-hero__inner {
  min-height: 390px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.84rem;
  font-weight: 650;
}

.breadcrumbs li:not(:last-child)::after {
  margin-left: 8px;
  color: rgba(255, 255, 255, 0.35);
  content: "/";
}

.breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: #fff;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  color: var(--blue-700);
  font-size: 0.76rem;
  font-weight: 820;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 26px;
  height: 3px;
  content: "";
  background: linear-gradient(
    90deg,
    var(--orange-500),
    var(--magenta-500),
    var(--blue-500),
    var(--green-500),
    var(--yellow-400)
  );
  border-radius: 99px;
}

/* Eyebrow už vlastní spodní odsazení; nadpis proto nesmí dědit velkou
   typografickou mezeru z dlouhého textu (.prose). */
.eyebrow + :is(h1, h2, h3, h4) {
  margin-top: 0;
}

.prose > .eyebrow + :is(h1, h2, h3, h4) {
  margin-top: 0;
}

.page-hero .eyebrow {
  color: var(--blue-300);
}

.page-hero h1 {
  max-width: 1000px;
  margin-bottom: 24px;
  color: #fff;
}

.page-hero__lead {
  max-width: 760px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  line-height: 1.65;
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.quick-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 9px;
  padding: 0 15px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 680;
  text-decoration: none;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition:
    background var(--transition),
    border-color var(--transition),
    transform var(--transition);
}

.quick-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.17);
  border-color: rgba(255, 255, 255, 0.36);
  transform: translateY(-1px);
}

.quick-link:focus-visible {
  outline: 3px solid var(--action-focus);
  outline-offset: 3px;
}

