/**
 * Askorbinka Blog - Main Stylesheet
 * Разработано строго в соответствии с реальным дизайном интернет-магазина Askorbinka.uz
 * Цвета: Фирменный зеленый каталог (#0e6e44), Фирменный оранжевый акцент (#f05123), Теплые тона
 */

/* ----------------------------------------------------
   1. Переменные и сброс
---------------------------------------------------- */
:root {
  --ask-green: #0e6e44;
  --ask-green-hover: #0a5333;
  --ask-green-light: #e8f5e9;
  --ask-orange: #f05123;
  --ask-orange-hover: #d94217;
  --ask-orange-light: #fff0eb;
  --ask-blue: #0284c7;
  --ask-blue-light: #e0f2fe;
  --ask-dark: #1e2229;
  --ask-dark-light: #2b303a;
  --ask-text-title: #111827;
  --ask-text-body: #374151;
  --ask-text-muted: #6b7280;
  --ask-bg-light: #f8fafc;
  --ask-border: #e5e7eb;
  --ask-radius-sm: 6px;
  --ask-radius: 10px;
  --ask-radius-lg: 14px;
  --ask-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --ask-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  --ask-shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.1);
  --ask-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--ask-font);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ask-text-body);
  background-color: var(--ask-bg-light);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--ask-green);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--ask-orange);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--ask-text-title);
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-weight: 700;
  line-height: 1.3;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

.ask-container {
  width: 100%;
  max-width: 1260px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

.ask-site {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.ask-main-content {
  flex: 1 0 auto;
  padding-bottom: 60px;
}

/* Кнопки в стиле сайта */
.ask-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  border-radius: var(--ask-radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}

.ask-btn-orange {
  background-color: var(--ask-orange);
  color: #ffffff !important;
  box-shadow: 0 2px 6px rgba(240, 81, 35, 0.3);
}

.ask-btn-orange:hover {
  background-color: var(--ask-orange-hover);
  box-shadow: 0 4px 12px rgba(240, 81, 35, 0.4);
  transform: translateY(-1px);
}

.ask-btn-green {
  background-color: var(--ask-green);
  color: #ffffff !important;
}

.ask-btn-green:hover {
  background-color: var(--ask-green-hover);
}

.ask-btn-outline {
  background: #ffffff;
  border-color: var(--ask-border);
  color: var(--ask-text-title) !important;
}

.ask-btn-outline:hover {
  border-color: var(--ask-orange);
  color: var(--ask-orange) !important;
}

.ask-btn-block {
  width: 100%;
}

/* ----------------------------------------------------
   2. Верхний USP-Бар (🚚 🌿 🎁 как на скриншоте 2)
---------------------------------------------------- */
.ask-top-usp-bar {
  background-color: #f9fafb;
  border-bottom: 1px solid #f3f4f6;
  padding: 7px 0;
  font-size: 12.5px;
  color: #4b5563;
}

.ask-usp-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
}

.ask-usp-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.ask-usp-icon {
  font-size: 14px;
}

.ask-usp-item a {
  color: #4b5563;
}

.ask-usp-item a:hover {
  color: var(--ask-orange);
}

/* ----------------------------------------------------
   3. Основная шапка (Header)
---------------------------------------------------- */
.ask-header {
  background-color: #ffffff;
  padding: 18px 0;
  border-bottom: 1px solid #f1f5f9;
}

.ask-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Логотип */
.ask-logo-col {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.ask-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.ask-blog-tag {
  display: inline-block;
  background-color: var(--ask-orange-light);
  color: var(--ask-orange);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: 4px;
}

/* Поиск с фирменной оранжевой кнопкой */
.ask-search-col {
  flex: 1;
  max-width: 480px;
}

.ask-search-form {
  position: relative;
  display: flex;
  align-items: stretch;
  height: 42px;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  overflow: hidden;
  background-color: #ffffff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.ask-search-form:focus-within {
  border-color: var(--ask-orange);
  box-shadow: 0 0 0 3px rgba(240, 81, 35, 0.15);
}

.ask-search-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 0 16px;
  font-size: 14px;
  background: transparent;
  font-family: inherit;
}

.ask-search-btn {
  width: 48px;
  background-color: var(--ask-orange);
  border: none;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s;
}

.ask-search-btn:hover {
  background-color: var(--ask-orange-hover);
}

/* Контактные блоки: Телефон и Telegram */
.ask-header-contacts {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}

.ask-contact-block {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ask-contact-icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.ask-contact-icon-circle:hover {
  transform: scale(1.05);
}

.ask-icon-phone {
  background-color: var(--ask-green-light);
  color: var(--ask-green);
}

.ask-icon-tg {
  background-color: var(--ask-blue-light);
  color: var(--ask-blue);
}

.ask-contact-info {
  display: flex;
  flex-direction: column;
}

.ask-contact-main-text {
  font-size: 14px;
  font-weight: 700;
  color: var(--ask-text-title);
  line-height: 1.25;
}

.ask-contact-sub-text {
  font-size: 11px;
  color: var(--ask-text-muted);
  line-height: 1.25;
}

/* Иконки пользователя в магазин */
.ask-header-user-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.ask-user-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: #4b5563;
  font-size: 11px;
  font-weight: 500;
  transition: color 0.2s;
}

.ask-user-nav-btn:hover {
  color: var(--ask-orange);
}

.ask-cart-icon-wrap {
  position: relative;
  display: inline-block;
}

.ask-cart-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background-color: var(--ask-orange);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ----------------------------------------------------
   4. Навигационная полоса и зеленая кнопка «Каталог товаров»
---------------------------------------------------- */
.ask-nav-bar {
  background-color: #ffffff;
  border-bottom: 1px solid var(--ask-border);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  position: sticky;
  top: 0;
  z-index: 100;
}

.ask-nav-bar-inner {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Фирменная зеленая кнопка «Каталог товаров» */
.ask-catalog-btn-wrap {
  flex-shrink: 0;
}

.ask-catalog-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--ask-green);
  color: #ffffff !important;
  font-size: 14.5px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 8px;
  transition: background-color 0.2s, transform 0.15s;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(14, 110, 68, 0.25);
}

