/* =========================================================
   ETS Brand Palette
========================================================= */

:root {
  --ets-teal: #2c9aa0;
  --ets-yellow: #f2c400;
  --ets-pink: #ff005c;

  --ets-text: #111;
  --ets-muted: #555;
  --ets-bg: #ffffff;

  --ets-border: rgba(0, 0, 0, 0.08);
}

/* =========================================================
   Base Layout
========================================================= */

body {
  background: var(--ets-bg);
}

.ets {
  width: 100%;
}



.ets-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.ets-wrap > .ets-countdown {
  margin-bottom: 60px;
}
/* =========================================================
   Buttons
========================================================= */

.ets-btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease;
}

.ets-btn.primary {
  background: var(--ets-pink);
  color: #fff;
}

.ets-btn.primary:hover {
  background: #d8004e;
}

.ets-btn.secondary {
  background: rgba(0, 0, 0, 0.06);
  color: var(--ets-text);
}

/* =========================================================
   Cards
========================================================= */

.ets-card {
  border: 1px solid var(--ets-border);
  border-radius: 18px;
  padding: 22px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(0,0,0,0.03);
}

.ets-card h2 {
  margin-top: 0;
  color: var(--ets-teal);
}

/* =========================================================
   Homepage Hero
========================================================= */

.ets-hero {
  position: relative;
  padding: 110px 0;
  text-align: center;
  color: #fff;
  background: url("../img/bg-ets-2.jpg") center/cover no-repeat;
}

.ets-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(44, 154, 160, 0.55);
}

.ets-hero .ets-wrap {
  position: relative;
  z-index: 2;
}

.ets-badge {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  margin-bottom:-40px;
}

.ets-hero h1 {
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.05;
  margin: 18px 0;
  letter-spacing: -0.6px;
}

.ets-lead {
  max-width: 60ch;
  margin: 0 auto;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.88);
}

.ets-actions {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* =========================================================
   Homepage Photo Cards
========================================================= */

.ets-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.ets-photo-card {
  border-radius: 18px;
  overflow: hidden;
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--ets-border);
  background: #fff;
}

.ets-photo-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.ets-photo-text {
  padding: 16px;
}

.ets-photo-text h3 {
  margin: 0 0 6px;
  font-size: 18px;
  color: var(--ets-text);
}

.ets-photo-text p {
  margin: 0;
  color: var(--ets-muted);
  font-size: 14px;
  line-height: 1.4;
}

/* Strip */
.ets-strip {
  padding: 26px 0;
  background: rgba(44, 154, 160, 0.08);
  text-align: center;
  color: var(--ets-text);
  margin-top: 60px;
}

/* =========================================================
   Generic Page Hero
========================================================= */

.ets-page-hero {
  padding: 90px 0 55px;
  text-align: center;

  background: linear-gradient(
    180deg,
    rgba(44,154,160,0.10),
    transparent
  );
}

.ets-hero-badge {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;

  background: rgba(44,154,160,0.16);
  color: var(--ets-teal);

  margin-bottom: 16px;
}


.ets-page-title {
  font-size: clamp(38px, 5vw, 64px);
  margin: 0;
  line-height: 1.05;
  letter-spacing: -0.8px;
  text-transform: uppercase;
}

.ets-page-title span {
  color: var(--ets-yellow);
}


.ets-page-intro {
  max-width: 62ch;
  margin: 18px auto 0;
  font-size: 18px;
  color: var(--ets-muted);
  line-height: 1.5;
}

.ets-page-hero {
  position: relative;
}

/* Pink corner accent (optional) */
.ets-page-hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 140px;
  height: 140px;
  background: var(--ets-pink);
  clip-path: polygon(70% 0, 100% 0, 100% 100%, 0 100%);
  opacity: 0.85;
}



/* =========================================================
   Page Content
========================================================= */

.ets-page-content {
  padding: 0 0 80px;
}

/* =========================================================
   Dorms Page
========================================================= */

.ets-dorms-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 40px 0 60px;
}

