/* ===================================================================
   OAKAYU FURNITURE THEME - CUSTOM STYLES
   Современная минималистичная тема для мебельного сайта
   =================================================================== */

/* === Базовые настройки ============================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, 
               "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #2c2c2c;
  background: #f5f3f0;
  overflow-x: hidden;
}

/* === Шапка с гамбургер-меню ======================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Логотип */
.site-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #2c2c2c;
}

.site-logo span {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

/* Гамбургер-кнопка */
.hamburger-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 32px;
  height: 26px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  transition: transform 0.3s ease;
}

.hamburger-btn:hover {
  transform: scale(1.1);
}

.hamburger-line {
  width: 100%;
  height: 3px;
  background: #2c2c2c;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Анимация гамбургера при открытии */
.hamburger-btn.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

/* Полноэкранное меню */
.fullscreen-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: rgba(44, 44, 44, 0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.fullscreen-menu.active {
  right: 0;
}

.fullscreen-menu ul {
  list-style: none;
  text-align: center;
  padding: 0;
  margin: 0;
}

.fullscreen-menu li {
  margin: 1.5rem 0;
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.4s ease;
}

.fullscreen-menu.active li {
  opacity: 1;
  transform: translateX(0);
}

/* Задержка анимации для каждого пункта */
.fullscreen-menu.active li:nth-child(1) { transition-delay: 0.1s; }
.fullscreen-menu.active li:nth-child(2) { transition-delay: 0.2s; }
.fullscreen-menu.active li:nth-child(3) { transition-delay: 0.3s; }
.fullscreen-menu.active li:nth-child(4) { transition-delay: 0.4s; }
.fullscreen-menu.active li:nth-child(5) { transition-delay: 0.5s; }

.fullscreen-menu .nav-link {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: -1px;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
}

.fullscreen-menu .nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 3px;
  background: #e8e4df;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.fullscreen-menu .nav-link:hover {
  color: #e8e4df;
}

.fullscreen-menu .nav-link:hover::after {
  width: 100%;
}

.fullscreen-menu .current-menu-item .nav-link,
.fullscreen-menu .current_page_item .nav-link {
  color: #e8e4df;
}

/* Отступ для контента под фиксированным хедером */
body {
  padding-top: 70px;
}

/* === Hero Slider Section =========================================== */
.hero-slider-section {
  max-width: 1400px;
  margin: 3rem auto 4rem;
  padding: 0 2rem;
}

.hero-slider-container {
  position: relative;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
}

.hero-slider-title {
  font-size: 2rem;
  font-weight: 700;
  color: #2c2c2c;
  text-align: center;
  padding: 2.5rem 2rem 1rem;
  margin: 0;
  letter-spacing: -0.5px;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  pointer-events: none;
  display: flex;
  align-items: center;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slide-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-slide-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(44, 44, 44, 0.85), rgba(44, 44, 44, 0.4));
  z-index: 2;
}

.hero-slide-content {
  position: relative;
  z-index: 3;
  max-width: 550px;
  padding: 0 3rem;
  color: #fff;
}

.hero-slide-content h3 {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.hero-slide-content p {
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  color: #e8e4df;
}

.hero-slide-btn {
  display: inline-block;
  background: #8b7e74;
  color: #fff;
  padding: 0.875rem 2rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero-slide-btn:hover {
  background: #fff;
  color: #2c2c2c;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.hero-slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 2rem;
  background: #f9f8f7;
}

.slider-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 2px solid #2c2c2c;
  background: transparent;
  color: #2c2c2c;
  font-size: 1.75rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.slider-btn:hover {
  background: #2c2c2c;
  color: #fff;
  transform: scale(1.1);
}

.slider-dots {
  display: flex;
  gap: 0.75rem;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #d0d0d0;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  padding: 0;
}

.slider-dot.active {
  background: #2c2c2c;
  width: 32px;
  border-radius: 6px;
}

.slider-dot:hover {
  background: #8b7e74;
}

/* === Content Blocks ================================================ */
.content-block {
  max-width: 1400px;
  margin: 4rem auto;
  padding: 0 2rem;
}

.content-block-inner {
  background: #fff;
  border-radius: 16px;
  padding: 3.5rem 3rem;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

.content-block-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c2c2c;
  text-align: center;
  margin-bottom: 3rem;
  letter-spacing: -1px;
  line-height: 1.3;
}

/* === Who We're For Section ========================================= */
.who-for-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
}

.who-for-item {
  text-align: center;
  padding: 2rem 1.5rem;
  background: #f9f8f7;
  border-radius: 12px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.who-for-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border-color: #8b7e74;
}

.who-for-icon {
  font-size: 3.5rem;
  margin-bottom: 1.25rem;
  filter: grayscale(20%);
}

.who-for-item h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c2c2c;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.who-for-item p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #555;
  margin: 0;
}