.ask-catalog-btn:hover {
  background-color: var(--ask-green-hover);
  color: #ffffff;
}

.ask-hamburger-icon {
  display: inline-flex;
  flex-direction: column;
  gap: 3.5px;
  width: 16px;
}

.ask-hamburger-icon span {
  display: block;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
}

/* Основное меню ссылок */
.ask-menu-collapse {
  flex: 1;
}

.ask-main-nav {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 6px;
  flex-wrap: wrap;
}

.ask-nav-item > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 14px 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: #1f2937;
  transition: color 0.2s;
}

.ask-nav-item > a:hover {
  color: var(--ask-green);
}

.ask-caret {
  font-size: 10px;
  color: #9ca3af;
}

.ask-nav-item-active > a {
  color: var(--ask-orange);
  font-weight: 700;
}

/* Выпадающее меню подкатегорий из OpenCart */
.ask-has-dropdown {
  position: relative;
}

.ask-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff;
  min-width: 220px;
  list-style: none;
  margin: 0;
  padding: 8px 0;
  border-radius: var(--ask-radius-sm);
  border: 1px solid var(--ask-border);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  z-index: 250;
  animation: askFadeIn 0.2s ease;
}

@keyframes askFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ask-has-dropdown:hover > .ask-dropdown-menu {
  display: block;
}

.ask-dropdown-item a {
  display: block;
  padding: 8px 18px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ask-text-title);
  transition: background-color 0.15s, color 0.15s, padding-left 0.15s;
  white-space: nowrap;
}

.ask-dropdown-item a:hover {
  background-color: var(--ask-bg-light);
  color: var(--ask-orange);
  padding-left: 22px;
}

/* Двухколоночное подменю для ПК и планшетов (Минералы, По цели и др.) */
@media (min-width: 768px) {
  .ask-dropdown-menu--2col {
    min-width: 520px;
    width: max-content;
    max-width: 680px;
    padding: 10px 14px;
  }

  .ask-has-dropdown:hover > .ask-dropdown-menu--2col {
    display: grid;
    grid-template-columns: repeat(2, minmax(240px, 1fr));
    gap: 3px 16px;
  }

  .ask-dropdown-menu--2col .ask-dropdown-item a {
    padding: 7px 12px;
    border-radius: 6px;
    white-space: normal;
    word-break: normal;
    overflow: visible;
    text-overflow: clip;
    line-height: 1.35;
  }
}

