/* ============================================
   KLASSISCHES DEUTSCHES NACHRICHTENPORTAL
   Inspiriert von Golem.de
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@300;400;500;600;700&family=Merriweather:wght@400;700&display=swap');

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

:root {
  --primary-color: #479d3a;
  --primary-dark: #3a8230;
  --text-dark: #1a1a1a;
  --text-medium: #333;
  --text-light: #666;
  --text-muted: #999;
  --border-color: #e0e0e0;
  --border-light: #f0f0f0;
  --bg-light: #f5f5f5;
  --bg-white: #ffffff;
  --link-color: #1a1a1a;
  --accent-blue: #0066cc;
  --header-bg: #479d3a;
}

body {
  font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 15px;
  background-color: #e8e8e8;
  color: var(--text-medium);
  line-height: 1.5;
}

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

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

/* ============================================
   SITE WRAPPER - Golem-Style schmal
   ============================================ */

.site-wrapper {
  max-width: 1040px;
  margin: 0 auto;
  background: var(--bg-white);
  min-height: 100vh;
  box-shadow: none;
  border-left: none;
  border-right: none;
}

/* ============================================
   TOP BAR - versteckt im Golem-Style
   ============================================ */

#top-ad {
  display: none;
}

/* ============================================
   HEADER - Golem-Style kompakter Header
   ============================================ */

#header {
  background: var(--header-bg);
  padding: 12px 0;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 15px;
  max-width: 1040px;
  margin: 0 auto;
}

.logo-area {
  display: flex;
  align-items: center;
}

.logo-area a {
  display: block;
}

.logo-area img {
  height: 28px;
  width: auto;
}

.logo-area .logo-retro {
  display: none;
}

.logo-area .logo-text {
  display: none;
}

/* Hauptnavigation - im Header sichtbar bei Golem */
.main-nav-links {
  display: flex;
  gap: 0;
}

.main-nav-links a {
  color: rgba(255,255,255,0.9);
  font-size: 13px;
  padding: 8px 12px;
  transition: color 0.2s;
}

.main-nav-links a:hover {
  color: #fff;
  text-decoration: none;
}

/* Login Bereich */
.header-login {
  display: flex;
  gap: 10px;
}

.header-login a {
  color: rgba(255,255,255,0.9);
  font-size: 12px;
}

.header-login a:hover {
  color: #fff;
}

/* ============================================
   THEMEN BAR - Golem-Style einfache Textlinks
   ============================================ */

#themen-bar {
  background: #f8f8f8;
  border-bottom: none;
  padding: 0;
}

.themen-content {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 15px;
  max-width: 1040px;
  margin: 0 auto;
  gap: 0;
}

.themen-label {
  display: none;
}

.themen-links {
  display: flex;
  gap: 0;
  overflow-x: auto;
}

.themen-link {
  padding: 10px 15px;
  font-size: 13px;
  color: var(--text-medium);
  white-space: nowrap;
  border: none;
  border-radius: 0;
  margin: 0;
  transition: all 0.2s ease;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  border-bottom: 2px solid transparent;
}

.themen-link:hover {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
  background: transparent;
  text-decoration: none;
}

.themen-link.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

/* ============================================
   TOP SECTION - Featured + Top Themen nebeneinander
   ============================================ */

.top-section {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 0;
  padding: 15px;
  border-bottom: none;
  background: var(--bg-white);
  max-width: 1040px;
  margin: 0 auto;
}

.top-featured {
  width: 550px !important;
  max-width: 550px !important;
  flex-shrink: 0 !important;
  padding-right: 20px;
}

.top-themes {
  flex: 1 !important;
  min-width: 0;
  padding-left: 15px;
  border-left: none;
}

.top-themes-header {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding-bottom: 8px;
  margin-bottom: 0;
  border-bottom: none;
}

.top-themes-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.top-themes-list li {
  padding: 10px 0;
  border-bottom: none;
}

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

.top-theme-category {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 3px;
}

.top-theme-title {
  display: block;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-dark);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.top-theme-title:hover {
  color: var(--primary-color);
}

.top-theme-teaser {
  font-size: 14px;
  line-height: 1.4;
  color: var(--text-medium);
  margin-top: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.top-theme-meta {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 3px;
}

/* ============================================
   MAIN WRAPPER - Golem-Style Zweispaltiges Layout
   ============================================ */

#main-wrapper {
  display: flex;
  gap: 0;
  padding: 0;
  max-width: 1040px;
  margin: 0 auto;
}

/* ============================================
   LEFT SIDEBAR - versteckt im klassischen Design
   ============================================ */

#sidebar-left {
  display: none;
}

/* ============================================
   MAIN CONTENT - Golem-Style kompakt
   ============================================ */

