/* Science Center — editorial, text-first knowledge library. */
.science-page { --text: #243f32; --text-light: #626a5d; --text-muted: #697260; --primary-light: #4d7159; --border: #dce1d3; }
.science-page #science-main:focus { outline: none; }
.sc-hero { position: relative; background: #f4f0e6; overflow: hidden; }
.sc-hero::before { content: ''; position: absolute; inset: 0 0 0 40%; background: linear-gradient(90deg, #f4f0e6, #f4f0e610 45%), url('../images/home-tea-720.webp') center 55% / cover; }
.sc-hero-inner { position: relative; padding: 28px 0 48px; }
.sc-breadcrumb { display: flex; gap: 12px; color: #626d5c; font-size: 12px; margin-bottom: 28px; }
.sc-hero .home-eyebrow { font-size: 13px; margin-bottom: 10px; }
.science-page .sc-hero h1 { font-size: 48px; line-height: 1.35; letter-spacing: .05em; margin-bottom: 14px; }
.sc-hero-lead { font-size: 17px; color: #56634f; max-width: 48%; line-height: 1.8; }
.sc-section-nav { position: sticky; top: 88px; z-index: 990; display: grid; grid-template-columns: repeat(3, 1fr); background: #f5f2eaf5; border: 1px solid #e9e7dc; border-radius: 14px; margin-top: 24px; backdrop-filter: blur(10px); }
.sc-section-nav a { position: relative; display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 64px; font-size: 15px; }
.sc-section-nav a + a::before { content: ''; height: 28px; width: 1px; background: #dfdfd2; position: absolute; left: 0; }
.sc-section-nav a.active { color: #365a41; font-weight: 600; }
.sc-section-nav a.active::after { content: ''; position: absolute; height: 2px; width: 44%; bottom: 0; background: #4d7159; }
.sc-section-nav .home-icon { width: 26px; height: 26px; }
.sc-section { padding-top: 48px; scroll-margin-top: 180px; }
.sc-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 24px; }
.sc-heading h2 { font-size: 30px; letter-spacing: .015em; margin-bottom: 4px; }
.sc-heading p { font-size: 14px; color: #67715f; line-height: 1.8; }
.sc-section-kicker { font-size: 11px; letter-spacing: .1em; color: #758064; white-space: nowrap; padding-bottom: 5px; }
.science-page .sc-categories { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 12px; border: 0; margin: 0 0 22px; }
.science-page .sc-categories button { border: 1px solid #9aaf98; padding: 10px 25px; border-radius: 24px; min-height: 44px; background: transparent; color: #45613f; font: inherit; font-size: 14px; cursor: pointer; }
.science-page .sc-categories button.active { background: #4d7159; color: #fff; border-color: #4d7159; }
.sc-article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.sc-article-card { display: flex; flex-direction: column; min-width: 0; min-height: 275px; padding: 25px 25px 16px; border: 1px solid #dfe3d6; border-radius: 16px; background: #fffdf8; transition: border-color .2s, box-shadow .2s; cursor: pointer; }
.sc-article-card:hover { border-color: #9cac91; box-shadow: 0 5px 18px #243f3208; }
.sc-article-top { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; min-height: 24px; margin-bottom: 15px; }
.sc-tag, .sc-featured, .sc-audio { padding: 2px 8px; border-radius: 5px; color: #536840; background: #e9eddf; font-size: 11px; line-height: 1.6; }
.sc-featured { color: #93613a; background: #f5e8d4; }
.sc-audio { color: #426e65; background: #e5efea; }
.sc-article-card .article-card-link { display: block; }
.science-page .sc-article-card h3 { font-size: 19px; font-weight: 650; line-height: 1.65; letter-spacing: .005em; margin-bottom: 12px; overflow-wrap: anywhere; }
.sc-summary { color: #68715f; font-size: 13px; line-height: 1.95; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; margin-bottom: 12px; }
.sc-article-meta { display: flex; flex-wrap: wrap; gap: 8px 12px; color: #727a67; font-size: 11px; margin-top: auto; padding-top: 10px; }
.sc-article-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid #e8e9df; padding-top: 9px; margin-top: 13px; }
.sc-article-actions > a { font-size: 13px; font-weight: 600; min-height: 40px; display: flex; align-items: center; gap: 12px; }
.sc-article-actions > a:hover { text-decoration: underline; text-underline-offset: 5px; }
.science-page .fav-btn { min-height: 40px; color: #526749; border-color: #cbd5bf; background: transparent; font-size: 12px; }
.science-page .fav-btn.on { background: #e2ebda; border-color: #90a57f; }
.sc-state { grid-column: 1/-1; border: 1px dashed #cdd5c1; border-radius: 14px; padding: 36px 24px; text-align: center; background: #f6f4ed; color: #65715c; font-size: 14px; }
.sc-state p { margin-top: 6px; }
.sc-retry, .sc-load-more { background: transparent; color: #456441; font: inherit; font-size: 14px; cursor: pointer; border: 1px solid #94aa8c; border-radius: 24px; padding: 10px 25px; min-height: 44px; }
.sc-retry { margin-top: 16px; }
.sc-load-more { grid-column: 1/-1; justify-self: center; margin-top: 5px; }
.sc-videos .video-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.science-page .sc-video-card { background: transparent; border: 0; box-shadow: none; border-radius: 0; }
.science-page .sc-video-card:hover { transform: none; box-shadow: none; }
.sc-video-cover { position: relative; display: block; padding: 0; width: 100%; aspect-ratio: 16/9; border: 0; border-radius: 15px; overflow: hidden; background: #e5eada; color: #537047; cursor: pointer; }
.sc-video-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.sc-video-cover img[hidden] { display: none; }
.sc-video-cover:hover img { transform: scale(1.025); }
.sc-video-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 9px; background: radial-gradient(ellipse at top left,#f4efdf,transparent 70%),#e6ebdc; font-size: 13px; }
.sc-video-cover:has(img:not([hidden])) .sc-video-placeholder { display: none; }
.sc-video-placeholder svg { width: 50px; height: 50px; fill: none; stroke: #718669; stroke-width: 1.4; }
.sc-video-play { display: grid; place-items: center; position: absolute; bottom: 14px; right: 14px; width: 40px; height: 40px; border: 1.5px solid white; border-radius: 50%; background: #233c3290; color: white; padding-left: 2px; font-size: 16px; }
.sc-video-duration { position: absolute; left: 12px; bottom: 12px; background: #263c32c9; color: #fff; font-size: 11px; border-radius: 5px; padding: 2px 7px; }
.sc-video-body { padding-top: 14px; }
.science-page .sc-video-body h3 { font-size: 18px; line-height: 1.65; margin-bottom: 7px; overflow-wrap: anywhere; }
.sc-video-body p { color: #697460; font-size: 13px; line-height: 1.85; }
.sc-video-actions { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; gap: 15px; }
.sc-video-open { padding: 6px 0; min-height: 40px; border: 0; background: none; font: inherit; font-size: 13px; font-weight: 600; color: #456441; cursor: pointer; }
.sc-video-open:hover { text-decoration: underline; text-underline-offset: 5px; }
.sc-quiz-banner { display: flex; align-items: center; justify-content: space-between; gap: 48px; background: #eaf0df; border-radius: 20px; padding: 35px 40px; }
.sc-quiz-copy { max-width: 670px; }
.sc-quiz-copy .home-eyebrow { font-size: 12px; margin-bottom: 10px; }
.science-page .sc-quiz-copy h3 { font-size: 27px; margin-bottom: 12px; }
.sc-quiz-copy p:not(.home-eyebrow) { color: #65725b; font-size: 14px; line-height: 1.9; margin-bottom: 20px; }
.sc-quiz-art { position: relative; width: 220px; height: 170px; flex-shrink: 0; color: #6b885e; }
.sc-quiz-art > .home-icon:first-child { position: absolute; width: 165px; height: 165px; stroke-width: .65; inset: 0; transform: rotate(-8deg); }
.sc-quiz-art > .home-icon:last-child { position: absolute; width: 64px; height: 64px; right: 0; bottom: 2px; color: #9fae84; }
.sc-quiz-check { position: absolute; right: 18px; top: 2px; border: 1px solid #759469; background: #f9f7eb; border-radius: 50%; width: 55px; height: 55px; font-size: 30px; display: grid; place-items: center; transform: rotate(8deg); }
.science-page #interactive { padding-bottom: 48px; }
.science-page .modal { border-radius: 20px; background: #fffdf8; }
.science-page .modal .close-btn { color: #4e6446; width: 44px; height: 44px; line-height: 1; border-radius: 50%; background: #eef0e6; }
.science-page .modal .close-btn:focus-visible { outline: 3px solid #ad572d; }
html[lang="en"] .science-page .sc-article-card h3 { font-size: 18px; }
@media (max-width: 1200px) { .sc-section-nav { top: 76px; } .sc-section { scroll-margin-top: 168px; } }
@media (max-width: 960px) { .sc-article-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .sc-quiz-art { width: 170px; } .sc-hero::before { left: 28%; opacity: .5; } .sc-hero-lead { max-width: 65%; } .sc-section-kicker { display: none; } }
@media (max-width: 760px) {
  .sc-hero-inner { padding: 20px 0 32px; }
  .sc-breadcrumb { margin-bottom: 23px; }
  .science-page .sc-hero h1 { font-size: 36px; }
  .sc-hero-lead { max-width: 90%; font-size: 14px; }
  .sc-hero::before { left: 10%; opacity: .28; }
  .sc-section-nav { margin-top: 18px; }
  .sc-section-nav a { min-height: 62px; flex-direction: column; gap: 3px; font-size: 12px; padding: 8px 4px; text-align: center; }
  .sc-section-nav .home-icon { width: 21px; height: 21px; }
  .sc-section { padding-top: 32px; }
  .sc-heading { margin-bottom: 19px; }
  .sc-heading h2 { font-size: 25px; }
  .sc-heading p { font-size: 13px; }
  .science-page .sc-categories { gap: 8px; }
  .science-page .sc-categories button { padding: 8px 15px; font-size: 13px; }
  .sc-article-grid, .sc-videos .video-grid { grid-template-columns: 1fr; gap: 16px; }
  .sc-article-card { padding: 22px 22px 14px; min-height: 240px; }
  .science-page .sc-article-card h3 { font-size: 19px; }
  .sc-quiz-banner { padding: 26px 24px; gap: 0; }
  .sc-quiz-art { display: none; }
  .science-page .sc-quiz-copy h3 { font-size: 23px; }
  .science-page .modal { padding: 20px; width: calc(100% - 24px); max-height: 90dvh; }
  .science-page .sc-article-actions .fav-btn, .science-page .sc-video-actions .fav-btn { min-height: 44px; }
}
