
/* ===== HEADER & NAVIGATION STYLES ===== */

/* Header Container */
.pk-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.95) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
  transition: all 0.3s ease;
}

.pk-header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
}

/* Logo Section */
.pk-logo-section {
  display: flex;
  align-items: center;
  gap: 15px;
}

.pk-logo img {
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.pk-logo img:hover {
  transform: scale(1.05);
}

.pk-logo-link {
  display: inline-block;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.pk-logo-link:hover {
  transform: scale(1.05);
}

.pk-brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pk-site-title {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-weight: 700 !important;
  font-size: 1.5rem !important;
  color: #1a1a1a !important;
  margin: 0 !important;
  line-height: 1.2 !important;
}

.pk-site-tagline {
  font-size: 0.85rem !important;
  color: #666 !important;
  margin: 0 !important;
  line-height: 1.2 !important;
}

/* Desktop Navigation */
.pk-navigation-desktop {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pk-desktop-nav {
  display: flex;
  gap: 15px;
  align-items: center;
}

.pk-nav-link {
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  text-align: center;
}

.pk-nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.pk-nav-link:hover::before {
  left: 100%;
}

.pk-nav-primary {
  background: linear-gradient(135deg, #4CAF50 0%, #45a049 50%, #3d8b40 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.pk-nav-primary:hover {
  background: linear-gradient(135deg, #45a049 0%, #3d8b40 50%, #2e7d32 100%);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
  color: white;
  text-decoration: none;
}

.pk-nav-secondary {
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid #4CAF50;
  color: #4CAF50;
  box-shadow: 0 2px 10px rgba(76, 175, 80, 0.1);
  backdrop-filter: blur(10px);
}

.pk-nav-secondary:hover {
  background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
  color: white;
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 6px 20px rgba(76, 175, 80, 0.3);
  text-decoration: none;
  border-color: #45a049;
}

/* Активные состояния */
.pk-nav-link:active {
  transform: translateY(1px) scale(0.98);
}

.pk-nav-link:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.3);
}

/* Анимация загрузки */
.pk-nav-link.loading {
  pointer-events: none;
  opacity: 0.7;
}

.pk-nav-link.loading::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Mobile Menu Toggle - Hidden by default */
.pk-mobile-menu-toggle,
.wp-block-group.pk-mobile-menu-toggle,
.pk-header .pk-mobile-menu-toggle,
.pk-header .wp-block-group.pk-mobile-menu-toggle {
  display: none !important;
  visibility: hidden !important;
}

.pk-mobile-menu-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: all 0.3s ease;
}

.pk-mobile-menu-btn:hover {
  transform: scale(1.05);
}

.pk-hamburger-line {
  width: 24px;
  height: 2px;
  background: #333;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ===== BLOG SHORTCODE LAYOUT ===== */
.pk-blog {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--wp--preset--spacing--50, 24px);
}

.pk-blog__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 в ряд на мобилке */
  gap: 16px;
}

@media (min-width: 600px){
  .pk-blog__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px){
  .pk-blog__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1200px){
  .pk-blog__grid { grid-template-columns: repeat(4, 1fr); }
}

/* Full-bleed layout on desktop (centered, no horizontal scroll) */
@media (min-width: 900px){
  .pk-blog {
    position: relative;
    width: 100vw;
    max-width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    margin: 0; /* avoid extra shift from parent paddings */
    box-sizing: border-box; /* include padding in width to prevent overflow */
  }
}

.pk-blog__card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s ease, transform .2s ease;
}

.pk-blog__card:hover {
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.12);
  transform: translateY(-2px);
}

.pk-blog__image {
  width: 100%;
  height: 200px; /* жесткое ограничение высоты */
  max-height: 200px;
  object-fit: cover;
  display: block;
  background: #f3f4f6;
}

