/* BUBNOVSPORT.RU - Modern Design Inspired by Original Brand */

/* CSS Custom Properties - Modern Color System */
:root {
  /* Brand Colors from Original Design */
  --primary-green: #00964C;
  --primary-green-hover: #03723B;
  --primary-green-light: rgba(0, 150, 76, 0.1);
  --primary-green-dark: #004d2a;
  
  /* Neutral Colors */
  --text-primary: #1a1a1a;
  --text-secondary: #4a4a4a;
  --text-muted: #6b7280;
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-dark: #151515;
  --border-color: #e5e7eb;
  --border-light: #f3f4f6;
  
  /* Modern Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Spacing System */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Modern Reset and Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  font-weight: 400;
}

/* Modern Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: var(--space-sm);
  color: var(--text-secondary);
}

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

a:hover, a:focus {
  color: var(--primary-green-hover);
  text-decoration: underline;
}

/* Modern Container System */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

@media (min-width: 640px) {
  .container { padding: 0 var(--space-md); }
}

@media (min-width: 1024px) {
  .container { padding: 0 var(--space-lg); }
}

/* Modern Header */
.header {
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.95);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) 0;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  text-decoration: none;
  color: var(--text-primary);
  flex-shrink: 0;
}

.logo:hover {
  text-decoration: none;
  color: var(--text-primary);
}

.logo img {
  width: 275px;
  height: 98px;
  border-radius: var(--radius-md);
  object-fit: contain;
  flex-shrink: 0;
  background: var(--primary-green);
  padding: var(--space-sm);
  box-shadow: var(--shadow-md);
}

.logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.logo-text h1 {
  font-size: 1.25rem;
  margin: 0;
  color: var(--primary-green);
  line-height: 1.2;
}

.logo-text .tagline {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0;
  font-weight: 400;
  line-height: 1.2;
}

.archive-badge {
  background: var(--primary-green);
  color: white;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Modern Navigation */
.main-nav ul {
  display: flex;
  list-style: none;
  gap: var(--space-lg);
  align-items: center;
}

.main-nav a {
  font-weight: 500;
  color: var(--text-secondary);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--primary-green);
  background: var(--primary-green-light);
  text-decoration: none;
}

/* Modern Breadcrumb */
.breadcrumb {
  background: var(--bg-secondary);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--border-light);
}

.breadcrumb ul {
  display: flex;
  list-style: none;
  gap: var(--space-xs);
  align-items: center;
  font-size: 0.875rem;
}

.breadcrumb li:not(:last-child)::after {
  content: "›";
  margin-left: var(--space-xs);
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-muted);
}

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

/* Modern Page Header */
.page-header {
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-hover) 100%);
  color: white;
  padding: var(--space-2xl) 0;
  text-align: center;
}

.page-header h1 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: var(--space-sm);
}

.page-header p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
  margin: 0;
}

/* Modern Content Sections */
.content-section {
  padding: var(--space-2xl) 0;
}

/* Modern Hero Section */
.hero {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  padding: var(--space-2xl) 0;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}

