/* Google News Theme - Main Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,500;0,700;1,400&family=Google+Sans:wght@400;500;700&display=swap');

:root {
  --gn-primary: #1a73e8;
  --gn-primary-hover: #1557b0;
  --gn-primary-light: #e8f0fe;
  --gn-bg: #f8f9fa;
  --gn-card-bg: #ffffff;
  --gn-text: #111215;
  --gn-text-muted: #3c4043;
  --gn-text-light: #5f6368;
  --gn-border: #dadce0;
  --gn-border-light: #f1f3f4;
  --gn-shadow-sm: 0 1px 2px 0 rgba(60,64,67,0.3), 0 1px 3px 1px rgba(60,64,67,0.15);
  --gn-shadow-card: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.1);
  --gn-shadow-hover: 0 2px 6px 2px rgba(60,64,67,0.15);
  --gn-radius-sm: 8px;
  --gn-radius-md: 12px;
  --gn-radius-lg: 16px;
  --gn-radius-pill: 9999px;
  --gn-font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --gn-title-font: 'Roboto', 'Google Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

body {
  font-family: var(--gn-font-family);
  font-size: 16.8px;
  background-color: var(--gn-bg);
  color: var(--gn-text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background-color 0.25s ease, color 0.25s ease;
}

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

a:hover {
  text-decoration: none;
}

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

/* Header */
.gn-header {
  background: var(--gn-card-bg);
  border-bottom: 1px solid var(--gn-border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.gn-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 24px;
  max-width: 1440px;
  margin: 0 auto;
  gap: 16px;
}

.gn-branding-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 220px;
}

.custom-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.custom-logo {
  height: 46px;
  max-height: 46px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: opacity 0.2s ease;
}

.custom-logo:hover {
  opacity: 0.95;
}

.gn-footer .custom-logo {
  height: 42px;
  max-height: 42px;
  margin-bottom: 12px;
}

