﻿/* =====================================================
   ZDELOVSKA LAVKA - RESPONSIVE FINAL CSS
   ===================================================== */

:root {
  --font-main: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-sport: "Barlow Condensed", "Arial Narrow", "Inter", Arial, sans-serif;
  --yellow: #f5b000;
  --ink: #161108;
  --paper: #f4dfad;
  --paper-light: #fff0cc;
}

/* === RESET & ZAKLAD === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  line-height: 1.6;
  color: var(--ink);
  background: #fff;
  overflow-x: hidden;
  touch-action: pan-y;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img,
video {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =====================================================
   HEADER & NAVIGACE
   ===================================================== */

header {
  position: relative;
  background:
    radial-gradient(circle at top left, rgba(255, 190, 92, 0.1), transparent 35%),
    radial-gradient(circle at top right, rgba(88, 184, 255, 0.04), transparent 32%),
    linear-gradient(180deg, #fffefd 0%, #fffaf0 58%, #fff6e6 100%);
  height: 104px;
  box-shadow:
    0 4px 15px rgba(0, 0, 0, 0.08),
    0 14px 28px rgba(0, 0, 0, 0.12);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.nav-bar {
  width: 100%;
  max-width: 1840px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.25rem, 2.2vw, 2.75rem);
  position: relative;
  padding: 0 clamp(1.15rem, 2.6vw, 3rem);
  min-height: 100%;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex: 0 0 auto;
  min-width: 0;
  margin-left: -0.55rem;
  height: 100%;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.logo img {
  height: 160px;
  width: auto;
  max-width: 545px;
  object-fit: contain;
}

.event-date {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem 0.35rem;
  border-radius: 12px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transform: translateY(0);
  flex: 0 0 auto;
}

.event-date img {
  height: 17px;
  width: auto;
  max-width: 150px;
  opacity: 0.97;
  object-fit: contain;
}

.event-date::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 200, 60, 0.55),
    rgba(255, 208, 90, 0.28),
    rgba(255, 174, 0, 0.1)
  );
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.event-date:hover::before,
.event-date:focus-visible::before {
  opacity: 1;
}

.event-date:hover img,
.event-date:focus-visible img {
  animation: dateWipeBlink 0.8s ease;
}

.event-date:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}

@keyframes dateWipeBlink {
  0% {
    clip-path: inset(0 0 0 0);
    opacity: 1;
    transform: translateX(0);
    filter: brightness(1);
  }

  35% {
    clip-path: inset(0 0 0 100%);
    opacity: 0.12;
    transform: translateX(5px);
    filter: brightness(1.22) drop-shadow(0 0 8px rgba(255, 187, 0, 0.5));
  }

  36% {
    clip-path: inset(0 100% 0 0);
    opacity: 0.12;
    transform: translateX(-5px);
    filter: brightness(1.22) drop-shadow(0 0 8px rgba(255, 187, 0, 0.5));
  }

  100% {
    clip-path: inset(0 0 0 0);
    opacity: 1;
    transform: translateX(0);
    filter: brightness(1.08) drop-shadow(0 0 6px rgba(255, 187, 0, 0.28));
  }
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: clamp(1.15rem, 1.75vw, 2rem);
  justify-content: flex-end;
  flex-wrap: nowrap;
}

.nav-links a {
  text-decoration: none;
  color: #000;
  font-weight: 700;
  font-size: clamp(15px, 0.9vw, 17px);
  text-transform: uppercase;
  position: relative;
  font-family: var(--font-main);
  font-style: normal;
  letter-spacing: 0.01em;
  transform-origin: center;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: #000;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after,
.nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-links a:focus-visible {
  outline: 2px solid #111;
  outline-offset: 6px;
  border-radius: 3px;
}

.nav-mobile-brand,
.nav-mobile-socials {
  display: none;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  border: 0;
  background: transparent;
  padding: 0.2rem;
}

.burger span {
  width: 25px;
  height: 3px;
  background: #000;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.burger:focus-visible {
  outline: 2px solid #111;
  outline-offset: 4px;
}

.nav-backdrop {
  display: none;
}

/* =====================================================
   HERO
   ===================================================== */

.hero {
  position: relative;
  height: calc(100vh - 104px);
  min-height: 830px;
  overflow: hidden;
  background: #000;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0.1));
  z-index: 1;
  pointer-events: none;
}

.background-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  backface-visibility: hidden;
  transform: translateZ(0);
  transition: opacity 0.45s ease;
}

.video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  pointer-events: none;
}

.video-overlay img {
  width: 60%;
  height: auto;
  object-fit: contain;
}

.countdown-container {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  background: rgba(22, 22, 22, 0.82);
  backdrop-filter: blur(5px);
  color: #fff;
  font-family: var(--font-sport);
  text-align: center;
  padding: 0.45rem 0;
  z-index: 3;
}

#countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
}

#countdown span {
  display: inline-block;
  min-width: 28px;
}

