/* ==========================================================================
   巴中教育网 (www.bzedu.com.cn) — 现代老区教育门户样式系统
   本地化零外部CDN依赖 · 移动优先兼容 375px 无横向滚动
   ========================================================================== */

:root {
  --navy-950: #0a2842;
  --navy-900: #0f3d63;
  --navy-800: #164e7c;
  --navy-700: #1e649c;
  --navy-100: #e8f1f8;
  --navy-50:  #f3f7fb;

  --amber-600: #d97706;
  --amber-500: #e87d20;
  --amber-100: #fef3c7;
  --amber-50:  #fffbeb;

  --teal-700: #0f766e;
  --teal-600: #0d9488;
  --teal-100: #ccfbf1;
  --teal-50:  #f0fdfa;

  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --bg-page:   #f6f8fb;
  --surface:   #ffffff;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 61, 99, 0.08);
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--slate-800);
  background-color: var(--bg-page);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--navy-900);
  text-decoration: none;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

a:hover {
  color: var(--amber-500);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Top Utility Bar ---------- */
.top-utility {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
}

.top-utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 36px;
  padding-top: 4px;
  padding-bottom: 4px;
}

.top-motto {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dot-amber {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber-500);
  flex-shrink: 0;
}

.top-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.top-links a {
  color: rgba(255, 255, 255, 0.85);
}

.top-links a:hover {
  color: #fde68a;
}

.top-links .sep {
  color: rgba(255, 255, 255, 0.25);
}

/* ---------- Header & Navigation ---------- */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--slate-200);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 74px;
}

.brand-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  padding: 8px 13px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--slate-700);
  white-space: nowrap;
}

.main-nav a:hover {
  color: var(--navy-900);
  background: var(--navy-50);
}

.main-nav a.is-active {
  color: var(--navy-900);
  background: var(--navy-100);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header-search {
  display: flex;
  align-items: center;
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  border-radius: 999px;
  padding: 3px 6px 3px 14px;
  width: 210px;
  transition: border-color 0.2s, background-color 0.2s;
}

.header-search:focus-within {
  background: #fff;
  border-color: var(--navy-700);
}

.header-search input {
  border: 0;
  background: transparent;
  outline: none;
  font-size: 13px;
  color: var(--slate-800);
  width: 100%;
  min-width: 0;
}

.header-search button {
  border: 0;
  background: var(--navy-900);
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.header-search button:hover {
  background: var(--amber-500);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--slate-200);
  border-radius: 8px;
  background: #fff;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy-900);
  border-radius: 2px;
}

.mobile-drawer {
  background: var(--surface);
  border-bottom: 1px solid var(--slate-200);
  box-shadow: var(--shadow-md);
}

.mobile-drawer-inner {
  padding-top: 14px;
  padding-bottom: 18px;
}

.mobile-search {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.mobile-search input {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--slate-300);
  border-radius: 8px;
  font-size: 14px;
}

.mobile-search button {
  padding: 10px 16px;
  border: 0;
  border-radius: 8px;
  background: var(--navy-900);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.mobile-nav-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.mobile-nav-grid a {
  padding: 10px 12px;
  background: var(--slate-100);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--slate-800);
  text-align: center;
}

/* ---------- Announcement Banner (Mandatory under Nav) ---------- */
.announce-bar {
  background: linear-gradient(90deg, #fff7ed 0%, #fffbeb 55%, #f0f9ff 100%);
  border-bottom: 1px solid #fed7aa;
}

.announce-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
  padding-top: 6px;
  padding-bottom: 6px;
}

.announce-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.announce-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--amber-500);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  flex-shrink: 0;
}

.announce-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy-950);
}

.announce-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  font-size: 13px;
}

.announce-right a {
  color: var(--navy-800);
  font-weight: 500;
}

.announce-right a:hover {
  color: var(--amber-600);
  text-decoration: underline;
}

