/* Страница /blog/ — изолированные стили */

.blog-route .blog-page {
  --blog-orange: #dd7a22;
  --blog-orange-dark: #c2681a;
  --blog-cream: #f1e9dd;
  --blog-cream-2: #fbf7f1;
  --blog-ink: #2a2521;
  --blog-muted: #6d655f;
  --blog-line: #e7d7c3;
  --blog-shadow: 0 10px 30px rgba(57, 42, 26, 0.08);
  --blog-radius: 14px;
  --blog-container: 1220px;
  color: var(--blog-ink);
  padding: 0 20px 36px;
}

.blog-route .blog-breadcrumbs {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 16px 0 8px;
  font-size: 13px;
  color: #8a817a;
}

.blog-route .blog-breadcrumbs a:hover {
  color: var(--blog-orange);
}

.blog-route .blog-breadcrumbs strong {
  color: var(--blog-orange);
  font-weight: 700;
}

.blog-route .blog-page h1,
.blog-route .blog-page h2,
.blog-route .blog-page h3,
.blog-route .blog-page p {
  margin-top: 0;
}

/* Hero */
.blog-route .blog-hero {
  padding: 10px 0 24px;
}

.blog-route .blog-hero-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 48px;
  align-items: center;
}

.blog-route .blog-hero h1 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -1.2px;
  font-weight: 900;
  margin: 8px 0 16px;
}

.blog-route .blog-hero-lead {
  font-size: 17px;
  color: #625b55;
  max-width: 760px;
  margin: 0 0 20px;
  line-height: 1.5;
}

.blog-route .blog-hero-img {
  border-radius: 28px 10px 28px 10px;
  overflow: hidden;
  box-shadow: var(--blog-shadow);
  aspect-ratio: 4 / 3;
  background: var(--blog-cream);
}

.blog-route .blog-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Search */
.blog-route .blog-search-wrap {
  position: relative;
  max-width: 520px;
  margin-top: 4px;
}

.blog-route .blog-search-wrap input {
  width: 100%;
  height: 52px;
  border: 1px solid var(--blog-line);
  border-radius: 10px;
  padding: 0 48px 0 16px;
  background: #fff;
  outline: none;
  box-shadow: 0 3px 14px rgba(60, 45, 30, 0.04);
  font: inherit;
}

.blog-route .blog-search-wrap input:focus-visible {
  border-color: var(--blog-orange);
  outline: 2px solid rgba(221, 122, 34, 0.25);
  outline-offset: 1px;
}

.blog-route .blog-search-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--blog-muted);
  pointer-events: none;
  font-size: 18px;
}

/* Chips */
.blog-route .blog-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.blog-route .blog-chip {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 9px;
  background: var(--blog-cream);
  font-size: 13px;
  font-weight: 750;
  border: 1px solid transparent;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.blog-route .blog-chip:hover {
  border-color: #e9c49f;
}

.blog-route .blog-chip.is-active {
  background: var(--blog-orange);
  color: #fff;
}

.blog-route .blog-chip:focus-visible {
  outline: 2px solid var(--blog-orange);
  outline-offset: 2px;
}

/* Featured */
.blog-route .blog-featured {
  margin: 16px 0 24px;
  background: linear-gradient(100deg, #fff 0, #fbf4ea 100%);
  border: 1px solid var(--blog-line);
  border-radius: var(--blog-radius);
  padding: 7px;
  box-shadow: var(--blog-shadow);
}

.blog-route .blog-featured[hidden] {
  display: none !important;
}

.blog-route .blog-featured-inner {
  display: grid;
  grid-template-columns: 46% 54%;
  min-height: 320px;
}

.blog-route .blog-featured-media {
  border-radius: 10px;
  overflow: hidden;
  display: block;
}

.blog-route .blog-featured-media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
}

.blog-route .blog-featured-content {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-route .blog-tag {
  color: var(--blog-orange);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 8px;
}

.blog-route .blog-featured h2 {
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.12;
  margin: 0 0 12px;
  letter-spacing: -0.4px;
  font-weight: 900;
}

.blog-route .blog-featured h2 a:hover {
  color: var(--blog-orange);
}

.blog-route .blog-excerpt {
  color: #665f58;
  font-size: 15px;
  line-height: 1.45;
}

.blog-route .blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 18px 0;
  color: #7b736c;
  font-size: 13px;
}

/* Content grid */
.blog-route .blog-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 26px;
  align-items: start;
}

