/*
Theme Name: Wan Lab
Theme URI: https://immunerxprime.com
Author: Wan Lab
Description: A responsive academic laboratory theme for Wan Lab at the School of Pharmaceutical Sciences, Sun Yat-sen University.
Version: 1.8.1
Requires at least: 6.6
Tested up to: 7.0
Requires PHP: 8.0
License: GPLv2 or later
Text Domain: wanlab
*/

:root {
  --wl-navy: #0b2438;
  --wl-navy-2: #153c52;
  --wl-teal: #147d80;
  --wl-teal-soft: #d9efec;
  --wl-gold: #d8a43b;
  --wl-ink: #17242d;
  --wl-muted: #5d6b73;
  --wl-paper: #fbfaf6;
  --wl-white: #ffffff;
  --wl-line: #dce3e4;
  --wl-shadow: 0 18px 45px rgba(11, 36, 56, .10);
  --wl-radius: 18px;
  --wl-max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--wl-ink);
  background: var(--wl-paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--wl-teal); text-decoration-thickness: .08em; text-underline-offset: .16em; }
a:hover { color: var(--wl-navy); }
h1, h2, h3, h4, h5, h6 {
  color: var(--wl-navy);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.16;
  margin: 0 0 .7em;
}
h1 { font-size: clamp(2.55rem, 6vw, 5.6rem); letter-spacing: -.045em; }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); letter-spacing: -.028em; }
h3 { font-size: clamp(1.35rem, 2vw, 1.8rem); }
p { margin: 0 0 1.25em; }
.wl-container { width: min(calc(100% - 40px), var(--wl-max)); margin-inline: auto; }
.wl-narrow { width: min(calc(100% - 40px), 820px); margin-inline: auto; }
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus {
  clip: auto !important; width: auto; height: auto; padding: 12px 18px;
  top: 8px; left: 8px; z-index: 9999; background: #fff; color: #000;
}

