/* Trent Bridge - Roundup Section Styles */

/* Color Variables */
:root {
  /* Yellow C */
  --yellow-c: #ffe600;
  --yellow-rgb: 255, 230, 0;

  /* PMS 2028 C (Orange/Red) */
  --orange: #f53c00;
  --orange-rgb: 245, 60, 0;

  /* White */
  --white: #ffffff;
  --white-rgb: 255, 255, 255;
  /* black */
  --black: #000000;
  --black-rgb: 0, 0, 0;
}

/* Header Styles */
.site-header {
  background: var(--yellow-c);
  padding: 10px 0;
  transition: padding 0.3s ease, box-shadow 0.3s ease;
}

/* Sticky header only on tablet and up */
@media (min-width: 768px) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
  }

  /* Shrunk header state after scroll */
  .site-header.header-scrolled {
    padding: 5px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  }

  .site-header.header-scrolled .logo {
    max-width: 100px;
  }
}

.site-header .header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Header Navigation */
.header-nav {
  display: flex;
  align-items: center;
}

.header-nav .nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 8px;
}

.header-nav .nav-list li {
  position: relative;
}

.header-nav .nav-list li:not(:last-child)::after {
  content: "|";
  position: absolute;
  right: -8px;
  color: var(--black);
  opacity: 0.5;
}

.header-nav .nav-list a {
  color: var(--black);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 8px 12px;
  transition: color 0.3s ease;
}

.header-nav .nav-list a:hover {
  color: var(--orange);
}

.site-header .logo {
  max-width: 150px;
  height: auto;
  display: block;
  transition: max-width 0.3s ease;
}

/* ============================================
   MOBILE HAMBURGER (CSS-only checkbox hack)
   Desktop (>=768px) is unaffected — hamburger hidden.
   ============================================ */

/* Visually-hidden checkbox — kept in the tab order for keyboard users */
.nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Hamburger button — hidden on desktop, shown below the breakpoint */
.nav-toggle-label {
  display: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--black);
  border-radius: 2px;
  position: relative;
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
}

.nav-toggle-label span::before,
.nav-toggle-label span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-label span::before {
  top: -8px;
}

.nav-toggle-label span::after {
  top: 8px;
}

/* Keyboard focus ring (focus lands on the hidden input, style its label) */
.nav-toggle:focus-visible + .nav-toggle-label {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

@media screen and (max-width: 767px) {
  /* Logo left, hamburger right — no column stack */
  .site-header .header-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0;
    position: relative; /* anchor for the dropdown panel */
  }

  .site-header .logo {
    max-width: 140px;
  }

  .nav-toggle-label {
    display: block;
  }

  /* Nav becomes an absolute dropdown panel (does not push page content) */
  .header-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: block;
    z-index: 1000;
  }

  .header-nav .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--yellow-c);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
    /* collapsed state */
    max-height: 0;
    overflow: hidden;
    visibility: hidden; /* pull links out of tab order while closed */
    transition: max-height 0.3s ease, visibility 0.3s ease;
  }

  .header-nav .nav-list a {
    display: block;
    padding: 14px 20px;
    font-size: 14px;
    white-space: nowrap; /* kills the "SIGN/UP" mid-word wrap */
    border-top: 1px solid rgba(0, 0, 0, 0.08);
  }

  /* Suppress the "|" dividers in the vertical menu */
  .header-nav .nav-list li:not(:last-child)::after {
    content: none;
  }

  /* OPEN state */
  .nav-toggle:checked ~ .header-nav .nav-list {
    max-height: 80vh;
    overflow-y: auto;
    visibility: visible;
  }

  /* Morph hamburger -> X */
  .nav-toggle:checked ~ .nav-toggle-label span {
    background: transparent;
  }

  .nav-toggle:checked ~ .nav-toggle-label span::before {
    transform: rotate(45deg);
    top: 0;
  }

  .nav-toggle:checked ~ .nav-toggle-label span::after {
    transform: rotate(-45deg);
    top: 0;
  }
}

@media screen and (max-width: 480px) {
  .site-header {
    padding: 15px 0;
  }

  .site-header .logo {
    max-width: 150px;
  }
}

/* ============================================
   HERO SECTION STYLES
   ============================================ */

/* Base Hero Styles */
.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--black);
}

.hero-media {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-media img,
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ----------------------------------------
   VARIANT 1: Hero Image (Full Width)
   Scales to square/IG ratio on mobile
   ---------------------------------------- */
.hero-image {
  aspect-ratio: 21 / 9;
}

@media screen and (max-width: 991px) {
  .hero-image {
    aspect-ratio: 16 / 9;
  }
}

@media screen and (max-width: 768px) {
  .hero-image {
    aspect-ratio: 4 / 5; /* Portrait/IG ratio */
  }
}

@media screen and (max-width: 480px) {
  .hero-image {
    aspect-ratio: 1 / 1; /* Square on small mobile */
  }
}

/* ----------------------------------------
   VARIANT 2: Hero with Text Overlay
   ---------------------------------------- */
.hero-overlay {
  aspect-ratio: 21 / 9;
}

.hero-overlay .hero-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px;
  z-index: 2;
}

/* Text overlay position variants */
.hero-overlay.hero-content-left .hero-content {
  align-items: flex-start;
  text-align: left;
  padding-left: 8%;
}

.hero-overlay.hero-content-right .hero-content {
  align-items: flex-end;
  text-align: right;
  padding-right: 8%;
}

.hero-overlay.hero-content-bottom .hero-content {
  justify-content: flex-end;
  padding-bottom: 60px;
}

.hero-overlay .hero-tag {
  display: inline-block;
  background: var(--yellow-c);
  color: var(--black);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 8px 16px;
  margin-bottom: 20px;
}

.hero-overlay .hero-title {
  color: var(--white);
  font-size: clamp(32px, 6vw, 72px);
  font-weight: 700;
  letter-spacing: 4px;
  line-height: 1.1;
  text-transform: uppercase;
  margin: 0 0 20px;
  max-width: 900px;
}

.hero-overlay .hero-subtitle {
  color: var(--white);
  font-size: clamp(16px, 2vw, 24px);
  font-weight: 400;
  line-height: 1.4;
  margin: 0 0 30px;
  max-width: 600px;
  opacity: 0.9;
}

