/* ============================================
   Wiesbaden Reporter – Complete Stylesheet
   ============================================ */

/* --- Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Merriweather:wght@300;400;700;900&display=swap');

/* --- Variables --- */
:root {
  --ink: #1a1a2e;
  --ink-light: #2d2d44;
  --paper: #f5f0e8;
  --paper-dark: #e8e2d8;
  --white: #ffffff;
  --muted: #6b7280;
  --line: rgba(26, 26, 46, 0.12);
  --line-light: rgba(26, 26, 46, 0.06);
  --red: #c0392b;
  --red-light: #e74c3c;
  --gold: #f1c40f;
  --gold-light: #f7dc6f;
  --blue: #2c6fbb;
  --blue-light: #3498db;
  --green: #27ae60;
  --green-dark: #1e8449;
  --purple: #8e44ad;
  --orange: #e67e22;
  --shadow-sm: 0 1px 3px rgba(26, 26, 46, 0.08);
  --shadow-md: 0 4px 14px rgba(26, 26, 46, 0.1);
  --shadow-lg: 0 12px 40px rgba(26, 26, 46, 0.12);
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-serif: 'Merriweather', Georgia, serif;
  --max-width: 1320px;
  --header-height: 64px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

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

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

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  line-height: 1.25;
  font-weight: 800;
}

p {
  margin-top: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 240, 232, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: var(--header-height);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none !important;
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
}

.brand-text strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--ink);
}

.brand-text small {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Navigation */
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
}

.nav-links a {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-light);
  white-space: nowrap;
}

.nav-links a:hover {
  background: rgba(26, 26, 46, 0.06);
  color: var(--ink);
}

.nav-links a.active {
  color: var(--red);
  background: rgba(192, 57, 43, 0.08);
}

/* Search Toggle */
.search-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  flex-shrink: 0;
}

.search-toggle:hover {
  background: rgba(26, 26, 46, 0.06);
}

/* Nav Toggle (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 36px;
  height: 36px;
  padding: 8px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease;
}

/* Search Bar */
.search-bar {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.search-bar.open {
  display: block;
}

.search-bar-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 10px 24px;
}

.search-bar-inner input {
  flex: 1;
  padding: 10px 14px;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: var(--font-sans);
  background: var(--paper);
  color: var(--ink);
  outline: none;
}

.search-bar-inner input:focus {
  border-color: var(--blue);
}

.search-bar-inner button {
  padding: 8px 16px;
  border: none;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
}

/* --- Date Bar --- */
.date-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 8px 24px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--line-light);
}

.current-date-label {
  color: var(--red);
  font-weight: 700;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 0;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  border-bottom: 1px solid var(--line);
}

.hero-article {
  padding: 32px 32px 32px 0;
  border-right: 1px solid var(--line);
}

.hero-category {
  display: inline-block;
  padding: 4px 10px;
  margin-bottom: 12px;
  border-radius: 3px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--white);
}

.hero-category.sport { background: var(--green); }
.hero-category.kultur { background: var(--purple); }
.hero-category.panorama { background: var(--blue); }
.hero-category.politik { background: var(--red); }
.hero-category.wirtschaft { background: var(--orange); }
.hero-category.freizeit { background: var(--gold); color: var(--ink); }
.hero-category.finanzen { background: var(--ink); }

.hero-title {
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 12px;
}

.hero-title a {
  text-decoration: none;
}

.hero-title a:hover {
  color: var(--red);
}

.hero-excerpt {
  font-size: 0.95rem;
  color: var(--ink-light);
  margin-bottom: 14px;
  line-height: 1.6;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 0.82rem;
  color: var(--muted);
}

.hero-date {
  font-size: 0.82rem;
  color: var(--muted);
}

.hero-author {
  font-weight: 600;
}

.hero-read-more {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--red);
}

.hero-read-more:hover {
  text-decoration: underline;
}

