/**
 * The Outdoor Line — lean theme styles
 * Brand: bg #252528, text #fff, link #ee2c2f, muted #d1cfcf
 */

:root {
  --tol-bg: #252528;
  --tol-text: #ffffff;
  --tol-link: #ee2c2f;
  --tol-muted: #d1cfcf;
  --tol-card: #2e2e32;
  --tol-border: #3a3a3f;
  --tol-max: 1200px;
  --tol-content: 720px;
  --tol-radius: 8px;
  --tol-space: 1rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  line-height: 1.6;
  background-color: var(--tol-bg);
  color: var(--tol-text);
}

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

a {
  color: var(--tol-link);
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--tol-link);
  outline-offset: 2px;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.skip-link:focus {
  clip: auto;
  clip-path: none;
  height: auto;
  width: auto;
  left: var(--tol-space);
  top: var(--tol-space);
  z-index: 100000;
  background: var(--tol-link);
  color: var(--tol-text);
  padding: 0.5rem 1rem;
}

/* —— Header (not sticky): desktop logo+nav; mobile hamburger|logo|search —— */
.site-header {
  background: var(--tol-bg);
  border-bottom: 1px solid var(--tol-border);
  padding: 0;
  position: relative; /* explicitly not sticky — scrolls away with the page */
  z-index: 1000;
}

.site-header__bar {
  max-width: var(--tol-max);
  margin: 0 auto;
  padding: 0.75rem var(--tol-space);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  position: relative;
  min-height: 56px;
}

.site-branding {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex: 1 1 auto;
  min-width: 0;
  z-index: 1;
}

.site-branding .custom-logo-link,
.site-branding .site-logo-link {
  display: inline-block;
  line-height: 0;
}

.site-logo,
.custom-logo-link img,
.custom-logo {
  max-height: 100px;
  width: auto;
  margin: 0 auto;
}

.site-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
}

.site-title a {
  color: var(--tol-text);
}

/* Hamburger — mobile only */
.nav-menu-toggle {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  color: var(--tol-text);
  cursor: pointer;
  padding: 0;
  border-radius: 4px;
  z-index: 2;
}

.nav-menu-toggle:hover,
.nav-menu-toggle:focus {
  color: var(--tol-link);
}

.hamburger {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  position: relative;
  border-radius: 1px;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}

.hamburger::before { top: -7px; }
.hamburger::after  { bottom: -7px; }

.site-nav {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
}

.nav-search-toggle {
  flex: 0 0 auto;
  background: none;
  border: 0;
  color: var(--tol-text);
  cursor: pointer;
  padding: 0.5rem;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

.nav-search-toggle:hover,
.nav-search-toggle:focus {
  color: var(--tol-link);
}

.nav-search-toggle[aria-expanded="true"] {
  color: var(--tol-link);
}

.primary-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.15rem 0.25rem;
}

.primary-menu > li > a {
  display: block;
  padding: 0.85rem 0.75rem;
  color: var(--tol-text);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.9rem;
  text-decoration: none;
  white-space: nowrap;
}

.primary-menu > li > a:hover,
.primary-menu > li > a:focus,
.primary-menu > li.current-menu-item > a,
.primary-menu > li.current_page_item > a {
  color: var(--tol-link);
  text-decoration: none;
}

/* Drawer chrome (visible on mobile when open; hidden on desktop) */
.drawer-toolbar {
  display: none;
}

.drawer-close {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: transparent;
  border: 1px solid var(--tol-border);
  color: var(--tol-text);
  cursor: pointer;
  padding: 0.45rem 0.75rem;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.drawer-close:hover,
.drawer-close:focus {
  color: var(--tol-link);
  border-color: var(--tol-link);
}

.drawer-close__icon {
  font-size: 1.35rem;
  line-height: 1;
}

.tol-nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 10030;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
}

.tol-nav-backdrop.is-visible {
  display: block;
}

html.tol-nav-open,
body.tol-nav-open {
  overflow: hidden;
}