.hero-overlay .hero-cta {
  display: inline-flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-overlay .btn-hero {
  display: inline-block;
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.hero-overlay .btn-hero-primary {
  background: var(--yellow-c);
  color: var(--black);
  border-color: var(--yellow-c);
}

.hero-overlay .btn-hero-primary:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}

.hero-overlay .btn-hero-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.hero-overlay .btn-hero-outline:hover {
  background: var(--white);
  color: var(--black);
}

@media screen and (max-width: 991px) {
  .hero-overlay {
    aspect-ratio: 16 / 9;
  }
}

@media screen and (max-width: 768px) {
  .hero-overlay {
    aspect-ratio: 4 / 5;
  }

  .hero-overlay .hero-content {
    padding: 30px 20px;
  }

  .hero-overlay.hero-content-left .hero-content,
  .hero-overlay.hero-content-right .hero-content {
    align-items: center;
    text-align: center;
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-overlay .btn-hero {
    padding: 12px 24px;
    font-size: 12px;
  }
}

@media screen and (max-width: 480px) {
  .hero-overlay {
    aspect-ratio: 1 / 1;
  }

  .hero-overlay .hero-tag {
    font-size: 10px;
    padding: 6px 12px;
  }
}

/* ----------------------------------------
   VARIANT 3: Hero with Slider (Swiper)
   ---------------------------------------- */
.hero-slider {
  aspect-ratio: 21 / 9;
}

.hero-slider .swiper {
  width: 100%;
  height: 100%;
}

.hero-slider .swiper-slide {
  position: relative;
  overflow: hidden;
}

.hero-slider .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slider .slide-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px;
  z-index: 2;
}

.hero-slider .slide-title {
  color: var(--white);
  font-size: clamp(28px, 5vw, 60px);
  font-weight: 700;
  letter-spacing: 4px;
  line-height: 1.1;
  text-transform: uppercase;
  margin: 0 0 20px;
  max-width: 800px;
}

.hero-slider .slide-subtitle {
  color: var(--white);
  font-size: clamp(14px, 1.8vw, 20px);
  line-height: 1.4;
  margin: 0 0 25px;
  max-width: 500px;
  opacity: 0.9;
}

.hero-slider .slide-cta {
  display: inline-block;
  padding: 14px 32px;
  background: var(--yellow-c);
  color: var(--black);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
}

.hero-slider .slide-cta:hover {
  background: var(--orange);
  color: var(--white);
}

/* Hero Slider Navigation */
.hero-slider .hero-prev,
.hero-slider .hero-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: rgba(0, 0, 0, 0.5);
  color: var(--white);
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
  padding: 0;
}

.hero-slider .hero-prev { left: 16px; }
.hero-slider .hero-next { right: 16px; }

.hero-slider .hero-prev:hover,
.hero-slider .hero-next:hover {
  background: var(--yellow-c);
  color: var(--black);
}

.hero-slider .hero-prev svg,
.hero-slider .hero-next svg {
  width: 24px;
  height: 24px;
}

/* Swiper Pagination */
.hero-slider .swiper-pagination {
  bottom: 20px;
}

.hero-slider .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: var(--white);
  opacity: 0.5;
  border-radius: 0;
  transition: all 0.3s ease;
}

.hero-slider .swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--yellow-c);
  width: 30px;
}

@media screen and (max-width: 991px) {
  .hero-slider {
    aspect-ratio: 16 / 9;
  }
}

@media screen and (max-width: 768px) {
  .hero-slider {
    aspect-ratio: 4 / 5;
  }

  .hero-slider .swiper-button-next,
  .hero-slider .swiper-button-prev {
    width: 40px;
    height: 40px;
  }

  .hero-slider .swiper-button-next::after,
  .hero-slider .swiper-button-prev::after {
    font-size: 14px;
  }

  .hero-slider .slide-content {
    padding: 30px 20px;
  }

  .hero-slider .slide-cta {
    padding: 12px 24px;
    font-size: 12px;
  }
}

@media screen and (max-width: 480px) {
  .hero-slider {
    aspect-ratio: 1 / 1;
  }

  .hero-slider .swiper-button-next,
  .hero-slider .swiper-button-prev {
    display: none;
  }
}

/* ----------------------------------------
   VARIANT 4: Hero with Video
   ---------------------------------------- */
.hero-video {
  aspect-ratio: 21 / 9;
}

.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video .hero-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px;
  z-index: 2;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.5) 100%
  );
}

.hero-video .hero-title {
  color: var(--white);
  font-size: clamp(32px, 6vw, 72px);
  font-weight: 700;
  letter-spacing: 4px;
  line-height: 1.1;
  text-transform: uppercase;
  margin: 0 0 20px;
  max-width: 900px;
}

.hero-video .hero-subtitle {
  color: var(--white);
  font-size: clamp(16px, 2vw, 24px);
  line-height: 1.4;
  margin: 0 0 30px;
  max-width: 600px;
  opacity: 0.9;
}

/* Play button overlay */
.hero-video .play-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: var(--yellow-c);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 20px;
}

.hero-video .play-button:hover {
  background: var(--orange);
  transform: scale(1.1);
}

.hero-video .play-button svg {
  width: 30px;
  height: 30px;
  fill: var(--black);
  margin-left: 4px;
}

.hero-video .play-button:hover svg {
  fill: var(--white);
}

/* Video controls toggle */
.hero-video .video-controls {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 3;
  display: flex;
  gap: 10px;
}

.hero-video .video-controls button {
  width: 44px;
  height: 44px;
  background: rgba(0, 0, 0, 0.6);
  border: none;
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.hero-video .video-controls button:hover {
  background: var(--yellow-c);
  color: var(--black);
}

.hero-video .video-controls svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

@media screen and (max-width: 991px) {
  .hero-video {
    aspect-ratio: 16 / 9;
  }
}

@media screen and (max-width: 768px) {
  .hero-video {
    aspect-ratio: 4 / 5;
  }

  .hero-video .hero-content {
    padding: 30px 20px;
  }

  .hero-video .play-button {
    width: 60px;
    height: 60px;
  }

  .hero-video .play-button svg {
    width: 24px;
    height: 24px;
  }
}

@media screen and (max-width: 480px) {
  .hero-video {
    aspect-ratio: 1 / 1;
  }

  .hero-video .video-controls {
    bottom: 10px;
    right: 10px;
  }

  .hero-video .video-controls button {
    width: 36px;
    height: 36px;
  }
}

/* ----------------------------------------
   Hero Utility Classes
   ---------------------------------------- */

/* Fixed aspect ratios (override responsive) */
.hero-ratio-21-9 {
  aspect-ratio: 21 / 9 !important;
}
.hero-ratio-16-9 {
  aspect-ratio: 16 / 9 !important;
}
.hero-ratio-4-3 {
  aspect-ratio: 4 / 3 !important;
}
.hero-ratio-4-5 {
  aspect-ratio: 4 / 5 !important;
}
.hero-ratio-1-1 {
  aspect-ratio: 1 / 1 !important;
}

/* Full viewport height */
.hero-fullscreen {
  aspect-ratio: unset !important;
  height: 100vh;
  min-height: 500px;
}

@media screen and (max-width: 768px) {
  .hero-fullscreen {
    height: 100svh; /* Safe viewport height for mobile */
    min-height: 400px;
  }
}

/* Dark/Light overlays */
.hero-overlay-dark .hero-content {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.8) 100%
  );
}

