/* ============================================
   每日更新正能量黑料 - 正能量温暖风格
   主色: #ff9800 橙色 | 辅色: #4caf50 绿色
   背景: #fff8e1 米黄 | 文字: #2e7d32 深绿
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700;900&family=ZCOOL+XiaoWei&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #ff9800;
    --primary-dark: #f57c00;
    --primary-light: #ffb74d;
    --secondary: #4caf50;
    --secondary-dark: #2e7d32;
    --secondary-light: #81c784;
    --bg: #fff8e1;
    --bg-warm: #fff3e0;
    --text: #2e7d32;
    --text-light: #558b2f;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(255, 152, 0, 0.15);
    --shadow-hover: 0 8px 30px rgba(255, 152, 0, 0.25);
    --radius: 12px;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.8;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 10% 20%, rgba(255, 152, 0, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(76, 175, 80, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(255, 183, 77, 0.05) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* ===== Header ===== */
.site-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    box-shadow: 0 2px 20px rgba(255, 152, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--white);
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    animation: pulse-heart 2s ease-in-out infinite;
}

@keyframes pulse-heart {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

.logo-text {
    font-family: 'ZCOOL XiaoWei', serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.logo-text span {
    color: #fff3e0;
}

/* ===== Navigation ===== */
.main-nav ul {
    list-style: none;
    display: flex;
    gap: 8px;
}

.main-nav a {
    display: block;
    padding: 8px 18px;
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    border-radius: 25px;
    transition: var(--transition);
    position: relative;
}

.main-nav a:hover,
.main-nav a.active {
    background: var(--white);
    color: var(--primary-dark);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 28px;
    cursor: pointer;
}

/* ===== Banner ===== */
.banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, #ffd180 100%);
    padding: 80px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 140%;
    height: 200%;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.15) 0%, transparent 25%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 30%);
    animation: rotate-slow 60s linear infinite;
}

@keyframes rotate-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.banner-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.banner h1 {
    font-family: 'ZCOOL XiaoWei', serif;
    font-size: 48px;
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    line-height: 1.3;
}

.banner h1 .highlight {
    background: linear-gradient(120deg, #fff176, #fff9c4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.banner p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 30px;
    line-height: 1.8;
}

.banner-btn {
    display: inline-block;
    padding: 14px 40px;
    background: var(--white);
    color: var(--primary-dark);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 16px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.banner-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.banner-decoration {
    position: absolute;
    font-size: 80px;
    opacity: 0.15;
    animation: float 4s ease-in-out infinite;
}

.banner-decoration:nth-child(1) { top: 20px; left: 10%; animation-delay: 0s; }
.banner-decoration:nth-child(2) { top: 40px; right: 12%; animation-delay: 1s; }
.banner-decoration:nth-child(3) { bottom: 30px; left: 15%; animation-delay: 2s; }
.banner-decoration:nth-child(4) { bottom: 20px; right: 8%; animation-delay: 0.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

/* ===== Sections ===== */
.section {
    padding: 70px 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-family: 'ZCOOL XiaoWei', serif;
    font-size: 36px;
    color: var(--secondary-dark);
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '☀';
    position: absolute;
    top: -8px;
    right: -30px;
    font-size: 24px;
    color: var(--primary);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
}

.section-title p {
    color: var(--text-light);
    font-size: 16px;
}

.section-subtitle {
    display: inline-block;
    padding: 4px 16px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    border-radius: 20px;
    font-size: 13px;
    margin-bottom: 10px;
}

/* ===== Cards Grid ===== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
}

.card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 152, 0, 0.1);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.card:hover::before {
    transform: scaleX(1);
}

.card-badge {
    display: inline-block;
    padding: 4px 12px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 14px;
}

.card-icon {
    font-size: 36px;
    margin-bottom: 14px;
    display: block;
}

.card h3 {
    font-size: 20px;
    color: var(--secondary-dark);
    margin-bottom: 12px;
    line-height: 1.5;
}

.card p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 14px;
}

.card-meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: #999;
    padding-top: 14px;
    border-top: 1px solid #f0f0f0;
}

.card-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition);
}

.card-link:hover {
    color: var(--primary-dark);
    gap: 10px;
}

/* ===== News List ===== */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.news-item {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px 28px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    gap: 20px;
    align-items: flex-start;
    border-left: 4px solid var(--primary);
}

.news-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-hover);
}

.news-index {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.news-content h3 {
    font-size: 18px;
    color: var(--secondary-dark);
    margin-bottom: 8px;
    line-height: 1.5;
}

.news-content p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 8px;
}

.news-meta {
    display: flex;
    gap: 14px;
    font-size: 13px;
    color: #999;
}

.news-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ===== Category Nav ===== */
.category-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    margin-bottom: 40px;
}

.category-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--white);
    border: 2px solid rgba(255, 152, 0, 0.3);
    border-radius: 30px;
    color: var(--secondary-dark);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.category-btn:hover,
.category-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.3);
}

/* ===== Story / Article Cards ===== */
.story-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.story-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.story-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    position: relative;
    overflow: hidden;
}

.story-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.1) 100%);
}

.story-body {
    padding: 24px;
}

.story-body h3 {
    font-size: 19px;
    color: var(--secondary-dark);
    margin-bottom: 10px;
    line-height: 1.5;
}

