    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    :root{--g:#009a44;--g-dark:#007a35;--g-head:#00a751;--g-tint:#e6f5ed;--ink:#000;--mute:#666;--line:#e3e8e5;--bad:#b3261e;--bad-tint:#fdecea}
    body {
      font-family: 'Inter', system-ui, sans-serif;
      background: #f5f5f5;
      -webkit-font-smoothing: antialiased;
    }

    /* ── Upper Header ────────────────────────────────────────────────── */
    .upper-header {
      background-color: #00a751;
      width: 100%;
    }
    .upper-header-inner {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 24px;
      display: flex;
      align-items: stretch;
      justify-content: space-between;
      min-height: 80px;
    }

    /* Left: logo + name */
    .upper-header-logo {
      display: flex;
      align-items: center;
      gap: 16px;
      padding: 14px 0;
    }
    .logo-link {
      display: flex;
      align-items: center;
      flex-shrink: 0;
      text-decoration: none;
    }
    .logo-link img {
      height: clamp(48px, 7vw, 80px);
      width: auto;
      max-width: 180px;
      display: block;
      object-fit: contain;
      /*border-radius: 12px;*/
    }
    .header-name {
      color: #ffffff;
      font-family: 'DM Serif Display', serif;
      font-size: 26px;
      font-weight: 400;
      letter-spacing: 0.01em;
      line-height: 1.25;
      text-align: center;
    }

    /* Right: search + lang + social */
    .upper-header-right {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: flex-end;
      gap: 10px;
      padding: 12px 0;
    }
    .upper-search-row {
      display: flex;
      align-items: center;
      gap: 20px;
    }
    .search-box {
      display: flex;
      align-items: center;
      gap: 8px;
      background: rgba(255,255,255,0.15);
      border: 1px solid rgba(255,255,255,0.25);
      border-radius: 4px;
      padding: 6px 12px;
    }
    .search-box input {
      background: none;
      border: none;
      outline: none;
      color: #ffffff;
      font-size: 13px;
      font-family: 'Inter', sans-serif;
      width: 180px;
      letter-spacing: 0.02em;
    }
    .search-box input::placeholder { color: rgba(255,255,255,0.6); }
    .lang-btns {
      display: flex;
      gap: 4px;
      align-items: center;
    }
    .lang-btn {
      background: none;
      border: none;
      color: #ffffff;
      font-size: 11.5px;
      font-weight: 500;
      letter-spacing: 0.08em;
      cursor: pointer;
      padding: 2px 0;
      font-family: 'Inter', sans-serif;
      transition: opacity 0.2s ease;
    }
    .lang-btn:hover { opacity: 0.7; }
    .lang-sep { color: rgba(255,255,255,0.4); font-size: 12px; }

    /* Social row */
    .upper-social-row {
      display: flex;
      align-items: center;
      justify-content: flex-end;
    }
    .login-btn {
      background: rgba(255,255,255,0.1);
      border: 1px solid rgba(255,255,255,0.35);
      border-radius: 4px;
      color: #ffffff;
      cursor: pointer;
      height: 32px;
      padding: 0 12px;
      display: flex;
      align-items: center;
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.05em;
      font-family: 'Inter', sans-serif;
      white-space: nowrap;
      transition: background 0.2s ease;
      margin-right: 12px;
    }
    .login-btn:hover { background: rgba(255,255,255,0.25); }

    .social-icons {
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .social-btn {
      background: rgba(255,255,255,0.15);
      border: 1px solid rgba(255,255,255,0.2);
      border-radius: 4px;
      color: #ffffff;
      cursor: pointer;
      height: 32px;
      width: 32px;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background 0.2s ease;
    }
    .social-btn:hover { background: rgba(255,255,255,0.28); }
    .social-btn svg { display: block; }

    /* ── Login modal ─────────────────────────────────────────────────── */
    .login-backdrop {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.35);
      z-index: 9998;
    }
    .login-backdrop.open { display: block; }
    .login-modal {
      display: none;
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      z-index: 9999;
      width: min(340px, 92vw);
      background: #ffffff;
      border-radius: 12px;
      box-shadow: 0 24px 64px rgba(0,0,0,0.22), 0 4px 16px rgba(0,0,0,0.10);
      border: 1px solid rgba(0,154,68,0.15);
      padding: 24px 22px 20px;
    }
    .login-modal.open { display: block; }
    .login-modal h3 {
      font-size: 16px;
      font-weight: 700;
      color: #000;
      margin-bottom: 4px;
    }
    .login-modal .subtitle {
      font-size: 12px;
      color: #888;
      margin-bottom: 20px;
    }
    .login-modal label {
      display: block;
      font-size: 12px;
      font-weight: 600;
      color: #000;
      margin-bottom: 6px;
      letter-spacing: 0.02em;
    }
    .login-modal input[type="email"],
    .login-modal input[type="text"],
    .login-modal input[type="password"] {
      width: 100%;
      height: 40px;
      border: 1px solid rgba(0,0,0,0.18);
      border-radius: 8px;
      padding: 0 12px;
      font-size: 13.5px;
      color: #000;
      font-family: 'Inter', sans-serif;
      outline: none;
      background: #fafafa;
      margin-bottom: 14px;
      transition: border-color 0.2s ease;
    }
    .login-modal input:focus { border-color: #009a44; }
    .login-util-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 18px;
    }
    .login-util-row label {
      display: flex;
      align-items: center;
      gap: 7px;
      cursor: pointer;
      margin-bottom: 0;
      font-weight: 400;
      color: #444;
    }
    .login-util-row input[type="checkbox"] {
      width: 14px;
      height: 14px;
      accent-color: #009a44;
      cursor: pointer;
    }
    .login-util-row a {
      font-size: 12px;
      color: #777;
      text-decoration: none;
    }
    .login-util-row a:hover { color: #009a44; }
    .login-submit {
      width: 100%;
      height: 42px;
      background: #009a44;
      border: none;
      border-radius: 8px;
      color: #ffffff;
      font-size: 14px;
      font-weight: 700;
      letter-spacing: 0.04em;
      cursor: pointer;
      font-family: 'Inter', sans-serif;
      transition: background 0.2s ease;
    }
    .login-submit:hover { background: #007a35; }
    .login-close-row {
      margin-top: 12px;
      text-align: center;
    }
    .login-close-btn {
      background: none;
      border: none;
      font-size: 11.5px;
      color: #aaa;
      cursor: pointer;
      font-family: 'Inter', sans-serif;
    }

    /* ── Mobile ──────────────────────────────────────────────────────── */
    @media (max-width: 768px) {
      .upper-header-inner {
        flex-direction: column;
        align-items: center;
        padding: 14px 16px;
        gap: 12px;
        min-height: unset;
      }
      .upper-header-logo { justify-content: center; padding: 0; }
      .upper-header-right { align-items: center; width: 100%; gap: 8px; }
      .upper-search-row { justify-content: center; flex-wrap: wrap; gap: 8px; }
      .search-box input { width: 140px; }
      .upper-social-row { justify-content: center; }
    }
  
    .social-btn, .lang-btn { text-decoration: none; }
  
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    body {
      font-family: 'Inter', system-ui, sans-serif;
      background: #f5f5f5;
      -webkit-font-smoothing: antialiased;
    }

    /* ── Nav ─────────────────────────────────────────────────────────── */
    .navbar {
      background: #ffffff;
      border-bottom: 1px solid #009a44;
      position: sticky;
      top: 0;
      z-index: 200;
      box-shadow: 0 2px 12px rgba(0,154,68,0.06);
    }
    .navbar-inner {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 16px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    /* Desktop links */
    .desktop-nav-links {
      display: flex;
      align-items: center;
      gap: 2px;
      justify-content: center;
    }
    .nav-btn {
      background: none;
      border: none;
      color: #000000;
      font-size: 13.5px;
      font-weight: 400;
      letter-spacing: 0.03em;
      cursor: pointer;
      padding: 16px 18px;
      font-family: 'Inter', sans-serif;
      transition: color 0.2s ease;
      position: relative;
    }
    .nav-btn:hover { color: #009a44; }
    .nav-btn.active {
      color: #009a44;
      font-weight: 600;
    }
    .nav-btn.active::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 18px;
      right: 18px;
      height: 2px;
      background: #009a44;
      border-radius: 1px 1px 0 0;
    }

    /* Hamburger */
    .hamburger-btn {
      display: none;
      background: none;
      border: none;
      cursor: pointer;
      padding: 14px 8px;
      flex-direction: column;
      gap: 5px;
      align-items: center;
      justify-content: center;
    }
    .hamburger-btn span {
      display: block;
      width: 24px;
      height: 2.5px;
      background: #000;
      border-radius: 2px;
      transition: transform 0.25s ease, opacity 0.2s ease;
    }
    .hamburger-btn.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
    .hamburger-btn.open span:nth-child(2) { opacity: 0; }
    .hamburger-btn.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

    /* Mobile active label */
    .mobile-active-label {
      display: none;
      font-size: 14px;
      font-weight: 600;
      color: #009a44;
      padding: 16px 0;
    }

    /* Mobile drawer */
    
    .mobile-drawer {
      display: none;
      flex-direction: column;
      border-top: 1px solid rgba(0,154,68,0.15);
      background: #ffffff;
      padding: 8px 0 12px;
                position: absolute;
                top: 56px;
                left: 0;
                right: 0;
                min-height: 250px;
                bottom: 0;
                z-index: 4;
                background: #fff;
                overflow-y: auto;
                overscroll-behavior: contain;
                -webkit-overflow-scrolling: touch;
                transform: translateY(-8px);
                transition: opacity .2s,transform .2s,visibility .2s;
                border-bottom: 1px solid black;
    }

    .mobile-drawer.open { display: flex; }
    

    /*
            .mobile-drawer {
                position: absolute;
                top: 56px;
                left: 0;
                right: 0;
                bottom: 0;
                z-index: 4;
                background: #fff;
                overflow-y: auto;
                overscroll-behavior: contain;
                -webkit-overflow-scrolling: touch;
                padding: 4px 0 28px;
                transform: translateY(-8px);
                opacity: 0;
                visibility: hidden;
                transition: opacity .2s,transform .2s,visibility .2s
            }

            .mobile-drawer.open {
                opacity: 1;
                transform: none;
                visibility: visible
            }
            .drawer-group {
                border-bottom: 1px solid rgba(0,0,0,.07)
            }      
            
            .mobile-drawer.open ~ .m-fade {
                opacity: 1
            }            
*/
    .drawer-btn {
      background: none;
      border: none;
      text-align: left;
      padding: 13px 24px;
      font-size: 15px;
      font-weight: 400;
      color: #000;
      cursor: pointer;
      font-family: 'Inter', sans-serif;
      border-left: 3px solid transparent;
      transition: color 0.15s ease, background 0.15s ease;
    }
    .drawer-btn:hover { background: rgba(0,154,68,0.05); }
    .drawer-btn.active {
      font-weight: 700;
      color: #009a44;
      border-left-color: #009a44;
    }

    /* ── Mobile breakpoint ───────────────────────────────────────────── */
    @media (max-width: 768px) {
      .desktop-nav-links { display: none !important; }
      .hamburger-btn { display: flex !important; }
      .mobile-active-label { display: block !important; }
    }
  
    /* the delivered component styled <button>; these are links now */
    .nav-btn { text-decoration: none; display: inline-block; }
    .drawer-btn { text-decoration: none; display: block; }
    .nav-item { position: relative; }
    .nav-item:hover .nav-panel { display: block; }
    .nav-panel {
      display: none; position: absolute; top: 100%; left: 0; z-index: 300;
      /* No overflow here: it would clip the flyouts that open to the side. */
      min-width: 280px; max-width: 380px;
      background: #fff; border: 1px solid rgba(0,154,68,0.18); border-radius: 0 0 12px 12px;
      box-shadow: 0 12px 32px rgba(0,0,0,0.12); padding: 10px 0;
    }
    .nav-group { padding: 4px 0; }
    .nav-sub {
      display: block; padding: 8px 18px; font-size: 13.5px; font-weight: 600; color: #000;
      text-decoration: none; line-height: 1.35;
    }
    .nav-sub:hover { color: #009a44; background: rgba(0,154,68,0.06); }
    .nav-leaf {
      display: block; padding: 6px 18px 6px 32px; font-size: 12.5px; font-weight: 400;
      color: #555; text-decoration: none; line-height: 1.35;
    }
    .nav-leaf:hover { color: #009a44; background: rgba(0,154,68,0.05); }
    .nav-branch { position: relative; }
    .nav-branch > .nav-flyout { display: none; }
    .nav-branch:hover > .nav-flyout { display: block; }
    .nav-flyout {
      position: absolute; top: -10px; left: 100%; z-index: 320;
      min-width: 260px; max-width: 340px;
      background: #fff; border: 1px solid rgba(0,154,68,0.18); border-radius: 12px;
      box-shadow: 0 12px 32px rgba(0,0,0,0.12); padding: 10px 0;
    }
    .nav-more { float: right; color: #009a44; font-weight: 700; opacity: 0.7; }
    .drawer-group { border-bottom: 1px solid rgba(0,0,0,0.06); }
    .drawer-sub {
      display: block; padding: 9px 24px 9px 36px; font-size: 13.5px; color: #333;
      text-decoration: none;
    }
    .drawer-leaf {
      display: block; padding: 7px 24px 7px 50px; font-size: 12.5px; color: #666;
      text-decoration: none;
    }
    @media (max-width: 768px) { .nav-panel { display: none !important; } }
  
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { font-family: 'Inter', system-ui, sans-serif; scroll-behavior: smooth; }
    body { background:#fff; color:#000; font-weight:500; line-height:20px; -webkit-font-smoothing:antialiased; }

    /* Scrollbar */
    ::-webkit-scrollbar{width:8px;height:8px}
    ::-webkit-scrollbar-track{background:#f0f0f0}
    ::-webkit-scrollbar-thumb{background:var(--g);border-radius:4px;border:2px solid #f0f0f0}:
    :-webkit-scrollbar-thumb:hover{background:var(--g-dark)}
    *{scrollbar-width:thin;scrollbar-color:var(--g) #f0f0f0}

    /* Carousel */
    .carousel-slide { position:absolute; inset:0; opacity:0; transition:opacity 0.9s cubic-bezier(0.4,0,0.2,1); pointer-events:none; }
    .carousel-slide.active { opacity:1; pointer-events:auto; }

    /* Article hover */
    article { line-height:1.75 }
    .article-card { /*cursor:pointer;*/ }
    .article-card:hover .article-title { color:#009a44; }
    .article-thumb { transition:transform 0.4s cubic-bezier(0.4,0,0.2,1); display:block; width:100%; height:100%; object-fit:cover; }
    .article-card:hover .article-thumb { transform:scale(1.04); }

/* ── Vzorový článok (jediný základ pre všetky články webu) ───────────── */
article{font-family:'Inter',system-ui,sans-serif;font-size:16px;font-weight:400;line-height:1.85;letter-spacing:.004em;color:#111;text-align:justify;hyphens:auto;-webkit-hyphens:auto}
article h2{font-size:22px;font-weight:700;line-height:1.25;letter-spacing:-.015em;color:var(--g);text-align:left;margin:28px 0 14px}
article h3{font-family:'DM Serif Display',serif;font-weight:400;font-size:24px;line-height:1.25;color:#000;text-align:left;margin:0 0 12px}
article h4{font-size:17px;font-weight:700;line-height:1.35;text-align:left;margin:22px 0 8px}
article p{margin:0 0 16px; text-align: justify;}
article a{color:var(--g);text-decoration:underline;text-underline-offset:2px}
article a:hover{color:var(--g-dark)}
article figure{margin:20px auto;text-align:center;clear:both}
article figure img{display:block;margin:0 auto;max-width:100%;height:auto;border-radius:12px;float:none}
article figcaption{margin:8px auto 0;font-size:13px;line-height:1.5;color:var(--mute);text-align:center}
article ul{list-style:none;padding-left:22px;margin:0 0 16px}
article li{position:relative;margin-bottom:8px}
article ul>li::before{content:"";position:absolute;left:-16px;top:.7em;width:6px;height:6px;border-radius:50%;background:var(--g)}

    /* Nav link */
    .nav-link { position:relative; transition:color 0.2s ease; }
    .nav-link::after { content:''; position:absolute; bottom:0; left:18px; right:18px; height:2px; background:#009a44; border-radius:1px 1px 0 0; transform:scaleX(0); transition:transform 0.25s ease; }
    .nav-link.active::after, .nav-link:hover::after { transform:scaleX(1); }
    .nav-link.active { color:#009a44 !important; font-weight:600 !important; }
    .nav-link:hover { color:#009a44 !important; }

    /* Partner hover */
    .partner-logo { filter:grayscale(100%) opacity(0.55); transition:filter 0.3s ease, transform 0.3s ease; cursor:pointer; }
    .partner-logo:hover { filter:grayscale(0%) opacity(1); transform:scale(1.04); }

    /* Cal row hover */
    .cal-row:hover { background:rgba(0,154,68,0.09) !important; }
    .notice-item:hover { color:#009a44 !important; }

    /* Hamburger — desktop hidden */
    .hamburger-btn { display:none !important; }
    .mobile-active-label { display:none !important; }
    .mobile-drawer { display:none; }

    /* ── Mobile ─────────────────────────────────────────── */
    @media (max-width:768px) {
      .upper-header-inner { flex-direction:column !important; align-items:center !important; padding:14px 16px !important; gap:12px !important; min-height:unset !important; }
      .upper-header-logo { justify-content:center !important; padding:0 !important; }
      .upper-header-right { align-items:center !important; width:100% !important; gap:8px !important; }
      .upper-search-row { justify-content:center !important; flex-wrap:wrap !important; gap:8px !important; }
      .upper-search-input { width:130px !important; }
      .upper-social-row { justify-content:center !important; flex-wrap:wrap !important; }
      .hamburger-btn { display:flex !important; }
      .mobile-active-label { display:block !important; }
      .desktop-nav-links { display:none !important; }
      .main-grid { grid-template-columns:1fr !important; gap:36px !important; }
      .main-section { padding:28px 14px 48px !important; }
      .featured-img { height:200px !important; }
      .hero-carousel { height:240px !important; }
      .partners-grid { grid-template-columns:repeat(2,1fr) !important; }
      .corp-name { font-size:clamp(14px,4vw,22px) !important; }
      .login-modal { width:min(340px,92vw) !important; }
    }
  
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    body {
      font-family: 'Inter', system-ui, sans-serif;
      background: #ffffff;
      color: #000000;
      -webkit-font-smoothing: antialiased;
    }

    /* ── Combined Footer ─────────────────────────────────────────────── */
    .site-footer {
      border-top: 1px solid rgba(0,0,0,0.08);
      clear:both;
    }

    /* ── Partners section ────────────────────────────────────────────── */
    .partners-section {
      background: #ffffff;
      padding: 64px 24px 56px;
    }
    .partners-inner {
      max-width: 1100px;
      margin: 0 auto;
    }
    .partners-heading {
      text-align: center;
      margin-bottom: 44px;
    }
    .partners-heading h2 {
      font-size: 26px;
      font-weight: 700;
      letter-spacing: 0.14em;
      color: #009a44;
      text-transform: uppercase;
    }

    /* Grid */
    .partners-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      border: 1px solid rgba(0,0,0,0.07);
      border-radius: 16px;
      overflow: hidden;
      background: #ffffff;
      box-shadow: 0 4px 24px rgba(0,0,0,0.05);
    }
    .sponsor-cell {
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 24px 20px;
      min-height: 110px;
      text-decoration: none;
      transition: transform 0.25s ease;
    }
    .sponsor-cell:hover { transform: translateY(-2px); }
    .sponsor-cell.border-right  { border-right:  1px solid rgba(0,0,0,0.06); }
    .sponsor-cell.border-bottom { border-bottom: 1px solid rgba(0,0,0,0.06); }
    .sponsor-inner {
      width: 100%;
      height: 72px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 12px;
      background: #ffffff;
      box-shadow: 0 2px 12px rgba(0,0,0,0.07), 0 1px 3px rgba(0,0,0,0.04);
      overflow: hidden;
      padding: 10px 16px;
      transition: box-shadow 0.25s ease;
    }
    .sponsor-cell:hover .sponsor-inner {
      box-shadow: 0 6px 24px rgba(0,154,68,0.14), 0 1px 4px rgba(0,0,0,0.06);
    }
    .sponsor-inner img {
      max-width: 100%;
      max-height: 52px;
      object-fit: contain;
      display: block;
    }
    .sponsor-inner .sponsor-name {
      font-size: 11px;
      font-weight: 600;
      color: #009a44;
      text-align: center;
      line-height: 1.3;
      padding: 0 8px;
    }
    /* 10th sponsor: centred in 3-col grid on desktop */
    .sponsor-last { grid-column: 2; }

    /* ── Legal bar ───────────────────────────────────────────────────── */
    .legal-bar {
      background: #009a44;
      padding: 18px 24px;
      text-align: center;
    }
    .legal-bar-inner {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 4px;
      flex-wrap: wrap;
    }
    .legal-bar-inner a {
      color: #ffffff;
      font-size: 12.5px;
      font-weight: 400;
      letter-spacing: 0.03em;
      text-decoration: none;
      transition: opacity 0.2s ease;
    }
    .legal-bar-inner a:hover { opacity: 0.7; }
    .legal-sep {
      color: rgba(255,255,255,0.4);
      font-size: 12px;
    }

    /* ── Mobile ──────────────────────────────────────────────────────── */
    @media (max-width: 768px) {
      .partners-grid {
        grid-template-columns: repeat(2, 1fr);
      }
      .sponsor-last {
        grid-column: auto;
      }
    }
  
    .legal-bar-inner .legal-static {
      color: #ffffff;
      font-size: 12.5px;
      font-weight: 400;
      letter-spacing: 0.03em;
    }
  
body{background:#fff!important;margin:0!important;padding:0!important;color:#000;} .demo-main{max-width:1200px;margin:0 auto;padding:0 24px;} 
.demo-home-content{width:100%;} 
.demo-article-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:40px;align-items:start;} 
.demo-article-main{min-width:0;} 
.demo-sidebar{min-width:0;} 

@media(max-width:900px){
    .demo-article-layout{grid-template-columns:1fr}
    .demo-sidebar{order:2}
}


.page-section { max-width:1200px; margin:0 auto; padding:48px 24px 80px; }

.breadcrumb { font-size:12.5px; color:#777; margin-bottom:24px; letter-spacing:0.02em; }
.breadcrumb a { color:#777; text-decoration:none; }
.breadcrumb a:hover { color:#009a44; }
.breadcrumb span { color:#ccc; margin:0 7px; }

.page-title {
    margin:0 0 8px; font-family:'DM Serif Display',serif; font-weight:400; color:#000;
    font-size:clamp(28px,3.4vw,34px); line-height:1.15; letter-spacing:-0.01em;
}
.page-lead { margin:0 0 40px; font-size:15px; color:#666; line-height:1.7; }
.page-empty {
    border:1.5px dashed rgba(0,154,68,0.35); border-radius:12px; padding:32px 24px;
    text-align:center; font-size:13.5px; color:#8aa89a; line-height:1.8;
}

/* ── Detail príspevku ────────────────────────────────── */
.doc-title { margin:0 0 20px; font-family:'DM Serif Display',serif; font-weight:400; color:#000; font-size:clamp(30px,3.8vw,42px); line-height:1.15; letter-spacing:-0.01em; }
.doc-meta { margin:0 0 52px; font-size:14px; font-weight:500; color:#4a4a4a; line-height:1.7; letter-spacing:0.01em; }
.doc-meta-item { display:inline-block; }
.doc-meta-sep { color:#009a44; margin:0 10px; font-weight:700; }

.doc-body { font:inherit !important }
.doc-body h2, .doc-body h3, .doc-body h4, .doc-body h5, .doc-body h6 { margin:0 0 24px; font-family:'Inter' !important,sans-serif; font-size:22px; font-weight:700; color:#009a44; line-height:1.25; letter-spacing:-0.015em; }
.doc-body p { margin:0 0 36px; font-size:16px; font-weight:400; color:#000; line-height:1.85; letter-spacing:0.004em; text-align:justify; overflow-wrap:anywhere; }
.doc-body ul, .doc-body ol { margin:0 0 36px; padding-left:24px; font-size:16px; line-height:1.85; letter-spacing:0.004em; }
.doc-body ul { list-style:none; padding-left:22px; }
.doc-body li { margin-bottom:10px; }
.doc-body ul > li { position:relative; }
.doc-body ul > li::before { content:''; position:absolute; left:-18px; top:0.7em; width:7px; height:7px; border-radius:50%; background:#009a44; }
.doc-body a { color:#009a44; text-decoration:underline; text-underline-offset:3px; overflow-wrap:anywhere; }
.doc-body a.external::after { content:' ↗'; font-size:0.85em; text-decoration:none; display:inline-block; }
.doc-body strong { font-weight:600; }

/*
.doc-body table { border-collapse:collapse; width:100%; font-size:15px; line-height:1.6; margin:0 0 36px; display:block; overflow-x:auto; }
.doc-body th, .doc-body td { padding:10px 14px; border:1px solid #e6e6e6; text-align:left; vertical-align:top; }
.doc-body th { background:#e6f5ed; font-weight:600; }
*/
.doc-body table{border-collapse:separate;border-spacing:0;width:100%;font-family:'Inter',system-ui,sans-serif;font-size:14px;min-width:300px}
.doc-body table th{background:var(--g);color:#fff;font-weight:600;text-align:left;padding:10px 12px}
.doc-body table th:first-child{border-top-left-radius:8px}.doc-body table th:last-child{border-top-right-radius:8px}
.doc-body table td{padding:10px 12px;border-bottom:1px solid var(--line);font-weight:500}
.doc-body table tr:nth-child(even) td{background:#f4f9f6}
.doc-body table td+td,.tab-new th+th{text-align:right}

/* Obrázky sú samostatné bloky, text okolo nich neobteká. */
.doc-figure { float:none; clear:both; display:block; margin:0 auto 36px; width:100%;
  text-align:center; }
.doc-body img { float:none; clear:both; display:block; width:auto; max-width:100%; height:auto;
  margin: 36px auto; border-radius:12px; }
.doc-figure iframe, .doc-figure video, .doc-figure embed, .doc-figure object {
  float:none; display:block; width:100%; max-width:100%; aspect-ratio:16/9; height:auto;
  border:0; border-radius:12px;
}

    /* ── Zoznam albumov ──────────────────────────────────── */
    .album-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
    .album-card { display:flex; flex-direction:column; gap:12px; text-decoration:none; }
    .album-cover { position:relative; aspect-ratio:4/3; border-radius:12px; overflow:hidden;
      background:#e6f5ed; }
    .album-cover img { width:100%; height:100%; object-fit:cover; display:block;
      transition:transform 0.4s cubic-bezier(0.4,0,0.2,1); }
    .album-card:hover .album-cover img { transform:scale(1.05); }
    .album-count { position:absolute; right:10px; bottom:10px; background:rgba(0,0,0,0.62);
      color:#fff; font-size:11px; font-weight:600; padding:4px 9px; border-radius:20px; }
    .album-title { font-size:14px; font-weight:600; color:#000; line-height:1.45;
      transition:color 0.2s ease; display:-webkit-box; -webkit-line-clamp:3;
      -webkit-box-orient:vertical; overflow:hidden; }
    .album-card:hover .album-title { color:#009a44; }

    /* ── Označenie členského obsahu ──────────────────────── */
    .members-tag {
      display:inline-block; margin-left:8px; padding:2px 8px; border-radius:20px;
      background:rgba(0,154,68,0.10); color:#009a44; font-size:10.5px; font-weight:700;
      letter-spacing:0.06em; text-transform:uppercase; vertical-align:middle;
    }
    .members-note {
      margin:0 0 32px; padding:14px 18px; border-left:4px solid #009a44;
      background:#f4faf6; border-radius:0 8px 8px 0; font-size:13.5px; color:#33604a;
      line-height:1.6;
    }    

   /* ── Album fotografií ────────────────────────────────── */
    .photo-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
    .photo { display:block; aspect-ratio:4/3; border-radius:12px; overflow:hidden;
      background:#e6f5ed; }
    .photo img { width:100%; height:100%; object-fit:cover; display:block;
      transition:transform 0.4s cubic-bezier(0.4,0,0.2,1); }
    .photo:hover img { transform:scale(1.05); }

    /* Secondary headings on article-template pages are the chamber green. */
    .section-heading-plain {
      margin:0 0 20px; font-family:'Inter',sans-serif; font-weight:700;
      font-size:22px; color:#009a44; line-height:1.25; letter-spacing:-0.015em;
    }

    /* ── Rozcestník sekcie ───────────────────────────────── */
    .section-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
    .section-card {
      display:flex; align-items:center; min-height:76px; padding:18px 20px;
      border:1px solid rgba(0,0,0,0.10); border-left:3px solid #009a44; border-radius:12px;
      text-decoration:none; color:#000; font-size:14.5px; font-weight:600; line-height:1.45;
      transition:all 0.2s ease; background:#fff;
    }
    .section-card:hover { border-color:#009a44; color:#009a44;
      box-shadow:0 4px 20px rgba(0,154,68,0.10); }

    @media (max-width:1024px) {
      .photo-grid, .album-grid { grid-template-columns:repeat(3,1fr); }
      .section-grid { grid-template-columns:repeat(2,1fr); }
    }
    @media (max-width:768px) {
      .page-section { padding:28px 14px 56px; }
      .photo-grid, .album-grid { grid-template-columns:repeat(2,1fr); gap:10px; }
      .section-grid { grid-template-columns:1fr; }
      .feed-card { flex-direction:column-reverse; gap:14px; }
      .feed-thumb { width:100%; height:190px; }
    }

  /* ── Kalendár (nový) ── */
  .cal {
      font-family: 'Inter',system-ui,sans-serif;
      max-width: 340px;
      margin: 0 auto
  }

  .cal-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 14px;
      gap: 8px
  }

  .cal-title {
      font-size: 21px;
      font-weight: 700;
      color: #000
  }

  .cal-nav {
      display: flex;
      align-items: center;
      gap: 4px
  }

  .cal-nav button {
      background: none;
      border: none;
      cursor: pointer;
      color: #009a44;
      font-size: 18px;
      line-height: 1;
      padding: 6px 9px;
      border-radius: 4px
  }

  .cal-nav button:hover {
      background: rgba(0,154,68,.08)
  }

  .cal-month {
      font-size: 12.5px;
      font-weight: 700;
      color: #009a44;
      white-space: nowrap;
      letter-spacing: .03em;
      min-width: 104px;
      text-align: center
  }

  .cal-dow {
      display: grid;
      grid-template-columns: repeat(7,1fr);
      gap: 2px;
      margin-bottom: 4px
  }

  .cal-dow span {
      text-align: center;
      font-size: 11px;
      font-weight: 700;
      color: #8c8c8c;
      letter-spacing: .04em;
      padding: 2px 0
  }

  .cal-grid {
      display: grid;
      grid-template-columns: repeat(7,1fr);
      gap: 3px
  }

  .cal-day {
      text-align: center;
      font-size: 13px;
      font-weight: 600;
      color: #009a44;
      width: 34px;
      height: 34px;
      line-height: 34px;
      margin: 0 auto;
      border-radius: 50%;
      border: 0;
      background: none;
      font-family: inherit;
      padding: 0
  }

  .cal-day.event {
      background: #009a44;
      color: #fff;
      font-weight: 700;
      cursor: pointer;
      text-decoration: none;
  }

  .cal-day.event:hover,.cal-day.event[aria-pressed="true"] {
      background: #007a35
  }

  .cal-day.event:focus-visible {
      outline: 2px solid #009a44;
      outline-offset: 2px
  }

  .cal-empty {
      width: 34px;
      height: 34px
  }

  .cal-detail {
      margin-top: 16px;
      border-top: 1px solid #e3e8e5;
      padding-top: 14px;
      font-size: 14px;
      line-height: 1.6
  }

  .cal-detail[hidden] {
      display: none
  }

  .cal-detail h4 {
      font-size: 15px;
      font-weight: 700;
      line-height: 1.35;
      color: #000;
      margin: 0
  }

  .cal-detail .cal-date {
      display: block;
      margin-top: 16px;
      font-size: 13px;
      font-weight: 600;
      color: #666
  }

  .cal-detail p {
      margin: 16px 0 0;
      font-weight: 500;
      color: #222
  }

  .cal-detail .viac,.viac {
      display: inline-block;
      margin-top: 12px;
      font-size: 14px;
      font-weight: 600;
      color: #009a44;
      background: none;
      border: 0;
      padding: 0;
      cursor: pointer;
      font-family: inherit;
      text-decoration: none
  }

  .cal-detail .viac:hover,.viac:hover {
      color: #007a35
  }

  .cal-detail .ev+.ev {
      margin-top: 20px;
      padding-top: 16px;
      border-top: 1px dashed #e3e8e5
  }    


  /* ── Vyhľadávanie ── */
  .sr {
      font-family: 'Inter',system-ui,sans-serif
  }

  .sr-bar {
      background: #00a751;
      border-radius: 8px;
      padding: 12px 14px;
      display: flex;
      justify-content: flex-end;
      margin-bottom: 20px
  }

  .sr-box {
      display: flex;
      align-items: center;
      gap: 8px;
      background: rgba(255,255,255,.15);
      border: 1px solid rgba(255,255,255,.25);
      border-radius: 4px;
      padding: 6px 12px;
      color: #fff;
      font-size: 13px;
      min-width: 0;
      max-width: 100%
  }

  .sr-box svg {
      flex: none
  }

  .sr-title {
      font-family: 'DM Serif Display',serif;
      font-weight: 400;
      font-size: 26px;
      line-height: 1.2;
      margin: 0 0 6px;
      text-align: left
  }

  .sr-count {
      font-size: 13px;
      color: #666;
      margin: 0 0 14px;
      text-align: left
  }

  .sr-list {
      list-style: none;
      margin: 0;
      padding: 0;
      border-top: 1px solid #009a44;
      text-align: left
  }

  .sr-row {
      display: grid;
      grid-template-columns: 36px 1fr;
      gap: 6px 10px;
      padding: 14px 0;
      border-bottom: 1px solid rgba(0,154,68,.35)
  }

  .sr-no {
      font-size: 15px;
      font-weight: 700;
      color: #009a44;
      text-align: right
  }

  .sr-link {
      font-size: 16px;
      font-weight: 600;
      line-height: 1.4;
      color: #009a44;
      text-decoration: none;
      text-align: left
  }

  .sr-link:hover {
      color: #007a35;
      text-decoration: underline
  }

  .sr-meta {
      grid-column: 2;
      font-size: 12.5px;
      color: #666
  }

  .sr-old .sr-title,.sr-old .sr-count,.sr-old .sr-list {
      text-align: center
  }

  .sr-old .sr-list {
      border-top-color: #1a0dab
  }

  .sr-old .sr-row {
      border-bottom-color: #9fb2ff
  }

  .sr-old .sr-no,.sr-old .sr-link {
      color: #1a0dab
  }

  .sr-old .sr-box svg {
      color: #9fb2ff
  }

  @container (max-width:460px) {
      .sr-title {
          font-size: 22px
      }

      .sr-row {
          grid-template-columns: 28px 1fr
      }

      .sr-link {
          font-size: 15px
      }

      .cal-nav button {
          padding: 9px 12px
      }
  }

  .iconlupa {
      color: #009a44
  }  

.list-view .pager { margin: 0;text-align: right;}
.pg{container-type:inline-size;font-family:'Inter',system-ui,sans-serif}
.pg-in{display:flex;align-items:center;flex-wrap:wrap;gap:6px 14px;padding:18px 0; /*border-top:1px solid #e3e8e5*/}
.pg-label{font-size:13px;font-weight:500;color:#666;white-space:nowrap}
.pg-list{display:flex;align-items:center;flex-wrap:wrap;gap:4px;list-style:none;margin:0;padding:0}
.pg-item{display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:38px;padding:0 10px;
  font:600 14px/1 'Inter',system-ui,sans-serif;color:#009a44;text-decoration:none;border-radius:6px;border:1px solid transparent;
  background:none;cursor:pointer;transition:background .2s,color .2s,border-color .2s}
.pg-item:hover{background:rgba(0,154,68,.09)}
.pg-item:focus-visible{outline:2px solid #009a44;outline-offset:2px}
.pg-item[aria-current="page"]{background:#009a44;color:#fff;cursor:default}
.pg-item[aria-disabled="true"]{color:#b8c2bc;cursor:default;pointer-events:none}
.pg-item.pg-step{gap:6px;padding:0 12px;font-weight:600}
.pg-item.pg-step svg{flex:none}
.pg-gap{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:38px;color:#8aa89a;font-weight:600}
.pg-compact{display:none}

/* mobil: menej čísel, šípky ako ikony, tlačidlá min. 44 px (dotyk) */
@container (max-width:560px){
  .pg-in{flex-direction:column;align-items:center;gap:10px}
  .pg-label{font-size:12.5px}
  .pg-item{min-width:44px;height:44px}
  .pg-item.pg-step span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  .pg-item.pg-step{padding:0;min-width:44px}
  .pg-list{justify-content:center;gap:3px}
  .pg-full{display:none}
  .pg-compact{display:inline-flex}
}


/* prílohy na stiahnutie */
.prilohy{margin:28px 0 0;text-align:left}
.prilohy-nadpis{font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#000;margin:0 0 16px}
.prilohy a{display:flex;align-items:center;gap:10px;color:#009a44;font-weight:600;font-size:15px;line-height:1.5;text-decoration:none;margin-bottom:12px}
.prilohy a:hover{color:#007a35;text-decoration:underline}
.prilohy a svg{flex:none}

.citat-btn {
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    color: var(--g);
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
    margin: 0 0 12px;
    text-align: left
}

.citat-btn:hover {
    color: var(--g-dark)
}


.legenda {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: var(--mute);
    margin-top: 10px
}

.legenda .kluc {
    color: var(--g)
}


.menu-map { margin-top: 50px }

.menu-map ul {
    list-style: none;
    padding: 0;
    margin: 0
}

.menu-map a {
    text-decoration: none;
    display: block
}

.menu-map li {
    padding: 0
}

.menu-map a {
    color: #000;
    font-size: 16px;
    line-height: 2.1;
    font-weight: 500
}

.menu-map a:hover {
    color: var(--g)
}

.navbar .newpage {
    color: white;
    position: relative;
    background-color: #00a751;
    padding: 5px;
    border-radius: 5px;
}