/* ===========================
   CSS Variables / Design Tokens
   =========================== */
:root {
  --color-primary: #004f8c;
  --color-primary-light: #0067b4;
  --color-orange: #ff7e00;
  --color-dark: #1b1c1c;
  --color-text: #414751;
  --color-text-muted: #64748b;
  --color-red: #ba1a1a;
  --color-bg: #fbf9f8;
  --color-bg-light: #f8fafc;
  --color-white: #ffffff;
  --color-border: #e2e8f0;
  --color-footer-bg: #2d3436;

  --tag-blue-bg: #dbeafe;
  --tag-blue-text: #1e40af;
  --tag-green-bg: #dcfce7;
  --tag-green-text: #166534;
  --tag-orange-bg: #ffedd5;
  --tag-orange-text: #9a3412;

  --max-width: 1400px;
  --header-height: 80px;
  --font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

/* ===========================
   Reset & Base
   =========================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-family);
  color: var(--color-text);
  background: var(--color-bg);
  min-width: 320px;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, textarea {
  font-family: inherit;
  outline: none;
}

/* ===========================
   Header
   =========================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
}

.header-inner {
  width: 100%;
  max-width: var(--max-width);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.logo-link {
  display: flex;
  align-items: center;
  height: 40px;
  flex-shrink: 0;
}

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

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

.nav-link {
  font-size: 16px;
  font-weight: 400;
  color: var(--color-text);
  white-space: nowrap;
  padding-bottom: 4px;
  position: relative;
  line-height: 1.6;
  transition: color 0.2s;
}

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

.nav-link.active {
  font-weight: 700;
  color: var(--color-primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-primary);
  border-radius: 1px;
}

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

.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-input-wrap {
  border: 1px solid #c1c7d3;
  border-radius: 4px;
  background: var(--color-white);
  display: flex;
  align-items: center;
  padding: 9px 13px;
  width: 288px;
  height: 40px;
}

.search-input {
  flex: 1;
  font-size: 16px;
  color: var(--color-text);
  border: none;
  background: transparent;
  line-height: 1;
}

.search-input::placeholder {
  color: rgba(65, 71, 81, 0.6);
}

.search-btn {
  width: 48px;
  height: 40px;
  background: var(--color-primary-light);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}

.search-btn:hover {
  background: var(--color-primary);
}

.search-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

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

.phone-icon {
  width: 24px;
  height: auto;
  object-fit: contain;
}

.phone-number {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-dark);
  letter-spacing: 0.7px;
  white-space: nowrap;
}

/* Mobile menu button (hidden on desktop) */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  flex-shrink: 0;
}

.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-dark);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===========================
   Page Body (offset for fixed header)
   =========================== */
.page-body {
  padding-top: var(--header-height);
}

/* ===========================
   Hero Banner
   =========================== */
.hero-banner {
  position: relative;
  height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-bg-img {
  position: absolute;
  width: 100%;
  height: 179.07%;
  top: -28.24%;
  left: 0;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.hero-bg-img.active {
  opacity: 1;
}

.hero-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-width);
  padding: 0 24px;
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 672px;
  position: relative;
}

.hero-slide-content {
  display: none;
}

.hero-slide-content.active {
  display: block;
  animation: heroFadeIn 0.6s ease;
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  color: #2d3436;
  line-height: 1.2;
  letter-spacing: -0.96px;
  margin-bottom: 24px;
}

.hero-desc {
  font-size: 18px;
  font-weight: 400;
  color: #414751;
  opacity: 0.8;
  line-height: 1.6;
  max-width: 576px;
}

.carousel-indicators {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  align-items: center;
  z-index: 2;
}

.indicator {
  height: 6px;
  border-radius: 12px;
  background: rgba(186, 26, 26, 0.28);
  width: 12px;
  transition: all 0.3s;
  cursor: pointer;
}

.indicator.active {
  background: var(--color-primary);
  width: 32px;
}

/* ===========================
   Ticker Bar
   =========================== */
.ticker-bar {
  background: #f8fafc;
  border-bottom: 1px solid var(--color-border);
  padding: 12px 24px;
  overflow: hidden;
}

.ticker-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  height: 24px;
}

.ticker-label {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.ticker-icon {
  width: 9px;
  height: 12px;
  object-fit: contain;
}

.ticker-label-text {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-red);
  white-space: nowrap;
}

