/* 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;
}

@media screen and (max-width: 768px) {
  .site-header .header-content {
    flex-direction: column;
    gap: 15px;
  }

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

  .header-nav .nav-list {
    gap: 4px;
  }

  .header-nav .nav-list a {
    font-size: 12px;
    padding: 6px 8px;
  }

  .header-nav .nav-list li:not(:last-child)::after {
    right: -4px;
  }
}

@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;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.1) 0%,
    rgba(0, 0, 0, 0.6) 100%
  );
}

/* 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;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.1) 0%,
    rgba(0, 0, 0, 0.6) 100%
  );
}

.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);
}

/* Swiper Navigation */
.hero-slider .swiper-button-next,
.hero-slider .swiper-button-prev {
  color: var(--white);
  background: rgba(0, 0, 0, 0.5);
  width: 50px;
  height: 50px;
  border-radius: 0;
  transition: background 0.3s ease;
}

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

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

/* 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;
}

/* 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;
}

/* Sprite positioning for teams in the sprite image */
.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 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;
}

/* Bootstrap 4 to 5 compatibility - img-responsive fallback */
.img-responsive {
    max-width: 100%;
    height: auto;
}