#content {
  flex: 1;
  padding: 15px;
  border-right: none;
  min-width: 0;
}

/* News Liste */
.news-main-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ============================================
   NEWS ARTIKEL - Golem-Style Design kompakt
   ============================================ */

.news-article {
  background: var(--bg-white);
  border-bottom: none;
  padding: 12px 0;
}

.news-article:first-child {
  padding-top: 0;
}

/* Datums-Zeile entfernen/anpassen */
.news-article-datebar {
  display: none;
}

/* Header */
.news-article-header {
  margin-bottom: 10px;
}

/* Category Tag vor dem Titel (Golem-Style) */
.news-category-tag {
  display: block;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.news-article-title {
  font-family: 'Source Sans 3', -apple-system, sans-serif;
  font-size: 25px;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 5px;
}

.news-article-title a {
  color: var(--text-dark);
}

.news-article-title a:hover {
  color: var(--primary-color);
  text-decoration: none;
}

/* Meta-Informationen */
.news-article-meta {
  display: none;
}

/* Content */
.news-article-content {
  padding: 0;
}

.news-article-body {
  padding: 0;
}

.news-article-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-medium);
  margin-top: 8px;
}

.news-article-text .author-initial {
  display: none;
}

/* Standard Layout mit Bild (Bild rechts neben Text) */
.standard-layout {
  display: flex;
  gap: 15px;
  flex-direction: row-reverse;
}

.standard-image {
  width: 180px;
  height: 120px;
  object-fit: cover;
  flex-shrink: 0;
}

.standard-content {
  flex: 1;
}

/* Teaser für News-Übersicht (max 2 Zeilen) */
.news-article-teaser {
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-medium);
  margin-top: 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Footer - Golem Style mit Kommentar-Icon */
.news-article-footer {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-top: 12px;
  padding-top: 0;
  border-top: none;
}

.news-comments-link {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}

.news-comments-link::before {
  content: "💬";
  font-size: 14px;
}

.news-comments-link:hover {
  color: var(--text-dark);
  text-decoration: none;
}

.news-readmore-link {
  display: none;
}

.readmore-icon {
  display: none;
}

/* ============================================
   SPEZIELLE NEWS FORMATE
   ============================================ */

/* BREAKING NEWS - Golem-Style dezenter */
.format-breaking {
  background: #fff;
  border-left: 3px solid #c00;
  padding: 15px 15px 15px 20px !important;
  margin: 0;
}

.format-breaking .news-article-title {
  color: var(--text-dark);
}

.format-breaking::before {
  content: 'EILMELDUNG';
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: #c00;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

/* HERO / FEATURED - 550px im Top-Bereich */
.format-hero {
  position: relative;
  padding: 0 !important;
  margin: 0;
  border-bottom: none;
  background: #fff;
}

.format-hero .hero-image {
  width: 100%;
  height: 300px;
  background-size: cover;
  background-position: center;
  margin-bottom: 12px;
}

.format-hero .hero-overlay {
  position: relative;
  bottom: auto;
  left: auto;
  right: auto;
  background: transparent;
  padding: 0;
}

.format-hero .hero-badge {
  display: inline-block;
  background: transparent;
  color: var(--primary-color);
  padding: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.format-hero .news-article-title {
  font-size: 28px;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.25;
}

.format-hero .news-article-title a {
  color: var(--text-dark);
}

.format-hero .news-article-title a:hover {
  color: var(--primary-color);
}

.format-hero .hero-excerpt {
  color: var(--text-medium);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 8px;
}

.format-hero .hero-meta {
  color: var(--text-muted);
  font-size: 11px;
}

.format-hero .hero-meta span {
  margin-right: 12px;
}

.format-hero .hero-readmore {
  display: inline-block;
  margin-top: 8px;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 13px;
  border-bottom: none;
  padding-bottom: 0;
}

.format-hero .hero-readmore:hover {
  text-decoration: underline;
}

/* Top-Featured spezifische Anpassungen */
.top-featured .format-hero {
  border-bottom: none;
}

.top-featured .format-hero .hero-image {
  height: 280px;
}

/* INTERVIEW - Golem-Style schlichter */
.format-interview {
  background: #fff;
  padding: 15px 0 !important;
  margin: 0;
  border-bottom: none;
}

.format-interview .interview-layout {
  display: flex;
  gap: 15px;
}

.format-interview .interview-portrait {
  text-align: center;
  flex-shrink: 0;
}

.format-interview .interview-portrait img {
  width: 80px;
  height: 80px;
  border-radius: 4px;
  object-fit: cover;
  border: none;
  box-shadow: none;
}

.format-interview .person-name {
  font-weight: 600;
  margin-top: 8px;
  font-size: 12px;
}

.format-interview .person-team {
  font-size: 11px;
  color: var(--text-muted);
}

.format-interview .interview-title {
  font-size: 18px;
}

.format-interview .interview-excerpt {
  font-size: 14px;
  color: var(--text-medium);
  line-height: 1.6;
}

.format-interview::before {
  content: 'INTERVIEW';
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: 1px;
  margin-bottom: 10px;
}

/* REVIEW */
.format-review {
  border-left: 4px solid var(--accent-blue);
  padding-left: 20px !important;
}

.format-review .review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.format-review .review-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-blue);
  letter-spacing: 1px;
}