.count-value {
  font-size: 1.45rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.count-label {
  display: block;
  font-size: 0.68rem;
  color: #ddd;
  font-weight: 800;
  letter-spacing: 0.08em;
}

/* =====================================================
   MAIN CONTENT
   ===================================================== */

.main-content {
  background:
    radial-gradient(circle at top left, rgba(255, 190, 92, 0.22), transparent 35%),
    radial-gradient(circle at top right, rgba(88, 184, 255, 0.12), transparent 32%),
    linear-gradient(180deg, #fffef8 0%, #fff8ec 52%, #fff3df 100%);
  padding: 5.5rem 0 4.5rem;
}

.news-section {
  width: min(100%, 1680px);
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
}

.news-header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 1px;
  margin-bottom: 1.5rem;
}

.news-slider-viewport {
  overflow: hidden;
  width: 100%;
  padding: 0 6.5rem 0 4rem;
}

.news-controls {
  position: absolute;
  inset: 50% 0 auto 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 5;
  padding: 0 1.6rem;
}

.news-arrow {
  width: 56px;
  height: 56px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  font-family: var(--font-main);
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
  transition:
    transform 0.22s ease,
    background-color 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    opacity 0.22s ease,
    visibility 0.22s ease;
}

.news-arrow:hover,
.news-arrow:focus-visible {
  background: rgba(245, 176, 0, 0.96);
  border-color: rgba(245, 176, 0, 0.96);
  color: #111;
  transform: scale(1.08);
  box-shadow: 0 14px 28px rgba(245, 176, 0, 0.3);
}

.news-arrow:focus-visible {
  outline: 2px solid #111;
  outline-offset: 2px;
}

.news-arrow.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.news-slider {
  display: flex;
  gap: clamp(1.25rem, 2.2vw, 2.75rem);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  align-items: stretch;
}

.news-card {
  min-width: calc(100% - 20rem);
  flex: 0 0 calc(100% - 20rem);
  padding: 0;
  opacity: 0.45;
  transition: opacity 0.35s ease;
}

.news-card.is-active {
  opacity: 1;
}

.news-card-link {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(340px, 0.78fr);
  gap: 0;
  min-height: 520px;
  height: 520px;
  text-decoration: none;
  color: inherit;
  background: transparent;
  box-shadow: none;
  align-items: stretch;
}

.news-card .news-thumb,
.news-card-content {
  position: relative;
  min-height: 520px;
  height: 520px;
  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.08),
    0 4px 14px rgba(230, 175, 77, 0.08);
}

.news-card .news-thumb {
  width: 100%;
  object-fit: cover;
  z-index: 1;
  clip-path: polygon(7% 0, 100% 0, 92% 100%, 0 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.news-card-content {
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2.8rem 3rem 2.8rem 3.8rem;
  margin-left: -4.5rem;
  background: linear-gradient(180deg, rgba(250, 237, 208, 0.98) 0%, rgba(238, 213, 164, 0.98) 100%);
  clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%);
  overflow: hidden;
}

.news-card-content::before {
  content: "";
  position: absolute;
  top: 1.35rem;
  left: 50%;
  width: 60px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--yellow), #ffcc4d);
  transform: translateX(-50%);
}

.news-card-link:hover .news-thumb,
.news-card-link:hover .news-card-content,
.news-card-link:focus-visible .news-thumb,
.news-card-link:focus-visible .news-card-content {
  box-shadow:
    0 22px 42px rgba(0, 0, 0, 0.1),
    0 8px 22px rgba(245, 176, 0, 0.14);
}

.news-card-link:focus-visible {
  outline: none;
}

.news-meta {
  max-width: 360px;
  font-size: 0.92rem;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #322819;
  margin-bottom: 1rem;
  margin-top: 1rem;
  font-family: var(--font-sport);
  font-style: italic;
  transform: skewX(-8deg);
  transform-origin: center;
}

.news-card-content h3 {
  max-width: 380px;
  font-size: clamp(2rem, 3vw, 3.25rem);
  line-height: 0.94;
  margin-bottom: 1rem;
  color: var(--ink);
  font-weight: 800;
  font-family: var(--font-sport);
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transform: skewX(-8deg);
  transform-origin: center;
}

.news-card-content > p:not(.news-meta) {
  max-width: 390px;
  font-size: 1.04rem;
  line-height: 1.72;
  color: #23180b;
  font-weight: 700;
  font-family: var(--font-main);
  font-style: normal;
  letter-spacing: 0.01em;
  transform: skewX(-8deg);
  transform-origin: center;
}

.news-readmore {
  margin-top: 1.35rem;
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.76rem 1.22rem;
  border-radius: 999px;
  background: #080808;
  color: #fff;
  font-size: 0.98rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: var(--font-sport);
  font-style: italic;
  transform: skewX(-8deg);
  transform-origin: center;
  transition: background-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.news-card-link:hover .news-readmore,
.news-card-link:focus-visible .news-readmore {
  background: var(--yellow);
  color: #111;
  box-shadow: 0 10px 24px rgba(245, 176, 0, 0.22);
}

.news-slider-spacer {
  flex: 0 0 7rem;
  height: 1px;
}

.news-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.news-dots:empty {
  display: none;
}

.news-dot {
  width: 11px;
  height: 11px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: transform 0.25s ease, background-color 0.25s ease, width 0.25s ease;
}

.news-dot:hover,
.news-dot:focus-visible {
  background: rgba(0, 0, 0, 0.4);
}

.news-dot:focus-visible {
  outline: 2px solid #111;
  outline-offset: 4px;
}

.news-dot.active {
  width: 28px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--yellow), #ffcc4d);
  transform: scale(1.02);
}

.news-thumb.loaded,
.background-video.loaded {
  opacity: 1;
}

/* =====================================================
   ODDÄšLOVAÄŚ MEZI OBSAHEM A FOOTEREM
   ===================================================== */