.story-body p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 14px;
}

.story-tag {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(76, 175, 80, 0.1);
    color: var(--secondary-dark);
    border-radius: 12px;
    font-size: 12px;
    margin-right: 6px;
}

/* ===== Person Cards ===== */
.person-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.person-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-hover);
}

.person-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 18px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    box-shadow: 0 6px 20px rgba(255, 152, 0, 0.3);
    position: relative;
}

.person-avatar::after {
    content: '❤';
    position: absolute;
    bottom: -4px;
    right: -4px;
    width: 36px;
    height: 36px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.person-card h3 {
    font-size: 20px;
    color: var(--secondary-dark);
    margin-bottom: 6px;
}

.person-role {
    color: var(--primary);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 14px;
}

.person-desc {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.7;
}

/* ===== Charity Section ===== */
.charity-card {
    background: linear-gradient(135deg, var(--white) 0%, #fffef5 100%);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid var(--secondary);
    position: relative;
}

.charity-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.charity-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.charity-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
}

.charity-card h3 {
    font-size: 20px;
    color: var(--secondary-dark);
    line-height: 1.4;
}

.charity-desc {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 18px;
}

.charity-stats {
    display: flex;
    gap: 20px;
    padding-top: 16px;
    border-top: 1px dashed #e0e0e0;
}

.charity-stat {
    text-align: center;
    flex: 1;
}

.charity-stat .num {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.charity-stat .label {
    font-size: 13px;
    color: var(--text-light);
}

.charity-action {
    display: inline-block;
    margin-top: 18px;
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    color: var(--white);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition);
}

.charity-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

/* ===== Contact Form ===== */
.contact-form {
    max-width: 640px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--secondary-dark);
    font-weight: 500;
    font-size: 15px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
    background: #fffef5;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(255, 152, 0, 0.1);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.submit-btn {
    display: inline-block;
    padding: 14px 42px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.3);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 152, 0, 0.4);
}

/* ===== About Section ===== */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}

.about-feature {
    text-align: center;
    padding: 34px 24px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.about-feature:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.about-feature-icon {
    font-size: 48px;
    margin-bottom: 16px;
    display: block;
}

.about-feature h3 {
    font-size: 20px;
    color: var(--secondary-dark);
    margin-bottom: 10px;
}

.about-feature p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.7;
}

/* ===== Timeline ===== */
.timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: 24px;
    margin-bottom: 30px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 22px;
    top: 50px;
    bottom: -30px;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), transparent);
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-dot {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.3);
    z-index: 2;
}

.timeline-content {
    background: var(--white);
    padding: 20px 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    flex: 1;
}

.timeline-content h4 {
    color: var(--primary-dark);
    font-size: 16px;
    margin-bottom: 6px;
}

.timeline-content p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

/* ===== Pagination ===== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    background: var(--white);
    border: 2px solid rgba(255, 152, 0, 0.2);
    border-radius: 8px;
    color: var(--secondary-dark);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.pagination a:hover,
.pagination .active {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    border-color: transparent;
}

/* ===== Footer ===== */
.site-footer {
    background: linear-gradient(180deg, var(--secondary-dark) 0%, #1b5e20 100%);
    color: var(--white);
    padding: 60px 0 0;
    margin-top: 80px;
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light), var(--secondary), var(--secondary-light), var(--primary));
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
}

.footer-col h4 {
    font-family: 'ZCOOL XiaoWei', serif;
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--primary-light);
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 14px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-col ul a:hover {
    color: var(--primary-light);
    transform: translateX(4px);
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 22px 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}

.footer-bottom a {
    color: var(--primary-light);
    text-decoration: none;
}

/* ===== Utility ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }

/* ===== Back to Top ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.4);
    transition: var(--transition);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 25px rgba(255, 152, 0, 0.5);
}

/* ===== Animations ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .banner h1 { font-size: 38px; }
    .section-title h2 { font-size: 30px; }
    .card-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
}

@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary-dark);
        padding: 20px;
        display: none;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    }
    .main-nav.open { display: block; }
    .main-nav ul {
        flex-direction: column;
        gap: 4px;
    }
    .main-nav a {
        padding: 12px 18px;
        border-radius: 10px;
    }
    .banner { padding: 50px 0 70px; }
    .banner h1 { font-size: 30px; }
    .banner p { font-size: 16px; }
    .section { padding: 50px 0; }
    .section-title h2 { font-size: 26px; }
    .news-item { flex-direction: column; gap: 14px; }
    .card-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .contact-form { padding: 28px 20px; }
    .timeline-item { flex-direction: column; gap: 14px; }
    .timeline-item::before { display: none; }
}

@media (max-width: 480px) {
    .banner h1 { font-size: 24px; }
    .banner p { font-size: 15px; }
    .section-title h2 { font-size: 22px; }
    .logo-text { font-size: 18px; }
    .card, .story-body, .charity-card { padding: 22px; }
    .back-to-top { width: 42px; height: 42px; font-size: 18px; bottom: 20px; right: 20px; }
}

/* ===== Print ===== */
@media print {
    .site-header, .site-footer, .back-to-top, .banner-decoration, .nav-toggle { display: none; }
    body { background: white; }
    .card, .story-card, .charity-card { break-inside: avoid; box-shadow: none; border: 1px solid #ddd; }
}