:root {
  --sport-red: #e7353a;
  --sport-navy: #061633;
}

.sponsor-hero.hero-cover-section {
  height: auto;
  min-height: 0;
  padding: clamp(115px, 12vw, 165px) clamp(24px, 7vw, 120px) 86px;
  background: var(--sport-navy);
}
.sponsor-hero .hero-cover { opacity: .50; object-position: center 52%; }
.sponsor-hero .hero-shade { background: linear-gradient(110deg, #061633fa 5%, #071b43b8 55%, #0616337a); }
.sponsor-hero-inner {
  width: min(100%, 1330px);
  margin: auto;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(30px, 6vw, 104px);
  align-items: center;
}
.sponsor-hero .hero-content { width: auto; min-width: 0; margin: 0; padding: 0; }
.sponsor-hero .eyebrow {
  font: 700 clamp(12px, 1.35vw, 16px)/1.5 var(--thai);
  letter-spacing: .025em;
  margin-bottom: 11px;
}
.sponsor-hero .eyebrow span { background: var(--sport-red); }
.sponsor-hero #hero-title {
  font-size: clamp(68px, 10.5vw, 158px);
  line-height: .9;
  letter-spacing: -.025em;
  max-width: none;
}
.sponsor-hero .league-full-name { margin: 16px 0 24px; max-width: 490px; }
.sponsor-hero .hero-actions .btn { gap: 10px; }
.hero-sponsor-logo {
  display: grid;
  align-content: center;
  background: white;
  border-radius: 16px;
  color: var(--sport-navy);
  border-bottom: 6px solid var(--sport-red);
  box-shadow: 0 18px 65px #0005;
  overflow: hidden;
}
.hero-sponsor-logo img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.62;
  object-fit: cover;
  object-position: center;
  display: block;
}
.hero-sponsor-logo span {
  display: flex;
  justify-content: space-between;
  padding: 10px 18px;
  border-top: 1px solid #e1e8f1;
  font-size: 14px;
  font-weight: 800;
}
.hero-sponsor-logo b { color: #b72430; }
.hero-sponsor-logo:hover span { background: #f1f5ff; }
.quick-nav { border-radius: 12px; overflow: hidden; }

#fixtures .schedule-controls {
  display: flex;
  position: relative;
  overflow-x: auto;
  margin-right: 0;
  scrollbar-width: thin;
  scroll-padding-inline: 12px;
}
#fixtures .schedule-controls button { min-width: 94px; flex: 0 0 auto; }
#fixtures .schedule-controls button.active { box-shadow: inset 0 -3px var(--sport-red); }
#partners .main-sponsor {
  width: min(420px, 100%);
  gap: 18px;
  padding: 8px 22px 8px 8px;
}
#partners .main-sponsor img { width: clamp(110px, 16vw, 188px); height: 100px; }
#partners .main-sponsor strong { font-size: clamp(25px, 4vw, 42px); }
#partners .partner-grid { grid-template-columns: repeat(auto-fit, minmax(82px, 1fr)); gap: 7px; }
#partners .partner-grid article { width: auto; grid-column: auto; justify-self: stretch; min-height: 64px; padding: 7px; }
#partners .partner-grid img { max-width: 62px; max-height: 42px; }

.highlights { background: #eaf1fb; color: var(--sport-navy); }
.highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 225px), 1fr));
  gap: 14px;
}
.highlight-card {
  display: block;
  min-width: 0;
  width: 100%;
  border: 1px solid #d3def0;
  border-radius: 12px;
  overflow: hidden;
  text-align: left;
  padding: 0;
  background: #fff;
  color: var(--sport-navy);
  cursor: pointer;
}
.highlight-card:hover { border-color: #3565bf; }
.highlight-cover {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  background: linear-gradient(140deg, #071a45db, #16376955), url('assets/hero-u17.jpg') center / cover;
}
.highlight-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.highlight-tag, .highlight-play { z-index: 1; color: white; background: #061633eb; }
.highlight-tag { position: absolute; top: 10px; left: 10px; padding: 5px 8px; border-radius: 5px; font-size: 12px; }
.highlight-play { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 50%; }
.highlight-copy { display: grid; gap: 7px; padding: 14px; }
.highlight-copy strong { overflow-wrap: anywhere; }
.highlight-copy small { color: #2253aa; font-weight: 700; }
.highlight-empty {
  grid-column: 1 / -1;
  background: white;
  border: 1px solid #d3def0;
  border-left: 4px solid var(--sport-red);
  border-radius: 12px;
  padding: 20px;
}
.highlight-empty p { color: #455571; margin: 5px 0 12px; }
.highlight-empty a { display: inline-block; margin-right: 16px; color: #224f9c; font-weight: 800; }
.highlight-dialog {
  width: min(92vw, 490px);
  max-height: 94dvh;
  border: 0;
  border-radius: 14px;
  padding: 14px;
  color: var(--sport-navy);
}
.highlight-dialog::backdrop { background: #061633cf; }
.highlight-dialog-head { display: flex; align-items: start; justify-content: space-between; gap: 14px; }
.highlight-dialog h2 { margin: 3px 0 12px; font-size: 18px; overflow-wrap: anywhere; }
.highlight-dialog button { min-width: 40px; border: 0; border-radius: 6px; background: #eaf1fb; font-size: 24px; cursor: pointer; }
.highlight-dialog iframe { display: block; width: 100%; height: min(65dvh, 600px); border: 0; background: #0b1731; border-radius: 8px; }
#highlight-source { display: inline-block; margin-top: 12px; color: #224f9c; font-weight: 800; }

@media (max-width: 760px) {
  .sponsor-hero.hero-cover-section { padding: 91px 20px 49px; }
  .sponsor-hero-inner { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .sponsor-hero #hero-title { font-size: clamp(62px, 17vw, 90px); }
  .sponsor-hero .league-full-name { margin: 12px 0 15px; }
  .hero-sponsor-logo img { aspect-ratio: 1.75; }
  .hero-sponsor-logo span { padding-block: 8px; }
  .highlight-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .highlight-copy { padding: 10px; font-size: 14px; }
  #partners .partner-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
