/* ================================
   THEME: Modern (Yellow & Blue variants)
   ================================ */

body {
    background-color: #f7f7f7;
}

[data-mainpage=false] .content-container {
  padding-bottom: 2rem;
}

/* Global animations */
.fade-up {
  animation: modernFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
}

.fade-up-delay-1 {
  animation-delay: 0.1s;
}
.fade-up-delay-2 {
  animation-delay: 0.2s;
}
.fade-up-delay-3 {
  animation-delay: 0.3s;
}
.fade-up-delay-4 {
  animation-delay: 0.4s;
}

/* Navigation */
.themed-header-spacer {
  height: 20px; 
}
[data-mainpage=true] .themed-header-spacer {
  height: 57px; 

}

.themed-header-wrapper .main-nav .navbar-toggler{
  color: var(--primarytextcolor);
}

.themed-header-wrapper .main-nav {
  background: var(--primarybgcolor);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.25rem 0;
}

.themed-header-wrapper .main-nav .nav-link {
  color: var(--primarytextcolor) !important;
  font-family: var(--fonttitle);
  font-weight: 600; 
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  white-space: nowrap;
  padding: 0.25rem 0.5rem !important;
  font-size: 1rem;
}

.themed-header-wrapper .main-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--theme-primary);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
}

.themed-header-wrapper .main-nav .nav-link:hover::after {
  width: 100%;
}

.themed-header-wrapper .main-nav .nav-link:hover {
  color: var(--theme-primary) !important;
}

.themed-header-wrapper .main-nav .small-nav .nav-link {
  font-size: 0.7rem;
  opacity: 0.8;
}

.themed-header-wrapper .main-nav .small-nav .nav-link:hover {
  opacity: 1;
}

.themed-header-wrapper .main-nav .dropdown-menu {
  background: var(--primarybgcolor);
  border: none;
  border-radius: 0;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  animation: modernSlideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: absolute;
  z-index: 1000;
  min-width: 220px;
  padding: 0.75rem 0;
  display: block;
  border-left: 3px solid var(--theme-primary);
}

.themed-header-wrapper .main-nav .dropdown-item {
  color: var(--primarytextcolor);
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
  position: relative;
}

.themed-header-wrapper .main-nav .dropdown-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 100%;
  background: var(--theme-primary);
  transition: width 0.2s ease;
}

.themed-header-wrapper .main-nav .dropdown-item:hover {
  background: transparent;
  color: var(--theme-secondary);
  padding-left: 30px;
}

.themed-header-wrapper .main-nav .dropdown-item:hover::before {
  width: 100%;
  z-index: -1;
}

.themed-header-wrapper .main-nav .dropdown-submenu {
  position: absolute;
  left: 100%;
  top: 0;
  display: none;
  min-width: 220px;
}

.themed-header-wrapper .main-nav .dropdown-submenu-item {
  position: relative;
}

.themed-header-wrapper .main-nav .dropdown-submenu-item > .dropdown-submenu {
  display: none;
}

.themed-header-wrapper .main-nav .dropdown-submenu-item:hover > .dropdown-submenu {
  display: block;
}

.themed-header-wrapper .main-nav .dropdown-item.dropdown-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Mega Menu Styles */
.themed-header-wrapper .mega-dropdown {
  position: static !important;
}

.themed-header-wrapper .mega-menu {
  position: fixed;
  left: 0;
  right: 0;
  background: var(--primarybgcolor);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 3px solid var(--theme-primary);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  z-index: 1000;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.3s;
  pointer-events: none;
  scrollbar-width: thin;
  scrollbar-color: var(--theme-primary) rgb(from var(--primarytextcolor) r g b / 0.1);
}

.themed-header-wrapper .mega-menu::-webkit-scrollbar {
  width: 8px;
}

.themed-header-wrapper .mega-menu::-webkit-scrollbar-track {
  background: rgb(from var(--primarytextcolor) r g b / 0.1);
  border-radius: 4px;
}

.themed-header-wrapper .mega-menu::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--theme-primary) 0%, var(--theme-accent) 100%);
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.2);
}

.themed-header-wrapper .mega-menu::-webkit-scrollbar-thumb:hover {
  background: var(--theme-primary);
}

.themed-header-wrapper .mega-dropdown:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.themed-header-wrapper .mega-menu-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 30px 40px;
}

.themed-header-wrapper .mega-menu-header {
  border-bottom: 1px solid rgb(from var(--primarytextcolor) r g b / 0.1);
  padding-bottom: 15px;
  margin-bottom: 25px;
}

.themed-header-wrapper .mega-menu-header h3 {
  font-family: var(--fonttitle);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primarytextcolor);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0;
}

.themed-header-wrapper .mega-menu-content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.themed-header-wrapper .mega-menu-column {
  flex: 1;
  min-width: 200px;
  max-width: 280px;
}

.themed-header-wrapper .mega-menu-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-right: 1px solid rgb(from var(--primarytextcolor) r g b / 0.1);
  padding-right: 30px;
}