/* Clickable photos */
.ets-photo {
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  overflow: hidden;
  display: block;
  position: relative;
  background: rgba(0, 0, 0, 0.03);
}

.ets-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.ets-photo:hover img {
  transform: scale(1.03);
}

/* Info grid */
.ets-dorms-info {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
  margin-bottom: 60px;
}

.ets-list {
  margin: 14px 0 0;
  padding-left: 18px;
  color: #333;
  line-height: 1.5;
}

.ets-list li {
  margin-bottom: 8px;
}

/* Price */
.ets-price-main {
  font-size: 32px;
  font-weight: 700;
  margin: 12px 0 6px;
  color: var(--ets-pink);
}

.ets-price-sub {
  margin: 0;
  color: var(--ets-muted);
}

.ets-small {
  margin-top: 12px;
  font-size: 14px;
  color: #666;
}

/* Registration block */
.ets-registration {
  margin: 70px auto 0;
  max-width: 720px;
  text-align: center;
  border: 1px solid var(--ets-border);
  border-radius: 18px;
  background: #fff;
  padding: 40px 26px;
}

.ets-registration h2 {
  margin: 0 0 12px;
  font-size: 26px;
  color: var(--ets-teal);
}

.ets-registration p {
  margin: 0 auto 22px;
  max-width: 52ch;
  color: var(--ets-muted);
  line-height: 1.45;
}

/* Dorms – price refinement on mobile */

@media (max-width: 700px) {
  .ets-price-main {
    font-size: 24px;   /* was 32px */
  }

  .ets-price-sub {
    font-size: 14px;
  }
  
  .ets-price .ets-small {
    text-align: left;
    padding-left: 2px;
  }
}

}

/* =========================================================
   Lightbox
========================================================= */

.ets-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.ets-lightbox.open {
  display: flex;
}

.ets-lightbox-img {
  max-width: 92%;
  max-height: 86%;
  border-radius: 14px;
}

.ets-lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  font-size: 34px;
  color: #fff;
  cursor: pointer;
}

/* =========================================================
   Responsive
========================================================= */

@media (max-width: 950px) {
  .ets-photo-grid {
    grid-template-columns: 1fr;
  }

  .ets-photo-card img {
    height: 200px;
  }

  .ets-hero {
    padding: 80px 0;
  }
}

@media (max-width: 900px) {
  .ets-dorms-gallery {
    grid-template-columns: 1fr;
  }

  .ets-photo {
    aspect-ratio: 16 / 10;
  }

  .ets-dorms-info {
    grid-template-columns: 1fr;
  }

  .ets-lead {
    font-size: 16px;
  }
}
@media (max-width: 700px) {
  .ets-page-hero::after {
    display: none;
  }
}




/* =========================================================
   Venue Page
========================================================= */

.ets-venue-image {
  margin: 40px 0 60px;
}

.ets-venue-image img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  display: block;
}

.ets-venue-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

/* Responsive */
@media (max-width: 900px) {
  .ets-venue-info {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Schedule & Format Layout
========================================================= */

.ets-block {
  margin-bottom: 40px;
}

.ets-format-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 20px;
}

.ets-format-item {
  padding: 18px;
  border-radius: 16px;
  background: rgba(44,154,160,0.06);
  border: 1px solid rgba(44,154,160,0.12);
}

.ets-format-item h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: var(--ets-text);
}

.ets-format-item p {
  margin: 0;
  font-size: 14px;
  color: var(--ets-muted);
  line-height: 1.4;
}

