/* 养老信息网 (www.y5.ink) - 2026 适老化现代门户样式表 */
:root {
    --brand-blue: #13518e;
    --brand-blue-dark: #0c3b6a;
    --brand-blue-soft: #eef5fc;
    --brand-orange: #d96208;
    --brand-orange-dark: #b64f04;
    --brand-orange-soft: #fff4eb;
    --brand-jade: #0e7a5f;
    --brand-jade-soft: #ecfdf5;
    --ink: #1e293b;
    --ink-muted: #475569;
    --ink-light: #64748b;
    --border: #e2e8f0;
    --surface: #ffffff;
    --canvas: #f5f7fa;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
    --base-size: 16px;
}

html {
    font-size: var(--base-size);
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}

html.font-large {
    --base-size: 18px;
}

html.font-xlarge {
    --base-size: 20px;
}

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

body {
    margin: 0;
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--canvas);
    line-height: 1.65;
    overflow-x: hidden;
    word-wrap: break-word;
}

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

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

a:hover {
    color: var(--brand-orange);
}

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

/* Top Utility Bar */
.top-utility {
    background: #0f3d6e;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8125rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.utility-right {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.utility-link {
    color: rgba(255, 255, 255, 0.9);
}

.utility-link:hover {
    color: #ffd09b;
}

.font-switcher {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.font-switcher-label {
    color: rgba(255, 255, 255, 0.78);
}

.font-btn {
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: transparent;
    color: #ffffff;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-family: inherit;
    line-height: 1.4;
}

.font-btn.active,
.font-btn:hover {
    background: var(--brand-orange);
    border-color: var(--brand-orange);
    color: #ffffff;
}

/* Header & Navigation */
.site-header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    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: 76px;
}

.brand-wrap {
    flex-shrink: 0;
}

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

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

.nav-link {
    padding: 8px 11px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ink);
    border-radius: var(--radius-sm);
    white-space: nowrap;
}

.nav-link:hover {
    background: var(--brand-blue-soft);
    color: var(--brand-blue);
}

.nav-link.active {
    background: var(--brand-blue);
    color: #ffffff;
}

.header-search {
    display: flex;
    align-items: center;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    overflow: hidden;
    background: #f8fafc;
    width: 210px;
    flex-shrink: 0;
}

.header-search input {
    border: none;
    background: transparent;
    padding: 7px 12px;
    font-size: 0.85rem;
    color: var(--ink);
    width: 100%;
    min-width: 0;
    outline: none;
    font-family: inherit;
}

.header-search button {
    border: none;
    background: var(--brand-blue);
    color: #ffffff;
    padding: 7px 14px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    font-family: inherit;
}

.header-search button:hover {
    background: var(--brand-orange);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: #ffffff;
    padding: 8px;
    cursor: pointer;
    flex-shrink: 0;
}

.mobile-menu-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--brand-blue);
    border-radius: 2px;
}

.mobile-drawer {
    background: #ffffff;
    border-top: 1px solid var(--border);
    padding: 14px 0 18px;
    box-shadow: var(--shadow-md);
}

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

.mobile-search input {
    flex: 1;
    min-width: 0;
    padding: 9px 12px;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    font-family: inherit;
}

.mobile-search button {
    border: none;
    background: var(--brand-blue);
    color: #fff;
    padding: 9px 16px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
}

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

.mobile-nav-link {
    display: block;
    text-align: center;
    padding: 10px 8px;
    border-radius: var(--radius-sm);
    background: #f8fafc;
    border: 1px solid var(--border);
    color: var(--ink);
    font-weight: 600;
    font-size: 0.94rem;
}

.mobile-nav-link.active {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
    color: #ffffff;
}

.mobile-font-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: var(--ink-muted);
    padding-top: 8px;
    border-top: 1px dashed var(--border);
}

.mobile-font-bar .font-btn {
    border-color: #cbd5e1;
    color: var(--ink);
}

.mobile-font-bar .font-btn.active {
    background: var(--brand-orange);
    border-color: var(--brand-orange);
    color: #ffffff;
}