.themed-header-wrapper .mega-menu-link {
  color: var(--primarytextcolor);
  font-family: var(--fonttitle);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 8px 0;
  transition: all 0.2s ease;
  position: relative;
}

.themed-header-wrapper .mega-menu-link::before {
  content: "→";
  position: absolute;
  left: -20px;
  opacity: 0;
  transition: all 0.2s ease;
}

.themed-header-wrapper .mega-menu-link:hover {
  color: var(--theme-primary);
  padding-left: 25px;
}

.themed-header-wrapper .mega-menu-link:hover::before {
  opacity: 1;
  left: 0;
}

.themed-header-wrapper .mega-menu-category-title {
  display: block;
  font-family: var(--fonttitle);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--theme-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--theme-primary);
  transition: all 0.2s ease;
}

.themed-header-wrapper .mega-menu-items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.themed-header-wrapper .mega-menu-items li > a {
  display: block;
  color: rgb(from var(--primarytextcolor) r g b / 0.8);
  font-size: 0.85rem;
  text-decoration: none;
  padding: 6px 0;
  transition: all 0.2s ease;
  border-left: 2px solid transparent;
  padding-left: 10px;
}

.themed-header-wrapper .mega-menu-category > a:link:hover {
  color: var(--primarytextcolor) !important;
}

.themed-header-wrapper .mega-menu-items li > a:hover {
  color: var(--theme-primary);
  border-left-color: var(--theme-primary);
  padding-left: 15px;
  background: rgb(from var(--theme-primary) r g b / 0.05);
}

.themed-header-wrapper .mega-menu-subcategory {
  margin: 10px 0;
}

.themed-header-wrapper .mega-menu-subcategory-title {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  color: rgb(from var(--primarytextcolor) r g b / 0.9);
  margin-bottom: 6px;
  padding-left: 10px;
  border-left: 2px solid rgb(from var(--theme-primary) r g b / 0.5);
}

.themed-header-wrapper .mega-menu-subitems {
  list-style: none;
  padding: 0;
  margin: 0;
  padding-left: 20px;
}

.themed-header-wrapper .mega-menu-subitems li a {
  display: block;
  color: rgb(from var(--primarytextcolor) r g b / 0.6);
  font-size: 0.8rem;
  text-decoration: none;
  padding: 4px 0;
  transition: all 0.2s ease;
}

.themed-header-wrapper .mega-menu-subitems li a:hover {
  color: var(--theme-primary);
  padding-left: 8px;
}

/* Section Titles - LARGE & BOLD */
.section-title {
  font-family: var(--fonttitle);
  font-size: clamp(2.5rem, 6vw, 4.5rem) !important;
  font-weight: 900 !important;
  text-transform: uppercase;
  letter-spacing: -2px;
  line-height: 1;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 80px;
  height: 6px;
  background: var(--theme-primary);
  animation: expandWidth 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* News Section */
.news-section {
  background: var(--highlightcolor);
  color: var(--highlightheadercolor);
  position: relative;
  overflow: hidden;
}

.news-section .section-title {
  color: var(--highlightcolor-inversed) !important;
}

.news-section::before {
  content: "NEWS";
  position: absolute;
  top: 50%;
  left: -5%;
  transform: translateY(-50%) rotate(-90deg);
  font-family: var(--fonttitle);
  font-size: 20rem;
  font-weight: 900;
  color: rgba(0, 0, 0, 0.03);
  letter-spacing: -10px;
  pointer-events: none;
}

.news-card {
  background: var(--highlightcolorlighter) !important;
  border: none !important;
  border-radius: 0 !important;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08) !important;
  position: relative;
}

.news-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--theme-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.news-card:hover::before {
  transform: scaleX(1);
}

.news-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.news-card .card-img-wrapper {
  position: relative;
  overflow: hidden;
}

.news-card .card-img-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.3));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.news-card:hover .card-img-wrapper::after {
  opacity: 1;
}

.news-card .card-img-wrapper img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.news-card:hover .card-img-wrapper img {
  transform: scale(1.1);
}

.news-card .card-title {
  font-family: var(--fonttitle);
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 1.3;
  transition: color 0.3s ease;
  color: var(--highlightheadercolor);
}

.news-card .card-category {
  color: var(--highlightheadercolor);
  transition: color 0.3s ease;
}

.news-card:hover .card-title, .news-card:hover .card-category {
  color: var(--theme-primary);
}

.news-card .card-date {
  color: var(--theme-primary);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.news-card .card-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #666;
}

/* Buttons */
.btn-theme-primary {
  background: var(--theme-primary) !important;
  color: var(--primarybgcolor) !important;
  border: none;
  font-family: var(--fonttitle);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 14px 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn-theme-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.btn-theme-primary:hover::before {
  left: 100%;
}

.btn-theme-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgb(from var(--theme-primary) r g b / 0.4);
}

/* Calendar Section */
.calendar-section {
  background: var(--gamesbgcolor);
  position: relative;
  overflow-x: hidden;
}