.hero-overlay-light .hero-content {
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.7) 100%
  );
}

.hero-overlay-light .hero-title,
.hero-overlay-light .hero-subtitle {
  color: var(--black);
}

/* No overlay */
.hero-no-overlay .hero-content {
  background: none;
}

/* ============================================
   NEWS CAROUSEL SECTION
   ============================================ */

.news-carousel-section {
  background: var(--orange);
  padding: 54px 0;
  position: relative;
  margin-top: 60px;
}

.news-carousel-section::before,
.news-carousel-section::after {
  content: "";
  position: absolute;
  top: -60px;
  width: 120px;
  height: 180px;
  background: var(--white);
}

.news-carousel-section::before {
  left: 0;
}

.news-carousel-section::after {
  right: 0;
}

@media screen and (max-width: 768px) {
  .news-carousel-section {
    margin-top: 40px;
  }

  .news-carousel-section::before,
  .news-carousel-section::after {
    top: -40px;
    width: 80px;
    height: 120px;
  }
}

@media screen and (max-width: 480px) {
  .news-carousel-section {
    padding: 30px 0;
    margin-top: 30px;
  }

  .news-carousel-section::before,
  .news-carousel-section::after {
    top: -30px;
    width: 50px;
    height: 80px;
  }
}

/* Section Header */
.news-carousel-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.news-carousel-header .section-title {
  color: var(--white);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 6px;
  text-transform: uppercase;
  margin: 0;
}

@media screen and (max-width: 480px) {
  .news-carousel-header {
    margin-bottom: 25px;
    gap: 15px;
  }

  .news-carousel-header .section-title {
    font-size: 18px;
    letter-spacing: 4px;
  }
}

/* Header Navigation Arrows */
.news-carousel-header .nav-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  color: var(--white);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.news-carousel-header .nav-arrow:hover {
  color: var(--yellow-c);
}

.news-carousel-header .nav-arrow svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

@media screen and (max-width: 480px) {
  .news-carousel-header .nav-arrow {
    width: 32px;
    height: 32px;
  }

  .news-carousel-header .nav-arrow svg {
    width: 20px;
    height: 20px;
  }
}

/* News Swiper Container */
.news-carousel-section .swiper {
  overflow: hidden;
}

.news-carousel-section .swiper-wrapper {
  align-items: stretch;
}

.news-carousel-section .swiper-slide {
  height: auto;
}

/* News Card */
.news-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  height: 100%;
  min-height: 380px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.news-card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-card:hover .news-card-image img {
  transform: scale(1.05);
}

.news-card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  min-height: 120px;
}

.news-card-title {
  color: var(--black);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.3;
  text-transform: uppercase;
  margin: 0 0 15px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-link {
  color: var(--orange);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.3s ease;
}

.news-card:hover .news-card-link {
  color: var(--black);
}

.news-card-link::after {
  content: ">";
  font-weight: 700;
}

@media screen and (max-width: 480px) {
  .news-card-content {
    padding: 15px;
  }

  .news-card-title {
    font-size: 14px;
  }

  .news-card-link {
    font-size: 11px;
  }
}

/* Swiper Pagination for News */
.news-carousel-section .swiper-pagination {
  position: relative;
  margin-top: 30px;
  bottom: auto;
}

.news-carousel-section .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: var(--white);
  opacity: 0.4;
  border-radius: 0;
  transition: all 0.3s ease;
}

.news-carousel-section .swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--yellow-c);
  width: 25px;
}

/* ============================================
   FIXTURES CAROUSEL SECTION
   ============================================ */

.fixtures-carousel-section {
  background: var(--black);
  padding: 54px 0;
  position: relative;
  margin-top: 60px;
}

.fixtures-carousel-section::before,
.fixtures-carousel-section::after {
  content: "";
  position: absolute;
  top: -60px;
  width: 120px;
  height: 180px;
  background: var(--white);
}

.fixtures-carousel-section::before {
  left: 0;
}

.fixtures-carousel-section::after {
  right: 0;
}

.fixtures-carousel-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.fixtures-carousel-header .section-title {
  color: var(--yellow-c);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 6px;
  text-transform: uppercase;
  margin: 0;
}

.fixtures-carousel-header .nav-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  color: var(--yellow-c);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.fixtures-carousel-header .nav-arrow:hover {
  color: var(--orange);
}

.fixtures-carousel-header .nav-arrow svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.fixtures-carousel-header .nav-arrow.swiper-button-disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.fixtures-carousel-section .swiper {
  overflow: hidden;
  padding-bottom: 50px;
}

.fixtures-carousel-section .swiper-wrapper {
  align-items: stretch;
}

.fixtures-carousel-section .swiper-slide {
  height: auto;
}

/* Fixture card container (like TB's .thumbnail) */
.fixtures-carousel-section .fixture-card {
  background: var(--white);
  height: 100%;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fixtures-carousel-section .fixture-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255, 230, 0, 0.3);
}

/* Crests wrapper - positions team crests over fixture images */
.fixtures-carousel-section .crests-wrapper {
  position: relative;
}

.fixtures-carousel-section .crests-wrapper img {
  width: 100%;
  display: block;
}

/* No-crests variant: direct img inside fixture-card (branded artwork) */
.fixtures-carousel-section .fixture-card > img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover !important;
}

/* Crests holders - position home and away crests side by side */
.fixtures-carousel-section .crests-wrapper .crests-holder {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40%;
}

.fixtures-carousel-section .crests-wrapper .crests-holder.home {
  left: 10%;
}

.fixtures-carousel-section .crests-wrapper .crests-holder.away {
  right: 10%;
}

/* Caption section (matches TB structure) */
.fixtures-carousel-section .caption {
  padding: 25px;
  background: var(--white);
}

.fixtures-carousel-section .caption .title {
  color: var(--black);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.3;
  text-transform: uppercase;
  margin: 0 0 15px;
}

.fixtures-carousel-section .caption p {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 15px;
}

.fixtures-carousel-section .caption p:last-child {
  margin-bottom: 0;
}

.fixtures-carousel-section .caption a {
  display: inline-block;
  padding: 10px 20px;
  background: var(--black);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid var(--black);
  margin-right: 10px;
}

.fixtures-carousel-section .caption a:hover {
  background: var(--yellow-c);
  color: var(--black);
  border-color: var(--yellow-c);
}

.fixtures-view-all {
  text-align: center;
  margin-top: 30px;
}

.btn-view-all {
  display: inline-block;
  padding: 14px 40px;
  background: var(--yellow-c);
  color: var(--black);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-view-all:hover {
  background: var(--orange);
  color: var(--white);
}

.fixtures-pagination {
  bottom: 10px !important;
}

.fixtures-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: var(--yellow-c);
  opacity: 0.4;
  border-radius: 0;
}