/* Homepage Announcement Banner */
.announce-bar {
    background: linear-gradient(90deg, #fff5eb 0%, #fef9f3 60%, #eef5fc 100%);
    border-bottom: 1px solid #f5d8bc;
}

.announce-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 10px;
    padding-bottom: 10px;
    flex-wrap: wrap;
}

.announce-badge {
    display: inline-block;
    background: var(--brand-orange);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 999px;
    flex-shrink: 0;
}

.announce-text {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: #7c3504;
    flex: 1;
    min-width: 0;
}

.announce-action {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--brand-blue);
    white-space: nowrap;
}

/* Hero Section */
.hero-band {
    background: linear-gradient(135deg, #0f3f72 0%, #16599c 55%, #1d6bb5 100%);
    color: #ffffff;
    padding: 36px 0 42px;
}

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

.hero-kicker {
    display: inline-block;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffdfbf;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.hero-title {
    margin: 0 0 12px;
    font-size: 2rem;
    line-height: 1.28;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.hero-lead {
    margin: 0 0 22px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.98rem;
    line-height: 1.7;
}

.finder-box {
    background: #ffffff;
    color: var(--ink);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: 0 14px 32px rgba(7, 29, 54, 0.24);
}

.finder-fields {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) 140px;
    gap: 10px;
    align-items: end;
}

.finder-field label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--ink-muted);
    margin-bottom: 5px;
}

.finder-field select {
    width: 100%;
    padding: 9px 10px;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    color: var(--ink);
    background: #f8fafc;
    font-family: inherit;
}

.hot-cities {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 13px;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
    font-size: 0.82rem;
}

.hot-label {
    color: var(--ink-light);
    font-weight: 600;
}

.city-pill {
    padding: 2px 10px;
    border-radius: 999px;
    background: var(--brand-blue-soft);
    color: var(--brand-blue);
    font-weight: 500;
}

.city-pill:hover {
    background: var(--brand-blue);
    color: #ffffff;
}

/* Hero Right Tools */
.hero-tools {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 11px;
    backdrop-filter: blur(4px);
}

.hero-tools-title {
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.badge-new {
    background: var(--brand-orange);
    color: #ffffff;
    font-size: 0.72rem;
    padding: 2px 8px;
    border-radius: 999px;
}

.tool-quick-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    color: var(--ink);
    padding: 12px;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.tool-quick-card:hover {
    transform: translateY(-2px);
    color: var(--brand-blue);
}

.tool-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 800;
    color: #ffffff;
    flex-shrink: 0;
}

.tool-icon-blue { background: var(--brand-blue); }
.tool-icon-orange { background: var(--brand-orange); }
.tool-icon-jade { background: var(--brand-jade); }

.tool-info strong {
    display: block;
    font-size: 0.94rem;
    line-height: 1.35;
}

.tool-info span {
    display: block;
    font-size: 0.78rem;
    color: var(--ink-muted);
    margin-top: 2px;
}

.hero-stats-mini {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
    gap: 8px;
}

.hero-stats-mini strong {
    display: block;
    font-size: 1.15rem;
    color: #ffd5a8;
}

.hero-stats-mini span {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.84);
}

/* Policy Metrics Strip */
.policy-metrics-strip {
    margin-top: -18px;
    position: relative;
    z-index: 5;
    padding-bottom: 12px;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.metric-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-top: 3px solid var(--brand-orange);
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 5px;
    color: var(--ink);
}

.metric-card:nth-child(2) { border-top-color: var(--brand-blue); }
.metric-card:nth-child(3) { border-top-color: var(--brand-jade); }
.metric-card:nth-child(4) { border-top-color: #6366f1; }

.metric-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    color: var(--ink);
}

.metric-tag {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--ink-light);
}

.metric-num {
    font-size: 1.25rem;
    color: var(--brand-blue-dark);
}

.metric-desc {
    font-size: 0.82rem;
    color: var(--ink-muted);
    line-height: 1.5;
}

/* Common Sections */
.section {
    padding: 40px 0;
}

.section-alt {
    background: #eef2f6;
}

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

.section-head.compact {
    margin-bottom: 14px;
}

.section-title {
    margin: 0;
    font-size: 1.45rem;
    color: var(--ink);
    font-weight: 800;
    line-height: 1.3;
}

