/* ============================================
   IRYA — Blog / Articles
   Styles spécifiques au système de blog
   Hérite du design system principal (style.css)
   ============================================ */

/* ─────────────────────────────────────────────
   RESTORE DEFAULT CURSOR (no custom canvas here)
   ───────────────────────────────────────────── */
*, *::before, *::after { cursor: auto !important; }
a, button, [role="button"], [type="button"], summary { cursor: pointer !important; }

/* ─────────────────────────────────────────────
   SOLID BACKGROUND (no WebGL/image on blog)
   ───────────────────────────────────────────── */
body {
  background-color: var(--bg-primary) !important;
}
body .bg-image-container {
  display: none !important;
}

/* ─────────────────────────────────────────────
   BREADCRUMB
   ───────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2rem;
  padding-top: 7rem;
}
.breadcrumb a {
  color: var(--text-muted);
  transition: color 0.2s;
}
.breadcrumb a:hover {
  color: var(--accent);
}
.breadcrumb__sep {
  color: var(--text-faint);
  font-size: 0.5rem;
}
.breadcrumb__current {
  color: var(--text-secondary);
  max-width: 280px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ─────────────────────────────────────────────
   PAGE HEADER (Index)
   ───────────────────────────────────────────── */
.articles-hero {
  padding-top: 10rem;
  padding-bottom: 4rem;
  text-align: center;
}
.articles-hero .section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.articles-hero .section-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.25;
  color: var(--text-primary);
}
.articles-hero .section-title em {
  font-style: italic;
  color: var(--accent);
}
.articles-hero .section-desc {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-top: 1.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ─────────────────────────────────────────────
   CATEGORY FILTERS
   ───────────────────────────────────────────── */
.filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}
.filter-btn {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.filter-btn:hover {
  color: var(--accent-light);
  border-color: var(--accent-border);
}
.filter-btn.active {
  background: var(--accent);
  color: var(--btn-text);
  border-color: var(--accent);
  box-shadow: 0 0 20px var(--accent-glow);
}

/* ─────────────────────────────────────────────
   ARTICLES GRID
   ───────────────────────────────────────────── */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 6rem;
}

/* ─────────────────────────────────────────────
   ARTICLE CARD
   ───────────────────────────────────────────── */
.article-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid transparent;
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.6s ease, box-shadow 0.4s ease;
  opacity: 0;
  transform: translateY(24px);
}
.article-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.4s ease;
}

/* Rotating border glow — same as service-card */
.article-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(
    from var(--border-angle, 0deg),
    transparent 0%,
    rgba(0, 212, 255, 0.30) 10%,
    transparent 20%,
    transparent 80%,
    rgba(0, 212, 255, 0.15) 90%,
    transparent 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  z-index: 5;
  pointer-events: none;
  animation: borderRotate 6s linear infinite;
}

/* Mouse-following glow */
.article-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  background: radial-gradient(
    500px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    var(--accent-glow),
    transparent 40%
  );
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.article-card:hover::after { opacity: 1; }
.article-card:hover::before {
  background: conic-gradient(
    from var(--border-angle, 0deg),
    transparent 0%,
    rgba(0, 212, 255, 0.65) 10%,
    transparent 20%,
    transparent 75%,
    rgba(0, 212, 255, 0.35) 88%,
    transparent 100%
  );
}
.article-card:hover {
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.10);
  transform: translateY(-4px);
}

.article-card__category {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 0.3rem 0.75rem;
  border: 1px solid var(--accent-border);
  border-radius: 4px;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 2;
  align-self: flex-start;
}

.article-card__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.375rem;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 2;
}

.article-card__excerpt {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex-grow: 1;
  position: relative;
  z-index: 2;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35em;
  font-size: 0.75rem;
  color: var(--text-muted);
  position: relative;
  z-index: 2;
  margin-bottom: 1.25rem;
}
.article-card__meta-sep {
  opacity: 0.7;
  user-select: none;
}