/* —— Mobile / tablet: single row + left drawer —— */
@media (max-width: 899px) {
  .site-header__bar {
    /* 3-col grid so the centered logo sizes the bar height (full mark visible) */
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    align-items: center;
    column-gap: 0.5rem;
    padding: 0.75rem var(--tol-space);
    min-height: 0;
    overflow: visible;
  }

  .nav-menu-toggle {
    grid-column: 1;
    justify-self: start;
  }

  .site-branding {
    grid-column: 2;
    position: static;
    left: auto;
    transform: none;
    flex: none;
    max-width: none;
    width: 100%;
    pointer-events: auto;
  }

  .site-nav {
    grid-column: 3;
    justify-self: end;
  }

  .site-logo,
  .custom-logo-link img,
  .custom-logo {
    max-height: 100px;
    height: auto;
    display: block;
  }

  .site-nav-drawer {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: min(88vw, 360px);
    height: 100vh;
    height: 100dvh;
    background: var(--tol-bg);
    color: var(--tol-text);
    border-right: 1px solid var(--tol-border);
    box-shadow: 8px 0 30px rgba(0, 0, 0, 0.35);
    padding: 1rem 1.25rem 2.5rem;
    overflow-y: auto;
    z-index: 10040;
    -webkit-overflow-scrolling: touch;
    transform: translateX(-105%);
    transition: transform 0.22s ease;
    visibility: hidden;
  }

  .site-nav-drawer.is-open {
    transform: translateX(0);
    visibility: visible;
  }

  .drawer-toolbar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1rem;
  }

  .primary-menu {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
  }

  .primary-menu > li > a {
    padding: 0.95rem 0;
    border-bottom: 1px solid var(--tol-border);
    font-size: 1rem;
    white-space: normal;
  }
}

/* —— Desktop: centered logo above horizontal nav; no hamburger/drawer —— */
@media (min-width: 900px) {
  .nav-menu-toggle {
    display: none;
  }

  .drawer-toolbar {
    display: none !important;
  }

  .site-header__bar {
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    padding: 0;
    max-width: none;
  }

  .site-branding {
    flex: 0 0 auto;
    padding: 1.25rem var(--tol-space);
    border-bottom: 1px solid var(--tol-border);
    width: 100%;
  }

  .site-nav {
    width: 100%;
    max-width: var(--tol-max);
    margin: 0 auto;
    padding: 0 var(--tol-space);
    min-height: 52px;
    justify-content: center;
    gap: 0.5rem;
  }

  .site-nav-drawer {
    display: contents;
  }

  .site-nav-drawer .primary-menu {
    flex: 1 1 auto;
  }

  .site-nav-drawer,
  .site-nav-drawer.is-open {
    transform: none;
    visibility: visible;
    position: static;
    width: auto;
    height: auto;
    box-shadow: none;
    border: 0;
    padding: 0;
    overflow: visible;
  }
}

/* Search modal */
.tol-search-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 4rem var(--tol-space) var(--tol-space);
}

.tol-search-modal[hidden] {
  display: none !important;
}

.tol-search-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  cursor: pointer;
}

.tol-search-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  background: var(--tol-card);
  border: 1px solid var(--tol-border);
  border-radius: var(--tol-radius);
  padding: 1.25rem 1.25rem 1.5rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.tol-search-modal__close {
  position: absolute;
  top: 0.35rem;
  right: 0.35rem;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--tol-text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.tol-search-modal__close:hover {
  color: var(--tol-link);
}

.tol-search-modal__title {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
}

.tol-search-modal__form .search-form {
  margin-top: 0;
  max-width: none;
  width: 100%;
}

/* Hide unused legacy header chrome hooks */
.site-header__inner,
.site-header__note,
.site-masthead,
.site-nav-bar {
  display: none;
}

/* —— Main —— */
.site-main {
  min-height: 50vh;
}

.content-area {
  max-width: var(--tol-max);
  margin: 0 auto;
  padding: 2rem var(--tol-space);
}

.page-header {
  margin-bottom: 1.5rem;
}

.page-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
  line-height: 1.2;
}