.section-sub {
    margin: 5px 0 0;
    font-size: 0.9rem;
    color: var(--ink-muted);
}

.section-more {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--brand-blue);
    white-space: nowrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    font-family: inherit;
    text-align: center;
}

.btn-primary {
    background: var(--brand-orange);
    color: #ffffff;
}

.btn-primary:hover {
    background: var(--brand-orange-dark);
    color: #ffffff;
}

.btn-accent {
    background: var(--brand-blue);
    color: #ffffff;
}

.btn-accent:hover {
    background: var(--brand-blue-dark);
    color: #ffffff;
}

.btn-outline {
    background: #ffffff;
    border-color: var(--brand-blue);
    color: var(--brand-blue);
}

.btn-outline:hover {
    background: var(--brand-blue);
    color: #ffffff;
}

.btn-sm {
    padding: 7px 14px;
    font-size: 0.85rem;
}

.btn-block {
    width: 100%;
}

/* Institution Cards */
.inst-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.inst-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.inst-card:hover {
    border-color: #93c5fd;
    box-shadow: var(--shadow-md);
}

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

.inst-badges {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.badge {
    display: inline-block;
    font-size: 0.74rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 5px;
}

.badge-city {
    background: var(--brand-blue-soft);
    color: var(--brand-blue);
}

.badge-type {
    background: var(--brand-orange-soft);
    color: var(--brand-orange-dark);
}

.badge-star {
    background: #fef9c3;
    color: #92400e;
}

.star-rating {
    font-size: 0.86rem;
    letter-spacing: 1px;
    white-space: nowrap;
}

.star.on { color: #e67e00; }
.star.off { color: #cbd5e1; }

.inst-title {
    margin: 0;
    font-size: 1.08rem;
    line-height: 1.4;
}

.inst-title a {
    color: var(--ink);
}

.inst-title a:hover {
    color: var(--brand-blue);
}

.inst-summary {
    margin: 0;
    font-size: 0.86rem;
    color: var(--ink-muted);
    line-height: 1.55;
}

.inst-meta-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 10px;
    background: #f8fafc;
    border-radius: var(--radius-sm);
}

.inst-price {
    font-size: 0.82rem;
    color: var(--brand-orange-dark);
}

.inst-price strong {
    font-size: 1.08rem;
    color: var(--brand-orange);
}

.inst-beds {
    font-size: 0.8rem;
    color: var(--ink-light);
}

.inst-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag-chip {
    display: inline-block;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 4px;
    background: #f1f5f9;
    color: var(--ink-muted);
}

.tag-jade {
    background: var(--brand-jade-soft);
    color: var(--brand-jade);
}

.inst-card-foot {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 0.82rem;
}

.inst-addr {
    color: var(--ink-light);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.inst-detail-link {
    font-weight: 600;
    white-space: nowrap;
}

/* Editorial Two Column */
.editorial-two-col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.article-list-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 8px 20px;
    box-shadow: var(--shadow-sm);
}

.article-row {
    padding: 14px 0;
    border-bottom: 1px solid #f1f5f9;
}

.article-row:last-child {
    border-bottom: none;
}

.article-row-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.78rem;
    color: var(--ink-light);
    margin-bottom: 5px;
}

.cat-pill {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    background: var(--brand-blue-soft);
    color: var(--brand-blue);
    font-weight: 600;
    font-size: 0.74rem;
}

.cat-pill-jade {
    background: var(--brand-jade-soft);
    color: var(--brand-jade);
}

.article-row-title {
    margin: 0;
    font-size: 1rem;
    line-height: 1.45;
}

.article-row.lead .article-row-title {
    font-size: 1.12rem;
}

.article-row-title a {
    color: var(--ink);
}

.article-row-title a:hover {
    color: var(--brand-blue);
}

.article-row-excerpt {
    margin: 6px 0 0;
    font-size: 0.86rem;
    color: var(--ink-muted);
    line-height: 1.55;
}

/* AI Smart Eldercare Showcase */
.ai-showcase {
    background: linear-gradient(135deg, #102a43 0%, #1b3f63 100%);
    color: #ffffff;
}

.ai-kicker {
    display: inline-block;
    background: rgba(255, 169, 77, 0.2);
    color: #ffd19c;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
    margin-bottom: 6px;
}

.ai-title { color: #ffffff; }
.ai-sub { color: rgba(255, 255, 255, 0.82); }
.ai-more { color: #ffd19c; }
.ai-more:hover { color: #ffffff; }

.ai-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.ai-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius);
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ai-card-tag {
    align-self: flex-start;
    font-size: 0.74rem;
    font-weight: 600;
    padding: 2px 9px;
    border-radius: 4px;
    background: rgba(217, 98, 8, 0.88);
    color: #ffffff;
}

.ai-card h3 {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.45;
}

.ai-card h3 a {
    color: #ffffff;
}

.ai-card h3 a:hover {
    color: #ffd19c;
}

.ai-card p {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.55;
}

.ai-card-foot {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.7);
}

.ai-card-foot a {
    color: #ffd19c;
    font-weight: 600;
}

/* Exhibitions */
.expo-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

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

.expo-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.expo-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.expo-city {
    font-weight: 700;
    color: var(--brand-blue);
    font-size: 0.85rem;
}

.expo-status {
    font-size: 0.74rem;
    font-weight: 700;
    padding: 2px 9px;
    border-radius: 999px;
}

.status-upcoming { background: var(--brand-blue-soft); color: var(--brand-blue); }
.status-soon { background: var(--brand-orange-soft); color: var(--brand-orange-dark); }
.status-done { background: #f1f5f9; color: #64748b; }

.expo-title {
    margin: 0;
    font-size: 1.04rem;
    line-height: 1.45;
}

.expo-title a { color: var(--ink); }
.expo-title a:hover { color: var(--brand-blue); }

.expo-meta {
    font-size: 0.83rem;
    color: var(--ink-muted);
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: #f8fafc;
    padding: 9px 10px;
    border-radius: var(--radius-sm);
}

.expo-desc {
    margin: 0;
    font-size: 0.85rem;
    color: var(--ink-muted);
}

.expo-foot {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}

.expo-audience {
    font-size: 0.78rem;
    color: var(--ink-light);
}

.expo-link {
    margin-top: auto;
    font-size: 0.86rem;
    font-weight: 600;
}

/* Guides Grid */
.guide-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.guide-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow-sm);
}

.guide-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--ink-light);
    margin-bottom: 8px;
}

