/* ===== Sponsors (Pattern 1) ===== */
.sponsor-section {
  background-color: #ffffff;
  padding: 30px 0 40px;
  text-align: center;
  margin-top: 50px;
}

.sponsor-section h4 {
  margin-bottom: 8px;
  font-size: 24px;
}

.sponsor-subtitle {
  font-size: 1.05rem;
  color: #466ab9;
  margin: 0 0 24px;
}

/* Featured / main sponsor */
.featured-sponsor {
  width: 100%;
  text-align: center;
  margin: 0 auto 28px;
}

.featured-sponsor img {
  max-width: 320px;
  width: 60%;
  height: auto;
}


/* Secondary sponsors grid */
.sponsor-grid {
  --gap: 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);  /* Force 4 columns at desktop */
  gap: var(--gap);
  max-width: 980px;
  margin: 0 auto;
  align-items: center;
}


.sponsor-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
 /* background: #fafafa; */
/* border: 1px solid #eee; */
  border-radius: 10px;
  min-height: 110px;
  transition: transform .15s ease, box-shadow .15s ease;
}

.sponsor-card:hover,
.sponsor-card:focus {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,.07);
}

.sponsor-card img {
  max-width: 45%;
  max-height: 45%;
  width: auto;
  height: auto;
  object-fit: contain;
}



/* Optional contact row styling */
.sponsor-contact {
  margin-top: 18px;
  font-size: 0.95rem;
  color: #333;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

.sponsor-contact a {
  color: inherit;
  text-decoration: none;
}

.sponsor-contact a:hover {
  text-decoration: underline;
}

.contact-sep {
  opacity: .4;
}


/* --- Size modifiers for specific sponsors --- */

/* Base “large tile” modifier: slightly taller card + higher logo cap */
.sponsor-card--lg {
  min-height: 75%;             /* was 110px */
}
.sponsor-card--lg img {
  max-height: 75%;             /* was 70px */
}



/* ~2x size for Comprehensive Dental Care */
.sponsor-card--xxl { min-height: 110px; }
.sponsor-card--xxl img { 
					max-height: 100px;
					margin-right:40px;
			}
			
	

/* Wide-logo tweak so CDC can scale without overflow */
.sponsor-card--cdc img { 
		max-width: 125%;
		height: auto;
 }
 
 /* Wide-logo tweak so CDC can scale without overflow */
.sponsor-card--HBC img { 
		max-width: 75%;
		height: auto;
 }
 
 
/* Tablet: show 3 columns (then your 7 items will render 3 + 3 + 1) */
@media (max-width: 1024px) {
  .sponsor-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Large phones/small tablets: 2 columns */
@media (max-width: 768px) {
  .sponsor-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Small phones: 1 column */
@media (max-width: 480px) {
  .sponsor-grid {
    grid-template-columns: 1fr;
  }
}

 
 
 
/* ===== Tournament Announcement (Pill layout) ===== */
.announcement {
  margin: 100px auto 28px;
  padding: 0; /* padding is handled by the pill block */
}


.announcement__inner {
  max-width: 980px;               /* aligns with sponsor grid width */
  margin: 0 auto;
  text-align: center;             /* centers the inline-block pill */
  padding: 0 20px;                /* safe side padding on narrow screens */
}

/* The pill that wraps both title and body */
.announcement__pill {
  display: inline-block;          /* shrink to content width */
 
 background: #002395;/* #0d3c61;            /* deep blue background */
  color: #ffffff;
  border-radius: 999px;           /* pill silhouette */
  padding: 18px 26px;             /* gentle outer padding */
  box-shadow: 0 6px 18px rgba(0,0,0,.07);
  max-width: 100%;                /* prevent overflow on tiny screens */
  text-align: left;
}

/* Inner inset to keep text away from circular edge while staying centered */
.announcement__content {
  padding-left: 100px;             /* inset from left curve */
  padding-right: 80px;            /* slight balance on the right */
}

/* Title */
.announcement__title {
  margin: 0 0 8px 0;
  line-height: 1.2;
  font-weight: 800;
  font-size: clamp(1.05rem, 1.4vw + 0.7rem, 1.5rem);
}

/* Optional inner span for future tweaks */
.announcement__title-badge {
  display: inline-block;
  padding: .15rem .3rem;
}

/* Lead and body share same background inside pill */
.announcement__lead,
.announcement__body {
  margin: 0 0 6px 0;
  line-height: 1.6;
  font-size: clamp(.95rem, 1vw + .6rem, 1.05rem);
  color:  #e9f4ff;                 /* readable on blue */
}

.announcement strong { color: #ffffff; }

/* Responsive tweaks */
@media (max-width: 600px) {
  .announcement__inner { padding: 0 12px; }
  .announcement__pill { padding: 16px 18px; border-radius: 22px; }
  .announcement__content { padding-left: 35px; padding-right: 25px; }
}
