/* ==========================================================================
   Fetish Store / Editorial Styles
   Premium Editorial & Glossy Aesthetics
   ========================================================================== */

/* Master Container */
.blog-page,
.blog-article-page {
  max-width: 1220px;
  margin: 0 auto;
  padding: 18px 0 76px;
  position: relative;
}

/* === GLOSSY SHIMMER & ACCENT ANIMATIONS === */
@keyframes blog-shimmer {
  0% { transform: translateX(-150%) rotate(25deg); }
  100% { transform: translateX(250%) rotate(25deg); }
}

@keyframes blog-pulse-glow {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.05); }
}

.blog-hero-actions .btn-cta,
.blog-closing-cta .btn-cta,
.blog-aside-card .btn-cta,
.blog-btn-main {
  position: relative;
  overflow: hidden;
  box-shadow: var(--btn-shadow);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-hero-actions .btn-cta::after,
.blog-closing-cta .btn-cta::after,
.blog-aside-card .btn-cta::after,
.blog-btn-main::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent 30%,
    rgba(255, 255, 255, 0.25) 50%,
    transparent 70%
  );
  transform: translateX(-150%) rotate(25deg);
  pointer-events: none;
}

.blog-hero-actions .btn-cta:hover::after,
.blog-closing-cta .btn-cta:hover::after,
.blog-aside-card .btn-cta:hover::after,
.blog-btn-main:hover::after {
  animation: blog-shimmer 1.2s ease-in-out infinite;
}

.blog-hero-actions .btn-cta:hover,
.blog-closing-cta .btn-cta:hover,
.blog-aside-card .btn-cta:hover,
.blog-btn-main:hover {
  transform: translateY(-2px);
  box-shadow: var(--btn-shadow-hover);
}

/* === HERO SECTION === */
.blog-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.85fr);
  gap: 32px;
  align-items: stretch;
  padding: 48px clamp(20px, 4vw, 56px);
  border-radius: 28px;
  background: radial-gradient(120% 140% at 90% 10%, var(--acc-glow) 0%, var(--acc-subtle) 35%, var(--bg-card-solid) 100%);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  margin-bottom: 24px;
  overflow: hidden;
}

.blog-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -80px;
  width: 320px;
  height: 320px;
  background: var(--acc-glow);
  filter: blur(80px);
  pointer-events: none;
  border-radius: 50%;
  animation: blog-pulse-glow 6s infinite alternate;
}

.blog-hero-main {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--acc);
  margin-bottom: 14px;
}

.blog-eyebrow-mark {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--acc);
  box-shadow: 0 0 8px var(--acc);
}

.blog-hero h1 {
  font-size: var(--fs-display);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.035em;
  margin: 0 0 16px;
  color: var(--ink-heading);
}

.blog-hero-lead {
  font-size: clamp(15px, 1.25vw, 17px);
  line-height: 1.6;
  color: var(--mut);
  margin: 0 0 26px;
  max-width: 580px;
}

.blog-hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.blog-hero-note {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  background: var(--bg-surface);
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.blog-hero-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 20px;
  background: var(--bg-card);
  border: 1px solid var(--line);
}

.blog-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.blog-hero-trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.blog-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--mut);
}

.blog-trust-icon {
  font-size: 15px;
}

.blog-hero-media-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  background: rgba(15, 10, 25, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

@keyframes pulse-dot {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.blog-hero-note:hover .blog-hero-media img {
  transform: scale(1.03);
}

.blog-hero-note-top {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--mut);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.blog-note-number {
  color: var(--acc);
  font-weight: 800;
}

.blog-hero-note-line {
  height: 1px;
  background: var(--line);
  margin: 18px 0;
}

.blog-hero-note p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink);
  margin: 0 0 20px;
}

.blog-hero-note-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--dim);
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

/* === EDITORIAL PRINCIPLES STRIP === */
/* === CATEGORIES NAV === */
.blog-categories {
  margin-bottom: 48px;
}

.blog-section-intro {
  margin-bottom: 18px;
}

.blog-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--acc);
  margin-bottom: 6px;
}