/* ---------- Buttons & Pills ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--navy-900);
  color: #fff;
}

.btn-primary:hover {
  background: var(--navy-800);
  color: #fff;
}

.btn-amber {
  background: var(--amber-500);
  color: #fff;
}

.btn-amber:hover {
  background: var(--amber-600);
  color: #fff;
}

.btn-teal {
  background: var(--teal-700);
  color: #fff;
}

.btn-teal:hover {
  background: var(--teal-600);
  color: #fff;
}

.btn-ghost {
  background: #fff;
  border-color: var(--slate-300);
  color: var(--slate-700);
}

.btn-ghost:hover {
  border-color: var(--navy-900);
  color: var(--navy-900);
}

.btn-block {
  width: 100%;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.pill-amber { background: var(--amber-500); color: #fff; }
.pill-amber-soft { background: var(--amber-100); color: #92400e; }
.pill-navy { background: var(--navy-900); color: #fff; }
.pill-soft { background: var(--slate-100); color: var(--slate-700); }
.pill-glass { background: rgba(10, 40, 66, 0.78); color: #fff; }

.cat-badge {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 600;
  background: var(--navy-100);
  color: var(--navy-900);
}

.cat-badge.cat-teal { background: var(--teal-100); color: var(--teal-700); }
.cat-badge.cat-amber { background: var(--amber-100); color: #9a3412; }
.cat-badge.cat-blue { background: #dbeafe; color: #1d4ed8; }
.cat-badge.cat-green { background: #dcfce7; color: #166534; }
.cat-badge.cat-slate { background: #e2e8f0; color: #334155; }

.dist-badge, .stage-badge, .rural-badge, .ai-badge, .level-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 600;
}

.dist-badge { background: var(--slate-100); color: var(--slate-700); }
.stage-badge { background: #eff6ff; color: #1e40af; }
.rural-badge { background: var(--teal-100); color: var(--teal-700); }
.ai-badge { background: var(--amber-100); color: #b45309; }
.level-tag { background: var(--navy-50); color: var(--navy-900); border: 1px solid var(--navy-100); }

/* ---------- Hero Section ---------- */
.hero-section {
  padding: 26px 0 18px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}

.hero-main-card {
  background: var(--surface);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.hero-visual {
  position: relative;
  background: var(--navy-950);
  aspect-ratio: 16 / 7;
  overflow: hidden;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-visual-overlay {
  position: absolute;
  top: 14px;
  left: 16px;
  display: flex;
  gap: 8px;
}

.hero-body {
  padding: 20px 24px 18px;
}

.hero-title {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.35;
  color: var(--slate-900);
}

.hero-title a {
  color: var(--slate-900);
}

.hero-title a:hover {
  color: var(--navy-700);
}

.hero-summary {
  margin: 0 0 14px;
  font-size: 14.5px;
  color: var(--slate-600);
}

.hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
  color: var(--slate-500);
}

.read-more-link {
  margin-left: auto;
  font-weight: 600;
  color: var(--navy-900);
}

.hero-sub-list {
  border-top: 1px solid var(--slate-200);
  background: #fafcfe;
  padding: 10px 24px 14px;
  margin-top: auto;
}

.hero-sub-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--slate-200);
  font-size: 14px;
}

.hero-sub-item:last-child {
  border-bottom: 0;
}

.sub-cat {
  font-size: 12px;
  font-weight: 600;
  color: var(--navy-800);
  background: var(--navy-100);
  padding: 2px 8px;
  border-radius: 4px;
  flex-shrink: 0;
}