/* Responsive */
@media (max-width: 900px) {
  .ets-format-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Contact Page
========================================================= */

.ets-contact-grid {
  max-width: 850px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.ets-contact-item h2 {
  margin-top: 0;
  font-size: 20px;
}

.ets-contact-item p {
  margin: 8px 0 0;
}

.ets-contact-item a {
  color: var(--ets-teal);
  font-weight: 600;
  text-decoration: none;
}

.ets-contact-item a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 900px) {
  .ets-contact-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   ETS HOMEPAGE
========================================================= */

/* -------------------------
   HERO
------------------------- */

.ets-hero-photo {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  

  background: url("../img/bg-ets-2.jpg") center / cover no-repeat;
  color: #fff;
}

.ets-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(30, 77, 122, 0.75) 0%,
      rgba(30, 77, 122, 0.55) 18%,
      rgba(30, 77, 122, 0.25) 38%,
      rgba(0, 0, 0, 0.25) 60%,
      rgba(0, 0, 0, 0.35) 100%
    );
}
.ets-hero-photo h1,
.ets-hero-photo .ets-lead {
  text-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.ets-hero-photo .ets-wrap {
  position: relative;
  z-index: 2;
  text-align: center;
}

/* Badge */
.ets-hero-photo .ets-badge {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.4px;

  background: rgba(255,255,255,0.22);
  backdrop-filter: blur(4px);
  color: #fff;
}

/* Title */
.ets-hero-photo h1 {
  font-size: clamp(44px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.8px;
  margin: 18px 0 10px;
  text-transform: uppercase;
  color: #fff;
}

.ets-hero-photo h1 span {
  color: var(--ets-yellow);
}

/* Accent underline */
.ets-hero-photo h1::after {
  content: "";
  display: block;
  width: 90px;
  height: 4px;
  background: var(--ets-yellow);
  margin: 16px auto 0;
  border-radius: 2px;
}

/* Subtitle */
.ets-hero-photo .ets-lead {
  margin-top: 6px;
  font-size: 18px;
  color: rgba(255,255,255,0.9);
}

/* Buttons */
.ets-hero-photo .ets-actions {
  margin-top: 22px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.ets-hero-photo .ets-btn.primary {
  background: var(--ets-pink);
  color: #fff;
}

.ets-hero-photo .ets-btn.primary:hover {
  background: #d8004e;
}

.ets-hero-photo .ets-btn.secondary {
  background: rgba(255,255,255,0.22);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
}

.ets-hero-photo .ets-btn.secondary:hover {
  background: rgba(255,255,255,0.32);
}

/* -------------------------
   SECTIONS BASE
------------------------- */

.ets-section {
  padding: 70px 0;
}

.ets-section-title {
  text-align: center;
  font-size: 28px;
  margin-bottom: 28px;
}

/* -------------------------
   COUNTDOWN
------------------------- */

.ets-countdown-section {
  background: rgba(44,154,160,0.06);
}

.ets-countdown-section {
  padding: 80px;
}


.ets-countdown {
  display: flex;
  justify-content: center;
  gap: 26px;
  text-align: center;
  flex-wrap: nowrap;
}

.ets-countdown div {
  background: #fff;
  border-radius: 18px;
  padding: 18px 22px;
  min-width: 90px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.04);
}

.ets-countdown span {
  display: block;
  font-size: 34px;
  font-weight: 700;
  color: var(--ets-pink);
}

.ets-countdown small {
  font-size: 12px;
  color: var(--ets-muted);
}


@media (max-width: 700px) {

  .ets-countdown {
    gap: 14px;
  }

  .ets-countdown div {
    padding: 12px 14px;
    min-width: 72px;
    border-radius: 14px;
  }

  .ets-countdown span {
    font-size: 24px;
    line-height: 1.1;
  }

  .ets-countdown small {
    font-size: 9px;
    letter-spacing: 0.2px;
  }
}


/* -------------------------
   INTRO
------------------------- */

.ets-intro-card {
  max-width: 850px;
  margin: 0 auto;
  text-align: center;
}

.ets-intro-card p {
  max-width: 65ch;
  margin: 0 auto;
}

/* -------------------------
   VIDEO
------------------------- */

.ets-video-section {
  background: #fff;
}

.ets-video-wrapper {
  max-width: 900px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
}

.ets-video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* -------------------------
   RESPONSIVE
------------------------- */

@media (max-width: 900px) {
  .ets-section {
    padding: 55px 0;
  }

  .ets-hero-photo {
    min-height: 75vh;
  }

  .ets-hero-photo h1 {
    font-size: clamp(36px, 9vw, 52px);
  }

  .ets-hero-photo .ets-lead {
    font-size: 16px;
  }
}

/* Subtle accent under section titles */
.ets-section-title {
  position: relative;
}

.ets-section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  margin: 14px auto 0;

  background: var(--ets-yellow);
  border-radius: 2px;
}

.ets-hero-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 42px 48px;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(6px);

  border-radius: 22px;
}

