/* ═══════════════════════════════════════════════
   blog-single.css — Страница блога
   ═══════════════════════════════════════════════ */

/* ── Breadcrumb ── */
.breadcrumb-bar {
  background: #fff;
  border-bottom: 1px solid var(--border-light);
  padding: 10px 0;
}
.breadcrumb { margin: 0; font-size: 12px; font-family: 'Montserrat', sans-serif; }
.breadcrumb-item a { color: var(--green-mid); text-decoration: none; }
.breadcrumb-item a:hover { text-decoration: underline; }
.breadcrumb-item.active { color: var(--text-gray); }
.breadcrumb-item + .breadcrumb-item::before { color: var(--text-gray); }

/* ── Blog banner ── */
.blog-banner {
  width: 100%;
  margin-bottom: 24px;
  border-radius: var(--radius);
  overflow: hidden;
  line-height: 0;
}

.blog-banner img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── Blog hero ── */
.blog-hero {
  background: var(--green-dark);
  padding: 0;
  position: relative;
  overflow: hidden;
  min-height: 200px;
  display: flex;
  align-items: flex-end;
}

.blog-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.30;
}

.blog-hero-inner {
  position: relative;
  z-index: 2;
  padding: 36px 0 32px;
  width: 100%;
}

.blog-hero-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.blog-hero-title {
  font-family: 'KZBookman', serif;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: normal;
  color: #fff;
  line-height: 1.25;
  margin: 0;
}

.blog-hero-line {
  width: 50px;
  height: 3px;
  background: var(--gold);
  margin-top: 16px;
  border-radius: 2px;
}

/* ── Blog content wrap ── */
.blog-content-wrap {
  padding: 0 0 70px;
  position: relative;
}

.blog-content-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.55);
}

.blog-content-wrap .container {
  position: relative;
  z-index: 1;
}

/* ── Hero quote ── */
.blog-hero-quote {
  margin-top: 16px;
  font-size: 14px;
  font-style: italic;
  color: rgba(255,255,255,0.9);
  line-height: 1.6;
  max-width: 560px;
}

.blog-hero-quote span {
  display: inline;
  font-style: italic;
  font-weight: normal;
  font-size: 14px;
  color: rgba(255,255,255,0.9);
}

/* ── Sidebar ── */
.blog-sidebar {
  /* scrolls with page */
}

.blog-sidebar-box {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.blog-sidebar-header {
  background: var(--green-dark);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 12px 18px;
}

.blog-sidebar-header:empty { display: none; }

.blog-sidebar-nav {
  list-style: none;
  margin: 0;
  padding: 8px 0;
}

.blog-sidebar-nav li { border-bottom: 1px solid #f0f4f1; }
.blog-sidebar-nav li:last-child { border-bottom: none; }

.blog-sidebar-nav a {
  display: block;
  padding: 9px 18px;
  font-size: 12.5px;
  color: var(--text-dark);
  text-decoration: none;
  line-height: 1.4;
  transition: background var(--tr), color var(--tr), padding-left var(--tr);
}

.blog-sidebar-nav a:hover,
.blog-sidebar-nav a.active {
  background: #f0f7f2;
  color: var(--green-dark);
  padding-left: 24px;
}

.blog-sidebar-nav a.active {
  font-weight: 600;
  border-left: 3px solid var(--green-mid);
}

/* ── Articles list ── */
.blog-articles-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.blog-article-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 22px 26px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  transition: box-shadow var(--tr), transform var(--tr);
  text-decoration: none;
  color: inherit;
  position: relative;
}

.blog-article-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  color: inherit;
}

.blog-article-num {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f0f7f2;
  color: var(--green-mid);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.blog-article-body { flex: 1; min-width: 0; }

.blog-article-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--green-dark);
  line-height: 1.45;
  margin-bottom: 6px;
  transition: color var(--tr);
}

.blog-article-card:hover .blog-article-title { color: var(--green-mid); }

.blog-article-desc {
  font-size: 12.5px;
  color: var(--text-gray);
  line-height: 1.6;
}

.blog-article-arrow {
  flex-shrink: 0;
  color: var(--border-light);
  font-size: 16px;
  margin-top: 4px;
  transition: color var(--tr), transform var(--tr);
}

.blog-article-card:hover .blog-article-arrow {
  color: var(--green-mid);
  transform: translateX(4px);
}

/* ── Other blogs ── */
.blog-other-title {
  font-family: 'KZBookman', serif;
  font-size: 18px;
  font-weight: normal;
  color: var(--green-dark);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}

.blog-other-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.blog-other-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow var(--tr), transform var(--tr);
}

.blog-other-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  color: inherit;
}

.blog-other-card img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.blog-other-card-title {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--green-dark);
  line-height: 1.4;
}

@media (max-width: 767px) {
  .blog-other-grid { grid-template-columns: 1fr; }
  .blog-content-wrap .row { flex-direction: column-reverse; }
  .blog-sidebar { position: static; margin-bottom: 24px; }
}