/* === Call to Action Section ======================================== */
.cta-section {
  margin: 5rem auto;
}

.cta-inner {
  background: linear-gradient(135deg, #2c2c2c 0%, #3d3d3d 100%);
  border-radius: 16px;
  padding: 4rem 3rem;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}

.cta-inner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(139, 126, 116, 0.15) 0%, transparent 70%);
  animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

.cta-title {
  font-size: 2.75rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
  line-height: 1.2;
  position: relative;
  z-index: 2;
}

.cta-description {
  font-size: 1.25rem;
  line-height: 1.8;
  color: #e8e4df;
  margin: 0 auto 2.5rem;
  max-width: 800px;
  position: relative;
  z-index: 2;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.cta-btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
}

.cta-btn-primary {
  background: #8b7e74;
  color: #fff;
  box-shadow: 0 4px 16px rgba(139, 126, 116, 0.4);
}

.cta-btn-primary:hover {
  background: #9d8d82;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(139, 126, 116, 0.5);
}

.cta-btn-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.cta-btn-secondary:hover {
  background: #fff;
  color: #2c2c2c;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.3);
}


/* === Список постов ================================================= */
.post-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  max-width: 1400px;
  margin: 3rem auto;
  padding: 0 2rem;
}

/* === Карточка поста ================================================ */
.post-item {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.post-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

/* Картинка поста */
.post-featured-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 11;
}

.post-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.post-item:hover .post-featured-image img {
  transform: scale(1.08);
}

/* Заголовок поста */
.post-item h3 {
  font-size: 1.35rem;
  margin: 1.5rem 1.5rem 1rem;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: -0.5px;
}

.post-item h3 a {
  color: #2c2c2c;
  text-decoration: none;
  transition: color 0.3s ease;
}

.post-item h3 a:hover {
  color: #8b7e74;
}

/* Краткий текст */
.post-item p {
  margin: 0 1.5rem 1.5rem;
  color: #666;
  font-size: 1rem;
  line-height: 1.7;
  flex: 1 0 auto;
}

