/* Global Styles & Design Tokens for jichangtuijianxuan.xyz */
:root {
  --primary-color: #2563eb;
  --primary-hover: #1d4ed8;
  --bg-color: #f8fafc;
  --text-main: #0f172a;
  --text-muted: #475569;
  --border-color: #e2e8f0;
  --card-bg: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Inter", sans-serif;
  --font-mono: "Fira Code", Monaco, Consolas, monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.85;
  font-size: 16px;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--primary-hover);
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-top-bar {
  padding: 14px 0;
  border-bottom: 1px solid #f1f5f9;
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.brand-area {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
}

.brand-icon {
  color: var(--primary-color);
}

.brand-slogan {
  font-size: 13px;
  color: var(--text-muted);
  border-left: 1px solid var(--border-color);
  padding-left: 12px;
}

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

.search-trigger-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #f1f5f9;
  border: 1px solid var(--border-color);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.search-trigger-btn:hover {
  background: #e2e8f0;
  color: var(--text-main);
}

.social-icon-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.tg-btn {
  background: #0088cc;
  color: #ffffff;
}

.tg-btn:hover {
  background: #0077b3;
  color: #ffffff;
}

.github-btn {
  background: #24292e;
  color: #ffffff;
}

.github-btn:hover {
  background: #1b1f23;
  color: #ffffff;
}

.icon-svg {
  display: inline-block;
  vertical-align: middle;
}

.main-nav-bar {
  background: #ffffff;
  padding: 10px 0;
}

.nav-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 20px;
}

.nav-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
  padding: 6px 0;
  position: relative;
}

.nav-link:hover {
  color: var(--primary-color);
}

.highlight-nav-btn {
  background: #ef4444;
  color: #ffffff;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
}

.highlight-nav-btn:hover {
  background: #dc2626;
  color: #ffffff;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: #ffffff;
  padding: 50px 0;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(37, 99, 235, 0.2);
  border: 1px solid #3b82f6;
  color: #93c5fd;
  font-size: 13px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.hero-h1-title {
  font-size: 32px;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 16px;
}

.hero-description-paragraph {
  max-width: 860px;
  margin: 0 auto 24px;
  font-size: 15px;
  color: #cbd5e1;
  line-height: 1.8;
}

.hero-cta-group {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
}

.btn-primary-cta {
  background: var(--primary-color);
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

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

.btn-secondary-cta {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-md);
}

.hero-note-text {
  font-size: 12px;
  color: #94a3b8;
}

/* Top Announcement Section */
.top-announcement-section {
  padding-top: 30px;
}

.announcement-card {
  background: linear-gradient(135deg, #ffffff 0%, #eff6ff 100%);
  border: 2px solid #bfdbfe;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
}

.announcement-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.announcement-tag {
  background: #2563eb;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
}

.announcement-date {
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
}

.announcement-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 10px;
}

.announcement-title a {
  color: #0f172a;
}

.announcement-title a:hover {
  color: #2563eb;
}

.announcement-summary {
  font-size: 14px;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 16px;
}

.announcement-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  margin-bottom: 20px;
}

.highlight-item {
  background: #ffffff;
  border: 1px solid #dbeafe;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: #1e293b;
}

.announcement-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-announcement-read {
  background: #0f172a;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
}

.btn-announcement-buy {
  background: var(--primary-color);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
}

/* TOP 4 Section */
.top4-section {
  padding: 30px 20px 40px;
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 30px;
}

.section-h2-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-main);
}

.section-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 6px;
}

