/* ===================================================
   SUMAVA.EU — CLEAN MODERN REBUILD v2
   CSS @layer architecture | ES2022 | Zero dependencies
   =================================================== */

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

@layer reset {
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  img { display: block; max-width: 100%; }
  a { text-decoration: none; }
  button { cursor: pointer; border: none; background: none; font-family: inherit; }
}

@layer base {
  :root {
    --green-deep: #17462F;
    --green-mid: #1a5c3a;
    --gold: #c9a84c;
    --white: #f8f9fa;
    --bg-light: #f8f5f0;
    --font-serif: 'Playfair Display', 'Spectral', Georgia, serif;
    --font-sans: 'Inter', system-ui, sans-serif;
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: var(--font-sans);
    color: #1a1a1a;
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
    font-size: 17px;
    overflow-x: hidden;
  }
}

@layer layout {
  .sth-wrap { font-family: var(--font-sans); color: #1a1a1a; -webkit-font-smoothing: antialiased; line-height: 1.6; }
  .sth-wrap a { text-decoration: none !important; }
  .sth-section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; flex-wrap: wrap; gap: 12px; }
  .sth-section-title { display: inline-block !important; background: none !important; color: var(--green-deep) !important; padding: 0 !important; font-size: 1.5rem !important; font-weight: 800 !important; letter-spacing: -0.02em; margin-bottom: 0; }
  .sth-section-title.on-dark { color: #fff !important; }
  .sth-section-more { font-size: 14px; font-weight: 600; color: var(--green-deep); text-decoration: none; transition: opacity .2s; }
  .sth-section-more:hover { opacity: 0.7; }
}

@layer components {
  /* === TOPBAR === */
  .sth-topbar {
    background: var(--green-deep);
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 52px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: transform 0.35s ease, opacity 0.35s;
  }
  @starting-style {
    .sth-topbar { opacity: 0; transform: translateY(-100%); }
  }
  .sth-topbar-left { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
  .sth-topbar-camlogo { flex-shrink: 0; }
  .sth-topbar-camlogo img { width: 36px !important; height: 36px !important; max-width: 36px !important; border-radius: 8px; object-fit: contain; transition: opacity .3s; }
  .sth-topbar-brand { font-size: 16px !important; font-weight: 800 !important; color: #fff !important; text-decoration: none !important; letter-spacing: -0.02em; }
  .sth-topbar-quote { flex: 1; text-align: center; padding: 0 24px; overflow: hidden; }
  .sth-topbar-quote p { font-size: 14px; font-weight: 300; font-style: italic; color: rgba(255,255,255,0.6); transition: opacity 0.5s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sth-topbar-right { display: flex; gap: 20px; align-items: center; flex-wrap: nowrap; overflow-x: auto; flex-shrink: 0; }
  .sth-topbar-right a { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.7); text-decoration: none; transition: color .2s; white-space: nowrap; }
  .sth-topbar-right a:hover { color: #fff; }
  @media(max-width:768px) {
    .sth-topbar { flex-direction: column; height: auto; padding: 10px 16px; gap: 8px; }
    .sth-topbar-quote { padding: 0 8px; }
    .sth-topbar-right { gap: 12px; }
  }

  /* === HERO === */
  .sth-hero {
    position: relative;
    min-height: 360px;
    max-height: 480px;
    display: flex; align-items: center; justify-content: center; text-align: center;
    overflow: hidden;
  }
  .sth-hero-slides { position: absolute; inset: 0; }
  .sth-hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
  .sth-hero-slide.active { opacity: 1; }
  .sth-hero-slide img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 30%;
  }
  /* Hero overlay — identická barva s topbar gradientem (#0d2b1f) nahoře */
  .sth-hero-slide::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(
      180deg,
      #0d2b1f 0%,
      rgba(13,43,31,0.7) 8%,
      rgba(13,43,31,0.0) 30%,
      rgba(0,0,0,0.0) 55%,
      rgba(0,0,0,0.6) 100%
    );
  }
  .sth-hero-content { position: relative; z-index: 10; padding: 0 24px; }
  .sth-hero h1 { font-family: 'Spectral', Georgia, serif !important; font-size: clamp(3rem,8vw,6rem) !important; font-weight: 700 !important; font-style: italic !important; color: #fff !important; letter-spacing: -0.02em; text-shadow: 0 2px 30px rgba(0,0,0,0.3); margin-bottom: 8px; }
  .sth-hero h2 { font-family: var(--font-sans) !important; font-size: clamp(1.1rem,2.5vw,1.5rem) !important; font-weight: 400 !important; color: rgba(255,255,255,0.85) !important; letter-spacing: 0.05em; text-shadow: 0 1px 10px rgba(0,0,0,0.2); }
  .sth-hero-dots { display: none; }

  /* === NEWS — healsai.eu dark style, hero prosvítá === */
  .sth-news {
    position: relative;
    padding: 56px 24px;
    background: transparent;
    overflow: hidden;
    margin-top: -120px; /* překryv přes hero */
  }
  /* tmavý gradient — hero prosvítá shora, pak plné dno */
  .sth-news::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      linear-gradient(to bottom,
        rgba(10,26,16,0.55) 0%,
        rgba(10,26,16,0.82) 60px,
        rgba(10,26,16,0.97) 140px,
        #0a1a10 200px
      ),
      radial-gradient(ellipse 80% 60% at 20% 30%, rgba(74,140,92,0.10) 0%, transparent 60%),
      radial-gradient(ellipse 60% 50% at 80% 90%, rgba(61,139,139,0.07) 0%, transparent 55%);
    pointer-events: none;
    z-index: 0;
  }
  .sth-news-inner { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; }
  .sth-news-grid { display: grid; grid-template-columns: 1fr 280px; gap: 20px; }
  .sth-news-articles { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
  @media(max-width:900px) { .sth-news-grid { grid-template-columns: 1fr; } .sth-news-articles { grid-template-columns: 1fr; } }
  @media(max-width:600px) { .sth-news-articles { grid-template-columns: 1fr; } }
  .sth-news .sth-section-title { color: #fff !important; letter-spacing: -0.02em; }
  .sth-news .sth-section-more { color: rgba(255,255,255,0.55); font-size: 13px; letter-spacing: 0.03em; transition: color .2s; }
  .sth-news .sth-section-more:hover { color: #fff; }

  /* Kratce sidebar — dark glass */
  .sth-kratce {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 16px;
    padding: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
  .sth-kratce-title { font-size: 11px; font-weight: 800; color: rgba(255,255,255,0.45); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 12px; }
  .sth-kratce-scroll { flex: 1; overflow-y: auto; max-height: 380px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.35) rgba(255,255,255,0.06); }
  .sth-kratce-scroll::-webkit-scrollbar { width: 4px; display: block; }
  .sth-kratce-scroll::-webkit-scrollbar-track { background: rgba(255,255,255,0.06); border-radius: 2px; }
  .sth-kratce-scroll::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.35); border-radius: 2px; }
  .sth-kratce-scroll::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.65); }
  .sth-kratce-list { list-style: none; }
  .sth-kratce-item { padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,0.06); font-size: 13.5px; line-height: 1.5; }
  .sth-kratce-item:last-child { border-bottom: none; }
  .sth-kratce-item a { color: rgba(255,255,255,0.78); text-decoration: none; transition: color .2s; font-weight: 500; }
  .sth-kratce-item a:hover { color: #fff; }
  .sth-kratce-more { display: block; text-align: center; padding: 10px 0 0; margin-top: 10px; border-top: 1px solid rgba(255,255,255,0.07); font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.5); text-decoration: none; letter-spacing: 0.05em; text-transform: uppercase; transition: color .2s; }
  .sth-kratce-more:hover { color: rgba(255,255,255,0.9); }

  /* Dark glass news card — healsai style */
  .sth-glass {
    position: relative;
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none !important;
    color: #fff;
    transition: all 0.35s cubic-bezier(.4,0,.2,1);
    display: flex;
    flex-direction: column;
  }
  .sth-glass::before { content: ''; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(255,255,255,0.04) 0%, transparent 60%); pointer-events: none; border-radius: 16px; }
  .sth-glass::after { display: none; }
  .sth-glass:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.18);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(74,140,92,0.2);
  }
  .sth-glass-img { width: 100%; height: 170px; object-fit: cover; transition: transform 0.5s cubic-bezier(.4,0,.2,1); opacity: 0.92; }
  .sth-glass:hover .sth-glass-img { transform: scale(1.04); opacity: 1; }
  .sth-glass-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
  /* pill tag — healsai badge style */
  .sth-glass-cat {
    display: inline-block;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #fff;
    background: rgba(74,140,92,0.85);
    border-radius: 999px;
    padding: 3px 10px;
    margin-bottom: 8px;
    width: fit-content;
  }
  .sth-glass-title { font-size: 15px; font-weight: 700; line-height: 1.4; margin-bottom: 6px; color: #fff; letter-spacing: -0.01em; }
  .sth-glass-excerpt { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.6; flex: 1; }
  .sth-glass-date { font-size: 11px; color: rgba(255,255,255,0.3); margin-top: 10px; font-weight: 500; letter-spacing: 0.03em; }

  /* === CAMS === */
  .sth-cams { padding: 56px 40px; overflow: hidden; position: relative; }
  .sth-cams-bg { position: absolute; inset: 0; background: #e8f2ec; }
  .sth-cams-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .12; mix-blend-mode: overlay; }
  .sth-cams-inner { position: relative; z-index: 10; max-width: 100%; }
  .sth-cam-row { position: relative; z-index: 10; display: flex; gap: 16px; margin-bottom: 16px; -webkit-mask-image: linear-gradient(to right,transparent 0%,#000 8%,#000 92%,transparent 100%); mask-image: linear-gradient(to right,transparent 0%,#000 8%,#000 92%,transparent 100%); overflow: hidden; }
  .sth-cam-track { display: flex; gap: 16px; }
  .sth-cam-row.left .sth-cam-track { animation: sthCamLeft 90s linear infinite; }
  .sth-cam-row.right .sth-cam-track { animation: sthCamRight 90s linear infinite; }
  .sth-cam-row:hover .sth-cam-track { animation-play-state: paused; }
  @keyframes sthCamLeft { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
  @keyframes sthCamRight { 0% { transform: translateX(-50%); } 100% { transform: translateX(0); } }
  .sth-cam-card {
    flex-shrink: 0;
    width: 360px;
    height: 220px;
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.08);
    transition: all 0.4s cubic-bezier(.4,0,.2,1);
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(4px);
  }
  .sth-cam-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg,rgba(255,255,255,0.08),transparent 50%,rgba(255,255,255,0.04)); border-radius: 18px; z-index: 2; pointer-events: none; transition: opacity 0.4s; }
  .sth-cam-card:hover { transform: translateY(-6px); box-shadow: 0 24px 64px rgba(0,0,0,0.5); border-color: rgba(255,255,255,0.25); }
  .sth-cam-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
  .sth-cam-card:hover .sth-cam-img { transform: scale(1.05); }
  .sth-cam-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 10px 14px; background: linear-gradient(transparent,rgba(0,0,0,0.7)); z-index: 4; opacity: 0; transition: opacity 0.3s; }
  /* :has() for hover without JS */
  .sth-cam-card:has(:hover) .sth-cam-overlay, .sth-cam-card:hover .sth-cam-overlay { opacity: 1; }
  .sth-cam-name { font-size: 16px; font-weight: 700; color: #fff; }
  .sth-cam-live { display: inline-flex; align-items: center; gap: 4px; font-size: 10px; color: rgba(255,255,255,0.6); margin-top: 2px; }
  .sth-cam-dot { width: 5px; height: 5px; border-radius: 50%; background: #ef4444; animation: sthBlink 1.5s infinite; }
  @keyframes sthBlink { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }
  .sth-cams-header { position: relative; z-index: 10; max-width: 1200px; margin: 0 auto 24px; display: flex; align-items: center; justify-content: space-between; }
  @media(max-width:768px) { .sth-cam-card { width: 260px; height: 160px; } }

  /* === FOTO (Fotokronika) === */
  .sth-foto { padding: 56px 24px; background: #faf8f5; content-visibility: auto; contain-intrinsic-size: 0 500px; }
  .sth-foto-inner { max-width: 1200px; margin: 0 auto; }
  .sth-foto-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
  @media(max-width:900px) { .sth-foto-grid { grid-template-columns: repeat(2,1fr); } }
  @media(max-width:600px) { .sth-foto-grid { grid-template-columns: 1fr; } }

  /* === MINI (Miniatury) === */
  .sth-mini { padding: 56px 24px; background: #f5f0e8; content-visibility: auto; contain-intrinsic-size: 0 500px; }
  .sth-mini-inner { max-width: 1200px; margin: 0 auto; }
  .sth-mini-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
  @media(max-width:900px) { .sth-mini-grid { grid-template-columns: repeat(2,1fr); } }
  @media(max-width:600px) { .sth-mini-grid { grid-template-columns: 1fr; } }

  /* Glass2 card */
  .sth-glass2 {
    position: relative;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none !important;
    color: #1a1a1a;
    transition: all 0.4s cubic-bezier(.4,0,.2,1);
    display: flex;
    flex-direction: column;
  }
  .sth-glass2::before { content: ""; position: absolute; inset: 0; border-radius: 18px; background: linear-gradient(135deg,rgba(255,255,255,0.6) 0%,rgba(255,255,255,0.1) 50%,rgba(255,255,255,0.3) 100%); pointer-events: none; transition: opacity 0.4s; }
  .sth-glass2::after { content: ""; position: absolute; inset: -1px; border-radius: 19px; background: linear-gradient(135deg,rgba(255,255,255,0.8),rgba(255,255,255,0.2),rgba(255,255,255,0.6)); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; padding: 1px; opacity: 0.5; pointer-events: none; transition: opacity 0.4s; }
  .sth-glass2:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0,0,0,0.08); border-color: rgba(255,255,255,0.8); }
  .sth-glass2:hover::after { opacity: 1; }
  .sth-glass2-img { width: 100%; height: 170px; object-fit: cover; transition: transform 0.5s cubic-bezier(.4,0,.2,1); }
  .sth-glass2:hover .sth-glass2-img { transform: scale(1.04); }
  .sth-glass2-body { padding: 16px 18px; position: relative; z-index: 2; }
  .sth-glass2-cat { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
  .sth-foto .sth-glass2-cat { color: #8b6914; }
  .sth-mini .sth-glass2-cat { color: #2563eb; }
  .sth-kultura .sth-glass2-cat { color: #8b4513; }
  .sth-glass2-title { font-size: 17px; font-weight: 700; line-height: 1.35; margin-bottom: 6px; color: #111; }
  .sth-glass2-excerpt { font-size: 14px; color: #333; line-height: 1.55; }
  .sth-glass2-date { font-size: 11px; color: #888; margin-top: 8px; }

  /* === TIPY NA VÝLET — světlý, jemný background === */
  .sth-tipy {
    position: relative;
    overflow: hidden;
    padding: 56px 24px;
    width: 100%;
    content-visibility: auto;
    contain-intrinsic-size: 0 500px;
    background: #0d2b1f;
  }
  .sth-tipy-bg { position: absolute; inset: 0; }
  .sth-tipy-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center bottom; opacity: 0.38; mix-blend-mode: normal; filter: none; }
  /* tmavý overlay pro kontrast */
  .sth-tipy::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse 80% 60% at 0% 50%, rgba(0,0,0,0.15) 0%, transparent 70%),
      radial-gradient(ellipse 60% 50% at 100% 80%, rgba(23,70,47,0.3) 0%, transparent 60%);
    z-index: 1;
    pointer-events: none;
  }
  .sth-tipy-in {
    position: relative; z-index: 10;
    max-width: 1200px; margin: 0 auto;
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 32px;
    align-items: start;
  }
  @media(max-width:768px) { .sth-tipy-in { grid-template-columns: 1fr; } }
  .sth-tipy-header h2 { color: #fff !important; font-size: 1.6rem; font-weight: 800; margin: 0 0 6px; letter-spacing: -0.02em; }
  .sth-tipy-header p { color: rgba(255,255,255,0.6); font-size: 13px; margin-bottom: 16px; }
  .sth-tipy-btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 22px; background: rgba(255,255,255,0.15); color: #fff; border: 1px solid rgba(255,255,255,0.3); border-radius: 999px; font-size: 12px; font-weight: 700; text-decoration: none; transition: all .3s; letter-spacing: 0.04em; text-transform: uppercase; }
  .sth-tipy-btn:hover { background: #fff; color: #17462F !important; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
  .sth-tipy-nav { display: flex; gap: 8px; margin-top: 14px; }
  .sth-tipy-nav button { width: 36px; height: 36px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.6); background: rgba(255,255,255,0.15); color: #fff !important; cursor: pointer; font-size: 16px; font-weight: 700; transition: all .2s; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(8px); }
  .sth-tipy-nav button:hover { background: rgba(255,255,255,0.35); border-color: #fff; transform: scale(1.08); }
  .sth-tip-cards {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    scrollbar-width: none;
    /* Blur posledního tipu — indikátor že lze scrollovat */
    -webkit-mask-image: linear-gradient(to right, #000 0%, #000 72%, rgba(0,0,0,0.3) 88%, transparent 100%);
    mask-image: linear-gradient(to right, #000 0%, #000 72%, rgba(0,0,0,0.3) 88%, transparent 100%);
  }
  .sth-tip-cards::-webkit-scrollbar { height: 4px; display: block; }
  .sth-tip-cards::-webkit-scrollbar-track { background: rgba(255,255,255,0.1); border-radius: 2px; }
  .sth-tip-cards::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.55); border-radius: 2px; }
  .sth-tip-cards::-webkit-scrollbar-thumb:hover { background: #fff; }
  .sth-tip-cards { scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.55) rgba(255,255,255,0.1); }
  .sth-tip-card {
    min-width: 190px;
    max-width: 210px;
    scroll-snap-align: start;
    flex-shrink: 0;
    background: #fff;
    border: 1px solid rgba(23,70,47,0.10);
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none !important;
    color: #111;
    transition: all .35s cubic-bezier(.4,0,.2,1);
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 12px rgba(23,70,47,0.06);
  }
  .sth-tip-card:hover { border-color: rgba(23,70,47,0.22); transform: translateY(-4px); box-shadow: 0 12px 36px rgba(23,70,47,0.12); }
  .sth-tip-img { width: 100%; height: 75px; object-fit: cover; transition: transform .5s; }
  .sth-tip-card:hover .sth-tip-img { transform: scale(1.03); }
  .sth-tip-body { padding: 14px 16px; }
  .sth-tip-cat { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; color: #17462F; background: rgba(23,70,47,0.08); border-radius: 999px; padding: 2px 9px; display: inline-block; margin-bottom: 7px; border: 1px solid rgba(23,70,47,0.15); }
  .sth-tip-title { font-size: 15px; font-weight: 700; margin: 0 0 5px; line-height: 1.4; color: #111; }
  .sth-tip-excerpt { font-size: 13px; color: #444; margin: 0; line-height: 1.55; }
  .sth-tip-date { font-size: 11px; color: #888; margin-top: 8px; }

  /* === KULTURNĚ-HISTORICKÝ DROBNOHLED === */
  .sth-drobno { padding: 56px 24px; background: #f5f0e8; content-visibility: auto; contain-intrinsic-size: 0 500px; }
  .sth-drobno-inner { max-width: 1200px; margin: 0 auto; }
  .sth-drobno-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
  @media(max-width:900px) { .sth-drobno-grid { grid-template-columns: repeat(2,1fr); } }
  @media(max-width:600px) { .sth-drobno-grid { grid-template-columns: 1fr; } }
  .sth-drobno .sth-glass2-cat { color: #7c4f1e; }

  /* === KULTURA === */
  .sth-kultura { padding: 56px 24px; background: var(--bg-light); content-visibility: auto; contain-intrinsic-size: 0 500px; }
  .sth-kultura-inner { max-width: 1200px; margin: 0 auto; }
  .sth-kultura-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
  @media(max-width:900px) { .sth-kultura-grid { grid-template-columns: repeat(2,1fr); } }
  @media(max-width:600px) { .sth-kultura-grid { grid-template-columns: 1fr; } }

  /* === POČASÍ === */
  .sth-pocasi { position: relative; padding: 56px 24px; overflow: hidden; content-visibility: auto; contain-intrinsic-size: 0 500px; }
  .sth-pocasi-bg { position: absolute; inset: 0; background: linear-gradient(135deg,#17462F 0%,#1a5438 50%,#17462F 100%); }
  .sth-pocasi-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .12; mix-blend-mode: overlay; }
  .sth-pocasi-inner { position: relative; z-index: 10; max-width: 1200px; margin: 0 auto; }
  .sth-pocasi-grid2 { display: grid; grid-template-columns: 2fr 3fr; grid-template-rows: 1fr; gap: 16px; height: 440px; margin-top: 24px; }
  .sth-pocasi-map { grid-column: 1; grid-row: 1; border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,0.15); position: relative; }
  .sth-pocasi-map iframe { width: 100%; height: 100%; border: none; }
  .sth-pocasi-quad { border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,0.12); position: relative; background: rgba(255,255,255,0.06); }
  .sth-pocasi-quad iframe { width: 100%; height: 100%; border: none; }
  .sth-pocasi-quad-label { position: absolute; top: 10px; left: 12px; z-index: 10; font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 1px; background: rgba(0,0,0,0.3); backdrop-filter: blur(8px); padding: 4px 10px; border-radius: 6px; }
  .sth-pocasi-placeholder { display: flex; align-items: center; justify-content: center; height: 100%; color: rgba(255,255,255,0.3); font-size: 14px; }
  @media(max-width:768px) { .sth-pocasi-grid2 { grid-template-columns: 1fr; height: auto; } .sth-pocasi-map { grid-row: auto; height: 300px; } }

  /* Forecast widget */
  .sth-forecast { padding: 12px; color: #fff; height: 100%; display: flex; flex-direction: column; gap: 6px; overflow-y: auto; }
  .sth-forecast-row { display: flex; align-items: center; gap: 10px; padding: 6px 8px; background: rgba(255,255,255,0.06); border-radius: 8px; font-size: 13px; }
  .sth-forecast-time { font-weight: 700; min-width: 50px; color: rgba(255,255,255,0.7); font-size: 12px; }
  .sth-forecast-temp { font-weight: 800; font-size: 15px; min-width: 40px; }
  .sth-forecast-icon { font-size: 20px; }
  .sth-forecast-desc { font-size: 12px; color: rgba(255,255,255,0.6); flex: 1; }

  /* Pocasi article */
  .sth-pocasi-article-content { padding: 14px; color: #fff; height: 100%; display: flex; flex-direction: column; }
  .sth-pocasi-article-img { width: 100%; height: 120px; object-fit: cover; border-radius: 8px; margin-bottom: 10px; }
  .sth-pocasi-article-title { font-size: 15px; font-weight: 700; color: #fff; line-height: 1.35; margin-bottom: 6px; }
  .sth-pocasi-article-excerpt { font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.5; flex: 1; overflow: hidden; }
  .sth-pocasi-article-link { display: inline-block; margin-top: 8px; font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.7); border: 1px solid rgba(255,255,255,0.2); border-radius: 6px; padding: 4px 10px; transition: all 0.2s; }
  .sth-pocasi-article-link:hover { color: #fff; border-color: rgba(255,255,255,0.5); }

  /* === DOPORUČUJEME === */
  .sth-dopor { position: relative; overflow: hidden; padding: 56px 24px; background: #fff; }
  .sth-dopor-inner { position: relative; z-index: 10; max-width: 1200px; margin: 0 auto; }
  .sth-dopor-content { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
  @media(max-width:768px) { .sth-dopor-content { grid-template-columns: 1fr; } }
  .sth-dopor-glass { background: rgba(23,70,47,0.04); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(23,70,47,0.1); border-radius: 18px; padding: 28px 28px 24px; position: relative; overflow: hidden; height: 100%; display: flex; flex-direction: column; justify-content: center; }
  .sth-dopor-glass::before { content: ""; position: absolute; inset: 0; border-radius: 18px; background: linear-gradient(135deg,rgba(23,70,47,0.06) 0%,transparent 50%,rgba(23,70,47,0.03) 100%); pointer-events: none; }
  .sth-dopor-glass::after { content: ""; position: absolute; inset: -1px; border-radius: 19px; background: linear-gradient(135deg,rgba(23,70,47,0.15),rgba(23,70,47,0.03),rgba(23,70,47,0.1)); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; padding: 1px; opacity: 0.5; pointer-events: none; }
  .sth-dopor-glass p { color: #333; font-size: 17px; line-height: 2; margin-bottom: 12px; position: relative; z-index: 2; }
  .sth-dopor-glass p.sth-dopor-lead { font-size: 18px; font-weight: 700; color: #1a1a1a; }
  .sth-dopor-glass p.sth-dopor-bold { font-size: 18px; font-weight: 700; color: #1a1a1a; }
  .sth-dopor-btn { display: inline-block; padding: 14px 36px; background: var(--green-deep); color: #fff; border-radius: 10px; font-size: 16px; font-weight: 800; text-decoration: none; box-shadow: 0 4px 20px rgba(23,70,47,0.3); margin-top: 8px; transition: all 0.3s; position: relative; z-index: 2; }
  .sth-dopor-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(23,70,47,0.4); }
  .sth-dopor-slider { position: relative; width: 100%; height: 100%; min-height: 360px; border-radius: 18px; overflow: hidden; border: 1px solid rgba(23,70,47,0.1); box-shadow: 0 20px 60px rgba(0,0,0,0.08); }
  .sth-dopor-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease-in-out; }
  .sth-dopor-slide.active { opacity: 1; }
  .sth-dopor-slide img { width: 100%; height: 100%; object-fit: cover; }
  .sth-dopor-dots { display: flex; gap: 8px; justify-content: center; margin-top: 12px; }
  .sth-dopor-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(23,70,47,0.2); transition: all 0.3s; cursor: pointer; }
  .sth-dopor-dot.active { background: var(--green-deep); transform: scale(1.3); }
  /* Thumbnaily pod sliderem */
  .sth-dopor-thumbs { display: flex; gap: 8px; margin-top: 12px; }
  .sth-dopor-thumb { width: calc(25% - 6px); aspect-ratio: 4/3; border-radius: 8px; overflow: hidden; cursor: pointer; opacity: 0.55; transition: opacity 0.3s, outline 0.2s; outline: 2px solid transparent; flex-shrink: 0; }
  .sth-dopor-thumb.active { opacity: 1; outline: 2px solid #17462F; }
  .sth-dopor-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .sth-dopor-thumb:hover { opacity: 0.85; }

  /* === GALERIE === */
  .sth-galerie { position: relative; overflow: hidden; padding: 56px 24px; }
  .sth-galerie-bg { position: absolute; inset: 0; background: var(--green-deep); }
  .sth-galerie-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .12; mix-blend-mode: overlay; }
  .sth-galerie-inner { position: relative; z-index: 10; max-width: 1200px; margin: 0 auto; }
  .sth-galerie-scroll { display: flex; gap: 16px; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(to right,#000 90%,transparent 100%); mask-image: linear-gradient(to right,#000 90%,transparent 100%); padding-bottom: 8px; }
  .sth-galerie-scroll::-webkit-scrollbar { display: none; }
  .sth-galerie-card { flex-shrink: 0; width: 300px; height: 220px; border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,0.12); position: relative; cursor: pointer; transition: all 0.4s cubic-bezier(.4,0,.2,1); }
  .sth-galerie-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg,rgba(255,255,255,0.06),transparent 50%); border-radius: 14px; z-index: 2; pointer-events: none; }
  .sth-galerie-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,0.4); border-color: rgba(255,255,255,0.3); }
  .sth-galerie-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
  .sth-galerie-card:hover img { transform: scale(1.05); }

  /* === FOOTER === */
  .sth-footer { padding: 40px 24px 32px; background: #f2f7f4; border-top: 1px solid rgba(23,70,47,0.08); }
  .sth-footer-inner { max-width: 1200px; margin: 0 auto; }
  .sth-footer-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
  .sth-footer-logo { display: flex; align-items: center; gap: 16px; }
  .sth-footer-logo img { height: 48px !important; width: auto !important; max-width: 200px !important; max-height: 48px !important; object-fit: contain; border-radius: 0 !important; }
  .sth-footer-logo span { font-size: 15px; font-weight: 700; color: var(--green-deep); letter-spacing: -0.02em; }
  .sth-footer-partners { display: flex; align-items: center; gap: 12px; }
  .sth-footer-partners a { font-size: 14px; font-weight: 600; color: var(--green-deep); text-decoration: none; padding: 8px 18px; border: 1px solid rgba(23,70,47,0.15); border-radius: 8px; transition: all 0.3s; white-space: nowrap; }
  .sth-footer-partners a:hover { background: rgba(23,70,47,0.06); border-color: rgba(23,70,47,0.3); }
  .sth-footer-social { display: flex; align-items: center; gap: 10px; }
  .sth-footer-social a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(23,70,47,0.08); color: var(--green-deep); font-size: 18px; transition: all 0.3s; text-decoration: none; }
  .sth-footer-social a:hover { background: var(--green-deep); color: #fff; transform: translateY(-2px); box-shadow: 0 4px 16px rgba(23,70,47,0.2); }
  .sth-footer-bottom { margin-top: 24px; padding-top: 16px; border-top: 1px solid rgba(23,70,47,0.06); text-align: center; font-size: 12px; color: #8a9b92; }
  .sth-footer-bottom a { color: var(--green-deep); text-decoration: none; font-weight: 600; }
  @media(max-width:768px) { .sth-footer-row { flex-direction: column; text-align: center; } .sth-footer-partners { flex-wrap: wrap; justify-content: center; } }

  /* === SCROLL-DRIVEN ANIMATIONS === */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(32px); }
    to { opacity: 1; transform: translateY(0); }
  }
  @supports (animation-timeline: view()) {
    .sth-glass, .sth-glass2, .sth-tip-card {
      animation: fadeUp linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 30%;
    }
  }

  /* Loading skeleton */
  .sth-skeleton { background: linear-gradient(90deg, rgba(0,0,0,0.06) 25%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.06) 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: 8px; }
  @keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
}

@layer utilities {
  .visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
}
/* ── GLOBAL COLOR OVERRIDES (beat Elementor/WP) ── */
.sth-wrap a, .sth-topbar a, .sth-topbar-right a { color: rgba(255,255,255,0.7) !important; }
.sth-footer a, .sth-footer-bottom a, .sth-footer-partners a, .sth-footer-social a { color: #17462F !important; }
.sth-footer-bottom { color: #8a9b92 !important; }
.sth-topbar-brand { color: #fff !important; }
.sth-hero h1, .sth-hero h2 { color: #fff !important; }
.sth-section-title { color: #17462F !important; }
.sth-section-title.on-dark { color: #fff !important; }
.sth-tipy .sth-section-title, .sth-cams .sth-section-title, .sth-news .sth-section-title,
.sth-pocasi .sth-section-title, .sth-galerie .sth-section-title { color: #fff !important; }
.sth-glass-title { color: #fff !important; }
.sth-glass-excerpt { color: rgba(255,255,255,0.55) !important; }
.sth-glass2-title { color: #111 !important; }
.sth-tip-title { color: #fff !important; }
.sth-tip-excerpt { color: rgba(255,255,255,0.75) !important; }
.sth-cam-name { color: #fff !important; }
.sth-footer-logo span { color: #17462F !important; }
.sth-footer-partners a { color: #17462F !important; }
.sth-footer-social a { color: #17462F !important; }
.sth-kratce-item a { color: rgba(255,255,255,0.78) !important; }

/* ═══════════════════════════════════════════════════
   NEWS — 3 sloupce: [velká] | [4 dlaždice] | [kratce]
   ═══════════════════════════════════════════════════ */

.sth-news {
  position: relative !important;
  background: transparent !important;
  margin-top: 0 !important;
  padding: 48px 24px 56px !important;
  overflow: hidden !important;
}
/* Jemný hero foto jako podklad — continue z hero */
.sth-news::before {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  background:
    linear-gradient(180deg,
      rgba(23,70,47,0.06) 0%,
      rgba(240,246,241,0.97) 60px,
      #f2f7f3 100%
    ) !important;
  pointer-events: none !important;
  z-index: 0 !important;
}
.sth-news-inner { position: relative; z-index: 1; }
.sth-news .sth-section-title { color: #17462F !important; }
.sth-news .sth-section-more { color: #17462F !important; font-weight: 700; }

/* Hlavní grid: velká | dlaždice | kratce */
.sth-news-grid {
  display: grid !important;
  grid-template-columns: minmax(0,2fr) minmax(0,2fr) 260px !important;
  gap: 20px !important;
  align-items: stretch;
}
/* articles div drží obě levé části */
.sth-news-articles {
  display: contents !important; /* děti jdou přímo do gridu */
}

/* ── VELKÁ KARTA ── */
.sth-news-big {
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none !important;
  background: #111;
  min-height: 320px;
  transition: transform 0.35s cubic-bezier(.4,0,.2,1), box-shadow 0.35s;
  align-self: stretch;
}
.sth-news-big:hover { transform: translateY(-3px); box-shadow: 0 20px 60px rgba(0,0,0,0.16); }
.sth-news-big-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
  opacity: 0.9;
}
.sth-news-big:hover .sth-news-big-img { transform: scale(1.04); opacity: 1; }
.sth-news-big-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 45%, transparent 75%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 26px 24px 22px; z-index: 2;
}
.sth-news-big-cat {
  display: inline-block;
  font-size: 10px !important; font-weight: 800 !important;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: #fff !important;
  background: rgba(23,70,47,0.9);
  border-radius: 999px; padding: 3px 12px;
  margin-bottom: 10px; width: fit-content;
}
.sth-news-big-title {
  font-size: 21px !important; font-weight: 800 !important;
  color: #fff !important; line-height: 1.3;
  margin-bottom: 8px; letter-spacing: -0.02em;
}
.sth-news-big-excerpt {
  font-size: 13.5px !important; color: rgba(255,255,255,0.72) !important;
  line-height: 1.6; margin-bottom: 12px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.sth-news-big-cta {
  font-size: 12px !important; font-weight: 700 !important;
  color: rgba(255,255,255,0.55) !important; transition: color 0.2s;
}
.sth-news-big:hover .sth-news-big-cta { color: #fff !important; }

/* ── 4 PLOCHÉ DLAŽDICE ── */
.sth-news-tiles {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-self: stretch;
}
.sth-news-tile {
  display: flex;
  align-items: stretch;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none !important;
  border: 1px solid rgba(23,70,47,0.07);
  transition: all 0.25s cubic-bezier(.4,0,.2,1);
  flex: 1;
  min-height: 0;
}
.sth-news-tile:hover {
  border-color: rgba(23,70,47,0.18);
  box-shadow: 0 4px 20px rgba(23,70,47,0.08);
  transform: translateX(3px);
}
.sth-news-tile-img {
  width: 88px !important; min-width: 88px !important;
  object-fit: cover !important; flex-shrink: 0;
  border-radius: 0; display: block;
  align-self: stretch;
}
.sth-news-tile-noimg { background: linear-gradient(135deg,#e8f0e9,#d4e6d8); }
.sth-news-tile-body {
  padding: 10px 14px;
  display: flex; flex-direction: column; justify-content: center; flex: 1;
}
.sth-news-tile-date {
  font-size: 10px !important; font-weight: 700 !important;
  text-transform: uppercase; letter-spacing: 1px;
  color: #17462F !important; display: block; margin-bottom: 5px;
}
.sth-news-tile-title {
  font-size: 13.5px !important; font-weight: 700 !important;
  color: #111 !important; line-height: 1.4; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* ── KRATCE sidebar ── */
.sth-kratce {
  background: #fff !important;
  border: 1px solid rgba(23,70,47,0.08) !important;
  border-radius: 16px !important;
  padding: 20px 16px !important;
  backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
  display: flex !important; flex-direction: column !important;
  align-self: stretch;
}
.sth-kratce-title { color: #17462F !important; font-size: 11px !important; font-weight: 800 !important; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 14px !important; }
.sth-kratce-scroll { flex: 1 !important; overflow-y: auto !important; max-height: 420px !important; scrollbar-width: thin !important; scrollbar-color: rgba(23,70,47,0.3) rgba(23,70,47,0.06) !important; }
.sth-kratce-scroll::-webkit-scrollbar { width: 4px !important; display: block !important; }
.sth-kratce-scroll::-webkit-scrollbar-track { background: rgba(23,70,47,0.06) !important; border-radius: 2px !important; }
.sth-kratce-scroll::-webkit-scrollbar-thumb { background: rgba(23,70,47,0.3) !important; border-radius: 2px !important; }
.sth-kratce-scroll::-webkit-scrollbar-thumb:hover { background: rgba(23,70,47,0.6) !important; }
.sth-kratce-item { border-bottom: 1px solid rgba(23,70,47,0.07) !important; padding: 8px 0 !important; }
.sth-kratce-item:last-child { border-bottom: none !important; }
.sth-kratce-item a { color: #1a1a1a !important; font-size: 13px !important; line-height: 1.5 !important; font-weight: 500 !important; }
.sth-kratce-item a:hover { color: #17462F !important; }
.sth-kratce-more { color: #17462F !important; font-size: 12px !important; font-weight: 700 !important; border-top: 1px solid rgba(23,70,47,0.1) !important; padding-top: 10px !important; margin-top: 10px !important; display: block !important; text-align: center !important; }

/* Responsive */
@media(max-width:1024px) {
  .sth-news-grid { grid-template-columns: 1fr 1fr !important; }
  .sth-kratce { grid-column: 1 / -1 !important; max-height: 200px !important; }
  .sth-news-articles { display: grid !important; grid-template-columns: 1fr 1fr !important; grid-column: 1 / -1 !important; }
}
@media(max-width:640px) {
  .sth-news-grid { grid-template-columns: 1fr !important; }
  .sth-news-big { min-height: 280px; }
  .sth-news-tile-img { width: 72px !important; min-width: 72px !important; }
}

/* ── SECTION MORE — viditelné u každé sekce ── */
.sth-section-more {
  font-size: 13px !important; font-weight: 700 !important;
  color: #17462F !important; opacity: 1 !important;
  text-decoration: none !important;
  border: 1px solid rgba(23,70,47,0.2);
  padding: 5px 14px !important; border-radius: 999px;
  transition: all 0.2s !important; white-space: nowrap;
}
.sth-section-more:hover { background: #17462F !important; color: #fff !important; }
/* Na tmavém pozadí */
.sth-tipy .sth-section-more,
.sth-cams .sth-section-more,
.sth-pocasi .sth-section-more,
.sth-galerie .sth-section-more {
  color: #fff !important;
  border-color: rgba(255,255,255,0.4) !important;
  background: rgba(255,255,255,0.1) !important;
}
.sth-tipy .sth-section-more:hover,
.sth-cams .sth-section-more:hover,
.sth-pocasi .sth-section-more:hover {
  background: #fff !important;
  color: #17462F !important;
  border-color: #fff !important;
}
/* Foto/mini/kultura — světlé sekce, zelené tlačítko */
.sth-foto .sth-section-more,
.sth-mini .sth-section-more,
.sth-kultura .sth-section-more,
.sth-drobno .sth-section-more,
.sth-dopor .sth-section-more {
  color: #17462F !important;
  border-color: rgba(23,70,47,0.25) !important;
  background: transparent !important;
}
.sth-foto .sth-section-more:hover,
.sth-mini .sth-section-more:hover,
.sth-kultura .sth-section-more:hover,
.sth-drobno .sth-section-more:hover {
  background: #17462F !important;
  color: #fff !important;
}

/* ═══════════════════════════════════════════════════
   TOPBAR + HERO — barevné sladění
   ═══════════════════════════════════════════════════ */

/* Topbar přechází plynule do hero — žádná ostrá hrana */
.sth-topbar {
  background: linear-gradient(90deg, #0d2b1f 0%, #17462F 40%, #1e5c38 70%, #164030 100%) !important;
  border-bottom: none !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
/* Hero overlay — identická barva #0d2b1f jako topbar */
.sth-hero-slide::after {
  background: linear-gradient(
    180deg,
    #0d2b1f 0%,
    rgba(13,43,31,0.7) 8%,
    rgba(13,43,31,0.0) 30%,
    rgba(0,0,0,0.0) 55%,
    rgba(0,0,0,0.6) 100%
  ) !important;
}
/* Hero text — výraznější */
.sth-hero-content { padding: 80px 24px 60px !important; }

/* ═══════════════════════════════════════════════════
   TIPY NA VÝLET — černé čitelné písmo
   ═══════════════════════════════════════════════════ */
.sth-tip-card {
  background: rgba(255,255,255,0.10) !important;
  border: 1px solid rgba(255,255,255,0.18) !important;
  color: #fff !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
}
.sth-tip-card:hover {
  background: rgba(255,255,255,0.18) !important;
  border-color: rgba(255,255,255,0.35) !important;
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 40px rgba(0,0,0,0.3) !important;
}
.sth-tip-title { color: #fff !important; font-weight: 800 !important; }
.sth-tip-excerpt { color: rgba(255,255,255,0.75) !important; }
.sth-tip-cat { color: #17462F !important; background: rgba(23,70,47,0.08) !important; font-size: 10px !important; letter-spacing: 1px !important; }

/* ── DOPOR — tlačítko Rezervovat → ── */
.sth-dopor-btn {
  background: #17462F !important;
  color: #fff !important;
  border: none !important;
  text-decoration: none !important;
  display: inline-block !important;
  padding: 14px 36px !important;
  border-radius: 10px !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 20px rgba(23,70,47,0.3) !important;
  margin-top: 8px !important;
  transition: all 0.3s !important;
  position: relative !important;
  z-index: 2 !important;
  opacity: 1 !important;
}
.sth-dopor-btn:hover {
  background: #0f2e1e !important;
  color: #fff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 30px rgba(23,70,47,0.4) !important;
  opacity: 1 !important;
}

/* ── MINIATURY — viditelné ── */
/* .sth-mini { display: none !important; } */

/* ── DOPOR btn — vyšší specifičnost přebije globální a { color } ── */
.sth-dopor .sth-dopor-btn,
.sth-dopor-glass .sth-dopor-btn,
a.sth-dopor-btn,
a.sth-dopor-btn:link,
a.sth-dopor-btn:visited {
  color: #ffffff !important;
  opacity: 1 !important;
  text-decoration: none !important;
}
a.sth-dopor-btn:hover { color: #ffffff !important; }

/* ═══════════════════════════════════════════════════
   MOBILNÍ RESPONSIVITA — iOS 390px / Android 412px
   ═══════════════════════════════════════════════════ */

@media (max-width: 768px) {

  /* TOPBAR — na mobilu skryj navigaci, zobraz jen brand */
  .sth-topbar {
    height: auto !important;
    padding: 0 16px !important;
    flex-wrap: wrap !important;
    min-height: 52px !important;
  }
  .sth-topbar-right {
    display: none !important; /* skryto — použit WP hamburger */
  }
  .sth-topbar-quote {
    display: none !important;
  }
  .sth-topbar-left {
    padding: 10px 0 !important;
  }

  /* HERO — menší výška na mobilu */
  .sth-hero {
    min-height: 220px !important;
    max-height: 300px !important;
  }
  .sth-hero h1 { font-size: clamp(2.2rem,10vw,3.5rem) !important; }
  .sth-hero h2 { font-size: clamp(0.9rem,4vw,1.2rem) !important; }

  /* NEWS — jeden sloupec */
  .sth-news-grid {
    grid-template-columns: 1fr !important;
  }
  .sth-news-articles {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }
  .sth-news-big { min-height: 260px !important; }
  .sth-news-tiles { gap: 8px !important; }
  .sth-news-tile-img {
    width: 76px !important;
    min-width: 76px !important;
  }
  .sth-kratce { max-height: 220px !important; }

  /* TIPY — klíčová oprava overflow */
  .sth-tipy-in {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
  }
  .sth-tip-cards {
    display: flex !important;
    flex-direction: column !important;
    overflow-x: hidden !important;
    gap: 12px !important;
  }
  .sth-tip-card {
    min-width: unset !important;
    max-width: 100% !important;
    width: 100% !important;
    flex-shrink: 0 !important;
    flex-direction: row !important;
    align-items: stretch !important;
    min-height: 90px !important;
  }
  .sth-tip-img {
    width: 110px !important;
    min-width: 110px !important;
    height: 100% !important;
    min-height: 90px !important;
    object-fit: cover !important;
    border-radius: 0 !important;
  }
  .sth-tip-body {
    padding: 10px 12px !important;
    flex: 1 !important;
  }
  .sth-tip-title { font-size: 14px !important; }
  .sth-tip-excerpt { display: none !important; } /* skryj na mobilu */

  /* WEBKAMERY */
  .sth-cam-card { width: 240px !important; height: 150px !important; }

  /* FOTO / KULTURA grid */
  .sth-foto-grid,
  .sth-drobno-grid,
  .sth-kultura-grid {
    grid-template-columns: 1fr !important;
  }

  /* DOPORUČUJEME */
  .sth-dopor-content {
    grid-template-columns: 1fr !important;
  }
  .sth-dopor-slider { min-height: 240px !important; }

  /* POČASÍ */
  .sth-pocasi-grid2 {
    grid-template-columns: 1fr !important;
    height: auto !important;
  }
  .sth-pocasi-map { height: 260px !important; }

  /* FOOTER */
  .sth-footer-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 16px !important;
  }
  .sth-footer-partners { flex-wrap: wrap !important; }
}

/* Extra malé telefony */
@media (max-width: 390px) {
  .sth-news-tile-img {
    width: 64px !important;
    min-width: 64px !important;
  }
  .sth-tip-img {
    width: 90px !important;
    min-width: 90px !important;
  }
}

/* ═══════════════════════════════════════════════════
   ARTEVIO REDESIGN — Full-height hero + smart topbar
   Ref: sumava.artevio.link
   ═══════════════════════════════════════════════════ */

/* Import Oswald font for h2 subheading */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@700&display=swap');

/* ── TOPBAR — průhledný, fixní, zasunuje se při scroll ── */
.sth-topbar {
  height: 88px !important;
  background: transparent !important;
  border-bottom: none !important;
  box-shadow: none !important;
  transition: transform 0.45s cubic-bezier(.4,0,.2,1), background 0.3s ease, box-shadow 0.3s ease !important;
}
.sth-topbar.sth-topbar--scrolled {
  background: rgba(13,43,31,0.95) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  box-shadow: 0 2px 20px rgba(0,0,0,0.25) !important;
}
.sth-topbar.sth-topbar--hidden {
  transform: translateY(-100%) !important;
}

/* ── LOGO — větší, bílé, vlevo ── */
.sth-topbar-camlogo {
  display: flex !important;
  align-items: center !important;
}
.sth-topbar-camlogo img {
  width: auto !important;
  height: 64px !important;
  max-width: 120px !important;
  border-radius: 0 !important;
  object-fit: contain !important;
  filter: brightness(0) invert(1) !important; /* bílé logo */
}

/* ── HERO — plná výška viewportu ── */
.sth-hero {
  min-height: 100vh !important;
  max-height: none !important;
}

/* ── HERO h2 — Oswald uppercase, tracking ── */
.sth-hero h2 {
  font-family: 'Oswald', 'Arial Narrow', Arial, sans-serif !important;
  font-size: clamp(0.85rem, 2vw, 1.1rem) !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 6px !important;
  color: rgba(255,255,255,0.88) !important;
}

/* ── HERO gradient — plynulý přechod dole do zelené ── */
.sth-hero-slide::after {
  background: linear-gradient(
    180deg,
    rgba(13,43,31,0.55) 0%,
    rgba(13,43,31,0.1) 20%,
    rgba(0,0,0,0) 45%,
    rgba(23,70,47,0) 60%,
    rgba(23,70,47,0.6) 80%,
    rgb(23,70,47) 100%
  ) !important;
}

/* Hero content — vycentrovaný vertikálně */
.sth-hero-content {
  padding: 0 24px !important;
}

/* ── NEWS sekce — navazuje na hero zelenou ── */
.sth-news {
  margin-top: 0 !important;
  padding-top: 48px !important;
}
.sth-news::before {
  background: linear-gradient(180deg,
    rgb(23,70,47) 0%,
    rgba(240,246,241,0.97) 80px,
    #f2f7f3 160px
  ) !important;
}

/* Mobile hero */
@media(max-width:768px) {
  .sth-topbar { height: 64px !important; }
  .sth-topbar-camlogo img { height: 44px !important; }
  .sth-hero { min-height: 100svh !important; }
  .sth-hero h2 { letter-spacing: 3px !important; }
}

/* ═══════════════════════════════════════════════════
   FIX — bílá/šedá linie nahoře + hero výška
   ═══════════════════════════════════════════════════ */

/* Body bg tmavě zelená — schová WP default šedou */
body { background-color: #0d2b1f !important; }

/* Hero musí začít od úplného vrcholu — topbar je sticky, hero je pod ním */
/* Topbar výška 88px → hero dostane negativní margin-top nebo padding */
.sth-hero {
  margin-top: -88px !important;      /* vytáhne hero za topbar */
  padding-top: 88px !important;      /* kompenzuje obsah */
  min-height: 100vh !important;
  max-height: none !important;
}

/* Hero výška — zvýšena o ~1/4 oproti předchozímu */
.sth-hero {
  min-height: 68vh !important;
  max-height: 76vh !important;
}

@media(max-width:768px) {
  .sth-hero {
    margin-top: -64px !important;
    padding-top: 64px !important;
    min-height: 58vh !important;
    max-height: 68vh !important;
  }
}

/* ── TIPY šipky — bílé, silný override mimo layer ── */
.sth-tipy-nav button,
.sth-wrap .sth-tipy-nav button,
.sth-tipy .sth-tipy-nav button {
  background: rgba(255,255,255,0.18) !important;
  color: #fff !important;
  border: 2px solid rgba(255,255,255,0.65) !important;
  border-radius: 50% !important;
  outline: none !important;
  box-shadow: none !important;
}
.sth-tipy-nav button:hover,
.sth-wrap .sth-tipy-nav button:hover {
  background: rgba(255,255,255,0.38) !important;
  border-color: #fff !important;
  color: #fff !important;
}

/* ── NADPISY — sladění fontu s Miniatury Romana Szpuka ── */
/* Aktuality — na bílém pozadí, zelená */
.sth-news .sth-section-title { color: #17462F !important; font-size: 1.5rem !important; font-weight: 800 !important; letter-spacing: -0.02em !important; }
/* Webkamery — na tmavém pozadí, bílá */
.sth-cams .sth-section-title { color: #fff !important; font-size: 1.5rem !important; font-weight: 800 !important; letter-spacing: -0.02em !important; }
/* Doporučujeme — na světlém pozadí, zelená */
.sth-dopor .sth-section-title { color: #17462F !important; font-size: 1.5rem !important; font-weight: 800 !important; letter-spacing: -0.02em !important; }

/* ── FOOTER — oprava bílého písma ── */
.sth-footer, .sth-footer * { color: inherit; }
.sth-footer-bottom { color: #8a9b92 !important; }
.sth-footer-bottom a { color: #17462F !important; font-weight: 600 !important; }
.sth-footer-partners a { color: #17462F !important; }
.sth-footer-logo span { color: #17462F !important; }
.sth-footer-social a { color: #17462F !important; }

/* ── DOPORUČUJEME — text viditelný ── */
.sth-dopor-glass p { color: #1a1a1a !important; }
.sth-dopor-glass a { color: #17462F !important; }

/* ── NADPISY Webkamery + Počasí — sladění s Miniatury ── */
.sth-cams .sth-section-title,
.sth-pocasi .sth-section-title {
  color: #fff !important;
  font-size: 1.5rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  font-family: var(--font-sans) !important;
}
/* Barva "Více webkamer →" sladění s textem nadpisu */
.sth-cams .sth-section-more { color: #fff !important; border-color: rgba(255,255,255,0.5) !important; }

/* ── POČASÍ — pravý panel: 4 horizontální články ── */
.sth-pocasi-articles {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  overflow-y: auto;
  scrollbar-width: none;
}
.sth-pocasi-articles::-webkit-scrollbar { display: none; }
.sth-pocasi-row {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  text-decoration: none;
  transition: background 0.2s;
  flex-shrink: 0;
}
.sth-pocasi-row:hover { background: rgba(255,255,255,0.13); }
.sth-pocasi-row-img {
  width: 72px;
  min-width: 72px;
  height: 52px;
  object-fit: cover;
  border-radius: 7px;
  flex-shrink: 0;
}
.sth-pocasi-row-body { flex: 1; overflow: hidden; }
.sth-pocasi-row-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sth-pocasi-row-excerpt {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* Počasí grid: vlevo mapa (2/5), vpravo články (3/5) */
.sth-pocasi-grid2 {
  grid-template-columns: 2fr 3fr !important;
  grid-template-rows: 1fr !important;
  height: 420px !important;
}
.sth-pocasi-map { grid-column: 1 !important; grid-row: 1 !important; }
.sth-pocasi-articles { grid-column: 2 !important; grid-row: 1 !important; }
@media(max-width:768px) {
  .sth-pocasi-grid2 { grid-template-columns: 1fr !important; height: auto !important; }
  .sth-pocasi-map { height: 260px !important; }
  .sth-pocasi-articles { height: auto !important; max-height: 400px !important; }
}

/* ── POČASÍ — tmavé pozadí, všechny texty bílé ── */
.sth-pocasi .sth-section-title { color: #fff !important; }
.sth-pocasi .sth-section-more { color: rgba(255,255,255,0.85) !important; border-color: rgba(255,255,255,0.4) !important; }
.sth-pocasi-row-title { color: #fff !important; }
.sth-pocasi-row-excerpt { color: rgba(255,255,255,0.6) !important; }
.sth-pocasi-row { text-decoration: none !important; }
.sth-pocasi .sth-pocasi-placeholder { color: rgba(255,255,255,0.4) !important; }

/* ── WEBKAMERY — sekce nadpis + Více sladěné ── */
.sth-cams .sth-section-title { color: #fff !important; font-weight: 800 !important; }
.sth-cams .sth-section-more { color: #fff !important; border-color: rgba(255,255,255,0.45) !important; background: rgba(255,255,255,0.1) !important; }
.sth-cams .sth-section-more:hover { background: #fff !important; color: #17462F !important; }

/* ── POČASÍ — světlé pozadí, černé texty ── */
.sth-pocasi { background: #f5f0e8 !important; }
.sth-pocasi-bg { display: none !important; }
.sth-pocasi .sth-section-title { color: #17462F !important; }
.sth-pocasi .sth-section-more { color: #17462F !important; border-color: rgba(23,70,47,0.3) !important; background: rgba(23,70,47,0.07) !important; }
.sth-pocasi .sth-section-more:hover { background: #17462F !important; color: #fff !important; }
.sth-pocasi-row { background: rgba(23,70,47,0.05) !important; border-color: rgba(23,70,47,0.12) !important; }
.sth-pocasi-row:hover { background: rgba(23,70,47,0.1) !important; }
.sth-pocasi-row-title { color: #111 !important; }
.sth-pocasi-row-excerpt { color: #555 !important; }
.sth-pocasi-map { border-color: rgba(23,70,47,0.2) !important; }
.sth-pocasi-quad-label { background: rgba(23,70,47,0.7) !important; color: #fff !important; }

/* ── NADPISY — FINÁLNÍ tmavá barva #17462F ── */
/* Webkamery, Počasí, Fotogalerie Knížecí Pláně */
.sth-cams .sth-section-title,
.sth-pocasi .sth-section-title,
.sth-galerie .sth-section-title {
  color: #17462F !important;
}
.sth-cams .sth-section-more,
.sth-galerie .sth-section-more {
  color: #17462F !important;
  border-color: rgba(23,70,47,0.4) !important;
  background: rgba(23,70,47,0.08) !important;
}
.sth-cams .sth-section-more:hover,
.sth-galerie .sth-section-more:hover {
  background: #17462F !important;
  color: #fff !important;
}