.format-review .review-score-box {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 28px;
  font-weight: 700;
  padding: 8px 15px;
  border-radius: 4px;
}

.format-review .review-score-box.score-excellent {
  background: #27ae60;
  color: #fff;
}

.format-review .review-score-box.score-good {
  background: #2ecc71;
  color: #fff;
}

.format-review .review-score-box.score-okay {
  background: #f39c12;
  color: #fff;
}

.format-review .review-score-box.score-bad {
  background: #e74c3c;
  color: #fff;
}

.format-review .score-max {
  font-size: 14px;
  opacity: 0.7;
}

.format-review .review-layout {
  display: flex;
  gap: 20px;
}

.format-review .review-image {
  width: 200px;
  height: 130px;
  object-fit: cover;
}

.format-review .review-verdict {
  background: var(--bg-light);
  padding: 10px 15px;
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-medium);
  border-radius: 3px;
}

/* QUOTE */
.format-quote {
  background: var(--bg-light);
  padding: 30px 40px !important;
  margin: 0 -20px;
  text-align: center;
  border-left: none;
  border-bottom: none;
}

.format-quote .quote-text {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 24px;
  font-style: italic;
  line-height: 1.5;
  color: var(--text-dark);
  position: relative;
}

.format-quote .quote-text::before {
  content: '"';
  font-size: 60px;
  color: var(--primary-color);
  opacity: 0.3;
  position: absolute;
  top: -20px;
  left: -30px;
}

.format-quote .quote-source {
  margin-top: 15px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-medium);
}

.format-quote .quote-context {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 5px;
}

/* COMPACT NEWS - Golem-Style Ticker */
.compact-news-group {
  background: #fff;
  padding: 15px 0;
  margin: 0;
  border-top: none;
}

.compact-header {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: 1px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: none;
  text-transform: uppercase;
}

.format-compact {
  padding: 10px 0 !important;
  border-bottom: none;
}

.format-compact:last-child {
  border-bottom: none;
}

.format-compact .compact-inner {
  display: flex;
  align-items: center;
  gap: 15px;
}

.format-compact .compact-date {
  font-size: 12px;
  color: var(--text-muted);
  min-width: 50px;
}

.format-compact .compact-category {
  font-size: 11px;
  color: var(--primary-color);
  font-weight: 600;
  min-width: 80px;
}

.format-compact .compact-title {
  flex: 1;
  font-weight: 500;
}

.format-compact .compact-title a {
  color: var(--text-dark);
}

.format-compact .compact-author {
  font-size: 12px;
  color: var(--text-muted);
}

/* ============================================
   RIGHT SIDEBAR - Golem-Style Topthemen (schmaler)
   ============================================ */

#sidebar-right {
  width: 280px;
  padding: 15px;
  background: var(--bg-white);
  flex-shrink: 0;
  border-left: none;
}

/* Hide all colored boxes - Golem doesn't have these */
.box-blue,
.box-orange {
  display: none;
}

/* Topthemen Box - Golem Style */
.box-green {
  background: transparent;
  margin-bottom: 25px;
  border: none;
}

.box-inner {
  padding: 0;
}

.box-header {
  display: block;
  padding: 0 0 15px 0;
  background: transparent;
  color: var(--text-dark);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
  border-bottom: none;
}

.box-header-icon {
  display: none;
}

.box-header-title::after {
  content: "Topthemen";
}

.box-header-title {
  font-size: 0;
}

.box-content {
  padding: 0;
  max-height: none;
  overflow: visible;
}

.box-footer {
  display: none;
}

/* Listen-Items - Golem Style */
.list-item-green {
  display: block;
  padding: 15px 0;
  border-bottom: none;
  font-size: 14px;
}

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

.list-item-blue,
.list-item-orange {
  display: none;
}

.item-icon {
  display: none;
}

.item-date {
  display: block;
  font-size: 11px;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  margin-bottom: 5px;
}

.item-text {
  display: block;
  color: var(--text-dark);
  font-weight: 600;
  line-height: 1.4;
}

.item-text:hover {
  text-decoration: underline;
}

.item-team1, .item-team2, .item-vs, .item-score, .item-time {
  display: none;
}

.lightgreen, .lightred {
  color: inherit;
}