.fixtures-pagination .swiper-pagination-bullet-active {
  opacity: 1;
  width: 30px;
}

@media screen and (max-width: 768px) {
  .fixtures-carousel-section {
    margin-top: 40px;
    padding: 40px 0;
  }

  .fixtures-carousel-section::before,
  .fixtures-carousel-section::after {
    top: -40px;
    width: 80px;
    height: 120px;
  }

  .fixtures-carousel-header {
    margin-bottom: 30px;
    gap: 15px;
  }

  .fixtures-carousel-header .section-title {
    font-size: 20px;
    letter-spacing: 4px;
  }

  .fixtures-carousel-section .caption .title {
    font-size: 16px;
  }

  .fixtures-carousel-section .caption {
    padding: 20px;
  }
}

@media screen and (max-width: 480px) {
  .fixtures-carousel-section {
    padding: 30px 0;
    margin-top: 30px;
  }

  .fixtures-carousel-section::before,
  .fixtures-carousel-section::after {
    top: -30px;
    width: 50px;
    height: 80px;
  }

  .fixtures-carousel-header .section-title {
    font-size: 18px;
    letter-spacing: 3px;
  }

  .fixtures-carousel-header .nav-arrow {
    width: 32px;
    height: 32px;
  }

  .fixtures-carousel-section .caption .title {
    font-size: 14px;
  }

  .fixtures-carousel-section .caption p {
    font-size: 13px;
  }

  .fixtures-carousel-section .caption a {
    padding: 8px 16px;
    font-size: 11px;
  }

  .btn-view-all {
    padding: 12px 30px;
    font-size: 12px;
  }
}

/* Section Styling */
.roundup {
  background: var(--black);
  padding-top: 54px;
  padding-bottom: 54px;
}

/* Roundup Variants */
.roundup-white {
  background: var(--white);
}

@media screen and (max-width: 480px) {
  .roundup {
    padding-top: 20px;
    padding-bottom: 20px;
  }
}

/* Thumbnail Base Styles */
.thumbnail {
  border: none;
  border-radius: 0;
  background: none;
  margin: 0;
  padding: 0;
  display: block;
  margin-bottom: 30px;
  outline: none;
}

.thumbnail > img,
.thumbnail a > img {
  width: 100%;
  display: block;
  max-width: 100%;
  height: auto;
}

/* Image Wrapper */
.img-wrapper {
  position: relative;
  overflow: hidden;
}

.img-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

/* Thumbnail Hover Effects */
.thumbnail:hover .thumbnail-link img,
.thumbnail:hover .img-wrapper img {
  transform: scale(1.1);
}

/* Caption Styles */
.thumbnail .caption {
  display: block;
  min-height: 200px;
  position: relative;
  text-align: center;
  margin-right: 8%;
  margin-top: -8%;
  font-size: 16px;
  padding: 26px 20px;
  background: var(--yellow-c);
  color: var(--black);
  line-height: 1;
  text-decoration: none;
  transition: background-color 0.25s, color 0.25s;
}

.thumbnail .caption:hover,
.thumbnail .img-wrapper:hover ~ .caption {
  background-color: var(--orange);
  color: var(--white);
  text-decoration: none;
}

/* Caption Success & Warning - Override to Yellow */
.thumbnail .caption-success,
.thumbnail .caption-warning {
  background-color: var(--yellow-c);
  color: var(--black);
}

.thumbnail .caption-success:hover,
.thumbnail .caption-warning:hover,
.thumbnail .img-wrapper:hover ~ .caption-success,
.thumbnail .img-wrapper:hover ~ .caption-warning {
  background-color: var(--orange);
  color: var(--white);
}

/* Category Label */
.thumbnail .caption .cat {
  margin-bottom: 16px;
  font-size: 12px;
  letter-spacing: 2px;
  line-height: 16px;
  text-transform: uppercase;
  display: block;
}

/* Title */
.thumbnail .caption .title {
  margin: 0;
  font-size: 18px;
  letter-spacing: 2px;
  line-height: 1.2;
  text-transform: uppercase;
}

/* Description Text */
.thumbnail .caption p {
  margin: 20px 0 0;
  line-height: 1.4;
}

/* Large Thumbnail Variant */
.thumbnail-lg .caption {
  font-size: 18px;
}

.thumbnail-lg .caption .title {
  font-size: 22px;
  letter-spacing: 2.93px;
}

.thumbnail-lg .caption .cat {
  font-size: 13px;
}

/* Remove default link decoration */
.thumbnail a {
  text-decoration: none;
  color: inherit;
}

.thumbnail a:hover,
.thumbnail a:focus {
  text-decoration: none;
  color: inherit;
}

/* Responsive adjustments for small thumbnails */
@media screen and (max-width: 768px) {
  .thumbnail .caption {
    min-height: 150px;
    padding: 20px 15px;
    margin-right: 4%;
    margin-top: -4%;
  }
}

@media screen and (max-width: 480px) {
  .thumbnail .caption {
    min-height: 120px;
    font-size: 14px;
    padding: 15px 10px;
  }

  .thumbnail .caption .title {
    font-size: 16px;
  }

  .thumbnail-lg .caption .title {
    font-size: 18px;
  }
}

/* Social Section Styles */
.join-section {
  background: var(--black);
  color: var(--white);
  text-align: center;
  padding-top: 54px;
  padding-bottom: 54px;
}

@media screen and (max-width: 480px) {
  .join-section {
    padding-top: 20px;
    padding-bottom: 20px;
  }
}

.join-section .container > .title {
  color: var(--yellow-c);
  font-size: 36px;
  letter-spacing: 6px;
  margin: 0 0 30px;
  line-height: 1.2;
  text-transform: uppercase;
}

@media screen and (max-width: 768px) {
  .join-section .container > .title {
    font-size: 32px;
  }
}

@media screen and (max-width: 480px) {
  .join-section .container > .title {
    font-size: 28px;
  }
}

.join-section p {
  max-width: 570px;
  margin: 0 auto 30px;
  font-family: "Merriweather", Georgia, "Times New Roman", Times, serif;
  font-size: 18px;
  color: var(--white);
  letter-spacing: 0;
  line-height: 24px;
}

.join-section .social {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  justify-content: center;
  gap: 12px;
}

.join-section .social li {
  transition: opacity 0.3s ease;
}

.join-section .social:hover li {
  opacity: 0.5;
}

.join-section .social li:hover {
  opacity: 1;
}

.join-section .social a {
  display: block;
  padding: 0.5rem;
  color: var(--white);
  text-decoration: none;
}

.join-section .social a:hover {
  color: var(--white);
}

.join-section .social .icon {
  width: 40px;
  height: 40px;
  transition: transform 0.3s ease;
  fill: currentColor;
}

.join-section .social li:hover .icon {
  transform: scale(1.2);
}