.calendar-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: var(--theme-primary);
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
  opacity: 0.1;
}
.calendar-section .calendar-card__calendar,
.calendar-section .calendar-card__events{
    color: var(--gamestextcolor);
}
.calendar-header {
  background: var(--theme-primary);
  color: var(--primarybgcolor);
  font-family: var(--fonttitle);
  font-weight: 800;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 20px;
}

.match-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%) !important;
  border: none !important;
  border-radius: 12px !important;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
  position: relative;
  overflow: hidden;
}

/* Calendar recent games match event-item look on front page */
.calendar-card__recent .match-card {
  background: var(--gamessecondarycolor) !important;
  color: var(--gameshighlightcolor);
}

.calendar-card__recent .match-card h6,
.calendar-card__recent .match-card small {
  color: var(--gameshighlightcolor) !important;
}

.calendar-card__recent .match-card .badge {
  background: var(--theme-primary) !important;
  color: var(--primarybgcolor) !important;
}

.match-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--theme-primary) 0%, var(--theme-accent) 100%);
  transition: width 0.3s ease;
}

.match-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 60px;
  height: 60px;
  background: var(--theme-primary);
  opacity: 0.05;
  border-radius: 0 12px 0 60px;
  transition: all 0.3s ease;
}

.match-card:hover {
  transform: translateY(-5px) translateX(5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.match-card:hover::before {
  width: 6px;
}

.match-card:hover::after {
  opacity: 0.1;
  width: 80px;
  height: 80px;
}

.match-card .badge {
  background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-accent) 100%) !important;
  color: var(--primarybgcolor) !important;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.event-item .badge-event {
  background: var(--theme-primary) !important;
  color: var(--primarybgcolor) !important;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: normal;
}

.match-card h6 {
  font-family: var(--fonttitle);
  font-weight: 700;
  font-size: 1rem;
  color: #000;
}

.event-item {
  background: var(--gamessecondarycolor);
  color: var(--gameshighlightcolor);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  font-weight: 600;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

.event-item::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.event-item::after {
  content: "📅";
  position: absolute;
  right: 15px;
  bottom: 15px;
  font-size: 2rem;
  opacity: 0.15;
  transition: all 0.3s ease;
}

.event-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgb(from var(--theme-primary) r g b / 0.4);
}

.event-item:hover::before {
  opacity: 1;
}

.event-item:hover::after {
  opacity: 0.25;
  transform: scale(1.1);
}

.event-item h6 {
  font-family: var(--fonttitle);
  font-weight: 800;
  font-size: 1rem;
  position: relative;
  z-index: 1;
  color: var(--gameshighlightcolor);
}

.event-item small {
  position: relative;
  z-index: 1;
  color: var(--gameshighlightcolor);
  font-weight: 500;
}

/* Calendar day styling */
.calendar-day.event-day {
  background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-accent) 100%) !important;
  color: var(--primarybgcolor) !important;
  border: none !important;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.calendar-day.event-day::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.calendar-day.event-day .day-number {
  position: relative;
  z-index: 1;
}

.calendar-day.event-day:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 15px 40px rgb(from var(--theme-primary) r g b / 0.4);
}

.calendar-day.event-day:hover::before {
  opacity: 1;
}

/* Banner Section */
.banner-section {
  background: var(--bannersbgcolor);
  padding: 80px 0;
}

.banner-card {
  overflow: hidden;
  border-radius: 0 !important;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  display: block;
}

.banner-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--theme-secondary) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.banner-card:hover::after {
  opacity: 0.8;
}

.banner-card:hover {
  transform: scale(1.05);
  z-index: 10;
}

.banner-card img {
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.banner-card:hover img {
  transform: scale(1.15);
}


/* Carousel */
.hero-carousel {
  position: relative;
}

.hero-carousel .carousel-item {
  position: relative;
}

.hero-carousel .carousel-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.9) 0%, rgba(26, 26, 26, 0.4) 50%, transparent 100%);
}

.hero-carousel .carousel-caption {
  background: transparent;
  z-index: 10;
  text-align: left;
  left: 10%;
  right: 30%;
  bottom: 20%;
}