.sub-title {
  flex: 1;
  min-width: 0;
  color: var(--slate-800);
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-sub-item:hover .sub-title {
  color: var(--amber-600);
}

.sub-date {
  font-size: 12px;
  color: var(--slate-500);
  flex-shrink: 0;
}

/* Right Service Panel */
.hero-service-panel {
  background: linear-gradient(160deg, #0f3d63 0%, #0a2842 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 22px 22px 20px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.panel-head h2 {
  margin: 0;
  font-size: 20px;
  color: #fff;
}

.panel-tag {
  font-size: 12px;
  font-weight: 600;
  background: rgba(232, 125, 32, 0.22);
  color: #fde68a;
  border: 1px solid rgba(253, 230, 138, 0.3);
  padding: 3px 10px;
  border-radius: 999px;
}

.panel-lead {
  margin: 0 0 16px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.55;
}

.quick-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.qs-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: 11px 11px;
  color: #fff;
}

.qs-card:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(253, 230, 138, 0.45);
  color: #fff;
}

.qs-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
  color: #fff;
}

.qs-navy { background: #2563eb; }
.qs-teal { background: #0d9488; }
.qs-amber { background: #e87d20; }
.qs-blue { background: #0284c7; }
.qs-slate { background: #475569; }
.qs-green { background: #16a34a; }

.qs-info {
  min-width: 0;
}

.qs-info strong {
  display: block;
  font-size: 13.5px;
  line-height: 1.3;
  margin-bottom: 3px;
}

.qs-info span {
  display: block;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.35;
}

.hero-kpi-bar {
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  text-align: center;
}

.kpi-item strong {
  display: block;
  font-size: 20px;
  color: #fde68a;
  line-height: 1.2;
}

.kpi-item span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
}

/* ---------- Sections ---------- */
.section-block {
  padding: 28px 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.section-eyebrow {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--navy-700);
  margin-bottom: 4px;
}

.eyebrow-teal { color: var(--teal-700); }
.eyebrow-amber { color: var(--amber-600); }

.section-head h2 {
  margin: 0;
  font-size: 22px;
  color: var(--slate-900);
}

.section-more {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy-800);
}

/* 4-column Rural Cards */
.card-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.editorial-card {
  background: var(--surface);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.card-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--navy-900);
  overflow: hidden;
}

.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  font-size: 11.5px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 5px;
  color: #fff;
}

.badge-teal { background: rgba(15, 118, 110, 0.92); }

.card-content {
  padding: 15px 16px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-content h3 {
  margin: 0 0 8px;
  font-size: 15.5px;
  line-height: 1.4;
}

.card-content h3 a {
  color: var(--slate-900);
}

.card-content h3 a:hover {
  color: var(--navy-700);
}

.card-content p {
  margin: 0 0 12px;
  font-size: 13.5px;
  color: var(--slate-600);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-foot {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--slate-500);
  padding-top: 10px;
  border-top: 1px solid var(--slate-100);
}

/* ---------- AI+ Smart Education Band ---------- */
.ai-banner-box {
  background: var(--surface);
  border: 1px solid var(--slate-200);
  border-top: 4px solid var(--amber-500);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}

.ai-banner-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.ai-banner-head h2 {
  margin: 0 0 6px;
  font-size: 22px;
  color: var(--slate-900);
}

.ai-intro {
  margin: 0;
  max-width: 720px;
  font-size: 14.5px;
  color: var(--slate-600);
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.roadmap-step {
  background: var(--bg-page);
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  padding: 14px 16px;
}

.roadmap-step.is-current {
  background: linear-gradient(135deg, #fffbeb 0%, #f0f9ff 100%);
  border-color: #fbbf24;
}

.step-year {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--amber-600);
  margin-bottom: 4px;
}

.roadmap-step strong {
  display: block;
  font-size: 15px;
  color: var(--navy-900);
  margin-bottom: 5px;
}

.roadmap-step p {
  margin: 0;
  font-size: 13px;
  color: var(--slate-600);
}

.ai-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 24px;
}

.sub-heading {
  margin: 0 0 14px;
  font-size: 16px;
  color: var(--navy-900);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--navy-100);
}

.compact-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--slate-100);
}

.compact-item:last-child {
  border-bottom: 0;
}

.compact-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--slate-500);
  margin-bottom: 5px;
}

