/*
 Theme Name:   Ohio Child
 Theme URI:    https://clbthemes.com/ohio/
 Description:  Ohio Child Theme by CollabMedia
 Author:       CollabMedia
 Author URI:   https://clbthemes.com/
 Template:     ohio
 Version:      1.0.0
 Text Domain:  ohio-child
*/

/* Сюди ти можеш додавати свої власні кастомні стилі CSS нижче */
/* Базові змінні кольорів на основі вашого другого скріншоту */
   /* ===== Кольорова палітра (зі скріншоту 2) ===== */
 
:root {
  --bg-color: #ffffff;
  --text-dark: #1a1a2e;
  --text-gray: #6b7280;
  --accent-purple: #5b4ddb;
  --accent-purple-hover: #4338ca;
  --border-color: #e9e9f0;
  --card-bg: #f8f7fc;
}

.hero-section {
  background-color: var(--bg-color);
  padding: 48px 24px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 48px;
}

/* ===== ЛІВА КОЛОНКА ===== */
.hero-main {
  display: flex;
  flex-direction: column;
}

.hero-image {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 24px;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.hero-image:hover img {
  transform: scale(1.03);
}

.hero-category {
  display: inline-block;
  color: var(--accent-purple);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.hero-title {
  font-size: 34px;
  line-height: 1.25;
  font-weight: 700;
  margin: 0 0 16px;
}

.hero-title a {
  color: var(--text-dark);
  text-decoration: none;
}

.hero-title a:hover {
  color: var(--accent-purple);
}

.hero-excerpt {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-gray);
  margin: 0;
}

/* ===== ПРАВА КОЛОНКА (WordPress widget area) ===== */
.hero-sidebar {
  border-left: 1px solid var(--border-color);
  padding-left: 32px;
}

.sidebar-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 20px;
}

.sidebar-widget-area {
  width: 100%;
}

.sidebar-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-color);
}

.sidebar-item:last-child {
  border-bottom: none;
}

.sidebar-thumb {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--card-bg);
}

.sidebar-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sidebar-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-cat {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-purple);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.sidebar-item-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  text-decoration: none;
  line-height: 1.4;
}

.sidebar-item-title:hover {
  color: var(--accent-purple);
}

/* ===== Стилі для випадку, якщо вставите CORE блок WordPress "Останні записи" ===== */
.sidebar-widget-area .wp-block-latest-posts {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-widget-area .wp-block-latest-posts li {
  padding: 14px 0;
  border-bottom: 1px solid var(--border-color);
}

.sidebar-widget-area .wp-block-latest-posts a {
  color: var(--text-dark);
  font-weight: 600;
  text-decoration: none;
  font-size: 15px;
}

.sidebar-widget-area .wp-block-latest-posts a:hover {
  color: var(--accent-purple);
}

/* ===== Адаптивність ===== */
@media (max-width: 900px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-sidebar {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
  }

  .hero-title {
    font-size: 26px;
  }
}