.blog-section-intro h2,
.blog-section-heading h2,
.blog-library-header h2 {
  font-size: var(--fs-h2);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink-heading);
}

.blog-category-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.blog-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  background: var(--bg-card-solid);
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.blog-category::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--acc-gradient);
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 0;
}

.blog-category > * {
  position: relative;
  z-index: 1;
}

.blog-category-icon {
  font-size: 16px;
  color: var(--acc);
}

.blog-category small {
  font-size: 11px;
  color: var(--dim);
  font-weight: 500;
}

.blog-category:hover {
  border-color: var(--acc-subtle-border);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.blog-category.is-active {
  color: #ffffff;
  border-color: transparent;
  box-shadow: var(--btn-shadow);
}

.blog-category.is-active::before {
  opacity: 1;
  background: linear-gradient(135deg, #77113d 0%, #b01255 100%);
}

.blog-category.is-active .blog-category-icon,
.blog-category.is-active small {
  color: rgba(255, 255, 255, 0.85);
}

/* === FEATURED ARTICLES === */
.blog-featured {
  margin-bottom: 56px;
}

.blog-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 22px;
  gap: 16px;
}

.blog-section-heading p {
  color: var(--mut);
  font-size: 14px;
  margin: 0;
}

.blog-featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.blog-featured-card {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  background: var(--bg-card-solid);
  border: 1px solid var(--line);
  overflow: hidden;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
}

.blog-featured-card:hover {
  border-color: var(--acc-subtle-border);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md), 0 0 20px var(--acc-subtle);
}

.blog-featured-media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--bg-photo-placeholder);
}

.blog-featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-featured-card:hover .blog-featured-media img {
  transform: scale(1.04);
}

.blog-cover-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, var(--acc-subtle) 0%, var(--bg-card-solid) 80%);
  color: var(--ink);
  gap: 8px;
}

.blog-cover-fallback span {
  font-size: 32px;
}

.blog-cover-fallback em {
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  color: var(--mut);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.blog-featured-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 2;
}

.blog-featured-index {
  background: rgba(15, 17, 21, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line-strong);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 8px;
}

.blog-format-chip {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(126, 34, 206, 0.9);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  z-index: 2;
}

.blog-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.blog-featured-content {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--mut);
  margin-bottom: 10px;
}

.blog-featured-content h3 {
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink-heading);
  margin: 0 0 8px;
  letter-spacing: -0.015em;
}

.blog-featured-content p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--mut);
  margin: 0 0 18px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-read-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--acc);
  transition: gap 0.2s ease;
}

.blog-featured-card:hover .blog-read-link {
  gap: 10px;
}

/* === LIBRARY & SEARCH === */
.blog-library {
  margin-bottom: 64px;
}

.blog-library-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 28px;
  gap: 24px;
  flex-wrap: wrap;
}

.blog-section-description {
  font-size: 14px;
  color: var(--mut);
  margin: 6px 0 0;
}

.blog-search-result {
  font-size: 13px;
  color: var(--mut);
  margin-top: 6px;
}

.blog-search-result a {
  color: var(--acc);
  text-decoration: underline;
  margin-left: 8px;
}

.blog-search {
  display: flex;
  align-items: center;
  position: relative;
  min-width: 320px;
}

.blog-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.blog-search-symbol {
  position: absolute;
  left: 14px;
  color: var(--mut);
  font-size: 16px;
  pointer-events: none;
}

.blog-search input {
  width: 100%;
  height: 42px;
  padding: 0 80px 0 38px;
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  color: var(--ink);
  font-size: 13.5px;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  transition: all 0.2s ease;
}

.blog-search input:focus {
  outline: none;
  border-color: var(--acc);
  box-shadow: 0 0 0 3px var(--acc-glow);
  background: var(--bg-input-focus);
}

.blog-search-clear {
  position: absolute;
  right: 76px;
  color: var(--dim);
  font-size: 18px;
  line-height: 1;
  padding: 4px;
}

.blog-search-clear:hover {
  color: var(--acc);
}