/* Icon Base Styles */
.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  fill: currentColor;
  vertical-align: middle;
}

.icon--facebook {
  width: 0.6em;
}

.icon--linkedin {
  width: 0.9em;
}

@media screen and (max-width: 480px) {
  .join-section .social {
    gap: 8px;
  }

  .join-section .social .icon {
    width: 32px;
    height: 32px;
  }
}

body.yellow {
  background: var(--yellow-c);
}

/* The Hundred Teams Section */
.teams-section {
  background: var(--white);
  padding-top: 54px;
  padding-bottom: 54px;
  text-align: center;
}

@media screen and (max-width: 480px) {
  .teams-section {
    padding-top: 20px;
    padding-bottom: 20px;
  }
}

.teams-section .title {
  color: var(--black);
  font-size: 36px;
  letter-spacing: 6px;
  margin: 0 0 40px;
  line-height: 1.2;
  text-transform: uppercase;
}

@media screen and (max-width: 768px) {
  .teams-section .title {
    font-size: 32px;
    margin-bottom: 30px;
  }
}

@media screen and (max-width: 480px) {
  .teams-section .title {
    font-size: 28px;
    margin-bottom: 20px;
  }
}

.teams-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.team-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  transition: transform 0.3s ease;
  flex: 0 0 calc(12.5% - 20px);
  min-width: 100px;
}

.team-item:hover {
  transform: scale(1.1);
}

/* Highlight Trent Rockets */
.team-item-active {
  position: relative;
}

.team-item-active::after {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% + 20px);
  height: calc(100% + 20px);
  border: 3px solid var(--orange);
  border-radius: 8px;
  pointer-events: none;
}

.team-logo {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.team-item:hover .team-logo {
  filter: grayscale(0%);
}

.team-logo-single img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* DEPRECATED: Sprite positioning - Migrated to individual Cloudinary images (2026-01)
 * All teams now use optimized individual images via .team-logo-single class
 * Keeping these commented out for reference and backwards compatibility
 *
.team-logo-sprite {
  background-image: url("https://res.cloudinary.com/trentbridge/image/upload/v1617083755/crests/t100_2021_2x.png");
  background-size: 600% 100%;
  background-repeat: no-repeat;
}

.team-logo-london {
  background-position: 0% 0%;
}

.team-logo-southern {
  background-position: 20% 0%;
}

.team-logo-birmingham {
  background-position: 40% 0%;
}

.team-logo-manchester {
  background-position: 60% 0%;
}

.team-logo-trent {
  background-position: 80% 0%;
}

.team-logo-oval {
  background-position: 100% 0%;
}
*/

.team-name {
  font-size: 12px;
  color: var(--black);
  text-align: center;
  line-height: 1.2;
  display: none;
}

/* Responsive: 4 columns on tablet/mobile */
@media screen and (max-width: 991px) {
  .team-item {
    flex: 0 0 calc(25% - 20px);
    min-width: 80px;
  }

  .team-logo {
    width: 70px;
    height: 70px;
  }
}

@media screen and (max-width: 480px) {
  .teams-grid {
    gap: 15px;
  }

  .team-item {
    flex: 0 0 calc(25% - 15px);
    min-width: 60px;
  }

  .team-logo {
    width: 60px;
    height: 60px;
  }

  .team-item-active::after {
    width: calc(100% + 15px);
    height: calc(100% + 15px);
    border-width: 2px;
  }
}

/* ============================================
   PAGE HEADER
   ============================================ */

.page-header {
  background: var(--black);
  padding: 40px 0;
  text-align: center;
}

.page-header .page-title {
  color: var(--yellow-c);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 6px;
  text-transform: uppercase;
  margin: 0;
}

@media screen and (max-width: 768px) {
  .page-header {
    padding: 30px 0;
  }

  .page-header .page-title {
    font-size: 28px;
    letter-spacing: 4px;
  }
}

@media screen and (max-width: 480px) {
  .page-header {
    padding: 20px 0;
  }

  .page-header .page-title {
    font-size: 24px;
    letter-spacing: 3px;
  }
}

/* ============================================
   NEWS FILTERS
   ============================================ */

.news-filters {
  background: var(--white);
  padding: 30px 0;
  border-bottom: 3px solid var(--yellow-c);
}

.news-filters .filter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: flex-end;
}

.news-filters .filter-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.news-filters .filter-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--black);
}

.news-filters .filter-select {
  min-width: 160px;
  padding: 10px 35px 10px 15px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--black);
  background: var(--white);
  border: 2px solid var(--black);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  transition: border-color 0.3s ease;
}

.news-filters .filter-select option {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  text-transform: uppercase;
}

.news-filters .filter-select:hover,
.news-filters .filter-select:focus {
  border-color: var(--orange);
  outline: none;
}

@media screen and (max-width: 768px) {
  .news-filters {
    padding: 20px 0;
  }

  .news-filters .filter-form {
    gap: 15px;
  }

  .news-filters .filter-select {
    min-width: 140px;
  }
}

@media screen and (max-width: 480px) {
  .news-filters .filter-form {
    flex-direction: column;
    align-items: stretch;
  }

  .news-filters .filter-select {
    min-width: 100%;
  }
}

/* ============================================
   NEWS LISTING
   ============================================ */

.news-listing {
  background: var(--white);
  padding: 50px 0;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

@media screen and (max-width: 991px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

@media screen and (max-width: 576px) {
  .news-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* News Item */
.news-item {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.news-item-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.news-item-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.news-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-item:hover .news-item-image img {
  transform: scale(1.05);
}

.news-item-content {
  padding: 20px;
}

.news-item-date {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.news-item-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--black);
  margin: 0 0 15px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-item-cta {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: color 0.3s ease;
}

.news-item:hover .news-item-cta {
  color: var(--black);
}

/* Load More Button */
.news-load-more {
  text-align: center;
  margin-top: 40px;
}

.btn-load-more {
  display: inline-block;
  padding: 14px 40px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--black);
  background: var(--yellow-c);
  border: 2px solid var(--yellow-c);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-load-more:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}

/* ============================================
   ARTICLE DETAIL
   ============================================ */

.article-detail {
  background: var(--white);
  padding: 50px 0;
}

.article-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

/* Article Header */
.article-header {
  text-align: center;
  margin-bottom: 40px;
}

.article-category {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--white);
  background: var(--orange);
  padding: 6px 16px;
  margin-bottom: 20px;
}

.article-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--black);
  margin: 0 0 20px;
}

.article-date {
  display: block;
  font-size: 14px;
  color: #666;
  letter-spacing: 1px;
}

@media screen and (max-width: 768px) {
  .article-title {
    font-size: 28px;
  }
}

@media screen and (max-width: 480px) {
  .article-header {
    margin-bottom: 30px;
  }

  .article-title {
    font-size: 22px;
    letter-spacing: 1px;
  }
}