.article-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  position: relative;
  z-index: 2;
  transition: gap 0.3s ease;
}
.article-card__link:hover {
  gap: 0.85rem;
  color: var(--accent-light);
}
.article-card__link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}
.article-card__link:hover svg {
  transform: translateX(2px);
}

/* Empty state */
.articles-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-muted);
  font-size: 1rem;
}

/* ─────────────────────────────────────────────
   ARTICLE DETAIL — Layout
   ───────────────────────────────────────────── */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 4rem;
  padding-top: 2rem;
  padding-bottom: 6rem;
}

/* ─────────────────────────────────────────────
   ARTICLE DETAIL — Header
   ───────────────────────────────────────────── */
.article-header {
  margin-bottom: 3rem;
}
.article-header__category {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 0.3rem 0.75rem;
  border: 1px solid var(--accent-border);
  border-radius: 4px;
  margin-bottom: 1.5rem;
}
.article-header__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 400;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}
.article-header__meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}
.article-header__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.article-header__meta svg {
  width: 14px;
  height: 14px;
  opacity: 0.6;
}

/* ─────────────────────────────────────────────
   ARTICLE DETAIL — Content
   ───────────────────────────────────────────── */
.article-content {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.85;
}
.article-content h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.625rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-top: 3rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--accent-subtle);
}
.article-content h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.article-content p {
  margin-bottom: 1.25rem;
}
.article-content strong {
  color: var(--text-primary);
  font-weight: 500;
}
.article-content em {
  font-style: italic;
  color: var(--accent-light);
}
.article-content ul,
.article-content ol {
  margin: 1.25rem 0;
  padding-left: 1.5rem;
}
.article-content ul {
  list-style: none;
}
.article-content ul li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.75rem;
}
.article-content ul li::before {
  content: '◆';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.45rem;
  top: 0.6em;
}
.article-content ol {
  list-style: decimal;
}
.article-content ol li {
  margin-bottom: 0.75rem;
  padding-left: 0.25rem;
}
.article-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.article-content a:hover {
  color: var(--accent-light);
}
.article-content blockquote {
  border-left: 3px solid #FFB864;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  background: rgba(255, 180, 100, 0.06);
  border-radius: 0 10px 10px 0;
  font-style: normal;
  color: var(--text-secondary);
}
body.theme-light .article-content blockquote {
  border-left-color: #D4882A;
  background: rgba(255, 200, 120, 0.10);
}

/* ─────────────────────────────────────────────
   ARTICLE DETAIL — Share
   ───────────────────────────────────────────── */
.article-share {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--accent-subtle);
}
.article-share__label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--text-secondary);
  padding: 0.5rem 1rem;
  border: 1px solid var(--glass-border);
  border-radius: 4px;
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: all 0.3s ease;
}
.share-btn:hover {
  color: var(--accent);
  border-color: var(--accent-border);
}
.share-btn.copied {
  color: var(--accent);
  border-color: var(--accent);
}
.share-btn svg {
  width: 14px;
  height: 14px;
}

/* ─────────────────────────────────────────────
   ARTICLE DETAIL — Navigation (Prev/Next)
   ───────────────────────────────────────────── */
.article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--accent-subtle);
}
.article-nav__item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem;
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}
.article-nav__item:hover {
  border-color: var(--accent-border);
  box-shadow: var(--shadow-glow);
}
.article-nav__item--next {
  text-align: right;
}
.article-nav__label {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.article-nav__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.35;
}

/* ─────────────────────────────────────────────
   SIDEBAR
   ───────────────────────────────────────────── */
.sidebar {
  position: sticky;
  top: 6rem;
  align-self: start;
}
.sidebar-block {
  margin-bottom: 3rem;
}
.sidebar-block__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--accent-subtle);
}