.hero-sidebar {
  padding: 32px 0 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-secondary {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.hero-secondary h2 {
  font-size: 1rem;
  font-weight: 800;
  margin: 8px 0;
  line-height: 1.3;
}

.hero-secondary h2 a:hover {
  color: var(--red);
}

.hero-sidebar-bottom {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-sidebar-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--line-light);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
}

.hero-sidebar-link:hover {
  color: var(--red);
}

.hero-sidebar-link:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.hero-sidebar-link .hero-date {
  font-weight: 500;
}

/* ============================================
   RECOMMENDED SECTION
   ============================================ */
.recommended-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 28px 24px 20px;
  border-bottom: 1px solid var(--line);
}

.section-headline {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 16px;
}

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

.recommended-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

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

.recommended-category {
  display: inline-block;
  padding: 3px 8px;
  margin-bottom: 8px;
  border-radius: 3px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.recommended-category.freizeit { background: rgba(241, 196, 15, 0.2); color: #856404; }
.recommended-category.panorama { background: rgba(44, 111, 187, 0.12); color: var(--blue); }
.recommended-category.sport { background: rgba(39, 174, 96, 0.12); color: var(--green-dark); }
.recommended-category.kultur { background: rgba(142, 68, 173, 0.12); color: var(--purple); }
.recommended-category.politik { background: rgba(192, 57, 43, 0.12); color: var(--red); }
.recommended-category.wirtschaft { background: rgba(230, 126, 34, 0.12); color: var(--orange); }
.recommended-category.finanzen { background: rgba(26, 26, 46, 0.08); color: var(--ink); }

.recommended-card h3 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.3;
}

.recommended-card h3 a:hover {
  color: var(--red);
}

.recommended-date {
  font-size: 0.75rem;
  color: var(--muted);
}

/* ============================================
   CONTENT LAYOUT (full width + sidebar)
   ============================================ */
.content-wrapper {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 0;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0;
}

.content-main {
  padding: 28px 32px 40px 24px;
  border-right: 1px solid var(--line);
}

.content-sidebar {
  padding: 28px 24px 40px;
}

/* ============================================
   CATEGORY SECTIONS
   ============================================ */
.category-section {
  padding: 20px 0;
  border-bottom: 1px solid var(--line-light);
}

.category-section:last-child {
  border-bottom: none;
}

.category-headline a {
  color: var(--ink);
}

.category-headline a:hover {
  color: var(--red);
}

.panorama-headline { border-left: 3px solid var(--blue); padding-left: 10px; }
.politik-headline { border-left: 3px solid var(--red); padding-left: 10px; }
.wirtschaft-headline { border-left: 3px solid var(--orange); padding-left: 10px; }
.freizeit-headline { border-left: 3px solid var(--gold); padding-left: 10px; }
.sport-headline { border-left: 3px solid var(--green); padding-left: 10px; }
.kultur-headline { border-left: 3px solid var(--purple); padding-left: 10px; }
.finanzen-headline { border-left: 3px solid var(--ink); padding-left: 10px; }

.category-featured-text h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.25;
}

.category-featured-text h3 a:hover {
  color: var(--red);
}

.category-featured-text p {
  font-size: 0.92rem;
  color: var(--ink-light);
  margin-bottom: 6px;
  line-height: 1.55;
}

.category-list {
  display: flex;
  flex-direction: column;
}

.category-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.category-list li:last-child {
  border-bottom: none;
}

.category-list li a {
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
  flex: 1;
}

.category-list li a:hover {
  color: var(--red);
}

.article-date {
  font-size: 0.78rem;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ============================================
   SIDEBAR
   ============================================ */
.sidebar-section {
  margin-bottom: 28px;
}

.sidebar-headline {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--ink);
}

.sidebar-news-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.sidebar-news-list li {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-light);
}

.sidebar-news-list li:last-child {
  border-bottom: none;
}

.sidebar-news-list li a {
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.3;
}

.sidebar-news-list li a:hover {
  color: var(--red);
}

.sidebar-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.sidebar-topics li a {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-light);
  transition: all 0.15s ease;
}

