:root {
  --ink: #17171c;
  --muted: #6f7078;
  --line: #deded8;
  --paper: #f4f3ed;
  --surface: #fbfaf6;
  --accent: #ee4d2d;
  --violet: #6754e9;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); }
a { color: inherit; }
.shell { width: 96%; margin: 0 auto; }

.site-header {
  height: 70px;
  border-bottom: 1px solid rgba(23, 23, 28, .16);
  background: rgba(244, 243, 237, .94);
  backdrop-filter: blur(16px);
  position: relative;
  z-index: 5;
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand strong { display: block; font-size: 18px; letter-spacing: .04em; }
.brand small { display: block; margin-top: 1px; font-size: 7px; letter-spacing: .23em; color: var(--muted); }
.brand-mark { width: 32px; height: 32px; display: grid; grid-template-columns: repeat(3, 1fr); align-items: end; gap: 3px; padding: 6px; background: var(--ink); }
.brand-mark i { display: block; height: 45%; background: var(--paper); }
.brand-mark i:nth-child(2) { height: 100%; background: var(--accent); }
.brand-mark i:nth-child(3) { height: 68%; }
.section-nav { align-self: stretch; display: flex; align-items: center; gap: 2px; }
.section-nav a { height: 100%; min-width: 96px; display: grid; place-items: center; position: relative; padding: 0 18px; color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 700; letter-spacing: .03em; }
.section-nav a::after { content: ""; height: 3px; position: absolute; right: 18px; bottom: -1px; left: 18px; background: var(--accent); transform: scaleX(0); transform-origin: center; transition: transform .18s ease; }
.section-nav a:hover { color: var(--ink); }
.section-nav a:hover::after, .section-nav a.is-active::after { transform: scaleX(1); }
.section-nav a.is-active { color: var(--ink); }
.update-badge { font-size: 13px; color: var(--muted); letter-spacing: .04em; }
.update-badge i { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: #27a66a; box-shadow: 0 0 0 4px rgba(39, 166, 106, .12); }

.page-main { min-height: calc(100vh - 70px); }
.content-layout { display: grid; grid-template-columns: 205px minmax(0, 1fr) 190px; gap: 24px; align-items: start; padding-top: 28px; padding-bottom: 72px; }
.date-sidebar { position: sticky; top: 24px; max-height: calc(100vh - 48px); overflow-y: auto; border: 1px solid var(--line); background: rgba(251, 250, 246, .58); scrollbar-width: thin; }
.archive-heading { min-height: 60px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; border-bottom: 1px solid var(--line); }
.archive-heading span { font-size: 15px; font-weight: 700; }
.archive-heading small { color: var(--muted); font-size: 12px; }
.archive-month { padding: 17px 10px 9px; }
.archive-month + .archive-month { border-top: 1px solid var(--line); }
.archive-month summary { display: flex; align-items: center; justify-content: space-between; margin: 0 6px 8px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .06em; list-style: none; cursor: pointer; user-select: none; }
.archive-month summary::-webkit-details-marker { display: none; }
.archive-month summary::after { content: "+"; font: 12px/1 Arial, sans-serif; color: var(--ink); }
.archive-month[open] summary::after { content: "−"; }
.archive-dates { display: grid; gap: 3px; }
.archive-dates a { min-height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 9px; border-left: 2px solid transparent; text-decoration: none; font-size: 13px; transition: background .18s ease, color .18s ease; }
.archive-dates a small { color: var(--muted); font-size: 10px; }
.archive-dates a:hover { background: rgba(23, 23, 28, .06); }
.archive-dates a.is-active { border-left-color: var(--accent); background: var(--ink); color: white; }
.archive-dates a.is-active small { color: rgba(255,255,255,.58); }
.archive-empty { margin: 0; padding: 25px 16px; color: var(--muted); font-size: 13px; line-height: 1.7; }

.report-column { min-width: 0; }
.report-heading { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 0 17px; border-bottom: 1px solid var(--line); }
.report-kicker { margin: 0 0 6px; color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: .18em; }
.report-heading h1 { margin: 0; font-size: clamp(25px, 2.4vw, 34px); line-height: 1.1; letter-spacing: -.04em; }
.date-nav { display: flex; gap: 7px; }
.date-nav a, .date-nav span { min-width: 70px; padding: 8px 10px; border: 1px solid var(--line); text-align: center; text-decoration: none; font-size: 12px; }
.date-nav a:hover { border-color: var(--ink); background: var(--ink); color: white; }
.date-nav span { opacity: .35; }
.category-sidebar { position: sticky; top: 24px; border: 1px solid var(--line); background: rgba(251, 250, 246, .58); }
.category-sidebar-heading { min-height: 50px; display: flex; align-items: center; padding: 0 13px; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 700; }
.category-nav { display: grid; padding: 7px; }
.category-nav a { min-height: 40px; display: grid; grid-template-columns: 7px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 0 7px; border-left: 2px solid transparent; text-decoration: none; font-size: 12px; }
.category-nav a:hover { border-left-color: var(--category-color); background: rgba(23, 23, 28, .06); }
.category-nav i { width: 7px; height: 7px; background: var(--category-color); }
.category-nav sup { margin-left: 1px; color: var(--muted); font-size: 9px; }

.category-list { padding-top: 26px; }
.category-section { scroll-margin-top: 20px; margin-bottom: 32px; }
.category-header { display: grid; grid-template-columns: 32px auto 1fr; align-items: end; gap: 12px; margin-bottom: 13px; }
.category-number { color: var(--muted); font: 10px/1 monospace; }
.category-header h2 { margin: 0; font-size: 22px; letter-spacing: -.03em; }
.category-header p { margin: 3px 0 0; color: var(--muted); font-size: 11px; }
.category-line { height: 1px; margin-bottom: 5px; background: linear-gradient(90deg, var(--category-color), transparent); opacity: .55; }
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.news-card { min-height: 180px; display: grid; overflow: hidden; background: var(--surface); border: 1px solid rgba(23,23,28,.1); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.news-card:hover { transform: translateY(-2px); border-color: rgba(23,23,28,.28); box-shadow: 0 9px 22px rgba(23,23,28,.06); }
.card-body { min-width: 0; display: flex; flex-direction: column; padding: 15px; }
.card-meta { display: flex; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 10px; }
.card-meta span { max-width: 62%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; color: var(--violet); }
.card-meta time { flex: none; }
.news-card h3 { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; margin: 12px 0 6px; font-size: 18px; line-height: 1.3; letter-spacing: -.02em; }
.news-card h3 a { text-decoration: none; }
.news-card h3 a:hover { color: var(--accent); }
.news-card p { margin: 0; color: #55565e; font-size: 13px; line-height: 1.65; }
.github-project-card { min-height: 270px; border-top: 2px solid var(--violet); }
.github-project-card h3 { -webkit-line-clamp: 3; margin-top: 8px; }
.github-project-card p { flex: 1; }
.github-new-badge { align-self: flex-start; margin-top: 10px; padding: 3px 7px; border-radius: 999px; background: rgba(16,163,127,.1); color: var(--accent); font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.github-star-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); }
.github-star-stats span { display: flex; flex-direction: column; gap: 3px; }
.github-star-stats small { color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .08em; }
.github-star-stats strong { color: var(--ink); font: 700 17px/1.2 monospace; }

.empty-state { min-height: 520px; padding: 105px 30px; border: 1px solid var(--line); text-align: center; background: rgba(251,250,246,.45); }
.empty-state .report-kicker { margin-top: 25px; }
.empty-state h1 { margin: 0; font-size: 26px; }
.empty-state > p:not(.report-kicker) { color: var(--muted); font-size: 12px; }
.empty-state > a { display: inline-block; margin-top: 16px; font-size: 11px; }
.empty-orbit { width: 62px; height: 62px; display: inline-block; position: relative; border: 1px solid var(--line); border-radius: 50%; }
.empty-orbit::before { content: ""; position: absolute; inset: 13px; border: 1px solid var(--line); border-radius: 50%; }
.empty-orbit i { position: absolute; width: 8px; height: 8px; top: 4px; left: 27px; background: var(--accent); border-radius: 50%; }

.site-footer { border-top: 1px solid rgba(255,255,255,.12); background: var(--ink); color: white; }
.footer-inner { min-height: 105px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-inner strong { display: block; font-size: 15px; }
.footer-inner span, .footer-inner p { color: rgba(255,255,255,.48); font-size: 11px; }
.footer-inner span { display: block; margin-top: 4px; }

/* AI tools directory */
.tools-page { background: #f2f1ec; }
.tools-page .site-header { position: sticky; top: 0; }
.tools-page .section-nav a::after { background: var(--violet); }
.tools-badge i { background: var(--violet); box-shadow: 0 0 0 4px rgba(103, 84, 233, .12); }
.tools-main { min-height: calc(100vh - 70px); }
.tools-hero { overflow: hidden; position: relative; border-bottom: 1px solid var(--line); background: var(--ink); color: white; }
.tools-hero::before { content: ""; width: 420px; height: 420px; position: absolute; top: -265px; left: 9%; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; box-shadow: 0 0 0 70px rgba(255,255,255,.025), 0 0 0 140px rgba(255,255,255,.018); }
.tools-hero::after { content: "AI"; position: absolute; right: -18px; bottom: -82px; color: rgba(255,255,255,.025); font: 900 270px/1 Arial, sans-serif; letter-spacing: -.12em; }
.tools-hero-inner { min-height: 330px; display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: clamp(45px, 8vw, 130px); position: relative; z-index: 1; }
.tools-hero-copy { padding: 45px 0; }
.tools-hero-copy .report-kicker { color: #a99cff; }
.tools-hero-copy h1 { margin: 0; font-size: clamp(44px, 5vw, 72px); line-height: .98; letter-spacing: -.075em; }
.tools-hero-copy h1 em { color: #a99cff; font-style: normal; }
.tools-hero-copy > p:last-child { max-width: 510px; margin: 22px 0 0; color: rgba(255,255,255,.58); font-size: 14px; line-height: 1.8; }
.tool-search-wrap { max-width: 690px; width: 100%; justify-self: end; }
.tool-search-wrap > label { display: block; margin-bottom: 10px; color: rgba(255,255,255,.55); font-size: 11px; font-weight: 700; letter-spacing: .14em; }
.tool-search-box { height: 66px; display: grid; grid-template-columns: 23px minmax(0, 1fr) auto; align-items: center; gap: 13px; padding: 0 18px 0 21px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.09); box-shadow: 0 18px 45px rgba(0,0,0,.18); backdrop-filter: blur(12px); }
.tool-search-box:focus-within { border-color: #a99cff; background: rgba(255,255,255,.13); }
.tool-search-box svg { width: 23px; fill: none; stroke: rgba(255,255,255,.65); stroke-width: 1.7; stroke-linecap: round; }
.tool-search-box input { width: 100%; border: 0; outline: 0; background: transparent; color: white; font: 16px/1.4 inherit; }
.tool-search-box input::placeholder { color: rgba(255,255,255,.42); }
.tool-search-box input::-webkit-search-cancel-button { filter: invert(1); opacity: .55; }
.tool-search-box kbd { min-width: 27px; padding: 5px 8px; border: 1px solid rgba(255,255,255,.2); border-radius: 3px; color: rgba(255,255,255,.5); font: 11px/1 monospace; text-align: center; }
.popular-searches { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-top: 14px; color: rgba(255,255,255,.38); font-size: 11px; }
.popular-searches button { padding: 4px 9px; border: 1px solid rgba(255,255,255,.13); border-radius: 20px; background: transparent; color: rgba(255,255,255,.62); font: inherit; cursor: pointer; }
.popular-searches button:hover { border-color: #a99cff; color: white; }
.tools-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; align-items: start; padding-top: 34px; padding-bottom: 80px; }
.tool-category-sidebar { position: sticky; top: 104px; border: 1px solid var(--line); background: rgba(251,250,246,.72); }
.tool-category-heading { min-height: 58px; display: flex; align-items: center; justify-content: space-between; padding: 0 15px; border-bottom: 1px solid var(--line); }
.tool-category-heading span { font-size: 14px; font-weight: 700; }
.tool-category-heading small { color: var(--muted); font-size: 11px; }
.tool-category-nav { display: grid; padding: 7px; }
.tool-category-nav button { min-height: 40px; display: grid; grid-template-columns: 7px minmax(0, 1fr) auto; align-items: center; gap: 9px; padding: 0 9px; border: 0; border-left: 2px solid transparent; background: transparent; color: var(--ink); font: 12px/1.3 inherit; text-align: left; cursor: pointer; }
.tool-category-nav button:hover { background: rgba(23,23,28,.05); }
.tool-category-nav button.is-active { border-left-color: var(--violet); background: var(--ink); color: white; }
.tool-category-nav i { width: 7px; height: 7px; background: var(--tool-color); }
.tool-category-nav button.is-active i { box-shadow: 0 0 0 3px rgba(255,255,255,.1); }
.tool-category-nav sup { color: var(--muted); font-size: 9px; }
.tool-category-nav button.is-active sup { color: rgba(255,255,255,.48); }
.tools-content { min-width: 0; }
.tools-toolbar { min-height: 68px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; scroll-margin-top: 95px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.tools-toolbar .report-kicker { color: var(--violet); }
.tools-toolbar h2 { margin: 0; font-size: 28px; letter-spacing: -.045em; }
.tools-toolbar > p { margin: 0 0 3px; color: var(--muted); font-size: 11px; }
.tools-toolbar > p span { color: var(--ink); font-size: 16px; font-weight: 700; }
.tool-section { scroll-margin-top: 100px; padding-top: 31px; }
.tool-section[hidden] { display: none; }
.tool-section-heading { display: grid; grid-template-columns: 30px auto 1fr; align-items: end; gap: 13px; margin-bottom: 14px; }
.tool-section-heading > span { margin-bottom: 4px; color: var(--muted); font: 10px/1 monospace; }
.tool-section-heading h2 { margin: 0; font-size: 21px; letter-spacing: -.03em; }
.tool-section-heading p { margin: 3px 0 0; color: var(--muted); font-size: 11px; }
.tool-section-heading > i { height: 1px; margin-bottom: 5px; background: linear-gradient(90deg, var(--tool-color), transparent); opacity: .55; }
.tool-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tool-card { min-height: 150px; display: grid; grid-template-columns: 42px minmax(0, 1fr) 18px; align-items: start; gap: 12px; position: relative; padding: 17px 15px; border: 1px solid rgba(23,23,28,.1); background: var(--surface); text-decoration: none; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.tool-card[hidden] { display: none; }
.tool-card:hover { transform: translateY(-2px); border-color: var(--tool-color); box-shadow: 0 10px 25px rgba(23,23,28,.07); }
.tool-card.was-visited::after { content: "已访问"; position: absolute; right: 12px; bottom: 10px; color: var(--muted); font-size: 8px; }
.tool-icon { width: 42px; height: 42px; display: grid; place-items: center; background: color-mix(in srgb, var(--tool-color) 14%, white); color: var(--tool-color); font-size: 18px; font-weight: 900; }
.tool-card-copy { min-width: 0; display: block; }
.tool-card-copy strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; }
.tool-card-copy small { min-height: 38px; display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; margin-top: 6px; color: #5d5e65; font-size: 11px; line-height: 1.65; }
.tool-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 10px; }
.tool-tags i { padding: 3px 6px; background: rgba(23,23,28,.045); color: var(--muted); font-size: 8px; font-style: normal; }
.tool-arrow { width: 16px; fill: none; stroke: var(--muted); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; opacity: .55; transition: transform .18s ease, opacity .18s ease; }
.tool-card:hover .tool-arrow { transform: translate(2px, -2px); opacity: 1; stroke: var(--tool-color); }
.tools-empty { min-height: 330px; padding: 65px 20px; text-align: center; }
.tools-empty > span { display: block; color: var(--line); font: 72px/1 Arial, sans-serif; }
.tools-empty h2 { margin: 14px 0 0; font-size: 22px; }
.tools-empty p { color: var(--muted); font-size: 12px; }
.tools-empty button { margin-top: 12px; padding: 10px 18px; border: 0; background: var(--ink); color: white; font: 12px/1 inherit; cursor: pointer; }

@media (max-width: 1250px) {
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .content-layout { grid-template-columns: 195px minmax(0, 1fr); }
  .category-sidebar { display: none; }
  .tools-layout { grid-template-columns: 190px minmax(0, 1fr); gap: 20px; }
  .tools-hero-inner { grid-template-columns: .8fr 1.2fr; gap: 35px; }
}

@media (max-width: 760px) {
  .shell { width: 96%; }
  .site-header { height: 64px; }
  .update-badge { display: none; }
  .brand small { display: none; }
  .section-nav { margin-left: auto; }
  .section-nav a { min-width: auto; padding: 0 12px; font-size: 12px; }
  .section-nav a::after { right: 12px; left: 12px; }
  .content-layout { grid-template-columns: 1fr; gap: 20px; padding-top: 18px; padding-bottom: 50px; }
  .date-sidebar { position: static; max-height: none; overflow: hidden; }
  .archive-heading { min-height: 46px; }
  .archive-groups { display: flex; overflow-x: auto; scrollbar-width: thin; }
  .archive-month { min-width: max-content; padding: 12px 10px; }
  .archive-month + .archive-month { border-top: 0; border-left: 1px solid var(--line); }
  .archive-dates { display: flex; }
  .archive-dates a { min-height: 34px; min-width: 94px; }
  .report-heading { align-items: flex-end; }
  .category-header { grid-template-columns: 28px auto; }
  .category-line { display: none; }
  .news-grid { grid-template-columns: 1fr; }
  .news-card { min-height: 160px; }
  .footer-inner { align-items: flex-start; flex-direction: column; justify-content: center; }
  .footer-inner p { margin: 0; }
  .tools-main { min-height: calc(100vh - 64px); }
  .tools-hero-inner { min-height: 390px; grid-template-columns: 1fr; align-content: center; gap: 25px; padding-top: 38px; padding-bottom: 38px; }
  .tools-hero-copy { padding: 0; }
  .tools-hero-copy h1 br { display: none; }
  .tools-hero-copy > p:last-child { margin-top: 15px; }
  .tool-search-wrap { justify-self: start; }
  .tool-search-box { height: 58px; }
  .tools-layout { grid-template-columns: 1fr; gap: 22px; padding-top: 20px; }
  .tool-category-sidebar { position: static; overflow: hidden; }
  .tool-category-heading { min-height: 45px; }
  .tool-category-nav { display: flex; overflow-x: auto; padding: 7px; scrollbar-width: thin; }
  .tool-category-nav button { min-width: max-content; padding: 0 12px; border-left: 0; border-bottom: 2px solid transparent; }
  .tool-category-nav button.is-active { border-bottom-color: var(--violet); }
  .tool-category-nav sup { margin-left: 2px; }
}

@media (max-width: 520px) {
  .report-heading { align-items: flex-start; flex-direction: column; }
  .date-nav { align-self: stretch; }
  .date-nav a, .date-nav span { flex: 1; }
  .card-body { padding: 13px; }
  .brand > span:last-child { display: none; }
  .brand-mark { width: 28px; height: 28px; }
  .section-nav { margin-right: auto; }
  .section-nav a { padding: 0 11px; }
  .section-nav a::after { right: 8px; left: 8px; }
  .tools-hero-copy h1 { font-size: 42px; }
  .tools-hero-copy h1 br { display: block; }
  .tools-hero-copy > p:last-child { max-width: 330px; font-size: 12px; }
  .tool-grid { grid-template-columns: 1fr; }
  .tool-card { min-height: 135px; }
  .tools-toolbar h2 { max-width: 250px; font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Refined primary navigation */
.site-header { height: 78px; position: sticky; top: 0; z-index: 50; }
.header-inner { display: grid; grid-template-columns: minmax(190px, 1fr) auto minmax(190px, 1fr); gap: 20px; }
.section-nav { height: 54px; align-self: center; display: flex; gap: 4px; padding: 4px; border: 1px solid rgba(23,23,28,.1); border-radius: 12px; background: rgba(255,255,255,.55); box-shadow: 0 3px 15px rgba(23,23,28,.04); }
.section-nav a { min-width: 156px; height: 44px; display: flex; align-items: center; justify-content: flex-start; gap: 9px; padding: 0 14px; border-radius: 8px; color: var(--muted); }
.section-nav a::after { display: none; }
.section-nav a svg { width: 19px; height: 19px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.section-nav a > span { min-width: 0; display: block; }
.section-nav a strong { display: block; font-size: 13px; line-height: 1.2; letter-spacing: .02em; }
.section-nav a small { display: block; margin-top: 2px; color: inherit; font-size: 8px; font-weight: 500; letter-spacing: .06em; opacity: .62; }
.section-nav a:hover { background: rgba(23,23,28,.06); }
.section-nav a.is-active { background: var(--ink); color: white; box-shadow: 0 4px 13px rgba(23,23,28,.16); }
.section-nav a.is-active svg { color: #a99cff; }
.header-inner > .update-badge, .header-back-link { justify-self: end; }
.header-back-link { color: var(--muted); text-decoration: none; font-size: 12px; }
.header-back-link:hover { color: var(--ink); }

/* Dense categorized tools directory */
.wide-shell { width: min(calc(100% - 40px), 1760px); margin: 0 auto; }
.catalog-page { background: #f3f4f6; }
.catalog-main { min-height: calc(100vh - 78px); }
.catalog-intro { border-bottom: 1px solid #dedfe4; background: radial-gradient(circle at 8% -60%, rgba(103,84,233,.18), transparent 34%), linear-gradient(120deg, #fbfaf7 0%, #f4f2ff 56%, #eef4ff 100%); }
.catalog-intro-inner { min-height: 208px; display: grid; grid-template-columns: 1fr minmax(480px, 720px); align-items: center; gap: 70px; }
.catalog-intro .report-kicker { color: var(--violet); }
.catalog-intro h1 { margin: 0; font-size: clamp(38px, 4vw, 58px); line-height: 1; letter-spacing: -.065em; }
.catalog-intro h1 + p { margin: 15px 0 0; color: var(--muted); font-size: 13px; }
.catalog-search-wrap > label { display: block; margin-bottom: 8px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .1em; }
.catalog-search { height: 58px; display: grid; grid-template-columns: 22px minmax(0,1fr) auto; align-items: center; gap: 12px; padding: 0 16px 0 19px; border: 1px solid #d7d5e1; border-radius: 12px; background: rgba(255,255,255,.85); box-shadow: 0 9px 28px rgba(52,42,110,.08); }
.catalog-search:focus-within { border-color: var(--violet); box-shadow: 0 9px 30px rgba(103,84,233,.13); }
.catalog-search svg { width: 22px; fill: none; stroke: var(--muted); stroke-width: 1.7; stroke-linecap: round; }
.catalog-search input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font: 14px/1.4 inherit; }
.catalog-search input::placeholder { color: #999aa2; }
.catalog-search kbd { min-width: 26px; padding: 5px; border: 1px solid #dedee4; border-radius: 4px; background: #f5f5f7; color: var(--muted); font: 10px/1 monospace; text-align: center; }
.catalog-hot-searches { display: flex; align-items: center; gap: 7px; margin-top: 10px; color: var(--muted); font-size: 10px; }
.catalog-hot-searches button { padding: 4px 9px; border: 1px solid #dddde3; border-radius: 15px; background: rgba(255,255,255,.65); color: var(--muted); font: inherit; cursor: pointer; }
.catalog-hot-searches button:hover { border-color: var(--violet); color: var(--violet); }
.catalog-layout { display: grid; grid-template-columns: 250px minmax(0,1fr); align-items: start; gap: 28px; padding-top: 24px; padding-bottom: 75px; }
.catalog-sidebar { max-height: calc(100vh - 102px); position: sticky; top: 94px; overflow-y: auto; border: 1px solid #dedfe3; border-radius: 10px; background: #fbfbfc; box-shadow: 0 8px 24px rgba(23,23,28,.04); scrollbar-width: thin; }
.catalog-sidebar-title { min-height: 74px; display: flex; align-items: center; gap: 11px; padding: 0 15px; border-bottom: 1px solid #e4e4e7; }
.catalog-sidebar-title > span:last-child { min-width: 0; }
.catalog-sidebar-title strong { display: block; font-size: 17px; }
.catalog-sidebar-title small { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; }
.catalog-logo { width: 35px; height: 32px; display: flex; align-items: end; justify-content: center; gap: 2px; }
.catalog-logo i { width: 9px; height: 18px; display: block; border-radius: 9px 9px 2px 2px; background: linear-gradient(#a99cff, #6754e9); transform: rotate(34deg); transform-origin: bottom; }
.catalog-logo i:nth-child(2) { height: 27px; transform: none; }
.catalog-logo i:nth-child(3) { transform: rotate(-34deg); }
.catalog-category-nav { display: grid; padding: 7px; }
.catalog-category-nav a { min-height: 44px; display: grid; grid-template-columns: 26px minmax(0,1fr) auto; align-items: center; gap: 9px; padding: 0 10px; border-radius: 7px; color: #42434a; text-decoration: none; font-size: 13px; }
.catalog-category-nav a:hover { background: #f0eff7; color: var(--ink); }
.catalog-category-nav a.is-active { background: color-mix(in srgb, var(--category-color) 10%, white); color: var(--category-color); font-weight: 700; }
.catalog-category-nav i { width: 26px; height: 26px; display: grid; place-items: center; color: var(--category-color); font-size: 16px; font-style: normal; font-weight: 700; }
.catalog-category-nav sup { color: #9a9ba2; font-size: 10px; }
.catalog-content { min-width: 0; }
.catalog-result-bar { min-height: 48px; display: flex; align-items: center; justify-content: space-between; padding: 0 3px 14px; border-bottom: 1px solid #dedfe4; color: var(--muted); font-size: 13px; scroll-margin-top: 100px; }
.catalog-result-bar > span { color: var(--ink); font-size: 17px; font-weight: 700; }
.catalog-result-bar p { margin: 0; }
.catalog-result-bar strong { color: var(--violet); font-size: 18px; }
.catalog-section { padding: 27px 0 4px; scroll-margin-top: 90px; }
.catalog-section[hidden] { display: none; }
.catalog-section-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 10px; }
.catalog-section-title { display: flex; align-items: center; gap: 10px; }
.catalog-section-title > span { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 9px; background: color-mix(in srgb, var(--category-color) 12%, white); color: var(--category-color); font-size: 19px; font-weight: 800; }
.catalog-section-title h2 { margin: 0; font-size: 23px; letter-spacing: -.025em; }
.catalog-section-title p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
.catalog-section-header > a { color: var(--muted); text-decoration: none; font-size: 11px; }
.catalog-section-header > a:hover { color: var(--category-color); }
.catalog-subcategories { display: flex; gap: 4px; overflow-x: auto; margin-bottom: 11px; padding: 4px; border-radius: 8px; background: #e7e8eb; scrollbar-width: none; }
.catalog-subcategories button { min-width: max-content; padding: 8px 13px; border: 0; border-radius: 6px; background: transparent; color: #686970; font: 13px/1 inherit; cursor: pointer; }
.catalog-subcategories button:first-child, .catalog-subcategories button:hover { background: white; color: var(--category-color); box-shadow: 0 2px 6px rgba(23,23,28,.05); }
.catalog-tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(275px,1fr)); gap: 11px; }
.catalog-tool-card { min-width: 0; min-height: 104px; display: grid; grid-template-columns: 54px minmax(0,1fr) 16px; align-items: center; gap: 14px; padding: 15px 14px; border: 1px solid #e6e6e8; border-radius: 9px; background: white; color: var(--ink); text-decoration: none; box-shadow: 0 4px 16px rgba(23,23,28,.025); transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease; }
.catalog-tool-card[hidden] { display: none; }
.catalog-tool-card:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--category-color) 45%, white); box-shadow: 0 10px 22px rgba(23,23,28,.07); }
.catalog-tool-card img { width: 54px; height: 54px; padding: 4px; border: 1px solid #eeeeef; border-radius: 13px; background: white; object-fit: contain; }
.catalog-tool-card > span { min-width: 0; }
.catalog-tool-card strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 16px; line-height: 1.3; }
.catalog-tool-card small { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; margin-top: 6px; color: #686970; font-size: 12px; line-height: 1.55; }
.catalog-tool-card > svg { width: 14px; fill: none; stroke: #b0b1b6; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform .16s ease; }
.catalog-tool-card:hover > svg { transform: translateX(2px); stroke: var(--category-color); }
.catalog-empty { min-height: 380px; padding: 80px 20px; text-align: center; }
.catalog-empty > span { color: #d2d3d8; font: 72px/1 Arial,sans-serif; }
.catalog-empty h2 { margin: 12px 0 0; font-size: 22px; }
.catalog-empty p { color: var(--muted); font-size: 11px; }
.catalog-empty button { margin-top: 10px; padding: 10px 17px; border: 0; border-radius: 6px; background: var(--ink); color: white; font: 11px/1 inherit; cursor: pointer; }

/* Tool detail pages */
.tool-detail-page { background: #f3f3f0; }
.detail-main { min-height: calc(100vh - 78px); background: radial-gradient(circle at 83% 0, color-mix(in srgb, var(--category-color) 9%, transparent), transparent 28%); }
.detail-shell { max-width: 1180px; padding-top: 26px; padding-bottom: 80px; }
.detail-breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; color: var(--muted); font-size: 12px; }
.detail-breadcrumb a { color: inherit; text-decoration: none; }
.detail-breadcrumb a:hover { color: var(--category-color); }
.detail-breadcrumb strong { max-width: 260px; overflow: hidden; color: var(--ink); text-overflow: ellipsis; white-space: nowrap; }
.detail-hero { min-height: 235px; display: grid; grid-template-columns: 104px minmax(0,1fr) auto; align-items: center; gap: 26px; padding: 38px 42px; border: 1px solid #dfded9; border-radius: 14px; background: rgba(255,255,255,.82); box-shadow: 0 15px 40px rgba(23,23,28,.055); }
.detail-hero > img { width: 104px; height: 104px; padding: 8px; border: 1px solid #ecebea; border-radius: 22px; background: white; object-fit: contain; box-shadow: 0 9px 24px rgba(23,23,28,.06); }
.detail-hero-copy > p { margin: 0 0 7px; color: var(--category-color); font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.detail-hero-copy h1 { margin: 0; font-size: clamp(35px,4vw,52px); line-height: 1; letter-spacing: -.055em; }
.detail-hero-copy h2 { margin: 13px 0 0; color: #55565d; font-size: 16px; font-weight: 500; }
.detail-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 17px; }
.detail-tags span { padding: 6px 10px; border-radius: 15px; background: color-mix(in srgb, var(--category-color) 9%, white); color: var(--category-color); font-size: 11px; }
.official-button { min-height: 50px; display: flex; align-items: center; gap: 12px; padding: 0 20px; border-radius: 8px; background: var(--ink); color: white; text-decoration: none; font-size: 14px; font-weight: 700; box-shadow: 0 8px 20px rgba(23,23,28,.16); }
.official-button:hover { background: var(--category-color); }
.official-button svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.detail-layout { display: grid; grid-template-columns: minmax(0,1fr) 275px; align-items: start; gap: 28px; margin-top: 28px; }
.detail-article { display: grid; gap: 13px; }
.detail-article > section { padding: 31px 34px; border: 1px solid #e0dfda; border-radius: 12px; background: rgba(255,255,255,.72); }
.detail-kicker { margin: 0 0 7px; color: var(--category-color); font-size: 11px; font-weight: 800; letter-spacing: .16em; }
.detail-article h2, .related-tools h2 { margin: 0; font-size: 26px; letter-spacing: -.035em; }
.detail-article section > p:not(.detail-kicker) { margin: 17px 0 0; color: #4f5057; font-size: 15px; line-height: 1.85; }
.detail-feature-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; margin-top: 19px; }
.detail-feature-grid > div { min-height: 126px; padding: 16px; border: 1px solid #e9e8e3; border-radius: 8px; background: white; }
.detail-feature-grid span { color: var(--category-color); font: 9px/1 monospace; }
.detail-feature-grid strong { display: block; margin-top: 13px; font-size: 15px; }
.detail-feature-grid p { margin: 8px 0 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.detail-scenarios { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 19px; }
.detail-scenarios span { padding: 11px 14px; border-left: 3px solid var(--category-color); background: white; color: #51525a; font-size: 13px; }
.detail-article > .detail-notice { border-color: color-mix(in srgb, var(--category-color) 25%, #e0dfda); background: color-mix(in srgb, var(--category-color) 5%, white); }
.detail-notice strong { color: var(--category-color); font-size: 14px; }
.detail-notice p { margin-top: 8px !important; font-size: 13px !important; }
.detail-info-card { position: sticky; top: 105px; padding: 23px; border: 1px solid #dfded9; border-radius: 12px; background: white; }
.detail-info-card h2 { margin: 0 0 13px; font-size: 20px; }
.detail-info-card dl { margin: 0; }
.detail-info-card dl > div { display: grid; gap: 5px; padding: 13px 0; border-top: 1px solid #eeeeeb; }
.detail-info-card dt { color: var(--muted); font-size: 11px; }
.detail-info-card dd { overflow-wrap: anywhere; margin: 0; color: #41424a; font-size: 13px; }
.detail-info-card dd a { color: var(--category-color); }
.detail-info-card > a { min-height: 44px; display: grid; place-items: center; margin-top: 13px; border: 1px solid var(--ink); border-radius: 7px; color: var(--ink); text-align: center; text-decoration: none; font-size: 12px; font-weight: 700; }
.detail-info-card > a:hover { background: var(--ink); color: white; }
.related-tools { margin-top: 42px; padding-top: 28px; border-top: 1px solid #dbdad5; }
.related-tools > header { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 15px; }
.related-tools > header > a { color: var(--muted); text-decoration: none; font-size: 12px; }
.related-tool-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; }
.related-tool-grid > a { min-width: 0; min-height: 82px; display: grid; grid-template-columns: 44px minmax(0,1fr); align-items: center; gap: 11px; padding: 13px; border: 1px solid #e1e0dc; border-radius: 9px; background: white; text-decoration: none; }
.related-tool-grid > a:hover { border-color: var(--category-color); }
.related-tool-grid img { width: 44px; height: 44px; border-radius: 10px; object-fit: contain; }
.related-tool-grid span { min-width: 0; }
.related-tool-grid strong, .related-tool-grid small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.related-tool-grid strong { font-size: 14px; }
.related-tool-grid small { margin-top: 5px; color: var(--muted); font-size: 11px; }

@media (max-width: 1080px) {
  .catalog-intro-inner { grid-template-columns: .8fr 1.2fr; gap: 35px; }
  .catalog-layout { grid-template-columns: 225px minmax(0,1fr); gap: 18px; }
  .catalog-tool-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .detail-layout { grid-template-columns: minmax(0,1fr) 245px; gap: 18px; }
}

@media (max-width: 760px) {
  .site-header { height: 66px; }
  .header-inner { grid-template-columns: auto 1fr; gap: 12px; }
  .section-nav { width: max-content; height: 48px; justify-self: end; padding: 3px; }
  .section-nav a { min-width: 100px; height: 40px; justify-content: center; padding: 0 10px; }
  .section-nav a small { display: none; }
  .section-nav a strong { font-size: 11px; }
  .section-nav a svg { width: 16px; height: 16px; }
  .header-inner > .update-badge, .header-back-link { display: none; }
  .wide-shell { width: min(calc(100% - 24px),1760px); }
  .catalog-main, .detail-main { min-height: calc(100vh - 66px); }
  .catalog-intro-inner { min-height: 270px; grid-template-columns: 1fr; align-content: center; gap: 24px; padding-top: 28px; padding-bottom: 28px; }
  .catalog-intro h1 { font-size: 40px; }
  .catalog-intro h1 + p { margin-top: 10px; }
  .catalog-search-wrap { width: 100%; }
  .catalog-layout { grid-template-columns: 1fr; padding-top: 12px; }
  .catalog-sidebar { max-height: none; position: static; overflow: hidden; }
  .catalog-sidebar-title { min-height: 54px; }
  .catalog-category-nav { display: flex; overflow-x: auto; scrollbar-width: thin; }
  .catalog-category-nav a { min-width: max-content; grid-template-columns: 22px auto auto; }
  .catalog-tool-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .catalog-section { padding-top: 22px; }
  .detail-shell { padding-top: 15px; }
  .detail-hero { grid-template-columns: 78px minmax(0,1fr); gap: 18px; padding: 26px; }
  .detail-hero > img { width: 78px; height: 78px; border-radius: 18px; }
  .detail-hero-copy h1 { font-size: 36px; }
  .official-button { grid-column: 1 / -1; width: max-content; }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-info-card { position: static; }
  .related-tool-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 520px) {
  .header-inner { grid-template-columns: 28px minmax(0,1fr); }
  .brand { gap: 0; }
  .section-nav { width: 100%; }
  .section-nav a { min-width: 0; flex: 1; }
  .catalog-intro-inner { min-height: 300px; }
  .catalog-hot-searches { max-width: 100%; overflow-x: auto; }
  .catalog-tool-grid { grid-template-columns: 1fr; }
  .catalog-tool-card { min-height: 100px; }
  .catalog-section-title p { display: none; }
  .catalog-section-header > a { display: none; }
  .detail-breadcrumb { overflow: hidden; white-space: nowrap; }
  .detail-hero { grid-template-columns: 64px minmax(0,1fr); padding: 21px; }
  .detail-hero > img { width: 64px; height: 64px; padding: 5px; border-radius: 15px; }
  .detail-hero-copy h1 { font-size: 29px; }
  .detail-hero-copy h2 { font-size: 14px; }
  .detail-tags { margin-top: 11px; }
  .detail-article > section { padding: 24px 20px; }
  .detail-feature-grid { grid-template-columns: 1fr; }
  .related-tool-grid { grid-template-columns: 1fr; }
}

/* Directory behavior refinements */
.site-header,
.tools-page .site-header { position: relative; top: auto; }
.site-header .shell { width: 96%; max-width: none; }
.wide-shell { width: 96%; max-width: none; }
.catalog-layout { padding-top: 28px; }
.catalog-sidebar { top: 20px; }
.catalog-section { scroll-margin-top: 20px; }
.detail-info-card { top: 20px; }
.catalog-subcategories button:first-child { background: transparent; color: #797a81; box-shadow: none; }
.catalog-subcategories button.is-active,
.catalog-subcategories button:hover { background: white; color: var(--category-color); box-shadow: 0 2px 6px rgba(23,23,28,.05); }
.catalog-subcategories button sup { margin-left: 5px; color: inherit; font-size: 9px; opacity: .68; }

@media (max-width: 760px) {
  .site-header .shell { width: calc(100% - 24px); }
  .wide-shell { width: calc(100% - 24px); }
}

/* Government AI application news stream */
.government-page { --government-accent: #147567; background: #f4f3ed; }
.government-page .section-nav a.is-active svg { color: #72d2bd; }
.government-badge i { background: var(--government-accent); box-shadow: 0 0 0 4px rgba(20,117,103,.12); }
.government-main { min-height: calc(100vh - 78px); }
.government-layout { display: grid; grid-template-columns: 230px minmax(0,920px); justify-content: center; align-items: start; gap: clamp(32px,5vw,76px); padding-top: 42px; padding-bottom: 90px; }
.government-filter-panel { position: sticky; top: 22px; padding: 18px; border-top: 3px solid var(--government-accent); border-bottom: 1px solid var(--line); background: rgba(251,250,246,.6); }
.government-filter-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 23px; }
.government-filter-heading span { font-size: 15px; font-weight: 700; }
.government-filter-heading button { padding: 0; border: 0; background: transparent; color: var(--muted); font: 11px/1 inherit; cursor: pointer; }
.government-filter-heading button:hover { color: var(--government-accent); }
.government-filter-panel label { display: block; margin: 15px 0 7px; color: #4f5150; font-size: 11px; font-weight: 700; }
.government-filter-panel select { width: 100%; height: 41px; padding: 0 31px 0 10px; border: 1px solid #d4d4ce; border-radius: 0; outline: 0; background: #fbfaf6; color: var(--ink); font: 12px/1 inherit; }
.government-filter-panel select:focus { border-color: var(--government-accent); box-shadow: 0 0 0 2px rgba(20,117,103,.1); }
.government-filter-panel > p { margin: 23px 0 0; padding-top: 17px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; line-height: 1.7; }
.government-feed { min-width: 0; }
.government-feed-heading { min-height: 70px; display: flex; align-items: end; justify-content: space-between; gap: 20px; padding-bottom: 17px; border-bottom: 2px solid var(--ink); }
.government-feed-heading .report-kicker { margin-bottom: 5px; color: var(--government-accent); }
.government-feed-heading h2 { margin: 0; font-size: 27px; letter-spacing: -.035em; }
.government-feed-heading > span { padding-bottom: 3px; color: var(--muted); font-size: 11px; }
.government-feed-heading > span strong { color: var(--ink); font-size: 16px; }
.government-news-item { padding: 30px 3px 27px; border-bottom: 1px solid var(--line); }
.government-news-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; color: var(--muted); font-size: 10px; }
.government-news-meta time { margin-right: 4px; color: var(--government-accent); font-weight: 800; letter-spacing: .05em; }
.government-news-meta span { padding: 4px 7px; border: 1px solid #d8d8d2; background: rgba(255,255,255,.35); }
.government-news-item h3 { margin: 14px 0 11px; font-size: clamp(21px,2.2vw,28px); line-height: 1.35; letter-spacing: -.035em; }
.government-news-item h3 a { text-decoration: none; }
.government-news-item h3 a:hover { color: var(--government-accent); }
.government-news-item > p { max-width: 850px; margin: 0; color: #555856; font-size: 13px; line-height: 1.85; }
.government-news-item footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 17px; color: var(--muted); font-size: 10px; }
.government-news-item footer > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.government-news-item footer a { flex: none; color: var(--government-accent); text-decoration: none; font-weight: 700; }
.government-news-item footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.government-feed-status { min-height: 58px; display: grid; place-items: center; color: var(--muted); font-size: 11px; }
#government-feed-sentinel { height: 1px; }
.government-empty { padding: 88px 20px; border-bottom: 1px solid var(--line); text-align: center; }
.government-empty strong { font-size: 20px; }
.government-empty p { margin: 8px 0 0; color: var(--muted); font-size: 11px; }

@media (max-width: 1120px) {
  .header-inner { grid-template-columns: auto minmax(0,1fr) auto; }
  .section-nav a { min-width: 132px; }
  .government-layout { grid-template-columns: 210px minmax(0,1fr); gap: 35px; }
}

@media (max-width: 900px) {
  .site-header { height: 70px; }
  .section-nav { height: 50px; }
  .section-nav a { min-width: 105px; height: 40px; padding: 0 10px; }
  .section-nav a small { display: none; }
  .government-layout { grid-template-columns: 1fr; gap: 25px; padding-top: 25px; }
  .government-filter-panel { position: static; display: grid; grid-template-columns: auto minmax(150px,1fr) minmax(150px,1fr); align-items: end; gap: 12px; }
  .government-filter-heading { align-self: center; grid-row: 1 / 3; display: grid; gap: 8px; margin: 0 13px 0 0; }
  .government-filter-panel label { margin: 0; }
  .government-filter-panel > p { display: none; }
}

@media (max-width: 620px) {
  .site-header .shell { width: calc(100% - 18px); }
  .header-inner { grid-template-columns: 28px minmax(0,1fr); gap: 8px; }
  .header-inner > .update-badge { display: none; }
  .section-nav { width: 100%; }
  .section-nav a { min-width: 0; flex: 1; justify-content: center; padding: 0 6px; }
  .section-nav a svg { display: none; }
  .section-nav a strong { font-size: 10px; white-space: nowrap; }
  .government-layout { width: calc(100% - 24px); padding-bottom: 60px; }
  .government-filter-panel { grid-template-columns: 1fr 1fr; }
  .government-filter-heading { grid-row: auto; grid-column: 1 / -1; display: flex; margin: 0 0 3px; }
  .government-feed-heading { align-items: flex-end; }
  .government-feed-heading h2 { font-size: 22px; }
  .government-news-item { padding: 25px 1px 23px; }
  .government-news-item h3 { font-size: 21px; }
  .government-news-item > p { font-size: 12px; line-height: 1.75; }
  .government-news-item footer { align-items: flex-start; flex-direction: column; gap: 9px; }
  .government-news-item footer > span { max-width: 100%; }
}