.ets-hero-content h1 {
    margin-top:-44px;
}

.ets-hero-photo .ets-badge {
  background: rgba(255,255,255,0.18);
  font-size: 11px;
  letter-spacing: 0.6px;
  margin-bottom: 14px;
}

.ets-hero-photo h1::after { ... }

.ets-hero-photo h1 {
  margin-top: 0;
  margin-bottom: 8px;
  text-shadow: none;
}

/* =========================================================
   Tournament Director (Contact Page)
========================================================= */

.ets-contact-director {
  max-width: 850px;
  margin: 60px auto 0;
  padding-top: 32px;
  text-align: center;

  border-top: 1px solid var(--ets-border);
}

.ets-contact-director h2 {
  margin: 0 0 10px;
  font-size: 22px;
  color: var(--ets-teal);
}

.ets-director-name {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  color: var(--ets-text);
}

/* =========================================================
   Contact Page – responsive fixes
========================================================= */

/* Grid already becomes 1 column at <=900px, but keep spacing consistent */
.ets-contact-grid {
  max-width: 850px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

/* Tournament Director block */
.ets-contact-director {
  max-width: 850px;
  margin: 60px auto 0;
  padding-top: 32px;
  text-align: center;
  border-top: 1px solid var(--ets-border);
}

.ets-contact-director h2 {
  margin: 0 0 10px;
  font-size: 22px;
  color: var(--ets-teal);
}

.ets-director-name {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  color: var(--ets-text);
}

/* Mobile */
@media (max-width: 900px) {
  .ets-contact-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ets-contact-director {
    margin-top: 38px;
    padding-top: 22px;
  }
}

@media (max-width: 600px) {
  .ets-contact-director h2 {
    font-size: 20px;
  }

.ets-small {
    padding: 18px;
}
  .ets-director-name {
    font-size: 16px;
  }
}

/* =========================================================
   Food Page
========================================================= */

.ets-food-grid {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.ets-food-block {
  padding: 34px 36px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--ets-border);
}

.ets-food-block h2 {
  margin: 0 0 12px;
  font-size: 22px;
  color: var(--ets-teal);
}

.ets-food-block p {
  margin: 0 0 14px;
  color: var(--ets-muted);
  line-height: 1.5;
  max-width: 52ch;
}

.ets-food-block .ets-small {
  margin-top: 8px;
}

/* Highlight vendor block */
.ets-food-block.highlight {
  border-color: rgba(255, 0, 92, 0.25);
  box-shadow: 0 10px 28px rgba(0,0,0,0.04);
}

.ets-food-block.highlight .ets-btn {
  margin-top: 12px;
}

/* Responsive */
@media (max-width: 900px) {
  .ets-food-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .ets-food-block {
    padding: 28px 26px;
  }
}


/* =========================================================
   Footer – Organizing Clubs
========================================================= */

.ets-footer-clubs {
  border-top: 1px solid var(--ets-border);
  background: #F0FFFF;
}

.ets-footer-clubs-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 20px 22px;
  text-align: center;
}

.ets-footer-label {
  margin: 0 0 14px;
  font-size: 13px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--ets-muted);
}