.ask-mobile-toggle-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--ask-border);
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
}

/* ----------------------------------------------------
   5. Хлебные крошки (Breadcrumbs)
---------------------------------------------------- */
.ask-breadcrumbs {
  background: transparent;
  padding: 16px 0 10px 0;
  font-size: 13px;
}

.ask-breadcrumbs-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 8px;
}

.ask-breadcrumbs-item {
  display: flex;
  align-items: center;
  color: var(--ask-text-muted);
}

.ask-breadcrumbs-item a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--ask-text-muted);
}

.ask-breadcrumbs-item a:hover {
  color: var(--ask-orange);
}

.ask-breadcrumbs-item::after {
  content: "/";
  margin-left: 8px;
  color: #d1d5db;
}

.ask-breadcrumbs-item.active {
  color: var(--ask-text-title);
  font-weight: 600;
}

.ask-breadcrumbs-item.active::after {
  content: "";
  margin: 0;
}

/* ----------------------------------------------------
   6. Основной Layout (Сетка контента и Hero-блок)
---------------------------------------------------- */
.ask-layout-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

.ask-layout-full {
  grid-template-columns: 1fr;
  width: 100%;
}

.ask-layout-single {
  max-width: 980px;
  margin: 0 auto;
}

.ask-content-area {
  min-width: 0;
  width: 100%;
}

/* Фирменный Hero-блок блога (точно как в referens.png) */
.ask-blog-hero {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #edf2f0;
  box-shadow: 0 4px 20px rgba(16, 68, 56, 0.04);
  padding: 34px 38px;
  margin-bottom: 30px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.ask-blog-hero__content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ask-blog-hero__badge {
  display: inline-flex;
  align-self: flex-start;
  background-color: #5b55e8;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 6px;
  letter-spacing: 0.3px;
}

.ask-blog-hero__title {
  font-size: 32px;
  font-weight: 800;
  color: #142328;
  margin: 0;
  line-height: 1.2;
}

.ask-blog-hero__lead {
  font-size: 14px;
  line-height: 1.55;
  color: #5a6e74;
  margin: 0 0 12px 0;
}

/* Кнопки-фильтры по рубрикам (Pill Filters) */
.ask-filter-pills {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.ask-filter-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  background-color: #f1f5f9;
  color: #334e55;
  font-size: 13.5px;
  font-weight: 600;
  border-radius: 24px;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  text-decoration: none;
}

.ask-filter-pill:hover {
  background-color: #e2e8f0;
  color: #142328;
}

.ask-filter-pill.is-active {
  background-color: #5b55e8;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(91, 85, 232, 0.3);
}

/* Правая колонка баннера с поиском и иллюстрацией */
.ask-blog-hero__side {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-end;
}

.ask-hero-search-form {
  position: relative;
  display: flex;
  align-items: stretch;
  width: 100%;
  max-width: 330px;
  height: 44px;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.ask-hero-search-form:focus-within {
  border-color: #5b55e8;
  box-shadow: 0 0 0 3px rgba(91, 85, 232, 0.15);
}

.ask-hero-search-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 0 16px;
  font-size: 13.5px;
  color: #142328;
  background: transparent;
}

.ask-hero-search-input::placeholder {
  color: #94a3b8;
}

.ask-hero-search-btn {
  width: 44px;
  border: none;
  background: #5b55e8;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s;
}

.ask-hero-search-btn:hover {
  background: #4a43d9;
}

.ask-hero-pills-illu {
  width: 100%;
  max-width: 250px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.ask-hero-pills-illu img {
  width: 100%;
  height: auto;
  max-height: 90px;
  object-fit: contain;
}

/* ----------------------------------------------------
   Трёхколоночная сетка карточек статей (Grid 3 Col)
---------------------------------------------------- */
.ask-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 36px;
}

.ask-posts-grid--3col {
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ask-post-card {
  background-color: #ffffff;
  border-radius: 18px;
  border: 1px solid #edf2f0;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(16, 68, 56, 0.04);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s;
  display: flex;
  flex-direction: column;
}

.ask-post-card:hover {
  transform: translateY(-5px);
  border-color: #d7e4e0;
  box-shadow: 0 12px 28px rgba(16, 68, 56, 0.08);
}

.ask-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.ask-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9.6;
  overflow: hidden;
  background-color: #f1f5f9;
}

.ask-card-thumb-link {
  display: block;
  width: 100%;
  height: 100%;
}

.ask-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.ask-post-card:hover .ask-card-img {
  transform: scale(1.05);
}

.ask-card-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #94a3b8;
  gap: 6px;
  font-weight: 600;
  font-size: 12px;
}

