/* Annual Readathon   Stylesheets */
  .readathon-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  }

  /* Main Billboard Title Block */
  .main-heading {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: bold;
    margin-bottom: 5px;
    line-height: 1.2;
    color: #111827;
  }
 
  .season-dates {
    font-size: clamp(1.4rem, 4vw, 2.2rem);
    color: var(--color-blue);
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 30px;
  }

  /* Status Alert Badge */
  .announcement-banner {
    background: var(--color-yellow);
    color: black;
    font-size: 1.6rem;
    font-weight: bold;
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 50px;
    display: inline-block;
    box-shadow: 4px 4px 0px black;
    animation: pulse 2s infinite alternate;
  }
  @keyframes pulse {
    0% { transform: scale(1); }
    100% { transform: scale(1.03); }
  }

  /* Intro Block Styling */
  .intro-text-block {
    text-align: left;
    max-width: 750px;
    margin: 0 auto 40px auto;
    line-height: 1.8;
    font-size: 1.2rem;
    background: color-mix(in srgb, var(--color-yellow) 12%, #ffffff);
    border: 3px solid var(--color-blue);
    padding: 25px;
    border-radius: 16px;
  }

  /* Lively Action Photo Gallery Grid - Adjusted for Portrait Aspect Ratios */
.photo-gallery-row.portrait-gallery {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 50px;
  flex-wrap: wrap; /* Automatically stacks safely on mobile viewports */
}

.gallery-photo-wrapper {
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(84, 13, 110, 0.12);
  border: 6px solid #FFFFFF;
  transition: transform 0.3s ease;
  background: #FFFFFF;
  max-width: 260px; /* Prevents portrait images from getting too massive */
  width: 100%;
}

.gallery-photo-wrapper:hover {
  transform: rotate(0deg) scale(1.04) !important;
  z-index: 5;
}

.gallery-img {
  width: 100%;
  height: 360px; /* Higher height value matches classic vertical orientation */
  object-fit: cover;
  display: block;
}

/* Sharp display tweaks for mobile */
@media (max-width: 600px) {
  .photo-gallery-row.portrait-gallery {
    gap: 20px;
  }
  .gallery-img {
    height: 320px; /* Slightly shorter on mobile screens to save scrolling space */
  }
}
  /* Quick Navigation Link Rows */
  .quick-links-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
    flex-wrap: wrap;
  }

  .action-link-btn {
    background: #FFFFFF;
    border: 3px solid #3B82F6;
    color: #3B82F6;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.2s ease;
    box-shadow: 0 4px 6px rgba(59, 130, 246, 0.1);
  }
  .action-link-btn:hover {
    background: #3B82F6;
    color: #FFFFFF;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(59, 130, 246, 0.2);
  }

  /* Steps Section Elements */
  .readathon-steps-section {
    padding: 2rem 0;
    margin: 0 auto;
    text-align: center;
  }

  .steps-title {
    color: var(--color-green);
    font-size: 2.2rem;
    margin-bottom: 40px;
    text-align: left;
    border-bottom: 4px solid #FFD23F;
    padding-bottom: 10px;
    font-weight: bold;
  }

  .steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    align-items: stretch;
  }

  /* Step Card Hover Micro-interactions */
  .step-card {
    background: #ffffff;
    border: 3px solid #eef2f5;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
  }

  .step-card:hover {
    transform: translateY(-10px);
    border-color: #FFD23F; 
    box-shadow: 0 15px 30px rgba(84, 13, 110, 0.12);
  }

  .step-icon-wrapper {
    position: relative;
    width: 90px;
    height: 90px;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .step-number {
    position: absolute;
    top: -8px;
    left: -8px;
    background: var(--color-green);
    color: #ffffff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-weight: bold;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 6px rgba(0,0,0,0.15);
    z-index: 2;
  }

  .step-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
	transition: filter 0.25s ease-in-out; /* Makes the light-up smooth */
  }
  
/* 2. Light it up when the parent .step-card is hovered */
.step-card:hover .step-image {
  /* Boosts brightness by 20% and adds a clean soft glow */
  filter: brightness(1.2) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

  .step-text {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #4B5563;
    margin: 0;
  }

  .step-text strong {
    font-size: 1.3rem;
    color: var(--color-green);
    display: inline-block;
    margin-bottom: 0.4rem;
  }
  
  .step-text a {
    color: #3B82F6;
    text-decoration: underline;
    font-weight: bold;
  }

  /* Facebook Link Callout Container Wrapper */
.fb-footer-wrapper {
  margin-top: 60px;
  display: flex;
  flex-direction: row;      /* Arranges elements side-by-side on desktop */
  align-items: center;      /* Vertically aligns image and box to center line */
  gap: 30px;                /* Space between the image and the callout box */
  width: 100%;
}

/* Left Image Column Layout */
.fb-footer-image-col {
  flex: 1;
  min-width: 250px;         /* Prevents column from squishing too small */
}

/* Image behavior optimization rule with a thin blue border */
.fb-footer-img {
  width: 100%;
  height: auto;
  border: 1px solid var(--color-blue); /* Adds the thin blue border */
  border-radius: 16px;                  /* Matches site design curve standards */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  display: block;
}

/* Right Side Facebook Box Core Modification */
.fb-footer-box {
  flex: 1.3;                /* Allows box to take up slightly more horizontal space */
  background: #EDF5FF;
  border-left: 6px solid  var(--color-blue);
  padding: 30px 25px;       /* Slightly padded for symmetry with image height */
  border-radius: 0 16px 16px 0;
  text-align: left;
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.05);
}

.fb-link {
  color:  var(--color-blue);
  font-weight: bold;
  text-decoration: none;
}

.fb-link:hover {
  text-decoration: underline;
}

/* Mobile Breakpoint: Stacks blocks smoothly on small screens */
@media (max-width: 768px) {
  .fb-footer-wrapper {
    flex-direction: column; /* Drops left column over right column on mobile phones */
    gap: 20px;
  }
  
  .fb-footer-box {
    width: 100%;            /* Force uniform expansion once dropped below the graphic */
    box-sizing: border-box;
  }
}

  /* Viewport Media Queries */
  @media (max-width: 600px) {
    .steps-grid {
      grid-template-columns: 1fr;
    }
    .step-card {
      padding: 1.25rem;
    }
    .photo-gallery-row {
      grid-template-columns: 1fr;
    }
  }
 