.blog-search button {
  position: absolute;
  right: 4px;
  height: 34px;
  padding: 0 14px;
  border-radius: 18px;
  background: var(--acc-subtle);
  border: 1px solid var(--acc-subtle-border);
  color: var(--acc-hover);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.blog-search button:hover {
  background: var(--acc);
  color: #ffffff;
}

/* === ARTICLE CARDS GRID === */
.blog-article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}

.blog-article-card {
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  background: var(--bg-card-solid);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-article-card:hover {
  border-color: var(--acc-subtle-border);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.blog-article-media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--bg-photo-placeholder);
  display: block;
}

.blog-article-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.blog-article-card:hover .blog-article-media img {
  transform: scale(1.04);
}

.blog-media-label {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(15, 17, 21, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
}

.blog-article-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-article-body h3 {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 8px;
}

.blog-article-body h3 a {
  color: var(--ink-heading);
}

.blog-article-body h3 a:hover {
  color: var(--acc);
}

.blog-article-body p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--mut);
  margin: 0 0 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-pagination {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

.blog-pagination .pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.blog-pagination svg {
  width: 16px !important;
  height: 16px !important;
  max-width: 16px !important;
  max-height: 16px !important;
}

/* === EMPTY STATE === */
.blog-empty-state {
  text-align: center;
  padding: 56px 20px;
  background: var(--bg-card);
  border: 1px dashed var(--line-strong);
  border-radius: 20px;
}

.blog-empty-mark {
  font-size: 42px;
  color: var(--dim);
  display: block;
  margin-bottom: 12px;
}

.blog-empty-state h3 {
  font-size: var(--fs-h3);
  color: var(--ink-heading);
  margin-bottom: 6px;
}

.blog-empty-state p {
  color: var(--mut);
  font-size: 14px;
  margin-bottom: 20px;
}

/* === CLOSING CTA BANNER === */
.blog-closing-cta {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding: 42px clamp(20px, 4vw, 48px);
  border-radius: 24px;
  background: radial-gradient(100% 120% at 80% 20%, var(--acc-glow) 0%, var(--bg-card-solid) 80%);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  margin-top: 54px;
}

.blog-closing-cta h2 {
  font-size: var(--fs-h2);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  color: var(--ink-heading);
}

.blog-closing-cta p {
  font-size: 14.5px;
  color: var(--mut);
  margin: 0;
  max-width: 580px;
}

.blog-closing-cta .btn-cta {
  white-space: nowrap;
  padding: 14px 28px;
  font-size: 14.5px;
}

/* ==========================================================================
   ARTICLE DETAIL PAGE & TABLE OF CONTENTS
   ========================================================================== */
.blog-reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: transparent;
  z-index: 1000;
  pointer-events: none;
}

.blog-reading-progress div {
  width: 0%;
  height: 100%;
  background: var(--acc-gradient);
  box-shadow: 0 0 10px var(--acc);
  transition: width 0.1s ease-out;
}

.blog-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--dim);
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.blog-breadcrumbs a {
  color: var(--mut);
}

.blog-breadcrumbs a:hover {
  color: var(--acc);
}

.blog-breadcrumbs strong {
  color: var(--ink-heading);
  font-weight: 500;
}

.blog-article-paper {
  background: var(--bg-card-solid);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(24px, 4vw, 48px);
  box-shadow: var(--shadow-sm);
  margin-bottom: 56px;
}

.blog-article-header {
  margin-bottom: 32px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 28px;
}

.blog-article-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--mut);
  font-weight: 600;
  margin-bottom: 12px;
}

.blog-article-kicker a {
  color: var(--acc);
}

.blog-article-header h1 {
  font-size: var(--fs-h1);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  color: var(--ink-heading);
}

.blog-article-lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--mut);
  margin: 0 0 24px;
}

.blog-article-byline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.blog-author-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--acc-gradient);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  box-shadow: 0 2px 10px var(--acc-glow);
}

.blog-article-byline > div:nth-child(2) {
  display: flex;
  flex-direction: column;
  font-size: 13px;
}

.blog-article-byline > div:nth-child(2) strong {
  color: var(--ink-heading);
}

.blog-article-byline > div:nth-child(2) span {
  color: var(--dim);
  font-size: 12px;
}