/* Бейдж категории на карточке */
.ask-card-cat {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
}

.ask-card-cat a {
  display: inline-block;
  background-color: #ffffff;
  color: #0e6e44 !important;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: all 0.2s;
  text-decoration: none;
}

.ask-card-cat a:hover {
  background-color: #0e6e44;
  color: #ffffff !important;
}

/* Тело карточки */
.ask-card-body {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ask-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #8b9ea3;
  margin-bottom: 12px;
}

.ask-meta-date,
.ask-meta-reading {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.ask-meta-bullet {
  color: #cbd5e1;
}

.ask-card-title {
  font-size: 17.5px;
  font-weight: 700;
  line-height: 1.38;
  margin: 0 0 10px 0;
  min-height: 48px;
}

.ask-card-title a {
  color: #142328;
  text-decoration: none;
  transition: color 0.15s;
}

.ask-card-title a:hover {
  color: #5b55e8;
}

.ask-card-excerpt {
  color: #63777d;
  font-size: 13.5px;
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.ask-card-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
}

.ask-read-more-link {
  color: #5b55e8;
  font-weight: 700;
  font-size: 13.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: color 0.15s, transform 0.15s;
}

.ask-read-more-link svg {
  transition: transform 0.2s ease;
}

.ask-read-more-link:hover {
  color: #4a43d9;
}

.ask-read-more-link:hover svg {
  transform: translateX(4px);
}

/* ----------------------------------------------------
   7. Пагинация в стиле референса (#5b55e8)
---------------------------------------------------- */
.ask-pagination {
  margin: 40px 0 20px 0;
}

.ask-pagination-list {
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 8px;
}

.ask-pagination-item a,
.ask-pagination-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  font-size: 13.5px;
  font-weight: 700;
  border-radius: 8px;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  color: #334e55;
  text-decoration: none;
  transition: all 0.2s ease;
}

.ask-pagination-item a:hover {
  border-color: #5b55e8;
  color: #5b55e8;
  background-color: #f8fafc;
}

.ask-pagination-item.active span,
.ask-pagination-item span.current {
  background-color: #5b55e8;
  border-color: #5b55e8;
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(91, 85, 232, 0.3);
}

/* ----------------------------------------------------
   8. Отдельная статья (Single Post)
---------------------------------------------------- */
.ask-single-article {
  background-color: #ffffff;
  border-radius: var(--ask-radius-lg);
  border: 1px solid var(--ask-border);
  padding: 36px 40px;
  box-shadow: var(--ask-shadow);
  margin-bottom: 32px;
}

.ask-article-header {
  margin-bottom: 24px;
}

.ask-article-category-badge {
  margin-bottom: 12px;
}

.ask-article-category-badge a {
  display: inline-block;
  background-color: var(--ask-green-light);
  color: var(--ask-green);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
}

.ask-article-title {
  font-size: 32px;
  color: var(--ask-text-title);
  line-height: 1.3;
  margin-bottom: 16px;
}

.ask-article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13.5px;
  color: var(--ask-text-muted);
  padding-bottom: 18px;
  border-bottom: 1px solid var(--ask-border);
}

.ask-article-cover {
  margin: 0 -40px 32px -40px;
  background-color: #f8fafc;
}

.ask-cover-img {
  width: 100%;
  max-height: 540px;
  object-fit: cover;
}

.ask-entry-content {
  font-size: 16px;
  line-height: 1.8;
  color: #334155;
}

.ask-entry-content h2 {
  font-size: 24px;
  color: #0f172a;
  margin-top: 38px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--ask-green-light);
}

.ask-entry-content h3 {
  font-size: 20px;
  color: #1e293b;
  margin-top: 28px;
  margin-bottom: 12px;
}