/* Table of contents */
.toc {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.toc__link {
  font-size: 0.8125rem;
  color: var(--text-muted);
  padding: 0.4rem 0.75rem;
  border-left: 2px solid transparent;
  border-radius: 0 4px 4px 0;
  transition: all 0.2s;
  line-height: 1.4;
}
.toc__link:hover {
  color: var(--accent-light);
  border-left-color: var(--accent-dim);
}
.toc__link.active {
  color: var(--accent);
  border-left-color: var(--accent);
  background: var(--accent-subtle);
}
.toc__link--h3 {
  padding-left: 1.5rem;
  font-size: 0.75rem;
}

/* Related articles */
.related-card {
  display: block;
  padding: 1rem;
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  background: var(--glass-bg);
  margin-bottom: 0.75rem;
  transition: all 0.3s ease;
}
.related-card:hover {
  border-color: var(--accent-border);
  box-shadow: var(--shadow-glow);
}
.related-card__category {
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.related-card__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.35;
}

/* ─────────────────────────────────────────────
   404 STATE
   ───────────────────────────────────────────── */
.article-404 {
  text-align: center;
  padding: 10rem 2rem 6rem;
}
.article-404__icon {
  font-size: 3rem;
  color: var(--accent-dim);
  margin-bottom: 2rem;
}
.article-404__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2rem;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 1rem;
}
.article-404__text {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

/* ─────────────────────────────────────────────
   RESPONSIVE
   ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .article-layout {
    grid-template-columns: 1fr 260px;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .articles-hero {
    padding-top: 8rem;
    padding-bottom: 3rem;
  }

  .articles-grid {
    grid-template-columns: 1fr;
  }

  .article-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .sidebar {
    position: static;
    order: -1;
  }
  .sidebar .toc-block {
    display: none;
  }

  .article-nav {
    grid-template-columns: 1fr;
  }
  .article-nav__item--next {
    text-align: left;
  }

  .breadcrumb {
    padding-top: 5.5rem;
  }
  .breadcrumb__current {
    max-width: 160px;
  }

  .article-header__title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }
  .article-header__meta {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .filters {
    gap: 0.5rem;
  }
  .filter-btn {
    font-size: 0.6875rem;
    padding: 0.4rem 1rem;
  }
}

@media (max-width: 480px) {
  .articles-hero .section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }
}

/* ─────────────────────────────────────────────
   TOOL CARDS (article illustrations)
   ───────────────────────────────────────────── */
.tool-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.75rem 2rem;
  margin: 2.5rem 0 1.5rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.tool-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
}
/* Brand-colored left accent */
.tool-card--bitwarden { border-left: 4px solid #175DDC; }
.tool-card--yubikey { border-left: 4px solid #9ACA3C; }
.tool-card--simplelogin { border-left: 4px solid #E05845; }

.tool-card:hover.tool-card--bitwarden { box-shadow: 0 0 25px rgba(23, 93, 220, 0.12); }
.tool-card:hover.tool-card--yubikey { box-shadow: 0 0 25px rgba(154, 202, 60, 0.12); }
.tool-card:hover.tool-card--simplelogin { box-shadow: 0 0 25px rgba(224, 88, 69, 0.12); }

.tool-card__icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
}
.tool-card__icon--bitwarden {
  background: linear-gradient(135deg, #175DDC, #1A3D7C);
  box-shadow: 0 4px 16px rgba(23, 93, 220, 0.25);
}
.tool-card__icon--yubikey {
  background: linear-gradient(135deg, #9ACA3C, #6B8F2A);
  box-shadow: 0 4px 16px rgba(154, 202, 60, 0.25);
}
.tool-card__icon--simplelogin {
  background: linear-gradient(135deg, #E05845, #B5372A);
  box-shadow: 0 4px 16px rgba(224, 88, 69, 0.25);
}
.tool-card__icon svg {
  width: 32px;
  height: 32px;
  color: #FFFFFF;
}
.tool-card__header h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text-primary);
  margin: 0 0 0.25rem;
  padding: 0;
  border: none;
}
.tool-card--bitwarden .tool-card__header h2 { color: #6CA4F7; }
.tool-card--yubikey .tool-card__header h2 { color: #B8E05A; }
.tool-card--simplelogin .tool-card__header h2 { color: #F08979; }
body.theme-light .tool-card--bitwarden .tool-card__header h2 { color: #175DDC; }
body.theme-light .tool-card--yubikey .tool-card__header h2 { color: #5A8A1A; }
body.theme-light .tool-card--simplelogin .tool-card__header h2 { color: #C0392B; }

.tool-card__tagline {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
}

body.theme-light .tool-card {
  background: rgba(0, 0, 0, 0.02);
  border-color: rgba(0, 0, 0, 0.08);
}
body.theme-light .tool-card:hover {
  border-color: rgba(0, 0, 0, 0.14);
}

/* ─────────────────────────────────────────────
   SCENARIO BOX
   ───────────────────────────────────────────── */
.scenario-box {
  padding: 1.75rem;
  margin: 1.5rem 0;
  border-radius: 16px;
  border: 1px solid rgba(255, 180, 100, 0.15);
  background: linear-gradient(135deg, rgba(255, 160, 60, 0.06), rgba(255, 100, 50, 0.04));
}
body.theme-light .scenario-box {
  border-color: rgba(200, 120, 50, 0.18);
  background: linear-gradient(135deg, rgba(255, 200, 120, 0.12), rgba(255, 160, 80, 0.06));
}
.scenario-box__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.125rem;
  font-weight: 500;
  color: #FFB864;
  margin-bottom: 1rem !important;
}
body.theme-light .scenario-box__title { color: #C07020; }
.scenario-box__result {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 180, 100, 0.12);
  font-weight: 500;
  color: var(--text-primary) !important;
  margin-bottom: 0 !important;
}

/* ─────────────────────────────────────────────
   PRICE GRID
   ───────────────────────────────────────────── */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}
.price-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.price-item:hover {
  transform: translateY(-2px);
}
body.theme-light .price-item {
  border-color: rgba(0, 0, 0, 0.06);
  background: rgba(0, 0, 0, 0.02);
}
.price-item:nth-child(1) { border-top: 3px solid #175DDC; }
.price-item:nth-child(2) { border-top: 3px solid #9ACA3C; }
.price-item:nth-child(3) { border-top: 3px solid #E05845; }
.price-item:nth-child(1):hover { border-color: rgba(23, 93, 220, 0.3); border-top-color: #175DDC; }
.price-item:nth-child(2):hover { border-color: rgba(154, 202, 60, 0.3); border-top-color: #9ACA3C; }
.price-item:nth-child(3):hover { border-color: rgba(224, 88, 69, 0.3); border-top-color: #E05845; }
.price-item__name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}
.price-item:nth-child(1) .price-item__price { color: #6CA4F7; }
.price-item:nth-child(2) .price-item__price { color: #B8E05A; }
.price-item:nth-child(3) .price-item__price { color: #F08979; }
body.theme-light .price-item:nth-child(1) .price-item__price { color: #175DDC; }
body.theme-light .price-item:nth-child(2) .price-item__price { color: #5A8A1A; }
body.theme-light .price-item:nth-child(3) .price-item__price { color: #C0392B; }
.price-item__price {
  font-size: 1.375rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
}
.price-item__note {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
}

@media (max-width: 768px) {
  .tool-card {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    padding: 1.25rem;
    border-left-width: 1px !important;
    border-top-width: 4px !important;
  }
  .price-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
  }
  .scenario-box {
    padding: 1.25rem;
  }
}

/* ─────────────────────────────────────────────
   REDUCED MOTION
   ───────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .article-card {
    opacity: 1;
    transform: none;
  }
  .article-card::before {
    animation: none;
  }
}

/* ─────────────────────────────────────────────
   THEME TRANSITION (Blog-specific selectors)
   ───────────────────────────────────────────── */
body[data-transitioning] .article-card,
body[data-transitioning] .filter-btn,
body[data-transitioning] .sidebar-block,
body[data-transitioning] .article-nav__item,
body[data-transitioning] .related-card,
body[data-transitioning] .breadcrumb {
  transition: background-color 0.5s ease, color 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease !important;
}