.tag-pill {
  background: var(--navy-50);
  color: var(--navy-800);
  padding: 1px 7px;
  border-radius: 4px;
  font-weight: 600;
}

.compact-item h4 {
  margin: 0 0 4px;
  font-size: 15.5px;
  line-height: 1.4;
}

.compact-item h4 a { color: var(--slate-900); }
.compact-item h4 a:hover { color: var(--amber-600); }

.compact-item p {
  margin: 0;
  font-size: 13px;
  color: var(--slate-600);
}

.col-foot-link {
  margin-top: 12px;
  font-size: 13.5px;
  font-weight: 600;
}

.prompt-preview-list {
  display: grid;
  gap: 12px;
}

.prompt-mini-card {
  background: var(--bg-page);
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  padding: 13px 15px;
}

.prompt-mini-top {
  display: flex;
  gap: 6px;
  margin-bottom: 6px;
}

.prompt-mini-card h4,
.prompt-mini-card h3 {
  margin: 0 0 5px;
  font-size: 14.5px;
  color: var(--slate-900);
}

.prompt-snippet {
  margin: 0 0 8px;
  font-size: 12.5px;
  color: var(--slate-600);
  line-height: 1.5;
}

.mini-link {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--amber-600);
}

/* ---------- Main Feed + Sidebar Layout ---------- */
.main-sidebar-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.cat-jump-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.cat-jump-pills a {
  padding: 5px 12px;
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-700);
}

.cat-jump-pills a:hover {
  border-color: var(--navy-900);
  color: var(--navy-900);
}

.article-feed {
  background: var(--surface);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.feed-row {
  display: flex;
  gap: 18px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--slate-100);
  align-items: flex-start;
}

.feed-row:last-child {
  border-bottom: 0;
}

.feed-row-main {
  flex: 1;
  min-width: 0;
}

.feed-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 7px;
}

.date-muted {
  font-size: 12.5px;
  color: var(--slate-500);
}

.feed-row-main h2,
.feed-row-main h3 {
  margin: 0 0 7px;
  font-size: 17px;
  line-height: 1.4;
}

.feed-row-main h2 a,
.feed-row-main h3 a {
  color: var(--slate-900);
}

.feed-row-main h2 a:hover,
.feed-row-main h3 a:hover {
  color: var(--navy-700);
}

.feed-row-main p {
  margin: 0;
  font-size: 13.5px;
  color: var(--slate-600);
  line-height: 1.6;
}

.feed-row-thumb {
  width: 165px;
  height: 104px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--slate-200);
}

.feed-row-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Sidebar Cards ---------- */
.sidebar-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.side-card {
  background: var(--surface);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
}

.side-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--slate-100);
}

.side-card-head h3,
.side-card > h3 {
  margin: 0;
  font-size: 16px;
  color: var(--navy-900);
}

.side-card-head a {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-700);
}

.district-chip-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.district-chip-grid a {
  display: block;
  padding: 10px 12px;
  background: var(--bg-page);
  border: 1px solid var(--slate-200);
  border-radius: 8px;
}

.district-chip-grid a:hover {
  border-color: var(--navy-700);
  background: var(--navy-50);
}

.district-chip-grid strong {
  display: block;
  font-size: 14px;
  color: var(--navy-900);
}

.district-chip-grid span {
  display: block;
  font-size: 11.5px;
  color: var(--slate-500);
  margin-top: 2px;
}

.district-chip-grid a.chip-highlight {
  background: var(--teal-50);
  border-color: #99f6e4;
}

.district-chip-grid a.chip-highlight strong {
  color: var(--teal-700);
}

.mini-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mini-timeline li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--slate-200);
}

.mini-timeline li:last-child { border-bottom: 0; }

.tl-month {
  width: 50px;
  flex-shrink: 0;
  background: var(--navy-100);
  color: var(--navy-900);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  padding: 5px 4px;
  border-radius: 6px;
  height: fit-content;
}