.gn-hamburger {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  color: var(--gn-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gn-hamburger:hover {
  background-color: var(--gn-border-light);
}

.gn-logo {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--gn-title-font);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.5px;
}

.gn-logo .google-g { color: #4285f4; }
.gn-logo .google-o1 { color: #ea4335; }
.gn-logo .google-o2 { color: #fbbc05; }
.gn-logo .google-g2 { color: #4285f4; }
.gn-logo .google-l { color: #34a853; }
.gn-logo .google-e { color: #ea4335; }
.gn-logo .news-badge {
  color: var(--gn-text-muted);
  font-weight: 400;
  margin-left: 4px;
  font-size: 20px;
}

/* Header Search */
.gn-search-wrap {
  flex: 1;
  max-width: 720px;
}

.gn-search-form {
  position: relative;
  display: flex;
  align-items: center;
}

.gn-search-input {
  width: 100%;
  padding: 12px 16px 12px 48px;
  background-color: var(--gn-bg);
  border: 1px solid transparent;
  border-radius: 24px;
  font-size: 16px;
  color: var(--gn-text);
  outline: none;
  transition: all 0.2s ease;
}

.gn-search-input:focus {
  background-color: var(--gn-card-bg);
  border-color: var(--gn-border);
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}

.gn-search-btn {
  position: absolute;
  left: 14px;
  background: none;
  border: none;
  color: var(--gn-text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
}

/* Header Right Actions */
.gn-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.gn-date-pill {
  font-size: 13px;
  color: var(--gn-text-muted);
  font-weight: 500;
  white-space: nowrap;
}

.gn-icon-btn {
  background: none;
  border: none;
  color: var(--gn-text-muted);
  padding: 8px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gn-icon-btn:hover {
  background-color: var(--gn-border-light);
}

/* Sub-Navigation Bar */
.gn-subnav {
  border-top: 1px solid var(--gn-border-light);
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
  background: var(--gn-card-bg);
}

.gn-subnav::-webkit-scrollbar {
  display: none;
}

.gn-subnav-list {
  display: flex;
  align-items: center;
  list-style: none;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
  gap: 4px;
}

.gn-subnav-item a {
  display: block;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gn-text-muted);
  white-space: nowrap;
  position: relative;
  transition: color 0.15s ease;
}

.gn-subnav-item a:hover {
  color: var(--gn-primary);
}

.gn-subnav-item.breaking-news a {
  color: #d93025 !important;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.gn-subnav-item.breaking-news a::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #d93025;
  animation: gn-pulse-red 1.5s infinite;
}

@keyframes gn-pulse-red {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(217, 48, 37, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(217, 48, 37, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(217, 48, 37, 0); }
}

.gn-subnav-item.current-menu-item a,
.gn-subnav-item.active a {
  color: var(--gn-primary);
}

.gn-subnav-item.current-menu-item a::after,
.gn-subnav-item.active a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 8px;
  right: 8px;
  height: 3px;
  background-color: var(--gn-primary);
  border-radius: 3px 3px 0 0;
}

/* Main Container */
.gn-container {
  max-width: 1380px;
  margin: 0 auto;
  padding: 24px 20px;
  width: 100%;
  flex: 1;
}

.gn-layout-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 28px;
}

.gn-layout-grid.no-sidebar {
  grid-template-columns: 1fr;
  max-width: 900px;
  margin: 0 auto;
}

/* Briefing / Greeting section */
.gn-briefing-header {
  margin-bottom: 20px;
}

.gn-briefing-title {
  font-size: 26px;
  font-weight: 500;
  color: var(--gn-text);
  margin-bottom: 4px;
}

.gn-briefing-subtitle {
  font-size: 14px;
  color: var(--gn-text-muted);
}

/* Cards & Feeds */
.gn-card {
  background: var(--gn-card-bg);
  border: 1px solid var(--gn-border);
  border-radius: var(--gn-radius-lg);
  padding: 20px;
  margin-bottom: 24px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.gn-card:hover {
  border-color: #c6c9cc;
  box-shadow: var(--gn-shadow-card);
}

/* Hero Lead Story Card */
.gn-hero-lead {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gn-border-light);
}

.gn-hero-lead-thumb {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--gn-radius-md);
}

.gn-hero-lead-title {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--gn-text);
}

.gn-hero-lead-title a:hover {
  color: var(--gn-primary);
}

.gn-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--gn-text-muted);
}

.gn-source-badge {
  font-weight: 500;
  color: var(--gn-text);
  display: flex;
  align-items: center;
  gap: 6px;
}

.gn-source-icon {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background-color: var(--gn-primary-light);
  color: var(--gn-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
}

.gn-dot {
  font-size: 8px;
  color: var(--gn-text-light);
}

/* Sub stories under Lead */
.gn-sub-stories {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.gn-sub-story-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--gn-border-light);
}

.gn-sub-story-item:first-child {
  border-top: none;
  padding-top: 0;
}

.gn-sub-story-content {
  flex: 1;
}

.gn-sub-story-title {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--gn-text);
  margin-bottom: 6px;
}

.gn-sub-story-title a:hover {
  color: var(--gn-primary);
}

.gn-sub-story-thumb {
  width: 76px;
  height: 76px;
  border-radius: var(--gn-radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

/* Full coverage pill */
.gn-full-coverage {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--gn-primary);
  background-color: var(--gn-primary-light);
  padding: 6px 14px;
  border-radius: var(--gn-radius-pill);
  margin-top: 12px;
  transition: background 0.15s ease;
}

.gn-full-coverage:hover {
  background-color: #d2e3fc;
}

/* Topic Section Clusters */
.gn-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 32px 0 16px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gn-primary);
}

.gn-section-title {
  font-size: 20px;
  font-weight: 500;
  color: var(--gn-text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.gn-section-more {
  font-size: 13px;
  font-weight: 500;
  color: var(--gn-primary);
  display: flex;
  align-items: center;
  gap: 4px;
}

.gn-section-more:hover {
  text-decoration: underline;
}

/* News Cards Grid */
.gn-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}

.gn-mini-card {
  background: var(--gn-card-bg);
  border: 1px solid var(--gn-border);
  border-radius: var(--gn-radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.gn-mini-card:hover {
  box-shadow: var(--gn-shadow-card);
  transform: translateY(-2px);
}

.gn-mini-card-top {
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.gn-mini-card-title {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--gn-text);
  margin-bottom: 6px;
}

.gn-mini-card-title a:hover {
  color: var(--gn-primary);
}

.gn-mini-card-thumb {
  width: 80px;
  height: 80px;
  border-radius: var(--gn-radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

/* Sidebar Widgets */
.gn-sidebar-widget {
  background: var(--gn-card-bg);
  border: 1px solid var(--gn-border);
  border-radius: var(--gn-radius-lg);
  padding: 20px;
  margin-bottom: 24px;
}

.gn-widget-title {
  font-size: 16px;
  font-weight: 500;
  color: var(--gn-text);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Weather Widget */
.gn-weather-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.gn-weather-temp {
  font-size: 32px;
  font-weight: 400;
  color: var(--gn-text);
  line-height: 1;
}

.gn-weather-location {
  font-size: 15px;
  font-weight: 500;
  color: var(--gn-text);
}

.gn-weather-desc {
  font-size: 13px;
  color: var(--gn-text-muted);
}

.gn-weather-icon {
  font-size: 36px;
}

/* Trending List in Sidebar */
.gn-trending-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.gn-trending-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gn-border-light);
}

.gn-trending-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.gn-trending-rank {
  font-size: 16px;
  font-weight: 700;
  color: var(--gn-text-light);
  min-width: 20px;
}

.gn-trending-title {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--gn-text);
}

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

/* Single Article Page */
.gn-article-wrap {
  background: var(--gn-card-bg);
  border: 1px solid var(--gn-border);
  border-radius: var(--gn-radius-lg);
  padding: 36px;
  margin-bottom: 30px;
}

.gn-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gn-text-muted);
  margin-bottom: 16px;
}

.gn-breadcrumb a {
  color: var(--gn-primary);
}

.gn-article-category-badge {
  display: inline-block;
  background-color: var(--gn-primary-light);
  color: var(--gn-primary);
  font-size: 12px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: var(--gn-radius-pill);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.gn-article-title {
  font-size: 34px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--gn-text);
  margin-bottom: 18px;
}

.gn-article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-top: 1px solid var(--gn-border-light);
  border-bottom: 1px solid var(--gn-border-light);
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 14px;
}

.gn-author-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.gn-author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.gn-author-name {
  font-size: 15px;
  font-weight: 500;
  color: var(--gn-text);
}

.gn-author-date {
  font-size: 13px;
  color: var(--gn-text-muted);
}

.gn-share-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gn-share-btn {
  padding: 8px 14px;
  border: 1px solid var(--gn-border);
  background: var(--gn-card-bg);
  border-radius: var(--gn-radius-pill);
  font-size: 13px;
  font-weight: 500;
  color: var(--gn-text-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.gn-share-btn:hover {
  background-color: var(--gn-border-light);
  color: var(--gn-text);
}

.gn-article-featured-img {
  width: 100%;
  border-radius: var(--gn-radius-md);
  margin-bottom: 28px;
}

.gn-article-content {
  font-size: 18px;
  line-height: 1.8;
  color: var(--gn-text);
}

.gn-article-content p {
  margin-bottom: 22px;
}

.gn-article-content h2,
.gn-article-content h3 {
  font-weight: 500;
  margin: 32px 0 16px;
  color: var(--gn-text);
}

.gn-article-content blockquote {
  border-left: 4px solid var(--gn-primary);
  padding: 12px 24px;
  margin: 24px 0;
  background-color: var(--gn-bg);
  border-radius: 0 var(--gn-radius-sm) var(--gn-radius-sm) 0;
  font-style: italic;
  color: var(--gn-text);
}

/* Category & Archive Pages */
.gn-topic-hero {
  background: var(--gn-card-bg);
  border: 1px solid var(--gn-border);
  border-radius: var(--gn-radius-lg);
  padding: 28px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gn-topic-title {
  font-size: 30px;
  font-weight: 500;
  color: var(--gn-text);
}

.gn-topic-desc {
  font-size: 14px;
  color: var(--gn-text-muted);
  margin-top: 6px;
}

.gn-follow-btn {
  background-color: var(--gn-primary-light);
  color: var(--gn-primary);
  border: 1px solid rgba(26,115,232,0.2);
  border-radius: var(--gn-radius-pill);
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}

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

/* Author Page */
.gn-author-profile-card {
  background: var(--gn-card-bg);
  border: 1px solid var(--gn-border);
  border-radius: var(--gn-radius-lg);
  padding: 32px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.gn-author-profile-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gn-border-light);
}

.gn-author-profile-info h1 {
  font-size: 24px;
  font-weight: 500;
  color: var(--gn-text);
}

.gn-author-profile-info p {
  color: var(--gn-text-muted);
  margin-top: 6px;
  font-size: 15px;
}

/* Pagination */
.gn-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 32px 0;
}

.gn-pagination a,
.gn-pagination span {
  padding: 8px 16px;
  border: 1px solid var(--gn-border);
  border-radius: var(--gn-radius-pill);
  background: var(--gn-card-bg);
  font-size: 14px;
  font-weight: 500;
  color: var(--gn-text);
}

.gn-pagination span.current {
  background-color: var(--gn-primary);
  color: #ffffff;
  border-color: var(--gn-primary);
}

/* Footer */
.gn-footer {
  background: var(--gn-card-bg);
  border-top: 1px solid var(--gn-border);
  padding: 44px 24px 24px;
  margin-top: auto;
}

.gn-footer-columns {
  max-width: 1380px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 36px;
  margin-bottom: 36px;
}

.gn-footer-col h4 {
  font-family: var(--gn-title-font);
}

.gn-footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
  color: var(--gn-text-muted);
}

.gn-footer-links-list a {
  color: var(--gn-text-muted);
  transition: color 0.15s ease;
}

.gn-footer-links-list a:hover {
  color: var(--gn-primary);
  text-decoration: underline;
}

.gn-footer-bottom {
  max-width: 1380px;
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid var(--gn-border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.gn-copyright {
  font-size: 13px;
  color: var(--gn-text-muted);
}

/* Mobile Drawer & Backdrop */
.gn-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(2px);
  z-index: 1998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.gn-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.gn-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 320px;
  max-width: 86vw;
  height: 100vh;
  background-color: var(--gn-card-bg);
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.2);
  z-index: 1999;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.gn-drawer.active {
  transform: translateX(0);
}

.gn-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--gn-border-light);
}