.blog-route .blog-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.blog-route .blog-card {
  border: 1px solid var(--blog-line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  box-shadow: 0 5px 18px rgba(64, 47, 31, 0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}

.blog-route .blog-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--blog-shadow);
}

.blog-route .blog-card.is-hidden {
  display: none !important;
}

.blog-route .blog-card-media {
  height: 180px;
  overflow: hidden;
  display: block;
}

.blog-route .blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
  display: block;
}

.blog-route .blog-card:hover .blog-card-media img {
  transform: scale(1.03);
}

.blog-route .blog-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-route .blog-card h3 {
  font-size: 19px;
  line-height: 1.18;
  margin: 4px 0 10px;
  font-weight: 800;
}

.blog-route .blog-card h3 a:hover {
  color: var(--blog-orange);
}

.blog-route .blog-card-text {
  font-size: 14px;
  color: #6f675f;
  margin: 0 0 14px;
  line-height: 1.45;
}

.blog-route .blog-card .blog-meta {
  margin: auto 0 14px;
  font-size: 12px;
  gap: 10px;
}

.blog-route .blog-card-cta {
  display: block;
  width: 100%;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  border-radius: 10px;
  border: 1px solid #efad74;
  background: transparent;
  color: var(--blog-orange);
  transition: background 0.15s, color 0.15s;
}

.blog-route .blog-card-cta:hover {
  background: var(--blog-orange);
  color: #fff;
  border-color: var(--blog-orange);
}

.blog-route .blog-empty {
  grid-column: 1 / -1;
  padding: 40px 24px;
  text-align: center;
  background: var(--blog-cream-2);
  border: 1px dashed var(--blog-line);
  border-radius: var(--blog-radius);
  color: var(--blog-muted);
}

.blog-route .blog-empty strong {
  display: block;
  color: var(--blog-ink);
  font-size: 18px;
  margin-bottom: 8px;
}

.blog-route .blog-load-more-wrap {
  margin-top: 20px;
  text-align: center;
}

.blog-route .blog-load-more-wrap[hidden] {
  display: none !important;
}

.blog-route .blog-load-more {
  padding: 12px 24px;
  border: 1px solid var(--blog-line);
  border-radius: 10px;
  background: #fff;
  font-weight: 800;
  cursor: pointer;
  color: var(--blog-ink);
  transition: border-color 0.15s, color 0.15s;
}

.blog-route .blog-load-more:hover {
  border-color: var(--blog-orange);
  color: var(--blog-orange);
}

/* Sidebar */
.blog-route .blog-aside {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.blog-route .blog-sidebox {
  background: #fff;
  border: 1px solid var(--blog-line);
  border-radius: 12px;
  padding: 18px;
}

.blog-route .blog-sidebox h3 {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 800;
}

.blog-route .blog-side-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px dashed #eadfce;
  font-size: 14px;
  line-height: 1.35;
}

.blog-route .blog-side-link:last-of-type {
  border-bottom: 0;
}

.blog-route .blog-side-link:hover {
  color: var(--blog-orange);
}

.blog-route .blog-service {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  font-size: 14px;
  line-height: 1.35;
}

.blog-route .blog-service:hover {
  color: var(--blog-orange);
}

.blog-route .blog-service-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #fff3e7;
  color: var(--blog-orange);
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 13px;
  flex-shrink: 0;
}

.blog-route .blog-side-more {
  color: var(--blog-orange);
  font-weight: 800;
  font-size: 13px;
  display: inline-block;
  margin-top: 10px;
}

.blog-route .blog-side-more:hover {
  color: var(--blog-orange-dark);
}

