/* ═══════════════════════════════════════════════════════════════
   YCL — Youth Climate Leadership  /education-events/youth-climate-leadership/
   ═══════════════════════════════════════════════════════════════ */

/* ── Hero ─────────────────────────────────────────────── */
.ycl-page { overflow-x: hidden; font-family: var(--wp--preset--font-family--body, 'Inter', sans-serif); color: #181c20; }
.ycl-page h1, .ycl-page h2, .ycl-page h3 { font-family: var(--wp--preset--font-family--headline, 'Manrope', sans-serif); }
/* Modern Policy 그라데이션 히어로 — #008080 기반 */
.ycl-hero { position: relative; min-height: 680px; display: flex; align-items: center; padding: 6rem clamp(2rem, 8vw, 5rem); background: linear-gradient(135deg, #002a2a 0%, #004a4a 28%, #008080 62%, #005c5c 100%); overflow: hidden; }
/* 동심원 데코 링 (modern policy 기하학 요소) */
.ycl-hero::before { content: ''; position: absolute; right: -6%; top: -40%; width: 820px; height: 820px; border-radius: 50%; border: 1px solid rgba(204,240,103,0.11); box-shadow: inset 0 0 0 90px rgba(204,240,103,0.03), 0 0 0 160px rgba(0,128,128,0.06); z-index: 0; pointer-events: none; }
/* 라임·시안 방사형 글로우 */
.ycl-hero::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 55% 75% at 88% 8%, rgba(204,240,103,0.14) 0%, transparent 55%), radial-gradient(ellipse 45% 55% at 4% 92%, rgba(0,192,192,0.13) 0%, transparent 50%); pointer-events: none; z-index: 1; }
.ycl-hero-blob { position: absolute; top: -200px; right: -200px; width: 700px; height: 700px; background: radial-gradient(circle, rgba(204,240,103,0.14) 0%, transparent 68%); pointer-events: none; z-index: 2; }
.ycl-hero-content { position: relative; z-index: 3; max-width: 680px; }
.ycl-hero-badge { display: inline-flex; align-items: center; gap: 6px; padding: 0.3rem 1rem; background: #ccf067; color: #3b4d00; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; border-radius: 999px; margin-bottom: 2rem; }
.ycl-hero-badge .material-symbols-outlined { font-size: 13px; font-variation-settings: 'FILL' 1; }
.ycl-hero h1 { font-size: clamp(2.5rem, 6vw, 4.75rem); font-weight: 800; color: #ffffff; letter-spacing: -0.03em; line-height: 0.97; margin: 0 0 1.75rem; word-break: keep-all; }
.ycl-hero-accent { color: #ccf067; font-style: italic; }
.ycl-hero-accent2 { color: #a3e635; }
.ycl-hero-desc { font-size: 1.125rem; color: rgba(255,255,255,0.88); line-height: 1.75; margin: 0 0 3rem; max-width: 560px; word-break: keep-all; }
.ycl-hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.ycl-btn { display: inline-flex; align-items: center; gap: 6px; padding: 0.9375rem 2rem; border-radius: 0.5rem; font-size: 1rem; font-weight: 700; text-decoration: none !important; transition: all 0.18s; }
.ycl-btn:active { transform: scale(0.97); }
.ycl-btn--primary { background: #006565; color: #fff !important; }
.ycl-btn--primary:hover { background: #004f4f; box-shadow: 0 8px 24px rgba(0,101,101,0.2); }
.ycl-btn--outline { background: rgba(255,255,255,0.10); color: #ffffff !important; border: 2px solid rgba(255,255,255,0.55); }
.ycl-btn--outline:hover { background: rgba(255,255,255,0.20); border-color: rgba(255,255,255,0.85); }

/* ── Curriculum ───────────────────────────────────────── */
.ycl-curriculum { padding: 5rem clamp(2rem, 8vw, 5rem); background: #f1f4fa; }
.ycl-curriculum-hd { margin-bottom: 3rem; }
.ycl-curriculum-hd h2 { font-size: clamp(1.75rem, 3vw, 2.375rem); font-weight: 700; color: #0d2c2c; letter-spacing: -0.02em; margin: 0 0 0.625rem; }
.ycl-curriculum-hd p { color: #3e4949; font-size: 1.0625rem; margin: 0; max-width: 560px; word-break: keep-all; }
.ycl-module-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.ycl-module { background: #fff; padding: 2rem; border-radius: 1.5rem; display: flex; flex-direction: column; transition: background 0.4s; }
.ycl-module-num { font-size: 2.5rem; font-weight: 800; line-height: 1; margin: 0 0 1.5rem; transition: color 0.3s; }
.ycl-module h3 { font-size: 1.25rem; font-weight: 700; color: #0d2c2c; margin: 0 0 0.75rem; word-break: keep-all; transition: color 0.3s; }
.ycl-module p { color: #3e4949; font-size: 0.9375rem; line-height: 1.65; margin: 0 0 1.5rem; flex: 1; word-break: keep-all; transition: color 0.3s; }
.ycl-module-checks { display: flex; flex-direction: column; gap: 0.625rem; }
.ycl-module-check { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; transition: color 0.3s; }
.ycl-module-check .material-symbols-outlined { font-size: 1rem; }
.ycl-module--1 .ycl-module-num { color: #006565; }
.ycl-module--1 .ycl-module-check { color: #00696e; }
.ycl-module--1:hover { background: #006565; }
.ycl-module--2 .ycl-module-num { color: #4c6200; }
.ycl-module--2 .ycl-module-check { color: #617c00; }
.ycl-module--2:hover { background: #4c6200; }
.ycl-module--3 .ycl-module-num { color: #007474; }
.ycl-module--3 .ycl-module-check { color: #006565; }
.ycl-module--3:hover { background: #007474; }
.ycl-module--4 .ycl-module-num { color: #003434; }
.ycl-module--4 .ycl-module-check { color: #004f4f; }
.ycl-module--4:hover { background: #003434; }
.ycl-module:hover .ycl-module-num,
.ycl-module:hover h3,
.ycl-module:hover p,
.ycl-module:hover .ycl-module-check { color: rgba(255,255,255,0.92); }
a.ycl-module { text-decoration: none !important; color: inherit; cursor: pointer; }

/* ── Library ──────────────────────────────────────────── */
.ycl-library { padding: 5rem clamp(2rem, 8vw, 5rem); }
.ycl-library-inner { display: grid; grid-template-columns: 4fr 8fr; gap: 4rem; align-items: start; }
.ycl-library-sticky { position: sticky; top: 6rem; }
.ycl-library-sticky h2 { font-size: clamp(1.75rem, 3vw, 2.375rem); font-weight: 800; color: #0d2c2c; letter-spacing: -0.02em; margin: 0 0 1.25rem; }
.ycl-library-sticky p { color: #3e4949; line-height: 1.7; margin: 0 0 1.75rem; word-break: keep-all; }
.ycl-library-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: #006565; text-decoration: none; font-size: 0.9375rem; }
.ycl-library-link .material-symbols-outlined { font-size: 1.125rem; transition: transform 0.18s; }
.ycl-library-link:hover .material-symbols-outlined { transform: translateX(3px); }
.ycl-resource-list { display: flex; flex-direction: column; gap: 1.125rem; }
.ycl-resource { display: flex; align-items: center; gap: 1.25rem; background: #f1f4fa; border-radius: 1rem; padding: 1.375rem 1.5rem; transition: background 0.2s; text-decoration: none !important; }
.ycl-resource:hover { background: #ebeef4; }
.ycl-resource-icon { width: 3.25rem; height: 3.25rem; background: #fff; border-radius: 0.75rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 2px 8px rgba(0,101,101,0.08); }
.ycl-resource-icon .material-symbols-outlined { font-size: 1.625rem; color: #006565; }
.ycl-resource-body { flex: 1; }
.ycl-resource-tag { font-size: 0.7rem; font-weight: 800; color: #4c6200; text-transform: uppercase; letter-spacing: 0.09em; display: block; margin-bottom: 0.2rem; }
.ycl-resource-title { font-size: 1rem; font-weight: 700; color: #0d2c2c; word-break: keep-all; margin: 0; }
.ycl-resource-arrow .material-symbols-outlined { font-size: 1.25rem; color: #bdc9c8; }

/* ── Gallery ──────────────────────────────────────────── */
.ycl-gallery { padding: 5rem clamp(2rem, 8vw, 5rem); background: #e5e8ee; overflow: hidden; }
.ycl-gallery-hd { margin-bottom: 2.5rem; }
.ycl-gallery-hd h2 { font-size: clamp(1.75rem, 3vw, 2.375rem); font-weight: 700; color: #0d2c2c; letter-spacing: -0.02em; margin: 0 0 0.375rem; }
.ycl-gallery-hd p { color: #3e4949; margin: 0; }
.ycl-gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: 280px 280px; gap: 1rem; }
.ycl-gallery-item { border-radius: 1.5rem; overflow: hidden; position: relative; }
.ycl-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.ycl-gallery-item:hover img { transform: scale(1.08); }
.ycl-gallery-caption { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.65), transparent); display: flex; align-items: flex-end; padding: 1.5rem; opacity: 0; transition: opacity 0.3s; border-radius: 1.5rem; }
.ycl-gallery-item:hover .ycl-gallery-caption { opacity: 1; }
.ycl-gallery-caption p { color: #fff; font-weight: 700; margin: 0; word-break: keep-all; }
.ycl-gallery-item--large { grid-column: span 2; grid-row: span 2; }
.ycl-gallery-item--wide { grid-column: span 2; }

/* ── Apply ────────────────────────────────────────────── */
.ycl-apply { padding: 5rem clamp(2rem, 8vw, 5rem) 6rem; }
.ycl-apply-box { max-width: 880px; margin: 0 auto; background: #006565; border-radius: 2.5rem; padding: clamp(2.5rem, 5vw, 4.5rem); text-align: center; position: relative; overflow: hidden; }
.ycl-apply-box::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at center, rgba(255,255,255,0.06) 0%, transparent 70%); pointer-events: none; }
.ycl-apply-box h2 { font-size: clamp(1.75rem, 3.5vw, 2.625rem); font-weight: 800; color: #fff; letter-spacing: -0.025em; margin: 0 0 2rem; line-height: 1.2; word-break: keep-all; position: relative; z-index: 1; }
.ycl-apply-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; background: rgba(255,255,255,0.1); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-radius: 1.25rem; padding: 1.75rem 2rem; border: 1px solid rgba(255,255,255,0.18); margin-bottom: 2.5rem; text-align: left; position: relative; z-index: 1; }
.ycl-apply-info-label { font-size: 0.7rem; font-weight: 800; color: rgba(180,235,235,0.85); text-transform: uppercase; letter-spacing: 0.1em; display: block; margin-bottom: 0.4rem; }
.ycl-apply-info-val { font-size: 0.9375rem; font-weight: 500; color: #fff; word-break: keep-all; margin: 0; }
.ycl-apply-btns { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; position: relative; z-index: 1; }
.ycl-btn--apply { background: #ccf067; color: #3b4d00 !important; padding: 1.125rem 3rem; border-radius: 1rem; font-size: 1.0625rem; font-weight: 800; }
.ycl-btn--apply:hover { background: #b0d44d; }
.ycl-apply-quote { color: rgba(178,230,230,0.5); font-size: 0.875rem; font-style: italic; margin: 2.5rem 0 0; position: relative; z-index: 1; line-height: 1.65; }

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 1000px) {
  .ycl-module-grid { grid-template-columns: 1fr 1fr; }
  .ycl-library-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .ycl-library-sticky { position: static; }
  .ycl-gallery-grid { grid-template-rows: 220px 220px; }
}
@media (max-width: 640px) {
  .ycl-module-grid { grid-template-columns: 1fr; }
  .ycl-gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 180px 180px 180px; }
  .ycl-apply-info { grid-template-columns: 1fr; }
  .ycl-apply-btns { flex-direction: column; align-items: center; }
}

