/* Button styling for Share Your Story Today link */
a.share-story-button, .share-story-button {
  display: inline-block;
  background-color: #2ecc40;
  color: #fff !important;
  border: none;
  border-radius: 6px;
  padding: 0.7em 1.4em;
  font-size: 1.1em;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(44, 204, 64, 0.12);
  transition: background 0.2s, box-shadow 0.2s;
  margin: 1em auto 0 auto;
  cursor: pointer;
  text-align: center;
}
a.share-story-button:hover, .share-story-button:hover, a.share-story-button:focus, .share-story-button:focus {
  background-color: #27ae38;
  box-shadow: 0 4px 16px rgba(44, 204, 64, 0.18);
  color: #fff;
  text-decoration: none;
  outline: none;
}

@media (max-width: 480px) {
  a.share-story-button, .share-story-button {
    width: 90%;
    font-size: 1.1em;
    padding: 1em 0;
    margin: 1.2em auto 0 auto;
    display: block;
  }
}
/* Events Calendar Styling */
.event-container {
    width: 100%;
    box-sizing: border-box;
    overflow-x: auto;
    min-width: 0;
    position: relative;
}

.event-calendar-table {
    width: 100%;
    border-collapse: collapse;
}

.event-calendar-table a {
    color: #00ffff;  /* Cyan color */
    text-decoration: none;
    font-weight: 600;
}

.event-calendar-table a:visited {
    color: #e6e6fa;  /* Light lavender */
}

.event-calendar-table a:hover {
    color: #fff;
    text-decoration: underline;
}

.event-calendar-table thead {
    position: sticky;
    top: 0;
    background-color: #333;
    z-index: 1;
}

.event-calendar-table th,
.event-calendar-table td {
    padding: 8px;
    text-align: left;
    vertical-align: top;
    border: 1px solid #000;
    font-size: 0.9rem;
    box-sizing: border-box;
}

.event-calendar-table th {
    color: white;
    background-color: rgba(0, 0, 0, 0.9);
}

.event-calendar-table td {
    background-color: #444;
    color: white;
}

.event-calendar-table tr:hover {
    background-color: #555;
}

.description-cell {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.description-text {
    flex: 1 1 auto;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.mobile-image {
    display: none;
    margin-top: 5px;
    max-width: 100%;
    height: auto;
}

.event-image {
    max-width: 80px;
    height: auto;
}

@media (min-width: 768px) and (max-width: 1024px) {
    .event-calendar-table {
        table-layout: auto;
    }
    .event-calendar-table th:nth-child(1),
    .event-calendar-table td:nth-child(1) { width: 30%; }
    .event-calendar-table th:nth-child(2),
    .event-calendar-table td:nth-child(2) { width: 20%; }
    .event-calendar-table th:nth-child(3),
    .event-calendar-table td:nth-child(3) { width: 100%; }
    .event-calendar-table th:nth-child(4),
    .event-calendar-table td:nth-child(4) { width: 20%; }
    .event-calendar-table th,
    .event-calendar-table td {
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .event-calendar-table th,
    .event-calendar-table td {
        padding: 5px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .spotlight-events-section {
        height: auto;
        padding: 15px;
        margin: 0;
    }
    
    .event-container {
        height: auto;
        overflow-y: visible;
        -webkit-overflow-scrolling: touch;
    }
    
    .event-calendar-table {
        table-layout: auto;
        margin-bottom: 20px;
    }
    
    .event-calendar-table tr {
        margin-bottom: 30px;
        background-color: rgba(0, 0, 0, 0.3);
        border-radius: 8px;
    }
    
    .mobile-image {
        width: 100%;
        margin: 10px 0;
    }
    
    .mobile-image img {
        width: 100%;
        max-height: 300px;
        object-fit: cover;
        border-radius: 4px;
    }
    
    .event-calendar-table tr {
        display: block;
        width: 100%;
        margin-bottom: 2rem;
        border: 1px solid #555;
        padding: 10px;
    }
    
    .event-calendar-table th,
    .event-calendar-table td {
        display: block;
        width: 100% !important;
        text-align: left;
        padding: 10px;
        border: none;
    }
    
    .event-calendar-table td:first-child {
        font-size: 1.2rem;
        font-weight: 600;
        padding-bottom: 5px;
    }
    
    .event-calendar-table thead {
        display: none;
    }
    
    .description-cell {
        flex-direction: column;
    }
    
    .mobile-image {
        display: block;
        width: 100%;
        margin-top: 15px;
    }
    
    .mobile-image img {
        max-width: 100%;
        height: auto;
        display: block;
        margin: 0 auto;
    }
    
    .description-text {
        margin: 10px 0;
        font-size: 1rem;
        line-height: 1.4;
    }
    
    .event-calendar-table th:nth-child(4),
    .event-calendar-table td:nth-child(4) {
        display: none;
    }
}

/* Share Your Story page form styling */
.page-story .container {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(44, 204, 64, 0.10);
  padding: 32px 32px 24px 32px;
  max-width: 700px;
  margin: 32px auto 0 auto;
}
.page-story h1 {
  color: #333;
  font-size: 2.2em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 18px;
}
.page-story h2 {
  color: #222;
  font-size: 1.3em;
  font-weight: 600;
  margin-bottom: 8px;
}
.page-story .story-label {
  font-weight: 600;
  color: #333;
  margin-top: 12px;
  margin-bottom: 4px;
  display: block;
}
.page-story .story-input,
.page-story .story-textarea {
  width: 100%;
  border: 1px solid #b2dfdb;
  border-radius: 6px;
  padding: 8px;
  font-size: 1em;
  margin-bottom: 16px;
  background: #f8f8f8;
  color: #222;
  box-sizing: border-box;
}
.page-story .story-input:focus,
.page-story .story-textarea:focus {
  border-color: #2ecc40;
  outline: none;
}
.page-story .story-button {
  background-color: #2ecc40;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.6em 1.2em;
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(44, 204, 64, 0.12);
  transition: background 0.2s, box-shadow 0.2s;
  margin-top: 8px;
  margin-bottom: 0;
}
.page-story .story-button:hover,
.page-story .story-button:focus {
  background-color: #27ae38;
  box-shadow: 0 4px 16px rgba(44, 204, 64, 0.18);
}
.page-story .story-message {
  font-size: 1em;
  margin-bottom: 12px;
  display: none;
}
/* Reset default margins and ensure box-sizing */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-y: scroll;
}

:root {
  --scrollbar-width: 0px;
}

/* --- Styles for Share Your Story page (moved from inline in php/share-your-story.php) --- */
.page-story .anonymous-notice {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  padding: 12px;
  border-radius: 4px;
  margin: 15px 0;
  font-size: 0.9em;
}
.page-story .anonymous-notice strong {
  color: #856404;
}
.page-story .story-label input[type="checkbox"] {
  margin-right: 8px;
  transform: scale(1.2);
  vertical-align: middle;
}
.page-story .anonymous-section {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 4px;
  margin: 10px 0;
}
.page-story .story-input,
.page-story .story-textarea,
.page-story select.story-input {
  width: 100%;
  max-width: 100%;
  padding: 8px;
  margin: 5px 0 15px 0;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-sizing: border-box;
}
.page-story .story-message {
  padding: 10px;
  margin: 10px 0;
  border-radius: 4px;
  display: none;
}
.page-story .story-message.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}
.page-story .story-message.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Ensure textarea only resizes vertically and never overflows the container */
.page-story .story-textarea {
  resize: vertical;
  overflow: auto;
  box-sizing: border-box;
  max-width: 100%;
}

/* End share-your-story styles */

/* Body styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 60px 0 20px; /* Removed side padding */
  background-color: #4da593;
  color: #333;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  min-height: 100vh; /* Ensure full viewport height */
}

/* Page-specific body adjustments */
body.page-articles {
  background-color: #4da593; /* Match the green background */
  color: #333;
  padding-top: 60px;
}

/* Container and article-specific styles */
.container {
  width: 80%;
  max-width: 1200px; /* Match other content max-width */
  margin: 0 auto;
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  position: relative; /* For proper stacking */
  z-index: 1; /* Ensure above background */
}

h1 {
  color: #333;
  text-align: center;
}

.nav-bar ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
}

