/* --- Base Styles (Mobile-First) --- */
* {
    /* Better box model for layout control */
    box-sizing: border-box; 
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4; /* Light background for the page */
}

.container {
    /* Constrain the overall width and center the content */
    max-width: 1000px;
    margin: 0 auto;
    padding: 10px;
}

/* --- Header Styling (Similar to NSS) --- */
.header {
    background-color: rgb(2, 54, 43); /* YIP specific color */
    color: white;
    padding: 10px 20px;
    margin-bottom: 5px;
    border-radius: 10px;
}

.header h1 {
    font-size: 24px;
    font-weight: normal;
    margin: 0;
    text-align: center;
}

/* --- Content Area Container --- */
.content-area {
    padding: 10px;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* --- Intro Section (combines text and image styling) --- */
.yip-intro-section {
    display: flex;
    flex-direction: column; 
    gap: 0px;
}

.intro-image {
    background-size: cover;
    background-position: center;
    background-blend-mode: darken;
    min-height: 250px;
    width: 100%;
    height:250px;
    border-radius: 10px; 
}

.intro-text p {
    font-size: 16px;
    line-height: 1.5;
    text-align: justify;
    padding: 0 10px;
    text-indent: 30px;
}

/* --- Main Content Layout (Objectives and Video) --- */
.main-content-flex {
    display: flex;
    flex-direction: column; 
    gap: 20px;
    padding: 20px 0;
    border-top: 1px solid #ccc;
}

.objectives-section h2 {
    font-size: 20px;
    padding-left: 10px;
    margin-bottom: 10px;
}

.objectives-section {
    font-size: 16px;
    line-height: 1.5;
    padding: 0 10px;
}

.styled-list {
    padding-left: 35px;
}

/* UPDATED: Spacing for Objectives list items */
.styled-list li {
    line-height: 2.0;
    margin-bottom: 8px;
    text-align:justify;
}

/* --- Video Styling (Responsive Aspect Ratio) --- */
.video-aside {
    position: relative;
    padding-bottom: 56.25%; 
    height: 0;
    overflow: hidden;
    max-width: 100%;
}

.youtube-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* --- Committee Section --- */
.committee-section {
    padding: 10px;
}

.committee-section h3 {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 10px;
}

.committee-list {
    padding-left: 35px;
    font-size: 16px;
}

/* UPDATED: Spacing for Committee list items */
.committee-list li {
    line-height: 2.0;
    margin-bottom: 8px;
}

/* --- Media Query (For Tablets and Desktops) --- */
@media (min-width: 768px) {
    
    .main-content-flex {
        flex-direction: row; 
        align-items: flex-start;
    }
    
    .objectives-section {
        flex: 3; 
        padding-right: 20px;
    }
    
    .video-aside {
        flex: 2; 
        padding-bottom: 22.5%; 
        max-width: 40%; 
    }
    
    .intro-image {
        min-height: 150px;
        border-radius: 10px; 
    }
}