.page-subtitle {
  margin: 0;
  color: var(--tol-muted);
}

.entry-content {
  max-width: var(--tol-content);
}

.entry-meta,
.card__meta {
  margin: 0.25rem 0;
  font-size: 0.875rem;
  color: var(--tol-muted);
}

.muted {
  color: var(--tol-muted);
}

/* —— Cards / grids —— */
.post-list,
.card-grid,
.video-grid,
.podcast-grid,
.podcast-list {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr; /* mobile */
}

@media (min-width: 600px) {
  .post-list,
  .card-grid,
  .video-grid,
  .podcast-grid,
  .podcast-list {
    grid-template-columns: repeat(2, 1fr); /* tablet */
  }
}

@media (min-width: 900px) {
  .post-list,
  .card-grid,
  .video-grid,
  .podcast-grid,
  .podcast-list {
    grid-template-columns: repeat(3, 1fr); /* desktop */
  }
}

.card {
  background: var(--tol-card);
  border: 1px solid var(--tol-border);
  border-radius: var(--tol-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.card__media {
  display: block;
  position: relative;
  background: #1a1a1c;
  border: 0;
  padding: 0;
  cursor: pointer;
  width: 100%;
  color: inherit;
}

.card__media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.card__media-placeholder {
  display: block;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #1a1a1c, #333);
}

.card__body {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.card__title {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.3;
}

.card__title a {
  color: var(--tol-text);
}

.card__title a:hover {
  color: var(--tol-link);
}

.card__excerpt {
  font-size: 0.9rem;
  color: var(--tol-muted);
}

.card--podcast {
  flex-direction: column;
}

.card--podcast .card__body {
  padding: 1.1rem 1.15rem 1.25rem;
}

.podcast-audio {
  width: 100%;
  margin-top: 0.5rem;
}

.tol-infinite-sentinel {
  height: 1px;
  width: 100%;
  margin: 1.5rem 0;
}

.video-card__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(238, 44, 47, 0.9);
  pointer-events: none;
}

.video-card__play::after {
  content: "";
  position: absolute;
  left: 22px;
  top: 16px;
  border-style: solid;
  border-width: 12px 0 12px 18px;
  border-color: transparent transparent transparent #fff;
}

.video-card__trigger:disabled {
  cursor: default;
  opacity: 0.7;
}

.video-card__trigger:disabled .video-card__play {
  display: none;
}

/* —— Podcast audio —— */
.podcast-audio {
  width: 100%;
  margin-top: 0.5rem;
  max-width: 100%;
}

/* —— Buttons / front links —— */
.front-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  padding: 0.6rem 1.25rem;
  border-radius: var(--tol-radius);
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
}

.btn--primary {
  background: var(--tol-link);
  color: var(--tol-text);
}

.btn--primary:hover {
  filter: brightness(1.1);
  text-decoration: none;
  color: var(--tol-text);
}

.latest-posts h2 {
  margin: 0 0 1rem;
}

/* —— Video modal —— */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--tol-space);
}

.video-modal[hidden] {
  display: none !important;
}

.video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  cursor: pointer;
}

.video-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  background: #111;
  border-radius: var(--tol-radius);
  padding: 0.5rem;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

.video-modal__close {
  position: absolute;
  top: -0.5rem;
  right: -0.5rem;
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 50%;
  background: var(--tol-link);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.video-modal__frame-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 4px;
}

.video-modal__iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

body.tol-modal-open {
  overflow: hidden;
}

/* —— Footer —— */
.site-footer {
  border-top: 1px solid var(--tol-border);
  padding: 2rem var(--tol-space);
  margin-top: 2rem;
  color: var(--tol-muted);
}