/* ============================================
   FOOTER - Golem-Style kompakt
   ============================================ */

#footer {
  background: #333;
  color: rgba(255,255,255,0.6);
  padding: 20px 15px;
  text-align: center;
  font-size: 12px;
  border-top: none;
}

#footer a {
  color: rgba(255,255,255,0.6);
}

#footer a:hover {
  color: #fff;
}

/* ============================================
   NEWS DETAIL PAGE
   ============================================ */

.news-detail {
  background: var(--bg-white);
  margin-bottom: 30px;
}

.news-detail-datebar {
  display: flex;
  align-items: center;
  padding: 20px 0 10px 0;
  color: var(--text-muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.news-detail-datebar::before,
.news-detail-datebar::after {
  display: none;
}

.news-detail-date {
  color: var(--text-muted);
}

.news-detail-header {
  padding: 0 0 20px 0;
  border-bottom: none;
}

.news-detail-header h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 15px;
}

.news-detail-meta {
  font-size: 13px;
  color: var(--text-muted);
}

.news-detail-meta span {
  margin-right: 15px;
}

.news-detail-body {
  padding: 25px 0;
  font-family: 'Merriweather', Georgia, serif;
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-medium);
}

.news-detail-body p {
  margin-bottom: 20px;
}

.news-detail-body h3 {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 22px;
  margin: 30px 0 15px;
  color: var(--text-dark);
}

.news-detail-body a {
  color: var(--primary-color);
  border-bottom: 1px solid var(--primary-color);
}

.news-detail-body a:hover {
  border-bottom-color: transparent;
}

.news-detail-image {
  width: 100%;
  max-height: 450px;
  object-fit: cover;
  margin: 0 0 25px 0;
}

.news-detail-body figure {
  margin: 25px 0;
}

.news-detail-body figure img {
  width: 100%;
}

.news-detail-body figcaption {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 13px;
  color: var(--text-muted);
  padding: 10px 0;
  border-bottom: none;
}

.author-signature {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 30px;
}

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

/* Navigation zwischen News */
.news-navigation {
  display: flex;
  justify-content: space-between;
  padding: 20px 0;
  border-top: none;
  margin-top: 20px;
}

.news-prev, .news-next {
  max-width: 45%;
}

.nav-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 5px;
}

.news-navigation a {
  font-size: 14px;
  color: var(--text-dark);
  font-weight: 500;
}

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

/* Not Found */
.not-found {
  padding: 60px 20px;
  text-align: center;
}

.not-found h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 28px;
  margin-bottom: 15px;
}

.back-link {
  display: inline-block;
  margin-top: 20px;
  color: var(--primary-color);
  font-weight: 500;
}

/* ============================================
   SIDEBAR SECTIONS (versteckt oder angepasst)
   ============================================ */

.sidebar-section,
.specials-box,
.galerie-box {
  display: none;
}

/* ============================================
   DESIGN SWITCHER
   ============================================ */

.design-switcher {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--text-dark);
  padding: 10px 15px;
  border-radius: 5px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.2);
  z-index: 9999;
  display: flex;
  gap: 10px;
  align-items: center;
}

.design-switcher span {
  color: rgba(255,255,255,0.7);
  font-size: 12px;
}

.design-switcher a {
  padding: 5px 12px;
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 12px;
  border-radius: 3px;
  transition: all 0.2s ease;
}

.design-switcher a:hover {
  background: rgba(255,255,255,0.2);
  text-decoration: none;
}

.design-switcher a.active {
  background: var(--primary-color);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 850px) {
  .site-wrapper {
    border-left: none;
    border-right: none;
  }
  
  .top-section {
    flex-direction: column;
  }
  
  .top-featured {
    width: 100%;
    padding-right: 0;
    margin-bottom: 20px;
  }
  
  .top-themes {
    border-left: none;
    padding-left: 0;
    border-top: none;
    padding-top: 15px;
  }
  
  #sidebar-right {
    width: 240px;
  }
  
  .standard-image {
    width: 160px;
    height: 100px;
  }
}

@media (max-width: 768px) {
  #main-wrapper {
    flex-direction: column;
  }
  
  #sidebar-right {
    width: 100%;
    border-top: none;
    border-left: none;
  }
  
  .standard-layout {
    flex-direction: column;
  }
  
  .standard-image {
    width: 100%;
    height: 180px;
  }
  
  .format-hero .hero-image {
    height: 200px;
  }
  
  .format-hero .news-article-title {
    font-size: 24px;
  }
  
  .main-nav-links {
    display: none;
  }
  
  .header-login {
    display: none;
  }
  
  .news-detail-header h1 {
    font-size: 22px;
  }
  
  .themen-links {
    overflow-x: auto;
  }
}