.ets-footer-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.ets-footer-logos img {
  max-height: 100px;
  width: auto;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.ets-footer-logos img:hover {
  opacity: 1;
}

/* Mobile */
@media (max-width: 600px) {
  .ets-footer-logos {
    gap: 26px;
  }

  .ets-footer-logos img {
    max-height: 400px;
  }
}

/* Hide Inspiro footer credits */
.site-footer .site-info {
  display: none !important;
}

/* =========================================================
   Blog Archive
========================================================= */

.ets-posts-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* Post card */
.ets-post-card {
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--ets-border);
  display: flex;
  flex-direction: column;
}

.ets-post-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

/* Content */
.ets-post-content {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.ets-post-title {
  margin: 0 0 6px;
  font-size: 20px;
  line-height: 1.25;
}

.ets-post-title a {
  color: var(--ets-text);
  text-decoration: none;
}

.ets-post-title a:hover {
  text-decoration: underline;
}

.ets-post-meta {
  font-size: 13px;
  color: var(--ets-muted);
  margin-bottom: 10px;
}

.ets-post-excerpt {
  margin: 0 0 16px;
  color: var(--ets-muted);
  line-height: 1.5;
  flex-grow: 1;
}

.ets-post-link {
  font-weight: 600;
  color: var(--ets-teal);
  text-decoration: none;
  font-size: 14px;
}

.ets-post-link:hover {
  text-decoration: underline;
}

/* Pagination */
.ets-pagination {
  margin-top: 50px;
  text-align: center;
}

.ets-pagination .page-numbers {
  margin: 0 4px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0,0,0,0.05);
  text-decoration: none;
  color: var(--ets-text);
  font-size: 14px;
}

.ets-pagination .current {
  background: var(--ets-pink);
  color: #fff;
}

/* Empty state */
.ets-empty {
  max-width: 600px;
  margin: 0 auto;
  padding: 60px 20px;
  text-align: center;
  color: var(--ets-muted);
}

/* Responsive */
@media (max-width: 1000px) {
  .ets-posts-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 650px) {
  .ets-posts-grid {
    grid-template-columns: 1fr;
  }

  .ets-post-image img {
    height: 200px;
  }
}

/* =========================================================
   Article – ETS Style
========================================================= */

.ets-article-simple {
  padding: 70px 0 90px;
}

.ets-article-container {
  max-width: 760px;
  margin: 0 auto;
}

/* Header */
.ets-article-header {
  margin-bottom: 26px;
}

.ets-article-title {
  margin: 0 0 6px;
  font-size: clamp(30px, 4.5vw, 44px);
  line-height: 1.2;
  letter-spacing: -0.4px;
}

.ets-article-meta {
  margin: 0;
  font-size: 13px;
  color: var(--ets-muted);
}

/* Image */
.ets-article-image {
  margin: 22px 0 28px;
}

.ets-article-image img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
}

/* Body */
.ets-article-body {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ets-text);
}

.ets-article-body p {
  margin-bottom: 1.4em;
}

.ets-article-body h2,
.ets-article-body h3 {
  margin-top: 2em;
  margin-bottom: 0.6em;
  font-size: 20px;
}

.ets-article-body ul,
.ets-article-body ol {
  margin: 1em 0 1.6em 1.2em;
}

.ets-article-body a {
  color: var(--ets-teal);
  text-decoration: underline;
}

.ets-article-body a:hover {
  text-decoration-thickness: 2px;
}

/* Mobile */
@media (max-width: 700px) {
  .ets-article-simple {
    padding: 50px 0 70px;
  }

  .ets-article-title {
    font-size: clamp(26px, 7vw, 34px);
  }

  .ets-article-body {
    font-size: 15.5px;
  }
}

.ets-format-link {
  display: inline-block;
  margin-top: 6px;
  font-weight: 600;
  color: var(--ets-teal);
  text-decoration: none;
}

.ets-format-link:hover {
  text-decoration: underline;
}

/* Header CTA button */
.site-header .official-rules > a {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(242, 196, 0, 0.10);
  font-weight: 600;
}

/* =========================================================
   Hero – Image + Floating Card
========================================================= */