.hero-carousel .carousel-caption h2 {
  font-family: var(--fonttitle);
  font-weight: 900;
  font-size: clamp(3rem, 8vw, 6rem);
  text-transform: uppercase;
  letter-spacing: -3px;
  line-height: 0.9;
  text-shadow: none;
  animation: heroTextReveal 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-carousel .carousel-caption h2 .highlight {
  color: var(--theme-primary);
}

.hero-carousel .carousel-caption p {
  font-size: 1.3rem;
  font-weight: 400;
  opacity: 0.9;
  max-width: 500px;
  animation: heroTextReveal 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
  opacity: 0;
}

.hero-carousel .carousel-indicators {
  justify-content: flex-start !important;
  left: 10% !important;
  bottom: 10% !important;
  transform: none !important;
}

.hero-carousel .carousel-indicators button {
  width: 50px !important;
  height: 4px !important;
  border-radius: 0 !important;
  background: rgba(255, 255, 255, 0.3) !important;
  border: none !important;
  transition: all 0.3s ease;
}

.hero-carousel .carousel-indicators button.active {
  background: var(--theme-primary) !important;
  width: 80px !important;
}

/* Sponsor Section */
.sponsors-top-spacing {
  display: none;
}


.sponsor-section {
  background: var(--bannersbgcolor);
  padding: 40px 0;
}

.sponsor-logo {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.sponsor-logo:hover {
  transform: scale(1.15);
}

/* Modern Theme Mobile Menu */
.mobile-menu-panel {
  background: var(--primarybgcolor);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
}

.mobile-menu-panel-header {
  color: var(--theme-primary);
  background: var(--primarybgcolor);
}

.mobile-menu-header {
  background: rgb(from var(--theme-primary) r g b / 0.1);
  color: var(--theme-primary);
}

.mobile-menu-arrow {
  color: var(--primarytextcolor);
}

.mobile-menu-link,
.mobile-menu-toggle,
.mobile-menu-parent-link,
.mobile-menu-parent-text {
  color: var(--primarytextcolor);
}

.mobile-menu-link:hover,
.mobile-menu-toggle:hover,
.mobile-menu-parent-link:hover,
.mobile-menu-parent-text:hover {
  color: var(--theme-primary);
}

.mobile-menu-section-title {
  font-size: 0.7rem;
  text-align: center;
  color: var(--theme-primary);
  font-family: var(--fonttitle);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.6rem;
  backdrop-filter: contrast(0.9);
}

@keyframes megaMenuSlide {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Modern Theme Animations */
@keyframes modernFadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes modernSlideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes expandWidth {
  from {
    width: 0;
  }
  to {
    width: 80px;
  }
}

@keyframes heroTextReveal {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================================
   SCROLL ANIMATIONS - Modern
   ================================ */
.scroll-fade-up {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-fade-up.scroll-visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-fade-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-fade-left.scroll-visible {
  opacity: 1;
  transform: translateX(0);
}

.scroll-fade-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-fade-right.scroll-visible {
  opacity: 1;
  transform: translateX(0);
}

.scroll-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-scale.scroll-visible {
  opacity: 1;
  transform: scale(1);
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.scroll-visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-slide-up {
  opacity: 0;
  transform: translateY(80px);
  transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-slide-up.scroll-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Modern Staggered animations */
.scroll-stagger-container .scroll-stagger-item {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--stagger-delay, 0s);
}

.scroll-stagger-container.scroll-visible .scroll-stagger-item {
  opacity: 1;
  transform: translateY(0);
}

/* ================================
   Modern Theme Buttons
   ================================ */
.btn-theme-primary,
.v-btn.btn-theme-primary,
.v-btn--variant-elevated,
.v-btn--variant-flat {
  background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-accent) 100%) !important;
  color: var(--primarybgcolor) !important;
  border: none !important;
  border-radius: 12px !important;
  font-family: var(--fonttitle);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.btn-theme-primary:hover,
.v-btn.btn-theme-primary:hover,
.v-btn--variant-elevated:hover,
.v-btn--variant-flat:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 15px 35px rgb(from var(--theme-primary) r g b / 0.4) !important;
}

.btn-theme-secondary,
.v-btn.btn-theme-secondary {
  background: var(--theme-secondary) !important;
  color: var(--theme-primary) !important;
  border-radius: 12px !important;
  font-weight: 700;
}

.btn-theme-outline,
.v-btn.btn-theme-outline,
.v-btn--variant-outlined {
  background: transparent !important;
  color: var(--theme-primary) !important;
  border: 2px solid var(--theme-primary) !important;
  border-radius: 12px !important;
  font-weight: 700;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.v-btn--variant-outlined:hover {
  background: var(--theme-primary) !important;
  color: var(--theme-secondary) !important;
  transform: translateY(-2px);
}

/* Override Vuetify button colors */
.v-btn--color-primary {
  background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-accent) 100%) !important;
  color: var(--gameshighlightcolor) !important;
}


/* ================================
   Modern Theme All News Button
   ================================ */
.btn-all-news,
a.btn-all-news {
  background: transparent !important;
  color: var(--highlightcolor-inversed) !important;
  border: 1px solid var(--highlightcolor-inversed) !important;
  font-family: var(--fonttitle);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 14px 36px;
  border-radius: 12px;
  transition: all 0.3s ease;
  text-decoration: none !important;
  display: inline-block;
}

.btn-all-news:hover,
a.btn-all-news:hover {
  background: transparent !important;
  color: var(--highlightcolor-inversed) !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgb(from var(--highlightcolor-inversed) r g b / 0.1);
}


/* ================================
   Modern Theme Tabs - Outlined Style
   ================================ */
.themed-tab.nav-link {
  background: transparent !important;
  color: var(--theme-primary) !important;
  border: 2px solid var(--theme-primary) !important;
  font-family: var(--fonttitle);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 12px 28px;
  border-radius: 12px !important;
  transition: all 0.3s ease;
}

.themed-tab.nav-link:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.themed-tab.nav-link.active {
  background: var(--theme-primary) !important;
  background-color: var(--theme-primary) !important;
  color: var(--primarybgcolor) !important;
  border-color: var(--theme-primary) !important;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* ================================
   Modern Theme - Games Page Tabs
   ================================ */
.year-tab.nav-link {
  font-family: var(--fonttitle);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 0;
  position: relative;
}

.year-tab.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--theme-primary);
  transition: width 0.3s ease;
}

.year-tab.nav-link:hover::after {
  width: 100%;
}

.year-tab.nav-link.active::after {
  width: 100%;
}

.month-tab.btn {
  background: var(--theme-primary);
  color: var(--primarybgcolor);
  border: none !important;
  font-family: var(--fonttitle);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px !important;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.month-tab.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.month-tab.btn:hover::before {
  left: 100%;
}

.month-tab.btn:hover {
  background: var(--theme-primary) !important;
  color: var(--primarytextcolor) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.month-tab.btn.active {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.month-tab.btn .badge {
  background: rgba(0, 0, 0, 0.2) !important;
}

.year-tab.nav-link:focus,
.month-tab.btn:focus {
  outline: none !important;
  box-shadow: none !important;
}

/* ================================
   Modern Theme - Game Date Display
   ================================ */
.game-date-display {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.game-date-display .event-day {
  background: var(--theme-primary) !important;
  color: var(--primarybgcolor) !important;
  font-family: var(--fonttitle);
  font-weight: 700;
  font-size: 1.5rem;
  border: none !important;
}

.game-date-display .event-month {
  background: var(--theme-secondary, #1a1a1a) !important;
  color: var(--theme-primary) !important;
  font-family: var(--fonttitle);
  font-weight: 600;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none !important;
}

.game-date-display .event-time {
  background: #ffffff !important;
  color: #1a1a1a !important;
  font-family: var(--fonttitle);
  font-weight: 600;
  border: none !important;
  border-top: 2px solid var(--theme-primary) !important;
}

/* ================================
   Modern Theme - News Archive List
   ================================ */
.news-archive-list--modern {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.news-archive-list--modern .news-archive-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  text-decoration: none;
  color: inherit;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  border-left: 4px solid transparent;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.news-archive-list--modern .news-archive-item:hover {
  border-left-color: var(--theme-primary);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.news-archive-list--modern .news-archive-item-content {
  flex: 1;
  min-width: 0;
}

.news-archive-list--modern .news-archive-item-title {
  font-family: var(--fonttitle);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.25rem 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.news-archive-list--modern .news-archive-item:hover .news-archive-item-title {
  color: var(--theme-primary);
}

.news-archive-list--modern .news-archive-item-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
}

.news-archive-list--modern .news-archive-item-date {
  color: var(--theme-primary);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.news-archive-list--modern .news-archive-item-category {
  color: #888;
  font-weight: 500;
}

.news-archive-list--modern .news-archive-item-arrow {
  color: var(--theme-primary);
  font-size: 1.2rem;
  margin-left: 1rem;
  flex-shrink: 0;
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.news-archive-list--modern .news-archive-item:hover .news-archive-item-arrow {
  opacity: 1;
  transform: translateX(0);
}


/* ================================
   Modern Theme - Games Archive List
   ================================ */
.games-archive-list--modern {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.games-archive-list--modern .games-archive-item{
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 1.5rem;
  text-decoration: none;
  color: inherit;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  border-left: 4px solid transparent;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.games-archive-list--modern .games-archive-item:hover {
  border-left-color: var(--theme-primary);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.games-archive-list--modern .games-archive-item-date {
  flex-shrink: 0;
  width: 90px;
  font-family: var(--fonttitle);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--theme-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.games-archive-list--modern .games-archive-item-main {
  flex: 1;
  min-width: 0;
}

.games-archive-list--modern .games-archive-item-title {
  font-family: var(--fonttitle);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.2rem;
}

.games-archive-list--modern .games-archive-item:hover .games-archive-item-title {
  color: var(--theme-primary);
}

.games-archive-list--modern .games-archive-item-details {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: #888;
}

.games-archive-list--modern .games-archive-item-league,
.games-archive-list--modern-blue .games-archive-item-league {
  font-weight: 600;
  color: #666;
}

.games-archive-list--modern .games-archive-item-place::before,
.games-archive-list--modern-blue .games-archive-item-place::before,
.games-archive-list--modern .games-archive-item-team::before,
.games-archive-list--modern-blue .games-archive-item-team::before {
  content: "·";
  margin-right: 0.75rem;
}

.games-archive-list--modern .games-archive-item-result,
.games-archive-list--modern-blue .games-archive-item-result {
  flex-shrink: 0;
  text-align: right;
  min-width: 100px;
}

.games-archive-list--modern .games-archive-item-score,
.games-archive-list--modern-blue .games-archive-item-score {
  font-family: var(--fonttitle);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.games-archive-list--modern .games-archive-item-periods,
.games-archive-list--modern-blue .games-archive-item-periods {
  display: block;
  font-size: 0.75rem;
  color: #999;
  margin-top: 2px;
}

@media (max-width: 767px) {
  .games-archive-list--modern .games-archive-item,
  .games-archive-list--modern-blue .games-archive-item {
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 1rem;
  }

  .games-archive-list--modern .games-archive-item-date,
  .games-archive-list--modern-blue .games-archive-item-date {
    width: auto;
  }

  .games-archive-list--modern .games-archive-item-result,
  .games-archive-list--modern-blue .games-archive-item-result {
    width: 100%;
    text-align: left;
    min-width: auto;
  }
}

/* ================================
   Modern Theme - Documents Archive List
   ================================ */
.documents-archive-list--modern,
.documents-archive-list--modern-blue {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.documents-archive-list--modern .documents-archive-item,
.documents-archive-list--modern-blue .documents-archive-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.1rem 1.5rem;
  text-decoration: none;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  border-left: 4px solid transparent;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.documents-archive-list--modern .documents-archive-item:hover,
.documents-archive-list--modern-blue .documents-archive-item:hover {
  border-left-color: var(--theme-primary);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.documents-archive-list--modern .documents-archive-item-icon,
.documents-archive-list--modern-blue .documents-archive-item-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(from var(--theme-primary) r g b / 0.1);
  color: #1a1a1a;
  font-size: 1.2rem;
  border-radius: 8px;
}

.documents-archive-list--modern .documents-archive-item-content,
.documents-archive-list--modern-blue .documents-archive-item-content {
  flex: 1;
  min-width: 0;
}

.documents-archive-list--modern .documents-archive-item-name,
.documents-archive-list--modern-blue .documents-archive-item-name {
  font-family: var(--fonttitle);
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.15rem;
}

.documents-archive-list--modern .documents-archive-item:hover .documents-archive-item-name,
.documents-archive-list--modern-blue .documents-archive-item:hover .documents-archive-item-name {
  color: var(--theme-primary);
}

.documents-archive-list--modern .documents-archive-item-meta,
.documents-archive-list--modern-blue .documents-archive-item-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: #888;
}

.documents-archive-list--modern .documents-archive-item-category,
.documents-archive-list--modern-blue .documents-archive-item-category {
  font-weight: 600;
  color: var(--theme-primary);
}

.documents-archive-list--modern .documents-archive-item-description,
.documents-archive-list--modern-blue .documents-archive-item-description {
  color: #999;
}

.documents-archive-list--modern .documents-archive-item-download,
.documents-archive-list--modern-blue .documents-archive-item-download {
  flex-shrink: 0;
  color: var(--theme-primary);
  font-size: 1rem;
  opacity: 0;
  transform: translateY(4px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.documents-archive-list--modern .documents-archive-item:hover .documents-archive-item-download,
.documents-archive-list--modern-blue .documents-archive-item:hover .documents-archive-item-download {
  opacity: 1;
  transform: translateY(0);
}

/* ================================
   Modern Theme - Team Contacts
   ================================ */
.team-contacts-grid--modern,
.team-contacts-grid--modern-blue {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.team-contacts-grid--modern .team-contacts-card,
.team-contacts-grid--modern-blue .team-contacts-card {
  background: #ffffff;
  border-left: 5px solid var(--theme-primary);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  padding: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-contacts-grid--modern .team-contacts-card:hover,
.team-contacts-grid--modern-blue .team-contacts-card:hover {
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
  transform: translateX(4px);
}

.team-contacts-grid--modern .team-contacts-card-header,
.team-contacts-grid--modern-blue .team-contacts-card-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.team-contacts-grid--modern .team-contacts-card-image,
.team-contacts-grid--modern-blue .team-contacts-card-image {
  width: 120px;
  height: 80px;
  object-fit: cover;
  cursor: pointer;
  flex-shrink: 0;
  transition: opacity 0.3s ease;
}

.team-contacts-grid--modern .team-contacts-card-image:hover,
.team-contacts-grid--modern-blue .team-contacts-card-image:hover {
  opacity: 0.8;
}

.team-contacts-grid--modern .team-contacts-card-info,
.team-contacts-grid--modern-blue .team-contacts-card-info {
  flex: 1;
  min-width: 0;
}

.team-contacts-grid--modern .team-contacts-card-title,
.team-contacts-grid--modern-blue .team-contacts-card-title {
  font-family: var(--fonttitle);
  font-size: 1.2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #1a1a1a;
  margin: 0;
}

.team-contacts-grid--modern .team-contacts-card-section,
.team-contacts-grid--modern-blue .team-contacts-card-section {
  color: var(--theme-primary);
  margin-right: 0.5rem;
}

.team-contacts-grid--modern .team-contacts-card-email,
.team-contacts-grid--modern-blue .team-contacts-card-email {
  font-size: 0.85rem;
  color: var(--theme-primary);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.team-contacts-grid--modern .team-contacts-card-email:hover,
.team-contacts-grid--modern-blue .team-contacts-card-email:hover {
  text-decoration: underline;
}

.team-contacts-grid--modern .team-contacts-officials,
.team-contacts-grid--modern-blue .team-contacts-officials {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0;
}

.team-contacts-grid--modern .team-contacts-person,
.team-contacts-grid--modern-blue .team-contacts-person {
  display: flex;
  flex-direction: column;
  padding: 1rem 1.5rem;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  border-right: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-contacts-grid--modern .team-contacts-person:hover,
.team-contacts-grid--modern-blue .team-contacts-person:hover {
  background: rgb(from var(--theme-primary) r g b / 0.05);
}

.team-contacts-grid--modern .team-contacts-person-name,
.team-contacts-grid--modern-blue .team-contacts-person-name {
  font-family: var(--fonttitle);
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a1a1a;
}

.team-contacts-grid--modern .team-contacts-person:hover .team-contacts-person-name,
.team-contacts-grid--modern-blue .team-contacts-person:hover .team-contacts-person-name {
  color: var(--theme-primary);
}

.team-contacts-grid--modern .team-contacts-person-role,
.team-contacts-grid--modern-blue .team-contacts-person-role {
  font-size: 0.8rem;
  color: #888;
  margin-top: 0.15rem;
}

@media (max-width: 767px) {
  .team-contacts-grid--modern .team-contacts-card-header,
  .team-contacts-grid--modern-blue .team-contacts-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .team-contacts-grid--modern .team-contacts-card-image,
  .team-contacts-grid--modern-blue .team-contacts-card-image {
    width: 100%;
    height: 140px;
  }

  .team-contacts-grid--modern .team-contacts-officials,
  .team-contacts-grid--modern-blue .team-contacts-officials {
    grid-template-columns: 1fr;
  }
}

/* ================================
   Modern Theme - Modal
   ================================ */
.modal--modern .modal-content,
.modal--modern-blue .modal-content {
  border: none;
  border-radius: 0;
  border-left: 5px solid var(--theme-primary);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.modal--modern .modal-header,
.modal--modern-blue .modal-header {
  background: var(--theme-primary, #ffffff);
  border-bottom: 2px solid rgba(0, 0, 0, 0.06);
  padding: 1.25rem 1.5rem;
  border-radius: 0;
}

.modal--modern .modal-title,
.modal--modern-blue .modal-title {
  font-family: var(--fonttitle);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 1.1rem;
  color: var(--primarybgcolor, #1a1a1a);
}

.modal--modern .modal-body,
.modal--modern-blue .modal-body {
  padding: 1.5rem;
  line-height: 1.7;
}

.modal--modern .modal-body div + div,
.modal--modern-blue .modal-body div + div {
  margin-top: 0.5rem;
}

.modal--modern .modal-footer,
.modal--modern-blue .modal-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding: 1rem 1.5rem;
}

.modal--modern .modal-footer .btn,
.modal--modern-blue .modal-footer .btn {
  border: none;
  border-radius: 0;
  background: var(--theme-primary);
  color: var(--primarybgcolor, #1a1a1a);
  font-family: var(--fonttitle);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.85rem;
  padding: 0.5rem 1.5rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal--modern .modal-footer .btn:hover,
.modal--modern-blue .modal-footer .btn:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.modal--modern .btn-close,
.modal--modern-blue .btn-close {
  opacity: 0.5;
  transition: opacity 0.2s ease;
}

.modal--modern .btn-close:hover,
.modal--modern-blue .btn-close:hover {
  opacity: 1;
}

/* ================================
   Modern Theme - News Article
   ================================ */
.news-article--modern,
.news-article--modern-blue {
  /* wrapper */
}

.news-article--modern .news-article-content,
.news-article--modern-blue .news-article-content {
  /* article wrapper */
}

.news-article--modern .news-article-hero,
.news-article--modern-blue .news-article-hero {
  margin-bottom: 1.5rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.news-article--modern .news-article-hero-image,
.news-article--modern-blue .news-article-hero-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.news-article--modern .news-article-hero:hover .news-article-hero-image,
.news-article--modern-blue .news-article-hero:hover .news-article-hero-image {
  transform: scale(1.02);
}

.news-article--modern .news-article-meta,
.news-article--modern-blue .news-article-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
}

.news-article--modern .news-article-meta-team,
.news-article--modern-blue .news-article-meta-team {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--theme-primary);
  filter: grayscale(.5);
}

.news-article--modern .news-article-meta-date,
.news-article--modern-blue .news-article-meta-date {
  color: #888;
}

.news-article--modern .news-article-title,
.news-article--modern-blue .news-article-title {
  font-family: var(--fonttitle);
  font-weight: 800;
  font-size: 2rem;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #1a1a1a;
  margin-bottom: 1.5rem;
}

.news-article--modern .news-article-body,
.news-article--modern-blue .news-article-body {
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
}

.news-article--modern .news-article-body img,
.news-article--modern-blue .news-article-body img {
  max-width: 100%;
  height: auto;
}

/* Sidebar */
.news-article--modern .news-article-sidebar,
.news-article--modern-blue .news-article-sidebar {
  background:  #ffffff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.news-article--modern .news-article-sidebar-title,
.news-article--modern-blue .news-article-sidebar-title {
  font-family: var(--fonttitle);
  font-weight: 800;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 1rem 0;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid rgba(0, 0, 0, 0.06);
}

.news-article--modern .news-article-sidebar-list,
.news-article--modern-blue .news-article-sidebar-list {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.25rem;
}

.news-article--modern .news-article-sidebar-item,
.news-article--modern-blue .news-article-sidebar-item {
  display: flex;
  flex-direction: column;
  padding: 0.65rem 0.75rem;
  margin-bottom: 0.25rem;
  text-decoration: none;
  color: inherit;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.news-article--modern .news-article-sidebar-item:hover,
.news-article--modern-blue .news-article-sidebar-item:hover {
  background: rgba(0, 0, 0, 0.03);
}

.news-article--modern .news-article-sidebar-item-title,
.news-article--modern-blue .news-article-sidebar-item-title {
  font-family: var(--fonttitle);
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.3;
}

.news-article--modern .news-article-sidebar-item:hover .news-article-sidebar-item-title,
.news-article--modern-blue .news-article-sidebar-item:hover .news-article-sidebar-item-title {
  filter: opacity(0.7) !important;
}

.news-article--modern .news-article-sidebar-item-date,
.news-article--modern-blue .news-article-sidebar-item-date {
  font-size: 0.75rem;
  color: #999;
  margin-top: 0.2rem;
}

.news-article--modern .news-article-sidebar-empty,
.news-article--modern-blue .news-article-sidebar-empty {
  color: #999;
  font-size: 0.9rem;
}

/* ================================
   Modern Theme - Form Controls
   ================================ */
.form-control,
.form-select {
  --theme-primary: var(--theme-primary-darker);
  border: 2px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  color: #1a1a1a;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--theme-primary);
  box-shadow: 0 0 0 3px rgb(from var(--theme-primary) r g b / 0.15);
  outline: none;
}

.form-control::placeholder {
  color: #aaa;
  font-weight: 400;
}


.player-name {
  background-color: var(--theme-primary) !important;
  filter: grayscale(0.25);
  color: var(--theme-primary) !important;
}

.player-name span, .player-name h2 {
  color: var(--primarybgcolor) !important;
}

.player-number {
  color: #3a3a3a !important;
}

.lang-btn {
  color: rgb(from var(--primarytextcolor) r g b / 0.6) !important;
}

.lang-btn:hover {
  color: var(--theme-primary) !important;
}

.lang-btn.active {
  background: var(--theme-primary);
  color: var(--primarybgcolor) !important;
}

/* ================================
   SubsiteDescription - Modern
   Bold editorial callout with geometric accent
   ================================ */
#subsitedescription {
  background-color: rgb(from var(--highlightcolor) r g b / 0.25) !important;
  border-top: none;
  border-bottom: none;
  position: relative;
  overflow: hidden;
  padding: 2.5rem 0;
}

#subsitedescription::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 35%;
  height: 100%;
  background: var(--theme-primary);
  clip-path: polygon(40% 0, 100% 0, 100% 100%, 10% 100%);
  opacity: 0.17;
  pointer-events: none;
}

#subsitedescription::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--theme-primary) 0%, var(--theme-primary) 30%, transparent 30%);
}

#subsitedescription.description {
  border-top: none;
  border-bottom: none;
}

#subsitedescription .container {
  position: relative;
  z-index: 1;
}

#subsitedescription .col-12 {
  text-align: left !important;
}

#subsitedescription span {
  font-family: var(--fonttitle);
  font-size: 1.6rem !important;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1.5;
  display: inline-block;
  position: relative;
  padding-left: 1.25rem;
  border-left: 4px solid var(--theme-primary);
}


@media screen and (max-width: 768px) {
  #subsitedescription {
    padding: 0;
  }
  #subsitedescription span {
    font-size: 1rem !important;
  }
}

.themed-lang-popup, .themed-some-popup {
  background: rgb(from var(--primarybgcolor) r g b / 0.8) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.themed-lang-popup .language-selector {
  background: transparent !important;
}

.themed-some-links .themed-some-link,
.themed-some-popup .themed-some-link,
.themed-lang-collapsed .themed-lang-toggle,
.themed-some-collapsed .themed-some-toggle {
  color: rgb(from var(--primarytextcolor) r g b / 0.6) !important;
}

/* Inner pages with hardcoded light backgrounds use a darker theme-primary
   so accents stay readable. Any var(--theme-primary) inside these scopes
   automatically resolves to the darker variant. */
.news-archive-list--modern,
.games-archive-list--modern,
.documents-archive-list--modern,
.news-article--modern,
.game-page--modern,
.games-page--modern,
.team-contacts-grid--modern,
.modal--modern,
.players-list--modern,
.officials-list--modern {
  --primarybgcolor: var(--primarybgcolor-lighter);
  --theme-secondary: var(--primarybgcolor-lighter);
  --theme-primary: var(--theme-primary-darker);
  --theme-accent: var(--theme-primary-darker);
}