/* Article Featured Image */
.article-featured-image {
  margin: 0 0 40px;
}

.article-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

.article-featured-image figcaption {
  font-size: 13px;
  color: #666;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  font-style: italic;
}

/* Article Featured Video */
.article-featured-video {
  margin: 0 0 40px;
}

.embed-responsive {
  position: relative;
  display: block;
  height: 0;
  padding: 0;
  overflow: hidden;
}

.embed-responsive-16by9 {
  padding-bottom: 56.25%;
}

.embed-responsive .embed-responsive-item,
.embed-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Article Body */
.article-body {
  font-size: 17px;
  line-height: 1.8;
  color: #333;
}

.article-body p {
  margin: 0 0 25px;
}

.article-body .article-intro {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--black);
}

.article-body h2 {
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--black);
  margin: 40px 0 20px;
}

.article-body h3 {
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--black);
  margin: 30px 0 15px;
}

/* Article Quote */
.article-quote {
  margin: 40px 0;
  padding: 30px;
  background: var(--yellow-c);
  border-left: 5px solid var(--orange);
}

.article-quote p {
  font-size: 20px;
  font-weight: 500;
  font-style: italic;
  line-height: 1.5;
  color: var(--black);
  margin: 0 0 15px;
}

.article-quote cite {
  display: block;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--black);
}

@media screen and (max-width: 480px) {
  .article-body {
    font-size: 16px;
  }

  .article-body .article-intro {
    font-size: 18px;
  }

  .article-quote {
    padding: 20px;
    margin: 30px 0;
  }

  .article-quote p {
    font-size: 18px;
  }
}

/* Article Navigation */
.article-nav {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 2px solid var(--yellow-c);
}

.article-nav-link {
  flex: 1;
  padding: 20px;
  background: #f8f8f8;
  text-decoration: none;
  transition: background 0.3s ease;
}

.article-nav-link:hover {
  background: var(--yellow-c);
}

.article-nav-prev {
  text-align: left;
}

.article-nav-next {
  text-align: right;
}

.article-nav-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--orange);
  margin-bottom: 8px;
}

.article-nav-title {
  display: block;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--black);
  line-height: 1.3;
}

@media screen and (max-width: 576px) {
  .article-nav {
    flex-direction: column;
  }

  .article-nav-next {
    text-align: left;
  }
}

/* Article Share */
.article-share {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 30px;
  padding: 20px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.article-share-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--black);
}

.article-share-buttons {
  display: flex;
  gap: 10px;
}

.article-share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--black);
  color: var(--white);
  text-decoration: none;
  transition: background 0.3s ease;
}

.article-share-btn:hover {
  background: var(--orange);
  color: var(--white);
}

.article-share-btn .icon {
  width: 18px;
  height: 18px;
}

/* ============================================
   RELATED ARTICLES
   ============================================ */

.related-articles {
  background: #f8f8f8;
  padding: 50px 0;
}

.related-articles-title {
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--black);
  text-align: center;
  margin: 0 0 40px;
}

.related-articles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 800px;
  margin: 0 auto;
}

