/* Venue-first home page. The venue directory remains the source of truth. */
body.home .uijan-hero,
body.home .uijan-hero-inner {
  min-height: 530px;
}

body.home .uijan-hero-inner {
  padding-top: 90px;
  padding-bottom: 84px;
}

body.home .uijan-hero-script {
  top: 10%;
  font-size: clamp(34px, 4vw, 54px);
}

body.home .uijan-hero h1 {
  font-size: clamp(48px, 5.9vw, 78px);
}

body.home .uijan-hero-places-link {
  margin-top: 23px;
}

body.home .uijan-spots,
body.home .uijan-suggest {
  position: relative;
  z-index: 1;
}

body.home .uijan-spots {
  padding: 0 0 100px;
  background: #f5f8f6;
  border-bottom: 1px solid var(--uijan-line);
  scroll-margin-top: 18px;
}

body.home .uijan-spots-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 620px;
  color: #fff;
  background: #132c22;
}

body.home .uijan-spots-feature-photo {
  position: absolute;
  inset: 0;
  margin: 0;
}

body.home .uijan-spots-feature-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
}

body.home .uijan-spots-hero-shade {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 29, 21, .9), rgba(8, 30, 22, .72) 44%, rgba(8, 30, 22, .23));
}

body.home .uijan-spots-feature-photo figcaption {
  position: absolute;
  z-index: 3;
  right: 24px;
  bottom: 15px;
  color: #fff;
  font-size: 10px;
  line-height: 1.5;
  text-align: right;
  text-shadow: 0 1px 5px #10281e;
}

body.home .uijan-spots-feature-photo figcaption a { color: inherit; }

body.home .uijan-spots-hero-content {
  position: relative;
  z-index: 2;
  padding-top: 58px;
  padding-bottom: 64px;
}

body.home .uijan-spots-intro-copy { max-width: 820px; }

body.home .uijan-spots-eyebrow {
  margin: 0 0 15px;
  color: var(--uijan-green-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .22em;
}

body.home .uijan-spots-hero .uijan-spots-eyebrow { color: #c6efd5; }

body.home .uijan-spots-intro h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(56px, 6vw, 78px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -.02em;
}

body.home .uijan-spots-intro-copy > p:not(.uijan-spots-eyebrow) { margin: 22px 0 0; color: #eef7f1; font-size: 17px; line-height: 1.75; }

body.home .uijan-spots-guide {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-underline-offset: .25em;
}

body.home .uijan-spots-guide .uijan-page-arrow,
body.home .uijan-spots-actions .uijan-page-arrow { --arrow-size: 28px; }

body.home .uijan-spots-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 15px 20px;
  align-items: end;
  max-width: 960px;
  margin-top: 32px;
  padding: 23px 28px 19px;
  color: var(--uijan-ink);
  background: #fff;
  border: 1px solid #dce7e1;
  box-shadow: 0 18px 48px rgba(5, 20, 13, .16);
}

body.home .uijan-spots-area,
body.home .uijan-spots-filters {
  min-width: 0;
}

body.home .uijan-spots-area > span,
body.home .uijan-spots-filters legend {
  display: block;
  margin-bottom: 12px;
  color: #46534d;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
}

body.home .uijan-spots-area select {
  width: 100%;
  height: 53px;
  padding: 0 15px;
  color: var(--uijan-ink);
  background: #fff;
  border: 1px solid #cbd9d0;
  border-radius: 0;
  font: inherit;
  font-size: 15px;
}

body.home .uijan-spots-filters {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0;
  padding: 0;
  border: 0;
}

body.home .uijan-spots-filters legend { width: 100%; margin-bottom: 8px; }

body.home .uijan-spots-filters label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 37px;
  padding: 6px 11px;
  color: #2e3b34;
  background: #f5f8f6;
  border: 1px solid #dbe6df;
  cursor: pointer;
  font-size: 13px;
  line-height: 1.3;
}

body.home .uijan-spots-filters input { margin: 0; accent-color: var(--uijan-green-dark); }
body.home .uijan-spots-filters label:has(input:checked) { color: var(--uijan-green-dark); background: #e6f2eb; border-color: var(--uijan-green-dark); }

body.home .uijan-spots-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}

body.home .uijan-spots-actions button {
  min-width: 165px;
  min-height: 53px;
  padding: 11px 19px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 17px;
  color: #fff;
  background: var(--uijan-green-dark);
  border: 1px solid var(--uijan-green-dark);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
}

body.home .uijan-spots-actions button:hover { background: var(--uijan-green); }
body.home .uijan-spots-actions > a { color: var(--uijan-green-dark); font-size: 12px; text-align: right; }
body.home .uijan-spots-filter-note { grid-column: 1 / -1; margin: 0; color: #67766d; font-size: 11px; line-height: 1.5; }

body.home .uijan-spots-results-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px 28px;
  margin: clamp(55px, 7vw, 90px) 0 21px;
}

body.home .uijan-spots-results-head h2 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 3px 13px;
  margin: 0;
  color: var(--uijan-ink);
  font-size: clamp(27px, 3.3vw, 43px);
  font-weight: 750;
  line-height: 1.28;
}

