/* Shared hero — matches site pattern */
.hero {
    min-height: 50vh;
    background: linear-gradient(180deg, #1A241E 0%, #0D1410 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 80px 0;
}
.hero-bg { position: absolute; inset: 0; opacity: 0.15; background-image: linear-gradient(rgba(45,90,61,0.1) 1px, transparent 1px), linear-gradient(90deg, rgba(45,90,61,0.1) 1px, transparent 1px); background-size: 60px 60px; }
.hero-grid { position: absolute; inset: 0; opacity: 0.3; z-index: 1; }
.hero-orb { position: absolute; width: 500px; height: 500px; background: radial-gradient(circle, rgba(45,90,61,0.3) 0%, transparent 70%); border-radius: 50%; filter: blur(80px); top: 10%; right: 10%; z-index: 1; pointer-events: none; }
.container { max-width: 1400px; margin: 0 auto; padding: 0 40px; position: relative; z-index: 2; }
.breadcrumb { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; font-family: 'DM Sans', sans-serif; font-size: 13px; }
.breadcrumb a { color: rgba(255,255,255,0.7); text-decoration: none; }
.breadcrumb a:hover { color: #C6A867; }
.breadcrumb-separator { color: rgba(255,255,255,0.4); }
.breadcrumb-current { color: #C6A867; font-weight: 500; }
.hero-title { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(36px, 5vw, 56px); font-weight: 400; color: #FFFFFF; line-height: 1.15; margin-bottom: 20px; }
.hero-highlight { font-style: italic; background: linear-gradient(135deg, #C6A867 0%, #E8D5A3 50%, #C6A867 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-description { font-family: 'DM Sans', sans-serif; font-size: 17px; color: #A8A49C; line-height: 1.8; max-width: 750px; }

/* Youth Community grid */
.yc-section { background: #FAFAF8; padding: 100px 0; }
.yc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 360px)); gap: 28px; justify-content: center; }

.yc-card { background: #FFFFFF; border-radius: 20px; border: 1px solid rgba(0,0,0,0.06); overflow: hidden; transition: all 0.3s ease; }
.yc-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.1); }

.yc-card-image { position: relative; aspect-ratio: 4/3; background: #EEEDE7; overflow: hidden; }
.yc-card-image img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.yc-card-image-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, #EEEDE7, #DDDBD1); }

.yc-video-badge {
    position: absolute; bottom: 12px; right: 12px;
    background: rgba(26,36,30,0.85); color: #fff;
    font-size: 12px; font-weight: 600; padding: 6px 14px;
    border-radius: 100px; text-decoration: none; cursor: pointer;
}

.yc-card-body { padding: 22px 24px 26px; }
.yc-card-title { font-family: 'Playfair Display', Georgia, serif; font-size: 19px; font-weight: 500; color: #1A241E; line-height: 1.35; margin-bottom: 8px; }
.yc-card-meta { font-size: 12px; color: #999; display: flex; gap: 6px; margin-bottom: 10px; }
.yc-card-description { font-size: 14px; color: #666; line-height: 1.7; }

.yc-empty { grid-column: 1/-1; text-align: center; color: #999; padding: 60px 0; }

.load-more-wrap { display: flex; justify-content: center; margin-top: 48px; }
.load-more-btn { padding: 14px 40px; background: #2D5A3D; color: #FFFFFF; border: none; border-radius: 100px; font-size: 15px; font-weight: 600; cursor: pointer; }
.load-more-btn:hover { background: #1A241E; }
.load-more-btn:disabled { opacity: 0.6; }

.yc-read-more {
    background: none; border: none; padding: 0;
    color: #2D5A3D; font-size: 13px; font-weight: 600;
    cursor: pointer; margin-top: 6px;
}
.yc-read-more:hover { text-decoration: underline; }

.yc-modal {
    position: fixed; inset: 0; z-index: 9999;
    align-items: center; justify-content: center;
    padding: 24px;
}
.yc-modal-overlay {
    position: absolute; inset: 0;
    background: rgba(13, 20, 16, 0.75);
}
.yc-modal-content {
    position: relative;
    background: #FFFFFF;
    border-radius: 20px;
    max-width: 700px;
    width: 100%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;  /* changed from auto — outer box no longer scrolls */
}
.yc-modal-close {
    position: absolute; top: 16px; right: 16px;
    background: rgba(0,0,0,0.5); color: #fff;
    border: none; border-radius: 50%;
    width: 36px; height: 36px; cursor: pointer;
    font-size: 16px; z-index: 2;
}
.yc-modal-image {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    flex-shrink: 0;  /* NEW — image never shrinks or scrolls away */
}
.yc-modal-image img { width: 100%; height: 100%; object-fit: cover; }
.yc-modal-body {
    padding: 28px 32px 32px;
    overflow-y: auto;  /* NEW — only the text area scrolls */
    flex: 1;  /* NEW — takes up remaining space below the image */
}
#yc-modal-title { font-family: 'Playfair Display', Georgia, serif; font-size: 24px; color: #1A241E; margin-bottom: 10px; }
#yc-modal-description { font-size: 15px; color: #444; line-height: 1.8; margin-top: 14px; }

@media (max-width: 768px) {
    .hero { padding: 60px 0; }
    .yc-section { padding: 60px 0; }
    .yc-grid { grid-template-columns: 1fr; }
    .yc-modal-content { max-height: 90vh; }
    .yc-modal-body { padding: 20px; }
}