.pk-blog__image--placeholder {
  width: 100%;
  height: 200px; /* совпадает с изображением */
  max-height: 200px;
  background: linear-gradient(135deg, #f3f4f6, #eef2f7);
}

.pk-blog__content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pk-blog__title {
  font-size: 1.05rem;
  line-height: 1.35;
  margin: 0;
}
.pk-blog__title a {
  text-decoration: none;
  color: var(--wp--preset--color--contrast, #0f172a);
}
.pk-blog__title a:hover {
  color: var(--wp--preset--color--primary, #0284c7);
}

.pk-blog__excerpt {
  margin: 0;
  color: var(--wp--preset--color--contrast-2, #475569);
  font-size: 0.95rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pk-blog__readmore {
  align-self: flex-start;
  margin-top: 4px;
  font-weight: 600;
  color: #0284c7;
  text-decoration: none;
}
.pk-blog__readmore:hover {
  text-decoration: underline;
}

/* Mobile typography tuning */
@media (max-width: 600px){
  .pk-blog__content { padding: 8px; }
  .pk-blog__title { font-size: 0.7rem; line-height: 1.25; }
  .pk-blog__excerpt { font-size: 0.6rem; -webkit-line-clamp: 2; }
  .pk-blog__readmore { font-size: 0.6rem; }
}

.pk-mobile-menu-btn.active .pk-hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.pk-mobile-menu-btn.active .pk-hamburger-line:nth-child(2) {
  opacity: 0;
}

.pk-mobile-menu-btn.active .pk-hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu */
.pk-mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  z-index: 999;
}

.pk-mobile-menu.active {
  display: block;
  animation: slideDown 0.3s ease;
}

.pk-mobile-nav-content {
  padding: 20px 0;
}

/* Mobile Navigation Buttons */
.pk-mobile-nav-buttons {
  width: 100%;
}

.pk-mobile-nav-button {
  width: 100%;
  margin: 0;
}

.pk-mobile-nav-button .wp-block-button__link {
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  border-radius: 8px !important;
  padding: 15px 30px !important;
  width: 100%;
  display: block;
  text-align: center;
}

/* Mobile Primary Button (Тесты) */
.pk-mobile-nav-button.is-style-fill .wp-block-button__link {
  background: linear-gradient(135deg, #4CAF50, #45a049) !important;
  color: white !important;
  border: none !important;
  box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

.pk-mobile-nav-button.is-style-fill .wp-block-button__link:hover {
  background: linear-gradient(135deg, #45a049, #3d8b40) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
}

/* Mobile Secondary Buttons (Темы, Статьи) */
.pk-mobile-nav-button.is-style-outline .wp-block-button__link {
  background: transparent !important;
  color: #333 !important;
  border: 1px solid #4CAF50 !important;
  box-shadow: none;
}

.pk-mobile-nav-button.is-style-outline .wp-block-button__link:hover {
  background: #4CAF50 !important;
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.pk-mobile-nav-content {
  padding: 20px 0;
}

/* Mobile Navigation Buttons */
.pk-mobile-nav-buttons {
  width: 100%;
}

.pk-mobile-nav-button {
  width: 100%;
  margin: 0;
}

.pk-mobile-nav-button .wp-block-button__link {
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  border-radius: 8px !important;
  padding: 15px 30px !important;
  width: 100%;
  display: block;
  text-align: center;
}

/* Mobile Primary Button (Тесты) */
.pk-mobile-nav-button.is-style-fill .wp-block-button__link {
  background: linear-gradient(135deg, #4CAF50, #45a049) !important;
  color: white !important;
  border: none !important;
  box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

.pk-mobile-nav-button.is-style-fill .wp-block-button__link:hover {
  background: linear-gradient(135deg, #45a049, #3d8b40) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
}

/* Mobile Secondary Button (Темы) */
.pk-mobile-nav-button.is-style-outline .wp-block-button__link {
  background: transparent !important;
  color: #333 !important;
  border: 1px solid #4CAF50 !important;
  box-shadow: none;
}

.pk-mobile-nav-button.is-style-outline .wp-block-button__link:hover {
  background: #4CAF50 !important;
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

/* Animations */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .pk-navigation-desktop {
    gap: 12px;
  }
  
  .pk-nav-button .wp-block-button__link {
    padding: 10px 20px !important;
    font-size: 0.85rem !important;
  }
  
}

@media (max-width: 768px) {
  .pk-header-content {
    min-height: 60px;
  }
  
  .pk-navigation-desktop {
    display: none;
  }
  
  .pk-mobile-menu-toggle,
  .wp-block-group.pk-mobile-menu-toggle,
  .pk-header .pk-mobile-menu-toggle,
  .pk-header .wp-block-group.pk-mobile-menu-toggle {
    display: flex !important;
    visibility: visible !important;
  }
  
  /* Override inline styles on mobile */
  .pk-mobile-menu-toggle[style*="display:none"] {
    display: flex !important;
    visibility: visible !important;
  }
  
  .pk-logo-section {
    gap: 12px;
  }
  
  
  .pk-logo img {
    width: 40px;
    height: 40px;
  }
  
  /* Скрываем название и описание на мобилке */
  .pk-brand {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .pk-header {
    padding: 15px 20px !important;
  }
  
  .pk-header-content {
    min-height: 50px;
  }
  
  .pk-logo-section {
    gap: 10px;
  }
  
  
  .pk-logo img {
    width: 35px;
    height: 35px;
  }
  
  .pk-mobile-nav-content {
    padding: 15px 0;
  }
  
  .pk-mobile-nav .wp-block-navigation-item a {
    font-size: 1rem;
    padding: 10px 0;
  }
}

/* Trust Blocks - Enhanced Design */
.trust-stat {
  position: relative;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* New Statistics Cards Design */
.stat-card {
  position: relative;
  transition: all 0.3s ease;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: #f8f9fa;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-color: #4CAF50;
}

.stat-card h3 {
  color: #2c3e50;
  font-weight: 700;
  font-size: 3rem;
  line-height: 1;
  margin: 0 0 var(--psy-spacing-sm) 0;
  text-align: center;
}

.stat-card p {
  color: #666;
  font-weight: 500;
  font-size: 0.85rem;
  margin: 0;
  text-align: left;
  width: 100%;
}

/* Results Cards Design */
.result-card {
  position: relative;
  transition: all 0.3s ease;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.result-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  border-color: #4CAF50;
}

.result-card h3 {
  color: #2c3e50;
  font-weight: 700;
  font-size: 3.5rem;
  line-height: 1;
  margin: 0 0 var(--psy-spacing-md) 0;
  text-align: center;
}

.result-card h4 {
  color: #666;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 var(--psy-spacing-sm) 0;
  text-align: center;
}

.result-card p {
  color: #666;
  font-weight: 400;
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
  text-align: center;
  max-width: 280px;
}

/* Центральная карточка выше остальных */
.wp-block-column:nth-child(2) .result-card {
  transform: translateY(-10px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
}

.wp-block-column:nth-child(2) .result-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.18);
}

/* Средняя карточка статистики выше остальных */
.stat-card-tall {
  transform: translateY(-20px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.stat-card-tall:hover {
  transform: translateY(-25px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

/* Средняя карточка результатов выше остальных */
.result-card-tall {
  transform: translateY(-200px) !important;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4) !important;
  border: 3px solid #4CAF50 !important;
  z-index: 10;
}

.result-card-tall:hover {
  transform: translateY(-220px) !important;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.5) !important;
  border-color: #45a049 !important;
}

/* Улучшенный дизайн для карточек результатов */
.result-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border: 1px solid #e0e0e0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.result-card:hover {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-color: #4CAF50;
}

.result-card h3 {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.result-card h4 {
  color: #4CAF50;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.result-card p {
  color: #666;
  font-weight: 500;
  line-height: 1.6;
}

/* Стили для заголовка "Наши результаты" */
.wp-block-heading.has-primary-color.has-text-color {
  background: linear-gradient(135deg, #2196F3 0%, #1976D2 50%, #1565C0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 20;
  margin-bottom: 80px !important;
}

.wp-block-heading.has-primary-color.has-text-color::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #2196F3, #1976D2);
  border-radius: 2px;
}

/* Адаптивность для заголовка */
@media (max-width: 768px) {
  .wp-block-heading.has-primary-color.has-text-color {
    margin-bottom: 60px !important;
  }
}

@media (max-width: 480px) {
  .wp-block-heading.has-primary-color.has-text-color {
    margin-bottom: 40px !important;
  }
}

/* Стили для карточек "Помогаем при" */
.help-card {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.help-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-color: #2196F3;
}

.help-card h3 {
  margin: 0 0 1rem 0;
  font-size: 1.5rem;
  font-weight: 600;
  color: #333;
}

.help-card p {
  margin: 0 0 1.5rem 0;
  font-size: 1rem;
  line-height: 1.6;
  color: #666;
  flex-grow: 1;
}

.help-icon {
  font-size: 3rem;
  margin-top: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Адаптивность для карточек "Помогаем при" */
@media (max-width: 768px) {
  .help-card {
    padding: 1.5rem;
  }
  
  .help-card h3 {
    font-size: 1.3rem;
  }
  
  .help-card p {
    font-size: 0.9rem;
  }
  
  .help-icon {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .help-card {
    padding: 1.25rem;
  }
  
  .help-card h3 {
    font-size: 1.2rem;
  }
  
  .help-card p {
    font-size: 0.85rem;
  }
  
  .help-icon {
    font-size: 2rem;
  }
}

/* Стили для карточек "Помогаем при" с кастомными иконками */
.help-card-custom {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.help-card-custom:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-color: #2196F3;
}

.help-card-custom h3 {
  margin: 0 0 1rem 0;
  font-size: 1.5rem;
  font-weight: 600;
  color: #333;
}

.help-card-custom p {
  margin: 0 0 1.5rem 0;
  font-size: 1rem;
  line-height: 1.6;
  color: #666;
  flex-grow: 1;
}

.help-icon-custom {
  margin-top: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.help-icon-custom svg {
  max-width: 60px;
  height: auto;
  transition: transform 0.3s ease;
}

.help-card-custom:hover .help-icon-custom svg {
  transform: scale(1.1);
}

/* Адаптивность для карточек "Помогаем при" с кастомными иконками */
@media (max-width: 768px) {
  .help-card-custom {
    padding: 1.5rem;
  }
  
  .help-card-custom h3 {
    font-size: 1.3rem;
  }
  
  .help-card-custom p {
    font-size: 0.9rem;
  }
  
  .help-icon-custom svg {
    max-width: 50px;
  }
}

@media (max-width: 480px) {
  .help-card-custom {
    padding: 1.25rem;
  }
  
  .help-card-custom h3 {
    font-size: 1.2rem;
  }
  
  .help-card-custom p {
    font-size: 0.85rem;
  }
  
  .help-icon-custom svg {
    max-width: 40px;
  }
}

/* Стили для шорткода "С чем поможет психолог?" */
.pk-psychologist-help {
  padding: 4rem 0;
  background: #ffffff;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
}

.pk-psychologist-help__container {
  max-width: 100%;
  margin: 0;
  padding: 0 1rem;
}

.pk-psychologist-help__title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.2;
  color: #333;
  margin-bottom: 3rem;
}

.pk-psychologist-help__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.pk-psychologist-help__card {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.pk-psychologist-help__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-color: #2196F3;
}

.pk-psychologist-help__icon {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pk-psychologist-help__icon img {
  max-width: 120px;
  height: auto;
  transition: transform 0.3s ease;
  border-radius: 8px;
  object-fit: cover;
}

.pk-psychologist-help__card:hover .pk-psychologist-help__icon img {
  transform: scale(1.1);
}

.pk-psychologist-help__text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 500;
  color: #333;
}

/* Адаптивность для шорткода */
@media (max-width: 768px) {
  .pk-psychologist-help {
    padding: 3rem 0;
  }
  
  .pk-psychologist-help__container {
    padding: 0 0.5rem;
  }
  
  .pk-psychologist-help__title {
    font-size: 2rem;
    margin-bottom: 2rem;
  }
  
  .pk-psychologist-help__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }
  
  .pk-psychologist-help__card {
    padding: 1.2rem;
  }
  
  .pk-psychologist-help__icon img {
    max-width: 80px;
  }
  
  .pk-psychologist-help__text {
    font-size: 0.85rem;
    line-height: 1.4;
  }
}

@media (max-width: 480px) {
  .pk-psychologist-help {
    padding: 2rem 0;
  }
  
  .pk-psychologist-help__container {
    padding: 0 0.5rem;
  }
  
  .pk-psychologist-help__title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
  }
  
  .pk-psychologist-help__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .pk-psychologist-help__card {
    padding: 1rem;
  }
  
  .pk-psychologist-help__icon img {
    max-width: 60px;
  }
  
  .pk-psychologist-help__text {
    font-size: 0.8rem;
    line-height: 1.3;
  }
}

/* Стили для главного блока (hero section) */
.pk-hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.pk-hero-section__container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.pk-hero-section__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  min-height: 80vh;
}

.pk-hero-section__left {
  z-index: 2;
}

.pk-hero-section__logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.pk-hero-section__logo-icon {
  font-size: 2.5rem;
  background: linear-gradient(135deg, #4CAF50, #45a049);
  border-radius: 12px;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pk-hero-section__logo-text {
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffff;
}

.pk-hero-section__title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.pk-hero-section__title-icon {
  font-size: 2rem;
  animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.1); }
}

.pk-hero-section__subtitle {
  font-size: 1.3rem;
  color: #cccccc;
  margin-bottom: 3rem;
  line-height: 1.5;
}

.pk-hero-section__cta {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  align-items: center;
}

.pk-hero-section__email-input {
  flex: 1;
}

.pk-hero-section__email-field {
  width: 100%;
  padding: 1rem 1.5rem;
  background: #333333;
  border: 2px solid #444444;
  border-radius: 12px;
  color: #ffffff;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.pk-hero-section__email-field:focus {
  outline: none;
  border-color: #4CAF50;
  background: #2a2a2a;
}

.pk-hero-section__email-field::placeholder {
  color: #888888;
}

.pk-hero-section__cta-button {
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #1a1a1a;
  border: none;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.pk-hero-section__cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
}

.pk-hero-section__cta-arrow {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.pk-hero-section__cta-button:hover .pk-hero-section__cta-arrow {
  transform: translateX(3px);
}

.pk-hero-section__social-proof {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.pk-hero-section__avatars {
  display: flex;
  gap: -0.5rem;
}

.pk-hero-section__avatar {
  width: 40px;
  height: 40px;
  background: #4CAF50;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  border: 3px solid #1a1a1a;
  margin-left: -8px;
}

.pk-hero-section__avatar:first-child {
  margin-left: 0;
}

.pk-hero-section__proof-text {
  font-size: 0.9rem;
  color: #cccccc;
  margin: 0;
}

.pk-hero-section__right {
  position: relative;
  z-index: 1;
}

.pk-hero-section__icons {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-bottom: 2rem;
}

.pk-hero-section__icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.pk-hero-section__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.pk-hero-section__card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
}

.pk-hero-section__card--history {
  grid-column: 1;
  grid-row: 1;
}

.pk-hero-section__card--founder {
  grid-column: 2;
  grid-row: 2;
}

.pk-hero-section__card-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.pk-hero-section__card-number {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #4CAF50;
  color: #ffffff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 600;
}

.pk-hero-section__card-avatar {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.pk-hero-section__card-text {
  font-size: 0.9rem;
  color: #ffffff;
  margin: 0;
  font-weight: 500;
}

.pk-hero-section__description {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.pk-hero-section__description p {
  font-size: 0.9rem;
  color: #cccccc;
  line-height: 1.6;
  margin: 0;
}

/* Адаптивность для главного блока */
@media (max-width: 1024px) {
  .pk-hero-section__content {
    gap: 2rem;
  }
  
  .pk-hero-section__title {
    font-size: 3rem;
  }
  
  .pk-hero-section__subtitle {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .pk-hero-section__content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .pk-hero-section__title {
    font-size: 2.5rem;
    justify-content: center;
  }
  
  .pk-hero-section__subtitle {
    font-size: 1.1rem;
  }
  
  .pk-hero-section__cta {
    flex-direction: column;
    align-items: stretch;
  }
  
  .pk-hero-section__cta-button {
    justify-content: center;
  }
  
  .pk-hero-section__icons {
    justify-content: center;
  }
  
  .pk-hero-section__cards {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .pk-hero-section__card--founder {
    grid-column: 1;
    grid-row: 2;
  }
}

@media (max-width: 480px) {
  .pk-hero-section__container {
    padding: 0 1rem;
  }
  
  .pk-hero-section__title {
    font-size: 2rem;
  }
  
  .pk-hero-section__subtitle {
    font-size: 1rem;
  }
  
  .pk-hero-section__logo {
    justify-content: center;
  }
  
  .pk-hero-section__social-proof {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* Стили для подвала (footer section) */
.pk-footer-section {
  background: #ffffff;
  color: #333333;
  padding: 2rem 0 1rem;
  border-top: 1px solid #e0e0e0;
}

.pk-footer-section__container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.pk-footer-section__content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.pk-footer-section__main {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  align-items: start;
}

.pk-footer-section__brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pk-footer-section__logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}


.pk-footer-section__logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: #333333;
}

.pk-footer-section__description {
  font-size: 1rem;
  color: #666666;
  line-height: 1.6;
  margin: 0;
}

.pk-footer-section__stats {
  display: flex;
  gap: 2rem;
  margin-top: 1rem;
}

.pk-footer-section__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.pk-footer-section__stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: #4CAF50;
  display: block;
}

.pk-footer-section__stat-label {
  font-size: 0.8rem;
  color: #666666;
  margin-top: 0.25rem;
}

.pk-footer-section__links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.pk-footer-section__column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pk-footer-section__column-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333333;
  margin: 0 0 0.5rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #4CAF50;
}

.pk-footer-section__link-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pk-footer-section__link {
  color: #666666;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  padding: 0.25rem 0;
  border-radius: 4px;
}

.pk-footer-section__link:hover {
  color: #4CAF50;
  transform: translateX(4px);
}

.pk-footer-section__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid #e0e0e0;
  flex-wrap: wrap;
  gap: 2rem;
}

.pk-footer-section__legal {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pk-footer-section__copyright {
  font-size: 0.9rem;
  color: #666666;
  margin: 0;
}

.pk-footer-section__legal-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.pk-footer-section__legal-link {
  color: #666666;
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.3s ease;
}

.pk-footer-section__legal-link:hover {
  color: #4CAF50;
}

.pk-footer-section__contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-end;
}

.pk-footer-section__contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pk-footer-section__contact-icon {
  font-size: 1rem;
}

.pk-footer-section__contact-link {
  color: #666666;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.pk-footer-section__contact-link:hover {
  color: #4CAF50;
}

/* Адаптивность для подвала */
@media (max-width: 1024px) {
  .pk-footer-section__main {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .pk-footer-section__links {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .pk-footer-section__stats {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .pk-footer-section {
    padding: 1.5rem 0 1rem;
  }
  
  .pk-footer-section__container {
    padding: 0 1rem;
  }
  
  .pk-footer-section__links {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .pk-footer-section__stats {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  
  .pk-footer-section__bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
  }
  
  .pk-footer-section__contact {
    align-items: center;
  }
  
  .pk-footer-section__legal-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .pk-footer-section {
    padding: 1rem 0 0.5rem;
  }
  
  .pk-footer-section__main {
    gap: 1.5rem;
  }
  
  .pk-footer-section__brand {
    text-align: center;
  }
  
  .pk-footer-section__logo {
    justify-content: center;
  }
  
  .pk-footer-section__legal-links {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* Адаптивность для карточек результатов */
@media (max-width: 768px) {
  .result-card h3 {
    font-size: 2.8rem;
  }
  
  .result-card h4 {
    font-size: 1rem;
  }
  
  .result-card p {
    font-size: 0.85rem;
  }
  
  .result-card-tall {
    transform: translateY(-25px) !important;
  }
  
  .result-card-tall:hover {
    transform: translateY(-30px) !important;
  }
}

@media (max-width: 480px) {
  .result-card h3 {
    font-size: 2.2rem;
  }
  
  .result-card h4 {
    font-size: 0.9rem;
  }
  
  .result-card p {
    font-size: 0.8rem;
  }
  
  .result-card-tall {
    transform: translateY(-10px) !important;
  }
  
  .result-card-tall:hover {
    transform: translateY(-15px) !important;
  }
}

.trust-stat:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-color: var(--psy-primary, #4CAF50);
}

.trust-stat::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(76, 175, 80, 0.1), transparent);
  transition: left 0.5s ease;
}

.trust-stat:hover::before {
  left: 100%;
}

.trust-icon {
  font-size: 3rem;
  text-align: center;
  margin: var(--psy-spacing-md) 0;
  display: block;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Enhanced typography for trust stats */
.trust-stat h3 {
  background: linear-gradient(135deg, var(--psy-primary, #4CAF50), var(--psy-primary-dark, #388E3C));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  margin-bottom: var(--psy-spacing-sm);
}

.trust-stat p {
  color: var(--psy-gray-600, #666);
  font-weight: 500;
  line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .trust-stat {
    margin-bottom: var(--psy-spacing-lg);
  }
  
  .trust-icon {
    font-size: 2.5rem;
    margin: var(--psy-spacing-sm) 0;
  }
  
  .trust-stat h3 {
    font-size: 1.3rem;
  }
  
  .trust-stat p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .trust-icon {
    font-size: 2rem;
  }
  
  .trust-stat h3 {
    font-size: 1.2rem;
  }
  
  .trust-stat p {
    font-size: 0.85rem;
  }
}

/* Special effects for different icons */
.trust-stat:nth-child(1) .trust-icon {
  animation-delay: 0s;
}

.trust-stat:nth-child(2) .trust-icon {
  animation-delay: 0.5s;
}

.trust-stat:nth-child(3) .trust-icon {
  animation-delay: 1s;
}

.trust-stat:nth-child(4) .trust-icon {
  animation-delay: 1.5s;
}

.trust-stat:nth-child(5) .trust-icon {
  animation-delay: 2s;
}

.trust-stat:nth-child(6) .trust-icon {
  animation-delay: 2.5s;
}

/* Pulse effect for numbers */
.trust-stat h3 {
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Gradient background for the section */
.wp-block-group.alignfull.has-base-background-color {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
}

.wp-block-group.alignfull.has-base-background-color::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="%23ffffff" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23ffffff" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="%23ffffff" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  pointer-events: none;
}

/* Enhanced card shadows */
.trust-stat {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.trust-stat:hover {
  box-shadow: 0 15px 40px rgba(76, 175, 80, 0.2);
}

/* Equal height columns */
.wp-block-columns.alignwide {
  display: flex;
  align-items: stretch;
}

.wp-block-column {
  display: flex;
  flex-direction: column;
}

.wp-block-group.card.trust-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Help Cards Styles - New Design */
.help-card {
  position: relative;
  transition: all 0.3s ease;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.help-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-color: #4CAF50;
}

.help-icon {
  font-size: 2.5rem;
  text-align: center;
  margin: var(--psy-spacing-md) 0;
  display: block;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.help-card:hover .help-icon {
  opacity: 1;
}

/* Enhanced typography for help cards */
.help-card h3 {
  color: #2c3e50;
  font-weight: 600;
  margin-bottom: var(--psy-spacing-sm);
  font-size: 1.3rem;
}

.help-card p {
  color: #666;
  font-weight: 400;
  line-height: 1.5;
  font-size: 0.95rem;
}

/* Light section background */
.wp-block-group.alignfull.has-contrast-background-color {
  background: #f8f9fa;
  position: relative;
}

.wp-block-group.alignfull.has-contrast-background-color::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="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="%23e0e0e0" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  pointer-events: none;
  opacity: 0.3;
}

/* Dark text for light section */
.wp-block-group.alignfull.has-contrast-background-color h2 {
  color: #2c3e50 !important;
  font-weight: 700;
}

/* Responsive adjustments for help cards */
@media (max-width: 768px) {
  .help-card {
    margin-bottom: var(--psy-spacing-lg);
  }
  
  .help-icon {
    font-size: 2rem;
    margin: var(--psy-spacing-sm) 0;
  }
  
  .help-card h3 {
    font-size: 1.2rem;
  }
  
  .help-card p {
    font-size: 0.9rem;
  }
  
  /* Statistics cards responsive */
  .stat-card h3 {
    font-size: 2.5rem;
  }
  
  .stat-card p {
    font-size: 0.8rem;
  }
  
  /* Results cards responsive */
  .result-card h3 {
    font-size: 3rem;
  }
  
  .result-card h4 {
    font-size: 1rem;
  }
  
  .result-card p {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .help-icon {
    font-size: 1.8rem;
  }
  
  .help-card h3 {
    font-size: 1.1rem;
  }
  
  .help-card p {
    font-size: 0.85rem;
  }
  
  /* Statistics cards responsive */
  .stat-card h3 {
    font-size: 2rem;
  }
  
  .stat-card p {
    font-size: 0.75rem;
  }
  
  /* Results cards responsive */
  .result-card h3 {
    font-size: 2.5rem;
  }
  
  .result-card h4 {
    font-size: 0.9rem;
  }
  
  .result-card p {
    font-size: 0.8rem;
  }
}

/* Override mobile navigation buttons for better display */
@media (max-width: 768px) {
  .pk-mobile-nav-content .pk-mobile-nav-buttons,
  .wp-block-group.pk-mobile-nav-buttons {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    max-width: 300px !important;
    margin: 0 auto !important;
    width: 100% !important;
  }
  
  .pk-mobile-nav-content .pk-mobile-nav-button,
  .wp-block-group.pk-mobile-nav-buttons .pk-mobile-nav-button {
    width: 100% !important;
    margin: 0 !important;
  }
  
  .pk-mobile-nav-content .pk-mobile-nav-button .wp-block-button__link,
  .wp-block-group.pk-mobile-nav-buttons .pk-mobile-nav-button .wp-block-button__link {
    width: 100% !important;
    display: block !important;
    text-align: center !important;
    padding: 8px 12px !important;
    font-size: 0.75rem !important;
    white-space: nowrap !important;
  }
  
  /* Third button spans full width */
  .pk-mobile-nav-content .pk-mobile-nav-button:nth-child(3),
  .wp-block-group.pk-mobile-nav-buttons .pk-mobile-nav-button:nth-child(3) {
    grid-column: 1 / -1 !important;
  }
  
  /* Force override WordPress flex styles */
  .pk-mobile-menu .pk-mobile-nav-content .pk-mobile-nav-buttons {
    display: grid !important;
    flex-direction: unset !important;
    flex-wrap: unset !important;
  }
  
  .pk-mobile-menu .pk-mobile-nav-content .pk-mobile-nav-button {
    flex: unset !important;
    flex-basis: unset !important;
  }
  
  /* Maximum specificity override */
  body .pk-mobile-menu .pk-mobile-nav-content .pk-mobile-nav-buttons,
  html body .pk-mobile-menu .pk-mobile-nav-content .pk-mobile-nav-buttons {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    max-width: 300px !important;
    margin: 0 auto !important;
    width: 100% !important;
    flex-direction: unset !important;
    flex-wrap: unset !important;
    align-items: unset !important;
    justify-content: unset !important;
  }
  
  body .pk-mobile-menu .pk-mobile-nav-content .pk-mobile-nav-button:nth-child(3),
  html body .pk-mobile-menu .pk-mobile-nav-content .pk-mobile-nav-button:nth-child(3) {
    grid-column: 1 / -1 !important;
  }
  
/* NEW Mobile Menu - Clean and Simple */
.pk-mobile-nav-new {
  display: none;
  padding: 10px 15px;
  text-align: center;
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}

.pk-mobile-link {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.75rem;
  padding: 4px 6px;
  margin: 0;
  border-radius: 4px;
  transition: all 0.3s ease;
  background: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

.pk-mobile-primary {
  color: #4CAF50;
  font-weight: 700;
}

.pk-mobile-primary:hover {
  color: #45a049;
  background: rgba(76, 175, 80, 0.1);
  text-decoration: none;
}

.pk-mobile-secondary {
  color: #666;
}

.pk-mobile-secondary:hover {
  color: #4CAF50;
  background: rgba(76, 175, 80, 0.05);
  text-decoration: none;
}

.pk-mobile-full {
  display: inline-block;
  margin: 0;
}

/* Hide mobile menu on desktop */
@media (min-width: 769px) {
  .pk-mobile-menu {
    display: none !important;
  }
}

/* Show mobile menu on mobile */
@media (max-width: 768px) {
  .pk-mobile-header-content {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    min-height: 60px;
  }
  
  .pk-mobile-logo-section {
    display: flex !important;
    align-items: center;
    gap: 15px;
  }
  
  .pk-mobile-navigation {
    display: flex !important;
    align-items: center;
    gap: 12px;
  }
  
  .pk-mobile-nav {
    display: flex;
    gap: 8px;
    align-items: center;
  }
  
  .pk-mobile-nav .pk-nav-link {
    font-size: 0.8rem !important;
    padding: 8px 12px !important;
    border-radius: 10px !important;
    min-width: 80px !important;
  }
  
  .pk-navigation-desktop {
    display: none !important;
  }
  
  .pk-mobile-menu {
    display: block !important;
  }
  
  .pk-header {
    display: none !important;
  }
}

/* Hide ALL buttons on mobile and show only simple links */
@media (max-width: 768px) {
  /* Hide all WordPress buttons */
  .pk-mobile-nav-content .wp-block-button,
  .pk-mobile-nav-content .pk-mobile-nav-button,
  .pk-mobile-nav-content .pk-mobile-nav-buttons,
  .pk-mobile-nav-content .wp-block-group {
    display: none !important;
    visibility: hidden !important;
  }
  
  /* Show only our custom navigation */
  .pk-mobile-nav-empty {
    display: block !important;
    visibility: visible !important;
  }
}

/* ===== Beautiful Background Pattern ===== */
body {
  position: relative;
  background: #ffffff;
}

/* Тестовый фон для проверки - временный */
body {
  background: linear-gradient(135deg, #e8f4fd 0%, #ffffff 30%, #f0f8ff 70%, #ffffff 100%) !important;
}

/* Очень заметный тестовый элемент */
body::before {
  content: '';
  position: fixed;
  top: 50px;
  right: 50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(76, 175, 80, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 9999;
  pointer-events: none;
  animation: testPulse 2s ease-in-out infinite;
}

@keyframes testPulse {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.2); opacity: 0.6; }
}

/* Дополнительный тестовый элемент */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    /* Яркие тестовые круги */
    radial-gradient(circle at 20% 20%, rgba(76, 175, 80, 0.15) 0%, transparent 70%),
    radial-gradient(circle at 80% 30%, rgba(46, 139, 255, 0.12) 0%, transparent 70%),
    radial-gradient(circle at 40% 80%, rgba(0, 192, 128, 0.1) 0%, transparent 70%);
  
  background-size: 400px 400px, 300px 300px, 500px 500px;
  background-position: 0 0, 200px 100px, 400px -100px;
  
  z-index: -1;
  pointer-events: none;
  animation: testFloat 10s ease-in-out infinite;
}

@keyframes testFloat {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(1deg); }
}


/* Floating animation for background */
@keyframes backgroundFloat {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 1;
  }
  25% {
    transform: translateY(-10px) rotate(0.5deg);
    opacity: 0.95;
  }
  50% {
    transform: translateY(-5px) rotate(-0.3deg);
    opacity: 0.98;
  }
  75% {
    transform: translateY(-15px) rotate(0.2deg);
    opacity: 0.97;
  }
}


@keyframes backgroundFloat2 {
  0%, 100% {
    transform: translateX(0px) scale(1);
    opacity: 0.8;
  }
  33% {
    transform: translateX(5px) scale(1.01);
    opacity: 0.9;
  }
  66% {
    transform: translateX(-3px) scale(0.99);
    opacity: 0.85;
  }
}

/* Ensure content stays above background */
.wp-site-blocks,
.wp-block-group,
main,
.site-content {
  position: relative;
  z-index: 1;
}

/* Стили для контента статей */
.wp-block-post-content,
.entry-content,
.post-content {
  position: relative;
  z-index: 1;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
}

/* Стили для изображений в статьях */
.wp-block-post-content img,
.entry-content img,
.post-content img,
.wp-block-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin: 1.5rem 0;
  display: block;
}

/* Адаптивные изображения */
.wp-block-post-content .wp-block-image,
.entry-content .wp-block-image,
.post-content .wp-block-image {
  margin: 1.5rem 0;
}

.wp-block-post-content .wp-block-image img,
.entry-content .wp-block-image img,
.post-content .wp-block-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Стили для заголовков в статьях */
.wp-block-post-content h1,
.wp-block-post-content h2,
.wp-block-post-content h3,
.wp-block-post-content h4,
.wp-block-post-content h5,
.wp-block-post-content h6,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  margin: 2rem 0 1rem 0;
  line-height: 1.3;
  font-weight: 600;
  color: #333;
}

.wp-block-post-content h1,
.entry-content h1 {
  font-size: 2.5rem;
  margin-top: 0;
}

.wp-block-post-content h2,
.entry-content h2 {
  font-size: 2rem;
}

.wp-block-post-content h3,
.entry-content h3 {
  font-size: 1.5rem;
}

/* Стили для параграфов */
.wp-block-post-content p,
.entry-content p,
.post-content p {
  margin: 1rem 0;
  line-height: 1.7;
  font-size: 1rem;
  color: #555;
}

/* Стили для списков */
.wp-block-post-content ul,
.wp-block-post-content ol,
.entry-content ul,
.entry-content ol {
  margin: 1rem 0;
  padding-left: 2rem;
}

.wp-block-post-content li,
.entry-content li {
  margin: 0.5rem 0;
  line-height: 1.6;
}

/* Стили для цитат */
.wp-block-post-content blockquote,
.entry-content blockquote {
  margin: 2rem 0;
  padding: 1.5rem;
  background: #f8f9fa;
  border-left: 4px solid #4CAF50;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: #666;
}

/* Адаптивность для статей */
@media (max-width: 768px) {
  .wp-block-post-content,
  .entry-content,
  .post-content {
    padding: 0 1rem;
  }
  
  .wp-block-post-content h1,
  .entry-content h1 {
    font-size: 2rem;
  }
  
  .wp-block-post-content h2,
  .entry-content h2 {
    font-size: 1.5rem;
  }
  
  .wp-block-post-content h3,
  .entry-content h3 {
    font-size: 1.25rem;
  }
  
  .wp-block-post-content img,
  .entry-content img,
  .post-content img {
    margin: 1rem 0;
    border-radius: 6px;
  }
  
  .wp-block-post-content blockquote,
  .entry-content blockquote {
    margin: 1.5rem 0;
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .wp-block-post-content,
  .entry-content,
  .post-content {
    padding: 0 0.5rem;
  }
  
  .wp-block-post-content h1,
  .entry-content h1 {
    font-size: 1.75rem;
  }
  
  .wp-block-post-content h2,
  .entry-content h2 {
    font-size: 1.25rem;
  }
  
  .wp-block-post-content h3,
  .entry-content h3 {
    font-size: 1.1rem;
  }
  
  .wp-block-post-content p,
  .entry-content p {
    font-size: 0.95rem;
  }
}


/* Mobile optimization */
@media (max-width: 768px) {
  body::before {
    background-size: 
      400px 400px,
      300px 300px,
      500px 500px,
      350px 350px,
      100px 100px,
      75px 75px,
      90px 90px,
      25px 25px,
      25px 25px,
      100% 100%;
  }
  
  body::after {
    background-size: 600px 400px, 500px 300px, 400px 200px;
  }
  
}

/* ===== ARTICLES PAGE STYLES ===== */
.pk-articles-page {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 1rem;
}

.pk-articles-page__container {
  width: 100%;
}

.pk-articles-page__header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.pk-articles-page__title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 1rem 0;
  background: linear-gradient(135deg, #4CAF50, #2E8BFF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pk-articles-page__subtitle {
  font-size: 1.1rem;
  color: #666;
  margin: 0 0 2rem 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.pk-articles-page__view-toggle {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.pk-articles-page__view-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 2px solid #e0e0e0;
  background: #ffffff;
  border-radius: 12px;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pk-articles-page__view-btn:hover {
  border-color: #4CAF50;
  color: #4CAF50;
  transform: translateY(-2px);
}

.pk-articles-page__view-btn.active {
  border-color: #4CAF50;
  background: #4CAF50;
  color: #ffffff;
}

.pk-articles-page__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.pk-articles-page__grid--list {
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.pk-articles-page__grid--list .pk-articles-page__card {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 1.5rem;
}

.pk-articles-page__grid--list .pk-articles-page__image {
  width: 200px;
  height: 120px;
  flex-shrink: 0;
  margin-right: 1.5rem;
  margin-bottom: 0;
}

.pk-articles-page__grid--list .pk-articles-page__content {
  flex: 1;
}

.pk-articles-page__card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
  position: relative;
}

.pk-articles-page__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  border-color: rgba(76, 175, 80, 0.2);
}

.pk-articles-page__image {
  position: relative;
  height: 200px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.pk-articles-page__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.pk-articles-page__card:hover .pk-articles-page__image img {
  transform: scale(1.05);
}

.pk-articles-page__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.8), rgba(46, 139, 255, 0.8));
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 1rem;
}

.pk-articles-page__card:hover .pk-articles-page__overlay {
  opacity: 1;
}

.pk-articles-page__category {
  background: rgba(255, 255, 255, 0.9);
  color: #1a1a1a;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  backdrop-filter: blur(10px);
}

.pk-articles-page__content {
  padding: 0 1.5rem 1.5rem;
}

.pk-articles-page__card-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 1rem 0;
  line-height: 1.4;
}

.pk-articles-page__card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.pk-articles-page__card-title a:hover {
  color: #4CAF50;
}

.pk-articles-page__excerpt {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 1.5rem 0;
}

.pk-articles-page__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.pk-articles-page__date,
.pk-articles-page__read-time,
.pk-articles-page__author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #888;
  font-size: 0.85rem;
  font-weight: 500;
}

.pk-articles-page__read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #4CAF50;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  padding: 0.75rem 1.5rem;
  border: 2px solid #4CAF50;
  border-radius: 25px;
  background: transparent;
}

.pk-articles-page__read-more:hover {
  background: #4CAF50;
  color: #ffffff;
  transform: translateX(4px);
}

.pk-articles-page__read-more svg {
  transition: transform 0.3s ease;
}

.pk-articles-page__read-more:hover svg {
  transform: translateX(2px);
}

.pk-articles-page__empty {
  text-align: center;
  padding: 4rem 2rem;
  color: #666;
}

.pk-articles-page__empty-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.pk-articles-page__empty h3 {
  font-size: 1.5rem;
  margin: 0 0 0.5rem 0;
  color: #1a1a1a;
}

.pk-articles-page__load-more {
  text-align: center;
  margin-top: 3rem;
}

.pk-articles-page__load-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #4CAF50, #2E8BFF);
  color: #ffffff;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pk-articles-page__load-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(76, 175, 80, 0.3);
}

/* Адаптивность для страницы статей */
@media (max-width: 1024px) {
  .pk-articles-page__grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
  }
  
  .pk-articles-page__title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .pk-articles-page {
    margin: 2rem auto;
    padding: 0 0.5rem;
  }
  
  .pk-articles-page__grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  
  .pk-articles-page__grid--list .pk-articles-page__card {
    flex-direction: column;
    align-items: stretch;
  }
  
  .pk-articles-page__grid--list .pk-articles-page__image {
    width: 100%;
    height: 180px;
    margin-right: 0;
    margin-bottom: 1rem;
  }
  
  .pk-articles-page__title {
    font-size: 1.75rem;
  }
  
  .pk-articles-page__subtitle {
    font-size: 1rem;
  }
  
  .pk-articles-page__content {
    padding: 0 1.25rem 1.25rem;
  }
  
  .pk-articles-page__card-title {
    font-size: 1.1rem;
  }
  
  .pk-articles-page__excerpt {
    font-size: 0.9rem;
  }
  
  .pk-articles-page__meta {
    gap: 0.75rem;
  }
  
  .pk-articles-page__date,
  .pk-articles-page__read-time,
  .pk-articles-page__author {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .pk-articles-page__header {
    margin-bottom: 2rem;
  }
  
  .pk-articles-page__title {
    font-size: 1.5rem;
  }
  
  .pk-articles-page__view-toggle {
    margin-top: 1.5rem;
  }
  
  .pk-articles-page__view-btn {
    width: 40px;
    height: 40px;
  }
  
  .pk-articles-page__content {
    padding: 0 1rem 1rem;
  }
  
  .pk-articles-page__read-more {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
  }
}

/* ===== ADHD TEST STYLES ===== */
/* Тест СДВГ использует стандартные классы pk-bt-* из burnout-test.css */

/* ===== THEMES CATALOG STYLES ===== */

.pk-themes-catalog {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 1rem;
}

.pk-themes-catalog__container {
  width: 100%;
}

.pk-themes-catalog__grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 1.5rem !important;
  margin-top: 2rem !important;
}

.pk-themes-catalog__card {
  background: #ffffff !important;
  border-radius: 16px !important;
  padding: 2rem !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
  transition: all 0.3s ease !important;
  position: relative !important;
  overflow: hidden !important;
}

.pk-themes-catalog__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #4CAF50, #2E8BFF);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pk-themes-catalog__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  border-color: rgba(76, 175, 80, 0.2);
}

.pk-themes-catalog__card:hover::before {
  opacity: 1;
}

.pk-themes-catalog__icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.pk-themes-catalog__title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 1rem 0;
  line-height: 1.3;
}

.pk-themes-catalog__description {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 1.5rem 0;
}

.pk-themes-catalog__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #4CAF50;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  padding: 0.5rem 0;
}

.pk-themes-catalog__link:hover {
  color: #2E8BFF;
  transform: translateX(4px);
}

.pk-themes-catalog__link svg {
  transition: transform 0.3s ease;
}

.pk-themes-catalog__link:hover svg {
  transform: translateX(2px);
}

/* Адаптивность для каталога */
@media (max-width: 1024px) {
  .pk-themes-catalog__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 768px) {
  .pk-themes-catalog {
    margin: 2rem auto;
    padding: 0 0.5rem;
  }
  
  .pk-themes-catalog__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .pk-themes-catalog__card {
    padding: 1.5rem;
  }
  
  .pk-themes-catalog__icon {
    font-size: 2rem;
  }
  
  .pk-themes-catalog__title {
    font-size: 1.1rem;
  }
  
  .pk-themes-catalog__description {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .pk-themes-catalog__card {
    padding: 1.25rem;
  }
  
  .pk-themes-catalog__icon {
    font-size: 1.75rem;
  }
  
  .pk-themes-catalog__title {
    font-size: 1rem;
  }
  
  .pk-themes-catalog__description {
    font-size: 0.85rem;
  }
}