.tl-body strong {
  display: block;
  font-size: 13.5px;
  color: var(--slate-800);
  line-height: 1.4;
}

.tl-body span {
  font-size: 12px;
  color: var(--slate-500);
}

.school-mini-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.school-mini-list li {
  border-bottom: 1px solid var(--slate-100);
}

.school-mini-list li:last-child { border-bottom: 0; }

.school-mini-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
}

.school-mini-list strong {
  display: block;
  font-size: 14px;
  color: var(--slate-800);
}

.school-mini-list a:hover strong {
  color: var(--navy-700);
}

.sc-sub {
  font-size: 12px;
  color: var(--slate-500);
}

.sc-level {
  font-size: 11.5px;
  font-weight: 600;
  background: var(--navy-50);
  color: var(--navy-800);
  padding: 3px 8px;
  border-radius: 5px;
  flex-shrink: 0;
}

.side-cta-card {
  background: linear-gradient(155deg, #0f3d63 0%, #164e7c 100%);
  color: #fff;
  border-color: transparent;
}

.side-cta-card h3 {
  color: #fff;
  margin-bottom: 8px;
}

.side-cta-card p {
  margin: 0 0 14px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.84);
}

.side-btn-stack {
  display: grid;
  gap: 10px;
}

.rank-list, .related-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.rank-list li {
  display: flex;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--slate-100);
  font-size: 14px;
}

.rank-list li:last-child { border-bottom: 0; }

.rank-num {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  background: var(--navy-100);
  color: var(--navy-900);
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.related-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--slate-100);
}

.related-list li:last-child { border-bottom: 0; }

.related-list a {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--slate-800);
  line-height: 1.45;
}

.related-list a:hover { color: var(--amber-600); }

.rel-meta {
  display: flex;
  gap: 10px;
  font-size: 12px;
  color: var(--slate-500);
  margin-top: 4px;
}

/* ---------- Inner Page Hero & Breadcrumb ---------- */
.page-hero {
  background: var(--surface);
  border-bottom: 1px solid var(--slate-200);
  padding: 24px 0 22px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--slate-500);
  margin-bottom: 10px;
}

.breadcrumb a { color: var(--slate-600); }
.breadcrumb a:hover { color: var(--navy-900); }

.page-hero h1 {
  margin: 0 0 8px;
  font-size: 26px;
  color: var(--slate-900);
  line-height: 1.3;
}

.page-hero-desc {
  margin: 0 0 16px;
  max-width: 820px;
  font-size: 14.5px;
  color: var(--slate-600);
}

.filter-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.filter-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-600);
}

.filter-chip {
  padding: 5px 13px;
  border-radius: 999px;
  background: var(--slate-100);
  color: var(--slate-700);
  font-size: 13px;
  font-weight: 500;
}

.filter-chip:hover {
  background: var(--navy-100);
  color: var(--navy-900);
}

.filter-chip.is-active {
  background: var(--navy-900);
  color: #fff;
}

.result-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13.5px;
  color: var(--slate-600);
  margin-bottom: 14px;
}

.quick-filter-links {
  display: flex;
  gap: 14px;
  font-weight: 600;
}

/* ---------- Article Detail ---------- */
.article-header-band {
  background: var(--surface);
  border-bottom: 1px solid var(--slate-200);
  padding: 24px 0 22px;
}

.article-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.article-title {
  margin: 0 0 10px;
  font-size: 28px;
  line-height: 1.35;
  color: var(--slate-900);
}

.article-subtitle {
  margin: 0 0 14px;
  font-size: 16px;
  color: var(--slate-600);
}

.article-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--slate-500);
}

.article-main-col {
  background: var(--surface);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 26px 28px;
  box-shadow: var(--shadow-sm);
}

.article-cover-box {
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 22px;
  border: 1px solid var(--slate-200);
}

.article-cover-box img {
  width: 100%;
  height: auto;
}