/* Benefit */
.blog-route .blog-benefit {
  margin: 32px 0 22px;
  background: linear-gradient(90deg, #fbf4ea, #f4e7d4);
  border-radius: var(--blog-radius);
  padding: 28px 26px;
}

.blog-route .blog-benefit h2 {
  font-size: 28px;
  margin: 0 0 8px;
  font-weight: 900;
}

.blog-route .blog-benefit-intro {
  color: #6a625b;
  margin-bottom: 22px;
  max-width: 720px;
}

.blog-route .blog-benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.blog-route .blog-benefit-item {
  padding: 0 20px;
  border-right: 1px solid #ddcbb6;
}

.blog-route .blog-benefit-item:first-child {
  padding-left: 0;
}

.blog-route .blog-benefit-item:last-child {
  border-right: 0;
  padding-right: 0;
}

.blog-route .blog-benefit-icon {
  font-size: 28px;
  margin-bottom: 9px;
  line-height: 1;
}

.blog-route .blog-benefit-item h3 {
  font-size: 16px;
  margin: 0 0 7px;
  font-weight: 800;
}

.blog-route .blog-benefit-item p {
  font-size: 13px;
  color: #6c645d;
  margin: 0;
  line-height: 1.45;
}

/* SEO text */
.blog-route .blog-seo-text {
  padding: 26px 0 10px;
  max-width: 980px;
}

.blog-route .blog-seo-text h2 {
  font-size: 28px;
  margin: 0 0 12px;
  font-weight: 900;
}

.blog-route .blog-seo-text p {
  color: #655e57;
  margin: 0 0 10px;
  line-height: 1.55;
}

.blog-route .blog-seo-text a {
  color: var(--blog-orange);
  font-weight: 650;
}

.blog-route .blog-seo-text a:hover {
  color: var(--blog-orange-dark);
}

/* FAQ */
.blog-route .blog-faq {
  padding: 20px 0 28px;
}

.blog-route .blog-faq h2 {
  font-size: 28px;
  margin-bottom: 14px;
  font-weight: 900;
}

.blog-route .blog-faq details {
  border: 1px solid var(--blog-line);
  border-radius: 10px;
  margin: 9px 0;
  background: #fff;
}

.blog-route .blog-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 15px 16px;
  font-weight: 700;
  line-height: 1.35;
}

.blog-route .blog-faq summary::-webkit-details-marker {
  display: none;
}

.blog-route .blog-faq details p {
  padding: 0 16px 15px;
  color: #6a625b;
  margin: 0;
  line-height: 1.5;
}

/* CTA */
.blog-route .blog-cta {
  margin: 20px 0 36px;
  background: linear-gradient(90deg, #f8ebd9, #fff8ef);
  border: 1px solid var(--blog-line);
  border-radius: 16px;
  display: grid;
  grid-template-columns: 190px 1fr 260px;
  align-items: center;
  overflow: hidden;
}

.blog-route .blog-cta-visual img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.blog-route .blog-cta-copy {
  padding: 26px;
}

.blog-route .blog-cta-copy h2 {
  font-size: 28px;
  margin: 0 0 8px;
  font-weight: 900;
}

.blog-route .blog-cta-copy p {
  margin: 0;
  color: #625b55;
  line-height: 1.45;
}

.blog-route .blog-cta-actions {
  padding: 26px;
  text-align: center;
}

.blog-route .blog-cta-btn {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 10px;
  background: var(--blog-orange);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}

.blog-route .blog-cta-btn:hover {
  background: var(--blog-orange-dark);
  transform: translateY(-1px);
}

.blog-route .blog-cta-phone-label {
  display: block;
  margin-top: 13px;
  font-size: 13px;
  color: var(--blog-muted);
}

.blog-route .blog-cta-phone {
  display: block;
  margin-top: 4px;
  font-size: 20px;
  font-weight: 800;
  color: var(--blog-ink);
}

.blog-route .blog-cta-phone:hover {
  color: var(--blog-orange);
}

/* Buttons shared with advantages */
.blog-route .primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 10px;
  background: var(--blog-orange);
  color: #fff;
  font-weight: 800;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
}

.blog-route .primary-btn:hover {
  background: var(--blog-orange-dark);
}

/* Responsive */
@media (max-width: 1050px) {
  .blog-route .blog-hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .blog-route .blog-content-grid {
    grid-template-columns: 1fr;
  }

  .blog-route .blog-aside {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  .blog-route .blog-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .blog-route .blog-page {
    padding: 0 12px 28px;
  }

  .blog-route .blog-featured-inner {
    grid-template-columns: 1fr;
  }

  .blog-route .blog-featured-media img {
    min-height: 200px;
  }

  .blog-route .blog-featured-content {
    padding: 20px;
  }

  .blog-route .blog-cards {
    grid-template-columns: 1fr;
  }

  .blog-route .blog-aside {
    grid-template-columns: 1fr;
  }

  .blog-route .blog-benefit-grid {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }

  .blog-route .blog-benefit-item {
    border-right: 0;
    padding: 0;
  }

  .blog-route .blog-cta {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .blog-route .blog-cta-visual img {
    height: 200px;
  }
}

@media (max-width: 390px) {
  .blog-route .blog-chips {
    gap: 8px;
  }

  .blog-route .blog-chip {
    padding: 8px 12px;
    font-size: 12px;
  }
}