.guide-card h3 {
    margin: 0 0 8px;
    font-size: 1.02rem;
    line-height: 1.45;
}

.guide-card h3 a { color: var(--ink); }
.guide-card h3 a:hover { color: var(--brand-blue); }

.guide-card p {
    margin: 0;
    font-size: 0.86rem;
    color: var(--ink-muted);
}

/* Inner Page Banners */
.page-banner {
    background: linear-gradient(135deg, #11457b 0%, #1a61a8 100%);
    color: #ffffff;
    padding: 28px 0 30px;
}

.page-banner.compact-banner {
    padding: 22px 0 24px;
}

.breadcrumb {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.breadcrumb a { color: rgba(255, 255, 255, 0.92); }
.breadcrumb a:hover { color: #ffd19c; }

.page-banner h1 {
    margin: 0 0 8px;
    font-size: 1.7rem;
    line-height: 1.3;
}

.page-banner p {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.95rem;
    max-width: 820px;
}

.cat-switch-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.page-banner .filter-chip {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.page-banner .filter-chip.active,
.page-banner .filter-chip:hover {
    background: var(--brand-orange);
    border-color: var(--brand-orange);
    color: #ffffff;
}

/* Filter Panel */
.filter-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.filter-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px dashed #e2e8f0;
}

.filter-row:last-child { border-bottom: none; }

.filter-label {
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--ink);
    width: 82px;
    flex-shrink: 0;
    padding-top: 4px;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex: 1;
}

.filter-chip {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.84rem;
    border: 1px solid var(--border);
    background: #f8fafc;
    color: var(--ink-muted);
}

.filter-chip.active,
.filter-chip:hover {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
    color: #ffffff;
}

.result-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 18px;
    font-size: 0.92rem;
}

.inline-tool-link {
    font-weight: 600;
    color: var(--brand-orange-dark);
}

/* Two-Column Content + Sidebar */
.content-with-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
    align-items: start;
}

