* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto', Arial, sans-serif;
}

.logo a {
  display: inline-block;
}

.logo img {
  transition: opacity 0.2s ease;
}

.logo a:hover img {
  opacity: 0.8;
}

body {
  background-color: #ffffff;
  color: #333333;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

header {
  background-color: #c00000;
  color: #ffffff;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

header .logo {
  display: flex;
  align-items: center;
}

header .logo img {
  height: 50px;
  margin-right: 15px;
}

nav {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

nav a {
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  padding: 8px 12px;
  border-radius: 4px;
}

nav a:hover,
nav a.active {
  background-color: #a00000;
}

.banner {
  color: #ffffff;
  text-align: center;
  padding: 80px 20px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.index-banner {
  background:
    linear-gradient(rgba(0,0,0,0.25), rgba(0,0,0,0.25)),
    url("images/index-banner.png") center/cover no-repeat;
}

.banner h1,
.banner h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.45);
}

.banner p {
  font-size: 1.2rem;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.45);
}

.club-news-banner {
  background:
    linear-gradient(rgba(0,0,0,0.25), rgba(0,0,0,0.25)),
    url("images/club-news-banner.png") center/cover no-repeat;
}

.player-info-banner {
  background:
    linear-gradient(rgba(0,0,0,0.20), rgba(0,0,0,0.20)),
    url("images/player-info-banner.png") center/cover no-repeat;
}

.fixtures-banner {
  background:
    linear-gradient(rgba(0,0,0,0.25), rgba(0,0,0,0.25)),
    url("images/fixtures-results-banner.png") center/cover no-repeat;
}

.events-banner {
  background:
    linear-gradient(rgba(0,0,0,0.20), rgba(0,0,0,0.20)),
    url("images/events-banner.png") center/cover no-repeat;
}

.sponsorship-banner {
  background:
    linear-gradient(rgba(0,0,0,0.20), rgba(0,0,0,0.20)),
    url("images/sponsorship-banner.png") center/cover no-repeat;
}

.contact-banner {
  background:
    linear-gradient(rgba(0,0,0,0.20), rgba(0,0,0,0.20)),
    url("images/contact-banner.png") center/cover no-repeat;
}

.main-section {
  display: flex;
  gap: 40px;
  padding: 20px;
  max-width: 1000px;
  margin: auto;
  align-items: center;
}

.content-section {
  max-width: 1000px;
  margin: auto;
  padding: 20px;
}

.content-section h2,
.content-section h3 {
  color: #c00000;
  margin-bottom: 12px;
}

.content-section p {
  margin-bottom: 16px;
  line-height: 1.6;
}

.social-links {
  margin-top: 15px;
}

.social-links a {
  display: inline-block;
  margin-right: 15px;
  color: #c00000;
  text-decoration: none;
  font-weight: bold;
}

.social-links a:hover {
  text-decoration: underline;
}

.feature-grid {
  padding: 20px;
  max-width: 1000px;
  margin: auto;
}

.feature-grid table {
  width: 100%;
  border-spacing: 20px;
}

.feature-grid td {
  vertical-align: top;
  width: 33.33%;
  padding: 15px;
  border: 1px solid #dddddd;
  border-radius: 6px;
  background-color: #ffffff;
}

.feature-grid h4 {
  color: #c00000;
  margin-bottom: 10px;
  min-height: 28px;
}

.feature-grid p {
  line-height: 1.5;
  margin: 0;
}

.feature-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.feature-link:hover {
  background-color: #f5f5f5;
}

.program-grid {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.program-box {
  flex: 1 1 420px;
  border: 1px solid #dddddd;
  border-radius: 6px;
  padding: 20px;
  background-color: #ffffff;
}

.program-box h4 {
  color: #c00000;
  margin-bottom: 12px;
  font-size: 1.3rem;
}

.program-box ul {
  margin-left: 20px;
  margin-bottom: 15px;
  line-height: 1.7;
}

.registration-links {
  margin-top: 20px;
}

.registration-links a {
  color: #c00000;
  font-weight: bold;
  text-decoration: none;
}

.registration-links a:hover {
  text-decoration: underline;
}

footer {
  background-color: #c00000;
  color: #ffffff;
  text-align: center;
  padding: 10px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: auto;
}

footer img {
  height: 20px;
}

footer a {
  color: #ffffff;
}

@media (max-width: 768px) {
  .main-section {
    flex-direction: column;
    align-items: center;
  }

  .banner h1,
  .banner h2 {
    font-size: 2rem;
  }

  .feature-grid table,
  .feature-grid tbody,
  .feature-grid tr,
  .feature-grid td {
    display: block;
    width: 100%;
  }

  .feature-grid td {
    margin-bottom: 20px;
  }
}

.our-club-banner {
  background:
    linear-gradient(rgba(0,0,0,0.20), rgba(0,0,0,0.20)),
    url("images/our-club-banner.png") center/cover no-repeat;
}

.two-column {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.info-box {
  flex: 1 1 420px;
  border: 1px solid #dddddd;
  border-radius: 6px;
  padding: 20px;
  background-color: #ffffff;
}

.info-box h3 {
  color: #c00000;
  margin-bottom: 12px;
}

.info-box p {
  margin-bottom: 14px;
  line-height: 1.6;
}

.event-box {
  border: 1px solid #dddddd;
  border-radius: 6px;
  padding: 20px;
  background-color: #ffffff;
  margin-top: 20px;
}

.event-box h4 {
  color: #c00000;
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.event-box p {
  margin-bottom: 12px;
  line-height: 1.6;
}

.event-box a {
  color: #c00000;
  font-weight: bold;
  text-decoration: none;
}

.event-box a:hover {
  text-decoration: underline;
}

.contact-wrapper {
  max-width: 700px;
  margin: 0 auto 30px auto;
}

.contact-details {
  margin-bottom: 25px;
}

.contact-details p {
  margin-bottom: 10px;
  line-height: 1.6;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form label {
  font-weight: bold;
  color: #c00000;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  border: 1px solid #cccccc;
  border-radius: 5px;
  font-size: 1rem;
}

.contact-form button {
  background-color: #c00000;
  color: #ffffff;
  padding: 12px 20px;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  width: fit-content;
}

.contact-form button:hover {
  background-color: #a00000;
}

.link-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 20px;
}

.link-button {
  display: inline-block;
  background-color: #c00000;
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  padding: 12px 18px;
  border-radius: 6px;
}

.link-button:hover {
  background-color: #a00000;
}




/* SPONSOR SECTIONS */

.sponsor-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 30px 20px;
}

.sponsor-section h3 {
  color: #c00000;
  margin-bottom: 18px;
  font-size: 1.6rem;
}

.sponsor-section p {
  margin-bottom: 14px;
  line-height: 1.6;
}


/* MAJOR SPONSORS */

.major-sponsor-wrap {
  background-color: #f7f7f7;
  border-radius: 10px;
  padding: 30px 25px;
  margin-top: 20px;
}

.major-sponsor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  align-items: center;
}

.major-sponsor-card {
  text-align: center;
  padding: 10px;
}

.major-sponsor-card img {
  width: 100%;
  max-width: 280px;
  max-height: 170px;
  object-fit: contain;
}

.major-sponsor-card h4 {
  margin-top: 12px;
  color: #c00000;
  font-size: 1.05rem;
  line-height: 1.4;
}


/* PLATINUM SPONSORS */

.platinum-sponsor-wrap {
  margin-top: 20px;
}

.platinum-sponsor-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  align-items: center;
}

.platinum-sponsor-card {
  background-color: #ffffff;
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  text-align: center;
  padding: 14px 12px;
  min-height: 130px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.platinum-sponsor-card img {
  width: 100%;
  max-height: 70px;
  object-fit: contain;
  margin-bottom: 10px;
}

.platinum-sponsor-card p {
  font-size: 0.92rem;
  margin: 0;
  line-height: 1.4;
}


/* ULTIMATE SPONSORS */

.ultimate-sponsor-list {
  columns: 3;
  column-gap: 40px;
  margin-top: 15px;
  padding-left: 20px;
}

.ultimate-sponsor-list li {
  margin-bottom: 8px;
  line-height: 1.5;

  /* This is the fix */
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
}


/* MOBILE */

@media (max-width: 900px) {
  .major-sponsor-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .ultimate-sponsor-list {
    columns: 1;
  }

  .platinum-sponsor-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1100px) {
  .platinum-sponsor-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 850px) {
  .platinum-sponsor-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .platinum-sponsor-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.sponsor-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* Video styling */
.sponsor-video {
  margin-bottom: 20px;
}

.sponsor-video video {
  width: 100%;
  max-width: 800px;
  border-radius: 8px;
  display: block;
}

/* Bullet list */
.sponsorship-benefits {
  margin: 15px 0;
  padding-left: 20px;
}

.sponsorship-benefits li {
  margin-bottom: 8px;
}

/* Player section spacing */
.player-sponsorship {
  margin-top: 30px;
}

/* Optional: improve buttons slightly */
.link-buttons {
  margin-top: 20px;
}

.link-button {
  display: inline-block;
  margin-right: 10px;
  margin-bottom: 10px;
}

.news-item {
  padding: 20px 0;
  border-bottom: 1px solid #ddd;
}

.news-item h4 {
  margin: 5px 0;
}

.news-date {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 10px;
}

.news-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: bold;
  padding: 4px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.news-tag.nest {
  background: #110252;
  color: white;
}

.news-tag.club {
  background: #3f989b;
  color: white;
}

.read-more {
  font-weight: bold;
  text-decoration: none;
}

.news-grid {
  width: 100%;
  border-spacing: 20px;
}

.news-grid td {
  width: 50%;
  vertical-align: top;
}

/* Box styling */
.news-box {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

.news-box:hover {
  transform: translateY(-5px);
}

/* Image */
.news-box img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

/* Content */
.news-box-content {
  padding: 15px;
}

.news-box-content h4 {
  margin: 10px 0 8px;
}

/* Tags (reuse earlier) */
.news-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: bold;
  padding: 4px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.news-tag.nest {
  background: #110252;
  color: white;
}

.news-tag.club {
  background: #3f989b;
  color: white;
}

.news-box-image {
  width: 100%;
  height: 160px;              
  background-size: contain;   
  background-repeat: no-repeat;
  background-position: center;
  background-color: #f5f5f5; 
}

/* Default image */
.news-box-image.default {
  background-image: url("images/news/default-news.png");
}

/* Custom image override */
.news-box-image.ftn {
  background-image: url("images/news/ftn.png");
}

.news-placeholder {
  width: 100%;
  margin-top: 20px;
  padding: 60px 20px;
  text-align: center;
  background: #f5f5f5;
  border-radius: 10px;
}

.news-placeholder-inner {
  max-width: 600px;
  margin: 0 auto;
}

.news-placeholder h4 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.news-placeholder p {
  margin-bottom: 10px;
  color: #555;
}