body.home .uijan-spots-results-head h2 span {
  color: var(--uijan-green-dark);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

body.home .uijan-spots-research-note { margin: 7px 0 0; color: #465a4f; font-size: 13px; line-height: 1.6; }

body.home .uijan-spots-all {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 53px;
  padding: 8px 11px 8px 18px;
  border-radius: 7px;
  background: var(--uijan-green-dark);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

body.home .uijan-spots-all:is(:hover, :focus-visible) { background: var(--uijan-green); }
body.home .uijan-spots-all .uijan-page-arrow { --arrow-size: 33px; border-color: #ffffff80; }
body.home .uijan-spots-all:is(:hover, :focus-visible) .uijan-page-arrow { color: var(--uijan-green-dark); background: #fff; }

body.home .uijan-spots-empty { padding: 35px; background: #fff; border: 1px solid #dfe9e3; color: #46534d; }

body.home .uijan-suggest { padding: 72px 0; background: #e7f0ea; border-bottom: 1px solid #d4e3d9; }
body.home .uijan-suggest-inner { display: flex; align-items: center; justify-content: space-between; gap: 35px; }
body.home .uijan-suggest h2 { margin: 0; color: var(--uijan-ink); font-size: clamp(30px, 3.2vw, 44px); line-height: 1.42; }
body.home .uijan-suggest-inner p:last-child { margin: 16px 0 0; color: #4f6255; font-size: 14px; }
body.home .uijan-suggest-inner > a { flex: none; min-width: 230px; min-height: 58px; padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; gap: 25px; color: #fff; background: var(--uijan-green-dark); font-size: 14px; font-weight: 700; text-decoration: none; }
body.home .uijan-suggest-inner > a:hover { background: var(--uijan-green); }

/* The app follows the finder as a compact secondary feature. */
body.home .uijan-tournament { padding: 92px 0 105px; }
body.home .uijan-tournament .uijan-section-grid { grid-template-columns: minmax(280px, .8fr) minmax(0, 1fr); gap: 42px; align-items: center; }
body.home .uijan-tournament .uijan-section-head h2 { font-size: clamp(38px, 3.5vw, 52px); }
body.home .uijan-tournament .uijan-device-stage { min-height: 300px; }
body.home .uijan-tournament .uijan-laptop { width: min(520px, 80%); }
body.home .uijan-tournament .uijan-phone { width: 100px; }

body.home a:focus-visible,
body.home button:focus-visible,
body.home select:focus-visible,
body.home input:focus-visible { outline: 3px solid var(--uijan-green); outline-offset: 3px; }

@media (max-width: 980px) {
  body.home .uijan-spots-hero-shade { background: linear-gradient(90deg, rgba(7, 29, 21, .9), rgba(8, 30, 22, .58)); }
  body.home .uijan-spots-search { grid-template-columns: minmax(0, 1fr) 190px; }
  body.home .uijan-tournament .uijan-section-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  body.home .uijan-hero,
  body.home .uijan-hero-inner { min-height: 520px; }
  body.home .uijan-hero-inner { padding-top: 112px; padding-bottom: 62px; }
  body.home .uijan-hero-script { top: 10%; font-size: 39px; }
  body.home .uijan-hero h1 { font-size: clamp(36px, 9.4vw, 50px); }
  body.home .uijan-hero-more-links { justify-content: center; }
  body.home .uijan-spots { padding-bottom: 82px; }
  body.home .uijan-spots-hero { min-height: 0; }
  body.home .uijan-spots-feature-photo img { object-position: 62% center; }
  body.home .uijan-spots-hero-shade { background: linear-gradient(90deg, rgba(7, 29, 21, .92), rgba(8, 30, 22, .62)); }
  body.home .uijan-spots-hero-content { padding-top: 53px; padding-bottom: 71px; }
  body.home .uijan-spots-hero .uijan-spots-eyebrow { margin-bottom: 14px; }
  body.home .uijan-spots-intro h1 { font-size: clamp(43px, 10.5vw, 55px); letter-spacing: -.035em; }
  body.home .uijan-spots-intro h1 span { display: block; }
  body.home .uijan-spots-intro-copy > p:not(.uijan-spots-eyebrow) { margin-top: 20px; font-size: 14px; }
  body.home .uijan-spots-results-head { flex-wrap: wrap; align-items: flex-start; }
  body.home .uijan-spots-guide { margin-top: 18px; }
  body.home .uijan-spots-search { grid-template-columns: 1fr; margin-top: 26px; padding: 19px; gap: 18px; }
  body.home .uijan-spots-filters { gap: 8px; }
  body.home .uijan-spots-filters label { font-size: 12px; }
  body.home .uijan-spots-actions button { width: 100%; }
  body.home .uijan-spots-feature-photo figcaption { right: 17px; bottom: 12px; font-size: 9px; }
  body.home .uijan-spots-all { min-height: 48px; }
  body.home .uijan-suggest { padding: 65px 0; }
  body.home .uijan-suggest-inner { display: block; }
  body.home .uijan-suggest-inner > a { margin-top: 28px; }
  body.home .uijan-tournament { padding: 70px 0 80px; }
  body.home .uijan-tournament .uijan-section-grid { grid-template-columns: 1fr; gap: 28px; }
  body.home .uijan-tournament .uijan-device-stage { min-height: 230px; }
}