.main-col { min-width: 0; }
.sidebar-col {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 0;
}

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

.side-card h3 {
    margin: 0 0 12px;
    font-size: 1.05rem;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--brand-blue-soft);
}

.side-tool-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.side-tool-item {
    display: block;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    background: #f8fafc;
    border: 1px solid var(--border);
    color: var(--ink);
}

.side-tool-item:hover {
    border-color: var(--brand-orange);
    background: var(--brand-orange-soft);
}

.side-tool-item strong {
    display: block;
    font-size: 0.9rem;
    color: var(--brand-blue-dark);
}

.side-tool-item span {
    font-size: 0.78rem;
    color: var(--ink-muted);
}

.side-inst-list,
.side-article-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.side-inst-list li,
.side-article-list li {
    padding-bottom: 10px;
    border-bottom: 1px solid #f1f5f9;
}

.side-inst-list li:last-child,
.side-article-list li:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.side-inst-list strong {
    display: block;
    font-size: 0.92rem;
    color: var(--ink);
}

.side-inst-list span {
    display: block;
    font-size: 0.78rem;
    color: var(--ink-muted);
    margin-top: 2px;
}

.side-article-list a {
    display: flex;
    flex-direction: column;
    gap: 3px;
    color: var(--ink);
    font-size: 0.9rem;
    line-height: 1.45;
}

.side-article-list a:hover { color: var(--brand-blue); }
.side-article-list time { font-size: 0.76rem; color: var(--ink-light); }

.side-more-btn {
    display: block;
    margin-top: 14px;
    text-align: center;
    padding: 8px;
    border-radius: var(--radius-sm);
    background: var(--brand-blue-soft);
    color: var(--brand-blue);
    font-weight: 600;
    font-size: 0.86rem;
}

/* Article Feed & Detail */
.article-feed {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feed-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.feed-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.8rem;
    color: var(--ink-light);
    margin-bottom: 8px;
}

.feed-title {
    margin: 0 0 8px;
    font-size: 1.2rem;
    line-height: 1.4;
}

.feed-title a { color: var(--ink); }
.feed-title a:hover { color: var(--brand-blue); }

.feed-summary {
    margin: 0 0 12px;
    font-size: 0.92rem;
    color: var(--ink-muted);
}

.feed-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.feed-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.feed-more {
    font-weight: 600;
    font-size: 0.88rem;
}

.article-detail-card,
.detail-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
}

.article-cat-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.82rem;
    color: var(--ink-light);
    margin-bottom: 12px;
}

.article-title {
    margin: 0 0 16px;
    font-size: 1.65rem;
    line-height: 1.35;
    color: var(--ink);
}

.article-takeaway {
    background: var(--brand-blue-soft);
    border-left: 4px solid var(--brand-blue);
    padding: 14px 16px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 0.94rem;
    color: #1e3a5f;
    margin-bottom: 22px;
}

.article-body {
    font-size: 1.02rem;
    line-height: 1.82;
    color: #1e293b;
}

.article-body h2 {
    margin: 26px 0 12px;
    font-size: 1.26rem;
    color: var(--brand-blue-dark);
    padding-left: 11px;
    border-left: 4px solid var(--brand-orange);
}

.article-body h3 {
    margin: 18px 0 8px;
    font-size: 1.08rem;
    color: var(--ink);
}

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

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

.article-body li {
    margin-bottom: 7px;
}

.article-footer {
    margin-top: 26px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

.article-tags-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
    font-size: 0.86rem;
    color: var(--ink-muted);
}

.article-disclaimer,
.tips-callout {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: var(--radius-sm);
    padding: 13px 15px;
    font-size: 0.86rem;
    color: #78350f;
    line-height: 1.6;
}

/* Institution Detail */
.inst-hero-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.inst-hero-addr {
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.86);
}

.inst-hero-price-box {
    background: #ffffff;
    color: var(--ink);
    padding: 16px 20px;
    border-radius: var(--radius);
    min-width: 240px;
    box-shadow: var(--shadow-md);
}

.price-box-label {
    font-size: 0.78rem;
    color: var(--ink-light);
}

.price-box-val {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--brand-orange);
    margin: 4px 0 10px;
}