.site-footer__inner {
  max-width: var(--tol-max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-footer__brand {
  flex: 0 0 auto;
  margin-right: auto;
}

.site-footer__brand .custom-logo-link,
.site-footer__brand .site-logo-link {
  display: inline-block;
  line-height: 0;
}

.site-footer__logo,
.site-footer__brand .custom-logo-link img,
.site-footer__brand .custom-logo {
  max-height: 100px;
  width: auto;
  height: auto;
  display: block;
}

.site-footer__title {
  color: var(--tol-text);
  font-weight: 700;
  text-decoration: none;
}


.footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.footer-menu a {
  color: var(--tol-muted);
}

.footer-menu a:hover {
  color: var(--tol-link);
}

.site-copyright {
  margin: 0;
  font-size: 0.875rem;
}

.site-copyright a {
  color: var(--tol-text);
}

/* —— Pagination —— */
.navigation.pagination {
  margin-top: 2rem;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.page-numbers {
  display: inline-block;
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--tol-border);
  border-radius: 4px;
  color: var(--tol-text);
}

.page-numbers.current,
.page-numbers:hover {
  border-color: var(--tol-link);
  color: var(--tol-link);
  text-decoration: none;
}

/* —— Forms —— */
.search-form {
  display: flex;
  gap: 0.5rem;
  max-width: 28rem;
  margin-top: 1rem;
}

.search-form input[type="search"] {
  flex: 1;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--tol-border);
  border-radius: var(--tol-radius);
  background: var(--tol-card);
  color: var(--tol-text);
}

.search-form input[type="submit"] {
  padding: 0.5rem 1rem;
  border: 0;
  border-radius: var(--tol-radius);
  background: var(--tol-link);
  color: var(--tol-text);
  cursor: pointer;
  font-weight: 600;
}

/* —— Homepage sections —— */
.front-page .home-section {
  margin-bottom: 2rem;
}

.home-section__header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 1rem;
}

.home-section__title {
  margin: 0;
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  line-height: 1.2;
}

.home-section__more {
  flex-shrink: 0;
  text-decoration: none;
}
.home-section__more.btn {
  padding: 0.45rem 1rem;
  font-size: 0.9rem;
}

/* Mid homepage LBs: vertical margin only — no white bg/padding */
.home-ad {
  margin: 1.75rem 0;
  padding: 0;
  background: transparent;
  border: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.home-ad--leaderboard {
  max-width: 100%;
  overflow: hidden;
}

.tol-ad-leaderboard--shortcode,
.tol-ad-leaderboard--mid,
.home-ad .tol-ad-leaderboard {
  background: transparent !important;
  padding: 0 !important;
  border: 0 !important;
  margin: 0;
  width: 100%;
  max-width: 970px;
  text-align: center;
}

.home-ad .tol-ad {
  width: 100%;
  max-width: 970px;
  margin: 0 auto;
  text-align: center;
}

/* Header/footer LBs: chrome-free on dark bg (mirror mid); plugin CSS is source of truth */
.tol-ad-leaderboard--header,
.tol-ad-leaderboard--footer {
  background: transparent !important;
  padding: 0 !important;
  border: 0 !important;
  margin: 1.75rem 0;
  width: 100%;
  max-width: 970px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}


/* —— Home: This week + Sponsors —— */
.home-this-week {
  /* section chrome only — title sits above the card like other home sections */
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}

.home-this-week__header {
  margin-bottom: 1rem;
}

.home-this-week__body {
  background: var(--tol-card);
  border: 1px solid var(--tol-border);
  border-radius: var(--tol-radius);
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem 2rem;
}

@media (max-width: 899px) {
  .home-this-week__body {
    flex-wrap: wrap;
  }
}

.home-this-week__copy {
  flex: 1 1 65%;
  min-width: 0;
}

.home-this-week__badge {
  flex: 0 0 35%;
  max-width: 35%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 0.85rem;
  text-align: center;
}

@media (max-width: 899px) {
  .home-this-week__copy,
  .home-this-week__badge {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .home-this-week__badge {
    justify-content: flex-start;
  }
}

.home-this-week__blurb {
  margin: 0 0 1rem;
  color: var(--tol-muted);
  font-size: 1.05rem;
  max-width: 40rem;
}


.home-this-week__date {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--tol-text);
}

.home-this-week__schedule {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--tol-text);
  font-size: 0.8rem;
  line-height: 1.4;
}

