/* Důchodové Zprávy — Main Stylesheet */
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&family=Roboto+Slab:wght@700&display=swap");

:root {
  --primary: #1b5e20;
  --primary-mid: #2e7d32;
  --primary-light: #4caf50;
  --accent: #e8f5e9;
  --accent2: #c8e6c9;
  --text: #212121;
  --text-muted: #757575;
  --text-light: #9e9e9e;
  --border: #e0e0e0;
  --bg: #f5f5f5;
  --white: #ffffff;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 6px 20px rgba(0, 0, 0, 0.14);
  --ad-bg: #fafafa;
  --ad-border: #ebebeb;
  --ad-stripe: rgba(0, 0, 0, 0.025);
  --radius: 6px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Roboto", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

a {
  color: var(--primary-mid);
  text-decoration: none;
}
a:hover {
  color: var(--primary);
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* === LAYOUT === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}
.container-narrow {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 16px;
}

/* === TOP BAR === */
.top-bar {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  padding: 6px 0;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar a {
  color: rgba(255, 255, 255, 0.85);
}
.top-bar a:hover {
  color: #fff;
}
.top-bar-date {
}
.top-bar-links {
  display: flex;
  gap: 16px;
}

/* === HEADER === */
header {
  background: var(--white);
  border-bottom: 3px solid var(--primary);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 200;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}
.logo {
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-icon svg {
  fill: white;
  width: 22px;
  height: 22px;
}
.logo:hover {
  color: var(--primary-mid);
}

nav.main-nav {
  flex: 1;
}
nav.main-nav ul {
  display: flex;
  list-style: none;
  gap: 2px;
  justify-content: flex-end;
  flex-wrap: wrap;
}
nav.main-nav a {
  display: block;
  padding: 8px 12px;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius);
  transition:
    background 0.15s,
    color 0.15s;
  white-space: nowrap;
}
nav.main-nav a:hover,
nav.main-nav a.active {
  background: var(--accent);
  color: var(--primary);
}
nav.main-nav a.nav-calc {
  color: var(--primary-mid);
  font-weight: 600;
}

.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
}
.search-form {
  display: flex;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}
.search-form input {
  border: none;
  outline: none;
  padding: 6px 12px;
  font-size: 13px;
  width: 160px;
  font-family: inherit;
  background: transparent;
}
.search-form button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 10px;
  color: var(--text-muted);
  font-size: 16px;
}
.search-form button:hover {
  color: var(--primary);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  border-radius: 2px;
  transition: all 0.2s;
}

/* === BREAKING NEWS TICKER === */
.breaking-bar {
  background: var(--primary-light);
  color: white;
  font-size: 13px;
  padding: 7px 0;
  overflow: hidden;
}
.breaking-inner {
  display: flex;
  align-items: center;
  gap: 16px;
}
.breaking-label {
  background: var(--primary);
  color: white;
  padding: 2px 10px;
  border-radius: 3px;
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
  flex-shrink: 0;
}
.breaking-text {
  overflow: hidden;
  white-space: nowrap;
  flex: 1;
}
.breaking-text span {
  display: inline-block;
  animation: ticker 40s linear infinite;
}
@keyframes ticker {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* === AD PLACEHOLDERS === */
.ad-wrapper {
  text-align: center;
  margin: 20px auto;
  line-height: 0;
}
.ad-wrapper.ad-top {
  margin: 0 auto 20px;
}
.ad-wrapper.ad-inline {
  margin: 24px auto;
}
.ad-label {
  display: block;
  font-size: 9px;
  color: #bdbdbd;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 3px;
  line-height: 1;
  font-family: Arial, Helvetica, sans-serif;
}
.ad-unit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ad-bg);
  border: 1px solid var(--ad-border);
  position: relative;
  overflow: hidden;
  max-width: 100%;
  vertical-align: top;
}
.ad-unit::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 5px,
    var(--ad-stripe) 5px,
    var(--ad-stripe) 10px
  );
  pointer-events: none;
}
.ad-unit .ad-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.6) 50%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: shimmer 2.5s ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* Ad sizes */
.ad-970x90 {
  width: 970px;
  height: 90px;
}
.ad-728x90 {
  width: 728px;
  height: 90px;
}
.ad-336x280 {
  width: 336px;
  height: 280px;
}
.ad-300x250 {
  width: 300px;
  height: 250px;
}
.ad-300x600 {
  width: 300px;
  height: 600px;
}
.ad-160x600 {
  width: 160px;
  height: 600px;
}
.ad-320x100 {
  width: 320px;
  height: 100px;
}
.ad-320x50 {
  width: 320px;
  height: 50px;
}
.ad-250x250 {
  width: 250px;
  height: 250px;
}
.ad-468x60 {
  width: 468px;
  height: 60px;
}