.ask-entry-content blockquote {
  margin: 24px 0;
  padding: 18px 24px;
  border-left: 4px solid var(--ask-green);
  background-color: var(--ask-green-light);
  color: #064e3b;
  border-radius: 0 8px 8px 0;
  font-style: italic;
}

/* CTA баннер внутри статьи в стиле сайта */
.ask-article-cta-box {
  margin: 40px 0;
  padding: 28px 32px;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 1px solid #fde68a;
  border-radius: var(--ask-radius);
}

.ask-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.ask-cta-text h4 {
  font-size: 19px;
  color: #92400e;
  margin-bottom: 6px;
}

.ask-cta-text p {
  color: #78350f;
  margin-bottom: 0;
  font-size: 14.5px;
}

.ask-cta-action .ask-btn {
  background-color: var(--ask-orange);
  color: #ffffff !important;
  font-size: 15px;
  padding: 12px 26px;
  border-radius: 8px;
}

.ask-cta-action .ask-btn:hover {
  background-color: var(--ask-orange-hover);
}

/* Футер статьи */
.ask-article-footer {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--ask-border);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ask-article-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.ask-tag-pill {
  display: inline-block;
  background-color: #f1f5f9;
  color: #475569;
  font-size: 12.5px;
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid var(--ask-border);
  transition: all 0.2s;
}

.ask-tag-pill:hover {
  background-color: var(--ask-green);
  color: #ffffff;
  border-color: var(--ask-green);
}

.ask-share-box {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.ask-share-tg {
  background-color: #229ed9;
  border-color: #229ed9;
  color: #ffffff !important;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ask-share-copy {
  background: #ffffff;
  border: 1px solid var(--ask-border);
  color: var(--ask-text-title);
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ask-share-copy:hover {
  border-color: var(--ask-orange);
  color: var(--ask-orange);
}

/* Навигация между статьями */
.ask-post-navigation .nav-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 32px 0;
}

.ask-post-navigation a {
  display: flex;
  flex-direction: column;
  padding: 18px 22px;
  background-color: #ffffff;
  border: 1px solid var(--ask-border);
  border-radius: var(--ask-radius);
  box-shadow: var(--ask-shadow-sm);
  transition: border-color 0.2s, transform 0.2s;
}

.ask-post-navigation a:hover {
  border-color: var(--ask-orange);
  transform: translateY(-2px);
}

.ask-nav-subtitle {
  font-size: 12px;
  color: var(--ask-text-muted);
  margin-bottom: 4px;
}

.ask-nav-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ask-text-title);
}

/* Похожие статьи */
.ask-related-posts {
  margin: 44px 0;
}

.ask-related-title {
  font-size: 22px;
  margin-bottom: 22px;
}

.ask-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

/* ----------------------------------------------------
   9. Боковая колонка (Sidebar)
---------------------------------------------------- */
.ask-sidebar-area {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.ask-widget {
  background-color: #ffffff;
  border-radius: var(--ask-radius-lg);
  border: 1px solid var(--ask-border);
  padding: 24px;
  box-shadow: var(--ask-shadow-sm);
}

.ask-widget-title {
  font-size: 16px;
  color: var(--ask-text-title);
  font-weight: 700;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ask-green);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Фирменный промо-виджет как баннер со скриншота 2 */
.ask-widget-promo {
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 50%, #fef3c7 100%);
  border: 1px solid #bbf7d0;
}

.ask-promo-tag {
  display: inline-block;
  background-color: #ffffff;
  color: var(--ask-green);
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.ask-promo-title {
  color: var(--ask-text-title);
  font-size: 20px;
  line-height: 1.3;
  margin-bottom: 8px;
}

.ask-promo-desc {
  font-size: 13.5px;
  color: #4b5563;
  line-height: 1.5;
  margin-bottom: 16px;
}

.ask-promo-features {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: #065f46;
  margin-bottom: 18px;
}

/* Список рубрик блога */
.ask-cat-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ask-cat-item {
  border-bottom: 1px solid #f3f4f6;
}

.ask-cat-item:last-child {
  border-bottom: none;
}

.ask-cat-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 0;
  color: var(--ask-text-body);
  font-size: 14px;
}

.ask-cat-item a:hover {
  color: var(--ask-orange);
  padding-left: 6px;
}

.ask-cat-count {
  background-color: #f3f4f6;
  color: var(--ask-text-muted);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
}

/* Свежие публикации */
.ask-recent-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ask-recent-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ask-recent-thumb {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
  background-color: #f1f5f9;
}

.ask-recent-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ask-recent-title {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ask-text-title);
  line-height: 1.4;
  margin-bottom: 4px;
}