@media (min-width: 900px) {
  .home-this-week__schedule {
    flex-direction: row;
    align-items: flex-start;
  }
  .home-this-week__schedule li {
    flex: 0 1 30%;
    max-width: 30%;
    box-sizing: border-box;
  }
}

.home-this-week__schedule li {
  margin: 0;
  padding: 0;
}

.home-this-week__cta {
  margin: 0;
}

.home-this-week__badge .home-this-week__cta {
  width: 100%;
}

.home-this-week__badge .home-this-week__listen {
  width: 100%;
  max-width: 14rem;
  box-sizing: border-box;
  text-align: center;
}

.home-this-week__listen {
  display: inline-block;
  text-decoration: none;
}

.home-this-week__listen:hover,
.home-this-week__listen:focus {
  text-decoration: none;
  filter: brightness(1.08);
}

.home-this-week__espn {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 120px;
  height: auto;
  object-fit: contain;
}

.home-sponsors {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--tol-border);
}

.home-sponsors__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem 2rem;
}

.home-sponsors__item {
  margin: 0;
}

.home-sponsors__link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  border-radius: var(--tol-radius);
  text-decoration: none;
  background: transparent;
}

.home-sponsors__link:hover,
.home-sponsors__link:focus {
  text-decoration: none;
  background: rgba(255, 255, 255, 0.04);
}

.home-sponsors__logo {
  display: block;
  width: auto;
  max-width: 160px;
  max-height: 56px;
  height: auto;
  object-fit: contain;
  filter: grayscale(1) brightness(1.15);
  opacity: 0.85;
  transition: filter 0.2s ease, opacity 0.2s ease;
}

.home-sponsors__link:hover .home-sponsors__logo,
.home-sponsors__link:focus .home-sponsors__logo {
  filter: none;
  opacity: 1;
}

@media (max-width: 600px) {
  .home-this-week__espn {
    max-width: 140px;
    max-height: 56px;
  }
  .home-sponsors__logo {
    max-height: 48px;
  }
}


/* Black Douglas mark on dark bg (JGM is already white) */
.home-sponsors__item--douglas .home-sponsors__logo {
  filter: brightness(0) invert(1);
}
.home-sponsors__item--douglas .home-sponsors__link:hover .home-sponsors__logo,
.home-sponsors__item--douglas .home-sponsors__link:focus .home-sponsors__logo {
  filter: brightness(0) invert(1) brightness(1.08);
}


/* Sponsor white→color hover (stacked imgs) */
.home-sponsors__link--swap .home-sponsors__swap {
  position: relative;
  display: inline-grid;
  place-items: center;
}
.home-sponsors__link--swap .home-sponsors__logo {
  grid-area: 1 / 1;
  filter: none;
  opacity: 1;
  transition: opacity 0.25s ease;
}
.home-sponsors__link--swap .home-sponsors__logo--base {
  opacity: 1;
  z-index: 1;
}
.home-sponsors__link--swap .home-sponsors__logo--hover {
  opacity: 0;
  z-index: 2;
}
.home-sponsors__link--swap:hover .home-sponsors__logo--base,
.home-sponsors__link--swap:focus .home-sponsors__logo--base {
  opacity: 0;
}
.home-sponsors__link--swap:hover .home-sponsors__logo--hover,
.home-sponsors__link--swap:focus .home-sponsors__logo--hover {
  opacity: 1;
}