.ticker-track-wrap {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.ticker-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: tickerScroll 30s linear infinite;
}

.ticker-track span {
  font-size: 12px;
  color: var(--color-text);
  flex-shrink: 0;
}

@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===========================
   Section Commons
   =========================== */
.section-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
}

.section-title-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

.section-bar {
  display: block;
  width: 4px;
  height: 32px;
  background: var(--color-primary);
  border-radius: 0;
  flex-shrink: 0;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.3;
}

.section-more-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.7px;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.section-more-link:hover {
  opacity: 0.75;
}

.more-arrow {
  width: 11px;
  height: auto;
}

/* ===========================
   Featured Section
   =========================== */
.featured-section {
  background: var(--color-bg);
  padding: 80px 24px;
}

.featured-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.featured-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  cursor: default;
}

.featured-card.is-clickable {
  cursor: pointer;
}

.card-img-wrap {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  height: 268px;
  flex-shrink: 0;
}

.card-img {
  width: 100%;
  height: 119.38%;
  object-fit: cover;
  object-position: center;
  position: absolute;
  top: -9.69%;
  left: 0;
}

.card-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.7px;
  padding: 4px 12px;
  border-radius: 2px;
}

.tag-green {
  background: var(--tag-green-bg);
  color: var(--tag-green-text);
}

.tag-blue {
  background: var(--tag-blue-bg);
  color: var(--tag-blue-text);
}

.tag-orange {
  background: var(--tag-orange-bg);
  color: var(--tag-orange-text);
}

.card-body {
  padding-top: 12px;
}

.card-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--color-dark);
  line-height: 1.4;
  margin-bottom: 12px;
}

.card-desc {
  font-size: 16px;
  color: var(--color-text);
  line-height: 1.6;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* ===========================
   Main Content (2 columns)
   =========================== */
.main-content {
  background: var(--color-white);
  padding: 80px 24px;
}

.main-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  gap: 64px;
  align-items: flex-start;
}

/* Left Column */
.updates-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.updates-header {
  width: 100%;
}

.updates-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.updates-title-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 0;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: var(--color-border);
  min-width: 20px;
}

.tab-filters {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.tab-btn {
  font-size: 16px;
  font-weight: 400;
  color: var(--color-text);
  padding-bottom: 2px;
  position: relative;
  white-space: nowrap;
  line-height: 1.6;
  transition: color 0.2s;
}

.tab-btn:hover {
  color: var(--color-primary);
}

.tab-btn.active {
  font-weight: 700;
  color: var(--color-primary);
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-primary);
  border-radius: 1px;
}

/* Article List */
.article-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.home-articles-empty {
  text-align: center;
  color: #8a919c;
  padding: 40px 0;
  font-size: 15px;
}

.article-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.article-thumb {
  width: 192px;
  height: 128px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--color-bg);
}

.article-thumb-img {
  width: 100%;
  height: 150%;
  object-fit: cover;
  object-position: center;
  transform: translateY(-25%);
  display: block;
}

.article-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.article-tag {
  font-size: 10px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 4px;
  line-height: 1.5;
  flex-shrink: 0;
}

.tag-blue-sm {
  background: var(--tag-blue-bg);
  color: var(--tag-blue-text);
}

.tag-green-sm {
  background: var(--tag-green-bg);
  color: var(--tag-green-text);
}

.tag-orange-sm {
  background: var(--tag-orange-bg);
  color: var(--tag-orange-text);
}

.article-date {
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: 1.4;
}

.article-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.6;
}

.article-desc {
  font-size: 16px;
  color: var(--color-text);
  line-height: 1.6;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* Load More */
.load-more-wrap {
  display: flex;
  justify-content: center;
  padding-top: 40px;
}

.load-more-btn {
  border: 1px solid var(--color-border);
  border-radius: 2px;
  padding: 13px 25px;
  font-size: 16px;
  color: var(--color-text);
  background: var(--color-white);
  transition: all 0.2s;
  font-family: inherit;
  text-decoration: none;
  display: inline-block;
}

.load-more-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* Right Column Sidebar */
.sidebar-col {
  width: 380px;
  flex-shrink: 0;
}

.sidebar-box {
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 33px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.sidebar-section {
  width: 100%;
}

.sidebar-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}

.sidebar-icon {
  width: 16px;
  height: 18px;
  object-fit: contain;
}

.tags-section .sidebar-icon {
  width: 20px;
  height: 20px;
}

.sidebar-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.3;
}