.keypoints-box {
  background: linear-gradient(135deg, #f3f7fb 0%, #fffbeb 100%);
  border: 1px solid #dbeafe;
  border-left: 4px solid var(--navy-900);
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 24px;
}

.keypoints-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 8px;
}

.keypoints-box ul {
  margin: 0;
  padding-left: 18px;
}

.keypoints-box li {
  margin-bottom: 6px;
  font-size: 14px;
  color: var(--slate-700);
}

.article-prose {
  font-size: 16px;
  line-height: 1.85;
  color: var(--slate-800);
}

.article-prose h2 {
  font-size: 20px;
  color: var(--navy-900);
  margin: 26px 0 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--slate-200);
}

.article-prose h3 {
  font-size: 17px;
  color: var(--slate-900);
  margin: 20px 0 10px;
}

.article-prose p {
  margin: 0 0 14px;
}

.article-prose ul, .article-prose ol {
  margin: 0 0 16px;
  padding-left: 22px;
}

.article-prose li {
  margin-bottom: 6px;
}

.article-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
  display: block;
  overflow-x: auto;
}

.article-prose th, .article-prose td {
  border: 1px solid var(--slate-200);
  padding: 9px 12px;
  text-align: left;
}

.article-prose th {
  background: var(--navy-50);
  color: var(--navy-900);
}

.article-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid var(--slate-100);
}

.tags-label {
  font-size: 13px;
  color: var(--slate-500);
}

.tag-link {
  font-size: 13px;
  padding: 4px 11px;
  background: var(--slate-100);
  color: var(--slate-700);
  border-radius: 999px;
}

.tag-link:hover {
  background: var(--navy-100);
  color: var(--navy-900);
}

.article-notice {
  margin-top: 22px;
  padding: 14px 16px;
  background: var(--slate-100);
  border-radius: 8px;
  font-size: 13px;
  color: var(--slate-600);
}

.article-prev-next {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--slate-200);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.pn-item {
  background: var(--bg-page);
  border: 1px solid var(--slate-200);
  border-radius: 8px;
  padding: 12px 14px;
}

.pn-next { text-align: right; }

.pn-label {
  display: block;
  font-size: 12px;
  color: var(--slate-500);
  margin-bottom: 4px;
}

.pn-item a {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy-900);
}

.pn-empty {
  font-size: 13px;
  color: var(--slate-500);
}

/* ---------- Schools Directory & Detail ---------- */
.school-filter-form {
  background: var(--bg-page);
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  padding: 16px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-end;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 150px;
}

.filter-grow {
  flex: 1;
  min-width: 200px;
}

.filter-group label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--slate-600);
}

.filter-group select,
.filter-group input {
  padding: 9px 11px;
  border: 1px solid var(--slate-300);
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
  color: var(--slate-800);
}

.filter-submit {
  display: flex;
  gap: 8px;
}

.school-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.school-card {
  background: var(--surface);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.school-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.school-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.school-card h2,
.school-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.school-card h2 a,
.school-card h3 a {
  color: var(--slate-900);
}

.school-card h2 a:hover,
.school-card h3 a:hover {
  color: var(--navy-700);
}

.school-highlights {
  margin: 0 0 12px;
  font-size: 13.5px;
  color: var(--slate-600);
}

.school-meta-line {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12.5px;
  color: var(--slate-500);
  margin-bottom: 12px;
}

.school-card-foot {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--slate-100);
  font-size: 13.5px;
}

.info-kv-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

.kv-box {
  background: var(--bg-page);
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  padding: 12px 14px;
}

.kv-box span {
  display: block;
  font-size: 12px;
  color: var(--slate-500);
  margin-bottom: 4px;
}

.kv-box strong {
  font-size: 15px;
  color: var(--navy-900);
}

.detail-panel {
  margin-bottom: 20px;
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--slate-200);
  border-radius: 12px;
}

.detail-panel.panel-accent {
  background: #f8fbff;
  border-color: #bfdbfe;
}