.gn-drawer-logo .custom-logo {
  height: 38px;
  max-height: 38px;
  width: auto;
}

.gn-drawer-close {
  background: none;
  border: none;
  color: var(--gn-text-muted);
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gn-drawer-close:hover {
  background-color: var(--gn-border-light);
  color: var(--gn-text);
}

.gn-drawer-search {
  padding: 14px 20px;
  border-bottom: 1px solid var(--gn-border-light);
}

.gn-drawer-nav {
  padding: 12px 0 24px;
  flex: 1;
}

.gn-drawer-section-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gn-text-light);
  padding: 14px 20px 6px;
}

.gn-drawer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.gn-drawer-list li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gn-text);
  transition: background 0.15s ease;
  min-height: 44px;
}

.gn-drawer-list li a:hover {
  background-color: var(--gn-border-light);
  color: var(--gn-primary);
}

.gn-drawer-icon {
  font-size: 16px;
  width: 22px;
  text-align: center;
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .gn-layout-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .gn-article-title {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .gn-container {
    padding: 16px 12px;
  }
  .gn-topbar {
    padding: 8px 12px;
    gap: 10px;
  }
  .gn-search-wrap {
    max-width: 100%;
  }
  .gn-search-input {
    padding: 10px 14px 10px 42px;
    font-size: 14px;
  }
  .gn-cards-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .gn-card {
    padding: 16px;
    margin-bottom: 18px;
    border-radius: var(--gn-radius-md);
  }
  .gn-hero-lead-thumb {
    height: 220px;
  }
  .gn-hero-lead-title {
    font-size: 19px;
  }
  .gn-subnav-list {
    padding: 0 12px;
  }
  .gn-subnav-item a {
    padding: 10px 12px;
    font-size: 13px;
  }
  .gn-article-wrap {
    padding: 22px 16px;
    border-radius: var(--gn-radius-md);
  }
  .gn-article-title {
    font-size: 24px;
    line-height: 1.35;
  }
  .gn-article-content {
    font-size: 16px;
    line-height: 1.75;
  }
  .gn-topic-hero {
    padding: 20px 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .gn-author-profile-card {
    padding: 20px 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .gn-footer {
    padding: 32px 16px 20px;
  }
  .gn-footer-columns {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

@media (max-width: 540px) {
  .gn-branding-wrap {
    min-width: auto;
  }
  .gn-custom-logo,
  .custom-logo {
    height: 36px;
    max-height: 36px;
  }
  .gn-date-pill {
    display: none;
  }
  .gn-hero-lead-thumb {
    height: 180px;
  }
  .gn-hero-lead-title {
    font-size: 17px;
  }
  .gn-sub-story-thumb {
    width: 68px;
    height: 68px;
  }
  .gn-sub-story-title {
    font-size: 14px;
  }
  .gn-mini-card-thumb {
    width: 68px;
    height: 68px;
  }
  .gn-mini-card-title {
    font-size: 14px;
  }
  .gn-article-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .gn-share-actions {
    width: 100%;
    justify-content: flex-start;
  }
  .gn-footer-columns {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .gn-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
