/* ─── Week page styles (.wk-*) ─── */
.wk-page { max-width: 680px; margin: 0 auto; padding: 28px 16px 48px; }
.wk-breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 24px; }
.wk-breadcrumb a { color: var(--pink); text-decoration: none; font-weight: 500; }
.wk-breadcrumb a:hover { color: var(--purple); }
.wk-badge-wrap { display: flex; align-items: center; gap: 18px; margin-bottom: 28px; }
.wk-badge { background: linear-gradient(135deg, #ec4899, #a855f7); color: #fff; border-radius: 50%; width: 84px; height: 84px; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 34px; font-weight: 800; flex-shrink: 0; box-shadow: 0 4px 16px rgba(168,85,247,0.3); }
.wk-badge small { font-size: 11px; font-weight: 600; }
.wk-meta h1 { font-size: 24px; font-weight: 800; margin: 0 0 4px; color: var(--text); letter-spacing: -0.5px; }
.wk-meta p { margin: 0; color: var(--muted); font-size: 14px; }
.wk-fruit { background: var(--card-bg); border-radius: var(--radius); padding: 24px; margin-bottom: 22px; display: flex; align-items: center; gap: 18px; box-shadow: var(--shadow); border: 1px solid rgba(200,100,150,0.06); transition: all .25s cubic-bezier(.4,0,.2,1); }
.wk-fruit:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.wk-fruit-emoji { font-size: 56px; filter: drop-shadow(0 4px 12px rgba(200,100,150,0.2)); }
.wk-fruit-img { width: 80px; height: 80px; filter: drop-shadow(0 4px 12px rgba(200,100,150,0.2)); }
.wk-fruit-info h2 { margin: 0 0 10px; font-size: 18px; color: var(--text); font-weight: 700; letter-spacing: -0.2px; }
.wk-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.wk-pill { background: var(--pink-light); color: var(--pink); border-radius: 24px; padding: 5px 14px; font-size: 13px; font-weight: 600; }
.wk-section { background: var(--card-bg); border-radius: var(--radius); padding: 24px; margin-bottom: 18px; box-shadow: var(--shadow); border: 1px solid rgba(200,100,150,0.06); transition: all .25s cubic-bezier(.4,0,.2,1); }
.wk-section:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.wk-section h2 { margin: 0 0 12px; font-size: 17px; color: var(--pink); font-weight: 700; letter-spacing: -0.2px; }
.wk-section p { margin: 0; line-height: 1.75; color: var(--text); font-size: 16px; }
.wk-article { background: var(--card-bg); border-radius: var(--radius); padding: 24px; margin-bottom: 22px; box-shadow: var(--shadow); border: 1px solid rgba(200,100,150,0.06); transition: all .25s cubic-bezier(.4,0,.2,1); }
.wk-article:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.wk-article h2 { margin: 0 0 14px; font-size: 17px; color: var(--pink); font-weight: 700; }
.wk-article p { margin: 0; line-height: 1.8; color: var(--text); font-size: 16px; }
.wk-nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; gap: 8px; }
.wk-nav-btn { background: var(--card-bg); border: none; border-radius: 14px; padding: 11px 18px; color: var(--pink); font-weight: 600; font-size: 14px; text-decoration: none; cursor: pointer; transition: all .25s; box-shadow: var(--shadow); }
.wk-nav-btn:hover { background: var(--pink-light); transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.wk-nav-btn.disabled { opacity: 0; pointer-events: none; }
.wk-cta { background: linear-gradient(135deg, #ec4899, #a855f7); color: #fff; border-radius: var(--radius); padding: 28px 24px; text-align: center; margin-bottom: 22px; box-shadow: 0 8px 32px rgba(168,85,247,0.25); }
.wk-cta h2 { margin: 0 0 10px; font-size: 20px; font-weight: 800; }
.wk-cta p { margin: 0 0 16px; font-size: 14px; opacity: .9; }
.wk-cta a { display: inline-block; background: #fff; color: #a855f7; border-radius: 14px; padding: 12px 28px; font-weight: 700; text-decoration: none; font-size: 15px; transition: all .25s; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.wk-cta a:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,0.15); }
.wk-cta-bp { background: linear-gradient(135deg, #0ea5e9, #6366f1); box-shadow: 0 8px 32px rgba(99,102,241,0.25); }
.wk-cta-bp a { color: #6366f1; }
.wk-weeks-list { background: var(--card-bg); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); border: 1px solid rgba(200,100,150,0.06); }
.wk-weeks-list h2 { margin: 0 0 16px; font-size: 16px; color: var(--text); font-weight: 700; }
.wk-weeks-grid { display: flex; flex-wrap: wrap; gap: 7px; }
.wk-weeks-grid a { display: inline-block; background: var(--pink-light); color: var(--pink); border-radius: 10px; padding: 6px 12px; font-size: 13px; font-weight: 600; text-decoration: none; transition: all .2s; }
.wk-weeks-grid a.current { background: linear-gradient(135deg, #ec4899, #a855f7); color: #fff; }
.wk-weeks-grid a:hover { transform: translateY(-1px); opacity: .85; }
.wk-detail-list { padding-left: 20px; margin: 8px 0 0; }
.wk-detail-list li { line-height: 1.75; color: var(--text); font-size: 16px; margin-bottom: 8px; }
.wk-faq { background: var(--card-bg); border-radius: var(--radius); padding: 24px; margin-bottom: 18px; box-shadow: var(--shadow); border: 1px solid rgba(200,100,150,0.06); transition: all .25s cubic-bezier(.4,0,.2,1); }
.wk-faq:hover { box-shadow: var(--shadow-lg); }
.wk-faq h2 { margin: 0 0 14px; font-size: 17px; color: var(--pink); font-weight: 700; }
.wk-faq details { margin-bottom: 12px; border-bottom: 1px solid rgba(200,100,150,0.08); padding-bottom: 12px; }
.wk-faq details:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.wk-faq summary { cursor: pointer; font-weight: 600; font-size: 16px; color: var(--text); padding: 4px 0; transition: color .2s; }
.wk-faq summary:hover { color: var(--pink); }
.wk-faq details p { margin: 10px 0 0; line-height: 1.75; color: var(--text); font-size: 15px; }
/* Warning */
.wk-warning { background: #fff5f5; border: 2px solid #f87171; border-radius: var(--radius); padding: 24px; margin-bottom: 18px; }
[data-theme="dark"] .wk-warning { background: #2d1520; border-color: #e35050; }
.wk-warning h2 { margin: 0 0 12px; font-size: 17px; color: #dc2626; font-weight: 700; }
[data-theme="dark"] .wk-warning h2 { color: #f87171; }
.wk-warning ul { padding-left: 20px; margin: 0; }
.wk-warning li { line-height: 1.75; color: var(--text); font-size: 15px; margin-bottom: 6px; }
/* Related links */
.wk-related { background: var(--card-bg); border-radius: var(--radius); padding: 24px; margin-bottom: 18px; box-shadow: var(--shadow); border: 1px solid rgba(200,100,150,0.06); }
.wk-related h2 { margin: 0 0 14px; font-size: 17px; color: var(--pink); font-weight: 700; }
.wk-related-links { display: flex; flex-wrap: wrap; gap: 10px; }
.wk-related-links a { display: inline-block; background: var(--pink-light); color: var(--pink); border-radius: 12px; padding: 8px 16px; font-size: 14px; font-weight: 600; text-decoration: none; transition: all .2s; }
.wk-related-links a:hover { background: var(--pink); color: #fff; transform: translateY(-1px); }
/* Author (E-E-A-T) */
.wk-author { display: flex; align-items: flex-start; gap: 16px; background: var(--card-bg); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 18px; box-shadow: var(--shadow); border: 1px solid rgba(200,100,150,0.06); }
.wk-author-avatar { font-size: 40px; flex-shrink: 0; }
.wk-author strong { font-size: 15px; color: var(--text); }
.wk-author p { margin: 4px 0 0; font-size: 13px; color: var(--muted); line-height: 1.5; }
.wk-date { font-size: 12px !important; color: var(--muted); opacity: .8; }
/* Sources */
.wk-sources { background: var(--card-bg); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 18px; box-shadow: var(--shadow); border: 1px solid rgba(200,100,150,0.06); }
.wk-sources h3 { margin: 0 0 10px; font-size: 15px; color: var(--muted); font-weight: 600; }
.wk-sources ul { padding-left: 20px; margin: 0; }
.wk-sources li { font-size: 13px; color: var(--muted); line-height: 1.6; margin-bottom: 4px; }
/* TOC (section navigation) */
.wk-toc { position: sticky; top: 0; z-index: 10; display: flex; gap: 6px; padding: 10px 0; margin-bottom: 18px; overflow-x: auto; -webkit-overflow-scrolling: touch; background: var(--bg); scroll-padding: 0 16px; }
.wk-toc a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex-shrink: 0; background: var(--card-bg); border-radius: 12px; font-size: 18px; text-decoration: none; box-shadow: var(--shadow); border: 1px solid rgba(200,100,150,0.06); transition: all .2s; scroll-snap-align: start; }
.wk-toc a:hover { background: var(--pink-light); transform: translateY(-1px); box-shadow: var(--shadow-lg); }
/* Lang switcher */
.wk-lang-switcher { font-size: 13px; margin-bottom: 12px; }
.wk-lang-switcher a { color: var(--pink); text-decoration: none; }
.wk-lang-switcher a:hover { color: var(--purple); }

/* Tablet (481–768px) */
@media (min-width: 481px) and (max-width: 768px) {
  .wk-page         { max-width: 720px; padding: 28px 24px 48px; }
  .wi-page         { max-width: 720px; padding: 28px 24px 48px; }
  .wk-section      { padding: 28px; }
  .wk-fruit        { padding: 28px; }
}

@media (max-width: 480px) {
  .wk-section:hover, .wk-article:hover, .wk-fruit:hover, .wk-faq:hover { transform: none; }
}

/* ─── Week index page styles (.wi-*) ─── */
.wi-page { max-width: 680px; margin: 0 auto; padding: 28px 16px 48px; }
.wi-hero { text-align: center; margin-bottom: 36px; }
.wi-hero h1 { font-size: 26px; font-weight: 800; color: var(--text); margin: 0 0 10px; letter-spacing: -0.5px; }
.wi-hero p { color: var(--muted); font-size: 15px; margin: 0; line-height: 1.6; }
.wi-list { display: flex; flex-direction: column; gap: 12px; }
.wi-card { display: flex; align-items: center; gap: 16px; background: var(--card-bg); border-radius: 16px; padding: 16px 18px; text-decoration: none; color: var(--text); transition: all .25s cubic-bezier(.4,0,.2,1); box-shadow: var(--shadow); border: 1px solid rgba(200,100,150,0.06); }
.wi-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.wi-week { background: linear-gradient(135deg, #ec4899, #a855f7); color: #fff; border-radius: 50%; width: 54px; height: 54px; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 18px; font-weight: 800; flex-shrink: 0; box-shadow: 0 2px 8px rgba(168,85,247,0.25); }
.wi-week small { font-size: 10px; font-weight: 600; }
.wi-info { display: flex; flex-direction: column; gap: 3px; }
.wi-info strong { font-size: 15px; letter-spacing: -0.1px; }
.wi-info span { font-size: 13px; color: var(--muted); }
.wi-trimester { font-size: 12px; font-weight: 700; color: var(--pink); text-transform: uppercase; letter-spacing: .5px; margin: 24px 0 10px; }
.wi-intro { font-size: 15px; color: var(--muted); line-height: 1.7; margin: -20px 0 28px; padding: 16px 18px; background: var(--card-bg); border-radius: 12px; border-left: 3px solid var(--pink); }

@media (max-width: 480px) {
  .wi-card:hover { transform: none; }
}

/* ─── Scroll animations (AOS replacement) ─── */
[data-aos] {
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-aos].aos-animate { opacity: 1; transform: none; }
[data-aos="fade-up"] { transform: translateY(30px); }
[data-aos="fade-down"] { transform: translateY(-30px); }
[data-aos="zoom-in"] { transform: scale(0.9); }
[data-aos-delay="30"].aos-animate { transition-delay: 30ms; }
[data-aos-delay="60"].aos-animate { transition-delay: 60ms; }
[data-aos-delay="90"].aos-animate { transition-delay: 90ms; }
[data-aos-delay="120"].aos-animate { transition-delay: 120ms; }
[data-aos-delay="150"].aos-animate { transition-delay: 150ms; }
@media (prefers-reduced-motion: reduce) {
  [data-aos] { opacity: 1; transform: none; transition: none; }
}