.section-divider {
  min-height: 285px;
  background: linear-gradient(180deg, #fff3df 0%, #fffaf0 44%, #ffffff 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 4.4rem 1.5rem 0;
  text-align: center;
  overflow: visible;
  position: relative;
  z-index: 2;
}

.section-divider::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 54px;
  height: 1px;
  background:
    linear-gradient(
      90deg,
      rgba(214, 214, 214, 0.75) 0%,
      rgba(214, 214, 214, 0.75) calc(50% - 230px),
      #ffffff calc(50% - 170px),
      #ffffff calc(50% + 170px),
      rgba(214, 214, 214, 0.75) calc(50% + 230px),
      rgba(214, 214, 214, 0.75) 100%
    );
  z-index: 1;
}

.section-divider img {
  width: min(100%, 370px);
  height: 150px;
  object-fit: contain;
  object-position: center;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  transform: translateY(9%);
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.12));
}

/* =====================================================
   FOOTER
   ===================================================== */

footer {
  padding: 6.4rem 0 1.2rem;
  text-align: center;
  border-top: 0;
  background: #fff;
  font-family: var(--font-main);
  position: relative;
  z-index: 1;
}

.footer-socials {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  margin-top: -2.2rem;
  margin-bottom: 1.15rem;
}

.footer-socials a {
  width: 62px;
  height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.footer-socials a:hover,
.footer-socials a:focus-visible {
  transform: translateY(-2px) scale(1.05);
  opacity: 0.86;
}

.footer-socials a:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 4px;
}

.footer-socials img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.footer-inner {
  width: min(100%, 1200px);
  margin: 0 auto;
  padding: 0 clamp(1.15rem, 2.6vw, 3rem);
}

.footer-inner > p {
  margin-bottom: 0.9rem;
  font-weight: 600;
  color: #8e8e8e;
}

.sponsors-section {
  margin-top: 0.75rem;
}

.sponsors-section h3 {
  font-size: 1rem;
  margin-bottom: 0.8rem;
  font-weight: 700;
  font-family: var(--font-main);
}

.sponsor-logos {
  margin: 1rem auto 0;
  max-width: 1120px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
  gap: 1.1rem 1.4rem;
  align-items: center;
  justify-items: center;
}

.sponsor-logos img {
  width: 100px;
  height: 54px;
  object-fit: contain;
  object-position: center;
  margin: 0 auto;
}

.sponsor-logos img[alt="Oseva Agri"] {
  width: 116px;
  height: 60px;
}

.sponsor-logos img[alt="Obec Zdelov"] {
  width: 112px;
  height: 60px;
}

.sponsor-logos img[alt="TruhlĂˇĹ™stvĂ­ SyrovĂ˝"],
.sponsor-logos img[alt="Farma TichĂ˝"] {
  width: 118px;
  height: 62px;
}

.sponsor-logos img[alt="Strabag"],
.sponsor-logos img[alt="Agroserviszamel"] {
  width: 128px;
  height: 66px;
}

.sponsor-logos img[alt="Clock"] {
  width: 86px;
  height: 46px;
}

.sponsor-logos img[alt="TeliaCom"] {
  width: 84px;
  height: 46px;
}

/* =====================================================
   CLANKY NOVINEK
   ===================================================== */

.article-page {
  background:
    radial-gradient(circle at top left, rgba(255, 190, 92, 0.22), transparent 35%),
    radial-gradient(circle at top right, rgba(88, 184, 255, 0.12), transparent 32%),
    linear-gradient(180deg, #fffef8 0%, #fff8ec 52%, #fff3df 100%);
}

.article-page .nav-bar {
  justify-content: space-between;
}

.article-page main {
  background:
    linear-gradient(180deg, rgba(255, 254, 248, 0.94), rgba(255, 243, 223, 0.96)),
    url("../fotky/header-vlny.png") center top / min(1200px, 120vw) auto no-repeat;
  padding: 5.2rem 1.5rem 4.6rem;
}

.article-page main > article.detail {
  position: relative;
  width: min(100%, 980px);
  margin: 0 auto;
  padding: clamp(1.7rem, 4vw, 3rem);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 248, 235, 0.86)),
    radial-gradient(circle at top right, rgba(245, 176, 0, 0.16), transparent 38%);
  box-shadow:
    inset 0 0 0 1px rgba(120, 84, 21, 0.08),
    0 22px 46px rgba(82, 56, 14, 0.12);
  clip-path: polygon(3% 0, 100% 0, 97% 100%, 0 100%);
  overflow: hidden;
}

.article-page main > article.detail::before {
  content: "";
  position: absolute;
  left: clamp(1.15rem, 3vw, 2.2rem);
  top: clamp(1.35rem, 3vw, 2.25rem);
  width: 7px;
  height: clamp(54px, 8vw, 86px);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--yellow), #ffcf53);
  box-shadow: 0 0 18px rgba(245, 176, 0, 0.3);
  transform: skewX(-10deg);
}

.article-page main > article.detail h1 {
  margin: 0 0 0.9rem;
  padding-left: clamp(1rem, 3vw, 1.65rem);
  max-width: 820px;
  font-family: var(--font-sport);
  font-size: clamp(2.35rem, 6vw, 5rem);
  line-height: 1.02;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--ink);
  transform: skewX(-7deg);
  transform-origin: left center;
}

.article-date {
  display: block;
  margin: 0 0 1.8rem clamp(1rem, 3vw, 1.65rem);
  padding: 0;
  background: transparent;
  color: #6a5430;
  font-family: var(--font-main);
  font-size: clamp(15px, 0.9vw, 17px);
  line-height: 1.5;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.01em;
  text-transform: none;
  transform: none;
  clip-path: none;
}