/* Header */
.wl-topline { background: var(--wl-navy); color: rgba(255,255,255,.78); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.wl-topline .wl-container { display: flex; justify-content: space-between; gap: 20px; padding-block: 8px; }
.wl-topline a { color: #fff; text-decoration: none; }
.wl-site-header { position: relative; z-index: 30; background: rgba(251,250,246,.96); border-bottom: 1px solid var(--wl-line); }
.wl-header-inner { min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.wl-brand { display: inline-flex; align-items: center; gap: 14px; color: var(--wl-navy); text-decoration: none; min-width: 250px; }
.wl-brand-mark {
  display: grid; place-items: center; width: 54px; height: 54px; flex: 0 0 auto;
  border-radius: 50%; color: #fff; background: var(--wl-teal); font: 700 1.85rem/1 Georgia, serif;
  box-shadow: inset 0 0 0 5px rgba(255,255,255,.18);
}
.wl-brand--custom { min-width: 0; flex: 0 1 auto; }
.wl-custom-logo {
  display: block; width: auto; height: auto;
  max-width: min(340px, 32vw); max-height: 74px; object-fit: contain;
}
.wl-brand-name { display: block; font: 700 1.3rem/1.1 Georgia, serif; }
.wl-brand-school { display: block; margin-top: 5px; color: var(--wl-muted); font-size: .7rem; letter-spacing: .035em; line-height: 1.3; }
.wl-nav { display: flex; align-items: center; }
.wl-nav ul { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 34px); list-style: none; margin: 0; padding: 0; }
.wl-nav a { position: relative; color: var(--wl-navy); font-size: .88rem; font-weight: 700; letter-spacing: .035em; text-decoration: none; }
.wl-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px; background: var(--wl-gold); transition: right .2s ease; }
.wl-nav a:hover::after, .wl-nav .current-menu-item > a::after, .wl-nav .current_page_item > a::after { right: 0; }
.wl-menu-toggle { display: none; border: 0; background: var(--wl-navy); color: #fff; border-radius: 10px; padding: 10px 13px; font-weight: 700; cursor: pointer; }

/* Hero */
.wl-hero { overflow: hidden; position: relative; background: var(--wl-navy); color: #fff; }
.wl-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 78% 30%, rgba(20,125,128,.32), transparent 30%), linear-gradient(120deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: auto, 34px 34px;
}
.wl-hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; align-items: center; min-height: 620px; padding-block: 88px; }
.wl-eyebrow { margin-bottom: 20px; color: #94d9d3; font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.wl-hero h1 { color: #fff; max-width: 820px; }
.wl-hero-copy { max-width: 680px; color: rgba(255,255,255,.76); font-size: clamp(1.05rem, 1.6vw, 1.25rem); }
.wl-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.wl-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 21px; border: 1px solid var(--wl-teal); border-radius: 999px;
  background: var(--wl-teal); color: #fff; font-size: .84rem; font-weight: 800; letter-spacing: .045em; text-decoration: none;
}
.wl-button:hover { background: #0d6668; border-color: #0d6668; color: #fff; }
.wl-button--ghost { background: transparent; border-color: rgba(255,255,255,.38); }
.wl-button--ghost:hover { background: #fff; border-color: #fff; color: var(--wl-navy); }
.wl-hero-art { position: relative; min-height: 390px; display: grid; place-items: center; }
.wl-orbit { position: absolute; border: 1px solid rgba(255,255,255,.17); border-radius: 50%; }
.wl-orbit--one { width: 360px; height: 360px; }
.wl-orbit--two { width: 250px; height: 250px; transform: rotate(30deg); }
.wl-orbit::before, .wl-orbit::after { content: ""; position: absolute; width: 16px; height: 16px; border-radius: 50%; background: var(--wl-gold); box-shadow: 0 0 0 8px rgba(216,164,59,.13); }
.wl-orbit::before { top: 14%; left: 12%; }
.wl-orbit::after { right: 6%; bottom: 20%; background: #76d2ca; }
.wl-hero-seal { position: relative; display: grid; place-items: center; width: 170px; height: 170px; overflow: hidden; border-radius: 50%; background: var(--wl-paper); color: var(--wl-navy); text-align: center; box-shadow: 0 20px 70px rgba(0,0,0,.28); }
.wl-hero-seal--image { background: transparent; }
.wl-hero-seal--image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.wl-hero-seal strong { display: block; font: 700 2rem/1 Georgia, serif; }
.wl-hero-seal span { display: block; margin-top: 8px; font-size: .68rem; font-weight: 800; letter-spacing: .15em; }

/* Sections and cards */
.wl-section { padding-block: 92px; }
.wl-section--white { background: #fff; }
.wl-section--tint { background: #edf4f1; }
.wl-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 42px; }
.wl-section-heading p { max-width: 600px; margin: 0; color: var(--wl-muted); }
.wl-kicker { color: var(--wl-teal); font-size: .72rem; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.wl-intro-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.wl-intro-copy { font-size: 1.12rem; }
.wl-rule { width: 70px; height: 4px; margin: 24px 0; background: var(--wl-gold); }
.wl-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 46px; background: var(--wl-line); border: 1px solid var(--wl-line); }
.wl-stat { padding: 24px; background: #fff; }
.wl-stat strong { display: block; color: var(--wl-navy); font: 700 2.1rem/1 Georgia, serif; }
.wl-stat span { display: block; margin-top: 9px; color: var(--wl-muted); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.wl-news-grid, .wl-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.wl-news-card, .wl-member-card {
  overflow: hidden; background: #fff; border: 1px solid var(--wl-line); border-radius: var(--wl-radius); box-shadow: 0 8px 28px rgba(11,36,56,.055);
  transition: transform .22s ease, box-shadow .22s ease;
}
.wl-news-card:hover, .wl-member-card:hover { transform: translateY(-4px); box-shadow: var(--wl-shadow); }
.wl-card-image { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, var(--wl-teal-soft), #fff); }
.wl-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.wl-news-card:hover .wl-card-image img { transform: scale(1.035); }
.wl-card-placeholder { width: 100%; height: 100%; background: radial-gradient(circle at 65% 35%, rgba(216,164,59,.55) 0 6%, transparent 7%), radial-gradient(circle at 35% 60%, rgba(20,125,128,.35) 0 12%, transparent 13%), linear-gradient(135deg, #e6f3ef, #f8f0d9); }
.wl-card-body { padding: 25px; }
.wl-meta { display: flex; flex-wrap: wrap; gap: 10px; color: var(--wl-muted); font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.wl-card-title { margin: 13px 0 12px; font-size: 1.42rem; }
.wl-card-title a { color: var(--wl-navy); text-decoration: none; }
.wl-read-more { font-size: .78rem; font-weight: 850; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.wl-empty { padding: 38px; background: #fff; border: 1px dashed #aab8ba; border-radius: var(--wl-radius); color: var(--wl-muted); text-align: center; }

/* News archive */
.wl-news-archive { padding-block: 72px 100px; }
.wl-news-archive-layout { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: clamp(34px, 5vw, 70px); align-items: start; }
.wl-news-year-index-inner { position: sticky; top: 24px; }
.wl-news-year-index-title {
  margin: 0; padding: 13px 16px; border-radius: 10px 10px 0 0;
  background: var(--wl-navy); color: #fff; font-size: .76rem; font-weight: 850; letter-spacing: .1em; text-align: center; text-transform: uppercase;
}
.wl-news-year-index ul { display: grid; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.wl-news-year-index a {
  display: block; padding: 10px 14px; border: 1px solid var(--wl-line); border-radius: 9px;
  background: #fff; color: var(--wl-navy); font: 700 1.05rem/1.3 Georgia, "Times New Roman", serif; text-align: center; text-decoration: none;
}
.wl-news-year-index a:hover, .wl-news-year-index a:focus { border-color: var(--wl-teal); color: var(--wl-teal); }
.wl-news-year-group { margin-bottom: 68px; scroll-margin-top: 28px; }
.wl-news-year-group:last-child { margin-bottom: 0; }
.wl-news-year-heading { display: flex; align-items: center; gap: 18px; margin-bottom: 24px; color: var(--wl-teal); font-size: 2rem; }
.wl-news-year-heading::after { content: ""; height: 1px; flex: 1; background: var(--wl-line); }
.wl-news-list { display: grid; gap: 20px; }
.wl-news-list-card {
  display: grid; grid-template-columns: minmax(220px, 31%) minmax(0, 1fr); overflow: hidden;
  background: #fff; border: 1px solid var(--wl-line); border-radius: var(--wl-radius); box-shadow: 0 8px 28px rgba(11,36,56,.05);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.wl-news-list-card:hover { border-color: rgba(20,125,128,.46); box-shadow: 0 14px 36px rgba(11,36,56,.08); }
.wl-news-list-image { min-height: 230px; overflow: hidden; background: var(--wl-teal-soft); }
.wl-news-list-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.wl-news-list-card:hover .wl-news-list-image img { transform: scale(1.025); }
.wl-news-list-body { display: flex; flex-direction: column; align-items: flex-start; padding: 28px 30px; }
.wl-news-list-body h3 { margin: 12px 0 18px; font-size: clamp(1.35rem, 2.2vw, 1.75rem); }
.wl-news-list-body h3 a { color: var(--wl-navy); text-decoration: none; }
.wl-news-list-body h3 a:hover { color: var(--wl-teal); }
.wl-news-list-body .wl-read-more { margin-top: auto; }
.wl-news-single-image { overflow: hidden; border-radius: var(--wl-radius); box-shadow: var(--wl-shadow); }
.wl-news-single-image img { display: block; width: 100%; }
.wl-news-source { max-width: 820px; margin: 42px auto 0; padding-top: 26px; border-top: 1px solid var(--wl-line); }

/* Interior */
.wl-page-hero { position: relative; overflow: hidden; padding-block: 84px 72px; background: var(--wl-navy); color: #fff; }
.wl-page-hero::after { content: ""; position: absolute; width: 330px; height: 330px; right: 8%; top: -190px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; box-shadow: 0 0 0 55px rgba(255,255,255,.025), 0 0 0 110px rgba(255,255,255,.02); }
.wl-page-hero h1 { position: relative; z-index: 1; color: #fff; font-size: clamp(2.8rem, 6vw, 5rem); }
.wl-page-hero p { position: relative; z-index: 1; max-width: 660px; color: rgba(255,255,255,.72); }
.wl-content { padding-block: 72px 100px; }
.wl-prose { font-size: 1.07rem; }
.wl-prose > * { max-width: 820px; margin-inline: auto; }
.wl-prose > .alignwide { max-width: var(--wl-max); }
.wl-prose > .alignfull { max-width: none; }
.wl-prose h2, .wl-prose h3 { margin-top: 1.5em; }
.wl-prose blockquote { padding: 24px 30px; border-left: 4px solid var(--wl-gold); background: #fff; color: var(--wl-muted); }
.wl-prose figure { margin-block: 34px; }

/* People */
.wl-group { margin-bottom: 72px; }
.wl-group-title { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; font-size: 1.8rem; }
.wl-group-title::after { content: ""; height: 1px; flex: 1; background: var(--wl-line); }
.wl-member-card { display: grid; grid-template-columns: 150px 1fr; min-height: 190px; }
.wl-member-photo { background: var(--wl-teal-soft); }
.wl-member-photo img { width: 100%; height: 100%; object-fit: cover; }
.wl-member-photo .wl-card-placeholder { aspect-ratio: 1 / 1.25; }
.wl-member-info { padding: 24px; }
.wl-member-info h3 { margin-bottom: 7px; font-size: 1.45rem; }
.wl-member-info h3 a { color: var(--wl-navy); text-decoration: none; }
.wl-role { color: var(--wl-teal); font-size: .82rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.wl-member-email { margin-top: 14px; font-size: .87rem; overflow-wrap: anywhere; }
.wl-profile { display: grid; grid-template-columns: 340px 1fr; gap: clamp(40px, 7vw, 90px); align-items: start; }
.wl-profile-photo { overflow: hidden; border-radius: var(--wl-radius); background: var(--wl-teal-soft); box-shadow: var(--wl-shadow); }
.wl-profile-photo img { display: block; width: 100%; }
.wl-profile-meta { margin: 24px 0; padding: 22px 0; border-block: 1px solid var(--wl-line); }
.wl-profile-role { margin-bottom: 16px; color: var(--wl-navy); font: 700 clamp(1.4rem, 2.4vw, 1.85rem)/1.2 Georgia, "Times New Roman", serif; }
.wl-profile-links { display: flex; flex-wrap: wrap; gap: 9px; }
.wl-member-details-sections { padding: 0 0 42px; }
.wl-member-detail-section { margin-bottom: 52px; }
.wl-member-detail-copy { font-size: 1.04rem; line-height: 1.8; }
.wl-member-detail-copy > :last-child { margin-bottom: 0; }
.wl-member-detail-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.wl-member-detail-list li { padding: 16px 20px; border-left: 3px solid var(--wl-gold); background: #fff; box-shadow: 0 6px 20px rgba(11,36,56,.045); line-height: 1.65; }
.wl-member-detail-list span { color: var(--wl-muted); }
.wl-member-publications-section { padding: 0 0 100px; }
.wl-member-publication h3 a { color: var(--wl-teal); }
.wl-pill { display: inline-flex; padding: 7px 12px; border: 1px solid var(--wl-line); border-radius: 999px; background: #fff; font-size: .78rem; font-weight: 700; text-decoration: none; }

/* Publications */
.wl-year-block { display: grid; grid-template-columns: 120px 1fr; gap: 26px; margin-bottom: 44px; }
.wl-year { position: sticky; top: 24px; align-self: start; color: var(--wl-teal); font-size: 2rem; }
.wl-publication { padding: 0 0 20px; margin-bottom: 20px; border-bottom: 1px solid var(--wl-line); }
.wl-publication:last-child { margin-bottom: 0; }
.wl-publication h3 { margin-bottom: 7px; font-size: 1.38rem; }
.wl-publication p { margin-bottom: 7px; }
.wl-authors { color: var(--wl-muted); line-height: 1.55; }
.wl-journal { margin-top: 9px; font-weight: 750; line-height: 1.5; }
.wl-citation-separator { margin-inline: .45em; color: var(--wl-muted); }
.wl-inline-doi { color: var(--wl-teal); font-weight: 800; text-decoration: none; }
.wl-inline-doi:hover { text-decoration: underline; }
.wl-lab-authors { margin-top: 7px; color: var(--wl-ink); line-height: 1.5; }
.wl-lab-authors a { color: var(--wl-teal); font-weight: 700; text-decoration: none; }
.wl-lab-authors a:hover { text-decoration: underline; }
.wl-publication-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }

/* Tools & Resources */
.wl-tools-content { padding-block: 72px 100px; }
.wl-resource-featured-list { margin-bottom: 68px; }
.wl-resource-group { margin-bottom: 62px; }
.wl-resource-group:last-child { margin-bottom: 0; }
.wl-resource-group .wl-group-title { margin-bottom: 24px; font-size: clamp(1.6rem, 2.4vw, 2rem); }
.wl-resource-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.wl-resource-card {
  display: flex; flex-direction: column; min-height: 270px; padding: 30px;
  background: #fff; border: 1px solid var(--wl-line); border-radius: var(--wl-radius);
  box-shadow: 0 8px 28px rgba(11,36,56,.05);
}
.wl-resource-card h3 { margin: 16px 0 12px; font-size: clamp(1.5rem, 2.5vw, 2rem); }
.wl-resource-card > p { max-width: 760px; margin-bottom: 26px; color: var(--wl-muted); line-height: 1.65; }
.wl-resource-meta { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.wl-resource-type {
  display: inline-flex; padding: 6px 10px; border-radius: 999px;
  background: var(--wl-teal-soft); color: var(--wl-teal);
  font-size: .7rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase;
}
.wl-resource-year { color: var(--wl-muted); font-size: .8rem; font-weight: 750; }
.wl-resource-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: auto; }
.wl-resource-link {
  display: inline-flex; align-items: center; min-height: 40px; padding: 8px 13px;
  border: 1px solid var(--wl-line); border-radius: 999px; background: transparent;
  color: var(--wl-navy); font-size: .76rem; font-weight: 800; letter-spacing: .025em; text-decoration: none;
}
.wl-resource-link:hover { border-color: var(--wl-teal); color: var(--wl-teal); }
.wl-resource-link--primary { border-color: var(--wl-teal); background: var(--wl-teal); color: #fff; }
.wl-resource-link--primary:hover { border-color: var(--wl-navy); background: var(--wl-navy); color: #fff; }
.wl-resource-card--featured {
  position: relative; overflow: hidden; min-height: 340px; padding: clamp(34px, 5vw, 58px);
  background: linear-gradient(125deg, var(--wl-navy), var(--wl-navy-2)); border-color: transparent;
  box-shadow: var(--wl-shadow);
}
.wl-resource-card--featured::after {
  content: ""; position: absolute; width: 260px; height: 260px; right: -80px; top: -105px;
  border: 1px solid rgba(255,255,255,.13); border-radius: 50%;
  box-shadow: 0 0 0 42px rgba(255,255,255,.025), 0 0 0 84px rgba(255,255,255,.018);
}
.wl-resource-card--featured > * { position: relative; z-index: 1; }
.wl-resource-card--featured h3 { max-width: 760px; color: #fff; font-size: clamp(2.2rem, 4vw, 3.6rem); }
.wl-resource-card--featured > p { color: rgba(255,255,255,.76); font-size: 1.06rem; }
.wl-resource-card--featured .wl-resource-type { background: rgba(118,210,202,.14); color: #94d9d3; }
.wl-resource-card--featured .wl-resource-year { color: rgba(255,255,255,.68); }
.wl-resource-card--featured .wl-resource-link { border-color: rgba(255,255,255,.28); color: #fff; }
.wl-resource-card--featured .wl-resource-link:hover { border-color: #fff; background: #fff; color: var(--wl-navy); }
.wl-resource-card--featured .wl-resource-link--primary { border-color: var(--wl-gold); background: var(--wl-gold); color: var(--wl-navy); }

/* Footer */
.wl-footer { padding: 64px 0 28px; background: #081c2c; color: rgba(255,255,255,.68); }
.wl-footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 50px; }
.wl-footer h2, .wl-footer h3 { color: #fff; }
.wl-footer h2 { font-size: 1.8rem; }
.wl-footer h3 { font: 800 .75rem/1.2 Inter, sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.wl-footer ul { list-style: none; margin: 0; padding: 0; }
.wl-footer li { margin-bottom: 8px; }
.wl-footer a { color: rgba(255,255,255,.82); text-decoration: none; }
.wl-footer a:hover { color: #fff; }
.wl-footer-bottom { display: flex; justify-content: space-between; gap: 24px; margin-top: 50px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.13); font-size: .76rem; }

@media (max-width: 980px) {
  .wl-menu-toggle { display: inline-flex; }
  .wl-header-inner { min-height: 88px; }
  .wl-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 18px 20px 26px; background: var(--wl-paper); border-bottom: 1px solid var(--wl-line); box-shadow: var(--wl-shadow); }
  .wl-nav.is-open { display: block; }
  .wl-nav ul { align-items: stretch; flex-direction: column; gap: 0; }
  .wl-nav li { border-bottom: 1px solid var(--wl-line); }
  .wl-nav a { display: block; padding: 13px 4px; }
  .wl-nav a::after { display: none; }
  .wl-hero-grid { grid-template-columns: 1fr; min-height: auto; padding-block: 72px; }
  .wl-hero-art { display: none; }
  .wl-intro-grid, .wl-profile { grid-template-columns: 1fr; }
  .wl-profile-photo { max-width: 420px; }
  .wl-news-grid, .wl-card-grid { grid-template-columns: repeat(2, 1fr); }
  .wl-resource-grid { grid-template-columns: 1fr; }
  .wl-news-archive-layout { grid-template-columns: 1fr; }
  .wl-news-year-index-inner { position: static; }
  .wl-news-year-index-title { display: inline-flex; border-radius: 9px; }
  .wl-news-year-index ul { display: flex; flex-wrap: wrap; }
  .wl-news-year-index a { min-width: 86px; }
  .wl-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .wl-container, .wl-narrow { width: min(calc(100% - 28px), var(--wl-max)); }
  .wl-topline .wl-container { justify-content: center; text-align: center; }
  .wl-topline span:last-child { display: none; }
  .wl-brand-school { max-width: 220px; }
  .wl-custom-logo { max-width: 230px; max-height: 58px; }
  .wl-section { padding-block: 64px; }
  .wl-section-heading { align-items: start; flex-direction: column; }
  .wl-news-grid, .wl-card-grid, .wl-stats { grid-template-columns: 1fr; }
  .wl-news-archive { padding-block: 52px 72px; }
  .wl-news-list-card { grid-template-columns: 1fr; }
  .wl-news-list-image { min-height: 0; aspect-ratio: 16 / 9; }
  .wl-news-list-body { padding: 23px; }
  .wl-member-card { grid-template-columns: 110px 1fr; }
  .wl-member-info { padding: 18px; }
  .wl-member-info h3 { font-size: 1.2rem; }
  .wl-year-block { grid-template-columns: 1fr; gap: 12px; }
  .wl-year { position: static; }
  .wl-tools-content { padding-block: 52px 72px; }
  .wl-resource-featured-list, .wl-resource-group { margin-bottom: 48px; }
  .wl-resource-card { min-height: 0; padding: 24px; }
  .wl-resource-card--featured { padding: 30px 24px; }
  .wl-footer-grid { grid-template-columns: 1fr; }
  .wl-footer-bottom { flex-direction: column; }
}