@media (min-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-text h2 {
  font-size: 2.5rem;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.stat {
  text-align: center;
  padding: var(--space-md);
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: var(--space-xs);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-image {
  text-align: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

/* Modern Article Grid */
.articles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

@media (min-width: 768px) {
  .articles-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  }
}

.article-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.article-image {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.article-card:hover .article-image img {
  transform: scale(1.05);
}

.article-content {
  padding: var(--space-lg);
}

.article-content h2 {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
}

.article-content h2 a {
  color: var(--text-primary);
  text-decoration: none;
}

.article-content h2 a:hover {
  color: var(--primary-green);
}

.article-meta {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
  font-size: 0.875rem;
  color: var(--text-muted);
}

.article-date {
  background: var(--bg-secondary);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
}

.article-category {
  background: var(--primary-green);
  color: white;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  font-weight: 500;
}

/* Modern Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-sm) var(--space-lg);
  background: var(--primary-green);
  color: white;
  text-decoration: none;
  border-radius: var(--radius-md);
  font-weight: 500;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  font-size: 0.875rem;
}

.btn:hover {
  background: var(--primary-green-hover);
  color: white;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn:focus {
  outline: 2px solid var(--primary-green);
  outline-offset: 2px;
}

/* Modern Info Grid */
.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

@media (min-width: 768px) {
  .info-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

.info-card {
  background: white;
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.info-card h4 {
  color: var(--primary-green);
  margin-bottom: var(--space-sm);
}

.info-card p {
  margin-bottom: var(--space-sm);
}

/* Modern Highlight Box */
.highlight-box {
  background: var(--primary-green-light);
  border: 1px solid var(--primary-green);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin-bottom: var(--space-xl);
  text-align: center;
}

.highlight-box h2 {
  color: var(--primary-green);
  margin-bottom: var(--space-sm);
}

/* Modern Footer */
.footer {
  background: var(--bg-dark);
  color: white;
  padding: var(--space-2xl) 0 var(--space-lg);
  margin-top: var(--space-2xl);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: 2fr 1fr;
  }
}

.footer-info p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-sm);
}

.footer-info a {
  color: var(--primary-green);
}

.footer-info a:hover {
  color: white;
}

.social-links {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--primary-green);
  color: white;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all 0.2s ease;
}

.social-links a:hover {
  background: var(--primary-green-hover);
  transform: translateY(-2px);
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  list-style: none;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--primary-green);
}

/* Modern Article Styles */
.article-meta {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
  color: var(--text-muted);
  font-size: 0.875rem;
}

.article-content {
  line-height: 1.7;
  max-width: none;
}

.article-content h2 {
  color: var(--text-primary);
  margin: var(--space-xl) 0 var(--space-md);
  font-size: 1.5rem;
  border-bottom: 2px solid var(--primary-green-light);
  padding-bottom: var(--space-sm);
}

.article-content h3 {
  color: var(--text-primary);
  margin: var(--space-lg) 0 var(--space-sm);
  font-size: 1.25rem;
}

.video-container {
  margin: var(--space-xl) 0;
  text-align: center;
  background: var(--bg-secondary);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
}

.video-container iframe {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}

.article-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border-color);
}

.nav-previous, .nav-next {
  flex: 1;
}

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

/* Modern Pagination */
.pagination {
  text-align: center;
  margin-top: var(--space-xl);
  padding: var(--space-lg);
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
}

.pagination p {
  color: var(--text-muted);
  margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .logo img {
    width: 200px;
    height: auto;
    background: var(--primary-green);
    padding: var(--space-xs);
  }
  
  .logo-text h1 {
    font-size: 1.125rem;
  }
  
  .logo-text .tagline {
    font-size: 0.7rem;
  }
}

@media (max-width: 767px) {
  .header-content {
    flex-direction: column;
    gap: var(--space-md);
    padding: var(--space-sm) 0;
  }
  
  .logo {
    flex-direction: column;
    text-align: center;
    gap: var(--space-sm);
  }
  
  .logo img {
    width: 200px;
    height: auto;
    max-width: 100%;
    background: var(--primary-green);
    padding: var(--space-xs);
  }
  
  .main-nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-sm);
  }
  
  .hero-text h2 {
    font-size: 2rem;
  }
  
  .page-header h1 {
    font-size: 2rem;
  }
  
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .article-navigation {
    flex-direction: column;
    gap: var(--space-md);
  }
  
  .nav-next {
    text-align: left;
  }
}

/* Accessibility Improvements */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus Styles */
*:focus {
  outline: 2px solid var(--primary-green);
  outline-offset: 2px;
}

/* Featured Articles */
.featured-articles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.featured-article {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.featured-article:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-green);
}

.featured-article .article-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
  font-weight: 500;
}

.featured-article h4 {
  margin: 0 0 var(--space-sm) 0;
  font-size: 1.1rem;
  line-height: 1.3;
}

.featured-article h4 a {
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

.featured-article h4 a:hover {
  color: var(--primary-green);
}

.featured-article p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Category Cards */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.category-card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: var(--space-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.category-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-green);
}

.category-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
  display: block;
}

.category-card h4 {
  margin: 0 0 var(--space-sm) 0;
  font-size: 1.25rem;
  color: var(--text-dark);
}

.category-card h4 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.category-card h4 a:hover {
  color: var(--primary-green);
}