.ets-hero-alt {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Background image */
.ets-hero-image {
  position: absolute;
  inset: 0;
  background: url("../img/her22.jpg") left / cover no-repeat;
}

/* Floating card */
.ets-hero-card {
  position: relative;
  z-index: 2;

  max-width: 560px;
  margin: 0 20px;
  padding: 42px 46px;

  background: #fff;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);

  text-align: center;
}

/* Eyebrow */
.ets-hero-eyebrow {
  display: inline-block;
  margin-bottom: 10px;

  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;

  color: var(--ets-muted);
}

/* Title */
.ets-hero-card h1 {
  font-family: "League Spartan", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 800;
  letter-spacing: -0.6px;
  margin: 0 0 8px;
  font-size: clamp(36px, 5vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.6px;
  text-transform: uppercase;
  color: var(--ets-text);
}

.ets-hero-card h1 span {
  color: var(--ets-yellow);
}

/* Meta line */
.ets-hero-meta {
  margin: 0 0 26px;
  font-size: 16px;
  color: var(--ets-muted);
}

/* Buttons spacing */
.ets-hero-card .ets-actions {
  margin-top: 0;
}

/* =========================================================
   Mobile
========================================================= */

@media (max-width: 900px) {
  .ets-hero-alt {
    min-height: 70vh;
  }

  .ets-hero-card {
    padding: 32px 28px;
  }

  .ets-hero-card h1 {
    font-size: clamp(30px, 8vw, 42px);
  }
}

.ets {
  width: 100%;
  margin-top: -33px;
}

@media (max-width: 900px) {
  .ets {
    margin-top: -30px;
  }
}

/* Override Inspiro inline header offset */
#content.site-content {
  padding-top: 122px !important;
}

/* =========================================================
   Registration Page
========================================================= */

.ets-registration-summary {
  margin-bottom: 60px;
}

.ets-timeline {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.ets-timeline-item {
  background: #fff;
  border: 1px solid var(--ets-border);
  border-radius: 18px;
  padding: 22px;
}

.ets-timeline-step {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ets-teal);
  text-transform: uppercase;
}

.ets-timeline-date {
  font-size: 14px;
  color: var(--ets-muted);
  margin-bottom: 8px;
}

/* CTA */
.ets-registration-cta {
  margin: 60px auto;
  text-align: center;
}

.ets-btn.is-disabled {
  opacity: 0.6;
  pointer-events: none;
}

/* Mobile */
@media (max-width: 900px) {
  .ets-timeline {
    grid-template-columns: 1fr;
  }
}

/* Disabled / inactive button */
.ets-btn.is-disabled {
  background: rgba(0,0,0,0.08);
  color: #777;
  cursor: not-allowed;
  pointer-events: none;
}

.ets-btn.is-disabled:hover {
  background: rgba(0,0,0,0.08);
}

.ets {
  position: relative;
  background: #fff;
}

.ets::before {
  content: "";
  position: absolute;
  inset: 0;

  background-image: url("../img/bg-ets-2.png");
  background-repeat: repeat;
  background-size: 220px auto;

  opacity: 0.04; /* foarte subtil */
  pointer-events: none;
  z-index: 0;
}

.ets > * {
  position: relative;
  z-index: 1;
}

.ets-footer-legal {
  margin: 12px auto 18px;
  text-align: center;
  font-size: 12px;
  line-height: 1.4;
  color: rgba(0,0,0,0.45);
}

.ets-footer-legal a {
  color: rgba(0,0,0,0.45);
  text-decoration: none;
}

.ets-footer-legal a:hover {
  text-decoration: underline;
  color: rgba(0,0,0,0.65);
}

.ets-footer-legal span {
  margin: 0 6px;
}

/* =========================
   ETS Announcement Bar
========================= */

#ets-announcement {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;

  background: rgba(242,196,0,0.96);
  color: #111;
}

.ets-announcement-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 20px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ets-announcement-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  flex: 1;
}

.ets-announcement-close {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
  padding: 0;
}