.price-box-val span {
    font-size: 0.86rem;
    font-weight: 500;
    color: var(--ink-muted);
}

.detail-card h2 {
    margin: 0 0 14px;
    font-size: 1.24rem;
    color: var(--brand-blue-dark);
}

.detail-lead {
    font-size: 0.98rem;
    color: var(--ink-muted);
    margin: 0 0 16px;
}

.detail-note {
    font-size: 0.88rem;
    color: var(--ink-muted);
    margin: 0 0 12px;
}

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

.spec-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    padding: 11px 14px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.spec-k { font-size: 0.78rem; color: var(--ink-light); }
.spec-v { font-size: 0.94rem; font-weight: 600; color: var(--ink); }

.table-scroll {
    width: 100%;
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.data-table th,
.data-table td {
    padding: 11px 12px;
    border: 1px solid var(--border);
    text-align: left;
}

.data-table th {
    background: #f1f5f9;
    font-weight: 700;
    color: var(--ink);
}

.feature-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.feature-box {
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px;
}

.feature-box h3 {
    margin: 0 0 8px;
    font-size: 1rem;
    color: var(--brand-blue);
}

.feature-box p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--ink-muted);
}

/* Tools Page */
.tool-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px;
    box-shadow: var(--shadow-sm);
}

.tool-panel-head h2 {
    margin: 8px 0 8px;
    font-size: 1.38rem;
}

.tool-panel-head p {
    margin: 0 0 20px;
    font-size: 0.92rem;
    color: var(--ink-muted);
}

.calc-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 24px;
    align-items: start;
}

.calc-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.form-row label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--ink);
}

.form-row select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    background: #f8fafc;
    font-family: inherit;
    color: var(--ink);
}

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

.checkbox-row input {
    margin-top: 4px;
    width: 17px;
    height: 17px;
    flex-shrink: 0;
}

.calc-result {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius);
    padding: 20px;
}

.result-highlight {
    background: linear-gradient(135deg, #0f3f72 0%, #175da1 100%);
    color: #ffffff;
    border-radius: var(--radius-sm);
    padding: 18px;
    text-align: center;
    margin-bottom: 16px;
}

.result-highlight span {
    display: block;
    font-size: 0.86rem;
    opacity: 0.9;
}

.result-highlight strong {
    display: block;
    font-size: 2rem;
    color: #ffd19c;
    margin: 4px 0;
}

.result-highlight small {
    font-size: 0.82rem;
    opacity: 0.85;
}

.result-breakdown {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
}

.rb-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    padding-bottom: 6px;
    border-bottom: 1px dashed #e2e8f0;
}

.rb-total {
    font-weight: 700;
    color: var(--ink);
}

.rb-save strong {
    color: var(--brand-jade);
}

.result-tip {
    margin: 0;
    font-size: 0.82rem;
    color: var(--ink-muted);
    line-height: 1.55;
}

/* ADL Self-Assessment */
.adl-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.adl-q-card {
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px;
}

.adl-q-title {
    font-weight: 700;
    font-size: 0.94rem;
    margin-bottom: 9px;
    color: var(--brand-blue-dark);
}

.adl-opts {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.adl-opt {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.88rem;
    cursor: pointer;
}

.adl-opt input {
    margin-top: 4px;
    flex-shrink: 0;
}

.adl-actions {
    margin: 18px 0;
}

.adl-result-box {
    background: var(--brand-jade-soft);
    border: 1px solid #a7f3d0;
    border-radius: var(--radius);
    padding: 18px 20px;
}

.adl-result-head {
    font-size: 1.04rem;
    margin-bottom: 8px;
    color: #065f46;
}

.adl-result-head strong {
    font-size: 1.18rem;
}

.adl-result-box p {
    margin: 0 0 12px;
    font-size: 0.92rem;
    color: #064e3b;
}

.adl-result-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Checklist */
.checklist-score-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    background: var(--brand-blue-soft);
    border: 1px solid #bfdbfe;
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    margin-bottom: 18px;
    font-size: 0.94rem;
}

.checklist-groups {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.chk-group {
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px;
}

.chk-group h3 {
    margin: 0 0 10px;
    font-size: 0.98rem;
    color: var(--brand-blue-dark);
}

.chk-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.chk-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.88rem;
    cursor: pointer;
}