.article-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 520px;
  object-fit: cover;
  margin: 0 0 2rem;
  box-shadow:
    0 18px 36px rgba(82, 56, 14, 0.15),
    inset 0 0 0 1px rgba(255, 255, 255, 0.22);
  clip-path: polygon(5% 0, 100% 0, 95% 100%, 0 100%);
}

.article-page main > article.detail p:not(.article-date):not(.photo-credit) {
  margin: 0 0 1.25rem;
  color: #2d2112;
  font-family: var(--font-main);
  font-size: 1.02rem;
  line-height: 1.86;
  font-weight: 500;
}

.article-page main > article.detail strong {
  font-weight: 800;
}

.article-top-actions {
  width: min(100%, 980px);
  margin: 0 auto 1rem;
  padding: 0 0.25rem;
}

.article-back-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.62rem;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-sport);
  font-size: 1.04rem;
  line-height: 1;
  font-weight: 900;
  font-style: italic;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.22s ease, transform 0.22s ease;
}

.article-back-arrow span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #080808;
  color: #fff;
  font-family: var(--font-main);
  font-size: 1.18rem;
  font-style: normal;
  line-height: 1;
  transition: background-color 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.article-back-arrow:hover,
.article-back-arrow:focus-visible {
  color: #000;
  transform: translateX(-3px);
}

.article-back-arrow:hover span,
.article-back-arrow:focus-visible span {
  background: var(--yellow);
  color: #111;
}

.article-back-arrow:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 5px;
  border-radius: 999px;
}

.mini-gallery {
  margin: 2.4rem 0;
  padding: 1.35rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 246, 226, 0.68)),
    radial-gradient(circle at top left, rgba(245, 176, 0, 0.13), transparent 35%);
  box-shadow:
    inset 0 0 0 1px rgba(120, 84, 21, 0.08),
    0 14px 30px rgba(82, 56, 14, 0.08);
  clip-path: polygon(3% 0, 100% 0, 97% 100%, 0 100%);
}

.mini-gallery h2 {
  margin: 0 0 1.2rem;
  font-family: var(--font-sport);
  font-size: clamp(2rem, 4.8vw, 3.5rem);
  line-height: 1;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  color: var(--ink);
  transform: skewX(-7deg);
  transform-origin: left center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.85rem;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  cursor: zoom-in;
  background: #efe2c7;
  clip-path: polygon(6% 0, 100% 0, 94% 100%, 0 100%);
  box-shadow: 0 12px 24px rgba(82, 56, 14, 0.14);
  transition: transform 0.28s ease, filter 0.28s ease;
}

.gallery-grid img:hover,
.gallery-grid img:focus-visible {
  transform: translateY(-3px) scale(1.02);
  filter: saturate(1.08) contrast(1.04);
}

.photo-gallery-link {
  margin: 1.4rem 0 1.6rem;
}

.photo-gallery-link a,
.back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.78rem 1.22rem;
  background: #080808;
  color: #fff;
  text-decoration: none;
  font-family: var(--font-sport);
  font-size: 1.05rem;
  line-height: 1;
  font-weight: 900;
  font-style: italic;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  transform: skewX(-3deg);
  clip-path: polygon(4% 0, 100% 0, 96% 100%, 0 100%);
  transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.photo-gallery-link a:hover,
.photo-gallery-link a:focus-visible,
.back-link:hover,
.back-link:focus-visible {
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 0 12px 24px rgba(245, 176, 0, 0.24);
}

.photo-credit {
  margin: 1.8rem 0;
  color: #6a5430;
  font-size: 0.96rem;
  line-height: 1.7;
  font-style: italic;
}