.detail-panel h2 {
  margin: 0 0 10px;
  font-size: 19px;
  color: var(--navy-900);
}

.detail-panel p {
  margin: 0 0 12px;
  font-size: 15px;
  color: var(--slate-700);
  line-height: 1.75;
}

.panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

/* ---------- Tools Page ---------- */
.tool-anchor-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tool-anchor-pills a {
  padding: 7px 14px;
  background: var(--navy-50);
  border: 1px solid var(--navy-100);
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy-900);
}

.tool-anchor-pills a:hover {
  background: var(--navy-900);
  color: #fff;
}

.tools-stack {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.tool-card {
  background: var(--surface);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  scroll-margin-top: 90px;
}

.tool-card-head h2 {
  margin: 0 0 8px;
  font-size: 21px;
  color: var(--slate-900);
}

.tool-card-head p {
  margin: 0 0 18px;
  font-size: 14.5px;
  color: var(--slate-600);
}

.tool-grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 22px;
  align-items: start;
}

.tool-form {
  background: var(--bg-page);
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--slate-700);
}

.form-field select,
.form-field input[type="number"] {
  padding: 10px 12px;
  border: 1px solid var(--slate-300);
  border-radius: 8px;
  background: #fff;
  font-size: 14.5px;
  color: var(--slate-900);
}

.form-check label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-weight: 500;
  cursor: pointer;
}

.form-check input {
  margin-top: 4px;
}

.tool-result-panel {
  background: #f8fbff;
  border: 1px solid #dbeafe;
  border-radius: 12px;
  padding: 20px;
}

.tool-result-panel h3 {
  margin: 0 0 12px;
  font-size: 17px;
  color: var(--navy-900);
}

.result-highlight {
  background: var(--navy-900);
  color: #fff;
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 14px;
}

.rh-label {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 3px;
}

.rh-value {
  font-size: 18px;
  color: #fde68a;
}

.tool-tips-list, .aid-checklist {
  margin: 10px 0 0;
  padding-left: 18px;
  font-size: 14px;
  color: var(--slate-700);
}

.tool-tips-list li, .aid-checklist li {
  margin-bottom: 8px;
}

.tool-footnote {
  margin: 14px 0 0;
  font-size: 12.5px;
  color: var(--slate-500);
}

/* AI Prompts Grid */
.prompt-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.prompt-card {
  background: var(--bg-page);
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  scroll-margin-top: 90px;
}

.prompt-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.prompt-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.copy-btn {
  padding: 5px 12px;
  border-radius: 6px;
  border: 1px solid var(--navy-900);
  background: #fff;
  color: var(--navy-900);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}

.copy-btn:hover,
.copy-btn.is-copied {
  background: var(--navy-900);
  color: #fff;
}

.prompt-card h3 {
  margin: 0 0 10px;
  font-size: 16px;
  color: var(--slate-900);
}

.prompt-code {
  margin: 0 0 12px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.65;
  color: var(--slate-800);
  white-space: pre-wrap;
  word-break: break-word;
}

.prompt-tip {
  margin: auto 0 0;
  font-size: 12.5px;
  color: var(--slate-600);
}

/* ---------- Calendar & Search & About ---------- */
.calendar-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.calendar-item {
  display: flex;
  gap: 20px;
  background: var(--surface);
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
}

.cal-date-col {
  width: 145px;
  flex-shrink: 0;
  background: var(--navy-50);
  border: 1px solid var(--navy-100);
  border-radius: 10px;
  padding: 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cal-month {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy-900);
}

.cal-range {
  font-size: 12px;
  color: var(--slate-600);
  margin-top: 3px;
}

.cal-main-col {
  flex: 1;
  min-width: 0;
}

.cal-badges {
  display: flex;
  gap: 8px;
  margin-bottom: 6px;
}

.cal-main-col h2 {
  margin: 0 0 6px;
  font-size: 18px;
  color: var(--slate-900);
}