.chk-item input {
    margin-top: 4px;
    width: 17px;
    height: 17px;
    flex-shrink: 0;
}

/* Search, Pagination, Empty & About */
.page-search-form {
    display: flex;
    gap: 10px;
    max-width: 620px;
    margin-top: 14px;
}

.page-search-form input {
    flex: 1;
    min-width: 0;
    padding: 11px 14px;
    border-radius: var(--radius-sm);
    border: none;
    font-size: 0.95rem;
    font-family: inherit;
}

.search-count-tip {
    margin: 0 0 20px;
    color: var(--ink-muted);
}

.search-group-title {
    margin: 0 0 14px;
    font-size: 1.2rem;
    color: var(--brand-blue-dark);
}

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

.page-btn {
    padding: 7px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: #ffffff;
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 600;
}

.page-btn.active {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
    color: #ffffff;
}

.page-btn.disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.empty-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 24px;
    text-align: center;
}

.nf-code {
    font-size: 3.4rem;
    font-weight: 800;
    color: var(--brand-orange);
    line-height: 1;
    margin-bottom: 10px;
}

.nf-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.about-card p {
    line-height: 1.8;
    color: var(--ink-muted);
}

.about-list {
    padding-left: 20px;
    color: var(--ink-muted);
    line-height: 1.8;
}

.expo-hero-badges {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

/* Footer */
.site-footer {
    background: #0f253d;
    color: rgba(255, 255, 255, 0.84);
    margin-top: 20px;
}

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

.footer-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 10px;
}

.footer-domain {
    font-size: 0.86rem;
    font-weight: 500;
    color: #ffd19c;
    margin-left: 6px;
}

.footer-desc,
.footer-note {
    font-size: 0.84rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.74);
    margin: 0 0 10px;
}

.footer-col h3 {
    margin: 0 0 12px;
    font-size: 0.96rem;
    color: #ffffff;
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.86rem;
}

.footer-cities {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 10px !important;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.8);
}

.site-footer a:hover {
    color: #ffd19c;
}

.footer-bottom {
    background: #0a1b2e;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px 0;
    font-size: 0.82rem;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    text-align: center;
}

.footer-sep {
    opacity: 0.35;
}

/* Responsive Breakpoints */
@media (max-width: 1060px) {
    .main-nav { display: none; }
    .header-search { display: none; }
    .mobile-menu-toggle { display: flex; }
    .hero-grid { grid-template-columns: 1fr; }
    .metrics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ai-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .expo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .content-with-sidebar { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
    .top-utility { display: none; }
    .header-inner { min-height: 64px; }
    .brand-logo { height: 44px; }
    .hero-band { padding: 24px 0 30px; }
    .hero-title { font-size: 1.48rem; }
    .finder-fields { grid-template-columns: minmax(0, 1fr); }
    .metrics-grid { grid-template-columns: minmax(0, 1fr); }
    .inst-grid { grid-template-columns: minmax(0, 1fr); }
    .editorial-two-col { grid-template-columns: minmax(0, 1fr); }
    .ai-grid { grid-template-columns: minmax(0, 1fr); }
    .expo-grid,
    .expo-list-grid { grid-template-columns: minmax(0, 1fr); }
    .guide-grid { grid-template-columns: minmax(0, 1fr); }
    .calc-grid { grid-template-columns: minmax(0, 1fr); }
    .adl-form { grid-template-columns: minmax(0, 1fr); }
    .checklist-groups { grid-template-columns: minmax(0, 1fr); }
    .spec-grid,
    .feature-split { grid-template-columns: minmax(0, 1fr); }
    .filter-row { flex-direction: column; gap: 6px; }
    .filter-label { width: auto; padding-top: 0; }
    .article-detail-card,
    .detail-card,
    .tool-panel { padding: 18px 15px; }
    .article-title { font-size: 1.35rem; }
    .page-banner h1 { font-size: 1.35rem; }
    .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 28px 18px; }
    .inst-hero-price-box { width: 100%; min-width: 0; }
    .page-search-form { flex-direction: column; }
    .announce-action { display: none; }
}
