﻿/* 
  Component:    .about-divider, .goals-divider, .partners-divider
  Page:         About.aspx
  DOM Path:     .page-wrapper > .about-hero > .about-overlay> .about-divider 
                .page-wrapper > .goals-sponsors > .column-left > .goals-divider
                .page-wrapper > .goals-sponsors > .column-right > .partners-divider
  Purpose:      Adds a visual horizontal rule beneath section headings using a centered black line; shared across multiple sections for consistency
*/
.about-divider,
.goals-divider,
.partners-divider {
    border: none;
    border-top: 2px solid #000;
    margin: 0 auto 20px auto;
    width: 75px;
}

/* 
  Component:    .about-hero
  Page:         About.aspx
  DOM Path:     page-wrapper > .about-hero
  Purpose:      Creates a full-width hero section with a centered background image of a stretching baby; uses flex layout to align child content to the left while maintaining vertical stretch and responsive height
*/
.about-hero {
    align-items: stretch;
    background-image: url('/images/stretchingbaby.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: flex-start;
    min-height: 200px;
    position: relative;
    z-index: 0;
}

/* 
  Component:    .about-overlay
  Page:         About.aspx
  DOM Path:     page-wrapper > .about-hero > .about-overlay
  Purpose:      Creates a semi-transparent content panel over the hero image; centers and stacks text elements with padding, rounded corners, and subtle shadow for readability and visual depth
*/
.about-overlay {
    align-items: center;
    align-self: stretch;
    background-color: rgba(129, 153, 189, 0.65);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    color: #000;
    display: flex;
    flex-direction: column;
    font-family: 'Segoe UI', sans-serif;
    font-size: 20px;
    height: 100%;
    justify-content: center;
    margin-left: 20px;
    max-width: 500px;
    padding: 30px;
}

/* 
  Component:    .about-video
  Page:         About.aspx
  DOM Path:     page-wrapper > .journey-wrapper > .journey-flex > .about-video
  Purpose:      Allocates flexible space for embedded video content within the overlay; constrains width for layout balance and responsive scaling
*/
.about-video {
    flex: 1 1 30%;
    max-width: 400px;
}

    /* 
      Component:    .about-video video
      Page:         about.aspx
      DOM Path:     page-wrapper > .journey-wrapper > .journey-flex > .about-video > video
      Purpose:      Styles the embedded video with rounded corners and subtle shadow for visual depth; centers the video horizontally and ensures   responsive scaling up to 600px wide
    */
    .about-video video {
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        display: block;
        margin: 95px auto;
        max-width: 600px;
        width: 100%;
        height: auto;
    }

/* 
  Component:    .sponsor-logo
  Page:         About.aspx
  DOM Path:     .page-wrapper > .goals-sponsors > .column-right > .partners-divider > .sponsor-logo
  Purpose:      Ensures sponsor logos are centered and scale responsively within their container; maintains aspect ratio and prevents overflow
*/
.sponsor-logo {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}

/* 
  Component:    .goals-sponsors p, .goals-sponsors li
  Page:         About.aspx
  DOM Path:     .page-wrapper > .goals-sponsors > .column-left > .goals-divider > p / li
  Purpose:      Emphasizes sponsor names and descriptions with bold font weight for improved readability and visual hierarchy; optionally adjustable to 600 for slightly softer emphasis
*/
.goals-sponsors p,
.goals-sponsors li {
    font-weight: 700; /* or 600 for a bit bolder */
}

/* 
  Component:    .about-video (responsive adjustment)
  Page:         about.aspx
  DOM Path:     site-page-wrapper > .about-hero > .about-overlay > .about-video
  Purpose:      Removes right padding on smaller screens (≤768px) to optimize layout and prevent horizontal overflow in mobile view
*/


/* 
  Component:    .about-video (responsive adjustment)
  Page:         About.aspx
  DOM Path:     page-wrapper > .journey-wrapper > .journey-flex > .about-video
  Purpose:      Removes right padding on smaller screens (≤768px) to optimize layout and prevent horizontal overflow in mobile view
*/
@media (max-width: 768px) {
    .about-video {
        padding-right: 0;
    }
}