.top4-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.provider-rank-card {
  background: var(--card-bg);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.provider-rank-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.primary-first {
  border-color: #f59e0b;
}

.primary-second {
  border-color: #3b82f6;
}

.primary-third {
  border-color: #10b981;
}

.primary-fourth {
  border-color: #8b5cf6;
}

.card-badge-top {
  position: absolute;
  top: -14px;
  left: 20px;
  background: #f59e0b;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 12px;
}

.primary-second .card-badge-top { background: #3b82f6; }
.primary-third .card-badge-top { background: #10b981; }
.primary-fourth .card-badge-top { background: #8b5cf6; }

.p-title {
  font-size: 20px;
  font-weight: 800;
  margin-top: 8px;
  margin-bottom: 6px;
}

.p-price {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.p-price span {
  font-size: 18px;
  font-weight: 800;
  color: #ef4444;
}

.p-coupon-box {
  background: #f8fafc;
  border: 1px dashed var(--border-color);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.p-coupon-box code {
  font-family: var(--font-mono);
  font-weight: 700;
  color: #2563eb;
}

.copy-btn {
  background: var(--primary-color);
  color: #ffffff;
  border: none;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  cursor: pointer;
}

.p-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 12px;
  min-height: 52px;
}

.p-detail-item {
  font-size: 12.5px;
  color: var(--text-main);
  line-height: 1.5;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dashed var(--border-color);
}

.p-detail-label {
  font-weight: 700;
  color: var(--text-heading);
  display: block;
  margin-bottom: 4px;
}

.p-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 2px;
}

.p-tag {
  background: #f1f5f9;
  color: #334155;
  font-size: 11.5px;
  padding: 2px 7px;
  border-radius: 4px;
  font-weight: 600;
}

.p-card-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.btn-outline {
  flex: 1;
  text-align: center;
  border: 1px solid var(--border-color);
  padding: 8px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  background: #ffffff;
}

.btn-fill {
  flex: 1.4;
  text-align: center;
  background: var(--primary-color);
  color: #ffffff;
  padding: 8px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
}

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

/* Section Previews Grid */
.sections-preview-area {
  padding: 30px 20px;
}

.sections-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.sec-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.sec-card h3 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 8px;
}

.sec-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 12px;
}

.sec-card a {
  font-size: 13px;
  font-weight: 700;
}

/* Compact Providers Grid */
.all-providers-section {
  padding: 30px 20px 60px;
}

.providers-compact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}

.provider-compact-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 14px;
}

.p-compact-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.p-rank {
  font-size: 12px;
  font-weight: 800;
  color: var(--primary-color);
  background: #eff6ff;
  padding: 2px 6px;
  border-radius: 4px;
}

.p-name {
  font-weight: 700;
  font-size: 15px;
}

.p-tag-price {
  margin-left: auto;
  font-size: 13px;
  font-weight: 700;
  color: #ef4444;
}

.p-compact-summary {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.p-compact-links {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
}

/* Article Styling (Varied Visuals & Typography) */
.article-container {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-top: 30px;
  margin-bottom: 50px;
  box-shadow: var(--shadow-md);
}

.article-category-badge {
  display: inline-block;
  background: #dbeafe;
  color: #1e40af;
  font-weight: 700;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 12px;
  margin-bottom: 12px;
}

.article-h1-title {
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 12px;
  line-height: 1.4;
}

.article-meta-info {
  font-size: 13px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
  margin-bottom: 24px;
}

.article-content-body h1 {
  font-size: 28px;
  font-weight: 900;
  margin-top: 32px;
  margin-bottom: 20px;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.article-content-body h2 {
  font-size: 22px;
  font-weight: 800;
  margin-top: 42px;
  margin-bottom: 20px;
  border-bottom: 2px solid #f1f5f9;
  padding-bottom: 8px;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.article-content-body h3 {
  font-size: 18px;
  font-weight: 700;
  margin-top: 32px;
  margin-bottom: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.article-content-body p {
  margin-top: 14px;
  margin-bottom: 22px;
  color: #334155;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.02em;
}

.article-content-body ul, .article-content-body ol {
  margin-top: 14px;
  margin-bottom: 24px;
  padding-left: 28px;
}

.article-content-body li {
  margin-bottom: 10px;
  line-height: 1.85;
  letter-spacing: 0.018em;
}

.article-content-body blockquote {
  background: #f8fafc;
  border-left: 4px solid var(--primary-color);
  padding: 18px 24px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-top: 24px;
  margin-bottom: 28px;
  line-height: 1.85;
  letter-spacing: 0.018em;
}

.article-content-body table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
  margin-bottom: 28px;
}

.article-footer-cta {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 1px solid #bfdbfe;
  padding: 24px;
  border-radius: var(--radius-md);
  margin-top: 40px;
  text-align: center;
}

.article-footer-cta h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.btn-primary-large {
  display: inline-block;
  background: var(--primary-color);
  color: #ffffff;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  margin-top: 12px;
}

/* Category Grid Display */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 30px;
  margin-bottom: 50px;
}

.article-card-styled {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.card-title {
  font-size: 18px;
  font-weight: 800;
  margin: 10px 0;
}

.card-excerpt {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 14px;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
}

/* Search Modal Styling */
.search-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 999;
  justify-content: center;
  align-items: flex-start;
  padding-top: 80px;
}

.search-modal-card {
  background: #ffffff;
  width: 100%;
  max-width: 650px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.search-modal-header {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
}

.search-input-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.search-input-field {
  width: 100%;
  border: none;
  outline: none;
  font-size: 16px;
  font-family: var(--font-sans);
}

.close-modal-btn {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-muted);
}

.search-modal-body {
  padding: 20px;
  max-height: 400px;
  overflow-y: auto;
}

.search-keywords-tags {
  margin-bottom: 16px;
}

.tags-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  margin-right: 6px;
}

.keyword-chip {
  background: #f1f5f9;
  border: 1px solid var(--border-color);
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
  cursor: pointer;
  margin-right: 6px;
  margin-bottom: 6px;
}

.keyword-chip:hover {
  background: #e2e8f0;
}

.search-results-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.search-result-item {
  padding: 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

.search-result-item h4 {
  font-size: 15px;
  margin-bottom: 4px;
}

.search-result-item p {
  font-size: 12px;
  color: var(--text-muted);
}

/* Footer Styling */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 50px 0 0;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  padding-bottom: 40px;
  border-bottom: 1px solid #1e293b;
}

.footer-brand-title {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
}

.footer-desc {
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 12px;
}

.footer-disclosure {
  font-size: 12px;
  color: #64748b;
  line-height: 1.6;
}

.footer-heading {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #94a3b8;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  padding: 20px 0;
  background: #020617;
  font-size: 13px;
}

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

/* Breadcrumbs */
.breadcrumbs-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  padding: 10px 0;
  font-size: 13px;
  color: var(--text-muted);
}

