/* =========================================================================
   KATEDRÁLNY ZBOR SV. CYRILA A METODA — KOŠICE
   Moderný, minimalistický a responzívny dizajn
   ========================================================================= */

/* ====================== CSS PREMENNÉ (DESIGN TOKENS) ====================== */
:root {
  /* Farby — minimalistická paleta, veľa bielej/svetlej plochy */
  --color-bg: #FFFFFF;
  --color-bg-soft: #FAF8F4;       /* teplá takmer-biela pre sekcie */
  --color-bg-alt: #F4EFE6;        /* jemný teplý odtieň pre striedanie sekcií */

  --color-text: #2B2B2B;          /* hlavný text, takmer čierna */
  --color-text-muted: #6B655F;    /* sekundárny text, dátumy, popisy */
  --color-text-soft: #8A8580;     /* tichý text, ikony */

  --color-accent: #6F1D1B;        /* tlmená bordová — dedí pôvodnú identitu */
  --color-accent-light: #8B4513;  /* hnedastá variácia akcentu */
  --color-gold: #A98344;          /* tlmená zlatistá — signature linka */

  --color-border: #E7E2D8;        /* jemné deliace linky */
  --color-white: #FFFFFF;

  /* Typografia */
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Rozmery a medzery */
  --max-width: 1180px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --header-height: 174px;

  /* Tiene — jemné, nie ťažké */
  --shadow-sm: 0 1px 3px rgba(43, 43, 43, 0.06);
  --shadow-md: 0 4px 16px rgba(43, 43, 43, 0.08);
  --shadow-lg: 0 12px 32px rgba(43, 43, 43, 0.10);
}

/* ====================== RESET A ZÁKLAD ====================== */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-bg-soft);
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
}

/* Viditeľný focus pre klávesnicu (prístupnosť) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

img {
  max-width: 100%;
  border-radius: var(--radius-sm);
}

a:link, a:visited, a:hover, a:active {
  text-decoration: none;
}

/* ====================== HLAVIČKA ====================== */
.site-header {
  background-color: var(--color-white);
  min-height: var(--header-height);
  position: sticky;
  top: 0;
  margin: 0;
  width: 100%;
  z-index: 2000;
  border-bottom: 1px solid var(--color-border);
}

.site-header img {
  height: 64px;
  width: auto;
  display: block;
  border-radius: 0;
}

.main-menu-container {
  max-width: var(--max-width);
  margin: 0 auto;
  background-color: var(--color-white);
}

.header-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px;
  gap: 20px;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.header-social {
  display: flex;
  align-items: center;
  gap: 6px;
}

.header-social a {
  color: var(--color-text-soft);
  font-size: 1.3rem;
  text-decoration: none;
  padding: 8px;
  transition: color 0.25s ease;
  display: inline-flex;
}

