/* =============================================================
   B&D Plumbing â€” Community Involvement Page
   page-community-involvement.css
   ============================================================= */

:root {
  --ci-navy:    #1b3a6b;
  --ci-blue:    #1e5fb4;
  --ci-gold:    #f5a800;
  --ci-gold-h:  #d99200;
  --ci-gray:    #f4f6fa;
  --ci-text:    #1c2230;
  --ci-muted:   #5a6272;
  --ci-border:  #dde3ef;
}

/* â”€â”€ HERO â”€â”€ */
.ci-hero {
  background: var(--ci-navy);
  color: #fff;
  text-align: center;
  padding: 13em 1em 5em 1em;
}

.ci-hero-eyebrow {
  display: inline-block;
  background: var(--ci-gold);
  color: var(--ci-navy);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 18px;
  border-radius: 30px;
  margin-bottom: 18px;
}

.ci-hero-h1 {
  font-size: clamp(26px, 4.5vw, 46px);
  font-weight: 900;
  line-height: 1.12;
  max-width: 680px;
  margin: 0 auto 18px;
  color: #fff;
}

.ci-hero-h1 em {
  font-style: normal;
  color: var(--ci-gold);
}

.ci-hero-lead {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.80);
  max-width: 560px;
  margin: 0 auto;
}

/* â”€â”€ BLUE BANNER â”€â”€ */
.ci-blue-banner {
  background: var(--ci-blue);
  padding: 2em 4em 3em 4em;
  text-align: center;
}

.ci-banner-heading {
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 900;
  color: #fff;
  margin-bottom: 8px;
}

.ci-banner-sub {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

/* â”€â”€ SHARED SECTION TOKENS â”€â”€ */
.ci-section {
  padding: 3em 0;
}

.ci-section--white {background: #fff;padding: 3em 5em;text-align: center;}
.ci-section--gray  {background: var(--ci-gray);padding: 3em 5em;text-align: center;}
.ci-section--navy  {background: var(--ci-navy);padding: 3em 5em;}

.ci-eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ci-blue);
  margin-bottom: 6px;
}

.ci-section--navy .ci-eyebrow {
  color: var(--ci-gold);
}

.ci-section-title {
  font-size: clamp(22px, 3.2vw, 34px);
  font-weight: 900;
  color: var(--ci-navy);
  line-height: 1.15;
  margin-bottom: 14px;
}

.ci-section--navy .ci-section-title {
  color: #fff;
}

.ci-section-lead {
  font-size: 15px;
  color: var(--ci-muted);
  /* max-width: 620px; */
  margin-bottom: 36px;
}

.ci-section--navy .ci-section-lead {
  color: rgba(255, 255, 255, 0.72);
}

.ci-section-body {
  font-size: 15px;
  color: var(--ci-muted);
  line-height: 1.75;
}

.ci-section-body p {
  margin-bottom: 14px;
}

.ci-section-body p:last-child {
  margin-bottom: 0;
}

/* â”€â”€ VIDEO â”€â”€ */
.ci-video-row {
  gap: 0;
}

.ci-video-content {
  padding-right: 32px;
}

.ci-video-embed {
  width: 100%;
}

.ci-video-embed iframe,
.ci-video-embed video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  display: block;
}

.ci-video-placeholder {
  background: var(--ci-navy);
  border-radius: 8px;
  aspect-ratio: 16 / 9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  gap: 14px;
}

.ci-play-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--ci-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ci-play-btn svg {
  width: 26px;
  height: 26px;
  fill: var(--ci-navy);
  margin-left: 4px;
}

.ci-video-placeholder span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

/* â”€â”€ PHOTO GRID (Feel the Love) â”€â”€ */
.ci-photo-grid {
}

.ci-photo-col {
  padding: 9px;
}

.ci-photo-card {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--ci-border);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.ci-photo-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

.ci-photo-caption {
  background: var(--ci-navy);
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  padding: 10px 14px;
  flex: 1;
}

/* â”€â”€ SPONSORSHIP CARDS â”€â”€ */
.ci-sponsor-grid {
}

.ci-sponsor-col {
  padding: 11px;
  display: flex;
}

.ci-sponsor-card {
  border: 1px solid var(--ci-border);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  width: 100%;
  text-align: left;
}

.ci-sponsor-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

.ci-sponsor-body {
  padding: 18px 20px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ci-sponsor-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: #e8eef8;
  color: var(--ci-blue);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
  align-self: flex-start;
}

.ci-sponsor-card h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--ci-navy);
  margin-bottom: 8px;
  line-height: 1.3;
}

.ci-sponsor-card p {
  font-size: 14px;
  color: var(--ci-muted);
  line-height: 1.6;
  flex: 1;
  margin: 0;
}

/* â”€â”€ ATHLETICS CARDS â”€â”€ */
.ci-athletics-grid {
}

.ci-athletics-col {
  padding: 9px;
  display: flex;
}

.ci-athletics-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  overflow: hidden;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.ci-athletics-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  opacity: 0.88;
  flex-shrink: 0;
}

.ci-athletics-body {
  padding: 14px 16px 18px;
  flex: 1;
}

.ci-athletics-body h4 {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 5px;
}

.ci-athletics-body p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.55;
  margin: 0;
}

/* â”€â”€ CTA â”€â”€ */
.ci-cta-section {
  background: var(--ci-gray);
  padding: 72px 24px;
}

.ci-cta-section .ci-eyebrow,
.ci-cta-section .ci-section-title,
.ci-cta-section .ci-section-lead {
  text-align: center;
}

.ci-cta-section .ci-section-lead {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 28px;
}

.ci-cta-btn {
  display: inline-block;
  background: var(--ci-gold);
  color: var(--ci-navy);
  font-size: 15px;
  font-weight: 800;
  padding: 14px 36px;
  border-radius: 30px;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background 0.18s ease;
}

.ci-cta-btn:hover,
.ci-cta-btn:focus {
  background: var(--ci-gold-h);
  color: var(--ci-navy);
  text-decoration: none;
}

/* â”€â”€ RESPONSIVE â”€â”€ */
@media (max-width: 767px) {
  .ci-video-content {
    padding-right: 15px;
    margin-bottom: 28px;
  }

  .ci-hero {
    padding: 10em 2em 5em 2em;
  }

.ci-blue-banner {
    padding: 2em 2em 3em 2em;
}

  
.ci-section--white { 
    padding: 3em 2em;
}

.ci-section--gray {
    padding: 3em 2em;
}

  .ci-section--navy {
    padding: 3em 2em;
}
  
  
}

@media (max-width: 575px) {
  .ci-photo-card img {
    height: 190px;
  }
}