.blog-article-stats {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--mut);
}

.blog-article-stats button {
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  color: var(--ink);
  padding: 6px 12px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.blog-article-stats button:hover {
  border-color: var(--acc);
  color: var(--acc);
}

.blog-article-cover {
  border-radius: 18px;
  overflow: hidden;
  margin: 0 0 36px;
  background: var(--bg-photo-placeholder);
  aspect-ratio: 16 / 9;
}

.blog-article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-cover-fallback--large {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, var(--acc-subtle) 0%, var(--bg-card-solid) 80%);
}

.blog-cover-fallback--large span {
  font-size: 54px;
}

.blog-cover-fallback--large em {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink-heading);
  margin-top: 8px;
}

.blog-cover-fallback--large small {
  color: var(--dim);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

/* === ARTICLE LAYOUT (BODY & STICKY ASIDE) === */
.blog-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 42px;
  align-items: start;
}

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

/* === PROSE EDITORIAL STYLING === */
.blog-prose {
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--ink);
}

.blog-prose h2 {
  font-size: var(--fs-h2);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 40px 0 16px;
  color: var(--ink-heading);
  scroll-margin-top: 80px;
}

.blog-prose h3 {
  font-size: 19px;
  font-weight: 700;
  margin: 28px 0 12px;
  color: var(--ink-heading);
  scroll-margin-top: 80px;
}

.blog-prose p {
  margin: 0 0 20px;
}

.blog-prose ul,
.blog-prose ol {
  margin: 0 0 24px 20px;
  padding: 0;
}

.blog-prose li {
  margin-bottom: 8px;
}

.blog-prose blockquote {
  margin: 28px 0;
  padding: 20px 24px;
  border-left: 3px solid var(--acc);
  background: var(--acc-subtle);
  border-radius: 0 14px 14px 0;
  font-style: italic;
  color: var(--ink-heading);
}

.blog-callout {
  margin: 28px 0;
  padding: 20px 24px;
  border-radius: 16px;
  border: 1px solid var(--line-strong);
  background: var(--bg-surface);
}

.blog-callout--tip {
  border-color: var(--acc-subtle-border);
  background: var(--acc-subtle);
}

.blog-callout--safety {
  border-color: rgba(34, 197, 94, 0.4);
  background: rgba(34, 197, 94, 0.06);
}

.blog-callout-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  color: var(--ink-heading);
}

.blog-callout p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
}

.blog-prose img {
  border-radius: 14px;
  margin: 28px 0;
  border: 1px solid var(--line);
}

/* Interactive Checklist inside articles */
.blog-checklist {
  list-style: none !important;
  margin: 24px 0 !important;
  padding: 0 !important;
}

.blog-checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  margin-bottom: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.blog-checklist-item:hover {
  background: var(--bg-surface-hover);
  border-color: var(--acc-subtle-border);
}

.blog-checklist-item.is-checked {
  background: var(--acc-subtle);
  border-color: var(--acc-subtle-border);
}

.blog-checklist-checkbox {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 2px solid var(--dim);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all 0.2s ease;
}

.blog-checklist-item.is-checked .blog-checklist-checkbox {
  background: var(--acc);
  border-color: var(--acc);
  color: #ffffff;
}

.blog-checklist-item.is-checked .blog-checklist-text {
  text-decoration: line-through;
  color: var(--mut);
}

/* === SIDEBAR & TABLE OF CONTENTS (TOC) === */
.blog-article-aside {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.blog-toc {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

.blog-toc-title {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--acc);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.blog-toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.blog-toc-link {
  display: block;
  font-size: 13px;
  color: var(--mut);
  text-decoration: none;
  line-height: 1.4;
  padding: 4px 8px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.blog-toc-link.is-h3 {
  padding-left: 18px;
  font-size: 12px;
}

.blog-toc-link:hover {
  color: var(--ink-heading);
  background: var(--bg-surface-hover);
}

.blog-toc-link.is-active {
  color: var(--acc-hover);
  background: var(--acc-subtle);
  font-weight: 700;
  border-left: 2px solid var(--acc);
  border-radius: 0 8px 8px 0;
}

.blog-aside-card {
  padding: 24px;
  background: radial-gradient(120% 120% at 90% 10%, var(--acc-subtle) 0%, var(--bg-card-solid) 90%);
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}

.blog-aside-card h2 {
  font-size: var(--fs-h2);
  font-weight: 700;
  margin: 6px 0 8px;
  color: var(--ink-heading);
}

.blog-aside-card p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--mut);
  margin: 0 0 16px;
}

.blog-aside-card .btn-cta {
  width: 100%;
  text-align: center;
  padding: 10px 16px;
  font-size: 13.5px;
}

.blog-aside-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 13px;
  color: var(--mut);
  text-decoration: none;
  transition: all 0.2s ease;
}