.ask-recent-title:hover {
  color: var(--ask-orange);
}

.ask-recent-date {
  font-size: 11.5px;
  color: var(--ask-text-muted);
}

/* ----------------------------------------------------
   10. Комментарии (Comments)
---------------------------------------------------- */
.ask-comments-area {
  background-color: #ffffff;
  border-radius: var(--ask-radius-lg);
  border: 1px solid var(--ask-border);
  padding: 36px;
  margin-top: 32px;
}

.ask-comments-title {
  font-size: 22px;
  margin-bottom: 24px;
}

.ask-comment-list {
  list-style: none;
  margin: 0 0 32px 0;
  padding: 0;
}

.ask-comment-list .comment {
  padding: 16px 0;
  border-bottom: 1px solid #f1f5f9;
}

.ask-comment-list .comment-author {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.ask-comment-list .avatar {
  border-radius: 50%;
}

.ask-form-group {
  margin-bottom: 16px;
}

.ask-form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ask-text-body);
  margin-bottom: 6px;
}

.ask-form-control,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
  width: 100%;
  padding: 11px 16px;
  font-size: 14px;
  border: 1px solid var(--ask-border);
  border-radius: 8px;
  background-color: #f9fafb;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s, background-color 0.2s;
}

.ask-form-control:focus,
.comment-form input:focus,
.comment-form textarea:focus {
  background-color: #ffffff;
  border-color: var(--ask-orange);
  box-shadow: 0 0 0 3px rgba(240, 81, 35, 0.15);
}

.comment-form .submit {
  background-color: var(--ask-orange);
  color: #ffffff;
  border: none;
  padding: 11px 24px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
}

.comment-form .submit:hover {
  background-color: var(--ask-orange-hover);
}