/* AdSense-like container */
.adsense-container {
  display: block;
  background: var(--ad-bg);
  border: 1px solid var(--ad-border);
  text-align: center;
  padding: 2px 0;
  position: relative;
  overflow: hidden;
}
.adsense-container::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 5px,
    var(--ad-stripe) 5px,
    var(--ad-stripe) 10px
  );
}

/* Sidebar ad block */
.sidebar-ad {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  text-align: center;
  margin-bottom: 20px;
}
.sidebar-ad .ad-label {
  margin-bottom: 6px;
}

/* === HERO === */
.hero {
  background: var(--white);
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  min-height: 380px;
}
.hero-image {
  overflow: hidden;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-content {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: white;
}
.hero-category {
  display: inline-block;
  background: var(--primary);
  color: white;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 3px;
  margin-bottom: 12px;
}
.hero-title {
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 12px;
}
.hero-title a {
  color: inherit;
}
.hero-title a:hover {
  color: var(--primary);
}
.hero-excerpt {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 16px;
  line-height: 1.6;
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--text-light);
}
.hero-meta .cat-link {
  color: var(--primary-mid);
  font-weight: 500;
}
.btn-read {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary);
  color: white;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  transition: background 0.15s;
  align-self: flex-start;
  margin-top: 8px;
}
.btn-read:hover {
  background: var(--primary-mid);
  color: white;
}
.btn-read svg {
  fill: white;
  width: 14px;
  height: 14px;
}

/* === MAIN LAYOUT === */
.main-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 20px;
  align-items: start;
}
.main-content {
}
.sidebar {
  position: sticky;
  top: 90px;
}

/* === SECTION HEADERS === */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--primary-light);
  margin-bottom: 16px;
  padding-bottom: 8px;
}
.section-title {
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-title::before {
  content: "";
  display: block;
  width: 4px;
  height: 20px;
  background: var(--primary);
  border-radius: 2px;
}
.section-more {
  font-size: 13px;
  color: var(--primary-mid);
  font-weight: 500;
}

/* === ARTICLE CARDS === */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}
.article-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition:
    box-shadow 0.2s,
    transform 0.2s;
  display: flex;
  flex-direction: column;
}
.article-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.article-card-image {
  overflow: hidden;
  aspect-ratio: 16/9;
}
.article-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.article-card:hover .article-card-image img {
  transform: scale(1.04);
}
.article-card-body {
  padding: 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.article-category {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary-mid);
  margin-bottom: 6px;
}
.article-title {
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
  margin-bottom: 8px;
  flex: 1;
}
.article-title a {
  color: inherit;
}
.article-title a:hover {
  color: var(--primary);
}
.article-excerpt {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 10px;
}
.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-light);
  border-top: 1px solid var(--border);
  padding-top: 8px;
  margin-top: auto;
}
.article-meta .read-more {
  color: var(--primary-mid);
  font-weight: 500;
  font-size: 12px;
}

/* Article card - list style (horizontal) */
.article-list-item {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.article-list-item:last-child {
  border-bottom: none;
}
.article-list-thumb {
  width: 90px;
  height: 68px;
  flex-shrink: 0;
  border-radius: 4px;
  overflow: hidden;
}
.article-list-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-list-body {
  flex: 1;
}
.article-list-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
  margin-bottom: 4px;
}
.article-list-title a {
  color: inherit;
}
.article-list-title a:hover {
  color: var(--primary);
}
.article-list-meta {
  font-size: 11px;
  color: var(--text-light);
}

/* === SIDEBAR WIDGETS === */
.sidebar-widget {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  overflow: hidden;
}
.widget-header {
  background: var(--primary);
  color: white;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.widget-body {
  padding: 12px 16px;
}

/* Newsletter widget */
.newsletter-widget {
  background: var(--accent);
  border: 1px solid var(--accent2);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
}
.newsletter-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.newsletter-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.newsletter-form input[type="email"] {
  width: 100%;
  padding: 9px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
  font-family: inherit;
  margin-bottom: 8px;
  outline: none;
}
.newsletter-form input[type="email"]:focus {
  border-color: var(--primary-light);
}
.newsletter-form button {
  width: 100%;
  background: var(--primary);
  color: white;
  border: none;
  padding: 10px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
}
.newsletter-form button:hover {
  background: var(--primary-mid);
}
.newsletter-note {
  font-size: 11px;
  color: var(--text-light);
  margin-top: 8px;
}

/* Popular tags */
.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 12px 16px;
}
.tag {
  display: inline-block;
  background: var(--accent);
  color: var(--primary);
  padding: 4px 10px;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 500;
  transition: background 0.15s;
}
.tag:hover {
  background: var(--accent2);
  color: var(--primary);
}