.sidebar-topics li a:hover {
  border-color: var(--red);
  color: var(--red);
  background: rgba(192, 57, 43, 0.06);
}

.sidebar-info-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sidebar-info-links li a {
  display: block;
  padding: 7px 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-light);
  border-bottom: 1px solid var(--line-light);
}

.sidebar-info-links li:last-child a {
  border-bottom: none;
}

.sidebar-info-links li a:hover {
  color: var(--red);
}

/* ============================================
   CATEGORY PAGE HEADER
   ============================================ */
.category-page-header {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.category-page-header h1 {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 10px;
  line-height: 1.1;
}

.category-page-header p {
  font-size: 0.95rem;
  color: var(--ink-light);
  line-height: 1.55;
  max-width: 680px;
}

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

.article-list-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--line-light);
}

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

.article-list-item h2 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.25;
}

.article-list-item h2 a:hover {
  color: var(--red);
}

.article-list-item p {
  font-size: 0.9rem;
  color: var(--ink-light);
  margin-bottom: 8px;
  line-height: 1.55;
}

/* ============================================
   ARTICLE DETAIL PAGE
   ============================================ */
.article-detail {
  max-width: 720px;
}

.article-detail .article-meta-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.article-detail h1 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 16px;
}

.article-detail .article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 0.85rem;
  color: var(--muted);
  flex-wrap: wrap;
}

.article-detail .article-share {
  margin-bottom: 24px;
}

.article-detail .share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.article-detail .share-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.article-detail .article-image {
  margin-bottom: 24px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--paper-dark);
  line-height: 0;
}

.article-detail .article-image img {
  width: 100%;
  height: auto;
  display: block;
}

.article-detail .article-image .image-caption {
  padding: 10px 14px;
  font-size: 0.82rem;
  color: var(--muted);
  background: var(--white);
  border-top: 1px solid var(--line);
  line-height: 1.4;
  font-style: italic;
}

.article-body {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--ink);
}

.article-body h2 {
  font-family: var(--font-sans);
  font-size: 1.35rem;
  font-weight: 800;
  margin: 28px 0 12px;
  line-height: 1.25;
}

.article-body h3 {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 24px 0 10px;
}

.article-body p {
  margin-bottom: 16px;
}

.article-body ul {
  margin: 0 0 16px;
  padding-left: 20px;
  list-style: disc;
}

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

.article-source {
  margin-top: 30px;
  padding: 14px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--muted);
}

.article-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.article-prev,
.article-next {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  transition: box-shadow 0.15s ease;
}

.article-prev:hover,
.article-next:hover {
  box-shadow: var(--shadow-sm);
}

.article-prev span,
.article-next span {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
  letter-spacing: 0.05em;
}

.article-next {
  text-align: right;
}

/* Related Articles */
.related-section {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.related-section h3 {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 14px;
}

.related-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.related-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line-light);
}

.related-list li:last-child {
  border-bottom: none;
}

.related-list li a {
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
}

.related-list li a:hover {
  color: var(--red);
}

.related-list li .article-date {
  display: block;
  margin-top: 3px;
}

/* ============================================
   PAGE CONTENT (legal, contact)
   ============================================ */
.page-content {
  max-width: 780px;
}

.page-content h1 {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 24px;
}

.page-content h2 {
  font-size: 1.4rem;
  font-weight: 800;
  margin: 28px 0 12px;
}

.page-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 22px 0 8px;
}

.page-content p {
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 14px;
  color: var(--ink-light);
}

.legal-content p {
  margin-bottom: 14px;
}

.legal-content strong {
  color: var(--ink);
}

/* Contact Form */
.contact-form {
  max-width: 560px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--blue);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.checkbox-group input {
  width: auto;
  margin-top: 3px;
}

.checkbox-group label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 0;
}

.btn-submit {
  padding: 12px 28px;
  border: none;
  border-radius: var(--radius-sm);
  background: var(--red);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease;
}

