* { box-sizing: border-box; }
body { margin: 0; font-family: 'Pretendard Variable', 'Pretendard', sans-serif; }
a { color: inherit; }
.main-hero { position: relative; width: 100%; margin-left: 0; min-height: 320px; display: flex; align-items: center; background-image: linear-gradient(to right, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.95) 38%, rgba(255, 255, 255, 0.62) 52%, rgba(255, 255, 255, 0) 64%), url('/images/main_hero_bg.png'); background-size: cover; background-repeat: no-repeat; background-position: center center; overflow: hidden; }
.main-hero::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 45%); }
.main-hero-inner { position: relative; z-index: 1; width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 24px; }
.main-hero-copy { max-width: 640px; }
.main-hero-title { margin: 0; font-size: clamp(34px, 4.4vw, 42px); line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; color: #1f1f1f; }
.main-hero-title .accent { color: #F55B0F; }
.main-hero-desc { margin: 24px 0 0; font-size: 18px; line-height: 1.7; color: #4f4f4f; word-break: keep-all; }
.main-hero-actions { display: flex; align-items: center; gap: 12px; margin-top: 34px; }
.hero-btn { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 26px; border-radius: 10px; text-decoration: none; font-size: 15px; font-weight: 700; line-height: 1; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease; }
.hero-btn:hover { transform: translateY(-1px); }
.hero-btn-primary { background: #F55B0F; color: #fff; border: 1px solid #F55B0F; }
.hero-btn-primary:hover { background: #de4f0d; border-color: #de4f0d; box-shadow: 0 8px 20px rgba(245, 91, 15, 0.28); }
.hero-btn-outline { background: #fff; color: #F55B0F; border: 1px solid #F1C0A5; }
.hero-btn-outline:hover { border-color: #F55B0F; box-shadow: 0 8px 18px rgba(245, 91, 15, 0.16); }
.placeholder { max-width: 1430px; margin: 0 auto; padding: 72px 24px; color: #6b6b6b; font-size: 16px; line-height: 1.6; }
.stats-section { background: linear-gradient(180deg, #fffaf7 0%, #ffffff 52%); padding: 80px 24px; }
.stats-inner { max-width: 1400px; margin: 0 auto; text-align: center; }
.stats-kicker { margin: 0; font-size: 28px; color: #F55B0F; font-weight: 900; letter-spacing: 0.08em; }
.stats-heading { margin: 10px 0 14px; font-size: clamp(24px, 2.6vw, 36px); font-weight: 800; line-height: 1.3; letter-spacing: -0.02em; color: #1f1f1f; }
.stats-sub { margin: 0 0 36px; color: #5e5e5e; font-size: 16px; line-height: 1.7; word-break: keep-all; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 20px; }
.stat-card { background: #fff; border-radius: 16px; padding: 30px 24px 26px; border: 1px solid #f6dfd2; box-shadow: 0 12px 28px rgba(36, 24, 16, 0.08); text-align: center; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.stat-card:hover { transform: translateY(-4px); border-color: #f3c1a5; box-shadow: 0 18px 34px rgba(36, 24, 16, 0.12); }
.stat-icon { width: 68px; height: 68px; margin: 0 auto 16px; border-radius: 18px; background: #fff7f2; color: #F55B0F; font-size: 30px; display: flex; align-items: center; justify-content: center; box-shadow: inset 0 0 0 1px #f8dacc; }
.stat-number { font-size: clamp(24px, 2vw, 30px); font-weight: 800; line-height: 1.15; letter-spacing: -0.01em; color: #F55B0F; margin-top: 4px; }
.stat-label { font-size: 14px; font-weight: 600; color: #666; margin-top: 10px; line-height: 1.45; }
.main-story-section { background: #f8f8f6; padding: 86px 24px; }
.main-story-inner { max-width: 1440px; margin: 0 auto; position: relative; }
.main-story-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.main-story-title { margin: 0; font-size: clamp(28px, 2.7vw, 32px); line-height: 1.1; letter-spacing: -0.02em; font-weight: 800; color: #1f1f1f; }
.main-story-sub { margin: 12px 0 0; font-size: 16px; line-height: 1.6; color: #606060; word-break: keep-all; }
.main-story-all { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 18px; border-radius: 12px; border: 1px solid #dedede; background: #fff; color: #414141; text-decoration: none; font-size: 14px; font-weight: 700; white-space: nowrap; }
.main-story-slider { position: relative; }
.story-viewport { overflow: hidden; }
.story-track { display: flex; gap: 18px; transition: transform .35s ease; will-change: transform; }
.story-card { flex: 0 0 calc((100% - 54px) / 4); min-width: 0; background: #fff; border-radius: 14px; border: 1px solid #ececec; overflow: hidden; box-shadow: 0 8px 24px rgba(21, 21, 21, 0.05); }
.story-card-link { display: block; text-decoration: none; height: 100%; }
.story-thumb { position: relative; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: #f1f1f1; }
.story-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.story-body { padding: 14px 16px 16px; }
.story-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.story-cat { font-size: 13px; font-weight: 700; color: #F55B0F; }
.story-date { font-size: 12px; color: #8a8a8a; }
.story-title { margin: 0; font-size: 22px; line-height: 1.45; font-weight: 700; color: #262626; display: -webkit-box; line-clamp: 2; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.story-desc { margin: 12px 0 0; font-size: 14px; line-height: 1.62; color: #666; display: -webkit-box; line-clamp: 2; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 44px; }
.story-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 14px; font-weight: 700; color: #F55B0F; }
.story-arrow { position: absolute; top: 40%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 999px; border: 1px solid #f0d3c4; background: #fff; color: #e16f37; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; z-index: 2; }
.story-arrow:disabled { opacity: .45; cursor: default; }
.story-arrow.prev { left: -22px; }
.story-arrow.next { right: -22px; }
.story-empty { padding: 36px 20px; border: 1px dashed #d8d8d8; border-radius: 14px; background: #fff; color: #7b7b7b; font-size: 15px; }
.main-cta-section { padding: 80px 10px 80px; background: #ffffff; }
.main-cta-inner { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.main-cta-card { display: flex; align-items: center; gap: 16px; padding: 24px 24px; border-radius: 14px; border: 1px solid #e7e7e7; background: #fff; text-decoration: none; box-shadow: 0 10px 22px rgba(25, 25, 25, 0.06); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.main-cta-card:hover { transform: translateY(-2px); border-color: #f1c8b0; box-shadow: 0 14px 28px rgba(25, 25, 25, 0.1); }
.main-cta-icon { width: 46px; height: 46px; border-radius: 12px; background: #fff5ee; color: #f55b0f; display: inline-flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.main-cta-copy { flex: 1; min-width: 0; }
.main-cta-title { display: block; font-size: 20px; font-weight: 800; line-height: 1.2; color: #252525; }
.main-cta-desc { display: block; margin-top: 8px; font-size: 14px; line-height: 1.55; color: #666; }
.main-cta-arrow { font-size: 20px; line-height: 1; color: #7d7d7d; }
@media (max-width: 1200px) { .main-cta-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .stat-grid { grid-template-columns: 1fr; } .stats-section { padding: 80px 16px; } .stat-card { padding: 24px 16px 20px; } .stat-icon { width: 52px; height: 52px; font-size: 22px; } .stat-number { font-size: 22px; } .stat-label { font-size: 13px; } }
@media (max-width: 1100px) { .main-hero { min-height: 320px; background-position: 62% center; background-size: 100% auto; } .main-hero-inner { padding: 0 20px; } .main-hero-title { font-size: clamp(30px, 4.2vw, 48px); } .main-hero-desc { font-size: 16px; } }
@media (max-width: 768px) { .main-hero { min-height: 280px; background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.82) 35%, rgba(255, 255, 255, 0.2) 100%), url('/images/main_hero_bg.png'); background-size: 100% auto; background-repeat: no-repeat; background-position: center; } .main-hero-inner { padding: 0 18px; } .main-hero-copy { max-width: 100%; } .main-hero-title { font-size: 34px; line-height: 1.22; } .main-hero-desc { margin-top: 18px; font-size: 15px; line-height: 1.65; } .main-hero-actions { margin-top: 24px; flex-wrap: wrap; gap: 10px; } .hero-btn { height: 48px; padding: 0 20px; font-size: 14px; } .main-story-section { padding: 70px 16px; } .main-story-head { flex-direction: column; align-items: flex-start; margin-bottom: 18px; } .story-track { gap: 14px; } .story-card { flex-basis: calc((100% - 14px) / 2); } .story-arrow { display: none; } .main-cta-section { padding: 40px 16px 44px; } .main-cta-inner { grid-template-columns: 1fr; } .main-cta-card { padding: 20px 18px; } .main-cta-title { font-size: 18px; } }
@media (max-width: 640px) { .story-card { flex-basis: 100%; } .story-title { font-size: 19px; } }

/* Ensure gm-stories swiper slides occupy full width on small devices */
@media (max-width: 768px) {
	.gm-stories-swiper .swiper-slide { width: 100% !important; }
}

/* When activity story modal is open on small screens, hide the photo area */
@media (max-width: 768px) {
	.story-modal__photo { display: none; }
	.story-modal__body { grid-template-columns: 1fr; }
}

/* Make donor modal text-first on small screens (hide left image area) */
@media (max-width: 768px) {
	.gm-modal .gm-modal-left { display: none; }
	.gm-modal .gm-modal-right { width: 100%; }
	.gm-modal { padding: 16px; }
}