.header-social a.facebook:hover { color: #3B5998; }
.header-social a.youtube:hover { color: #C4302B; }
.header-social a.spotify:hover { color: #1DB954; }

/* Aplikuje sa na akýkoľvek element, ktorý je cieľom kotvy */
:target {
  scroll-margin-top: var(--header-height, 154px);
}

/* ====================== HAMBURGER TLAČIDLO (mobil) ====================== */
.menu-toggle,
.menu-toggle:hover,
.menu-toggle:focus,
.menu-toggle:active,
.menu-toggle.active {
  background-color: transparent;
  border: none;
  -webkit-tap-highlight-color: transparent;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  padding: 0;
  z-index: 2100;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background-color: var(--color-text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ====================== NAVIGAČNÉ MENU ====================== */
.navbar {
  background-color: var(--color-white);
  border-top: 1px solid var(--color-border);
  margin: auto;
  max-width: var(--max-width);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.navbar a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.01em;
  color: var(--color-text);
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.dropdown {
  display: flex;
  align-items: center;
  position: relative;
}

.dropdown .dropbtn {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.01em;
  border: none;
  outline: none;
  color: var(--color-text);
  padding: 14px 16px;
  background-color: transparent;
  margin: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.dropdown .dropbtn i {
  font-size: 11px;
  color: var(--color-text-soft);
}

.navbar a:hover,
.dropdown:hover .dropbtn {
  color: var(--color-accent);
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: var(--color-white);
  min-width: 200px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  z-index: 3001;
  top: 100%;
  left: 0;
  overflow: hidden;
}

.dropdown-content a {
  color: var(--color-text);
  padding: 12px 18px;
  text-decoration: none;
  display: block;
  text-align: left;
  font-weight: 400;
}

.dropdown-content a:hover {
  background-color: var(--color-bg-soft);
  color: var(--color-accent);
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* ====================== RESPONZÍVNA NAVIGÁCIA (MOBIL) ====================== */
@media (max-width: 900px) {
  .menu-toggle {
    display: flex;
  }

  .header-social {
    display: none;
  }

  .navbar {
    display: none;
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
    background-color: var(--color-white);
    border-top: 1px solid var(--color-border);
    padding: 8px 0 24px;
    box-shadow: var(--shadow-lg);
  }

  .navbar.open {
    display: flex;
  }

  .navbar a {
    width: 100%;
    text-align: left;
    padding: 16px 24px;
    border-bottom: 1px solid var(--color-border);
  }

  .dropdown {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .dropdown .dropbtn {
    width: 100%;
    justify-content: space-between;
    padding: 16px 24px;
    border-bottom: 1px solid var(--color-border);
  }

  .dropdown-content {
    display: none;
    position: static;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background-color: var(--color-bg-soft);
    width: 100%;
  }

  .dropdown.open .dropdown-content {
    display: block;
  }

  .dropdown-content a {
    padding: 14px 36px;
  }
}

/* ====================== HLAVNÝ OBSAH / WRAPPER ====================== */
.site-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}

.clearboth,
.clearfix {
  clear: both;
}

/* ====================== KARTY / SEKCIE (.box) ====================== */
.box, .box1, .box2 {
  background-color: var(--color-white);
  width: 100%;
  max-width: var(--max-width);
  border: 1px solid var(--color-border);
  padding: 48px;
  margin: 56px auto;
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-md);
  overflow: auto;
}

@media (max-width: 768px) {
  .box, .box1, .box2 {
    padding: 28px 20px;
    margin: 32px auto;
    border-radius: var(--radius-sm);
  }
}

.box1 {
  height: 300px;
  border: none;
  background-image: url('imgs/zcam1.jpg');
  background-size: cover;
  background-position: center;
  transition: background-image 0.4s ease;
}

.box1:hover {
  background-image: url('imgs/zcam2.jpg');
}

/* ====================== HERO SEKCIA (fotohlavna) ====================== */
.fotohlavna {
  width: 100%;
  min-height: 560px;
  height: calc(100vh - var(--header-height));
  max-height: 760px;
  padding: 0;
  margin: 0 auto;
  background-image: linear-gradient(180deg, rgba(20, 14, 10, 0.35) 0%, rgba(20, 14, 10, 0.55) 100%), url('imgs/zcam1.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.text-hlavna {
  width: 100%;
  max-width: 680px;
  position: relative;
  margin: 0 auto 56px;
  padding: 32px 36px;
  text-align: center;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.text-hlavna h1 {
  color: var(--color-accent) !important;
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 12px;
}

.text-hlavna p {
  color: var(--color-text) !important;
  font-size: 17px;
  text-align: center;
  padding: 4px 0;
}

@media (max-width: 768px) {
  .fotohlavna {
    min-height: 460px;
    height: calc(100vh - var(--header-height));
  }

  .text-hlavna {
    max-width: 92%;
    padding: 24px 20px;
    margin-bottom: 28px;
  }

  .text-hlavna h1 {
    font-size: 1.5rem;
  }

  .text-hlavna p {
    font-size: 15px;
  }
}

/* ====================== AKTUALITY / NEWS ====================== */
.news-container {
  width: 100%;
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, 1fr);
  background-color: var(--color-white);
  padding: 8px 0 0;
}

@media (max-width: 800px) {
  .news-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.news-item, .news-item2, .news-item3, .news-item4 {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: left;
  overflow: hidden;
  position: relative;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.news-item:hover, .news-item2:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.news-item4 {
  background-image: linear-gradient(135deg, var(--color-bg-alt), var(--color-gold));
  background-color: var(--color-bg-alt);
}

.news-item3 {
  padding: 0;
  border: none;
}

.news-item img, .news-item2 img, .news-item4 img {
  height: 200px;
  width: 100%;
  float: none;
  margin: 0 0 14px 0;
  object-fit: cover;
  border-radius: var(--radius-sm);
  display: block;
}

.news-item2 img {
  height: 140px;
}

/* Priestor pre tlačidlo FOTO na konci karty, bez absolútneho prekrytia textu */
.news-item {
  padding-bottom: 64px;
}

.buttonindex-div {
  width: calc(100% - 32px);
  position: absolute;
  bottom: 16px;
  left: 16px;
}

/* ====================== KONTAKTNÝ FORMULÁR ====================== */
.contact-form-container {
  background-color: var(--color-white);
  padding: 0;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--color-text);
  font-size: 14px;
}

input,
textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-family: var(--font-body);
  box-sizing: border-box;
  background-color: var(--color-bg-soft);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  background-color: var(--color-white);
  box-shadow: 0 0 0 3px rgba(111, 29, 27, 0.12);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

button,
.button-submit {
  background-color: var(--color-accent);
  color: var(--color-white);
  padding: 13px 22px;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.25s ease, transform 0.15s ease;
}

button:hover {
  background-color: var(--color-accent-light);
}

button:active {
  transform: scale(0.99);
}

.success-message {
  display: none;
  text-align: center;
  color: var(--color-text);
  margin-top: 20px;
}

/* ====================== PÄTIČKA ====================== */
footer {
  background-color: var(--color-text);
  color: #E9E4DC;
  padding: 56px 24px 32px;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  text-align: left;
}

.footer-logo {
  flex: 1;
  min-width: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo img {
  max-width: 130px;
  height: auto;
  display: block;
}

.footer-contact, .footer-social {
  flex: 1;
  min-width: 220px;
}

.footer-contact h3, .footer-social h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.15rem;
  margin-bottom: 14px;
  color: var(--color-white);
  text-align: left;
  padding: 0;
}

.footer-contact p {
  margin: 8px 0;
  font-size: 0.9rem;
  color: #C9C2B8;
}

.footer-contact a, .footer-social a {
  color: #C9C2B8;
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-contact a:hover, .footer-social a:hover {
  color: var(--color-white);
}

.footer-social {
  display: flex;
  flex-direction: column;
}

.footer-social a {
  font-size: 1.4rem;
  margin: 0 10px 0 0;
  display: inline-block;
}

.footer-social a.facebook:hover { color: #6FA0E0; }
.footer-social a.youtube:hover { color: #E25950; }
.footer-social a.spotify:hover { color: #34D766; }

.footer-copyright {
  margin-top: 36px;
  font-size: 0.82rem;
  width: 100%;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 18px;
  color: #9C958B;
}

@media (max-width: 768px) {
  .footer-container {
    text-align: center;
  }

  .footer-contact h3, .footer-social h3 {
    text-align: center;
  }

  .footer-social {
    align-items: center;
  }
}

/* ====================== TYPOGRAFIA ====================== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--color-accent);
  text-align: center;
  font-weight: 600;
  padding: 0;
  margin: 0 0 16px;
  position: relative;
}

/* Signature element — tenká zlatistá linka pod nadpismi sekcií */
.box > h1::after,
.box > h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 2px;
  background-color: var(--color-gold);
  margin: 14px auto 0;
}

h1 {
  font-size: 2rem;
  letter-spacing: 0.01em;
}

h2 {
  font-size: 1.6rem;
  margin-bottom: 28px;
}

h3 {
  font-size: 1.25rem;
}

@media (max-width: 600px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.35rem; }
}

p {
  font-size: 16px;
  line-height: 1.7;
  text-align: left;
  color: var(--color-text);
  padding: 4px 0;
  margin: 0;
}

p.nazov {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
  font-family: var(--font-display);
  padding: 0 0 4px;
  text-align: left;
}

p.den {
  font-size: 14px;
  text-align: left;
  color: var(--color-gold);
  font-weight: 500;
  padding: 0 0 8px;
  line-height: 1.5;
}

p.tmavy {
  background-color: var(--color-accent);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  color: var(--color-white);
  font-size: 1.05em;
}

p.ciara {
  background-color: var(--color-bg-alt);
  padding: 16px 18px;
  color: var(--color-text);
  border-left: 4px solid var(--color-accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* ====================== OBRÁZKY V TEXTE ====================== */
img.obr {
  margin: 5px 15px 5px 10px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  height: 150pt;
  width: 20%;
  object-fit: cover;
}

/* ====================== TLAČIDLÁ ====================== */
.buttons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
  margin-top: 0;
}

.button, .buttonrok, .buttonrok2, .buttonindex, .buttonindex2, .buttonfoto {
  color: var(--color-white);
  padding: 14px 18px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 15px;
  font-weight: 500;
  margin: 4px 2px;
  transition: background-color 0.25s ease, transform 0.15s ease;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-sm);
  background-color: var(--color-accent);
  border: none;
}

.button {
  width: 100%;
  min-height: 90px;
}

.buttonrok2 {
  opacity: 0.4;
  cursor: not-allowed;
}

.buttonrok2:hover {
  transform: none;
}

.buttonindex, .buttonindex2 {
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  width: auto;
  margin: 0;
  font-size: 14px;
}

.button:hover, .buttonrok:hover, .buttonfoto:hover, .buttonindex:hover, .buttonindex2:hover {
  background-color: var(--color-accent-light);
}

/* "Staršie" tlačidlo na strede */
center > a > button {
  background-color: transparent;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
  width: auto;
  padding: 12px 28px;
  box-shadow: none;
}

center > a > button:hover {
  background-color: var(--color-accent);
  color: var(--color-white);
}

/* ====================== TABUĽKY ====================== */
table {
  border-collapse: collapse;
  border-color: var(--color-border);
}

table.gallery, table.napisali {
  width: 48%;
  min-height: 100px;
  color: var(--color-text);
  padding: 16px;
  text-align: center;
  display: inline-block;
  margin: 4px 2px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background-color: var(--color-white);
  transition: box-shadow 0.25s ease;
}

table.napisali {
  width: 98%;
}

table.gallery:hover, table.napisali:hover {
  box-shadow: var(--shadow-md);
}

table.hudba {
  width: 100%;
  min-height: 100px;
  color: var(--color-text);
  padding: 16px;
  text-align: left;
  display: inline-block;
  margin: 4px 2px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background-color: var(--color-white);
}

td {
  vertical-align: middle;
  padding: 6px 0;
}

th {
  border-bottom: 2px solid var(--color-accent);
  padding-bottom: 8px;
}

audio::-webkit-media-controls-panel {
  background-color: var(--color-bg-alt);
  color: var(--color-accent);
}

@media (max-width: 700px) {
  table.gallery, table.napisali {
    width: 100%;
  }
}

/* ====================== GALÉRIA-KARTA (video) ====================== */
.gallery-card {
  width: 48%;
  min-height: 100px;
  color: var(--color-text);
  display: inline-flex;
  margin: 4px 2px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background-color: var(--color-white);
  overflow: hidden;
  text-decoration: none;
  vertical-align: top;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.gallery-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.gallery-card__img {
  width: 33.333%;
  flex-shrink: 0;
  overflow: hidden;
}

.gallery-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
}

.gallery-card__info {
  width: 66.666%;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

@media (max-width: 768px) {
  .gallery-card {
    width: 100%;
  }
}

/* ====================== POLAROID GALÉRIA ====================== */
.polaroid {
  width: 30%;
//  aspect-ratio: 1 / 1;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
  margin-right: 20px;
  text-align: center;
  padding: 10px;
  box-sizing: border-box;
  border-radius: var(--radius-sm);
  overflow: hidden;
  justify-content: center;
  align-items: center;
  float: left;
  transition: box-shadow 0.25s ease;
}

.polaroid:hover {
  box-shadow: var(--shadow-md);
}

.polaroid img.foto {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease, opacity 0.4s ease;
  display: block;
  margin: 0;
}

.polaroid img.foto:hover {
  opacity: 0.85;
  transform: scale(1.06);
}

.polaroidtext {
  margin: 10px 0 0;
  padding: 0;
  text-align: center;
  color: var(--color-text);
  font-size: 14px;
}

@media (max-width: 600px) {
  .polaroid {
    width: 100%;
    margin-right: 0;
  }
  img.foto2 {
    height: 200px;
  }

}

img.foto, img.foto2 {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center;
  float: none;
  border-radius: var(--radius-sm);
  transition: transform 0.4s ease, opacity 0.4s ease;
  display: block;
}

img.foto2 {
  height: 405px;
}

img.foto:hover, img.foto2:hover {
  opacity: 0.88;
  transform: scale(1.04);
}

.fotohl-container {
  width: 100%;
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(1, 1fr);
  padding: 0;
}

.fotoh2a-container, .fotoh2b-container {
  width: 100%;
  display: grid;
  gap: 2px;
  grid-template-columns: repeat(3, 1fr);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.fotoh2a-container {
  background-color: var(--color-white);
}

.fotoh2b-container {
  background-color: var(--color-bg-alt);
}

.fotoh3-container {
  width: 100%;
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(2, 1fr);
  padding: 0;
}

@media (max-width: 700px) {
  .fotoh2a-container, .fotoh2b-container {
    grid-template-columns: 1fr;
  }

  .fotoh3-container {
    grid-template-columns: 1fr;
  }
  .foto2-item {
  grid-row: 1 / span 1;
  }

}

.foto-item, .fotoleft-item, .fotoright-item, .foto2-item, .foto4-item {
  position: relative;
  overflow: hidden;
}

.fotoleft-item, .fotoright-item {
  grid-column: 2 / span 2;
}

.foto2-item {
  grid-row: 1 / span 2;
}

.foto4-item {
  grid-column: 1 / span 2;
}

.foto-item {
  background-color: var(--color-white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.album {
  position: absolute;
  bottom: 24px;
  left: 0;
  width: 100%;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  text-align: center;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.55);
}

/* ====================== OSTATNÉ ====================== */
.fa-share {
  color: var(--color-accent);
}

.diki {
  width: 60%;
  padding: 16px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 4rem;
  margin: auto;
  border-radius: var(--radius-sm);
  color: var(--color-accent);
}

.odkaz {
  background-color: var(--color-bg-alt);
  color: var(--color-accent);
  border: 1px solid var(--color-border);
}

summary {
  background-color: var(--color-bg-soft);
  padding: 16px 20px;
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: 1.5rem;
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

summary h1 {
  padding: 0;
  margin: 0;
  text-align: left;
}

summary h1::after {
  display: none;
}

/* ====================== MILNÍKY (História) ====================== */
.milniky {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.milnik {
  padding: 16px 20px;
  background: var(--color-bg-alt);
  border-left: 4px solid var(--color-accent);
  color: var(--color-text);
  border-radius: var(--radius-sm);
}

.milnik strong {
  color: var(--color-accent);
  font-family: var(--font-display);
}

/* ====================== SUPPORT (Podporte nás) ====================== */
.support-options {
  display: grid;
  gap: 20px;
  margin-bottom: 36px;
}

.support-option {
  background: var(--color-white);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.bank-details {
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  padding: 16px;
  border-radius: var(--radius-sm);
  margin-top: 14px;
  font-family: "SF Mono", "Courier New", monospace;
  font-size: 14px;
}

.info-box {
  background: var(--color-bg-soft);
  padding: 24px;
  border-radius: var(--radius-md);
  margin-bottom: 28px;
  border-left: 4px solid var(--color-accent);
}

.info-box h3 {
  color: var(--color-accent);
  margin-bottom: 14px;
  display: flex;
  text-align: left;
  gap: 10px;
}

.thank-you {
  background: linear-gradient(135deg, var(--color-gold), #C9A85F);
  padding: 36px;
  border-radius: var(--radius-md);
  text-align: center;
  color: white;
}

.thank-you h2 {
  margin-bottom: 16px;
  color: var(--color-white);
}

.thank-you h2::after {
  background-color: rgba(255,255,255,0.6);
}

.thank-you p {
  color: var(--color-white);
  text-align: center;
}

/* ====================== HUDBA — ZOZNAM PIESNÍ ====================== */
.songs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.songs-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: visible;
  position: relative;
}

@media (max-width: 768px) {
  .songs-grid {
    grid-template-columns: 1fr;
  }
}

    /* ── Štatistická lišta ── */
    .stats-bar {
      display: flex;
      justify-content: center;
      gap: 48px;
      flex-wrap: wrap;
      padding: 32px 24px;
      background: var(--color-white);
      border-bottom: 1px solid var(--color-border);
      margin-bottom: 0;
    }
    .stat-item {
      text-align: center;
    }
    .stat-number {
      font-family: var(--font-display);
      font-size: 2.4rem;
      font-weight: 600;
      color: var(--color-accent);
      line-height: 1;
    }
    .stat-label {
      font-size: 13px;
      color: var(--color-text-muted);
      margin-top: 4px;
    }
 
    /* ── Timeline ── */
    .timeline {
      position: relative;
      padding: 8px 0 8px 0;
      margin: 0;
      list-style: none;
    }
    .timeline::before {
      content: "";
      position: absolute;
      left: 18px;
      top: 0;
      bottom: 0;
      width: 2px;
      background: var(--color-border);
    }
    .timeline-item {
      position: relative;
      padding: 0 0 20px 52px;
    }
    .timeline-item:last-child {
      padding-bottom: 0;
    }
    .timeline-dot {
      position: absolute;
      left: 10px;
      top: 4px;
      width: 18px;
      height: 18px;
      border-radius: 50%;
      background: var(--color-white);
      border: 2px solid var(--color-accent);
      z-index: 1;
    }
    .timeline-dot.gold {
      border-color: var(--color-gold);
    }
    .timeline-card {
      background: var(--color-white);
      border: 1px solid var(--color-border);
      border-radius: var(--radius-sm);
      padding: 14px 18px;
      transition: box-shadow 0.2s ease, transform 0.2s ease;
    }
    .timeline-card:hover {
      box-shadow: var(--shadow-md);
      transform: translateX(3px);
    }
    .timeline-meta {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 4px;
      flex-wrap: wrap;
    }
    .timeline-date {
      font-size: 12px;
      font-weight: 600;
      color: var(--color-gold);
      letter-spacing: 0.04em;
      text-transform: uppercase;
      white-space: nowrap;
    }
    .timeline-flag {
      font-size: 16px;
      line-height: 1;
    }
    .timeline-badge {
      font-size: 11px;
      font-weight: 600;
      background: var(--color-accent);
      color: white;
      padding: 2px 8px;
      border-radius: 20px;
      letter-spacing: 0.03em;
    }
    .timeline-title {
      font-family: var(--font-display);
      font-size: 1rem;
      font-weight: 500;
      color: var(--color-text);
      margin: 0;
      padding: 0;
      text-align: left;
    }
    .timeline-title::after { display: none; }
    .timeline-desc {
      font-size: 13px;
      color: var(--color-text-muted);
      margin-top: 3px;
    }
 
    /* ── Spolupráca – grid kariet ── */
    .collab-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
      gap: 16px;
      margin-top: 8px;
    }
    .collab-card {
      background: var(--color-bg-soft);
      border: 1px solid var(--color-border);
      border-radius: var(--radius-sm);
      padding: 20px;
      display: flex;
      align-items: flex-start;
      gap: 14px;
      transition: box-shadow 0.2s ease;
    }
    .collab-card:hover {
      box-shadow: var(--shadow-sm);
    }
    .collab-icon {
      font-size: 1.4rem;
      color: var(--color-accent);
      flex-shrink: 0;
      margin-top: 2px;
      width: 28px;
      text-align: center;
    }
    .collab-card h4 {
      font-family: var(--font-display);
      font-size: 0.95rem;
      font-weight: 600;
      color: var(--color-text);
      margin: 0 0 4px;
      text-align: left;
      padding: 0;
    }
    .collab-card h4::after { display: none; }
    .collab-card p {
      font-size: 13px;
      color: var(--color-text-muted);
      padding: 0;
      margin: 0;
    }
 
    /* ── CD sekcia ── */
    .cd-list {
      display: flex;
      flex-direction: column;
      gap: 8px;
      margin-top: 8px;
    }
    .cd-item {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 10px 14px;
      background: var(--color-white);
      border: 1px solid var(--color-border);
      border-radius: var(--radius-sm);
      font-size: 14px;
      color: var(--color-text);
    }
    .cd-item i {
      color: var(--color-gold);
      font-size: 1rem;
      flex-shrink: 0;
    }
 
    @media (max-width: 600px) {
      .stats-bar { gap: 28px; }
      .stat-number { font-size: 1.8rem; }
      .timeline::before { left: 14px; }
      .timeline-item { padding-left: 40px; }
      .timeline-dot { left: 6px; }
    }
	
    /* ── Záložky (tab navigácia) ── */
    .tab-nav {
      display: flex;
      gap: 0;
      border-bottom: 2px solid var(--color-border);
      margin-bottom: 32px;
      flex-wrap: wrap;
    }
    .tab-btn {
      font-family: var(--font-body);
      font-size: 14px;
      font-weight: 500;
      padding: 12px 20px;
      background: transparent;
      border: none;
      border-bottom: 2px solid transparent;
      margin-bottom: -2px;
      cursor: pointer;
      color: var(--color-text-muted);
      transition: color 0.2s, border-color 0.2s;
      width: auto;
      box-shadow: none;
    }
    .tab-btn:hover, .tab-btn.active:hover { 
	  color: white; 
	  background-color: var(--color-accent);
	  border-radius: var(--radius-sm);
	  }

    .tab-btn.active {
      color: var(--color-accent);
      border-bottom-color: var(--color-accent);
      font-weight: 600;
    }
    .tab-panel { display: none; }
    .tab-panel.active { display: block; }
 
    /* ── Audio karty ── */
    .audio-section {
      margin-bottom: 36px;
    }
    .audio-section-header {
      display: flex;
      align-items: center;
      gap: 14px;
      margin-bottom: 12px;
      padding-bottom: 10px;
      border-bottom: 1px solid var(--color-border);
    }
    .audio-section-header img {
      height: 36px;
      width: auto;
      border-radius: 0;
    }
    .audio-section-header h3 {
      font-size: 1rem;
      font-weight: 600;
      color: var(--color-text);
      margin: 0;
      text-align: left;
      padding: 0;
    }
    .audio-section-header h3::after { display: none; }
    .audio-section-note {
      font-size: 12px;
      color: var(--color-text-muted);
      font-style: italic;
      margin-left: auto;
      flex-shrink: 0;
    }
 
    .audio-list {
      display: flex;
      flex-direction: column;
      gap: 2px;
    }
    .audio-row {
      display: grid;
      grid-template-columns: 1fr auto;
      align-items: center;
      gap: 16px;
      padding: 12px 16px;
      background: var(--color-white);
      border: 1px solid var(--color-border);
      border-radius: var(--radius-sm);
      transition: background 0.15s;
    }
    .audio-row:hover { background: var(--color-bg-soft); }
    .audio-row + .audio-row { margin-top: 4px; }
    .audio-title {
      font-size: 14px;
      font-weight: 500;
      color: var(--color-text);
      line-height: 1.4;
    }
    .audio-composer {
      font-size: 12px;
      color: var(--color-text-muted);
      margin-top: 2px;
    }
    .audio-row audio {
      width: 260px;
      flex-shrink: 0;
    }
    @media (max-width: 700px) {
      .audio-row {
        grid-template-columns: 1fr;
      }
      .audio-row audio { width: 100%; }
    }

    /* ── Sticky filter lišta ── */
    .video-filter {
      position: sticky;
      top: var(--header-height, 84px);
      z-index: 100;
      background: var(--color-white);
      border-bottom: 1px solid var(--color-border);
      padding: 0 24px;
      display: flex;
      gap: 0;
      overflow-x: auto;
      scrollbar-width: none;
	  flex-wrap: wrap;
    }
//    .video-filter::-webkit-scrollbar { display: none; }
    a.filter-btn {
      font-family: var(--font-body);
      font-size: 13px;
      font-weight: 500;
      padding: 14px 18px;
      background: transparent;
      border: none;
      border-bottom: 2px solid transparent;
      margin-bottom: -1px;
      cursor: pointer;
      color: var(--color-text-muted);
      white-space: nowrap;
      transition: color 0.2s, border-color 0.2s;
      width: auto;
      box-shadow: none;
    }
    a.filter-btn:hover, a.filter-btn.active:hover { 
	  color: white; 
	  background-color: var(--color-accent);
	  border-radius: var(--radius-sm);
	  }
    .filter-btn.active {
      color: var(--color-accent);
      border-bottom-color: var(--color-accent);
      font-weight: 600;
    }
 
    /* ── Video sekcie ── */
    .video-section {
      margin-bottom: 0;
    }
    .video-section-header {
      display: flex;
      align-items: baseline;
      gap: 12px;
      padding: 32px 0 16px;
      border-bottom: 1px solid var(--color-border);
      margin-bottom: 20px;
    }
    .video-section-header h2 {
      font-size: 1.25rem;
      font-weight: 600;
      color: var(--color-text);
      margin: 0;
      text-align: left;
      padding: 0;
    }
    .video-section-header h2::after { display: none; }
    .video-section-header .vsection-date {
      font-size: 13px;
      color: var(--color-text-muted);
    }
 
    /* ── Video grid ── */
    .video-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
      gap: 16px;
      margin-bottom: 8px;
    }
    .video-card {
      background: var(--color-white);
      border: 1px solid var(--color-border);
      border-radius: var(--radius-sm);
      overflow: hidden;
      text-decoration: none;
      color: var(--color-text);
      display: flex;
      flex-direction: column;
      transition: box-shadow 0.2s ease, transform 0.2s ease;
    }
    .video-card:hover {
      box-shadow: var(--shadow-md);
      transform: translateY(-2px);
    }
    .video-thumb {
      position: relative;
      aspect-ratio: 16 / 9;
      overflow: hidden;
      background: #111;
    }
    .video-thumb img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      border-radius: 0;
      transition: opacity 0.2s;
    }
    .video-card:hover .video-thumb img { opacity: 0.85; }
    .video-play-icon {
      position: absolute;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      pointer-events: none;
    }
    .video-play-icon i {
      font-size: 2.2rem;
      color: rgba(255,255,255,0.88);
      filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
      transition: transform 0.2s;
    }
    .video-card:hover .video-play-icon i { transform: scale(1.12); }
    .video-duration {
      position: absolute;
      bottom: 7px;
      right: 9px;
      background: rgba(0,0,0,0.75);
      color: #fff;
      font-size: 11px;
      font-weight: 600;
      padding: 2px 6px;
      border-radius: 3px;
      font-variant-numeric: tabular-nums;
    }
    .video-info {
      padding: 12px 14px 14px;
      flex: 1;
    }
    .video-info-title {
      font-size: 14px;
      font-weight: 600;
      line-height: 1.4;
      margin-bottom: 4px;
    }
    .video-info-composer {
      font-size: 12px;
      color: var(--color-text-muted);
    }
 
    /* Sekcie skryté/zobrazené cez filter */
    .video-section.hidden { display: none; }
 
    @media (max-width: 600px) {
      .video-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
      .video-filter { padding: 0 12px; }
      .filter-btn { padding: 12px 12px; font-size: 12px; }
    }