.cal-main-col p {
  margin: 0;
  font-size: 14px;
  color: var(--slate-600);
}

.big-search-form {
  display: flex;
  gap: 10px;
  max-width: 720px;
  margin-bottom: 12px;
}

.big-search-form input {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--slate-300);
  border-radius: 8px;
  font-size: 15px;
}

.hot-search-terms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: var(--slate-500);
}

.hot-search-terms a {
  padding: 3px 10px;
  background: var(--slate-100);
  border-radius: 999px;
  color: var(--slate-700);
}

.search-section {
  margin-bottom: 26px;
}

.search-section-title {
  margin: 0 0 14px;
  font-size: 18px;
  color: var(--navy-900);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.about-list {
  padding-left: 20px;
  color: var(--slate-700);
}

.about-list li {
  margin-bottom: 10px;
}

.empty-state {
  background: var(--surface);
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  padding: 42px 24px;
  text-align: center;
}

.empty-state h3, .empty-state h1 {
  margin: 0 0 10px;
  color: var(--navy-900);
}

.empty-state p {
  margin: 0 0 18px;
  color: var(--slate-600);
}

.error-code {
  display: inline-block;
  font-size: 54px;
  font-weight: 800;
  color: var(--amber-500);
  line-height: 1;
  margin-bottom: 12px;
}

.error-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.page-num {
  min-width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--slate-200);
  background: #fff;
  font-weight: 600;
}

.page-num.is-active {
  background: var(--navy-900);
  color: #fff;
  border-color: var(--navy-900);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.8);
  margin-top: 34px;
  padding-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 32px;
}

.footer-logo-wrap {
  display: inline-block;
  background: #fff;
  padding: 8px 14px;
  border-radius: 10px;
  margin-bottom: 12px;
}

.footer-logo-wrap img {
  height: 40px;
  width: auto;
}

.footer-mission {
  margin: 0 0 8px;
  font-size: 14.5px;
  font-weight: 600;
  color: #fde68a;
}

.footer-note {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.65;
}

.footer-col h3 {
  margin: 0 0 12px;
  font-size: 15px;
  color: #fff;
}

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

.footer-col li {
  margin-bottom: 8px;
  font-size: 13.5px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.74);
}

.footer-col a:hover {
  color: #fde68a;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 16px 0;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.62);
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}

.footer-bottom-inner p {
  margin: 0;
}

/* ---------- Responsive (Tablet & 375px Mobile Safe) ---------- */
@media (max-width: 1080px) {
  .main-nav { display: none; }
  .header-search { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .card-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .roadmap-grid { grid-template-columns: 1fr; }
  .ai-two-col { grid-template-columns: 1fr; }
  .main-sidebar-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .container { padding: 0 14px; }
  .top-links { display: none; }
  .announce-right { display: none; }
  .brand-logo img { height: 42px; }
  .header-inner { min-height: 62px; }
  .hero-body { padding: 16px; }
  .hero-title { font-size: 20px; }
  .hero-sub-list { padding: 8px 16px 12px; }
  .quick-service-grid { grid-template-columns: 1fr; }
  .hero-kpi-bar { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card-grid-4 { grid-template-columns: 1fr; }
  .ai-banner-box { padding: 18px 16px; }
  .feed-row { flex-direction: column; padding: 15px 16px; }
  .feed-row-thumb { width: 100%; height: 155px; }
  .school-card-grid { grid-template-columns: 1fr; }
  .info-kv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tool-card { padding: 18px 16px; }
  .tool-grid-2 { grid-template-columns: 1fr; }
  .prompt-grid { grid-template-columns: 1fr; }
  .calendar-item { flex-direction: column; gap: 12px; }
  .cal-date-col { width: 100%; }
  .article-main-col { padding: 18px 16px; }
  .article-title { font-size: 22px; }
  .article-prev-next { grid-template-columns: 1fr; }
  .pn-next { text-align: left; }
  .big-search-form { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
}