/* Calculator promo widget */
.calc-widget {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-mid) 100%
  );
  color: white;
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
}
.calc-widget h3 {
  font-size: 16px;
  margin-bottom: 8px;
  font-family: "Roboto Slab", serif;
}
.calc-widget p {
  font-size: 13px;
  opacity: 0.85;
  margin-bottom: 14px;
}
.calc-widget a {
  display: inline-block;
  background: white;
  color: var(--primary);
  padding: 8px 18px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 700;
}

/* === CATEGORY TABS === */
.cat-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.cat-tab {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text-muted);
  transition: all 0.15s;
}
.cat-tab.active,
.cat-tab:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* === FEATURED SECTION === */
.featured-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}
.featured-main {
}
.featured-secondary {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.featured-small {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  transition: box-shadow 0.2s;
}
.featured-small:hover {
  box-shadow: var(--shadow-hover);
}
.featured-small-img {
  width: 80px;
  flex-shrink: 0;
}
.featured-small-img img {
  width: 80px;
  height: 100%;
  object-fit: cover;
}
.featured-small-body {
  padding: 10px;
  flex: 1;
}
.featured-small-title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
}
.featured-small-title a {
  color: inherit;
}
.featured-small-title a:hover {
  color: var(--primary);
}
.featured-small-meta {
  font-size: 11px;
  color: var(--text-light);
  margin-top: 4px;
}

/* Large featured article */
.featured-article-large {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}
.featured-article-large:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.featured-article-large .article-img {
  overflow: hidden;
  aspect-ratio: 16/9;
}
.featured-article-large .article-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.featured-article-large .article-body {
  padding: 16px 18px;
}
.featured-article-large .article-cat {
  color: var(--primary-mid);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.featured-article-large .article-h {
  font-family: "Roboto Slab", serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 8px;
}
.featured-article-large .article-h a {
  color: inherit;
}
.featured-article-large .article-h a:hover {
  color: var(--primary);
}
.featured-article-large .article-ex {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}
.featured-article-large .article-m {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 12px;
}

/* === ARTICLE PAGE === */
.article-page {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.article-header {
  padding: 28px 32px 20px;
}
.article-breadcrumb {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.article-breadcrumb a {
  color: var(--primary-mid);
}
.article-breadcrumb span {
  margin: 0 6px;
}
.article-page-cat {
  display: inline-block;
  background: var(--primary);
  color: white;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 3px;
  margin-bottom: 14px;
}
.article-page-title {
  font-family: "Roboto Slab", serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 14px;
}
.article-page-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.article-page-meta .author-name {
  font-weight: 500;
  color: var(--text);
}
.article-hero-img {
  width: 100%;
  aspect-ratio: 16/6;
  overflow: hidden;
}
.article-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-body {
  padding: 24px 32px;
}
.article-body p {
  margin-bottom: 18px;
  line-height: 1.75;
}
.article-body h2 {
  font-family: "Roboto Slab", serif;
  font-size: 22px;
  margin: 28px 0 14px;
  color: var(--text);
}
.article-body h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 22px 0 12px;
  color: var(--text);
}
.article-body ul,
.article-body ol {
  margin: 0 0 18px 24px;
}
.article-body li {
  margin-bottom: 6px;
  line-height: 1.65;
}
.article-body blockquote {
  border-left: 4px solid var(--primary-light);
  background: var(--accent);
  padding: 14px 20px;
  margin: 20px 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--text-muted);
}
.article-body .highlight-box {
  background: var(--accent);
  border: 1px solid var(--accent2);
  padding: 16px 20px;
  border-radius: var(--radius);
  margin: 20px 0;
}

.article-tags {
  padding: 0 32px 20px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.article-tags .label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.article-share {
  padding: 16px 32px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
}
.share-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  color: white;
  transition: opacity 0.15s;
}
.share-btn:hover {
  opacity: 0.85;
}
.share-fb {
  background: #1877f2;
}
.share-tw {
  background: #1da1f2;
}
.share-li {
  background: #0a66c2;
}

.related-section {
  padding: 24px 32px 28px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}

/* === FOOTER === */
footer {
  background: #1a1a1a;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 40px;
}
.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  padding: 40px 0 28px;
}
.footer-about .footer-logo {
  font-family: "Roboto Slab", serif;
  font-size: 20px;
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
  display: block;
}
.footer-about p {
  font-size: 13px;
  line-height: 1.65;
  max-width: 280px;
}
.footer-issn {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 10px;
}
.footer-section h4 {
  color: white;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 14px;
}
.footer-section ul {
  list-style: none;
}
.footer-section li {
  margin-bottom: 8px;
}
.footer-section a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
}
.footer-section a:hover {
  color: var(--primary-light);
}
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.social-link {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  transition: background 0.15s;
}
.social-link:hover {
  background: var(--primary-light);
  color: white;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 0;
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom a {
  color: rgba(255, 255, 255, 0.4);
}
.footer-bottom a:hover {
  color: rgba(255, 255, 255, 0.7);
}
.footer-legal {
  display: flex;
  gap: 16px;
}

/* === COOKIE BANNER === */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1a1a1a;
  color: rgba(255, 255, 255, 0.9);
  padding: 18px 0;
  z-index: 9999;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  display: none;
}
#cookie-banner.visible {
  display: block;
}
.cookie-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-text {
  flex: 1;
  font-size: 13px;
  line-height: 1.5;
  min-width: 260px;
}
.cookie-text a {
  color: var(--primary-light);
  text-decoration: underline;
}
.cookie-buttons {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.cookie-btn {
  padding: 9px 20px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: opacity 0.15s;
}
.cookie-btn:hover {
  opacity: 0.85;
}
.cookie-accept {
  background: var(--primary-light);
  color: white;
}
.cookie-reject {
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.85);
}
.cookie-settings {
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
}