.blog-aside-link:hover {
  border-color: var(--acc-subtle-border);
  color: var(--acc);
}

/* === TAGS & SHARE FOOTER === */
.blog-article-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.blog-article-tags > span {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--dim);
  margin-right: 4px;
}

.blog-article-tags a {
  padding: 5px 10px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12px;
  color: var(--mut);
  text-decoration: none;
}

.blog-article-tags a:hover {
  border-color: var(--acc);
  color: var(--acc);
}

.blog-article-share {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--bg-surface);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  margin-top: 32px;
}

.blog-article-share strong {
  display: block;
  font-size: 14px;
  color: var(--ink-heading);
  margin-bottom: 2px;
}

.blog-article-share span {
  font-size: 12.5px;
  color: var(--mut);
}

.blog-article-share button {
  background: var(--acc-subtle);
  border: 1px solid var(--acc-subtle-border);
  color: var(--acc-hover);
  padding: 9px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.blog-article-share button:hover {
  background: var(--acc);
  color: #ffffff;
}

/* === CATALOG CONVERSION PROMO === */
.blog-catalog-promo {
  margin: 54px 0 0;
  padding: 30px clamp(18px, 3vw, 34px);
  background: radial-gradient(120% 140% at 90% 0%, var(--acc-subtle) 0%, var(--bg-card-solid) 72%);
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.blog-catalog-promo-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 26px;
}

.blog-catalog-promo-header h2 {
  margin: 4px 0 6px;
  color: var(--ink-heading);
  font-size: var(--fs-h2);
  font-weight: 700;
  letter-spacing: -0.025em;
}

.blog-catalog-promo-header p {
  max-width: 620px;
  margin: 0;
  color: var(--mut);
  font-size: 13.5px;
}

.blog-catalog-promo-actions {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}

.blog-catalog-block + .blog-catalog-block {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.blog-catalog-block-title {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--ink-heading);
  font-size: 13px;
  font-weight: 750;
}

.blog-catalog-block-title small {
  color: var(--dim);
  font-size: 11px;
  font-weight: 500;
}

.blog-listing-mini-grid,
.blog-seller-mini-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.blog-listing-mini-card,
.blog-seller-mini-card {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 10px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 13px;
  color: var(--ink);
  transition: all 0.2s ease;
}

.blog-listing-mini-card:hover,
.blog-seller-mini-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--acc-subtle-border);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.blog-listing-mini-media {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 58px;
  flex: 0 0 52px;
  overflow: hidden;
  border-radius: 9px;
  background: radial-gradient(circle at center, var(--acc-subtle), var(--bg-photo-placeholder));
  color: var(--acc);
  font-size: 19px;
}

.blog-listing-mini-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-listing-mini-info,
.blog-seller-mini-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1;
}

.blog-listing-mini-info strong,
.blog-seller-mini-info strong {
  overflow: hidden;
  color: var(--ink-heading);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.blog-listing-mini-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  font-size: 11px;
}

.blog-listing-mini-meta b {
  color: var(--acc);
  font-weight: 750;
  white-space: nowrap;
}