/* Hot List */
.hot-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hot-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.hot-rank {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  flex-shrink: 0;
  width: 38px;
}

.rank-1  { color: rgba(186, 26, 26, 1.0); }
.rank-2  { color: rgba(186, 26, 26, 0.9); }
.rank-3  { color: rgba(186, 26, 26, 0.8); }
.rank-4  { color: rgba(186, 26, 26, 0.7); }
.rank-5  { color: rgba(186, 26, 26, 0.6); }
.rank-6  { color: rgba(186, 26, 26, 0.5); }
.rank-7  { color: rgba(186, 26, 26, 0.4); }
.rank-8  { color: rgba(186, 26, 26, 0.3); }
.rank-9  { color: rgba(186, 26, 26, 0.2); }
.rank-10 { color: rgba(186, 26, 26, 0.1); }

.hot-content {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-top: 3px;
}

.hot-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.6;
}

.hot-title a {
  color: inherit;
  text-decoration: none;
}

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

.hot-views {
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: 1.4;
}

/* Tags Section */
.tags-section {
  border-top: 1px solid var(--color-border);
  padding-top: 41px;
}

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

.tag {
  font-size: 12px;
  font-weight: 400;
  padding: 5px 12px 7px;
  border-radius: 12px;
  line-height: 1.4;
  transition: opacity 0.2s;
  text-decoration: none;
  display: inline-block;
}

.tag:hover {
  opacity: 0.75;
}

.tag-blue-pill {
  background: var(--tag-blue-bg);
  color: var(--tag-blue-text);
}

.tag-gray-pill {
  background: var(--color-border);
  color: rgba(30, 41, 59, 0.6);
}

/* ===========================
   Footer
   =========================== */
.footer {
  background: var(--color-footer-bg);
  border-top: 1px solid var(--color-border);
  padding: 81px 24px 80px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.footer-brand {
  width: 288px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 23px;
}

.footer-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.footer-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 23px;
}

.footer-heading {
  width: 100%;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-white);
  letter-spacing: 0.7px;
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-link {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--color-white);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.contact-icon {
  width: 14px;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-follow {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 24px;
}

.qrcode-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
}

.qrcode-box {
  background: var(--color-white);
  border-radius: 2px;
  padding: 4px;
  width: 96px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qrcode-img {
  width: 88px;
  height: 88px;
  object-fit: contain;
}

.qrcode-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.4;
  white-space: nowrap;
}

.footer-bottom {
  border-top: 1px solid rgba(193, 199, 211, 0.19);
  padding-top: 32px;
  text-align: center;
}

.copyright {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.4;
}

/* ===========================
   Floating Button
   =========================== */
.float-btn {
  position: fixed;
  right: 40px;
  bottom: 120px;
  width: 80px;
  height: 80px;
  background: var(--color-orange);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  z-index: 900;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s, box-shadow 0.2s;
  padding-bottom: 4px;
}

.float-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 126, 0, 0.2);
  border-radius: 12px;
  pointer-events: none;
}

.float-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 30px 60px -10px rgba(0, 0, 0, 0.3);
}

.float-btn-icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
  margin-bottom: 2px;
}

.float-btn-text {
  font-size: 10px;
  font-weight: 700;
  color: var(--color-white);
  text-align: center;
  line-height: 1.5;
}

/* ===========================
   Modal / Overlay
   =========================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
}

.modal {
  position: relative;
  z-index: 1;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  width: 448px;
  max-width: calc(100vw - 32px);
  padding: 40px 33px 33px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: translateY(20px);
  transition: transform 0.3s;
}

.modal-overlay.active .modal {
  transform: translateY(0);
}

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

.modal-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--color-dark);
  line-height: 1.4;
}

.modal-close {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  color: var(--color-text);
  transition: opacity 0.2s;
}

.modal-close:hover {
  opacity: 0.6;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 6px;
}

.form-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: 0.7px;
}

.form-input {
  background: #f6f3f2;
  border: 1px solid #c1c7d3;
  border-radius: 4px;
  padding: 13px 17px;
  font-size: 16px;
  color: var(--color-dark);
  width: 100%;
  transition: border-color 0.2s;
}

.form-input:focus {
  border-color: var(--color-primary);
}

.form-input::placeholder {
  color: #6b7280;
}

.form-textarea {
  background: #f6f3f2;
  border: 1px solid #c1c7d3;
  border-radius: 4px;
  padding: 13px 17px;
  font-size: 16px;
  color: var(--color-dark);
  width: 100%;
  resize: vertical;
  min-height: 120px;
  line-height: 1.5;
  transition: border-color 0.2s;
}

.form-textarea:focus {
  border-color: var(--color-primary);
}

.form-textarea::placeholder {
  color: #6b7280;
}

.form-submit-btn {
  background: var(--color-orange);
  color: var(--color-white);
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  padding: 16px;
  border-radius: 4px;
  width: 100%;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  transition: background 0.2s, transform 0.1s;
  font-family: inherit;
}

.form-submit-btn:hover {
  background: #e67200;
}

.form-submit-btn:active {
  transform: scale(0.99);
}

/* ===========================
   Responsive - Tablet (≤1200px)
   =========================== */