.article-page footer {
  padding: 6.4rem 0 1.2rem;
  background: #fff;
  color: #8e8e8e;
  font-weight: 600;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.2rem;
  background: rgba(0, 0, 0, 0.86);
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  width: min(100%, 1080px);
  max-height: 82vh;
  object-fit: contain;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.lightbox .close,
.lightbox .arrow {
  position: absolute;
  z-index: 101;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 2rem;
  line-height: 1;
  font-weight: 900;
  cursor: pointer;
  user-select: none;
}

.lightbox .close {
  top: 1.2rem;
  right: 1.2rem;
}

.lightbox .arrow.left {
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox .arrow.right {
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 1024px) {
  header {
    height: 96px;
  }

  .nav-bar {
    gap: 1rem;
    padding: 0 1rem;
  }

  .nav-left {
    gap: 0.5rem;
    margin-left: -0.8rem;
  }

  .logo img {
    height: 8.8rem;
    max-width: 468px;
  }

  .event-date img {
    height: 0.9rem;
    max-width: 136px;
  }

  .nav-links {
    gap: 1.25rem;
  }

  .hero {
    height: calc(100vh - 96px);
    min-height: 820px;
  }

  .news-slider-viewport {
    padding: 0 4.5rem 0 3rem;
  }

  .news-slider {
    gap: 1.4rem;
  }

  .news-card {
    min-width: calc(100% - 13rem);
    flex: 0 0 calc(100% - 13rem);
  }

  .news-card-link {
    grid-template-columns: minmax(0, 1.14fr) minmax(280px, 0.86fr);
    min-height: 480px;
    height: 480px;
  }

  .news-card .news-thumb,
  .news-card-content {
    min-height: 480px;
    height: 480px;
  }

  .news-card .news-thumb {
    clip-path: polygon(6% 0, 100% 0, 93% 100%, 0 100%);
  }

  .news-card-content {
    clip-path: polygon(7% 0, 100% 0, 93% 100%, 0 100%);
    margin-left: -3.6rem;
    padding: 2.4rem 2.4rem 2.4rem 3.1rem;
  }

  .news-card-content h3 {
    font-size: clamp(1.95rem, 3.8vw, 2.95rem);
  }

  .news-card-content > p:not(.news-meta) {
    font-size: 0.98rem;
    line-height: 1.64;
    transform: skewX(-8deg);
  }

  .news-header {
    margin-bottom: 1.2rem;
  }

  .news-controls {
    padding: 0 0.8rem;
  }

  .news-arrow {
    width: 50px;
    height: 50px;
  }

  .news-slider-spacer {
    flex-basis: 4rem;
  }

  .section-divider {
    min-height: 250px;
    padding: 3.8rem 1.2rem 0;
  }

  .section-divider::after {
    bottom: 48px;
  }

  .section-divider img {
    width: min(100%, 330px);
    height: 132px;
  }

  footer {
    padding-top: 5.7rem;
  }
}

@media (max-width: 768px) {
  header,
  .article-page header {
    height: 86px;
    min-height: 0;
    padding: 0;
    align-items: center;
    overflow: visible;
  }

  .nav-bar,
  .article-page .nav-bar {
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
  }

  .nav-left,
  .article-page .nav-left {
    display: flex;
    position: static;
    align-items: center;
    justify-content: flex-start;
    flex-direction: row;
    gap: 0;
    margin-left: 0;
    max-width: calc(100% - 58px);
    height: 100%;
  }

  .logo,
  .article-page .logo {
    justify-content: flex-start;
  }

  .logo img,
  .article-page .logo img {
    height: 6rem;
    max-width: 290px;
  }

  .event-date,
  .article-page .event-date,
  .article-page .banner-link {
    display: none;
  }

  .burger,
  .article-page .burger {
    display: flex;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 40;
  }

  .burger span {
    width: 27px;
    height: 3px;
    background: #000;
    border-radius: 999px;
  }

  .burger[aria-expanded="true"],
  .article-page .burger[aria-expanded="true"] {
    position: fixed;
    top: 1.7rem;
    right: 1.15rem;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0;
    border-radius: 50%;
    background: #080808;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.26);
    transform: none;
  }

  .burger[aria-expanded="true"] span {
    position: absolute;
    background: #fff;
  }

  .burger[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg);
  }

  .burger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .burger[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg);
  }

  .nav-backdrop,
  .article-page .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(4px);
    z-index: 19;
    opacity: 1;
  }

  .nav-backdrop[hidden],
  .article-page .nav-backdrop[hidden] {
    display: none;
  }

  .nav-links,
  .article-page .nav-links {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    position: fixed;
    inset: 0;
    width: 100vw;
    max-width: none;
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    padding: 2.65rem 1.15rem 1.35rem;
    gap: 0.58rem;
    background:
      linear-gradient(180deg, rgba(255, 253, 246, 0.98) 0%, rgba(251, 238, 209, 0.98) 58%, rgba(238, 207, 145, 0.98) 100%),
      radial-gradient(circle at 80% 8%, rgba(245, 176, 0, 0.18), transparent 36%),
      radial-gradient(circle at 8% 100%, rgba(255, 255, 255, 0.62), transparent 46%);
    box-shadow: none;
    z-index: 20;
    overflow-y: auto;
    border-left: 0;
    isolation: isolate;
    visibility: hidden;
    opacity: 0;
    transform: translateX(100%);
    transition:
      transform 0.44s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.22s ease,
      visibility 0.22s ease;
    will-change: transform;
  }

  .nav-links.show,
  .article-page .nav-links.show {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
  }

  .nav-mobile-brand,
  .article-page .nav-mobile-brand {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 0 1.05rem;
    padding: 0;
    width: 100%;
  }

  .nav-mobile-brand a,
  .article-page .nav-mobile-brand a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 235px);
    min-height: auto;
    padding: 0;
    background: transparent;
    box-shadow: none;
    clip-path: none;
    transform: none;
  }

  .nav-mobile-brand a::before,
  .nav-mobile-brand a::after {
    display: none;
  }

  .nav-mobile-brand img,
  .article-page .nav-mobile-brand img {
    width: 215px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.08));
  }

  .nav-links li:not(.nav-mobile-brand):not(.nav-mobile-socials),
  .article-page .nav-links li:not(.nav-mobile-brand):not(.nav-mobile-socials) {
    width: 100%;
    position: relative;
    z-index: 1;
  }

  .nav-links li:not(.nav-mobile-brand):not(.nav-mobile-socials) > a,
  .article-page .nav-links li:not(.nav-mobile-brand):not(.nav-mobile-socials) > a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;

    min-height: 55px;
    padding: 0.78rem 3.1rem;

    text-align: center;
    color: #1c160c;
    font-family: var(--font-main);
    font-size: 1rem;
    line-height: 1;
    font-weight: 900;
    font-style: italic;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transform: skewX(-8deg);

    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 249, 237, 0.78));
    box-shadow:
      inset 0 0 0 1px rgba(120, 84, 21, 0.08),
      0 10px 22px rgba(82, 56, 14, 0.08);

    clip-path: polygon(6% 0, 100% 0, 94% 100%, 0 100%);
    transition:
      background-color 0.2s ease,
      box-shadow 0.2s ease,
      color 0.2s ease,
      transform 0.2s ease;
  }

  .nav-links li:not(.nav-mobile-brand):not(.nav-mobile-socials) > a::before,
  .article-page .nav-links li:not(.nav-mobile-brand):not(.nav-mobile-socials) > a::before {
    content: "";
    position: absolute;
    left: 1.25rem;
    top: 50%;
    width: 6px;
    height: 29px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--yellow), #ffcf53);
    box-shadow: 0 0 14px rgba(245, 176, 0, 0.25);
    transform: translateY(-50%) skewX(-10deg);
    pointer-events: none;
  }

  .nav-links li:not(.nav-mobile-brand):not(.nav-mobile-socials) > a::after,
  .article-page .nav-links li:not(.nav-mobile-brand):not(.nav-mobile-socials) > a::after {
    display: none;
  }

  .nav-links li:not(.nav-mobile-brand):not(.nav-mobile-socials) > a:hover,
  .nav-links li:not(.nav-mobile-brand):not(.nav-mobile-socials) > a:focus-visible,
  .article-page .nav-links li:not(.nav-mobile-brand):not(.nav-mobile-socials) > a:hover,
  .article-page .nav-links li:not(.nav-mobile-brand):not(.nav-mobile-socials) > a:focus-visible {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 249, 237, 0.9));
    box-shadow:
      inset 0 0 0 1px rgba(245, 176, 0, 0.18),
      0 14px 26px rgba(82, 56, 14, 0.12);
  }

  .nav-links li:not(.nav-mobile-brand):not(.nav-mobile-socials) > a.active,
  .nav-links li:not(.nav-mobile-brand):not(.nav-mobile-socials) > a[aria-current="page"],
  .article-page .nav-links li:not(.nav-mobile-brand):not(.nav-mobile-socials) > a.active,
  .article-page .nav-links li:not(.nav-mobile-brand):not(.nav-mobile-socials) > a[aria-current="page"] {
    background: #080808;
    color: #fff;
    box-shadow:
      inset 0 0 0 1px rgba(255, 255, 255, 0.1),
      0 16px 30px rgba(0, 0, 0, 0.2);
  }

  .nav-links li:not(.nav-mobile-brand):not(.nav-mobile-socials) > a.active::before,
  .nav-links li:not(.nav-mobile-brand):not(.nav-mobile-socials) > a[aria-current="page"]::before,
  .article-page .nav-links li:not(.nav-mobile-brand):not(.nav-mobile-socials) > a.active::before,
  .article-page .nav-links li:not(.nav-mobile-brand):not(.nav-mobile-socials) > a[aria-current="page"]::before {
    background: linear-gradient(180deg, var(--yellow), #ffcf53);
  }

  .nav-mobile-socials,
  .article-page .nav-mobile-socials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.05rem;
    margin-top: auto;
    padding: 1.45rem 0 0.15rem;
  }

  .nav-mobile-socials a,
  .article-page .nav-mobile-socials a {
    display: inline-flex;
    width: 48px;
    height: 48px;
    min-height: auto;
    padding: 0;
    background: transparent;
    box-shadow: none;
    clip-path: none;
    transform: none;
  }

  .nav-mobile-socials a::before,
  .nav-mobile-socials a::after {
    display: none;
  }

  .nav-mobile-socials img,
  .article-page .nav-mobile-socials img {
    width: 48px;
    height: 48px;
    object-fit: contain;
  }

  .nav-social-handle {
    color: rgba(22, 17, 8, 0.42);
    font-family: var(--font-main);
    font-size: 0.82rem;
    line-height: 1;
    font-weight: 700;
    font-style: italic;
    white-space: nowrap;
  }

  .hero {
    height: calc(100vh - 86px);
    height: calc(100svh - 86px);
    min-height: calc(100svh - 86px);
    max-height: none;
    contain: layout paint;
  }

  .hero::after {
    background:
      radial-gradient(circle at center, rgba(255, 255, 255, 0.05), transparent 38%),
      linear-gradient(to bottom, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.18));
  }

  .background-video {
    display: block;
    object-position: center;
    will-change: opacity;
  }

  .video-overlay {
    align-items: center;
    justify-content: center;
    padding: 0 1rem 4.5rem;
  }

  .video-overlay img {
    width: min(82%, 330px);
  }

  .countdown-container {
    position: absolute;
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    padding: 0.55rem 0.35rem;
    transform: none;
    z-index: 4;
  }

  #countdown {
    gap: 0.55rem;
  }

  .count-value {
    font-size: 1.22rem;
  }

  .count-label {
    font-size: 0.62rem;
  }

  .main-content {
    padding-top: 3.25rem;
    padding-bottom: 3rem;
    content-visibility: auto;
    contain-intrinsic-size: 900px;
  }

  .news-section {
    padding: 0 0.85rem;
  }

  .news-header {
    margin-bottom: 1rem;
  }

  .news-slider-viewport {
    padding: 0;
  }

  .news-slider {
    gap: 0;
  }

  .news-card {
    min-width: 100%;
    flex: 0 0 100%;
    opacity: 1;
  }

  .news-controls,
  .news-arrow,
  #newsPrev,
  #newsNext {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  .news-card-link {
    grid-template-columns: 1fr;
    grid-template-rows: clamp(180px, 52vw, 230px) 1fr;
    gap: 0;
    min-height: 560px;
    height: 560px;
  }

  .news-card .news-thumb,
  .news-card-content {
    min-height: 0;
    height: 100%;
    clip-path: polygon(6% 0, 100% 0, 94% 100%, 0 100%);
    box-shadow:
      0 18px 36px rgba(0, 0, 0, 0.12),
      0 6px 16px rgba(230, 175, 77, 0.1);
  }

  .news-card .news-thumb {
    aspect-ratio: 16 / 9;
    height: 100%;
    min-height: 0;
    object-fit: cover;
  }

  .news-card-content {
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    justify-items: center;
    align-content: stretch;
    margin-left: 0;
    margin-top: -1.05rem;
    padding: 2.05rem 1.7rem 2.1rem;
  }

  .news-card-content::before {
    top: 1rem;
    width: 52px;
  }

  .news-meta {
    max-width: 260px;
    font-size: 0.86rem;
    margin-top: 0.95rem;
    margin-bottom: 0.95rem;
    transform: skewX(-6deg);
  }

  .news-card-content h3 {
    max-width: 310px;
    font-size: clamp(1.9rem, 10vw, 2.75rem);
    transform: skewX(-6deg);
  }

  .news-card-content > p:not(.news-meta) {
    max-width: 300px;
    font-size: 0.96rem;
    line-height: 1.62;
    transform: skewX(-6deg);
  }

  .news-readmore {
    align-self: end;
    font-size: 0.92rem;
    transform: skewX(-6deg);
  }

  .news-slider-spacer {
    display: none;
  }

  .article-page main {
    padding: 2rem 0.85rem 2.8rem;
  }

  .article-top-actions {
    width: min(100%, 640px);
    margin: 0 auto 0.8rem;
    padding: 0;
  }

  .article-back-arrow {
    gap: 0.52rem;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
  }

  .article-back-arrow span {
    width: 32px;
    height: 32px;
    font-size: 1.05rem;
  }

  .article-page main > article.detail {
    width: min(100%, 640px);
    padding: 1.7rem 1rem 1.9rem;
    clip-path: none;
    border: 1px solid rgba(120, 84, 21, 0.08);
  }

  .article-page main > article.detail::before {
    left: 0.9rem;
    top: 1.45rem;
    width: 5px;
    height: 54px;
  }

  .article-page main > article.detail h1 {
    max-width: 100%;
    padding-left: 1rem;
    font-size: clamp(2.15rem, 12vw, 3.05rem);
    line-height: 0.96;
    letter-spacing: 0;
  }

  .article-page .article-date {
    margin: 0 0 1.55rem 1rem;
    font-size: 0.9rem;
  }

  .article-page main > article.detail p:not(.article-date):not(.photo-credit) {
    font-size: 0.98rem;
    line-height: 1.78;
  }

  .article-page .photo-gallery-link a {
    width: 100%;
    transform: none;
    clip-path: polygon(3% 0, 100% 0, 97% 100%, 0 100%);
  }

  .section-divider {
    min-height: 230px;
    padding: 2.7rem 1rem 0;
    content-visibility: auto;
    contain-intrinsic-size: 230px;
  }

  .section-divider::after {
    bottom: 42px;
  }

  .section-divider img {
    width: min(100%, 285px);
    height: 118px;
  }

  footer,
  .article-page footer {
    padding: 5rem 0 1rem;
  }

  .footer-socials {
    gap: 1rem;
    margin-top: -1.6rem;
    margin-bottom: 1rem;
  }

  .footer-socials a {
    width: 52px;
    height: 52px;
  }

  .footer-socials img {
    width: 48px;
    height: 48px;
  }

  .sponsor-logos {
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 1rem;
  }

  .sponsor-logos img {
    width: 88px;
    height: 48px;
  }

  .sponsor-logos img[alt="Oseva Agri"] {
    width: 100px;
    height: 54px;
  }

  .sponsor-logos img[alt="Obec Zdelov"] {
    width: 96px;
    height: 52px;
  }

  .sponsor-logos img[alt="TruhlĂˇĹ™stvĂ­ SyrovĂ˝"],
  .sponsor-logos img[alt="Farma TichĂ˝"] {
    width: 102px;
    height: 54px;
  }

  .sponsor-logos img[alt="Strabag"],
  .sponsor-logos img[alt="Agroserviszamel"] {
    width: 110px;
    height: 58px;
  }

  .sponsor-logos img[alt="Clock"],
  .sponsor-logos img[alt="TeliaCom"] {
    width: 74px;
    height: 40px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .lightbox .arrow {
    top: auto;
    bottom: 1.1rem;
    transform: none;
  }
}