.blog-listing-mini-meta em {
  overflow: hidden;
  color: var(--dim);
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.blog-listing-mini-arrow {
  flex: 0 0 auto;
  color: var(--dim);
  font-size: 16px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.blog-listing-mini-card:hover .blog-listing-mini-arrow,
.blog-seller-mini-card:hover .blog-listing-mini-arrow {
  color: var(--acc);
  transform: translate(2px, -2px);
}

.blog-seller-mini-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  overflow: hidden;
  border-radius: 50%;
  background: var(--acc-gradient);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 3px 10px var(--acc-glow);
}

.blog-seller-mini-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-seller-mini-info span {
  color: var(--mut);
  font-size: 11px;
}

/* === RELATED SECTION === */
.blog-related {
  margin-top: 56px;
}

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

.blog-related-card {
  display: flex;
  flex-direction: column;
  padding: 22px;
  background: var(--bg-card-solid);
  border: 1px solid var(--line);
  border-radius: 18px;
  text-decoration: none;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-related-card:hover {
  border-color: var(--acc-subtle-border);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.blog-related-card h3 {
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink-heading);
  margin: 0 0 8px;
}

.blog-related-card p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--mut);
  margin: 0 0 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* === TOAST NOTIFICATION === */
.blog-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: var(--bg-card-solid);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  color: var(--ink-heading);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.25s ease;
  font-size: 13.5px;
  font-weight: 600;
}

.blog-toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.blog-toast .toast-icon {
  color: var(--acc);
  font-weight: 900;
}

/* === SELLER READINESS CHECKLIST WIDGET === */
.blog-checklist-widget {
  margin-bottom: 40px;
}

.blog-checklist-card {
  padding: 32px 28px;
  background: radial-gradient(100% 120% at 20% 0%, var(--acc-subtle) 0%, var(--bg-card-solid) 100%);
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
}

.blog-checklist-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  margin-bottom: 24px;
}

.blog-checklist-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--acc-gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  box-shadow: 0 4px 16px var(--acc-glow);
}

.blog-checklist-header h2 {
  font-size: var(--fs-h2);
  font-weight: 700;
  margin: 4px 0 6px;
  color: var(--ink-heading);
}

.blog-checklist-header p {
  margin: 0;
  font-size: 13.5px;
  color: var(--mut);
}

.blog-checklist-progress-wrap {
  text-align: right;
  min-width: 120px;
}

.blog-checklist-progress-num {
  font-size: 14px;
  font-weight: 800;
  color: var(--acc);
  margin-bottom: 6px;
}

.blog-checklist-bar {
  width: 100%;
  height: 6px;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}

.blog-checklist-bar div {
  height: 100%;
  background: var(--acc-gradient);
  transition: width 0.35s ease;
}

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

.blog-check-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.blog-check-item:hover {
  border-color: var(--acc-subtle-border);
  background: var(--bg-card);
}

.blog-check-item input {
  display: none;
}

.blog-custom-check {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  border: 2px solid var(--line-strong);
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all 0.2s ease;
}

.blog-check-item input:checked + .blog-custom-check {
  background: var(--acc);
  border-color: var(--acc);
}

.blog-check-item input:checked + .blog-custom-check::after {
  content: '✓';
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.blog-check-info strong {
  display: block;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 3px;
}

.blog-check-info small {
  display: block;
  font-size: 12px;
  color: var(--mut);
  line-height: 1.4;
}

.blog-checklist-footer {
  margin-top: 20px;
  padding: 16px 20px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeIn 0.3s ease;
}

.blog-checklist-success-msg {
  font-size: 14px;
  color: #4ade80;
}

.bubble-speaker {
  display: block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--acc);
  margin-bottom: 4px;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 12.5px;
}