@media (max-width: 1200px) {
  .header {
    padding: 0 20px;
  }

  .search-input-wrap {
    width: 200px;
  }

  .featured-section,
  .main-content {
    padding-left: 20px;
    padding-right: 20px;
  }

  .footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .sidebar-col {
    width: 320px;
  }

  .hero-title {
    font-size: 40px;
  }
}

/* ===========================
   Responsive - Small Desktop (≤1024px)
   =========================== */
@media (max-width: 1024px) {
  .nav {
    gap: 20px;
  }

  .header-left {
    gap: 24px;
  }

  .featured-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .main-container {
    flex-direction: column;
    gap: 48px;
  }

  .sidebar-col {
    width: 100%;
  }

  .updates-col {
    width: 100%;
  }
}

/* ===========================
   Responsive - Tablet (≤768px)
   =========================== */
@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  .header {
    padding: 0 16px;
    justify-content: space-between;
  }

  .header-inner {
    gap: 0;
  }

  .nav,
  .header-right {
    display: none;
  }

  .header-left {
    gap: 0;
    flex: 1;
  }

  .mobile-menu-btn {
    display: flex;
  }

  /* Mobile nav overlay */
  .header.menu-open .nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    padding: 16px 20px 24px;
    gap: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  }

  .header.menu-open .header-right {
    display: none;
  }

  .hero-banner {
    height: 420px;
  }

  .hero-title {
    font-size: 28px;
    letter-spacing: -0.5px;
  }

  .hero-desc {
    font-size: 15px;
  }

  .featured-section {
    padding: 48px 16px;
  }

  .featured-cards {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .section-header {
    margin-bottom: 32px;
  }

  .section-title {
    font-size: 24px;
  }

  .main-content {
    padding: 48px 16px;
  }

  .main-container {
    gap: 40px;
  }

  .updates-title-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .tab-filters {
    flex-wrap: wrap;
    gap: 8px 16px;
  }

  .divider-line {
    display: none;
  }

  .updates-title-left {
    width: 100%;
  }

  .article-thumb {
    width: 120px;
    height: 90px;
  }

  .article-title {
    font-size: 16px;
  }

  .article-desc {
    display: none;
  }

  .sidebar-box {
    padding: 20px;
  }

  .sidebar-title {
    font-size: 24px;
  }

  .hot-rank {
    font-size: 24px;
  }

  .footer {
    padding: 48px 16px 40px;
  }

  .footer-top {
    flex-direction: column;
    gap: 32px;
  }

  .footer-brand {
    width: 100%;
  }

  .footer-follow {
    align-items: flex-start;
  }

  .float-btn {
    right: 16px;
    bottom: 80px;
    width: 60px;
    height: 60px;
  }

  .float-btn-icon {
    width: 22px;
    height: 22px;
  }

  .float-btn-text {
    font-size: 9px;
  }

  .ticker-bar {
    padding: 10px 16px;
  }
}

/* ===========================
   Responsive - Mobile (≤480px)
   =========================== */
@media (max-width: 480px) {
  .hero-title {
    font-size: 22px;
  }

  .hero-desc {
    font-size: 14px;
  }

  .hero-banner {
    height: 320px;
  }

  .article-item {
    flex-direction: column;
    gap: 12px;
  }

  .article-thumb {
    width: 100%;
    height: 180px;
  }

  .article-thumb-img {
    transform: translateY(0);
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .article-desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
  }

  .card-img-wrap {
    height: 200px;
  }

  .modal {
    padding: 24px 20px 20px;
  }
}

/* ===========================
   Utility
   =========================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}