.nav-bar li {
  margin: 0 15px;
}

.nav-bar a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  padding: 10px 15px;
  display: block;
  transition: background-color 0.3s;
}

.nav-bar a:hover {
  background-color: #4CAF50;
  border-radius: 5px;
}

.article {
  margin-bottom: 20px;
  padding: 10px;
  border-bottom: 1px solid #ddd;
  display: flex;
}

.article:last-child {
  border-bottom: none;
}

.article h2 {
  margin-bottom: 5px;
  font-size: 1.5em;
  color: #333;
}

.article p {
  margin: 0;
  font-size: 1em;
  color: #333;
}

.article-content {
  flex: 1;
}

.article-image {
  display: block;
  width: auto;
  max-width: 150px;
  height: auto;
  margin-left: 20px;
}

/* Header and Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #333;
  z-index: 1001;
  height: 60px;
  display: flex;
  align-items: center;
  padding: 0;
}

body.page-index .header {
  width: 100%;
}

body.page-articles .header {
  width: 100%;
}

/* push page content below fixed top nav */
body.page-index .main-content,
body.page-articles .main-content {
  padding-top: 90px; /* 60px nav + 30px gap */
}

/* explicit top spacing for dynamic spotlight area to avoid overlap */
.spotlight-wrapper.spotlight,
.content-wrapper,
#content-container {
  padding-top: 20px;
}

/* Spotlight container below header and logo bar */
.spotlight-wrapper.spotlight,
.spotlight-wrapper.spotlight.full-bleed {
  margin-top: 20px;
}

/* for load-home's internal header row */
.spotlight-wrapper.spotlight.full-bleed > div:first-child,
.spotlight-wrapper.spotlight > div:first-child {
  margin-top: 20px;
  position: relative;
  z-index: 900;
  background: #2c3e50;
  padding-top: 12px;
  padding-bottom: 12px;
}

.spotlight-wrapper.spotlight.full-bleed > div:first-child .spotlight-header,
.spotlight-wrapper.spotlight > div:first-child .spotlight-header {
  position: relative;
  z-index: 901;
}




.header .nav-bar {
  width: 100%; /* Full width as per your preference */
  margin: 0 auto;
  display: flex;
  justify-content: center;
  position: relative;
  align-items: center;
}

body.page-articles .header .nav-bar {
  width: 80%; /* Restrict to 80% for articles.php */
}

body.page-index .header .nav-bar {
  width: 100%; /* Keep full width for index.php */
}

.header .nav-bar .hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 24px;
  cursor: pointer;
  padding: 0;
  z-index: 1002;
  position: relative;
}

.header .nav-bar .hamburger-menu .bar {
  width: 100%;
  height: 4px;
  background-color: white;
  transition: all 0.3s ease-in-out;
  display: block;
  position: relative;
  z-index: 1003;
}

.header .nav-bar .hamburger-menu.active .bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.header .nav-bar .hamburger-menu.active .bar:nth-child(2) {
  opacity: 0;
}

.header .nav-bar .hamburger-menu.active .bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.header .nav-bar .menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: #333;
  border-radius: 5px;
  z-index: 1001;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.header .nav-bar .menu.active {
  display: block;
}

.header .nav-bar .menu ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.header .nav-bar .menu li {
  margin: 0 15px;
}

.header .nav-bar .menu a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  padding: 10px 15px;
  display: block;
  transition: background-color 0.3s;
}

.header .nav-bar .menu a:hover {
  background-color: #4CAF50;
  border-radius: 5px;
}

.header .nav-bar .nav-bar-links {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
}

.header .nav-bar .nav-bar-links li {
  margin: 0 15px;
}

.header .nav-bar .nav-bar-links a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  padding: 10px 15px;
  display: block;
  transition: background-color 0.3s;
}

.header .nav-bar .nav-bar-links a:hover {
  background-color: #4CAF50;
  border-radius: 5px;
}

/* Active Link Styling */
.header .nav-bar .nav-bar-links li.active a,
.header .nav-bar .menu li.active a {
  font-weight: bold;
  background-color: #4CAF50;
  border-radius: 5px;
}

/* Mobile Media Query */
@media (max-width: 768px) {
  .header .nav-bar .nav-bar-links {
    display: none;
  }
  .header .nav-bar .hamburger-menu {
    display: flex;
  }
  .header .nav-bar {
    justify-content: flex-start;
    width: 100%;
  }

  body.page-index .header {
    border-radius: 0;
  }

  body.page-index .header .nav-bar .menu {
    border-radius: 0;
  }

  body.page-articles .header {
    border-radius: 5px;
  }

  body.page-articles .header .nav-bar .menu {
    border-radius: 5px;
  }
}

/* Main content */
.main-content {
  width: 100%;
  max-width: 1200px; /* Match spotlight-content and logo-heading-container */
  margin: 0 auto;
  box-sizing: border-box;
  padding: 0;
  overflow-x: hidden; /* prevent horizontal clipping on small screens */
  position: relative;
}

/* Center dynamic load area */
#content-container,
.content-wrapper,
.spotlight-wrapper,
.spotlight-content,
.main-section,
.spotlight {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 0;
}

#financial-chart-container {
  width: 100%;
  min-height: 400px;
  height: 420px;
  background: #1d2330;
  border-radius: 8px;
  overflow: hidden;
}

.sports-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.team-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  padding: 6px;
  background: rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.team-logo-link:hover,
.team-logo-link:focus {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.35);
  border-color: rgba(255, 255, 255, 0.4);
}

.team-logo {
  max-width: 180px;
  max-height: 120px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 8px rgba(0,0,0,0.45));
}

@media (max-width: 768px) {
  .team-logo {
    max-width: 140px;
    max-height: 100px;
  }
}



/* Ensure inner area isn’t shifted left by inline container padding */
.spotlight-content,
.main-section {
  padding: 0 20px;
}


body.page-articles .main-content {
  background-color: #f4f4f4;
  width: 100%;
  max-width: 100%; /* Reset for articles.php */
  margin: 0 auto;
}

/* Other Elements */
.logo-heading-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #4CAF50;
  margin: 0 auto;
  height: auto;
  width: 100%;
  max-width: 1200px; /* Explicitly match spotlight-content */
  line-height: 1;
  padding: 10px 0; /* Vertical padding only */
  overflow: visible;
  margin-bottom: 0 !important;
  z-index: 1000;
  position: relative;
  box-sizing: border-box;
}