/* Push content down dynamically */
body.has-announcement {
  padding-top: 48px;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

  .ets-announcement-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 12px 16px;
  }

  .ets-announcement-text {
    font-size: 12px;
  }

  .ets-announcement-close {
    align-self: flex-end;
    font-size: 16px;
  }

  body.has-announcement {
    padding-top: 72px;
  }
}


/* =========================================================
   Equipment Page
========================================================= */

.ets-equipment-logo {
  text-align: center;
  margin: 40px 0 60px;
}

.ets-equipment-logo img {
  max-width: 220px;
  height: auto;
  opacity: 0.9;
}

/* Grid */
.ets-equipment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 50px;
}

/* Link section */
.ets-equipment-link {
  text-align: center;
  margin-top: 10px;
}

/* =========================================================
   MOBILE IMPROVEMENTS
========================================================= */

@media (max-width: 900px) {

  .ets-equipment-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .ets-equipment-logo {
    margin: 30px 0 40px;
  }

  .ets-equipment-logo img {
    max-width: 200px;
  }

  .ets-card {
    padding: 20px;
    border-radius: 16px;
  }

  .ets-card h2 {
    font-size: 18px;
  }

  .ets-list {
    font-size: 14px;
  }

  .ets-equipment-link {
    margin-top: 24px;
  }

  .ets-equipment-link .ets-btn {
    width: 100%;
    max-width: 320px;
  }
}

@media (max-width: 600px) {

  .ets-equipment-logo img {
    max-width: 170px;
  }

  .ets-card {
    padding: 18px;
  }

  .ets-card h2 {
    font-size: 17px;
  }

  .ets-equipment-link .ets-btn {
    width: 100%;
    font-size: 14px;
  }
}


.ets-dorms-update {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 14px;

  background: rgba(44,154,160,0.06);
  border: 1px solid rgba(44,154,160,0.25);

  font-size: 14px;
  line-height: 1.4;
  color: #333;
}

@media (max-width: 700px) {
  .ets-dorms-update {
    font-size: 13px;
  }
}

.ets-announcement-messages {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ets-announcement-text {
  margin: 0;
}

/* =========================================================
   Meal Pre-Order Page
========================================================= */

.ets-meal-card {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 36px 28px;
}

.ets-meal-card h2 {
  margin-bottom: 10px;
  font-size: 22px;
}

.ets-meal-card .ets-btn {
  margin-top: 16px;
}

.ets-meal-note {
  margin-top: 16px;
}

/* Mobile */
@media (max-width: 700px) {

  .ets-meal-card {
    padding: 24px 18px;
    text-align: center;
  }

  .ets-meal-card .ets-btn {
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
    display: block;
  }
}

/* =========================================================
   Cleaner Menu Layout
========================================================= */

.ets-meal-menu {
  margin-top: 60px;
}

/* Columns */
.ets-menu-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  margin-bottom: 40px;
}

/* Group */
.ets-menu-group h3 {
  margin-bottom: 18px;
  font-size: 18px;
  color: var(--ets-teal);
  letter-spacing: 0.3px;
}

/* Item */
.ets-menu-item {
  margin-bottom: 18px;
}

.ets-menu-title {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 4px;
}

.ets-menu-desc {
  font-size: 14px;
  color: var(--ets-muted);
}

/* Rice section */
.ets-menu-extra {
  text-align: center;
  margin-bottom: 24px;
}

.ets-rice-options {
  font-size: 15px;
  color: var(--ets-muted);
  margin-top: 8px;
}

/* Pricing */
.ets-menu-pricing {
  text-align: center;
  font-size: 16px;
}

.ets-menu-pricing strong {
  font-size: 20px;
  color: var(--ets-pink);
}

/* ================= MOBILE ================= */

@media (max-width: 900px) {

  .ets-menu-columns {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .ets-menu-extra,
  .ets-menu-pricing {
    text-align: left;
  }

  .ets-menu-pricing strong {
    font-size: 18px;
  }
}

/* Compact bottom card (Rice + Pricing) */
.ets-menu-bottom {
  max-width: 760px;
  margin: 10px auto 0;
  padding: 22px;
}

.ets-menu-bottom-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
}