/* Ссылка "Read More" */
.post-item > a:last-of-type {
  align-self: flex-start;
  margin: 0 1.5rem 1.75rem;
  background: #2c2c2c;
  color: #fff;
  text-decoration: none;
  padding: 0.75rem 1.75rem;
  border-radius: 25px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.post-item > a:last-of-type:hover {
  background: #8b7e74;
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* === Пагинация ===================================================== */
.pagination-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin: 3rem auto 4rem;
  font-weight: 600;
}

.page-numbers {
  display: inline-block;
  padding: 0.75rem 1.25rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  text-decoration: none;
  color: #2c2c2c;
  transition: all 0.3s ease;
  font-weight: 600;
}

.page-numbers.current,
.page-numbers:hover {
  background: #2c2c2c;
  color: #fff;
  border-color: #2c2c2c;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.page-numbers.dots {
  border: none;
  background: transparent;
}

.page-numbers.dots:hover {
  background: transparent;
  transform: none;
  box-shadow: none;
}

.prev.page-numbers,
.next.page-numbers {
  border-color: #2c2c2c;
  background: #2c2c2c;
  color: #fff;
}

.prev.page-numbers:hover,
.next.page-numbers:hover {
  background: #8b7e74;
  border-color: #8b7e74;
}

/* === Хлебные крошки ================================================ */
.breadcrumbs {
  max-width: 1400px;
  margin: 2rem auto 0;
  padding: 0 2rem;
  font-size: 0.95rem;
  color: #888;
}

.breadcrumbs a {
  color: #2c2c2c;
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumbs a:hover {
  color: #8b7e74;
  text-decoration: underline;
}

.breadcrumbs span {
  color: #666;
}

/* === Контейнер страницы/поста ====================================== */
.page-content {
  max-width: 900px;
  margin: 3rem auto 4rem;
  padding: 3rem;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

/* Картинка в шапке страницы */
.page-content .post-featured-image {
  margin: -3rem -3rem 2rem;
  aspect-ratio: 16 / 9;
}

.page-content .post-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Заголовок страницы */
.page-content h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  line-height: 1.3;
  color: #2c2c2c;
  font-weight: 700;
  letter-spacing: -1px;
}

/* Текстовое содержимое */
.page-content .content {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #444;
}

.page-content .content p {
  margin-bottom: 1.5rem;
}

.page-content .content h2 {
  font-size: 2rem;
  margin: 2.5rem 0 1.25rem;
  color: #2c2c2c;
  font-weight: 600;
}

.page-content .content h3 {
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
  color: #2c2c2c;
  font-weight: 600;
}

.page-content .content ul,
.page-content .content ol {
  margin: 1.5rem 0 1.5rem 2rem;
}

.page-content .content li {
  margin-bottom: 0.75rem;
}

.page-content .content a {
  color: #2c2c2c;
  font-weight: 600;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-content .content a:hover {
  color: #8b7e74;
}

/* === Рекомендованные статьи ======================================== */
.recommended-articles {
  max-width: 1400px;
  margin: 4rem auto;
  padding: 0 2rem;
}

.recommended-title {
  font-size: 2rem;
  font-weight: 700;
  color: #2c2c2c;
  text-align: center;
  margin-bottom: 3rem;
  letter-spacing: -0.5px;
}

.recommended-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.recommended-item {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.recommended-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.15);
}

.recommended-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.recommended-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.recommended-item:hover .recommended-image img {
  transform: scale(1.08);
}

.recommended-item h3 {
  font-size: 1.25rem;
  margin: 1.25rem 1.25rem 0.75rem;
  line-height: 1.4;
  font-weight: 600;
}

.recommended-item h3 a {
  color: #2c2c2c;
  text-decoration: none;
  transition: color 0.3s ease;
}

.recommended-item h3 a:hover {
  color: #8b7e74;
}

.recommended-item p {
  margin: 0 1.25rem 1.25rem;
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  flex: 1 0 auto;
}

.recommended-link {
  display: inline-block;
  margin: 0 1.25rem 1.5rem;
  color: #2c2c2c;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
}

.recommended-link::after {
  content: ' →';
  transition: transform 0.3s ease;
  display: inline-block;
}

.recommended-link:hover {
  color: #8b7e74;
}

.recommended-link:hover::after {
  transform: translateX(5px);
}

/* === Страница 404 ================================================== */
.error-404 {
  text-align: center;
  padding: 4rem 2rem;
  max-width: 600px;
  margin: 0 auto;
}

.error-404 h1 {
  font-size: 8rem;
  font-weight: 700;
  color: #e8e4df;
  margin-bottom: 1rem;
  line-height: 1;
}

.error-404 h2 {
  font-size: 2rem;
  color: #2c2c2c;
  margin-bottom: 1.5rem;
}

.error-404 p {
  font-size: 1.125rem;
  color: #666;
  margin-bottom: 2.5rem;
}

.error-404 a {
  display: inline-block;
  background: #2c2c2c;
  color: #fff;
  padding: 1rem 2.5rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.error-404 a:hover {
  background: #8b7e74;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* === Подвал сайта ================================================== */
footer {
  background: #1c1c1c;
  color: #d3d3d3;
  padding: 3rem 2rem 2rem;
  border-top: 4px solid #8b7e74;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}

/* Меню в подвале */
.footer-menu {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
}

.footer-menu a {
  font-size: 1rem;
  color: #d3d3d3;
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
}

.footer-menu a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Копирайт */
.footer-copyright {
  font-size: 0.95rem;
  color: #999;
  margin-top: 2rem;
}

.footer-copyright a {
  color: #8b7e74;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-copyright a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* === Адаптивность ================================================== */

/* Планшеты */
@media (max-width: 1024px) {
  .post-list {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
  }
}

/* Мобильные устройства */
@media (max-width: 768px) {
  .site-header {
    padding: 1rem 1.5rem;
  }
  
  .site-logo span {
    font-size: 1.25rem;
  }
  
  .fullscreen-menu .nav-link {
    font-size: 1.75rem;
  }
  
  .hero-slider-section {
    margin: 2rem auto 3rem;
    padding: 0 1.5rem;
  }
  
  .hero-slider-title {
    font-size: 1.75rem;
    padding: 2rem 1.5rem 1rem;
  }
  
  .hero-slider {
    height: 400px;
  }
  
  .hero-slide-content {
    padding: 0 2rem;
  }
  
  .hero-slide-content h3 {
    font-size: 1.75rem;
  }
  
  .hero-slide-content p {
    font-size: 1rem;
  }
  
  .content-block {
    margin: 3rem auto;
    padding: 0 1.5rem;
  }
  
  .content-block-inner {
    padding: 2.5rem 2rem;
  }
  
  .content-block-title {
    font-size: 1.85rem;
    margin-bottom: 2rem;
  }
  
  .who-for-grid {
    gap: 2rem;
  }
  
  .cta-inner {
    padding: 3rem 2rem;
  }
  
  .cta-title {
    font-size: 2rem;
  }
  
  .cta-description {
    font-size: 1.1rem;
  }
  
  .cta-buttons {
    gap: 1rem;
  }
  
  .post-list {
    padding: 0 1.5rem;
    gap: 1.75rem;
  }
  
  .page-content {
    padding: 2rem 1.5rem;
    margin: 2rem 1rem 3rem;
  }
  
  .page-content .post-featured-image {
    margin: -2rem -1.5rem 1.5rem;
  }
  
  .page-content h1 {
    font-size: 1.85rem;
  }
  
  .breadcrumbs {
    font-size: 0.85rem;
    padding: 0 1.5rem;
  }
  
  .footer-menu {
    gap: 1.25rem;
  }
  
  .recommended-articles {
    padding: 0 1.5rem;
  }
  
  .recommended-title {
    font-size: 1.75rem;
  }
  
  .recommended-grid {
    gap: 1.5rem;
  }
}

/* Очень маленькие экраны */
@media (max-width: 480px) {
  body {
    padding-top: 60px;
  }
  
  .site-header {
    padding: 0.75rem 1rem;
  }
  
  .site-logo span {
    font-size: 1.125rem;
  }
  
  .hamburger-btn {
    width: 28px;
    height: 22px;
  }
  
  .fullscreen-menu .nav-link {
    font-size: 1.5rem;
  }
  
  .hero-slider-section {
    margin: 1.5rem auto 2.5rem;
    padding: 0 1rem;
  }
  
  .hero-slider-title {
    font-size: 1.5rem;
    padding: 1.5rem 1rem 0.75rem;
  }
  
  .hero-slider {
    height: 350px;
  }
  
  .hero-slide-content {
    padding: 0 1.5rem;
  }
  
  .hero-slide-content h3 {
    font-size: 1.5rem;
  }
  
  .hero-slide-content p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }
  
  .hero-slide-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
  }
  
  .hero-slider-controls {
    padding: 1.5rem;
    gap: 1rem;
  }
  
  .slider-btn {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
  
  .content-block {
    margin: 2.5rem auto;
    padding: 0 1rem;
  }
  
  .content-block-inner {
    padding: 2rem 1.5rem;
  }
  
  .content-block-title {
    font-size: 1.5rem;
    margin-bottom: 1.75rem;
  }
  
  .who-for-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .who-for-item {
    padding: 1.75rem 1.25rem;
  }
  
  .who-for-icon {
    font-size: 3rem;
  }
  
  .who-for-item h3 {
    font-size: 1.35rem;
  }
  
  .who-for-item p {
    font-size: 1rem;
  }
  
  .cta-section {
    margin: 4rem auto;
  }
  
  .cta-inner {
    padding: 2.5rem 1.5rem;
  }
  
  .cta-title {
    font-size: 1.65rem;
    margin-bottom: 1.25rem;
  }
  
  .cta-description {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    gap: 1rem;
  }
  
  .cta-btn {
    width: 100%;
    text-align: center;
  }
  
  .post-list {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }
  
  .page-content {
    padding: 1.5rem 1rem;
  }
  
  .page-content .post-featured-image {
    margin: -1.5rem -1rem 1rem;
  }
  
  .page-content h1 {
    font-size: 1.5rem;
  }
  
  .page-content .content {
    font-size: 1rem;
  }
  
  .error-404 h1 {
    font-size: 5rem;
  }
  
  .error-404 h2 {
    font-size: 1.5rem;
  }
  
  footer {
    padding: 2rem 1rem 1.5rem;
  }
  
  .footer-menu {
    flex-direction: column;
    gap: 1rem;
  }
  
  .recommended-articles {
    padding: 0 1rem;
    margin: 3rem auto;
  }
  
  .recommended-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .recommended-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

/* Блокировка скролла при открытом меню */
body.menu-open {
  overflow: hidden;
}