@media screen and (max-width: 576px) {
  .related-articles {
    padding: 40px 0;
  }

  .related-articles-title {
    font-size: 20px;
    margin-bottom: 30px;
  }

  .related-articles-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ============================================
   BREADCRUMB
   ============================================ */

.breadcrumb-nav {
  background: var(--white);
  padding: 15px 0;
  border-bottom: 1px solid #eee;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  list-style: none;
  font-size: 14px;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: '/';
  padding: 0 10px;
  color: #999;
}

.breadcrumb-item a {
  color: var(--black);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb-item a:hover {
  color: var(--orange);
}

.breadcrumb-item.active {
  color: #666;
}

/* ============================================
   THE HUNDRED TEAM CRESTS
   ============================================ */

/* Base styles for The Hundred crests */
.crests.c_100 {
  /* max-width: 200px; */
  width: 100%;
  aspect-ratio: 1 / 1;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.crest-sm.c_100 {
  width: 40px;
  height: 40px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.c_100.crest-sm {
  background-image: none;
}

/* Trent Rockets */
.c_100.tr {
  background-image: url("https://res.cloudinary.com/trentbridge/image/upload/ar_1,c_pad,h_260,f_auto,q_auto/v1769447232/crests/rockets/trent-rockets.png");
}

.crests.c_100.tr {
  background-image: url("https://res.cloudinary.com/trentbridge/image/upload/ar_1,c_pad,h_260,f_auto,q_auto/v1769447232/crests/rockets/trent-rockets.png");
}

.crest-sm.c_100.tr {
  background-image: url("https://res.cloudinary.com/trentbridge/image/upload/ar_1,c_pad,h_80,f_auto,q_auto/v1769447232/crests/rockets/trent-rockets.png");
}

/* London Spirit */
.c_100.lsp {
  background-image: url("https://res.cloudinary.com/trentbridge/image/upload/ar_1,c_pad,h_260,f_auto,q_auto/v1769447220/crests/rockets/london-spirit.png");
}

.crests.c_100.lsp {
  background-image: url("https://res.cloudinary.com/trentbridge/image/upload/ar_1,c_pad,h_260,f_auto,q_auto/v1769447220/crests/rockets/london-spirit.png");
}

.crest-sm.c_100.lsp {
  background-image: url("https://res.cloudinary.com/trentbridge/image/upload/ar_1,c_pad,h_80,f_auto,q_auto/v1769447220/crests/rockets/london-spirit.png");
}

/* Welsh Fire */
.c_100.wlf {
  background-image: url("https://res.cloudinary.com/trentbridge/image/upload/ar_1,c_pad,h_260,f_auto,q_auto/v1769447233/crests/rockets/welsh-fire.png");
}

.crests.c_100.wlf {
  background-image: url("https://res.cloudinary.com/trentbridge/image/upload/ar_1,c_pad,h_260,f_auto,q_auto/v1769447233/crests/rockets/welsh-fire.png");
}

.crest-sm.c_100.wlf {
  background-image: url("https://res.cloudinary.com/trentbridge/image/upload/ar_1,c_pad,h_80,f_auto,q_auto/v1769447233/crests/rockets/welsh-fire.png");
}

/* Manchester Super Giants */
.c_100.msg {
  background-image: url("https://res.cloudinary.com/trentbridge/image/upload/ar_1,c_pad,h_260,f_auto,q_auto/v1769447222/crests/rockets/manchester-super-giants.png");
}

.crests.c_100.msg {
  background-image: url("https://res.cloudinary.com/trentbridge/image/upload/ar_1,c_pad,h_260,f_auto,q_auto/v1769447222/crests/rockets/manchester-super-giants.png");
}

.crest-sm.c_100.msg {
  background-image: url("https://res.cloudinary.com/trentbridge/image/upload/ar_1,c_pad,h_80,f_auto,q_auto/v1769447222/crests/rockets/manchester-super-giants.png");
}

/* Sunrisers Leeds */
.c_100.srl {
  background-image: url("https://res.cloudinary.com/trentbridge/image/upload/ar_1,c_pad,h_260,f_auto,q_auto/v1769447230/crests/rockets/sunrisers-leeds.png");
}

.crests.c_100.srl {
  background-image: url("https://res.cloudinary.com/trentbridge/image/upload/ar_1,c_pad,h_260,f_auto,q_auto/v1769447230/crests/rockets/sunrisers-leeds.png");
}

.crest-sm.c_100.srl {
  background-image: url("https://res.cloudinary.com/trentbridge/image/upload/ar_1,c_pad,h_80,f_auto,q_auto/v1769447230/crests/rockets/sunrisers-leeds.png");
}

/* MI London */
.c_100.mil {
  background-image: url("https://res.cloudinary.com/trentbridge/image/upload/ar_1,c_pad,h_260,f_auto,q_auto/v1769447224/crests/rockets/mi-london.png");
}

.crests.c_100.mil {
  background-image: url("https://res.cloudinary.com/trentbridge/image/upload/ar_1,c_pad,h_260,f_auto,q_auto/v1769447224/crests/rockets/mi-london.png");
}

.crest-sm.c_100.mil {
  background-image: url("https://res.cloudinary.com/trentbridge/image/upload/ar_1,c_pad,h_80,f_auto,q_auto/v1769447224/crests/rockets/mi-london.png");
}

/* Birmingham Phoenix */
.c_100.bp {
  background-image: url("https://res.cloudinary.com/trentbridge/image/upload/ar_1,c_pad,h_260,f_auto,q_auto/v1769447220/crests/rockets/birmingham-phoenix.png");
}

.crests.c_100.bp {
  background-image: url("https://res.cloudinary.com/trentbridge/image/upload/ar_1,c_pad,h_260,f_auto,q_auto/v1769447220/crests/rockets/birmingham-phoenix.png");
}

.crest-sm.c_100.bp {
  background-image: url("https://res.cloudinary.com/trentbridge/image/upload/ar_1,c_pad,h_80,f_auto,q_auto/v1769447220/crests/rockets/birmingham-phoenix.png");
}

/* Southern Brave */
.c_100.sb {
  background-image: url("https://res.cloudinary.com/trentbridge/image/upload/ar_1,c_pad,h_260,f_auto,q_auto/v1769447227/crests/rockets/southern-brave.png");
}

.crests.c_100.sb {
  background-image: url("https://res.cloudinary.com/trentbridge/image/upload/ar_1,c_pad,h_260,f_auto,q_auto/v1769447227/crests/rockets/southern-brave.png");
}

.crest-sm.c_100.sb {
  background-image: url("https://res.cloudinary.com/trentbridge/image/upload/ar_1,c_pad,h_80,f_auto,q_auto/v1769447227/crests/rockets/southern-brave.png");
}

/* Mobile fix: Scale crests on very small screens */
@media (max-width: 468px) {
  .fixtures-carousel-section .crests-wrapper .crests-holder {
    width: 40%;
  }

  .fixtures-carousel-section .crests-wrapper .crests-holder.home {
    left: 8%;
  }

  .fixtures-carousel-section .crests-wrapper .crests-holder.away {
    right: 8%;
  }
}

/* ============================================
   LIVE STREAM SECTION
   ============================================ */

.live-stream-section {
  background: var(--black);
  padding: 2rem 0;
}

.live-stream-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.live-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: #e00;
  border-radius: 50%;
  margin-right: 10px;
  animation: live-pulse 1.5s ease-in-out infinite;
}

@keyframes live-pulse {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(238, 0, 0, 0.6);
  }
  50% {
    opacity: 0.6;
    box-shadow: 0 0 0 8px rgba(238, 0, 0, 0);
  }
}

.live-stream-embed {
  max-width: 1200px;
  margin: 0 auto;
}

@media screen and (min-width: 768px) {
  .live-stream-section {
    padding: 3rem 0;
  }

  .live-stream-banner {
    font-size: 1.5rem;
    letter-spacing: 4px;
    margin-bottom: 1.5rem;
  }
}

@media screen and (max-width: 480px) {
  .live-stream-section {
    padding: 1.25rem 0;
  }

  .live-stream-banner {
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
  }

  .live-dot {
    width: 10px;
    height: 10px;
  }
}

.img-responsive {
  width: 100%;
  height: auto;
}

.fixture-cta-bar {
  display: block;
  background: #ffe600;
  color: #000;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  padding: 11px 10px;
}
/* ============================================================
   Rockets footer (JOB-101087) — legal nav + copyright
   ============================================================ */
.rockets-footer {
  background: var(--black);
  color: var(--white);
  padding: 22px 0;
  font-size: 0.85rem;
}
.rockets-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}
.rockets-footer-copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}
.rockets-footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
}
.rockets-footer-nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.76rem;
}
.rockets-footer-nav a:hover,
.rockets-footer-nav a:focus {
  color: var(--orange);
}
@media (max-width: 575px) {
  .rockets-footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .rockets-footer-nav ul {
    justify-content: center;
  }
}