.ets-menu-subtitle {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ets-text);
}

.ets-rice-options {
  margin: 0;
  font-size: 14px;
  color: var(--ets-muted);
  line-height: 1.45;
}
.ets-menu-bottom-left {
  text-align: center;
  white-space: nowrap;
}

.ets-menu-bottom-right {
  text-align: center;
  padding-top: 10px; 
  white-space: nowrap;
}

.ets-price-line {
  font-size: 16px;
  font-weight: 700;
}

.ets-price-line strong {
  font-size: 20px;
  color: var(--ets-yellow); /* you wanted yellow */
}

.ets-price-line span {
  font-weight: 500;
  color: var(--ets-muted);
}

.ets-portion-line {
  margin-top: 4px;
  font-size: 14px;
  color: var(--ets-muted);
}

/* Mobile */
@media (max-width: 700px) {
  .ets-menu-bottom {
    padding: 18px;
  }

  .ets-menu-bottom-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ets-menu-bottom-right {
    text-align: center;
	padding-top:12px;
  }

  .ets-price-line strong {
    font-size: 18px;
  }
}

/* Floating WhatsApp button */

.ets-whatsapp-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 9999;

  display: flex;
  align-items: center;
  gap: 8px;

  padding: 12px 16px;
  border-radius: 999px;

  background: #25D366;
  color: white;
  font-size: 14px;
  font-weight: 600;

  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);

  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ets-whatsapp-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}

.ets-wa-icon {
  display: flex;
  align-items: center;
}

/* Mobile */

@media (max-width: 700px) {

  .ets-whatsapp-float {
    padding: 10px 12px;
    font-size: 13px;
  }

 /* =========================================================
   Daily Schedule
========================================================= */

.ets-schedule-card {
  max-width: 760px;
  margin: 0 auto;
}

.ets-schedule-note {
  margin-bottom: 18px;
  text-align: center;
}

.ets-schedule-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ets-schedule-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  align-items: center;

  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.03);
}

.ets-time {
  font-size: 14px;
  font-weight: 600;
  color: var(--ets-text);
}

.ets-event {
  font-size: 14px;
  color: var(--ets-muted);
}

/* Slight emphasis for main competition blocks */
.ets-schedule-row:nth-child(4),
.ets-schedule-row:nth-child(6) {
  background: rgba(44, 154, 160, 0.08);
}

/* Mobile */
@media (max-width: 700px) {
  .ets-schedule-note {
    text-align: left;
  }

  .ets-schedule-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .ets-time,
  .ets-event {
    font-size: 13px;
  }
}

	/* Homepage shop preview */

.ets-home-shop ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 22px !important;
  margin: 30px 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.ets-home-shop ul.products::before,
.ets-home-shop ul.products::after {
  display: none !important;
  content: none !important;
}

.ets-home-shop ul.products li.product {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
  list-style: none !important;

  background: #fff;
  border: 1px solid var(--ets-border);
  border-radius: 18px;
  overflow: hidden;
  padding: 0 !important;
}

.ets-home-shop ul.products li.product a {
  text-decoration: none;
}

.ets-home-shop ul.products li.product img {
  width: 100% !important;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  margin: 0 !important;
}

.ets-home-shop ul.products li.product .woocommerce-loop-product__title {
  font-size: 16px !important;
  line-height: 1.3 !important;
  color: var(--ets-text) !important;
  padding: 16px 16px 8px !important;
  margin: 0 !important;
}

.ets-home-shop ul.products li.product .price {
  padding: 0 16px 16px !important;
  margin: 0 !important;
  color: var(--ets-muted) !important;
  font-size: 14px !important;
}

.ets-home-shop ul.products li.product .button,
.ets-home-shop ul.products li.product a.button {
  display: none !important;
}


@media (max-width: 900px) {
  .ets-home-shop ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 700px) {
  .ets-home-shop ul.products {
    grid-template-columns: 1fr !important;
  }
}