/* === RESPONSIVE RULES === */
@media (max-width: 980px) {
  .blog-checklist-grid {
    grid-template-columns: 1fr;
  }
  .blog-checklist-header {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .blog-checklist-progress-wrap {
    text-align: left;
  }
  .blog-hero {
    grid-template-columns: 1fr;
    padding: 36px 24px;
  }
  .blog-featured-grid,
  .blog-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .blog-article-layout {
    grid-template-columns: 1fr;
  }
  .blog-article-aside {
    position: static;
  }
  .blog-listing-mini-grid,
  .blog-seller-mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .blog-catalog-promo-header {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .blog-listing-mini-grid,
  .blog-seller-mini-grid {
    grid-template-columns: 1fr;
  }
  .blog-catalog-promo-actions {
    flex-wrap: wrap;
    gap: 10px;
  }
  .blog-featured-grid,
  .blog-related-grid,
  .blog-article-grid {
    grid-template-columns: 1fr;
  }
  .blog-closing-cta {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .blog-article-byline {
    flex-direction: column;
    align-items: flex-start;
  }
  .blog-article-share {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
}

/* ==========================================================================
   Разделы журнала: Покупателям / Продавцам
   ========================================================================== */
.blog-sections {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin: 8px auto 0;
  width: min(100%, 1180px);
}
.blog-section-tab {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-surface);
  text-decoration: none;
  color: var(--ink);
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.blog-section-tab:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.blog-section-tab.is-active {
  border-color: var(--acc);
  background: linear-gradient(180deg, rgba(255,45,125,.10), var(--bg-surface));
}
.blog-section-tab-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 12px;
  flex: 0 0 auto;
  background: var(--bg-surface-hover);
  color: var(--acc);
}
.blog-section-tab.is-active .blog-section-tab-icon { background: var(--acc); color: #fff; }
.blog-section-tab-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.blog-section-tab-text strong { font-size: 17px; color: var(--ink-heading); }
.blog-section-tab-text small { font-size: 12.5px; line-height: 1.45; color: var(--mut); }
.blog-section-tab-count {
  margin-left: auto;
  flex: 0 0 auto;
  font-size: 13px; font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--bg-surface-hover);
  color: var(--mut);
}
.blog-section-tab.is-active .blog-section-tab-count { background: var(--acc); color: #fff; }
@media (max-width: 640px) {
  .blog-section-tab-text small { display: none; }
}

/* Таблицы и лид внутри материалов */
.blog-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 26px 0;
  font-size: 15px;
  overflow: hidden;
  border-radius: 12px;
}
.blog-prose th,
.blog-prose td {
  padding: 11px 14px;
  border: 1px solid var(--line);
  text-align: left;
}
.blog-prose th {
  background: var(--bg-surface-hover);
  color: var(--ink-heading);
  font-weight: 700;
}
.blog-prose tbody tr:nth-child(even) td { background: rgba(127, 127, 127, 0.05); }
.blog-prose .lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--mut);
  margin-bottom: 26px;
}

/* Иконка книги вместо фото в рамке hero-блога */
.blog-hero-media {
  display: grid;
  place-items: center;
}
.blog-hero-media-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, var(--acc-subtle), transparent 70%);
  border: 1px solid var(--acc-subtle-border);
  color: var(--acc);
  transition: transform 0.4s ease;
}
.blog-hero-media-icon .ico { width: 56%; height: 56%; stroke-width: 1.4; }
.blog-hero-note:hover .blog-hero-media-icon { transform: scale(1.04); }

/* Три опоры блога — вертикально под «Рекомендуем прочитать» */
.blog-featured-principles {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.blog-featured-principles li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-card-solid);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.blog-featured-principles li:hover {
  border-color: var(--acc-subtle-border);
  transform: translateX(3px);
}
.blog-featured-principles .blog-principle-index {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--acc-subtle-border);
  color: var(--acc);
  font-weight: 800;
  font-size: 0.8125rem;
}
.blog-principle-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.blog-principle-text strong {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--ink-heading);
}
.blog-principle-text span {
  font-size: 0.875rem;
  color: var(--mut);
  line-height: 1.4;
}
@media (max-width: 640px) {
  .blog-featured-principles li { padding: 14px 16px; }
}

/* Хиро блога: фирменный арт вместо иконки-заглушки */
.blog-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Закрывающий CTA блога с фотоподложкой */
.blog-closing-cta.has-photo {
  background: var(--bg-accent-section) url(var(--closing-photo, none)) center / cover no-repeat;
  overflow: hidden;
}
.blog-closing-cta.has-photo::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10, 8, 9, 0.82) 0%, rgba(10, 8, 9, 0.55) 55%, rgba(10, 8, 9, 0.30) 100%);
  pointer-events: none;
}
.blog-closing-cta.has-photo > * { position: relative; z-index: 1; }
