* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f3efe5;
  color: #0f172a;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.75;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

.site-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.site-topbar {
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
  background: #16324f;
  color: #e2e8f0;
  font-size: 13px;
}

.site-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 32px;
}

.site-topbar p {
  margin: 0;
}

.site-topbar-cta {
  color: #f7c66a;
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(243, 239, 229, 0.96);
  backdrop-filter: blur(10px);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 88px;
  padding: 18px 32px;
}

.site-brand {
  display: block;
  min-width: 0;
}

.site-brand-logo {
  display: block;
  max-width: 220px;
  height: 48px;
  object-fit: contain;
}

.site-brand-kicker {
  margin: 0;
  color: #9b6b2f;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.35em;
  text-transform: uppercase;
}

.site-brand-name {
  margin: 2px 0 0;
  max-width: 280px;
  overflow: hidden;
  color: #16324f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #334155;
  font-size: 16px;
  font-weight: 400;
}

.site-nav a:hover,
.site-action-link:hover {
  color: #16324f;
}

.site-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-action-link {
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 999px;
  padding: 7px 16px;
  color: #334155;
  font-size: 14px;
  font-weight: 400;
}

.site-action-button {
  border-radius: 999px;
  background: #16324f;
  padding: 8px 17px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.page {
  min-height: 70vh;
}

.kicker {
  margin: 0 0 12px;
  color: #9b6b2f;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: #16324f;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 700;
}

.hero {
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
  background: #eadfc9;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 32px;
}

.hero-main {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 48px;
  line-height: 1.18;
  font-weight: 600;
}

.summary {
  max-width: 720px;
  margin: 0;
  color: #334155;
  font-size: 18px;
  line-height: 1.9;
}

.actions,
.topics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.actions a {
  border-radius: 999px;
  background: #16324f;
  color: #fff;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 700;
}

.actions a + a {
  background: transparent;
  color: #334155;
  border: 1px solid rgba(15, 23, 42, 0.12);
}

.topics a {
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  padding: 8px 14px;
  color: #334155;
  font-size: 14px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.stats article {
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.62);
  padding: 20px;
}

.stats p {
  margin: 0;
  color: #16324f;
  font-size: 30px;
  font-weight: 700;
}

.stats span {
  display: block;
  margin-top: 8px;
  color: #475569;
  font-size: 14px;
}

.consult {
  border-radius: 32px;
  background: #16324f;
  color: #fff;
  padding: 32px;
  box-shadow: 0 25px 50px rgba(22, 50, 79, 0.16);
}

.consult h2 {
  margin: 10px 0 0;
  color: #fff;
  font-size: 30px;
  line-height: 1.25;
}

.consult p {
  color: #e2e8f0;
  font-size: 14px;
  line-height: 1.9;
}

.consult ul {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.consult li {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  padding: 12px 16px;
  color: #f8fafc;
  font-size: 14px;
}

.lead-form {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.lead-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.lead-form input {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  padding: 14px 16px;
  color: #fff;
  font-size: 14px;
  outline: none;
}

.lead-form input::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.lead-form input:focus {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.lead-submit-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lead-captcha {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lead-captcha input {
  width: 96px;
  flex: 0 0 96px;
  text-align: center;
}

.lead-captcha button {
  border: 0;
  background: transparent;
  padding: 0;
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
}

.lead-submit {
  border: 0;
  border-radius: 12px;
  background: #ff6b35;
  flex: 1;
  padding: 16px 20px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.lead-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.lead-feedback {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}

.lead-feedback-success {
  color: #b7f7c5;
}

.lead-feedback-error {
  color: #ffb4b4;
}

.section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 56px 32px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.section-head h2 {
  margin: 8px 0 0;
  font-size: 30px;
}

.section-head a {
  color: #475569;
  font-size: 14px;
  font-weight: 700;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.card {
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 8px;
  background: #fff;
  padding: 24px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.card .label {
  color: #9b6b2f;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.card h3 {
  margin: 12px 0 0;
  font-size: 20px;
  line-height: 1.45;
}

.card p {
  margin: 14px 0 0;
  color: #475569;
  font-size: 14px;
  line-height: 1.8;
}

.band {
  border-top: 1px solid rgba(15, 23, 42, 0.1);
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
  background: linear-gradient(135deg, #f8f6f1, #efe4cf);
}

.spotlight {
  border-radius: 8px;
  background: linear-gradient(135deg, #16324f, #24486c);
  padding: 32px;
  color: #fff;
  box-shadow: 0 20px 45px rgba(22, 50, 79, 0.15);
}

.spotlight .label {
  color: #f7c66a;
}

.spotlight h3,
.spotlight h3 a {
  color: #fff;
  font-size: 26px;
}

.spotlight p {
  color: #e2e8f0;
}

.article-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.home-insight-main {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.home-insight-featured {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 356px;
  border-radius: 32px;
  background: linear-gradient(135deg, #16324f, #24486c);
  padding: 32px;
  color: #fff;
  box-shadow: 0 20px 45px rgba(22, 50, 79, 0.15);
}

.home-insight-featured .label {
  color: #f7c66a;
}

.home-insight-featured h3 {
  margin: 16px 0 0;
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3333;
}

.home-insight-featured h3 a {
  color: #fff;
}

.home-insight-featured p {
  display: -webkit-box;
  overflow: hidden;
  margin: 16px 0 0;
  color: #e2e8f0;
  font-size: 14px;
  line-height: 1.75;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.home-insight-featured-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 24px;
}

.home-insight-featured-meta small {
  color: #cbd5e1;
  font-size: 12px;
}

.home-insight-featured-meta a {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 16px;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
}

.home-insight-list {
  display: grid;
  gap: 16px;
}

.home-insight-list-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  min-height: 108px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 16px;
  background: #fff;
  padding: 20px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.home-insight-list-copy {
  min-width: 0;
}

.home-insight-list-item .label,
.home-insight-more-item .label {
  color: #9b6b2f;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.25em;
  line-height: 1.3333;
  text-transform: uppercase;
}

.home-insight-list-item h3 {
  margin: 8px 0 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5556;
}

.home-insight-list-item h3 a,
.home-insight-more-item h3 a {
  color: #16324f;
}

.home-insight-list-item p {
  display: -webkit-box;
  overflow: hidden;
  margin: 8px 0 0;
  color: #475569;
  font-size: 14px;
  line-height: 1.7143;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-insight-list-meta {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
}

.home-insight-list-meta small {
  color: #94a3b8;
  font-size: 12px;
  white-space: nowrap;
}

.home-insight-list-meta a {
  color: #16324f;
  font-size: 16px;
  font-weight: 500;
}

.home-insight-more {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.home-insight-more-item {
  display: flex;
  flex-direction: column;
  min-height: 150px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.8);
  padding: 20px;
}

.home-insight-more-item h3 {
  display: -webkit-box;
  overflow: hidden;
  margin: 12px 0 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.75;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-insight-more-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 16px;
  color: #64748b;
  font-size: 12px;
}

.home-insight-more-meta a {
  color: #16324f;
  font-weight: 500;
}

.side-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 8px;
  background: linear-gradient(135deg, #fff, #f8f6f1);
  padding: 24px;
}

.side-panel h3 {
  margin: 0;
  font-size: 18px;
}

.side-panel .service-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 14px;
  background: #16324f;
  color: #fff;
  padding: 12px 14px;
  font-size: 14px;
}

.article-page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  color: #64748b;
  font-size: 14px;
  margin-bottom: 18px;
}

.detail-hero {
  background: #eadfc9;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 8px;
  padding: 36px;
}

.article-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
}

.article-detail-main {
  display: grid;
  gap: 24px;
}

.article-detail-sidebar {
  display: grid;
  gap: 20px;
}

.article-sidebar-card {
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 8px;
  background: #fff;
  padding: 24px;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
}

.article-sidebar-card h3 {
  margin: 8px 0 0;
  font-size: 22px;
}

.article-toc,
.article-sidebar-related {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.article-toc a {
  border-left: 3px solid #f7c66a;
  padding-left: 12px;
  color: #334155;
  font-size: 14px;
  line-height: 1.7;
}

.article-sidebar-related a {
  display: block;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  background: #f8f6f1;
  padding: 14px;
}

.article-sidebar-related span {
  display: block;
  color: #9b6b2f;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.article-sidebar-related strong {
  display: block;
  margin-top: 8px;
  color: #16324f;
  font-size: 14px;
  line-height: 1.6;
}

.article-sidebar-empty {
  margin: 18px 0 0;
  color: #64748b;
  font-size: 14px;
}

.article-detail-cta {
  margin-top: 8px;
}

.article-detail-cta h2 {
  margin: 0;
  color: #fff;
  font-size: 30px;
}

.article-detail-cta p {
  color: #e2e8f0;
}

.article-detail-lead {
  margin-top: 18px;
}

.detail-hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: 42px;
  line-height: 1.22;
}

.meta {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  color: #64748b;
  font-size: 14px;
}

.content {
  margin-top: 32px;
  background: #fff;
  border-radius: 8px;
  padding: 34px;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
  font-size: 16px;
  line-height: 1.85;
  color: #1e293b;
}

.content h1 {
  margin: 0 0 18px;
  font-size: 24px;
}

.content h2 {
  margin: 28px 0 14px;
  border-left: 4px solid #f7c66a;
  padding-left: 12px;
  font-size: 20px;
}

.content h3 {
  margin: 22px 0 10px;
  font-size: 17px;
}

.content p {
  margin: 0 0 14px;
}

.content img {
  display: block;
  margin: 8px 0 20px;
  border-radius: 18px;
}

.pager {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.pager a {
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 8px;
  background: #fff;
  padding: 20px;
}

.pager span {
  display: block;
  color: #64748b;
  font-size: 13px;
}

.related {
  margin-top: 34px;
  background: #16324f;
  color: #fff;
  border-radius: 8px;
  padding: 28px;
}

.related h2 {
  margin-top: 0;
  color: #fff;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.related a {
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.06);
}

.empty {
  border: 1px dashed rgba(15, 23, 42, 0.15);
  border-radius: 8px;
  padding: 40px;
  text-align: center;
  color: #64748b;
}

.site-footer {
  margin-top: 0;
  border-top: 1px solid rgba(15, 23, 42, 0.1);
  background: #16324f;
  color: #e2e8f0;
}

.site-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding: 56px 32px;
}

.site-footer-kicker,
.site-footer-title {
  margin: 0;
  color: #f7c66a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.site-footer-brand h2 {
  max-width: 560px;
  margin: 12px 0 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  line-height: 1.3;
}

.site-footer-brand p:last-child {
  max-width: 560px;
  margin: 14px 0 0;
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.9;
}

.site-footer-links {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  color: #cbd5e1;
  font-size: 14px;
}

.site-footer-links a:hover {
  color: #fff;
}

.site-footer-focus {
  display: grid;
  gap: 12px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.7;
}

.site-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: #0f2340;
}

.site-footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 12px;
  padding: 12px 32px;
  color: #cbd5e1;
  font-size: 14px;
  text-align: center;
}

.page-plain {
  max-width: 1280px;
  min-height: 388px;
  margin: 0 auto;
  padding: 44px 32px 72px;
}

.page-plain h1 {
  margin: 0 0 22px;
  font-size: 32px;
  line-height: 1.35;
}

.page-plain p {
  margin: 0 0 16px;
  color: #1f2937;
}

.page-title-block {
  min-height: 382px;
  padding-top: 46px;
}

.page-title-block h1 {
  margin: 0;
  font-size: 32px;
  line-height: 1.35;
}

.search-hero {
  max-width: 1280px;
  margin: 48px auto 0;
  border-radius: 28px;
  background: #16324f;
  color: #fff;
  padding: 36px 40px 32px;
}

.search-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.search-hero .kicker {
  color: #f7c66a;
}

.search-hero h1 {
  max-width: 620px;
  margin: 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
  line-height: 1.25;
  font-weight: 600;
}

.search-hero p {
  color: #f8fafc;
}

.search-topic-box {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
  padding: 24px 20px;
}

.search-topic-box p {
  margin-top: 0;
  font-weight: 700;
}

.search-topic-box .topics a {
  border-color: rgba(255, 255, 255, 0.16);
  background: transparent;
  color: #fff;
}

.search-form {
  display: grid;
  grid-template-columns: 1fr 134px;
  gap: 16px;
  margin-top: 30px;
  border-radius: 28px;
  background: #fff;
  padding: 16px;
}

.search-form input,
.search-form select {
  min-width: 0;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 18px;
  background: #f8f6f1;
  padding: 14px 18px;
  color: #0f172a;
  font-size: 16px;
  outline: none;
}

.search-form button {
  border: 0;
  border-radius: 18px;
  background: #16324f;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.search-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0 32px;
}

.filter-pills a {
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 999px;
  background: #fff;
  padding: 9px 18px;
  color: #334155;
  font-size: 14px;
}

.filter-pills a:first-child {
  background: #16324f;
  color: #fff;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.tag-page {
  max-width: 1280px;
  min-height: 382px;
  margin: 0 auto;
  padding: 46px 32px 72px;
}

.tag-page h1 {
  margin: 0 0 90px;
  font-size: 32px;
  line-height: 1.35;
}

.article-index {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 32px 72px;
}

.article-index-hero {
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 32px;
  background: #efe4cf;
  padding: 24px 24px 28px;
}

.article-index-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
}

.article-index-hero h1 {
  margin: 0;
  color: #16324f;
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 36px;
  font-weight: 600;
  line-height: 1.25;
}

.article-index-hero .summary {
  margin-top: 16px;
  font-size: 16px;
  line-height: 2;
}

.article-index-panel {
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.7);
  padding: 20px;
}

.article-index-panel .filter-pills {
  margin: 16px 0 0;
}

.article-index-filter > p {
  margin: 0;
  color: #334155;
  font-size: 14px;
  line-height: 1.75;
}

.article-index-body {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  margin-top: 40px;
}

.article-index-list {
  display: grid;
  gap: 24px;
}

.article-index-body .section-head h2 {
  margin: 12px 0 0;
  color: #16324f;
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.25;
}

.article-index-body .section-head .summary {
  color: #64748b;
  font-size: 14px;
  line-height: 1.5;
}

.article-index-featured {
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 32px;
  background: #fff;
  padding: 24px;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
}

.article-index-featured-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 32px;
  align-items: center;
}

.article-index-featured-copy {
  min-width: 0;
}

.article-index-featured h3 {
  margin: 14px 0 0;
  font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
  font-size: 30px;
  line-height: 1.35;
}

.article-index-featured h3 a {
  color: #16324f;
}

.article-index-featured .summary {
  margin-top: 18px;
  color: #475569;
  font-size: 14px;
  line-height: 2;
}

.article-index-meta {
  margin-top: 24px;
}

.article-index-featured-image,
.article-index-card-image {
  display: block;
  overflow: hidden;
  background: #f1f5f9;
}

.article-index-featured-image {
  height: 288px;
  border-radius: 24px;
}

.article-index-featured-image img,
.article-index-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #f8f6f1;
}

.article-index-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.article-index-card {
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.article-index-card-image {
  height: 192px;
}

.article-index-card-body {
  padding: 20px;
}

.article-index-card .label {
  margin: 0;
  color: #ff6b35;
  font-size: 12px;
  font-weight: 500;
}

.article-index-card h3 {
  margin: 10px 0 0;
  font-size: 17px;
  line-height: 1.5;
}

.article-index-card h3 a {
  color: #1f2937;
}

.article-index-card-summary {
  display: -webkit-box;
  margin: 10px 0 0;
  overflow: hidden;
  color: #64748b;
  font-size: 14px;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.article-index-card-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  color: #94a3b8;
  font-size: 12px;
}

.article-index-supplement {
  display: grid;
  align-content: start;
  align-self: start;
  gap: 24px;
}

.article-index-supplement .side-panel {
  border-radius: 24px;
}

.article-index-supplement .side-panel > .kicker {
  margin-bottom: 0;
}

.article-index-supplement .side-panel h3 {
  color: #16324f;
  font-size: 23px;
  font-weight: 600;
  line-height: 1.35;
}

.article-index-insights {
  display: grid;
  gap: 12px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.article-index-insights li {
  display: grid;
  gap: 5px;
  border-radius: 16px;
  background: #f8f6f1;
  padding: 16px;
}

.article-index-insights strong {
  color: #16324f;
  font-size: 14px;
}

.article-index-insights span {
  color: #475569;
  font-size: 13px;
  line-height: 1.65;
}

.article-index-search-panel {
  background: #16324f;
  color: #fff;
}

.article-index-search-panel .kicker {
  color: #f7c66a;
}

.article-index-supplement .article-index-search-panel h3,
.article-index-search-panel p {
  color: #fff;
}

.article-index-search-panel > p:not(.kicker) {
  margin: 0;
  color: #e2e8f0;
  font-size: 14px;
  line-height: 1.75;
}

.article-index-search-panel .site-action-button {
  align-self: flex-start;
  margin-top: 10px;
  background: #fff;
  color: #16324f;
}

.home-latest-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
}

.home-latest-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.home-latest-list .card {
  overflow: hidden;
  padding: 0;
}

.home-latest-cover {
  display: block;
  height: 164px;
  overflow: hidden;
  background: #f8f6f1;
}

.home-latest-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.home-latest-card-body {
  padding: 20px 22px 22px;
}

.home-latest-side {
  display: grid;
  align-content: start;
  gap: 24px;
}

.home-side-card {
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 24px;
  padding: 24px;
}

.home-side-topics {
  background: linear-gradient(135deg, #fff, #f8f6f1);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
}

.home-side-topics h3,
.home-side-nav h3,
.home-side-cta h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.45;
}

.home-topic-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.home-topic-list a {
  border: 1px solid rgba(22, 50, 79, 0.2);
  border-radius: 999px;
  background: #fff;
  padding: 6px 12px;
  color: #16324f;
  font-size: 12px;
  font-weight: 700;
}

.home-topic-list a:hover {
  border-color: #16324f;
  background: #16324f;
  color: #fff;
}

.home-side-nav,
.home-side-cta {
  display: grid;
  gap: 14px;
  border-color: transparent;
  background: linear-gradient(135deg, #16324f, #24486c);
  color: #fff;
  box-shadow: 0 18px 36px rgba(22, 50, 79, 0.14);
}

.home-side-kicker {
  margin: 0;
  color: #f7c66a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.home-side-nav h3,
.home-side-cta h3 {
  margin: 0;
  color: #fff;
}

.home-side-cta p {
  margin: 0;
  color: #e2e8f0;
  font-size: 14px;
  line-height: 1.75;
}

.home-service-list,
.home-side-bullets {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.home-service-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  padding: 12px 14px;
  color: #fff;
  font-size: 14px;
}

.home-service-link b {
  color: #f7c66a;
}

.home-side-bullets {
  list-style: none;
}

.home-side-bullets li {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  padding: 10px 12px;
  color: #f8fafc;
  font-size: 12px;
}

.home-side-cta .lead-form {
  margin-top: 2px;
}

/* Match the original Vue homepage typography and color scale. */
.page .hero {
  background: #efe4cf;
}

.page .kicker {
  font-weight: 600;
  line-height: 1.3333;
}

.page .hero h1 {
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  font-weight: 600;
  line-height: 1.25;
}

.page .hero .summary {
  color: #334155;
  line-height: 1.7778;
}

.page .actions a {
  font-weight: 600;
  line-height: 1.4286;
}

.page .stats p {
  font-weight: 600;
  line-height: 1.2;
}

.page .stats span,
.page .topics a {
  line-height: 1.4286;
}

.page .consult h2,
.page .section-head h2,
.page .spotlight h3,
.page .home-side-topics h3,
.page .home-side-nav h3,
.page .home-side-cta h3 {
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  font-weight: 600;
}

.page .consult p {
  line-height: 2;
}

.page .consult h2,
.page .section-head h2 {
  line-height: 1.2;
}

.page .consult li {
  line-height: 1.4286;
}

.page .section-head a {
  font-weight: 500;
}

.page .grid-4 .card .label,
.page .band .card .label {
  font-weight: 600;
  letter-spacing: 0.25em;
}

.page .grid-4 .card h3 {
  font-weight: 600;
}

.page .grid-4 .card p {
  line-height: 2;
}

.page .spotlight h3,
.page .spotlight h3 a {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3333;
}

.page .band .article-list .card h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5556;
}

.page .band .article-list .card p {
  line-height: 1.7143;
}

.page .band > .section > .grid-3 .card h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.75;
}

.page .home-latest-list .card h3 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.page .home-latest-list .card p {
  line-height: 1.5;
}

.page .home-topic-list a {
  font-weight: 500;
  line-height: 1.3333;
}

.page .home-service-link {
  font-weight: 500;
  line-height: 1.4286;
}

.page .home-side-topics h3,
.page .home-side-nav h3,
.page .home-side-cta h3 {
  line-height: 1.5556;
}

/* Article detail page: mirror the original Vue page hierarchy and typography. */
.article-detail-page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 32px;
}

.article-detail {
  display: grid;
  gap: 40px;
}

.article-detail-hero {
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 32px;
  background: #efe4cf;
  padding: 40px;
}

.article-detail-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.4286;
}

.article-detail-breadcrumb span:last-child {
  color: #334155;
}

.article-detail-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 32px;
  margin-top: 24px;
}

.article-detail-kicker {
  margin: 0;
  color: #9b6b2f;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3em;
  line-height: 1.3333;
  text-transform: uppercase;
}

.article-detail-hero h1 {
  margin: 16px 0 0;
  color: #16324f;
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 36px;
  font-weight: 600;
  line-height: 1.25;
}

.article-detail-hero-summary {
  max-width: 768px;
  margin: 20px 0 0;
  color: #334155;
  font-size: 16px;
  line-height: 2;
}

.article-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
  color: #475569;
  font-size: 14px;
  line-height: 1.4286;
}