/* ----------------------------------------------------
   11. Фирменный подвал (Footer - Askorbinka.uz OpenCart)
---------------------------------------------------- */
.footer {
  background: linear-gradient(90deg, #004f37, #005b3c 55%, #004c34);
  color: #fff;
  margin-top: auto;
  font-family: inherit;
}

.footer .container {
  width: min(1440px, calc(100% - 48px));
  margin: 0 auto;
}

.footer-grid {
  padding: 32px 0 36px;
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 0.85fr 0.8fr 1.15fr 1.55fr;
  gap: 34px;
}

.brand--footer {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.brand--footer img {
  max-height: 26px;
  max-width: 140px;
  width: auto;
  display: block;
}

.footer p {
  font-size: 11px;
  line-height: 1.5;
  color: #cae1da;
  margin: 0 0 14px 0;
}

.footer h4 {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
}

.footer-grid > div > a,
.footer-grid > div > span {
  display: block;
  color: #d2e5df;
  font-size: 11px;
  line-height: 1.8;
  transition: color 0.2s ease;
}

.footer-grid > div > a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Соцсети в подвале */
.footer .socials {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.footer .socials .social-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: background 0.2s ease, transform 0.2s ease;
}

.footer .socials .social-icon:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  color: #ffffff;
}

.footer .contacts span,
.footer .contacts a {
  display: block;
  color: #d2e5df;
  font-size: 11px;
  line-height: 1.8;
}

.footer .tg {
  margin-top: 9px;
  background: #19b65f;
  border-radius: 999px;
  padding: 7px 14px !important;
  color: #ffffff !important;
  text-align: center;
  font-weight: 700;
  display: inline-block;
  text-decoration: none !important;
  transition: background 0.2s ease, transform 0.2s ease;
}

.footer .tg:hover {
  background: #159c51;
  transform: translateY(-1px);
}

/* Форма подписки на рассылку */
.footer .subscribe form {
  display: flex;
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  margin: 10px 0 14px 0;
}

.footer .subscribe input {
  border: 0;
  padding: 10px 12px;
  min-width: 0;
  flex: 1;
  font-size: 12px;
  color: #12303b;
  outline: none;
}

.footer .subscribe button {
  border: 0;
  background: #ff5a13;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 0 14px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.footer .subscribe button:hover {
  background: #e04a0b;
}

.footer .payments {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 11px;
  flex-wrap: wrap;
  color: #ffffff;
}

.footer .payments b {
  font-weight: 800;
  letter-spacing: 0.5px;
  opacity: 0.9;
}

.footer-bottom {
  font-size: 12px;
  color: #a4c4b9;
  text-align: center;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-bottom a {
  color: #e2f1ec;
  font-weight: 600;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.footer-bottom a:hover {
  color: #ffffff;
}

@media (max-width: 1200px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .footer-brand,
  .footer .subscribe {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ----------------------------------------------------
   12. Кнопка «Наверх»
---------------------------------------------------- */
.ask-scroll-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 46px;
  height: 46px;
  background-color: var(--ask-orange);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(240, 81, 35, 0.4);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  z-index: 999;
}

.ask-scroll-top:hover {
  background-color: var(--ask-orange-hover);
  transform: translateY(-3px);
}

.ask-scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

/* ----------------------------------------------------
   13. 404 и пустые состояния
---------------------------------------------------- */
.ask-404-box,
.ask-no-posts-box,
.ask-no-results-box {
  background-color: #ffffff;
  border-radius: var(--ask-radius-lg);
  border: 1px solid var(--ask-border);
  padding: 56px 36px;
  text-align: center;
  max-width: 680px;
  margin: 30px auto;
  box-shadow: var(--ask-shadow);
}

.ask-404-number {
  font-size: 88px;
  font-weight: 800;
  color: var(--ask-orange);
  line-height: 1;
  margin-bottom: 12px;
}

/* ----------------------------------------------------
   14. Адаптивность (Responsive)
---------------------------------------------------- */
@media (max-width: 1100px) {
  .ask-header-user-nav {
    display: none;
  }
}

@media (max-width: 991px) {
  .ask-layout-wrap {
    grid-template-columns: 1fr;
  }

  .ask-header-contacts {
    display: none;
  }

  .ask-header-row {
    flex-wrap: wrap;
  }

  .ask-search-col {
    order: 3;
    max-width: 100%;
    width: 100%;
  }

  .ask-mobile-toggle-btn {
    display: inline-flex;
  }

  .ask-menu-collapse {
    display: none;
  }

  .ask-menu-collapse.show {
    display: block;
    padding-bottom: 16px;
    width: 100%;
  }

  .ask-main-nav {
    flex-direction: column;
    align-items: stretch;
  }

  .ask-nav-item > a {
    padding: 10px 0;
    border-bottom: 1px solid #f3f4f6;
  }

  .ask-has-dropdown:hover > .ask-dropdown-menu {
    display: none;
  }

  .ask-has-dropdown.open > .ask-dropdown-menu {
    display: block;
    position: static;
    box-shadow: none;
    border: none;
    padding-left: 16px;
    background-color: #f9fafb;
    border-radius: 6px;
    margin: 4px 0 8px 0;
  }

  .ask-footer-features {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ask-footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Адаптивность Hero-баннера блога */
  .ask-blog-hero {
    grid-template-columns: 1fr;
    padding: 24px 20px;
    gap: 20px;
  }

  .ask-blog-hero__side {
    align-items: stretch;
    width: 100%;
  }

  .ask-hero-search-form {
    max-width: 100%;
  }

  .ask-hero-pills-illu {
    display: none;
  }

  .ask-posts-grid--3col {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

@media (max-width: 640px) {
  .ask-top-usp-bar {
    display: none;
  }

  .ask-posts-grid,
  .ask-posts-grid--3col {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ask-blog-hero__title {
    font-size: 24px;
  }

  .ask-filter-pills {
    gap: 6px;
  }

  .ask-filter-pill {
    padding: 6px 14px;
    font-size: 12.5px;
  }

  .ask-single-article {
    padding: 22px;
  }

  .ask-article-cover {
    margin: 0 -22px 22px -22px;
  }

  .ask-article-title {
    font-size: 24px;
  }

  .ask-post-navigation .nav-links {
    grid-template-columns: 1fr;
  }

  .ask-footer-grid {
    grid-template-columns: 1fr;
  }

  .ask-footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