@media (max-width: 480px) {
  header,
  .article-page header {
    height: 86px;
  }

  .logo img,
  .article-page .logo img {
    height: 6rem;
    max-width: 290px;
  }

  .hero {
    height: calc(100vh - 86px);
    height: calc(100svh - 86px);
    min-height: calc(100svh - 86px);
  }

  .video-overlay {
    padding: 0 1rem 4.1rem;
  }

  .video-overlay img {
    width: min(86%, 300px);
  }

  .countdown-container {
    padding: 0.52rem 0.2rem;
  }

  #countdown {
    gap: 0.43rem;
  }

  #countdown > span {
    min-width: 0;
  }

  .count-value {
    font-size: 1.05rem;
  }

  .count-label {
    font-size: 0.58rem;
  }

  .nav-links,
  .article-page .nav-links {
    width: 100vw;
    padding-top: 2.45rem;
    padding-left: 0.95rem;
    padding-right: 0.95rem;
    gap: 0.52rem;
  }

  .burger[aria-expanded="true"],
  .article-page .burger[aria-expanded="true"] {
    right: 1rem;
  }

  .nav-links li:not(.nav-mobile-brand):not(.nav-mobile-socials) > a,
  .article-page .nav-links li:not(.nav-mobile-brand):not(.nav-mobile-socials) > a {
    min-height: 54px;
    padding: 0.76rem 2.75rem;
    font-size: 0.96rem;
  }

  .nav-links li:not(.nav-mobile-brand):not(.nav-mobile-socials) > a::before,
  .article-page .nav-links li:not(.nav-mobile-brand):not(.nav-mobile-socials) > a::before {
    left: 1.05rem;
    height: 28px;
  }

  .nav-mobile-brand,
  .article-page .nav-mobile-brand {
    margin-bottom: 0.9rem;
  }

  .nav-mobile-brand img,
  .article-page .nav-mobile-brand img {
    width: 205px;
  }

  .nav-social-handle {
    font-size: 0.76rem;
  }

  .news-card .news-thumb,
  .news-card-content {
    clip-path: polygon(5% 0, 100% 0, 95% 100%, 0 100%);
  }

  .news-card-content {
    padding: 1.95rem 1.35rem 2rem;
  }

  .news-card-content h3 {
    font-size: clamp(1.8rem, 11vw, 2.45rem);
  }

  .article-page main {
    padding: 1.6rem 0.75rem 2.4rem;
  }

  .article-page main > article.detail {
    padding: 1.55rem 0.9rem 1.75rem;
  }

  .article-page main > article.detail h1 {
    font-size: clamp(2rem, 11.5vw, 2.75rem);
  }

  .article-page main > article.detail p:not(.article-date):not(.photo-credit) {
    font-size: 0.96rem;
    line-height: 1.72;
  }

  .section-divider {
    min-height: 205px;
    padding: 2.3rem 0.8rem 0;
  }

  .section-divider::after {
    bottom: 36px;
  }

  .section-divider img {
    width: min(100%, 245px);
    height: 102px;
  }

  footer,
  .article-page footer {
    padding-top: 4.4rem;
  }

  .footer-inner {
    padding: 0 1rem;
  }

  .footer-socials {
    gap: 0.9rem;
    margin-top: -1.25rem;
    margin-bottom: 0.9rem;
  }

  .footer-socials a {
    width: 46px;
    height: 46px;
  }

  .footer-socials img {
    width: 42px;
    height: 42px;
  }

  .sponsor-logos {
    grid-template-columns: repeat(2, minmax(110px, 1fr));
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .photo-gallery-link a,
  .back-link {
    width: 100%;
    font-size: 0.92rem;
    text-align: center;
  }
}

