* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: Arial, Helvetica, sans-serif;
}

.uvod {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow-x: hidden;
  overflow-y: auto;
  padding: clamp(28px, 6vh, 72px) 24px;
  background:
    linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.45)),
    url("../IMAGES/gv-bg-base.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.uvodny-obsah {
  position: relative;
  z-index: 2;
  width: min(100%, 760px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 4vh, 38px);
  text-align: center;
}

.gv-brand-title,
.uvodny-nadpis {
  margin: 0;
  padding: 0.28em 0.6em 0.36em;
  border-radius: 20px;
  background: linear-gradient(90deg, rgba(20, 5, 3, 0.10), rgba(20, 5, 3, 0.48), rgba(20, 5, 3, 0.10));
  color: #fff3df;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 5.2vw, 4.6rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.075em;
  text-wrap: balance;
  text-shadow:
    0 2px 2px rgba(0, 0, 0, 0.82),
    0 6px 18px rgba(0, 0, 0, 0.72),
    0 0 28px rgba(121, 12, 12, 0.35);
}

.gv-brand-title::after,
.uvodny-nadpis::after {
  content: "";
  display: block;
  width: 62%;
  height: 3px;
  margin: 0.24em auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #b52b2b 24%, #efc38c 50%, #b52b2b 76%, transparent);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
}

.gv-brand-title span,
.uvodny-nadpis span {
  display: block;
  white-space: nowrap;
}

.gv-brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.gv-brand-subtitle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  color: rgba(255, 243, 223, 0.86);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(0.78rem, 1.5vw, 1.08rem);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-shadow: 0 2px 7px rgba(0,0,0,.62);
}

.gv-brand-subtitle::before,
.gv-brand-subtitle::after {
  content: "";
  width: clamp(28px, 5vw, 58px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(239,195,140,.85));
}

.gv-brand-subtitle::after {
  background: linear-gradient(90deg, rgba(239,195,140,.85), transparent);
}

.gv-brand--content .gv-brand-title {
  font-size: clamp(1.75rem, 3.5vw, 3.2rem);
  padding: 0.24em 0.58em 0.32em;
}

.gv-brand--content .gv-brand-title span {
  display: inline;
}

.gv-brand--content .gv-brand-subtitle {
  margin-top: 6px;
  font-size: clamp(0.68rem, 1.1vw, 0.9rem);
  letter-spacing: 0.20em;
}

.gv-brand--home .gv-brand-title {
  margin: 0;
}

.tlacidla {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  width: 100%;
}

.uvodne-logo {
  width: min(100%, 536px);
}

.uvodne-logo img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.48));
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.52);
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 1px;
  cursor: pointer;
  backdrop-filter: blur(5px);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.38);
  transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
  animation: pulz 2.6s ease-in-out infinite;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-4px) scale(1.04);
  background: rgba(255, 255, 255, 0.18);
  outline: none;
}

.btn-main {
  width: 220px;
  height: 96px;
  font-size: 2rem;
}

.btn-side {
  width: 130px;
  height: 54px;
  font-size: 1rem;
}

.audio-control {
  width: 130px;
  min-height: 54px;
}

.audio-control.is-active {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 214px;
  min-height: 64px;
  padding: 7px;
  border: 2px solid rgba(255, 255, 255, 0.95);
  border-radius: 999px;
  background: rgba(18, 82, 54, 0.82);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(7px);
  transition: width 0.22s ease, background 0.22s ease;
}

.audio-control.is-active .btn {
  display: none;
}

.audio-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.audio-actions[hidden] {
  display: none;
}

.audio-action {
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font: inherit;
  font-size: 0.83rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}

.audio-action:hover,
.audio-action:focus-visible {
  background: rgba(255, 255, 255, 0.30);
  outline: none;
  transform: translateY(-1px);
}

.audio-action-stop {
  background: rgba(80, 0, 0, 0.38);
}

@keyframes pulz {
  0%, 100% {
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.38);
  }
  50% {
    box-shadow: 0 14px 48px rgba(255, 255, 255, 0.28);
  }
}

.gv-modal-is-open {
  overflow: hidden;
}

.info-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 5;
  width: 50vw;
  height: 100vh;
  padding: 48px 42px;
  overflow-y: auto;
  background: rgba(255, 255, 255, 0.50);
  color: #111111;
  backdrop-filter: blur(8px);
  transform: translateX(100%);
  transition: transform 0.28s ease;
  box-shadow: -18px 0 48px rgba(0, 0, 0, 0.25);
}

.info-panel.open {
  transform: translateX(0);
}

.info-panel h1 {
  margin-top: 0;
}

.info-panel p {
  font-size: 1.02rem;
  line-height: 1.58;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.45);
}

.info-close {
  position: sticky;
  top: 0;
  float: right;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.72);
  color: #ffffff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.obsah-body {
  min-height: 100vh;
  min-height: 100svh;
  padding: 0 24px 48px;
  color: #fff3df;
  background:
    linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.45)),
    url("../IMAGES/gv-bg-base.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.obsah-header {
  width: min(100%, 1240px);
  margin: 0 auto;
  padding-top: clamp(24px, 4.5vh, 52px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 3vw, 44px);
}

