h3 {
  text-align: center;
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.38em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 14px;
  margin-top: 10px;
  margin-bottom: 20px;
}

h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.4);
}

/* ── HERO ── */
.events-hero {
  display: flex;
  min-height: 100vh;
  background-color: var(--bg-brown);
  position: relative;
  overflow: hidden;
}

.hero-text {
  flex: 0 0 28%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
  padding: 140px 5% 80px 8%;
  position: relative;
  z-index: 2;
}

.hero-text h1 {
  font-family: var(--font-body);
  font-size: 28px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.38em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 14px;
  margin: 0;
  white-space: nowrap;
}

.hero-text h1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.4);
}

.hero-text p {
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 300;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.62);
  max-width: 480px;
  margin: 0;
}

.hero-gallery {
  flex: 0 0 80%;
  height: 90vh;
  align-self: center;
  position: relative;
  overflow: hidden;
  margin-left: -120px;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transform: scale(1.2);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.hero-image.active {
  opacity: 1;
}

.hero-gallery::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(79, 65, 55, 1) 0%, rgba(79, 65, 55, 0.5) 25%, rgba(79, 65, 55, 0.1) 60%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-gallery::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    var(--bg-brown) 0%,
    transparent 12%,
    transparent 88%,
    var(--bg-brown) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.book-button {
  display: inline-block;
  padding: 4px 0;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.9) !important;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  transition: opacity 0.3s ease;
}

.book-button::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.65);
  transition: width 0.3s ease, left 0.3s ease;
}

.book-button:hover {
  opacity: 0.8;
}

.book-button:hover::after {
  width: 100%;
  left: 0;
}

/* ── EVENTS ── */
.events-wrapper {
  display: flex;
  flex-wrap: wrap;
  margin-top: 10px;
  gap: 40px;
  padding: 0 40px 40px 40px;
}

.events-calendar {
  flex: 1;
  padding: 40px;
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

/* ── EVENT GROUP ── */
.event-group {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.28em;
  color: rgba(255, 255, 255, 0.35);
  margin: 0 0 16px 0;
  padding-bottom: 10px;
  position: relative;
  text-align: center;
}

.event-group::after {
  display: none;
}

.event-group + .event {
  margin-top: 0;
}

/* ── EVENT ── */
.event {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.event:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.event-date {
  flex-shrink: 0;
  width: 90px;
  height: 90px;
  background-color: var(--bg-brown);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.date-day {
  color: var(--accent-cream);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 0.06em;
  text-align: center;
  line-height: 1.3;
}

.date-time {
  color: var(--accent-cream);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  text-align: center;
}

.event-info {
  flex: 1;
}

.event-info strong {
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  display: block;
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}

.event-info p {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.65;
  margin: 0 0 4px 0;
}

.read-more {
  display: inline-block;
  margin-top: 8px;
  padding: 6px 16px;
  background-color: transparent;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.read-more:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.95);
  border-color: rgba(255, 255, 255, 0.5);
}

/* ── SPORT MONTH BUTTONS ── */
.sport-months {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  margin: 28px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.sport-separator {
  color: rgba(255, 255, 255, 0.18);
  font-size: 16px;
  padding: 0 12px;
  pointer-events: none;
  user-select: none;
}

.sport-month-button {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 6px 0 8px;
  position: relative;
  transition: color 0.3s ease;
}

.sport-month-button::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.6);
  transition: width 0.3s ease, left 0.3s ease;
}

.sport-month-button:hover,
.sport-month-button.active {
  color: rgba(255, 255, 255, 0.88);
}

.sport-month-button.active::after,
.sport-month-button:hover::after {
  width: 100%;
  left: 0;
}

.sport-month-content {
  display: none;
  margin-top: 20px;
}

.sport-month-content.visible {
  display: block;
}

/* ── GALLERI ── */
.gallery-section {
  padding: 4rem 0;
  overflow: hidden;
}

.gallery-track {
  display: flex;
  gap: 10px;
  width: max-content;
  animation: roll 38s linear infinite;
}

.gallery-image {
  width: 340px !important;
  height: 280px !important;
  max-width: 340px;
  max-height: 280px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
  filter: brightness(0.88);
  transition: filter 0.4s ease;
}

.gallery-image:hover {
  filter: brightness(1.02);
}

@keyframes roll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── RESPONSIVE: TABLET (≤1024px) ── */
@media (max-width: 1024px) {
  .hero-text {
    flex: 0 0 34%;
    padding: 140px 4% 60px 5%;
  }

  .hero-text h1 {
    font-size: 24px;
  }

  .hero-text p {
    font-size: 18px;
  }

  .hero-gallery {
    flex: 0 0 75%;
    margin-left: -80px;
    height: 85vh;
  }

  .events-wrapper {
    gap: 24px;
    padding: 0 24px 32px;
  }

  .event-info strong {
    font-size: 26px;
  }

  .event-info p {
    font-size: 18px;
  }

  h3 {
    font-size: 18px;
  }
}

/* ── RESPONSIVE: MOBILE (≤768px) ── */
@media (max-width: 768px) {
  /* Hero: hide gallery, show text full-width */
  .events-hero {
    flex-direction: column;
    min-height: auto;
  }

  .hero-text {
    flex: none;
    width: 100%;
    box-sizing: border-box;
    padding: 110px 28px 48px;
    align-items: center;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 20px;
    white-space: normal;
    text-align: center;
  }

  .hero-text h1::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .hero-text p {
    font-size: 17px;
    max-width: 100%;
  }

  .hero-gallery {
    display: none;
  }

  /* Events: stacked columns */
  .events-wrapper {
    flex-direction: column;
    gap: 24px;
    padding: 0 16px 32px;
  }

  .events-calendar {
    padding: 28px 20px;
  }

  h3 {
    font-size: 16px;
  }

  .event-date {
    width: 78px;
    height: 78px;
  }

  .date-day {
    font-size: 14px;
  }

  .date-time {
    font-size: 15px;
  }

  .event-info strong {
    font-size: 24px;
  }

  .event-info p {
    font-size: 17px;
  }

  .read-more {
    font-size: 15px;
  }
}

/* ── RESPONSIVE: SMALL MOBILE (≤480px) ── */
@media (max-width: 480px) {
  .hero-text {
    padding: 100px 20px 40px;
  }

  .hero-text h1 {
    font-size: 18px;
    letter-spacing: 0.25em;
  }

  .hero-text p {
    font-size: 16px;
  }

  .event {
    flex-direction: column;
    gap: 10px;
  }

  .event-date {
    width: 100%;
    height: auto;
    flex-direction: row;
    justify-content: flex-start;
    gap: 12px;
    padding: 8px 0;
    background: transparent;
    border-radius: 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .date-day, .date-time {
    font-size: 14px;
  }
}