/* Single video page: responsive YouTube player */
.entry-video {
	margin: 0 0 1.5rem;
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #000;
}
.entry-video iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* Contact Us page */
.tol-contact {
	gap: 2rem;
	align-items: flex-start;
}
.tol-contact h2 {
	font-size: 1.35rem;
	margin: 0 0 0.75rem;
}
.tol-contact__card {
	border-left: 4px solid #EE2C2F;
	background: rgba(255, 255, 255, 0.05);
	padding: 1.1rem 1.25rem;
	margin: 0 0 1.25rem;
}
.tol-contact__card p {
	margin: 0 0 0.75rem;
}
.tol-contact__card p:last-child {
	margin-bottom: 0;
}
.tol-contact__about h2:not(:first-child) {
	margin-top: 2rem;
}
.tol-contact__about ul {
	padding-left: 1.25rem;
}
.tol-contact__about li {
	margin-bottom: 0.5rem;
}
@media (max-width: 781px) {
	.tol-contact {
		gap: 0;
	}
}
.entry-content:has(> .tol-contact) {
	max-width: 1040px;
}
.tol-contact__info {
	min-width: 260px;
}

/* Center single pages/posts: title + content share one centered column */
body.page article.entry,
body.single article.entry {
	max-width: var(--tol-content);
	margin-left: auto;
	margin-right: auto;
}
body.page article.entry:has(.tol-contact) {
	max-width: 1040px;
}

/* Articles: full-width photo, text left, sticky ad column right */
body.single-post article.entry--article {
	max-width: none;
}
.entry--article .entry-hero {
	position: relative;
	overflow: hidden;
	margin: 0 0 2rem;
	background: #1b1b1e;
	border-radius: var(--tol-radius);
	display: flex;
	justify-content: center;
	align-items: center;
}
.entry--article .entry-hero::before {
	content: "";
	position: absolute;
	inset: -40px;
	background-image: var(--tol-hero-bg, none);
	background-size: cover;
	background-position: center;
	filter: blur(28px) brightness(0.45);
}
.entry--article .entry-hero__img {
	position: relative;
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: min(80vh, 780px);
}
.entry--article .entry-layout {
	display: block;
}
.entry--article .entry-content {
	max-width: none;
	min-width: 0;
}
.entry--article .entry-aside {
	display: none;
}
@media (min-width: 1024px) {
	.entry--article .entry-layout {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 300px;
		gap: 3rem;
		align-items: start;
	}
	.entry--article .entry-aside {
		display: block;
		align-self: stretch;
	}
	.entry--article .entry-aside__sticky {
		position: sticky;
		top: 1.5rem;
		width: 300px;
	}
	body.admin-bar .entry--article .entry-aside__sticky {
		top: calc(32px + 1.5rem);
	}
	.entry--article .entry-aside img {
		display: block;
		width: 300px;
		max-width: 100%;
		height: auto;
	}
}
.entry-aside__placeholder {
	width: 300px;
	height: 600px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	gap: 0.5rem;
	border: 2px dashed var(--tol-border);
	color: var(--tol-muted);
	font-size: 0.95rem;
	padding: 1rem;
	box-sizing: border-box;
}

/* Big landscape article photos stretch the full width */
.entry--article .entry-hero--fill .entry-hero__img {
	width: 100%;
	max-height: none;
}

/* 1.5.8: header logo at full size (238x168) on desktop; mobile unchanged. */
@media (min-width: 1024px) {
  .site-branding .custom-logo-link img,
  .site-branding .custom-logo {
    max-height: none;
    height: auto;
    width: 238px;
    max-width: 100%;
  }
}

/* 1.5.9: mobile drawer lives inside .site-header (z-index 1000 stacking context), so the body-level backdrop (10030) covered it. Lift the header above the backdrop while the menu is open. */
body.tol-nav-open .site-header {
  z-index: 10035;
}

/* 1.5.10: center the 710 ESPN badge in its column (both axes) when side-by-side. */
@media (min-width: 900px) {
  .home-this-week__body { align-items: stretch; }
  .home-this-week__badge { justify-content: center; align-self: stretch; }
}
