    :root {
      --primary:   #1a5276;
      --primary-dark: #154360;
      --accent:    #e67e22;
      --accent-light: #f0a04b;
      --light-bg:  #f4f6f8;
      --text:      #2c3e50;
      --muted:     #6c7a89;
      --white:     #ffffff;
      --border:    #dce3ea;
    }

    *, *::before, *::after { box-sizing: border-box; }

    body {
      font-family: 'Source Sans 3', sans-serif;
      color: var(--text);
      background: var(--white);
      font-size: 16px;
      line-height: 1.7;
    }

    h1,h2,h3,h4 { font-family: 'Lora', serif; }

    a { color: var(--primary); text-decoration: none; }
    a:hover { color: var(--accent); }

    /* ¦¦ TOP BAR ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦ */
    #topbar {
      background: var(--primary-dark);
      color: #b8cfe8;
      font-size: 0.82rem;
      padding: 6px 0;
    }
    #topbar a { color: #b8cfe8; }
    #topbar a:hover { color: #fff; }
    #topbar .sep { margin: 0 10px; opacity: .4; }

    /* ¦¦ NAVBAR ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦ */
    #mainNav {
      background: var(--white);
      box-shadow: 0 2px 8px rgba(0,0,0,.09);
      position: sticky;
      top: 0;
      z-index: 1030;
    }
    .navbar-brand-wrap { display: flex; align-items: center; gap: 14px; }
    .brand-logo {
      width: 52px; height: 52px;
      background: var(--primary);
      border-radius: 8px;
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
    }
    .brand-logo svg { width: 32px; height: 32px; fill: white; }
    .brand-text .school-name {
      font-family: 'Lora', serif;
      font-weight: 700;
      font-size: 1.15rem;
      color: var(--primary);
      line-height: 1.2;
      display: block;
    }
    .brand-text .school-sub {
      font-size: 0.78rem;
      color: var(--muted);
      display: block;
    }
    .navbar-nav .nav-link {
      font-weight: 600;
      font-size: 0.88rem;
      color: var(--text) !important;
      padding: 8px 14px !important;
      letter-spacing: .02em;
      text-transform: uppercase;
      position: relative;
    }
    .navbar-nav .nav-link::after {
      content: '';
      position: absolute;
      bottom: 4px; left: 14px; right: 14px; height: 2px;
      background: var(--accent);
      transform: scaleX(0);
      transition: transform .25s;
    }
    .navbar-nav .nav-link:hover::after,
    .navbar-nav .nav-link.active::after { transform: scaleX(1); }
    .navbar-nav .nav-link:hover { color: var(--primary) !important; }
    .nav-btn-contact {
      background: var(--accent);
      color: white !important;
      border-radius: 6px;
      padding: 7px 18px !important;
    }
    .nav-btn-contact:hover { background: var(--accent-light); }
    .nav-btn-contact::after { display: none !important; }

    /* ¦¦ HERO ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦ */
    #hero {
      background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, #2e86c1 100%);
      color: white;
      padding: 80px 0 60px;
      position: relative;
      overflow: hidden;
    }
    #hero::before {
      content: '';
      position: absolute;
      inset: 0;
      background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    }
    #hero .hero-label {
      display: inline-block;
      background: rgba(255,255,255,.15);
      border: 1px solid rgba(255,255,255,.3);
      border-radius: 20px;
      padding: 4px 14px;
      font-size: .82rem;
      letter-spacing: .08em;
      text-transform: uppercase;
      margin-bottom: 16px;
    }
    #hero h1 { font-size: clamp(2rem,5vw,3.2rem); font-weight: 700; line-height: 1.2; margin-bottom: 16px; }
    #hero p.lead { font-size: 1.1rem; opacity: .88; max-width: 560px; margin-bottom: 32px; text-align: justify; }
    .hero-btns .btn-hero-primary {
      background: var(--accent);
      color: white;
      border: none;
      padding: 12px 28px;
      border-radius: 8px;
      font-weight: 700;
      font-size: .95rem;
      transition: background .2s, transform .15s;
    }
    .hero-btns .btn-hero-primary:hover { background: var(--accent-light); transform: translateY(-2px); }
    .hero-btns .btn-hero-outline {
      background: transparent;
      color: white;
      border: 2px solid rgba(255,255,255,.5);
      padding: 11px 26px;
      border-radius: 8px;
      font-weight: 600;
      font-size: .95rem;
      margin-left: 12px;
      transition: border-color .2s, background .2s;
    }
    .hero-btns .btn-hero-outline:hover { border-color: white; background: rgba(255,255,255,.1); }
    .hero-stats {
      display: flex; gap: 32px; margin-top: 44px;
      padding-top: 32px;
      border-top: 1px solid rgba(255,255,255,.2);
    }
    .hero-stat .num { font-family: 'Lora', serif; font-size: 2rem; font-weight: 700; line-height: 1; }
    .hero-stat .lbl { font-size: .8rem; opacity: .7; margin-top: 2px; }
    .hero-image-wrap {
      position: relative;
      display: flex; align-items: center; justify-content: center;
    }
    /* ¦¦ HERO SLIDESHOW ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦ */
    .hero-slideshow {
      width: 100%;
      aspect-ratio: 3/2;
      border-radius: 16px;
      overflow: hidden;
      border: 3px solid rgba(255,255,255,.25);
      box-shadow: 0 20px 60px rgba(0,0,0,.35);
      position: relative;
    }
    .hero-slideshow .slide {
      position: absolute;
      inset: 0;
      opacity: 0;
      transition: opacity .9s ease-in-out;
    }
    .hero-slideshow .slide.active { opacity: 1; }
    .hero-slideshow .slide img {
      width: 100%; height: 100%;
      object-fit: cover;
      display: block;
    }
    .hero-slideshow .slide-caption {
      position: absolute;
      bottom: 0; left: 0; right: 0;
      background: linear-gradient(transparent, rgba(0,0,0,.6));
      color: white;
      padding: 28px 18px 14px;
      font-size: .82rem;
      font-weight: 600;
      letter-spacing: .02em;
    }
    .slideshow-dots {
      position: absolute;
      bottom: 12px; right: 14px;
      display: flex; gap: 6px;
      z-index: 10;
    }
    .slideshow-dots .dot {
      width: 8px; height: 8px;
      border-radius: 50%;
      background: rgba(255,255,255,.5);
      cursor: pointer;
      transition: background .3s, transform .3s;
      border: none; padding: 0;
    }
    .slideshow-dots .dot.active {
      background: white;
      transform: scale(1.3);
    }
    .slideshow-arrows {
      position: absolute;
      top: 50%; transform: translateY(-50%);
      width: 100%;
      display: flex; justify-content: space-between;
      padding: 0 10px;
      z-index: 10;
      pointer-events: none;
    }
    .slideshow-arrows button {
      pointer-events: all;
      background: rgba(255,255,255,.2);
      border: 1px solid rgba(255,255,255,.4);
      color: white;
      width: 34px; height: 34px;
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      font-size: .8rem;
      cursor: pointer;
      transition: background .2s;
      backdrop-filter: blur(4px);
    }
    .slideshow-arrows button:hover { background: rgba(255,255,255,.4); }

    /* ¦¦ QUICK LINKS ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦ */
    #quickLinks { background: var(--light-bg); padding: 28px 0; }
    .quick-card {
      display: flex; align-items: center; gap: 14px;
      background: white;
      border: 1px solid var(--border);
      border-radius: 10px;
      padding: 16px 20px;
      transition: box-shadow .2s, transform .15s;
      cursor: pointer;
      height: 100%;
    }
    .quick-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.1); transform: translateY(-2px); }
    .quick-icon {
      width: 44px; height: 44px; border-radius: 10px;
      background: var(--primary);
      color: white;
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
      font-size: 1.1rem;
    }
    .quick-card:nth-child(2) .quick-icon { background: var(--accent); }
    .quick-card:nth-child(3) .quick-icon { background: #27ae60; }
    .quick-card:nth-child(4) .quick-icon { background: #8e44ad; }
    .quick-label { font-weight: 700; font-size: .9rem; color: var(--text); line-height: 1.2; }
    .quick-sub { font-size: .78rem; color: var(--muted); margin-top: 2px; }

    /* ¦¦ SECTION HEADINGS ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦ */
    .sec-heading { margin-bottom: 36px; }
    .sec-heading .eyebrow {
      display: inline-block;
      background: var(--accent);
      color: white;
      font-size: .75rem;
      font-weight: 700;
      letter-spacing: .1em;
      text-transform: uppercase;
      padding: 3px 12px;
      border-radius: 4px;
      margin-bottom: 10px;
    }
    .sec-heading h2 { font-size: clamp(1.6rem,3vw,2.2rem); color: var(--primary-dark); margin: 0; }
    .sec-heading .divider {
      width: 48px; height: 3px;
      background: var(--accent);
      border-radius: 2px;
      margin-top: 12px;
    }

    /* ¦¦ NEWS ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦ */
    #novinky { padding: 64px 0; }
    .news-card {
      background: white;
      border: 1px solid var(--border);
      border-radius: 12px;
      overflow: hidden;
      transition: box-shadow .25s, transform .2s;
      height: 100%;
      display: flex; flex-direction: column;
    }
    .news-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,.1); transform: translateY(-3px); }
    .news-img {
      aspect-ratio: 16/9;
      position: relative;
      overflow: hidden;
    }
    .news-img img {
      width: 100%; height: 100%;
      object-fit: cover;
      display: block;
      transition: transform .4s ease;
    }
    .news-card:hover .news-img img { transform: scale(1.05); }
    .news-img .news-cat {
      position: absolute;
      top: 12px; left: 12px;
      background: var(--primary);
      color: white;
      font-size: .72rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .08em;
      padding: 3px 10px;
      border-radius: 4px;
      z-index: 2;
    }
    .news-img .news-cat.cat-akce { background: #27ae60; }
    .news-img .news-cat.cat-sport { background: var(--accent); }
    .news-img .news-cat.cat-eu { background: #003399; }
    .news-img .news-cat.cat-provoz { background: #7f8c8d; }
    .news-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
    .news-date { font-size: .78rem; color: var(--muted); margin-bottom: 8px; }
    .news-body h3 { font-size: 1.05rem; color: var(--primary-dark); margin-bottom: 8px; line-height: 1.35; }
    .news-body p { font-size: .88rem; color: var(--muted); flex: 1; margin-bottom: 16px; }
    .btn-read {
      color: var(--primary);
      font-weight: 700;
      font-size: .85rem;
      padding: 0;
      border: none; background: none;
      cursor: pointer;
    }
    .btn-read:hover { color: var(--accent); }
    .btn-read i { margin-left: 4px; font-size: .75rem; }

    /* ¦¦ ARTICLE BLOCK ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦ */
    #clanek { padding: 64px 0; background: var(--light-bg); }
    .article-card {
      background: white;
      border-radius: 14px;
      overflow: hidden;
      box-shadow: 0 2px 12px rgba(0,0,0,.06);
    }
    .article-banner {
      height: 260px;
      background: linear-gradient(120deg, var(--primary) 0%, #2e86c1 100%);
      display: flex; align-items: center; justify-content: center;
      color: white; font-size: 4rem; opacity: .7;
    }
    .article-content { padding: 36px 40px; }
    .article-content .meta { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
    .article-content .meta .badge-cat {
      background: #eaf3fb;
      color: var(--primary);
      font-size: .78rem;
      font-weight: 700;
      padding: 4px 12px;
      border-radius: 20px;
    }
    .article-content .meta .date { font-size: .82rem; color: var(--muted); }
    .article-content h2 { font-size: 1.7rem; color: var(--primary-dark); margin-bottom: 16px; }
    .article-content p { color: #4a5568; margin-bottom: 14px; }
    .article-sidebar { padding: 36px 28px; border-left: 1px solid var(--border); }
    @media (max-width: 767px) {
      .article-sidebar { border-left: none; border-top: 1px solid var(--border); padding: 28px; }
      .article-content { padding: 28px; }
    }
    .sidebar-widget { margin-bottom: 32px; }
    .sidebar-widget h4 { font-size: 1rem; color: var(--primary-dark); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--accent); }
    .sidebar-link {
      display: flex; align-items: center; gap: 10px;
      padding: 9px 0;
      border-bottom: 1px solid var(--border);
      font-size: .88rem;
      color: var(--text);
      transition: color .2s;
    }
    .sidebar-link:last-child { border-bottom: none; }
    .sidebar-link i { color: var(--accent); width: 16px; flex-shrink: 0; }
    .sidebar-link:hover { color: var(--primary); }

    /* ¦¦ SUBMENU / ROZCESTNÍK ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦ */
    #rozcestnik { padding: 64px 0; }
    .roz-card {
      border-radius: 12px;
      overflow: hidden;
      border: 1px solid var(--border);
      transition: box-shadow .25s, transform .2s;
      height: 100%;
      display: flex; flex-direction: column;
      background: white;
    }
    .roz-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,.1); transform: translateY(-3px); }
    .roz-header {
      padding: 24px;
      display: flex; align-items: center; gap: 16px;
      border-bottom: 1px solid var(--border);
    }
    .roz-icon {
      width: 52px; height: 52px;
      border-radius: 12px;
      display: flex; align-items: center; justify-content: center;
      font-size: 1.4rem;
      color: white;
      flex-shrink: 0;
    }
    .roz-header h3 { font-size: 1.05rem; color: var(--primary-dark); margin: 0; }
    .roz-header p { font-size: .82rem; color: var(--muted); margin: 0; }
    .roz-links { padding: 16px 24px; flex: 1; }
    .roz-link {
      display: flex; align-items: center; justify-content: space-between;
      padding: 9px 0;
      border-bottom: 1px dashed var(--border);
      font-size: .88rem;
      color: var(--text);
      transition: color .2s;
    }
    .roz-link:last-child { border-bottom: none; }
    .roz-link:hover { color: var(--primary); }
    .roz-link i { font-size: .7rem; color: var(--muted); }

    /* ¦¦ DOCUMENTS ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦ */
    #dokumenty { padding: 64px 0; background: var(--light-bg); }
    .doc-filter { margin-bottom: 28px; display: flex; gap: 8px; flex-wrap: wrap; }
    .doc-filter .btn-filter {
      border: 1px solid var(--border);
      background: white;
      color: var(--text);
      padding: 6px 18px;
      border-radius: 20px;
      font-size: .85rem;
      font-weight: 600;
      cursor: pointer;
      transition: all .2s;
    }
    .doc-filter .btn-filter:hover,
    .doc-filter .btn-filter.active {
      background: var(--primary);
      border-color: var(--primary);
      color: white;
    }
    .doc-table-wrap {
      background: white;
      border: 1px solid var(--border);
      border-radius: 12px;
      overflow: hidden;
    }
    .doc-row {
      display: flex; align-items: center; gap: 16px;
      padding: 14px 20px;
      border-bottom: 1px solid var(--border);
      transition: background .15s;
    }
    .doc-row:last-child { border-bottom: none; }
    .doc-row:hover { background: var(--light-bg); }
    .doc-icon { font-size: 1.4rem; flex-shrink: 0; width: 24px; text-align: center; }
    .doc-icon.pdf { color: #e74c3c; }
    .doc-icon.docx { color: #2980b9; }
    .doc-icon.xlsx { color: #27ae60; }
    .doc-info { flex: 1; }
    .doc-name { font-weight: 600; font-size: .92rem; color: var(--text); line-height: 1.3; }
    .doc-meta { font-size: .78rem; color: var(--muted); margin-top: 2px; }
    .doc-dl {
      flex-shrink: 0;
      display: flex; align-items: center; gap: 8px;
      background: var(--primary);
      color: white;
      border-radius: 6px;
      padding: 6px 14px;
      font-size: .82rem;
      font-weight: 700;
      transition: background .2s;
      cursor: pointer;
    }
    .doc-dl:hover { background: var(--primary-dark); color: white; }
    .doc-size { flex-shrink: 0; font-size: .78rem; color: var(--muted); width: 54px; text-align: right; }

    /* ¦¦ SPONSORS / EU ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦ */
    #sponzori { padding: 56px 0; background: var(--primary-dark); color: white; }
    #sponzori .sec-heading .eyebrow { background: rgba(255,255,255,.2); }
    #sponzori .sec-heading h2 { color: white; }
    #sponzori .sec-heading .divider { background: rgba(255,255,255,.4); }
    .eu-banner {
      background: rgba(255,255,255,.07);
      border: 1px solid rgba(255,255,255,.15);
      border-radius: 12px;
      padding: 28px 32px;
      display: flex; align-items: center; gap: 24px;
      margin-bottom: 32px;
    }
    .eu-flag {
      width: 72px; height: 48px;
      background: #003399;
      border-radius: 6px;
      flex-shrink: 0;
      display: flex; align-items: center; justify-content: center;
      font-size: 1.4rem;
    }
    .eu-text h4 { font-size: 1rem; margin: 0 0 4px; }
    .eu-text p { font-size: .85rem; opacity: .75; margin: 0; }
    .sponsor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
    .sponsor-tile {
      background: rgba(255,255,255,.08);
      border: 1px solid rgba(255,255,255,.12);
      border-radius: 10px;
      padding: 18px 14px;
      text-align: center;
      transition: background .2s;
    }
    .sponsor-tile:hover { background: rgba(255,255,255,.14); }
    .sponsor-logo {
      width: 64px; height: 36px;
      background: rgba(255,255,255,.15);
      border-radius: 4px;
      margin: 0 auto 10px;
      display: flex; align-items: center; justify-content: center;
      font-size: .7rem;
      color: rgba(255,255,255,.5);
    }
    .sponsor-name { font-size: .8rem; color: rgba(255,255,255,.8); font-weight: 600; }

    /* ¦¦ FOOTER ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦ */
    footer { background: #0e2d45; color: #a8bfd4; font-size: .88rem; padding: 52px 0 0; }
    footer h5 { font-family: 'Lora', serif; color: white; margin-bottom: 18px; font-size: 1rem; }
    footer a { color: #a8bfd4; }
    footer a:hover { color: white; }
    .footer-divider { border-color: rgba(255,255,255,.1); margin: 36px 0 0; }
    .footer-bottom {
      padding: 16px 0;
      font-size: .78rem;
      color: rgba(255,255,255,.4);
      display: flex; justify-content: space-between; align-items: center;
      flex-wrap: wrap; gap: 8px;
    }
    .footer-link-list { list-style: none; padding: 0; margin: 0; }
    .footer-link-list li { margin-bottom: 10px; }
    .footer-link-list a { display: flex; align-items: center; gap: 8px; }
    .footer-link-list a i { font-size: .75rem; color: var(--accent); }
    .footer-contact p { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; }
    .footer-contact i { margin-top: 3px; color: var(--accent); flex-shrink: 0; }
    .social-icons { display: flex; gap: 10px; margin-top: 16px; }
    .social-icon {
      width: 36px; height: 36px;
      background: rgba(255,255,255,.1);
      border-radius: 8px;
      display: flex; align-items: center; justify-content: center;
      color: #a8bfd4;
      transition: background .2s, color .2s;
    }
    .social-icon:hover { background: var(--accent); color: white; }

    /* ¦¦ UTILS ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦ */
    .btn-accent {
      background: var(--accent);
      color: white;
      border: none;
      padding: 10px 24px;
      border-radius: 8px;
      font-weight: 700;
      font-size: .9rem;
      transition: background .2s;
      display: inline-flex; align-items: center; gap: 8px;
    }
    .btn-accent:hover { background: var(--accent-light); color: white; }
    .btn-outline-primary-custom {
      border: 2px solid var(--primary);
      color: var(--primary);
      background: transparent;
      padding: 9px 22px;
      border-radius: 8px;
      font-weight: 700;
      font-size: .9rem;
      transition: all .2s;
      display: inline-flex; align-items: center; gap: 8px;
    }
    .btn-outline-primary-custom:hover { background: var(--primary); color: white; }

    @media (max-width: 991px) {
      .hero-stats { gap: 20px; }
      .hero-stat .num { font-size: 1.5rem; }
    }
    @media (max-width: 575px) {
      .hero-btns .btn-hero-outline { margin-left: 0; margin-top: 10px; }
      .hero-btns { display: flex; flex-direction: column; gap: 0; }
      .eu-banner { flex-direction: column; text-align: center; }
    }