.obsah-nazov {
  color: #7d1717;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 2.65vw, 2.55rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: 0.065em;
  white-space: nowrap;
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.9);
}

.obsah-nazov::after {
  content: "";
  display: block;
  width: 72%;
  height: 3px;
  margin-top: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #a21d1d, #dca36e, transparent);
}

.obsah-menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.obsah-volba,
.obsah-domov {
  position: relative;
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.52);
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 1px;
  cursor: pointer;
  backdrop-filter: blur(5px);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.38);
  transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
  animation: pulz 2.6s ease-in-out infinite;
}

.obsah-volba {
  width: auto;
  padding: 0 24px;
  font-size: 1rem;
}

.obsah-domov {
  width: 64px;
  padding: 0;
}

.obsah-domov img {
  display: block;
  width: 31px;
  height: 31px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.45));
}

.obsah-volba::after,
.obsah-domov::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 11px);
  left: 50%;
  z-index: 8;
  width: max-content;
  max-width: 290px;
  padding: 9px 12px;
  border-radius: 10px;
  background: rgba(42, 28, 25, 0.96);
  color: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.24);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 5px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.obsah-domov::after {
  right: 0;
  left: auto;
  max-width: 180px;
  transform: translateY(5px);
}

.obsah-volba:hover::after,
.obsah-volba:focus-visible::after,
.obsah-domov:hover::after,
.obsah-domov:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.obsah-domov:hover::after,
.obsah-domov:focus-visible::after {
  transform: translateY(0);
}

.obsah-volba:hover,
.obsah-volba:focus-visible,
.obsah-domov:hover,
.obsah-domov:focus-visible {
  transform: translateY(-4px) scale(1.04);
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 14px 48px rgba(255, 255, 255, 0.28);
  outline: none;
}

.obsah-pracovna-plocha {
  width: min(100%, 1240px);
  min-height: 58vh;
  margin: clamp(30px, 6vh, 66px) auto 0;
  border-top: 1px solid rgba(114, 36, 29, 0.13);
}

/* GV motto */
.gv-motto {
  font-family: Georgia, "Times New Roman", serif;
  text-align: center;
  text-wrap: balance;
}

.gv-motto--home {
  width: min(100%, 980px);
  margin-top: 6px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff3df;
  font-size: clamp(1.08rem, 2.1vw, 1.62rem);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: 0.02em;
  white-space: nowrap;
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.86),
    0 8px 22px rgba(0, 0, 0, 0.70);
  box-shadow: none;
  backdrop-filter: none;
}

.obsah-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.gv-motto--content {
  max-width: 560px;
  padding: 0.48rem 0.95rem;
  border: 1px solid rgba(239, 195, 140, 0.42);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  color: rgba(255, 243, 223, 0.88);
  font-size: clamp(0.82rem, 1.15vw, 1rem);
  font-weight: 600;
  line-height: 1.28;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.66);
  backdrop-filter: blur(4px);
}

/* GV Welcome – Testovacia prevádzka v1.1 */
.gv-welcome-notice {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 30;
  box-sizing: border-box;
  width: min(820px, calc(100vw - 32px));
  max-height: min(88vh, 760px);
  overflow-y: auto;
  overflow-x: hidden;
  padding: clamp(22px, 3vw, 34px);
  padding-bottom: clamp(30px, 3.6vw, 42px);
  border: 1px solid rgba(216, 194, 122, 0.7);
  border-radius: 24px;
  background: rgba(36, 18, 14, 0.88);
  color: #fff3df;
  text-align: left;
  box-shadow:
    0 0 0 100vmax rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    0 0 0 1px rgba(216, 194, 122, 0.12),
    0 28px 90px rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(12px);
  transform: translate(-50%, -50%);
  opacity: 1;
  transition: opacity 0.24s ease, transform 0.24s ease, visibility 0.24s ease;
}

.gv-welcome-notice.is-hidden {
  visibility: hidden;
  opacity: 0;
  transform: translate(-50%, -48%);
  pointer-events: none;
}

.gv-welcome-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 12px;
  padding: 0.42rem 0.82rem;
  border: 1px solid rgba(216, 194, 122, 0.44);
  border-radius: 999px;
  background: rgba(255, 243, 223, 0.08);
  color: #d8c27a;
  font-size: clamp(0.88rem, 1.15vw, 0.98rem);
  font-weight: 700;
  letter-spacing: 0.015em;
}

.gv-welcome-notice h2 {
  margin: 0 0 14px;
  color: #fff3df;
  font-family: inherit;
  font-size: clamp(1.42rem, 2.4vw, 2rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.gv-welcome-text p {
  margin: 0.74rem 0 0;
  font-size: clamp(0.96rem, 1.24vw, 1.08rem);
  line-height: 1.62;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.42);
}

.gv-welcome-text strong {
  font-weight: 800;
}

.gv-welcome-quote {
  margin-top: 1.35rem !important;
  color: #d8c27a;
  font-size: clamp(1.03rem, 1.45vw, 1.2rem) !important;
  line-height: 1.5 !important;
}

.gv-welcome-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.25rem;
  min-height: 44px;
  padding: 0.72rem 1.25rem;
  border: 1px solid rgba(216, 194, 122, 0.76);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(216, 194, 122, 0.22), rgba(201, 169, 78, 0.14));
  color: #fff3df;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
  transition: background 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.gv-welcome-action:hover,