/* === PAGINATION === */
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 24px 0;
}
.page-btn {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: 1.5px solid var(--border);
  background: white;
  color: var(--text);
  transition: all 0.15s;
}
.page-btn:hover,
.page-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* === STATIC PAGES === */
.static-page {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.static-page-header {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-mid) 100%
  );
  color: white;
  padding: 40px 40px 36px;
}
.static-page-header h1 {
  font-family: "Roboto Slab", serif;
  font-size: 28px;
  margin-bottom: 8px;
}
.static-page-header p {
  opacity: 0.8;
  font-size: 15px;
}
.static-page-body {
  padding: 32px 40px;
}
.static-page-body h2 {
  font-family: "Roboto Slab", serif;
  font-size: 20px;
  color: var(--text);
  margin: 24px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
}
.static-page-body h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 18px 0 10px;
  color: var(--text);
}
.static-page-body p {
  margin-bottom: 14px;
  line-height: 1.75;
}
.static-page-body ul,
.static-page-body ol {
  margin: 0 0 16px 24px;
}
.static-page-body li {
  margin-bottom: 6px;
}
.static-page-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}
.static-page-body td,
.static-page-body th {
  padding: 10px 14px;
  border: 1px solid var(--border);
  font-size: 14px;
}
.static-page-body th {
  background: var(--accent);
  font-weight: 600;
}

/* === CALCULATOR === */
.calculator-box {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 32px;
}
.calc-form .form-group {
  margin-bottom: 18px;
}
.calc-form label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 6px;
}
.calc-form input,
.calc-form select {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s;
}
.calc-form input:focus,
.calc-form select:focus {
  border-color: var(--primary-light);
}
.calc-btn {
  background: var(--primary);
  color: white;
  border: none;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
}
.calc-btn:hover {
  background: var(--primary-mid);
}
.calc-result {
  margin-top: 24px;
  padding: 20px 24px;
  background: var(--accent);
  border: 1px solid var(--accent2);
  border-radius: var(--radius);
  display: none;
}
.calc-result.visible {
  display: block;
}
.calc-result-amount {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
}
.calc-result-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* === BREADCRUMB === */
.breadcrumb-bar {
  padding: 10px 0;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.breadcrumb-bar a {
  color: var(--primary-mid);
}
.breadcrumb-bar span {
  margin: 0 6px;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr 300px;
  }
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}
@media (max-width: 900px) {
  .main-layout {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: static;
  }
  .ad-970x90,
  .ad-728x90 {
    width: 100%;
    height: auto;
    min-height: 60px;
  }
  .ad-160x600 {
    width: 300px;
    height: 250px;
  }
  .ad-160x600.ad-unit {
    width: 300px !important;
    height: 250px !important;
  }
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-image {
    aspect-ratio: 16/7;
  }
  .hero-content {
    padding: 20px;
  }
  .related-grid {
    grid-template-columns: 1fr 1fr;
  }
  .featured-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .header-inner {
    height: 56px;
  }
  .logo {
    font-size: 18px;
  }
  nav.main-nav {
    display: none;
  }
  nav.main-nav.open {
    display: block;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 100;
  }
  nav.main-nav.open ul {
    flex-direction: column;
    padding: 8px;
  }
  nav.main-nav.open a {
    padding: 10px 16px;
  }
  .menu-toggle {
    display: block;
  }
  .articles-grid {
    grid-template-columns: 1fr;
  }
  .related-grid {
    grid-template-columns: 1fr;
  }
  .article-page-title {
    font-size: 22px;
  }
  .article-header,
  .article-body {
    padding: 18px;
  }
  .footer-main {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  .breaking-bar {
    display: none;
  }
  .ad-300x600 {
    width: 300px;
    height: 250px;
  }
  .ad-300x600.ad-unit {
    width: 100% !important;
    max-width: 336px;
    height: 250px !important;
  }
}