@media (max-width: 360px) {
  header,
  .article-page header {
    height: 82px;
  }

  .logo img,
  .article-page .logo img {
    height: 5.4rem;
    max-width: 255px;
  }

  .hero {
    height: calc(100vh - 82px);
    height: calc(100svh - 82px);
    min-height: calc(100svh - 82px);
  }

  .nav-links,
  .article-page .nav-links {
    width: 100vw;
    padding-top: 2.25rem;
    padding-left: 0.8rem;
    padding-right: 0.8rem;
    gap: 0.48rem;
  }

  .burger[aria-expanded="true"],
  .article-page .burger[aria-expanded="true"] {
    right: 0.8rem;
  }

  .nav-links li:not(.nav-mobile-brand):not(.nav-mobile-socials) > a,
  .article-page .nav-links li:not(.nav-mobile-brand):not(.nav-mobile-socials) > a {
    min-height: 51px;
    padding: 0.7rem 2.35rem;
    font-size: 0.9rem;
  }

  .nav-links li:not(.nav-mobile-brand):not(.nav-mobile-socials) > a::before,
  .article-page .nav-links li:not(.nav-mobile-brand):not(.nav-mobile-socials) > a::before {
    left: 0.92rem;
    width: 5px;
    height: 25px;
  }

  .nav-mobile-brand,
  .article-page .nav-mobile-brand {
    margin-bottom: 0.75rem;
  }

  .nav-mobile-brand img,
  .article-page .nav-mobile-brand img {
    width: 190px;
  }

  .nav-mobile-socials,
  .article-page .nav-mobile-socials {
    gap: 0.75rem;
  }

  .nav-mobile-socials a,
  .nav-mobile-socials img,
  .article-page .nav-mobile-socials a,
  .article-page .nav-mobile-socials img {
    width: 42px;
    height: 42px;
  }

  .nav-social-handle {
    font-size: 0.7rem;
  }

  #countdown {
    gap: 0.32rem;
  }

  #countdown span {
    min-width: 21px;
  }

  .count-value {
    font-size: 0.96rem;
  }

  .news-card-content h3 {
    font-size: 1.75rem;
  }

  .section-divider img {
    width: min(100%, 225px);
    height: 94px;
  }
}

@media (min-width: 1600px) {
  .nav-bar {
    max-width: 1880px;
    padding-left: clamp(1.25rem, 2vw, 2.5rem);
    padding-right: clamp(1.25rem, 2vw, 2.5rem);
  }

  .logo img {
    height: 188px;
    max-width: 650px;
  }

  .event-date img {
    height: 20px;
  }

  .nav-links {
    gap: clamp(1.25rem, 1.65vw, 2.1rem);
  }

  .nav-links a {
    font-size: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