body.page-index .logo-heading-container {
  width: 100%;
  max-width: 1200px; /* Force exact match */
  flex-shrink: 0; /* Prevent shrinking */
}

body.page-articles .logo-heading-container {
  width: 80%;
  max-width: none; /* Reset for articles.php */
  margin: 0 auto;
  padding: 10px 0;
}

.logo-heading-center {
  flex: 1 0 auto; /* Ensure it doesn’t shrink the container */
  text-align: center;
  padding: 0 10px; /* Keep internal spacing */
  height: auto;
  width: auto;
  overflow: visible;
}

.logo-heading-center span {
  font-size: 24px;
  color: white;
  margin: 0;
  padding: 0 10px;
  line-height: 1;
  display: inline-block;
  vertical-align: middle;
  height: auto;
  white-space: normal;
  text-overflow: clip;
}

.logo-left,
.logo-right {
  flex: 0 0 auto; /* Prevent shrinking */
  width: auto;
  padding: 0 10px; /* Consistent padding */
}

.logo-left img,
.logo-right img {
  max-height: 50px;
  width: auto;
  display: block;
  margin: 0;
  padding: 0 10px;
  height: auto;
}

@media not all and (min-resolution: 0.001dpcm) {
  @supports (-webkit-appearance: none) {
    .logo-heading-container {
      padding: 1px 20px;
      height: 8px;
    }
    .logo-left img,
    .logo-right img {
      max-height: 23px;
    }
  }
}

.banner-wrapper {
  background-color: black;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  height: 40px;
}

body.page-index .banner-wrapper {
  width: 100%;
  max-width: 1200px; /* Match spotlight-content width */
}

body.page-articles .banner-wrapper {
  width: 80%;
}

.banner-content {
  display: flex;
  animation: scroll 15s linear infinite;
  white-space: nowrap;
}

.banner-content p {
  font-size: 0.8em;
  margin: 0;
  color: white;
  line-height: 40px;
  padding: 0 10px;
  flex-shrink: 0;
  width: max-content;
}

.banner-button {
  padding: 6px 12px;
  background-color: #000000;
  color: white;
  text-decoration: none;
  border-radius: 3px;
  font-size: 0.8em;
  display: inline-block;
  vertical-align: middle;
}

.banner-button:hover {
  background-color: #218838;
}

@keyframes scroll {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-140%);
  }
}

@media (max-width: 480px) {
  @keyframes scroll {
    0% {
      transform: translateX(50%);
    }
    100% {
      transform: translateX(-320%);
    }
  }
}