.btn-submit:hover {
  background: var(--red-light);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  border-top: 2px solid var(--ink);
  background: var(--white);
  margin-top: 40px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 24px 24px;
}

.footer-brand {
  margin-bottom: 28px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1rem;
  font-weight: 800;
}

.footer-sections {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 12px;
}

.footer-col ul li {
  margin-bottom: 6px;
}

.footer-col ul li a {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-light);
}

.footer-col ul li a:hover {
  color: var(--red);
}

.footer-bottom {
  padding-top: 20px;
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

/* Article Images */
.article-image {
  margin-bottom: 24px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--paper-dark);
  line-height: 0;
}

.article-image img {
  width: 100%;
  height: auto;
  display: block;
}

.article-image .image-caption {
  padding: 10px 14px;
  font-size: 0.82rem;
  color: var(--muted);
  background: var(--white);
  border-top: 1px solid var(--line);
  line-height: 1.4;
  font-style: italic;
}

/* Category Featured with Image */
.category-featured {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.category-featured-img {
  width: 180px;
  height: 120px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--paper-dark);
}

.category-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.category-featured-text {
  flex: 1;
  min-width: 0;
}

/* Recommended cards with images */
.recommended-card {
  display: flex;
  flex-direction: column;
}

.recommended-card .recommended-img {
  width: 100%;
  height: 130px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 10px;
  background: var(--paper-dark);
}

.recommended-card .recommended-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Hero article with image */
.hero-article {
  display: flex;
  flex-direction: column;
}

.hero-article-img {
  width: 100%;
  height: 200px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 14px;
  background: var(--paper-dark);
}

.hero-article-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Article list with images */
.article-list-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.article-list-item .article-list-img {
  width: 160px;
  height: 100px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--paper-dark);
}

.article-list-item .article-list-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.article-list-item .article-list-text {
  flex: 1;
  min-width: 0;
}

@media (max-width: 700px) {
  .category-featured {
    flex-direction: column;
  }
  .category-featured-img {
    width: 100%;
    height: 160px;
  }
  .article-list-item {
    flex-direction: column;
  }
  .article-list-item .article-list-img {
    width: 100%;
    height: 160px;
  }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
  .hero-section {
    grid-template-columns: 1fr;
  }

  .hero-article {
    border-right: none;
    padding-right: 0;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
  }

  .hero-sidebar {
    padding-left: 0;
    padding-top: 20px;
  }

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

  .content-wrapper {
    grid-template-columns: 1fr;
  }

  .content-main {
    border-right: none;
    padding-right: 24px;
  }

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

@media (max-width: 768px) {
  .header-inner {
    padding: 0 16px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 8px 16px;
    box-shadow: var(--shadow-lg);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 10px 12px;
    font-size: 0.9rem;
  }

  .hero-section {
    padding: 0 16px;
  }

  .hero-article {
    padding: 20px 0;
  }

  .hero-title {
    font-size: 1.4rem;
  }

  .hero-sidebar {
    padding: 16px 0;
  }

  .recommended-section {
    padding: 20px 16px;
  }

  .recommended-grid {
    grid-template-columns: 1fr;
  }

  .content-wrapper {
    padding: 0;
  }

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

  .content-sidebar {
    padding: 20px 16px;
  }

  .date-bar {
    padding: 6px 16px;
    font-size: 0.7rem;
  }

  .footer-inner {
    padding: 28px 16px 20px;
  }

  .footer-sections {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .article-navigation {
    grid-template-columns: 1fr;
  }

  .category-page-header h1 {
    font-size: 1.6rem;
  }

  .article-list-item h2 {
    font-size: 1.05rem;
  }

  .category-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}

@media (max-width: 480px) {
  .brand-text strong {
    font-size: 0.82rem;
  }

  .brand-text small {
    font-size: 0.65rem;
  }

  .hero-title {
    font-size: 1.2rem;
  }

  .hero-excerpt {
    font-size: 0.88rem;
  }
}