.gv-welcome-action:focus-visible {
  border-color: rgba(216, 194, 122, 0.94);
  background: linear-gradient(180deg, rgba(216, 194, 122, 0.3), rgba(201, 169, 78, 0.2));
  outline: none;
  transform: translateY(-1px);
}

.gv-welcome-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 243, 223, 0.45);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.26);
  color: #fff3df;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}

.gv-welcome-close:hover,
.gv-welcome-close:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  outline: none;
  transform: scale(1.04);
}

@media (max-width: 768px) {
  .gv-welcome-notice {
    top: max(16px, env(safe-area-inset-top));
    width: calc(100vw - 24px);
    max-height: calc(100dvh - 32px);
    padding: 20px 18px 30px;
    border-radius: 20px;
    transform: translateX(-50%);
  }

  .gv-welcome-notice.is-hidden {
    transform: translateX(-50%) translateY(-8px);
  }

  .gv-welcome-close {
    top: 10px;
    right: 10px;
  }
}

@supports not (height: 100dvh) {
  @media (max-width: 768px) {
    .gv-welcome-notice {
      max-height: calc(100vh - 32px);
    }
  }
}

/* GV Tooltip v1.1 – pevné zobrazenie nad mottom v hlavičke obsah.php */
.obsah-actions {
  position: relative;
  overflow: visible;
}

.obsah-actions .obsah-menu {
  position: relative;
  z-index: 5;
  overflow: visible;
}

.obsah-actions .obsah-volba,
.obsah-actions .obsah-domov {
  position: relative;
  overflow: visible;
}

.obsah-actions .obsah-volba::after,
.obsah-actions .obsah-domov::after {
  top: auto !important;
  bottom: calc(100% + 12px) !important;
  z-index: 30 !important;
}

.obsah-actions .obsah-volba:hover::after,
.obsah-actions .obsah-volba:focus-visible::after {
  transform: translate(-50%, 0) !important;
}

.obsah-actions .obsah-domov::after {
  right: 0 !important;
  left: auto !important;
  transform: translateY(5px) !important;
}

.obsah-actions .obsah-domov:hover::after,
.obsah-actions .obsah-domov:focus-visible::after {
  transform: translateY(0) !important;
}

.obsah-actions .gv-motto--content {
  position: relative;
  z-index: 1;
}

/* GV About Page v1.0 */
.onas-body {
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.52)),
    url("../IMAGES/gv-bg-base.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #243126;
}

.onas-page {
  width: min(100% - 32px, 980px);
  margin: 0 auto;
  padding: clamp(24px, 5vw, 56px) 0;
}

.onas-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.onas-back,
.onas-enter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(216, 194, 122, 0.72);
  border-radius: 999px;
  background: rgba(248, 245, 238, 0.78);
  color: #2f4d38;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(7px);
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.onas-enter {
  background: rgba(33, 107, 69, 0.86);
  color: #fff8e8;
}

.onas-back:hover,
.onas-back:focus-visible,
.onas-enter:hover,
.onas-enter:focus-visible {
  transform: translateY(-2px);
  outline: none;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
}

.onas-card {
  border: 1px solid rgba(216, 194, 122, 0.68);
  border-radius: 28px;
  background: rgba(248, 245, 238, 0.90);
  padding: clamp(26px, 5vw, 58px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.44),
    0 24px 70px rgba(0,0,0,.34);
  backdrop-filter: blur(8px);
}

.onas-kicker {
  margin: 0 0 8px;
  color: #8a6b26;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.onas-card h1 {
  margin: 0 0 24px;
  color: #21492f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.6vw, 3.3rem);
  line-height: 1.08;
}

.onas-heart {
  margin: 0 0 28px;
  color: #244b32;
  font-size: clamp(1.12rem, 2vw, 1.34rem);
  font-weight: 800;
  line-height: 1.45;
}

.onas-heart p {
  margin: 0 0 8px;
}

.onas-card p,
.onas-card li {
  font-size: clamp(1rem, 1.2vw, 1.08rem);
  line-height: 1.72;
}

.onas-card p {
  margin: 0 0 16px;
}

.onas-list {
  margin: 0 0 22px;
  padding-left: 1.25rem;
}

.onas-list li + li {
  margin-top: 8px;
}

.onas-list-main strong {
  color: #21492f;
}

.onas-section {
  margin-top: 34px;
}

.onas-section h2 {
  margin: 0 0 14px;
  color: #21492f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
}

.onas-quote {
  margin-top: 38px !important;
  color: #2e6b46;
  font-size: clamp(1.2rem, 2.1vw, 1.48rem) !important;
  line-height: 1.5 !important;
}