.article-detail-quick-panel {
  border-radius: 24px;
  background: #16324f;
  padding: 24px;
  color: #fff;
}

.article-detail-quick-panel .article-detail-kicker {
  color: #f7c66a;
}

.article-detail-quick-panel dl {
  display: grid;
  gap: 16px;
  margin: 20px 0 0;
  font-size: 14px;
  line-height: 1.4286;
}

.article-detail-quick-panel dl div {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.article-detail-quick-panel dl div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.article-detail-quick-panel dt {
  color: #cbd5e1;
}

.article-detail-quick-panel dd {
  margin: 0;
  text-align: right;
}

.article-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
}

.article-detail-main {
  display: grid;
  gap: 32px;
  min-width: 0;
}

.article-detail-summary-card,
.article-detail-content,
.article-detail-sidebar-card {
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.article-detail-summary-card {
  padding: 24px;
  color: #334155;
  font-size: 16px;
  line-height: 2;
}

.article-detail-summary-card > p:last-child {
  margin: 16px 0 0;
}

.article-detail-content {
  padding: 32px 24px;
  color: #1e293b;
  font-size: 16px;
  line-height: 1.85;
}

.article-detail-content * {
  max-width: 100%;
}

.article-detail-content h1 {
  margin: 0 0 18px;
  color: #16324f;
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.35;
}

.article-detail-content h2 {
  margin: 28px 0 14px;
  border-left: 4px solid #f7c66a;
  padding-left: 12px;
  color: #16324f;
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
}

.article-detail-content h3 {
  margin: 22px 0 10px;
  color: #16324f;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
}

.article-detail-content p {
  margin: 0 0 14px;
}

.article-detail-content ul,
.article-detail-content ol {
  margin: 0 0 18px;
  padding-left: 1.45em;
}

.article-detail-content li {
  margin: 0 0 8px;
  line-height: 1.75;
}

.article-detail-content strong {
  color: #0f172a;
}

.article-detail-content a {
  color: #16324f;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-detail-content blockquote {
  margin: 18px 0;
  border-left: 4px solid #f7c66a;
  background: #f8f6f1;
  padding: 14px 18px;
  color: #334155;
}

.article-detail-content img {
  display: block;
  width: 100%;
  height: auto;
  margin: 8px 0 20px;
  border-radius: 18px;
}

.article-detail-content table {
  width: 100%;
  margin: 18px 0 22px;
  border-collapse: collapse;
  font-size: 14px;
}

.article-detail-content th,
.article-detail-content td {
  border: 1px solid #e2e8f0;
  padding: 12px;
  vertical-align: top;
}

.article-detail-content th {
  background: #f8f6f1;
  color: #16324f;
  font-weight: 700;
}

.article-neighbor-nav {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
}

.article-neighbor {
  display: flex;
  min-height: 106px;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 18px;
  padding: 18px 20px;
  color: #fff;
}

.article-neighbor span {
  display: -webkit-box;
  overflow: hidden;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.article-neighbor strong {
  font-size: 16px;
  font-weight: 500;
}

.article-neighbor-prev {
  align-items: flex-start;
  background: #444;
  text-align: left;
}

.article-neighbor-next {
  align-items: flex-end;
  background: #7e7e7e;
  text-align: right;
}

.article-detail-cta {
  border-radius: 28px;
  background: #16324f;
  padding: 32px 24px;
  color: #fff;
}

.article-detail-cta .article-detail-kicker {
  color: #f7c66a;
}

.article-detail-cta h2 {
  margin: 12px 0 0;
  color: #fff;
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.2;
}

.article-detail-cta > p:not(.article-detail-kicker) {
  margin: 16px 0 0;
  color: #e2e8f0;
  font-size: 14px;
  line-height: 2;
}

.article-detail-lead {
  margin-top: 24px;
}

.article-detail-sidebar {
  display: grid;
  align-content: start;
  align-self: start;
  gap: 24px;
}

.article-detail-sidebar-card {
  padding: 24px;
}

.article-detail-sidebar-card h3 {
  margin: 12px 0 0;
  color: #16324f;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3333;
}

.article-detail-toc-card {
  position: sticky;
  top: 112px;
}

.article-detail-toc,
.article-detail-related-list {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.article-detail-toc a {
  color: #475569;
  font-size: 14px;
  line-height: 1.7143;
}

.article-detail-related-list a {
  display: block;
  border-radius: 16px;
  background: #f8f6f1;
  padding: 16px;
}

.article-detail-related-list span {
  display: block;
  color: #9b6b2f;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.25em;
  line-height: 1.3333;
  text-transform: uppercase;
}

.article-detail-related-list strong {
  display: block;
  margin-top: 8px;
  color: #16324f;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.7143;
}

.article-detail-sidebar-empty {
  margin: 20px 0 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.7143;
}

@media (max-width: 900px) {
  .site-inner,
  .hero-inner,
  .section,
  .search-hero,
  .page-plain,
  .tag-page {
    width: auto;
    margin-right: 16px;
    margin-left: 16px;
  }

  .site-header-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav,
  .site-actions {
    display: none;
  }

  .hero-inner,
  .grid-2,
  .site-footer-grid,
  .search-hero-grid,
  .search-layout,
  .article-index-grid,
  .article-index-body,
  .article-index-featured-grid,
  .article-detail-layout,
  .home-latest-grid,
  .home-latest-list {
    grid-template-columns: 1fr;
  }

  .grid-4,
  .grid-3,
  .article-list,
  .article-index-cards,
  .stats,
  .pager,
  .lead-grid,
  .lead-submit-row {
    grid-template-columns: 1fr 1fr;
  }

  .hero h1 {
    font-size: 38px;
  }
}

@media (max-width: 640px) {
  .site-topbar-inner,
  .site-header-inner {
    padding: 12px 0;
  }

  .site-topbar-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav,
  .site-actions {
    flex-wrap: wrap;
    gap: 10px;
  }

  .site-brand-name {
    max-width: 100%;
    font-size: 22px;
  }

  .hero-inner,
  .section,
  .article-page,
  .site-footer-grid {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .grid-4,
  .grid-3,
  .article-list,
  .stats,
  .pager,
  .lead-grid,
  .lead-submit-row {
    grid-template-columns: 1fr;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero h1,
  .detail-hero h1 {
    font-size: 30px;
  }

  .search-hero {
    margin-top: 28px;
    border-radius: 22px;
    padding: 28px 20px 22px;
  }

  .search-hero h1 {
    font-size: 30px;
  }

  .search-form,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .article-index {
    padding-top: 36px;
  }

  .article-index-hero,
  .article-index-featured {
    border-radius: 22px;
  }

  .article-index-body {
    gap: 28px;
    margin-top: 28px;
  }

  .article-index-featured-image {
    height: 240px;
  }

  .search-form button {
    padding: 14px 18px;
  }

  .page-plain,
  .tag-page {
    min-height: 360px;
    padding-top: 40px;
  }

  .detail-hero,
  .content {
    padding: 22px;
  }

  .article-sidebar-card {
    padding: 20px;
  }

  .home-side-card {
    border-radius: 22px;
  }
}

@media (max-width: 640px) {
  .page .hero h1 {
    font-size: 36px;
    line-height: 1.25;
  }

  .page .hero .summary {
    font-size: 16px;
    line-height: 2;
  }
}

@media (max-width: 900px) {
  .article-detail-hero-grid,
  .article-detail-layout {
    grid-template-columns: 1fr;
  }

  .article-detail-toc-card {
    position: static;
  }
}

@media (max-width: 640px) {
  .article-detail-page {
    padding: 40px 16px;
  }

  .article-detail-hero {
    border-radius: 28px;
    padding: 28px 20px;
  }

  .article-detail-hero h1 {
    font-size: 30px;
  }

  .article-detail-content,
  .article-detail-summary-card,
  .article-detail-sidebar-card {
    padding: 22px;
  }

  .article-neighbor-nav {
    grid-template-columns: 1fr;
  }

  .article-neighbor-placeholder {
    display: none;
  }
}