.current-crumb {
  color: var(--text-main);
  font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .brand-slogan { display: none; }
  .nav-menu { gap: 10px; font-size: 13px; flex-wrap: wrap; }
  .hero-h1-title { font-size: 24px; }
  .article-container { padding: 20px; }
}

/* Search Modal Styles */
.search-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  z-index: 9999;
  justify-content: center;
  align-items: flex-start;
  padding-top: 60px;
}

.search-modal-card {
  background: #ffffff;
  width: 90%;
  max-width: 680px;
  max-height: 80vh;
  border-radius: 12px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.search-modal-header {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
}

.search-input-wrapper {
  display: flex;
  align-items: center;
  flex: 1;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  padding: 6px 12px;
  transition: border-color 0.2s;
}

.search-input-wrapper:focus-within {
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.search-input-icon {
  color: #64748b;
  margin-right: 10px;
  flex-shrink: 0;
}

.search-input-field {
  border: none;
  outline: none;
  width: 100%;
  font-size: 15px;
  color: #0f172a;
  background: transparent;
}

.close-modal-btn {
  background: none;
  border: none;
  font-size: 28px;
  color: #64748b;
  cursor: pointer;
  margin-left: 14px;
  line-height: 1;
}

.close-modal-btn:hover {
  color: #0f172a;
}

.search-modal-body {
  padding: 16px 20px;
  overflow-y: auto;
  flex: 1;
}

.search-keywords-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}

.tags-title {
  font-size: 12.5px;
  color: #64748b;
  font-weight: 600;
}

.keyword-chip {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #334155;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.keyword-chip:hover {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
}

.search-status-info {
  margin-bottom: 12px;
  font-size: 13px;
}

.search-status-success {
  color: #0369a1;
  background: #e0f2fe;
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-block;
}

.search-status-warning {
  color: #b45309;
  background: #fef3c7;
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-block;
}

.search-results-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.search-placeholder-text {
  color: #64748b;
  font-size: 14px;
  text-align: center;
  padding: 30px 0;
}

.search-result-item {
  padding: 12px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #ffffff;
  transition: border-color 0.15s, background-color 0.15s;
}

.search-result-item:hover {
  border-color: #38bdf8;
  background: #f8fafc;
}

.search-item-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.search-item-badge {
  background: #0284c7;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
}

.search-result-item h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
}

.search-result-item h4 a {
  color: #0f172a;
  text-decoration: none;
}

.search-result-item h4 a:hover {
  color: #0284c7;
}

.search-item-excerpt {
  margin: 4px 0 0 0;
  font-size: 13px;
  color: #475569;
  line-height: 1.5;
}

mark.search-highlight {
  background: #fef08a;
  color: #854d0e;
  font-weight: 700;
  padding: 0 2px;
  border-radius: 2px;
}