@media (max-width: 600px) {
  .story-spotlight {
    background-color: transparent !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
  .banner-button {
    padding: 4px 8px;
    font-size: 0.6em;
  }
}

@media (max-width: 480px) {
  .banner-wrapper {
    height: 25px;
  }
  .banner-content p {
    font-size: 0.6em;
    line-height: 25px;
  }
  .banner-button {
    padding: 3px 6px;
    font-size: 0.5em;
  }
}

/* Image Adjustments */
.spotlight-main-content {
  overflow: hidden;
  padding: 0 10px;
  flex: 8;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-sizing: border-box;
  margin-top: 0;
  background-color: #2e2e2e;
  padding-left: 20px;
  padding-right: 0;
  margin-left: 0 !important;
  margin-right: 0;
  overflow: visible;
  flex: 0 0 70%;
}

.spotlight-image-container {
  margin-top: 30px;
  padding-bottom: 30px;
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden; /* ensure children don’t spill out */
}

.spotlight-image {
  width: auto;
  max-width: 100%;
  max-height: 420px;
  margin: 0 auto;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

/* mobile-specific tightening: remove the fixed max-height and width limit so the image
   simply scales with the layout */
@media (max-width: 768px) {
  .spotlight-image {
    max-width: 100%;
    max-height: none;
  }
}

.spotlight-image:hover {
  transform: scale(1.05);
}

.spotlight-short-title-container {
  padding-top: 10px;
  text-align: center;
}

.spotlight-teaser {
  padding: 10px 0;
  text-align: center;
  max-width: 100%;
}

.teaser-text {
  font-size: 0.9em;
  color: #e0f2f1;
  margin: 0;
  line-height: 1.4;
}

.spotlight-description {
  padding-top: 10px;
  text-align: center;
}

.spotlight-description .rating {
  color: #ffcc00;          /* gold/yellow stars and text */
  font-size: 1.1rem;
  margin: 0.5rem 0 1rem;
}

.as-promo-column {
  overflow: hidden;
  padding: 0 10px;
}

.as-promo-column a {
  margin-top: 30px;
  padding-bottom: 30px;
  display: block;
}

.as-logo {
  max-width: 450px;
  max-height: 450px;
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.as-logo:hover {
  transform: scale(1.05);
}

.as-promo-column h3 {
  padding-top: 10px;
  text-align: center;
}

.spotlight {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  background-color: #2c3e50;
  color: #ecf0f1;
  box-sizing: border-box;
  margin-top: 20px; /* ensure spacing under header */
}

.spotlight-wrapper.spotlight.full-bleed,
.spotlight-wrapper.spotlight {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

.spotlight-header {
  font-size: 1.5rem;
  text-align: left;
}

.spotlight-content {
  display: block;
  gap: 0;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}


.spotlight-sports-column {
  flex: 1;
  max-width: calc(16.666% - 20px); /* 1/6 width */
  min-width: 200px;
  background-color: #2b2b2b;
  color: #ffffff;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.spotlight-sports-column h4 {
  color: #ffffff;
  text-align: center;
  margin-bottom: 15px;
  font-size: 1.2em;
}

.sports-logo-container {
  width: 100%;
  padding: 10px;
  text-align: center;
  margin-bottom: 15px;
}

.as-logo {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.kings-logo {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 10px auto;
}

.kings-schedule-link {
  text-align: center;
  margin-top: 10px;
  color: #ffffff;
  font-size: 0.9em;
  line-height: 1.5;
}

.kings-schedule-link a {
  color: #f1c40f; /* gold-ish to match Kings color */
  text-decoration: none;
}

.kings-schedule-link a:hover {
  text-decoration: underline;
}

.as-schedule-link {
  text-align: center;
  margin-top: 15px;
  color: #ffffff;
  font-size: 0.9em;
  line-height: 1.5;
}

.as-schedule-link a {
  color: #4CAF50;
  text-decoration: none;
  transition: color 0.2s ease;
}

.as-schedule-link a:hover {
  color: #45a049;
  text-decoration: underline;
}

.spotlight-as-column table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9em;
  margin-top: 10px;
}

.spotlight-as-column th,
.spotlight-as-column td {
  padding: 8px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.spotlight-as-column th {
  font-weight: bold;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.spotlight-as-column p {
  color: #ffffff;
  font-size: 0.9em;
  margin: 10px 0;
}

.spotlight-main-content {
  flex: none;
  max-width: 100%;
  width: 100%;
  background-color: #2b2b2b;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.spotlight-financial-column {
  flex: 1;
  max-width: calc(16.666% - 20px); /* 1/6 width */
  min-width: 200px;
  background-color: #2b2b2b;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .spotlight-content {
    flex-direction: column;
  }

  .spotlight-sports-column,
  .spotlight-main-content,
  .spotlight-financial-column {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    margin: 0 auto !important;
  }
}

.as-games-spotlight,
.as-games-spotlight,
.story-spotlight {
  background-color: #2e2e2e;
  color: #ffffff;
  padding: 10px 25px 0 25px !important;
  text-align: center;
  border-bottom: none !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.story-spotlight {
  margin-bottom: 0 !important;
}

.as-games-spotlight h1,
.story-spotlight h1 {
  font-size: 1.2em;
  margin-bottom: 10px;
  font-weight: 700;
  color: #fff;
}

.story-text p {
  font-size: 0.55em;
  line-height: 1.2;
  margin-bottom: 15px;
  margin-left: 10%;
  margin-right: 10%;
}

.table-wrapper {
  width: 100%;
  overflow-x: auto;
  overflow-y: auto;
  position: relative;
  transition: all 0.3s ease;
  max-width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.table-wrapper:hover {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

td {
  border: 1px solid #000000;
  padding: 8px;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  text-align: left;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

td:hover {
  background-color: rgba(76, 175, 80, 0.9);
  color: white;
  font-weight: bold;
  transform: scale(1.01);
}

th {
  border: 1px solid #000000;
  padding: 8px;
  background-color: rgba(0, 0, 0, 0.9);
  color: white;
  text-align: center;
  font-size: 0.8em;
  font-weight: bold;
}

th:hover,
td:focus {
  background-color: rgba(76, 175, 80, 1);
  transform: scale(1.01);
}

tr:hover {
  background-color: #555;
}

tr:hover td {
  background-color: rgba(76, 175, 80, 0.9);
}

small {
  color: white;
  font-size: 6pt;
  padding: 10px;
  display: block;
}

.content-container,
.tables-container {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

.datetime {
  font-size: 0.5rem;
}

.event-calendar {
  margin-top: 20px;
  text-align: center;
}


.event-calendar-container {
  overflow-y: auto;
  width: 100%;
  box-sizing: border-box;
}

.event-iframe {
  width: 100%;
  height: 100%;
  border: none;
  background-color: #000;
  overflow-y: hidden;
}

.event-image {
  max-width: 100%;
  height: auto;
  margin: 0;
  vertical-align: middle;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-image:hover {
  transform: scale(1.1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

hr {
  border: none;
  border-top: 1px solid white;
  width: 100%;
  margin: 20px 0;
}

iframe {
  display: block;
  margin: 20px auto;
  width: 100%;
  height: 300px;
  border: none;
  background-color: #000;
  overflow-y: hidden;
}

.inner-table {
  width: 100%;
  table-layout: fixed;
}

.inner-table td {
  width: 100%;
  padding: 0;
}

.financial-column {
  width: 100%;
  max-width: 500px;
}

#financial-chart-container {
  width: 100%;
  height: 400px;
  min-height: 300px;
}

/* New full-width events section */
.spotlight-events-section {
  width: 100%;
  margin: 20px 0 0 0;
  padding: 20px;
  background-color: #2c3e50;
  box-sizing: border-box;
  min-height: 600px;
  position: relative;
}

/* New media query for Desktop (1025px and above) */
@media (min-width: 1025px) {
  .header .nav-bar {
    justify-content: center;
  }
  .spotlight {
    padding: 20px 0 0 0;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    background-color: #2c3e50;
    overflow: visible;
  }
  .spotlight-header {
    padding: 0 20px;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
  }
  .spotlight-content {
    padding: 0;
    gap: 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
    overflow: visible;
  }
  .story-spotlight {
    width: 100%;
    margin: 0 auto;
    padding: 25px 20px 0 20px;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    box-sizing: border-box;
    background-color: #2c3e50;
    overflow: visible;
  }
  .story-spotlight .story-text {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    padding: 0 !important;
  }
  .story-spotlight h1 {
    text-align: center;
    margin: 0 auto;
    width: 100%;
  }
  .story-spotlight .story-text p {
    margin: 0 10% 15px 10% !important;
    padding: 0 !important;
    line-height: 1.4;
  }
  .story-spotlight .story-text p:last-of-type {
    margin-bottom: 0 !important;
  }
  .story-spotlight .story-button {
  display: inline-block;
  background-color: #2ecc40;
  color: #fff !important;
  border: none;
  border-radius: 6px;
  padding: 0.6em 1.2em;
  font-size: 1.1em;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(44, 204, 64, 0.12);
  transition: background 0.2s, box-shadow 0.2s;
  margin-top: 0.5em;
  cursor: pointer;
  text-align: center;
  line-height: 1.2;
  }
  .story-spotlight a.story-button {
  background-color: #2ecc40;
  color: #fff !important;
  border-radius: 6px;
  padding: 0.6em 1.2em;
  font-size: 1.1em;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(44, 204, 64, 0.12);
  transition: background 0.2s, box-shadow 0.2s;
  margin-top: 0.5em;
  cursor: pointer;
  display: inline-block;
  .story-spotlight .story-button:hover, .story-spotlight .story-button:focus,
  .story-spotlight a.story-button:hover, .story-spotlight a.story-button:focus {
    background-color: #27ae38;
    box-shadow: 0 4px 16px rgba(44, 204, 64, 0.18);
    color: #fff;
    text-decoration: none;
    outline: none;
  }
  }
  .as-games-spotlight {
    width: 100%;
    margin: 0 auto;
    padding: 0;
    color: #ffffff;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    box-sizing: border-box;
    background-color: #2e2e2e;
    overflow: visible;
  }
  .as-games-spotlight .story-text {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    padding: 25px 0 0 0 !important;
  }
  .as-games-spotlight h1 {
    margin: 0 0 10px 0 !important;
    padding: 0;
  }
  .as-games-spotlight p {
    margin: 0 0 15px 0 !important;
    padding: 0;
  }
  .as-games-spotlight table {
    width: 100% !important;
    table-layout: fixed;
    border-collapse: collapse;
    margin: 0 0 15px 0;
    box-sizing: border-box;
  }
  .as-games-spotlight p:last-of-type {
    margin-bottom: 0 !important;
  }
  .as-games-spotlight th:nth-child(1),
  .as-games-spotlight td:nth-child(1) { width: 15%; }
  .as-games-spotlight th:nth-child(2),
  .as-games-spotlight td:nth-child(2) { width: 25%; }
  .as-games-spotlight th:nth-child(3),
  .as-games-spotlight td:nth-child(3) { width: 12%; }
  .as-games-spotlight th:nth-child(4),
  .as-games-spotlight td:nth-child(4) { width: 28%; }
  .as-games-spotlight th:nth-child(5),
  .as-games-spotlight td:nth-child(5) { width: 20%; }
  .as-games-spotlight td,
  .as-games-spotlight th {
    padding: 8px;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
    border: 1px solid #000;
  }
  .as-games-spotlight tr td[colspan="5"] {
    text-align: center;
    font-style: italic;
    padding: 20px;
  }
  .spotlight-heading {
    width: 100%;
    min-width: 100%;
    margin: 0 auto;
    padding: 0 0 10px 0;
    overflow: visible;
    white-space: nowrap;
    text-overflow: clip;
    font-size: 1.2em;
    text-align: center;
    box-sizing: border-box;
    position: relative;
    left: 0;
    transform: translateX(0);
    display: block;
    color: #d0f0d8;          /* light green to match weed reviews title */
  }
  .as-promo-column {
    flex: 0 0 30%;
  }
  .event-container {
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  .event-calendar-table {
    table-layout: fixed;
    width: 100%;
    min-height: 100%;
    display: table;
  }
  .event-calendar-table tbody {
    display: table-row-group;
  }
  .event-calendar-table tr {
    display: table-row;
  }
  .event-calendar-table td,
  .event-calendar-table th {
    display: table-cell;
    padding: 8px;
  }
  .logo-heading-container {
    width: 100%;
    max-width: 1200px; /* Enforce match */
    margin: 0 auto;
    padding: 0;
  }
  .logo-heading-container .logo-left,
  .logo-heading-container .logo-right {
    padding: 0 10px; /* Adjusted to fit within max-width */
  }
  .logo-heading-container .logo-left img,
  .logo-heading-container .logo-right img {
    padding: 0;
    margin: 0;
  }
  .logo-heading-container .logo-heading-center {
    margin: 0;
    padding: 0 10px;
  }
  .banner-wrapper {
    width: 100%;
    margin: 0 auto;
    background-color: black;
  }
  .banner-wrapper .banner-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
  }
  .content-container {
    width: 100%;
    padding: 10px 0;
    margin: 0 auto;
    box-sizing: border-box;
    background-color: #4da593;
    overflow: visible;
  }
  .content-container small {
    display: block;
    margin: 0 0 5px 0;
  }
  .main-content {
    width: 100%;
    max-width: 1200px; /* Align with logo and spotlight */
    padding: 0 !important;
    margin: 0 auto;
    box-sizing: border-box;
  }
  /* Ensure full-width green background for articles page */
  body.page-articles {
    background-color: #4da593;
    padding: 60px 0 20px;
  }
  body.page-articles .container {
    margin: 0 auto;
    max-width: 1200px;
  }
}

/* Media query for mobile views (max-width: 1024px) */
@media (max-width: 1024px) {
  .header .nav-bar .nav-bar-links {
    display: none;
  }
  .as-games-spotlight {
    width: 100% !important;
    position: static !important;
    left: auto !important;
    right: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 25px !important;
    background-color: #2e2e2e !important;
  }
  .as-games-spotlight .story-text {
    margin-left: 10% !important;
    margin-right: 10% !important;
    padding: 0 !important;
  }
  .as-games-spotlight table {
    width: 100% !important;
    table-layout: auto !important;
  }
}

/* Consolidated media query for max-width: 768px */
@media (max-width: 768px) {
  .logo-heading-container {
    flex-wrap: wrap;
    justify-content: center;
    padding: 5px 10px;
  }
  .logo-heading-center span {
    font-size: 1.2em;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    line-height: 1.1;
  }
  .logo-left img,
  .logo-right img {
    max-height: 40px;
  }
  body {
    overflow-x: hidden !important;
  }
  .main-content {
    overflow-x: hidden !important;
  }
  .article-two-column {
    flex-direction: column;
  }
  .article-image-column {
    max-width: 100%;
  }
  .article-image {
    max-height: 300px;
  }
  .article-text-column {
    padding: 0;
  }
  .as-games-spotlight table {
    border: 0;
  }
  .as-games-spotlight table thead {
    display: none;
  }
  .as-games-spotlight table tr {
    margin-bottom: 10px;
    display: block;
    border: 1px solid #000;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 10px;
  }
  .as-games-spotlight table td {
    display: block;
    text-align: right;
    font-size: 0.8em;
    border-bottom: 1px dotted #ccc;
    position: relative;
    padding-left: 50%;
  }
  .as-games-spotlight table td:last-child {
    border-bottom: none;
  }
  .as-games-spotlight table td::before {
    content: attr(data-label);
    position: absolute;
    left: 0;
    width: 50%;
    padding-left: 10px;
    font-weight: bold;
    text-align: left;
  }
  .as-games-spotlight table td[colspan="5"] {
    text-align: center;
    padding: 10px;
    font-style: italic;
  }
  .as-games-spotlight h1 {
    font-size: 1.0em;
  }
  .as-games-spotlight p {
    font-size: 0.8em;
  }
  .spotlight-content {
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    padding: 10px !important;
  }
  .spotlight-main-content,
  .as-promo-column {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    visibility: visible !important;
  }
  .spotlight-events-section {
    padding: 10px;
    min-height: 80vh;
    height: auto;
    display: flex;
    flex-direction: column;
  }
  .spotlight-main-content {
    order: 1;
  }
  .as-promo-column {
    order: 2;
  }
  .desktop-only {
    display: none;
  }
}

/* Desktop fixes for horizontal scrollbar and logo shift */
@media (min-width: 1025px) {
  body,
  html {
    overflow-x: hidden !important;
  }
  .logo-heading-container {
    padding: 10px 0;
  }
  .logo-heading-container .logo-left {
    padding-left: 0;
  }
  .logo-heading-container .logo-right {
    padding-right: 0;
  }
  .main-content,
  .spotlight,
  .story-spotlight,
  .as-games-spotlight {
    overflow-x: hidden !important;
  }
  .content-container {
    padding: 10px 0;
  }
  .content-container small {
    max-width: 80%;
    margin: 0 auto;
    text-align: left;
    padding-left: 20px;
  }
  body {
    background-color: #4da593;
  }
  .event-calendar-container {
    max-height: none;
    overflow: visible;
  }
  .event-container {
    overflow: auto;
  }
  .event-calendar-table {
    min-height: 200px;
  }
}

.desktop-only {
  display: inline;
}

/* Tooltip */
#tooltip {
  z-index: 1000;
  font-size: 12px;
}

/* Weed Reviews Styles */
body.page-weed-reviews {
  background-color: #f4f4f4;
  padding-top: 60px;
}

.review {
  margin-bottom: 20px;
  padding: 10px;
  border-bottom: 1px solid #ddd;
  display: flex;
}

.review:last-child {
  border-bottom: none;
}

.review h2 {
  margin-bottom: 5px;
  color: #333;
}

.review p {
  margin: 0;
}

.review-image {
  display: block;
  width: auto;
  max-width: 150px;
  height: auto;
  margin-left: 20px;
}

.back-button {
  background-color: #4CAF50;
  color: white;
  padding: 10px 15px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 20px 2px;
  cursor: pointer;
  border-radius: 5px;
}

.back-button:hover {
  background-color: #45a049;
}

/* FINAL FULL-BLEED FIX — LOGO BAR + EVERYTHING ELSE — 100% WORKING */
@media (min-width: 1025px) {
  /* 1. Completely remove the 1200px cage for full-bleed sections */
  .main-content,
  .full-bleed {
    max-width: none !important;
    width: 100% !important;
  }

  /* 2. The magic escape */
  .full-bleed {
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    position: relative !important;
    left: 50%;
    transform: translateX(-50%);
    box-sizing: border-box !important;
  }

  /* Opt out for centralized SPA wrappers */
  .spotlight-wrapper.spotlight.full-bleed,
  .content-wrapper.full-bleed,
  .main-content.full-bleed {
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    left: auto !important;
    transform: none !important;
    position: static !important;
  }

  /* LOGO BAR — PERFECT */
  .logo-heading-container.full-bleed {
    background: #4CAF50 !important;
    padding: 12px 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  .logo-heading-container.full-bleed > div {
    padding: 0 20px !important;
  }

  .logo-heading-center {
    flex: 1 !important;
    text-align: center !important;
  }

  .logo-heading-center span {
    color: white !important;
    font-size: 2rem !important;
    font-weight: bold !important;
    white-space: nowrap !important;
  }

  .logo-left img,
  .logo-right img {
    max-height: 55px !important;
    width: auto !important;
    display: block !important;
  }

  /* Keep everything else full-bleed */
  .spotlight-wrapper.spotlight.full-bleed,
  #as-games-section.full-bleed,
  .banner-wrapper.full-bleed {
    background: #2c3e50 !important;
    padding: 30px 0 !important;
  }

  /* ensure no gap under the logo heading */
  .logo-heading-container {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  .banner-wrapper.full-bleed { background: black !important; }

  .full-bleed > *,
  .full-bleed > .story-text,
  .full-bleed table,
  .banner-wrapper.full-bleed .banner-content {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
  }
}

/* KINGS SECTION — FINAL & 100% PERFECT (centered, full-bleed, no weird padding) */
@media (min-width: 1025px) {
    #kings-games.full-bleed,
    .kings-games-spotlight.full-bleed {
        background: #1a1a2e !important;
        padding: 60px 0 !important;
        width: 100% !important;
        margin-left: 0 !important;
        left: auto !important;
        transform: none !important;
        position: static !important;
    }

    /* This forces perfect centering and overrides the main-content/global padding */
    .kings-games-spotlight.full-bleed > div {
        max-width: 1200px !important;
        margin: 0 auto !important;
        padding: 0 20px !important;
        box-sizing: border-box !important;
        width: 100% !important;
    }

    .kings-games-spotlight table {
        width: 100% !important;
        max-width: 1200px !important;
        margin: 0 auto !important;
    }
}
/* SPOTLIGHT — FINAL: WIDE SPORTS & FINANCIAL COLUMNS (BEAUTIFUL BALANCE) */
@media (min-width: 1025px) {
    .spotlight-content {
        display: flex;
        gap: 40px;
        padding: 0 30px;
        max-width: 1800px !important;
        margin: 0 auto !important;
        width: 100% !important;
    }

    /* Sports column = WIDE and proud */
    .spotlight-sports-column {
        flex: 1.8 !important;
        min-width: 340px !important;
        max-width: 420px !important;
    }

    /* Main spotlight = still king but doesn’t hog everything */
    .spotlight-main-content {
        flex: 3.2 !important;
        min-width: 500px;
        max-width: 900px;
    }

    /* Financial column = WIDE and uses the right side perfectly */
    .spotlight-financial-column {
        flex: 1.9 !important;
        min-width: 340px !important;
        max-width: 460px !important;
    }

    /* Make logos BIG and beautiful */
    .sports-logo-container img {
        max-width: 260px !important;
        height: auto;
        margin: 0 auto 28px auto;
        display: block;
    }

    /* Bigger text in main spotlight */
    .spotlight-main-content .spotlight-heading {
        font-size: 1.8em !important;
    }

    .spotlight-teaser .teaser-text,
    .spotlight-description p {
        font-size: 1.15em !important;
        line-height: 1.7;
    }

    /* Financial chart gets more space */
    #financial-chart-container {
        height: 480px !important;
    }
}
/* SPOTLIGHT HEADER — REMOVE LEFT GAP & ALIGN WITH SPORTS COLUMN */
@media (min-width: 1025px) {
    .spotlight-header {
        position: absolute !important;
        left: 20px !important;
        top: 20px !important;
        margin: 0 !important;
        padding: 0 !important;
        font-size: 1.4rem !important;
        color: white !important;
        z-index: 10;
    }

    .spotlight-header span:first-child {
        font-weight: bold;
    }

    /* Push the main content down so it doesn't overlap the header */
    .spotlight-content {
        padding-top: 70px !important;
    }
}
/* EUROSTILE LOOK — 100% FREE & LEGAL */
body {
    font-family: "Futura PT", "Michroma", system-ui, sans-serif !important;
    letter-spacing: 0.8px;
    font-weight: 500;
}

h1, h2, h3, h4, h5, h6,
.logo-heading-center span,
.kings-games-spotlight h1,
.spotlight-heading {
    font-family: "Michroma", "Futura PT", sans-serif !important;
    font-weight: 400 !important;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Extra bold impact */
#kings-games h1{
    font-size: 2.6em !important;
}
.logo-heading-center span {
    font-size: 1.6em !important;
}

/* CENTER FINANCIAL COLUMN HEADING */
.spotlight-financial-column h4 {
    text-align: center !important;
    width: 100% !important;
    margin-bottom: 15px !important;
    font-size: 1.3em !important;
    color: #c4a2ff !important;
    font-weight: 700 !important;
}
/* Make the Event Calendar title clickable and styled nicely */
.event-calendar-link {
    color: #fff;                    /* White to match your theme */
    text-decoration: none;          /* No underline by default */
    transition: color 0.3s ease;    /* Smooth hover */
}

.event-calendar-link:hover,
.event-calendar-link:focus {
    color: #4CAF50;                 /* Green accent on hover — matches your banner */
    text-decoration: underline;     /* Subtle underline on hover */
}

/* Add gap between title and table */
.spotlight-events-section h4 {
    margin-bottom: 15px;            /* Creates the small gap you want — adjust 15px as needed (10-20px looks good) */
    text-align: center;             /* Optional: center it for better look */
    font-size: 1.4rem;              /* Slightly larger for emphasis */
}

/* Optional: Add a bit of internal padding to the container so table doesn't touch edges */
.event-calendar-container {
    padding: 0 10px;                /* Small side padding if needed */
    margin-bottom: 10px;            /* Extra bottom space before next section */
}

/* If the table still feels too tight on mobile, add this */
@media (max-width: 768px) {
    .spotlight-events-section h4 {
        margin-bottom: 12px;        /* Slightly smaller gap on phones */
    }
    .event-calendar-container {
        padding: 0 5px;
    }
}
/* ==============================================
   FULL-WIDTH TABLE IN SPOTLIGHT SECTION (DESKTOP)
   ============================================== */
@media (min-width: 1025px) {

    /* Break out of parent max-width constraints */
    .spotlight-events-section {
        width: 100% !important;
        max-width: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        box-sizing: border-box;
    }

    /* Let container ignore parent limits */
    .event-calendar-container {
        width: 100% !important;
        max-width: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* Force event wrapper full available space */
    .event-container {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Table itself — stretch aggressively */
    .event-calendar-table {
        width: 100% !important;
        min-width: 100% !important;           /* prevents collapse */
        table-layout: auto !important;        /* natural column sizing */
        margin: 0 !important;
    }

    /* Optional: cap at your site's comfortable max (centered) */
    /* Uncomment the block below if you prefer centered 1200–1400px instead of edge-to-edge */

    .spotlight-events-section,
    .event-calendar-container,
    .event-container,
    .event-calendar-table {
        margin-left: auto !important;
        margin-right: auto !important;
    }
}
body.page-weed-reviews,
.container {
    color: #e0e0e0;          /* light gray – good readability on dark bg */
    background: #0f0f0f;     /* slightly lighter than pure black if needed */
}

.review {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2.5rem;
    display: flex;
    gap: 1.5rem;
    color: #e0e0e0;          /* ensure text inherits good color */
}

.review h2 {
    color: #4ade80;          /* your accent green – keep it bright */
    font-size: 1.8rem;
    margin: 0 0 0.8rem;
    font-weight: 600;
}

.review .rating {
    color: #ffcc00;          /* gold stars stay visible */
    font-size: 1.3rem;
    margin: 0.5rem 0 1rem;
}

.section strong {
    color: #4ade80;
    font-weight: 600;
    display: block;
    margin-bottom: 0.4rem;
}

.section {
    margin: 1.2rem 0;
    line-height: 1.55;
    font-size: 1.05rem;      /* slightly larger for readability */
}

/* Make sure paragraphs aren't too dim */
.review p {
    color: #ddd;             /* fallback */
}
.review-image {
    width: 220px;
    height: auto;
    max-height: 260px;
    object-fit: contain;
    border-radius: 12px;
    flex-shrink: 0;
    align-self: flex-start;
    background: #1e1e1e;
    border: 1px solid #333;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;           /* hand cursor on hover */
}

.review a:hover .review-image {
    transform: scale(1.04);    /* slight zoom on hover */
    box-shadow: 0 8px 20px rgba(0,0,0,0.6);
}
.page-weed-reviews .container h1 {
    color: #d0f0d8;          /* very light minty green-white */
    /* or: #b5f5c5;          more noticeable green tint */
    /* or: #a8e6c3;          pastel green */
    margin-bottom: 1.5rem;
}
/* ────────────────────────────────────────────────
   Articles page – lighter text + better contrast
──────────────────────────────────────────────── */

.page-articles,
.page-articles .container {
    color: #e0e0e0;               /* light gray base – good default */
    background: #0f0f0f;          /* dark bg – assuming same as weed page */
}

.page-articles .container h1 {
    color: #d0f0d8;               /* very light mint-green tint – same as Option 2 you liked */
    /* alternatives you can swap in: */
    /* color: #f0f8ff;            → almost pure white (clean & bright) */
    /* color: #e8fff0;            → softer very pale green */
    font-size: 2.4rem;
    font-weight: 700;
    margin: 0 0 2.2rem 0;
    letter-spacing: -0.01em;
}

/* Article cards/blocks */
.article {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 10px;
    padding: 1.4rem;
    margin-bottom: 2rem;
    display: flex;
    gap: 1.4rem;
    transition: border-color 0.2s ease;
}

.article:hover {
    border-color: #4ade80;        /* subtle green glow on hover – ties to your theme */
}

/* Text inside articles */
.article h2 {
    color: #a8e6c3;               /* lighter pastel green – stands out without being too bright */
    /* or try: #b5f5c5  /  #c3ffdb  /  #e0ffe8 */
    font-size: 1.65rem;
    margin: 0 0 0.9rem 0;
    font-weight: 600;
}

.article p {
    color: #ddd;                  /* slightly lighter than base for body text */
    line-height: 1.6;
    font-size: 1.05rem;
    margin: 0;
}

/* Images – make them consistent with weed reviews style */
.article-image {
    width: 220px;
    height: auto;
    max-height: 260px;
    object-fit: cover;            /* crops nicely if aspect ratios vary */
    border-radius: 8px;
    flex-shrink: 0;
    align-self: flex-start;
    background: #1e1e1e;
    border: 1px solid #444;
    box-shadow: 0 3px 10px rgba(0,0,0,0.5);
}

.article-content {
    flex: 1;
} 

/* Force hand cursor on the link wrapper */
.review a {
    cursor: pointer !important;
}

/* Make sure image doesn't trigger browser zoom mode */
.review-image {
    cursor: inherit;               /* let the <a> handle cursor */
    pointer-events: auto;          /* ensure clicks go through */
    user-select: none;             /* optional: prevents text selection glitches */
}

/* Optional subtle hover feedback (no zoom cursor) */
.review a:hover .review-image {
    opacity: 0.92;
    transform: scale(1.02);
    transition: all 0.18s ease;
}
/* For the main header/banner text – adjust selector as needed */
header h1,                  /* or whatever your element is */
.green-banner-title,        /* guess from screenshot – use dev tools to find real class/ID */
.site-title,
#spotlight-title {
    font-size: clamp(1.8rem, 5vw, 3.5rem);   /* min 1.8rem, preferred ~5% of viewport, max 3.5rem */
    line-height: 1.1;
    word-break: break-word;       /* allow breaking long words if needed */
    hyphens: auto;                /* optional: better hyphenation on mobile */
    text-wrap: balance;           /* modern: tries to balance lines nicely */
    overflow-wrap: break-word;    /* fallback for older browsers */
}

/* Base dark background for desktop/large screens */
.logo-heading-container.full-bleed {
    background: #0f0f0f;          /* your current very dark bg */
    color: #e0e0e0;
    /* ... your other styles ... */
}

/* Base for the container – make it flexible */
.logo-heading-container.full-bleed {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.8rem 1rem;
    background: #0f0f0f;              /* or your dark bg */
    box-sizing: border-box;
}

/* Logo images – prevent them from growing too much */
.logo-left img,
.logo-right img {
    max-height: 60px;                 /* adjust to your preference */
    height: auto;
    width: auto;
    max-width: 25vw;                  /* prevents logos from dominating on small screens */
    object-fit: contain;
}

/* The problematic center text */
.logo-heading-center {
    flex: 1;                          /* takes available space */
    text-align: center;
    padding: 0 0.8rem;
    min-width: 0;                     /* very important: allows flex child to shrink */
}

/* Target the <span> inside */
.logo-heading-center span {
    font-size: clamp(1.1rem, 4.2vw, 2.2rem);   /* scales nicely: small on phone → larger on desktop */
    line-height: 1.25;
    font-weight: 500;
    letter-spacing: -0.01em;
    word-break: break-word;           /* breaks long words if needed */
    overflow-wrap: break-word;        /* modern wrap */
    hyphens: auto;                    /* better hyphenation when breaking */
    white-space: normal !important;   /* force wrapping – overrides any nowrap */
    display: block;                   /* helps with line breaks */
}

/* Optional: Make "SoCoNews" and other strong parts pop but still wrap */
.logo-heading-center strong {
    font-weight: 700;
    color: #4ade80;                   /* your green accent? */
}

/* Mobile-first adjustment (optional but recommended) */
@media (max-width: 640px) {
    .logo-heading-container {
        flex-wrap: wrap;              /* allow wrapping if extremely narrow */
        gap: 0.5rem;
        padding: 0.6rem 0.8rem;
    }

    .logo-heading-center {
        order: 3;                     /* move text below logos on very small screens */
        width: 100%;
        text-align: center;
        padding: 0.4rem 0.6rem;
    }

    .logo-heading-center span {
        font-size: clamp(1rem, 5vw, 1.6rem);
    }
}

/* Lighter background on mobile/small screens */
@media (max-width: 768px) {
    .logo-heading-container.full-bleed {
        background: #1e1e1e;      /* lighter dark gray – good contrast with green text */
        /* or try these alternatives: */
        /* background: #222;      → even lighter */
        /* background: #181818;   → subtle lift */
        /* background: #2a2a2a;   → if you want a bit more pop */
    }

    /* Optional: Make green text brighter/more saturated on mobile for better visibility */
    .logo-heading-center span,
    .logo-heading-center strong {
        color: #5aff9a;           /* brighter green variant – adjust to taste */
        text-shadow: 0 1px 3px rgba(0,0,0,0.6);  /* subtle shadow for readability on darker bg */
    }

    /* Ensure text wraps and doesn't truncate */
    .logo-heading-center span {
        font-size: clamp(1.1rem, 4.5vw, 1.8rem);
        line-height: 1.3;
        padding: 0 0.6rem;
    }
}
/* Desktop/large screens – keep trees visible if you want */
.logo-heading-container.full-bleed {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* your existing styles */
}

.logo-left,
.logo-right {
    flex: 0 0 auto;
}

.logo-heading-center {
    flex: 1;
    text-align: center;
}

/* ── Mobile adjustments ──────────────────────────────────────── */
@media (max-width: 640px) {  /* or 768px – test both */
    .logo-heading-container.full-bleed {
        flex-wrap: wrap;                    /* allow elements to stack if needed */
        justify-content: center;
        padding: 0.8rem 0.6rem;
        gap: 0.4rem;
    }

    /* Hide the redwood tree images on small screens */
    .logo-left img[src*="redwood"],
    .logo-right img[src*="redwood"],
    .logo-left:has(img[src*="scnlogo_black.png"] ~ img),  /* if trees are extra <img> */
    .logo-right:has(img[src*="scnlogo_black.png"] ~ img) {
        display: none !important;
    }

    /* Force center alignment and better text flow */
    .logo-heading-center {
        width: 100%;
        text-align: center !important;
        padding: 0.4rem 0.6rem;
        order: 2;                           /* ensure text comes after logos if stacking */
    }

    .logo-heading-center span {
        font-size: clamp(1.05rem, 4.8vw, 1.7rem);
        line-height: 1.28;
        display: block;
        margin: 0 auto;
        max-width: 95%;
        word-break: break-word;
        hyphens: auto;
    }

    /* Optional: make green stronger on mobile for contrast */
    .logo-heading-center strong {
        color: #5aff9a;                     /* brighter green – adjust to taste */
    }

    /* If logos are still taking too much space */
    .logo-left img,
    .logo-right img {
        max-height: 50px;
        max-width: 20vw;
    }
}
/* Desktop/large screens – keep everything as-is */
.logo-heading-container.full-bleed {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1rem 2rem;               /* your current desktop padding */
    box-sizing: border-box;
}

.logo-left,
.logo-right {
    flex: 0 0 auto;
}

.logo-heading-center {
    flex: 1;
    text-align: center;
    padding: 0 1rem;
}

/* ── Mobile – hide logos + force perfect centering ── */
@media (max-width: 768px) {   /* adjust breakpoint if needed (640px or 480px) */

    .logo-heading-container.full-bleed {
        justify-content: center !important;
        padding: 0.8rem 0.6rem;
        gap: 0;
    }

    /* Hide both left and right logos on mobile */
    .logo-left,
    .logo-right {
        display: none !important;
    }

    /* Center text takes full width */
    .logo-heading-center {
        width: 100%;
        text-align: center !important;
        padding: 0.4rem 0.8rem;
        margin: 0 auto;
    }

    .logo-heading-center span {
        display: block;
        font-size: clamp(1.1rem, 4.8vw, 1.8rem);  /* scales well */
        line-height: 1.3;
        word-break: break-word;
        hyphens: auto;
        max-width: 95%;
        margin: 0 auto;
    }

    /* Optional: make text slightly bolder/brighter on small screens */
    .logo-heading-center strong {
        color: #5aff9a;                    /* brighter green variant */
        font-weight: 700;
    }
}
.poll-iframe-wrapper {
    position: relative;
    width: 100%;
    min-height: 2000px;               /* fallback so it doesn't collapse */
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.poll-iframe-wrapper iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* NEW: Content Wrapper and Container for Dynamic Loading */
.content-wrapper {
    background-color: #2c3e50;
    padding: 0;
}

.content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: #2c3e50;
    color: #ecf0f1;
}

.main-section {
    width: 100%;
    padding: 20px;
    background-color: #2e2e2e;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.main-section h1 {
    font-size: 2.5em;
    margin: 0 0 30px 0;
    color: #c4a2ff;
    text-align: center;
}

.main-section h2 {
    font-size: 1.8em;
    margin: 30px 0 15px 0;
    color: #c4a2ff;
}

/* Articles Section */
.articles-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.article {
    display: flex;
    gap: 20px;
    padding: 20px;
    background-color: #333;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
}

.article-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.article-content h2 {
    margin-top: 0;
    color: #c4a2ff;
}

.article-content p {
    color: #b0b0b0;
    line-height: 1.6;
}

.article-image {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.article-image:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .article {
        flex-direction: column;
    }

    .article-image {
        width: 100%;
        height: auto;
        max-height: 300px;
    }
}

/* Events Section */
.events-section {
    width: 100%;
}

.event-calendar-container {
    background-color: #333;
    border-radius: 8px;
    padding: 20px;
    overflow-x: auto;
}

/* Weed Reviews Section */
.weed-reviews-section {
    width: 100%;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.review-card {
    background-color: #333;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #c4a2ff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
}

.review-card h3 {
    color: #c4a2ff;
    margin-top: 0;
}

.review-card p {
    color: #b0b0b0;
    line-height: 1.6;
    margin: 10px 0;
}

.review-card .rating {
    color: #ffcc00;
    font-weight: bold;
}

/* Share Story Section */
.share-story-section {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.story-form {
    background-color: #333;
    padding: 30px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #c4a2ff;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    padding: 12px;
    background-color: #2a2a2a;
    border: 2px solid #444;
    color: #ecf0f1;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1em;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #c4a2ff;
    box-shadow: 0 0 10px rgba(196, 162, 255, 0.3);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-button {
    background-color: #2ecc40;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.submit-button:hover {
    background-color: #27ae38;
    box-shadow: 0 4px 16px rgba(44, 204, 64, 0.3);
}

/* Disclaimer Section */
.disclaimer-section {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.disclaimer-content {
    background-color: #333;
    padding: 30px;
    border-radius: 8px;
    line-height: 1.8;
}

.disclaimer-content h3 {
    color: #c4a2ff;
    margin-top: 30px;
    margin-bottom: 15px;
}

.disclaimer-content p {
    color: #b0b0b0;
    margin: 10px 0;
}

/* Games Section */
.games-section {
    width: 100%;
    margin: 40px 0;
}

/* Loading and Error States */
.loading,
.error {
    text-align: center;
    padding: 40px 20px;
    font-size: 1.2em;
    color: #c4a2ff;
}

.error {
    color: #ff6b6b;
    background-color: #3a2a2a;
    border-radius: 8px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .content-container {
        padding: 20px 10px;
    }

    .main-section {
        padding: 15px;
    }

    .main-section h1 {
        font-size: 1.8em;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .article {
        flex-direction: column;
    }

    .article-image {
        width: 100%;
        height: auto;
    }
}