/* ===== JOB-101099 Trent Rockets player profiles (list + detail) ===== */
.tr-squad{padding:24px 0 60px}
.tr-tabs{display:flex;gap:6px;margin:0 0 22px;flex-wrap:wrap}
.tr-tab{font-weight:700;text-transform:uppercase;letter-spacing:1px;font-size:15px;padding:9px 22px;
  border:2px solid #111;background:#fff;color:#111;cursor:pointer;transition:.15s}
.tr-tab:hover{background:#ffe600}
.tr-tab.is-active{background:#111;color:#ffe600}
.tr-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
@media(max-width:900px){.tr-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:520px){.tr-grid{grid-template-columns:1fr 1fr;gap:12px}}
.tr-card{position:relative;display:block;border-radius:6px;overflow:hidden;background:#fff;
  box-shadow:0 1px 3px rgba(0,0,0,.12);color:inherit;text-decoration:none}
.tr-card-media{position:relative;aspect-ratio:1/1;overflow:hidden;background:#111}
.tr-photo{width:100%;height:100%;object-fit:cover;object-position:center;transition:transform .4s ease}
.tr-card:hover .tr-photo{transform:scale(1.05)}
.tr-namebox{background:#ffe600;color:#111;padding:10px 12px}
.tr-nm{display:block;font-weight:800;text-transform:uppercase;letter-spacing:.5px;font-size:16px;line-height:1.12;color:#111}
.tr-rl{display:block;margin-top:3px;font-weight:600;text-transform:uppercase;letter-spacing:1px;font-size:11px;color:#111;opacity:.72}
/* placeholder tile (no photo yet) */
.tr-card-media.tr-ph,.tr-shot.tr-ph{background:linear-gradient(135deg,#1a1a1a,#2b2b2b);
  display:flex;align-items:center;justify-content:center;text-align:center;border:1px solid rgba(255,230,0,.25)}
.tr-ph-in{padding:0 16px}
.tr-ph-sub{display:block;text-transform:uppercase;letter-spacing:2px;color:#888;font-size:11px}

/* detail */
.tr-profile-hero{background:#111;color:#fff;position:relative;overflow:hidden}
.tr-profile-hero::after{content:"";position:absolute;right:-60px;top:0;bottom:0;width:45%;
  background:#f53c00;transform:skewX(-12deg);opacity:.9;z-index:0}
.tr-hero-inner{position:relative;z-index:1;display:grid;grid-template-columns:320px 1fr;gap:30px;align-items:end;padding:26px 0 0}
@media(max-width:760px){.tr-hero-inner{grid-template-columns:1fr;gap:0}}
.tr-shot{max-width:320px;width:100%;align-self:end;display:block}
.tr-shot.tr-ph{aspect-ratio:1/1;border-radius:6px}
.tr-hero-meta{padding-bottom:34px}
.tr-crumb{text-transform:uppercase;letter-spacing:2px;color:#ffe600;font-size:13px;margin-bottom:8px}
.tr-hero-name{font-weight:800;font-size:clamp(38px,7vw,78px);line-height:.9;margin:0;text-transform:uppercase;color:#fff}
.tr-hero-name small{display:block;font-size:.42em;color:#ddd;font-weight:800}
.tr-facts{display:flex;gap:26px;margin-top:16px;flex-wrap:wrap}
.tr-f b{display:block;font-weight:800;font-size:24px;color:#ffe600;line-height:1}
.tr-f span{text-transform:uppercase;letter-spacing:1px;font-size:12px;color:#ccc}
.tr-socials{display:flex;gap:12px;margin-top:16px}
.tr-socials a{width:40px;height:40px;border-radius:50%;background:#000;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700}
.tr-socials a:hover{background:#f53c00}
.tr-section-title{font-weight:800;text-transform:uppercase;font-size:24px;margin:44px 0 4px;border-left:6px solid #f53c00;padding-left:12px}
.tr-section-sub{color:#777;text-transform:uppercase;letter-spacing:1px;font-size:13px;margin:0 0 18px;padding-left:18px}
.tr-statwrap{display:grid;grid-template-columns:1fr 1fr;gap:22px}
@media(max-width:760px){.tr-statwrap{grid-template-columns:1fr}}
.tr-statcard{border:1px solid #e6e6e6;border-radius:8px;overflow:hidden}
.tr-statcard h3{text-transform:uppercase;letter-spacing:1px;margin:0;background:#111;color:#ffe600;padding:10px 16px;font-size:16px}
.tr-statgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:#e6e6e6}
.tr-cell{background:#fff;padding:14px 8px;text-align:center}
.tr-cell b{display:block;font-weight:800;font-size:24px;line-height:1;color:#1a1a1a}
.tr-cell span{text-transform:uppercase;font-size:11px;letter-spacing:1px;color:#777}
.tr-zero .tr-cell b{color:#c9c9c9}
.tr-hl-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
@media(max-width:760px){.tr-hl-grid{grid-template-columns:1fr 1fr}}
.tr-hl{position:relative;display:block;border-radius:8px;overflow:hidden;background:#000;aspect-ratio:16/9}
.tr-hl img{width:100%;height:100%;object-fit:cover;opacity:.85;transition:.3s}
.tr-hl:hover img{opacity:1}
.tr-hl-play{position:absolute;inset:0;display:flex;align-items:center;justify-content:center}
.tr-hl-play::before{content:"";width:0;height:0;border-left:22px solid #fff;border-top:14px solid transparent;
  border-bottom:14px solid transparent;filter:drop-shadow(0 2px 6px rgba(0,0,0,.6));margin-left:6px}
.tr-hl-cap{position:absolute;left:0;right:0;bottom:0;background:linear-gradient(to top,rgba(0,0,0,.8),transparent);color:#fff;font-size:13px;padding:18px 12px 8px}
.tr-hint{color:#777;font-size:14px;margin:8px 0 0}
.tr-backlink{display:inline-block;margin:30px 0 60px;text-transform:uppercase;letter-spacing:1px;font-weight:600;color:#f53c00}
.rockets-livescore{background:var(--yellow-c);padding:18px 0}
.rockets-livescore-banner{display:flex;align-items:center;justify-content:center;gap:14px;text-align:center;color:var(--black);text-decoration:none;flex-wrap:wrap}
.rockets-livescore-label{font-weight:800;text-transform:uppercase;letter-spacing:1px;background:var(--black);color:var(--yellow-c);padding:6px 14px;border-radius:4px;font-size:13px}
.rockets-livescore-text{font-weight:700;text-transform:uppercase;font-size:16px}
.rockets-livescore-banner:hover{opacity:.85}
@media(max-width:480px){.rockets-livescore-banner{flex-direction:column;gap:8px}}
/* JOB-101117 — Rockets live fixture card (Option A: card becomes the scoreboard) */
.rockets-fc__art{position:relative}
.rockets-fc__art img{width:100%;display:block;aspect-ratio:16/9;object-fit:cover}
.rockets-fc__badge{position:absolute;top:10px;left:10px;z-index:5;background:var(--orange);color:#fff;padding:4px 11px;font-size:10px;font-weight:800;letter-spacing:2px;text-transform:uppercase;display:flex;align-items:center;gap:6px}
.rockets-fc__badge::before{content:'';width:6px;height:6px;background:#fff;border-radius:50%;animation:rocketsFcPulse 1.4s infinite}
@keyframes rocketsFcPulse{0%,100%{opacity:1}50%{opacity:.35}}
.rockets-fc__scoreband{background:var(--black);padding:16px 18px 14px;text-align:center}
.rockets-fc__teams{display:flex;justify-content:center;align-items:baseline;gap:18px}
.rockets-fc__team{text-align:center}
.rockets-fc__abbr{display:block;font-size:11px;color:#bdbdbd;letter-spacing:1px;text-transform:uppercase;font-weight:600}
.rockets-fc__val{display:block;font-size:22px;font-weight:800;color:var(--yellow-c);letter-spacing:.5px;line-height:1.15;font-variant-numeric:tabular-nums}
.rockets-fc__ov{display:block;font-size:10px;color:#8a8a8a}
.rockets-fc__vs{color:#8a8a8a;font-size:11px;font-weight:700;letter-spacing:2px;align-self:center}
.rockets-fc__situation{margin-top:9px;font-size:11px;color:var(--orange);font-weight:700;text-transform:uppercase;letter-spacing:.5px;line-height:1.4}
@media(prefers-reduced-motion:reduce){.rockets-fc__badge::before{animation:none}}