.category-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Print Styles */
@media print {
  .header, .footer, .breadcrumb {
    display: none;
  }
  
  .content-section {
    padding: 0;
  }
  
  .article-card {
    box-shadow: none;
    border: 1px solid #ccc;
  }
}

/* Image Placeholders */
.article-image {
  margin: var(--space-lg) 0;
  text-align: center;
}

.image-placeholder {
  background: var(--bg-secondary);
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin: var(--space-md) 0;
}

.image-placeholder p {
  color: var(--text-muted);
  font-style: italic;
  margin: 0;
}

.author-photo {
  text-align: center;
  margin: var(--space-lg) 0;
}

.author-image {
  max-width: 300px;
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.responsive-image {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
}

.responsive-image:hover {
  transform: scale(1.02);
}

/* Video Container */
.video-container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  margin: var(--space-lg) 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Featured Interview Section */
.featured-interview {
  background: var(--bg-secondary);
  padding: var(--space-2xl) 0;
  margin-top: var(--space-2xl);
}

.featured-interview h3 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
  text-align: center;
}

.featured-interview .section-subtitle {
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: var(--space-xl);
  font-size: 1.1rem;
}

.interview-preview {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  max-width: 800px;
  margin: 0 auto;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.interview-preview:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.interview-meta {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  flex-wrap: wrap;
}

.interview-category {
  background: var(--primary-green);
  color: white;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
}

.interview-date {
  color: var(--text-muted);
  font-size: 0.875rem;
  display: flex;
  align-items: center;
}

.interview-preview h4 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
  line-height: 1.4;
}

.interview-preview h4 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.interview-preview h4 a:hover {
  color: var(--primary-green);
}

.interview-preview p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
  font-size: 1rem;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--primary-green);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.read-more:hover {
  color: var(--primary-green-hover);
  transform: translateX(4px);
}

.read-more::after {
  content: "→";
  transition: transform 0.2s ease;
}

.read-more:hover::after {
  transform: translateX(4px);
}

.interview-sidenote {
  background: var(--bg-secondary);
  border-left: 3px solid var(--primary-green);
  padding: var(--space-md);
  margin: var(--space-md) 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.interview-sidenote p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.interview-sidenote a {
  color: var(--primary-green);
  text-decoration: none;
  font-weight: 600;
}

.interview-sidenote a:hover {
  text-decoration: underline;
}

.interview-actions {
  text-align: center;
  margin-top: var(--space-xl);
}

.interview-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-md);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 1rem;
}

.interview-actions .btn-outline {
  background: transparent;
  color: var(--primary-green);
  border: 2px solid var(--primary-green);
}

.interview-actions .btn-outline:hover {
  background: var(--primary-green);
  color: white;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* 404 Error Page Styles */
.error-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  margin: var(--space-lg) 0;
}

.nav-section h4 {
  color: var(--primary-green);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  border-bottom: 2px solid var(--primary-green-light);
  padding-bottom: var(--space-xs);
}

.nav-section ul {
  list-style: none;
  padding: 0;
}

.nav-section li {
  margin-bottom: var(--space-xs);
}

.nav-section a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
  display: block;
  padding: var(--space-xs) 0;
}

.nav-section a:hover {
  color: var(--primary-green);
  padding-left: var(--space-sm);
}

.error-actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border-color);
}

.error-actions .btn {
  padding: var(--space-md) var(--space-xl);
  font-size: 1.125rem;
  min-width: 180px;
}

@media (max-width: 768px) {
  .error-navigation {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .error-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .error-actions .btn {
    width: 100%;
    max-width: 300px;
  }
}

/* About Hero Section - объединенная секция */
.about-hero {
  padding: var(--space-2xl) 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23dee2e6" opacity="0.3"/><circle cx="75" cy="75" r="1" fill="%23dee2e6" opacity="0.3"/><circle cx="50" cy="10" r="0.5" fill="%23dee2e6" opacity="0.2"/><circle cx="10" cy="60" r="0.5" fill="%23dee2e6" opacity="0.2"/><circle cx="90" cy="40" r="0.5" fill="%23dee2e6" opacity="0.2"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.1;
  pointer-events: none;
}

.about-hero .container {
  position: relative;
  z-index: 1;
}

.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
  margin-bottom: var(--space-2xl);
}

