/*
Theme Name: PENS Media
Theme URI: https://pens.com.ua
Author: PENS Media
Author URI: https://pens.com.ua
Description: Преміальна тема для медіа про мерч і брендинг. Forbes.ua-стиль, чистий грід, великі заголовки. Українська мова.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pens-media
Tags: news, blog, custom-menu, featured-images, translation-ready
*/

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

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 17px; scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #FAFAF9;
  color: #111111;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: #0F2942; }
ul, ol { padding-left: 1.5rem; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #111111;
}
h1 { font-size: clamp(1.8rem, 4vw, 3rem); }
h2 { font-size: clamp(1.3rem, 3vw, 2rem); margin: 2rem 0 1rem; }
h3 { font-size: 1.25rem; margin: 1.5rem 0 0.75rem; }
p { margin-bottom: 1.25rem; }

/* ===== LAYOUT ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== HEADER ===== */
#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #FAFAF9;
  border-bottom: 1px solid #E8E6E1;
  transition: box-shadow 0.2s ease;
}
#site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}
.site-logo {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  text-decoration: none;
}
.site-logo .logo-main {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #0F2942;
  line-height: 1;
}
.site-logo .logo-main span { color: #111; font-weight: 400; font-size: 1rem; }
.site-logo .logo-tagline {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6B7280;
  margin-top: 2px;
}
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.main-nav ul li a {
  display: block;
  padding: 6px 12px;
  font-size: 0.82rem;
  font-weight: 500;
  color: #374151;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.main-nav ul li a:hover,
.main-nav ul li.current-menu-item a,
.main-nav ul li.current-cat a {
  background: #F0F4F8;
  color: #0F2942;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.btn-advertise {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  background: #0F2942;
  color: #fff !important;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 6px;
  transition: background 0.15s;
  white-space: nowrap;
}
.btn-advertise:hover { background: #1B3A5C; color: #fff !important; }

/* Burger */
.burger-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
  border-radius: 6px;
}
.burger-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: #111;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.burger-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger-btn.open span:nth-child(2) { opacity: 0; }
.burger-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: #FAFAF9;
  flex-direction: column;
  padding: 88px 24px 40px;
  overflow-y: auto;
}
.mobile-menu-overlay.open { display: flex; }
.mobile-menu-overlay ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mobile-menu-overlay ul li {
  border-bottom: 1px solid #E8E6E1;
}
.mobile-menu-overlay ul li a {
  display: block;
  padding: 16px 4px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #111;
  transition: color 0.15s;
}
.mobile-menu-overlay ul li a:hover { color: #0F2942; }

/* ===== BREAKING BAR ===== */
.breaking-bar {
  background: #0F2942;
  color: #fff;
  padding: 8px 0;
  font-size: 0.8rem;
  overflow: hidden;
}
.breaking-bar-inner {
  display: flex;
  align-items: center;
  gap: 16px;
}
.breaking-label {
  flex-shrink: 0;
  background: #E53E3E;
  color: #fff;
  padding: 2px 10px;
  border-radius: 3px;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.breaking-text { opacity: 0.9; }

/* ===== CATEGORY STRIP ===== */
.category-strip {
  border-bottom: 1px solid #E8E6E1;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.category-strip::-webkit-scrollbar { display: none; }
.category-strip-inner {
  display: flex;
  gap: 0;
  white-space: nowrap;
  padding: 0;
}
.category-strip a {
  display: inline-block;
  padding: 12px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6B7280;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.category-strip a:hover,
.category-strip a.active {
  color: #0F2942;
  border-bottom-color: #0F2942;
}

/* ===== HERO ===== */
.hero-section {
  padding: 48px 0 40px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
}
.hero-main-article {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}
.hero-main-article .article-image {
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
}
.hero-main-article .article-image img,
.hero-main-article .article-image .image-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-main-content {
  padding: 24px 0 0;
}
.hero-main-content .article-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 12px;
}
.hero-main-content .article-title a:hover { color: #0F2942; }
.hero-main-content .article-excerpt {
  font-size: 1rem;
  color: #4B5563;
  margin-bottom: 16px;
  line-height: 1.6;
}
.hero-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.hero-sidebar .side-article {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid #E8E6E1;
  align-items: start;
}
.hero-sidebar .side-article:first-child { border-top: 1px solid #E8E6E1; }
.hero-sidebar .side-article .article-thumb {
  width: 80px;
  aspect-ratio: 4/3;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}
.hero-sidebar .side-article .article-title {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 6px;
}
.hero-sidebar .side-article .article-title a:hover { color: #0F2942; }

/* ===== ARTICLE GRID ===== */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 12px;
  border-bottom: 2px solid #0F2942;
}
.section-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0F2942;
}
.section-link {
  font-size: 0.8rem;
  font-weight: 500;
  color: #6B7280;
}
.section-link:hover { color: #0F2942; }
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.articles-grid.two-col { grid-template-columns: repeat(2, 1fr); }
.articles-grid.four-col { grid-template-columns: repeat(4, 1fr); }

/* ===== ARTICLE CARD ===== */
.article-card {
  display: flex;
  flex-direction: column;
}
.article-card .card-image {
  aspect-ratio: 16/10;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 16px;
  position: relative;
}
.article-card .card-image img,
.article-card .card-image .image-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.article-card:hover .card-image img,
.article-card:hover .card-image .image-placeholder { transform: scale(1.03); }
.article-card .card-body {}
.category-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0F2942;
  margin-bottom: 8px;
}
.category-badge:hover { opacity: 0.8; }
.article-card .card-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-card .card-title a:hover { color: #0F2942; }
.article-card .card-excerpt {
  font-size: 0.85rem;
  color: #6B7280;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  color: #9CA3AF;
  flex-wrap: wrap;
}
.article-meta .author { font-weight: 500; color: #6B7280; }
.article-meta .dot { opacity: 0.4; }

/* Image placeholders */
.image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
}
.cat-trendy     { background: linear-gradient(135deg, #1B3A5C 0%, #2563EB 100%); }
.cat-merch      { background: linear-gradient(135deg, #064E3B 0%, #059669 100%); }
.cat-druk       { background: linear-gradient(135deg, #4C1D95 0%, #7C3AED 100%); }
.cat-podarunky  { background: linear-gradient(135deg, #7C2D12 0%, #EA580C 100%); }
.cat-promo      { background: linear-gradient(135deg, #1E3A5F 0%, #0284C7 100%); }
.cat-brendynh   { background: linear-gradient(135deg, #0F172A 0%, #334155 100%); }
.cat-keysy      { background: linear-gradient(135deg, #134E4A 0%, #0D9488 100%); }
.cat-hidy       { background: linear-gradient(135deg, #4A1942 0%, #BE185D 100%); }
.cat-novyny     { background: linear-gradient(135deg, #1F1F1F 0%, #6B7280 100%); }
.cat-dumky      { background: linear-gradient(135deg, #312E81 0%, #6366F1 100%); }

/* ===== CTA BLOCK ===== */
.cta-block {
  background: linear-gradient(135deg, #0F2942 0%, #1B3A5C 100%);
  border-radius: 12px;
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin: 48px 0;
}
.cta-block-text {}
.cta-block-text .cta-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 8px;
}
.cta-block-text h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 10px;
  line-height: 1.25;
}
.cta-block-text p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  margin: 0;
  max-width: 480px;
}
.cta-block-action { flex-shrink: 0; }
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: #fff;
  color: #0F2942 !important;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 8px;
  transition: transform 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}
.btn-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.btn-cta svg { width: 16px; height: 16px; }

/* ===== ARTICLE PAGE ===== */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 60px;
  padding: 40px 0 60px;
  align-items: start;
}
.article-main {}
.article-sidebar {}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: #9CA3AF;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.breadcrumbs a { color: #6B7280; }
.breadcrumbs a:hover { color: #0F2942; }
.breadcrumbs .sep { opacity: 0.4; }
.breadcrumbs .current { color: #6B7280; }

/* Article header */
.article-header { margin-bottom: 32px; }
.article-header .article-category-badge {
  display: inline-block;
  padding: 4px 12px;
  background: #EEF2FF;
  color: #0F2942;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 4px;
  margin-bottom: 16px;
}
.article-header h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.article-lead {
  font-size: 1.15rem;
  color: #374151;
  font-style: italic;
  line-height: 1.65;
  padding-left: 16px;
  border-left: 3px solid #0F2942;
  margin-bottom: 24px;
}
.article-meta-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid #E8E6E1;
  border-bottom: 1px solid #E8E6E1;
  margin-bottom: 32px;
  font-size: 0.82rem;
  color: #6B7280;
  flex-wrap: wrap;
}
.article-meta-bar .meta-author { font-weight: 600; color: #111; }
.article-meta-bar .meta-sep { opacity: 0.3; }

/* Article cover */
.article-cover {
  aspect-ratio: 16/9;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 36px;
}
.article-cover img,
.article-cover .image-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Article content */
.article-content {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #1F2937;
}
.article-content h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 2.5rem 0 1rem;
  color: #0F2942;
}
.article-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
  color: #111;
}
.article-content p { margin-bottom: 1.4rem; }
.article-content ul, .article-content ol {
  margin: 0 0 1.4rem 1.5rem;
}
.article-content li { margin-bottom: 0.5rem; }
.article-content strong { font-weight: 700; color: #111; }
.article-content blockquote {
  margin: 2rem 0;
  padding: 20px 24px;
  background: #F0F4F8;
  border-left: 4px solid #0F2942;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  font-size: 1.05rem;
  color: #374151;
}

/* "Читайте також" */
.related-section {
  margin: 48px 0;
  padding-top: 32px;
  border-top: 2px solid #0F2942;
}
.related-section .section-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0F2942;
  margin-bottom: 24px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Sidebar */
.sidebar-widget {
  background: #F8F8F7;
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 28px;
}
.sidebar-widget .widget-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0F2942;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #0F2942;
}
.sidebar-article {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #E8E6E1;
  align-items: start;
}
.sidebar-article:last-child { border-bottom: none; }
.sidebar-article .thumb {
  width: 64px;
  aspect-ratio: 1;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}
.sidebar-article .thumb img,
.sidebar-article .thumb .image-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sidebar-article .title {
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.3;
  color: #111;
}
.sidebar-article .title a:hover { color: #0F2942; }

/* ===== ARCHIVE PAGE ===== */
.archive-header {
  padding: 40px 0 32px;
  border-bottom: 1px solid #E8E6E1;
  margin-bottom: 40px;
}
.archive-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0F2942;
  margin-bottom: 8px;
}
.archive-title {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 800;
  color: #111;
  margin-bottom: 8px;
}
.archive-desc { font-size: 0.95rem; color: #6B7280; }

/* ===== PAGINATION ===== */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 48px 0;
}
.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid #E8E6E1;
  color: #374151;
  transition: all 0.15s;
}
.pagination a:hover { background: #0F2942; color: #fff; border-color: #0F2942; }
.pagination .current { background: #0F2942; color: #fff; border-color: #0F2942; }

/* ===== FOOTER ===== */
#site-footer {
  background: #0F1B2D;
  color: rgba(255,255,255,0.75);
  margin-top: 80px;
}
.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 60px 0 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .footer-logo {
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #fff;
  margin-bottom: 12px;
}
.footer-brand .footer-logo span { font-weight: 400; font-size: 1rem; color: rgba(255,255,255,0.5); }
.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.5);
  max-width: 280px;
}
.footer-widget-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.15s;
}
.footer-links a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a { color: rgba(255,255,255,0.4); }
.footer-bottom a:hover { color: rgba(255,255,255,0.7); }

/* ===== SECTIONS ===== */
.section { padding: 48px 0; }
.section + .section { padding-top: 0; }
.section-divider { border: none; border-top: 1px solid #E8E6E1; margin: 48px 0 0; }

/* ===== SEARCH FORM ===== */
.search-form {
  display: flex;
  gap: 8px;
  max-width: 480px;
}
.search-form input {
  flex: 1;
  padding: 10px 16px;
  border: 1px solid #E8E6E1;
  border-radius: 8px;
  font-size: 0.9rem;
  background: #fff;
  outline: none;
  transition: border-color 0.15s;
}
.search-form input:focus { border-color: #0F2942; }
.search-form button {
  padding: 10px 20px;
  background: #0F2942;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}
.search-form button:hover { background: #1B3A5C; }

/* ===== ABOUT PAGE ===== */
.page-content {
  max-width: 760px;
  margin: 48px auto;
  padding: 0 24px;
}
.page-content h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 24px;
}
.page-content .lead {
  font-size: 1.15rem;
  color: #374151;
  margin-bottom: 36px;
  line-height: 1.7;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.team-card {
  text-align: center;
}
.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 12px;
  background: linear-gradient(135deg, #0F2942, #1B3A5C);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: rgba(255,255,255,0.8);
  font-weight: 700;
}
.team-name { font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; }
.team-role { font-size: 0.8rem; color: #6B7280; }

/* ===== 404 ===== */
.error-404 {
  text-align: center;
  padding: 80px 24px;
}
.error-404 .error-code {
  font-size: 8rem;
  font-weight: 900;
  color: #E8E6E1;
  line-height: 1;
  margin-bottom: 16px;
}
.error-404 h1 { font-size: 1.8rem; margin-bottom: 16px; }
.error-404 p { color: #6B7280; margin-bottom: 32px; }
.btn-home {
  display: inline-flex;
  padding: 12px 28px;
  background: #0F2942;
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.15s;
}
.btn-home:hover { background: #1B3A5C; color: #fff; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-sidebar { display: none; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: 1fr; gap: 40px; }
  .article-sidebar { order: -1; }
}
@media (max-width: 768px) {
  html { font-size: 16px; }
  .main-nav, .btn-advertise { display: none !important; }
  .burger-btn { display: flex !important; }
  .articles-grid { grid-template-columns: 1fr; }
  .articles-grid.two-col, .articles-grid.four-col { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .cta-block { flex-direction: column; text-align: center; padding: 32px 24px; }
  .cta-block-text p { max-width: 100%; }
  .footer-main { grid-template-columns: 1fr; gap: 32px; padding: 40px 0 32px; }
  .team-grid { grid-template-columns: 1fr; }
  .container, .container-wide { padding: 0 16px; }
}
@media (max-width: 480px) {
  .hero-main-content .article-title { font-size: 1.4rem; }
}