.about-text h2 {
  color: var(--text-primary);
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  position: relative;
}

.about-text h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-green), var(--primary-blue));
  border-radius: 2px;
}

.about-subtitle {
  color: var(--text-secondary);
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: var(--space-lg);
}

.about-description {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: var(--space-xl);
}

.about-image {
  text-align: center;
}

.about-image img {
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.about-image img:hover {
  transform: scale(1.05);
}

.about-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
  padding: var(--space-xl);
  background: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-xl);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.about-features .feature {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
}

.about-features .feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  border-left-color: var(--primary-green);
}

.about-features .feature-icon {
  font-size: 2rem;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-green), var(--primary-blue));
  border-radius: 50%;
  color: white;
  flex-shrink: 0;
}

.about-features .feature span:last-child {
  color: var(--text-primary);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.4;
}

.about-hero .achievements {
  padding: 0;
  background: transparent;
}

.about-hero .achievements h3 {
  text-align: center;
  margin-bottom: var(--space-lg);
  color: var(--text-primary);
  font-size: 2.5rem;
  font-weight: 700;
  position: relative;
}

.about-hero .achievements h3::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-green), var(--primary-blue));
  border-radius: 2px;
}

.about-hero .achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.about-hero .achievement {
  text-align: center;
  padding: var(--space-lg);
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.about-hero .achievement:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.about-hero .achievement-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
  display: block;
}

.about-hero .achievement h4 {
  margin: 0 0 var(--space-sm) 0;
  color: var(--text-primary);
  font-size: 1.2rem;
  font-weight: 600;
}

.about-hero .achievement p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 768px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    text-align: center;
  }
  
  .about-text h2 {
    font-size: 2.5rem;
  }
  
  .about-text h2::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .about-features {
    grid-template-columns: 1fr;
    gap: var(--space-md);
    padding: var(--space-lg);
  }
  
  .about-features .feature {
    padding: var(--space-md);
  }
  
  .about-features .feature-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
  }
  
  .about-hero .achievements h3 {
    font-size: 2rem;
  }
  
  .about-hero .achievements-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}

.achievements h3 {
  text-align: center;
  margin-bottom: var(--space-lg);
  color: var(--text-primary);
  font-size: 2rem;
  font-weight: 700;
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.achievement {
  text-align: center;
  padding: var(--space-lg);
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.achievement-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-sm);
  display: block;
}

.achievement h4 {
  color: var(--text-primary);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.achievement p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .achievements-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  .achievement {
    padding: var(--space-md);
  }
}

/* Articles by Category Section */
.articles-by-category {
  padding: var(--space-2xl) 0;
  background: var(--bg-primary);
}

.articles-by-category h3 {
  text-align: center;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
  font-size: 2rem;
  font-weight: 700;
}

.articles-by-category .section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: var(--space-2xl);
  font-size: 1.1rem;
}

.category-section {
  margin-bottom: var(--space-2xl);
  padding: var(--space-lg);
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.category-header {
  display: flex;
  align-items: center;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 2px solid var(--primary-green);
}

.category-icon {
  font-size: 2rem;
  margin-right: var(--space-md);
}

.category-header h4 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
}

.category-header h4 a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.category-header h4 a:hover {
  color: var(--primary-green);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

/* Article cards specifically for homepage category sections */
.articles-by-category .article-card {
  background: var(--bg-primary);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border-left: 4px solid var(--primary-green);
}

.articles-by-category .article-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.articles-by-category .article-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: var(--space-xs);
  font-weight: 500;
}

.articles-by-category .article-card h5 {
  margin: 0 0 var(--space-sm) 0;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.4;
}

.articles-by-category .article-card h5 a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.articles-by-category .article-card h5 a:hover {
  color: var(--primary-green);
}

.articles-by-category .article-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 768px) {
  .articles-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  .category-section {
    padding: var(--space-md);
    margin-bottom: var(--space-lg);
  }
  
  .articles-by-category .article-card {
    padding: var(--space-md);
  }
  
  .category-header {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  
  .category-icon {
    margin-right: 0;
    margin-bottom: var(--space-sm);
  }
}