/* Blog List Page */

.blog-page {
  padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(3rem, 6vw, 4.5rem);
  background: #fafbfc;
  min-height: 60vh;
}

.blog-page__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.blog-page__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin-bottom: 0.4rem;
}

.blog-page__title {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.35rem;
}

.blog-page__desc {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  max-width: 480px;
}

.blog-page__count {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-muted);
  padding: 0.4rem 0.85rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  white-space: nowrap;
}

/* Toolbar */
.blog-toolbar {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
  padding: 1.25rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.blog-search {
  position: relative;
  display: flex;
  align-items: center;
}

.blog-search__icon {
  position: absolute;
  right: 0.9rem;
  color: var(--color-text-muted);
  pointer-events: none;
}

.blog-search__input {
  width: 100%;
  min-height: var(--btn-height);
  padding: 0 2.75rem 0 2.5rem;
  font-size: 0.875rem;
  font-family: inherit;
  color: var(--color-text);
  background: #f8fafb;
  border: 1px solid var(--color-border);
  border-radius: var(--btn-radius);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.blog-search__input:focus {
  outline: none;
  background: #fff;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(27, 127, 78, 0.12);
}

.blog-search__input::placeholder {
  color: var(--color-text-muted);
}

.blog-search__clear {
  position: absolute;
  left: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.blog-search__clear:hover {
  background: var(--color-primary-light);
  color: var(--color-primary);
}

/* List — one row per post */
.blog-list {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.blog-row {
  border-bottom: 1px solid var(--color-border);
}

.blog-row:last-child {
  border-bottom: none;
}

.blog-row__link {
  display: grid;
  grid-template-columns: 72px 1fr auto 28px;
  gap: 1.25rem;
  align-items: center;
  padding: 1.1rem 1.25rem;
  color: var(--color-text);
  transition: background 0.2s ease;
}

.blog-row__link:hover {
  background: linear-gradient(90deg, rgba(27, 127, 78, 0.04) 0%, transparent 100%);
  color: var(--color-text);
}

.blog-row__thumb {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--color-primary-light);
}

.blog-row__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-row__thumb-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--color-primary);
  opacity: 0.7;
}

.blog-row__body {
  min-width: 0;
}

.blog-row__category {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--color-primary);
  background: var(--color-primary-light);
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  margin-bottom: 0.35rem;
}

.blog-row__title {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 0.3rem;
  line-height: 1.45;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.blog-row__excerpt {
  margin: 0;
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.blog-row__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.blog-row__reading {
  color: var(--color-text-muted);
}

.blog-row__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  transition: color 0.2s ease, transform 0.2s ease;
}

.blog-row__link:hover .blog-row__arrow {
  color: var(--color-primary);
  transform: translateX(-3px);
}

/* Empty & Loading */
.blog-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 3rem 1.5rem;
  text-align: center;
  color: var(--color-text-muted);
}

.blog-empty svg {
  opacity: 0.4;
}

.blog-empty p {
  margin: 0;
  font-size: 0.9rem;
}

.blog-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1.5rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.blog-loading__spinner {
  width: 18px;
  height: 18px;
  border: 2px solid var(--color-border);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: blogSpin 0.7s linear infinite;
}

@keyframes blogSpin {
  to { transform: rotate(360deg); }
}

/* Pagination */
.blog-pagination {
  margin-top: 1.5rem;
}

.blog-pagination .page-link {
  font-size: var(--btn-font-size-sm);
  border-radius: 8px;
  color: var(--color-text);
}

.blog-pagination .page-item.active .page-link {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

/* Responsive */
@media (max-width: 767.98px) {
  .blog-row__link {
    grid-template-columns: 56px 1fr 24px;
    grid-template-rows: auto auto;
    gap: 0.75rem 1rem;
    padding: 1rem;
  }

  .blog-row__thumb {
    width: 56px;
    height: 56px;
    grid-row: 1 / 3;
  }

  .blog-row__meta {
    grid-column: 2;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.72rem;
  }

  .blog-row__arrow {
    grid-column: 3;
    grid-row: 1 / 3;
    align-self: center;
  }

  .blog-page__header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .blog-toolbar {
    padding: 1rem;
  }

  .blog-row__excerpt {
    display: none;
  }
}

/* ─── Blog Article Detail ─── */

.article-page {
  background: #fafbfc;
}

/* Hero */
.article-hero {
  position: relative;
  padding: clamp(2rem, 5vw, 3rem) 0 clamp(2rem, 4vw, 2.5rem);
  overflow: hidden;
}

.article-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.article-hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  animation: articleBlob 18s ease-in-out infinite;
}

.article-hero__blob--1 {
  width: 420px;
  height: 420px;
  top: -140px;
  right: -80px;
  background: radial-gradient(circle, rgba(27, 127, 78, 0.18) 0%, transparent 70%);
}

.article-hero__blob--2 {
  width: 320px;
  height: 320px;
  bottom: -60px;
  left: -50px;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.14) 0%, transparent 70%);
  animation-delay: -7s;
}

@keyframes articleBlob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(14px, -10px) scale(1.03); }
}

.article-hero__inner {
  position: relative;
  z-index: 1;
}

.article-hero .breadcrumb {
  margin-bottom: 1.25rem;
  font-size: 0.85rem;
}

.article-hero .breadcrumb-item a {
  color: var(--color-text-muted);
}

.article-hero__category {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-primary);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(27, 127, 78, 0.15);
  border-radius: 999px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.article-hero__category:hover {
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
}

.article-hero__title {
  font-size: clamp(1.65rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.03em;
  margin-bottom: 0.85rem;
  max-width: 820px;
}

.article-hero__excerpt {
  font-size: clamp(0.95rem, 2vw, 1.08rem);
  color: var(--color-text-muted);
  line-height: 1.85;
  max-width: 680px;
  margin-bottom: 1.25rem;
}

.article-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.article-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-text-muted);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--color-border);
  border-radius: 999px;
}

.article-meta-pill svg {
  color: var(--color-primary);
  flex-shrink: 0;
}

/* Featured image */
.article-featured {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.article-featured__frame {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
  background: var(--color-primary-light);
}

.article-featured__frame img {
  display: block;
  width: 100%;
  max-height: clamp(220px, 45vw, 480px);
  object-fit: cover;
}

/* Layout */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
}

.article-main {
  min-width: 0;
}

.article-body {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

/* Article typography */
.article-content {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--color-text);
}

.article-content h2,
.article-content h3,
.article-content h4 {
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 2rem;
  margin-bottom: 0.85rem;
  line-height: 1.4;
  scroll-margin-top: calc(var(--header-height, 72px) + 1.5rem);
}

.article-content h2 { font-size: 1.35rem; }
.article-content h3 { font-size: 1.15rem; }
.article-content h4 { font-size: 1.05rem; }
.article-content h5,
.article-content h6 {
  font-size: 1rem;
  font-weight: 700;
}

.article-content p {
  margin-bottom: 1.15rem;
}

.article-content p:last-child {
  margin-bottom: 0;
}

.article-content strong,
.article-content b {
  font-weight: 800;
}

.article-content em,
.article-content i {
  font-style: italic;
}

.article-content u {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-content s,
.article-content del {
  text-decoration: line-through;
  opacity: 0.85;
}

.article-content sub,
.article-content sup {
  font-size: 0.75em;
  line-height: 0;
}

.article-content hr {
  margin: 2rem 0;
  border: 0;
  border-top: 1px solid var(--color-border);
}

.article-content ul,
.article-content ol {
  margin-bottom: 1.15rem;
  padding-right: 1.35rem;
}

.article-content ul ul,
.article-content ul ol,
.article-content ol ul,
.article-content ol ol {
  margin-top: 0.35rem;
  margin-bottom: 0.35rem;
}

.article-content li {
  margin-bottom: 0.4rem;
}

.article-content li::marker {
  color: var(--color-primary);
}

.article-content a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  word-break: break-word;
}

.article-content a:hover {
  color: var(--color-primary-dark, #0d5c4a);
}

.article-content img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  margin: 1.25rem auto;
}

.article-content figure.image {
  margin: 1.5rem 0;
  text-align: center;
}

.article-content figure.image img {
  margin: 0 auto;
}

.article-content figure.image figcaption {
  margin-top: 0.6rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.article-content blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  background: var(--color-primary-light);
  border-right: 4px solid var(--color-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: normal;
  color: var(--color-text);
}

.article-content blockquote p:last-child {
  margin-bottom: 0;
}

.article-table-wrap {
  margin: 1.25rem 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.article-content table {
  width: 100%;
  min-width: 480px;
  margin: 0;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.article-content th,
.article-content td {
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--color-border);
  text-align: right;
  vertical-align: top;
}

.article-content th {
  background: #f8fafb;
  font-weight: 700;
  white-space: nowrap;
}

.article-content tr:nth-child(even) td {
  background: #fbfcfd;
}

.article-content pre {
  margin: 1.25rem 0;
  padding: 1rem 1.15rem;
  overflow-x: auto;
  border-radius: var(--radius-md);
  background: #1e1e1e;
  color: #f8f8f2;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.875rem;
  line-height: 1.7;
  direction: ltr;
  text-align: left;
}

.article-content pre code {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: transparent;
  padding: 0;
}

.article-content code {
  padding: 0.15rem 0.4rem;
  border-radius: 0.35rem;
  background: #f1f5f4;
  color: #0f5132;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.875em;
  word-break: break-word;
}

.article-content iframe,
.article-content video,
.article-content embed {
  display: block;
  max-width: 100%;
  margin: 1.25rem auto;
  border: 0;
  border-radius: var(--radius-md);
}

.article-content iframe {
  min-height: 320px;
  background: #f8fafb;
}

/* Footer */
.article-footer {
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--color-border);
}

.article-share {
  margin-bottom: 1.5rem;
}

.article-share__label,
.article-tags__label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.article-share__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.article-share__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  min-height: var(--btn-height-sm);
  font-size: var(--btn-font-size-sm);
  font-weight: var(--btn-font-weight);
  font-family: inherit;
  border: 1px solid var(--color-border);
  border-radius: var(--btn-radius);
  background: #fff;
  color: var(--color-text);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.article-share__btn:hover {
  transform: translateY(-1px);
  color: var(--color-text);
}

.article-share__btn--telegram:hover {
  background: #e8f4fc;
  border-color: #229ED9;
  color: #229ED9;
}

.article-share__btn--whatsapp:hover {
  background: #e8f8ef;
  border-color: #25D366;
  color: #128C7E;
}

.article-share__btn--linkedin:hover {
  background: #e8f0f8;
  border-color: #0A66C2;
  color: #0A66C2;
}

.article-share__btn--copy:hover {
  background: var(--color-primary-light);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.article-tags__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.article-tag {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-muted);
  background: #f8fafb;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.article-tag:hover {
  background: var(--color-primary-light);
  border-color: rgba(27, 127, 78, 0.25);
  color: var(--color-primary);
}

.article-author {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: linear-gradient(135deg, var(--color-primary-light) 0%, #fff 100%);
  border: 1px solid rgba(27, 127, 78, 0.12);
  border-radius: var(--radius-lg);
}

.article-author__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-size: 1.35rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.article-author__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-author__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: 0.15rem;
}

.article-author__name {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.article-author__bio {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.7;
}

/* Sidebar */
.article-sidebar__sticky {
  position: sticky;
  top: calc(var(--header-height, 72px) + 1.25rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.article-toc {
  padding: 1.25rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.article-toc__title {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  color: var(--color-text);
}

.article-toc__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.article-toc__item {
  margin-bottom: 0.35rem;
}

.article-toc__item--sub {
  padding-right: 0.85rem;
}

.article-toc__item a {
  display: block;
  padding: 0.35rem 0;
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  border-right: 2px solid transparent;
  padding-right: 0.65rem;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.article-toc__item a:hover {
  color: var(--color-primary);
  border-right-color: var(--color-primary);
}

.article-sidebar-cta {
  padding: 1.35rem;
  background: linear-gradient(165deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  border-radius: var(--radius-lg);
  color: #fff;
}

.article-sidebar-cta__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
}

.article-sidebar-cta h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.article-sidebar-cta p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.article-sidebar-cta .btn-outline-primary {
  --bs-btn-color: #fff;
  --bs-btn-border-color: rgba(255, 255, 255, 0.45);
  --bs-btn-hover-bg: rgba(255, 255, 255, 0.12);
  --bs-btn-hover-border-color: #fff;
  --bs-btn-hover-color: #fff;
}

.article-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--btn-radius);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.article-back-link:hover {
  border-color: rgba(27, 127, 78, 0.3);
  color: var(--color-primary);
}

/* Related posts */
.article-related {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  background: linear-gradient(180deg, #f8fafb 0%, #fff 100%);
}

.article-related__header {
  text-align: center;
  margin-bottom: 2rem;
}

.article-related__header .section-subtitle {
  display: block;
  margin-bottom: 0.5rem;
}

.article-related__header .section-title {
  font-weight: 800;
  letter-spacing: -0.02em;
}

.article-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.blog-card-modern {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  height: 100%;
}

.blog-card-modern:hover {
  border-color: rgba(27, 127, 78, 0.2);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
  transform: translateY(-4px);
}

.blog-card-modern__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: var(--color-text);
}

.blog-card-modern__link:hover {
  color: var(--color-text);
}

.blog-card-modern__media {
  height: 160px;
  background: linear-gradient(135deg, var(--color-primary-light) 0%, #d1fae5 100%);
  overflow: hidden;
}

.blog-card-modern__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card-modern:hover .blog-card-modern__media img {
  transform: scale(1.05);
}

.blog-card-modern__body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-modern__tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  margin-bottom: 0.65rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--color-primary);
  background: var(--color-primary-light);
  border-radius: 999px;
  width: fit-content;
}

.blog-card-modern h3 {
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
  line-height: 1.5;
}

.blog-card-modern__excerpt {
  font-size: 0.84rem;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
  flex: 1;
  line-height: 1.65;
}

.blog-card-modern__meta {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* CTA */
.article-cta {
  padding: 0 0 clamp(3rem, 6vw, 4.5rem);
}

.article-cta__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: clamp(1.5rem, 3vw, 2rem) clamp(1.5rem, 4vw, 2.5rem);
  background: linear-gradient(135deg, var(--color-primary-light) 0%, #fff 60%);
  border: 1px solid rgba(27, 127, 78, 0.15);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.article-cta__text h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.3rem;
}

.article-cta__text p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 0;
}

.article-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Article responsive */
@media (max-width: 991.98px) {
  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    order: -1;
  }

  .article-sidebar__sticky {
    position: static;
  }

  .article-toc[hidden] {
    display: none !important;
  }

  .article-related__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .article-hero__meta {
    gap: 0.35rem;
  }

  .article-meta-pill {
    font-size: 0.72rem;
    padding: 0.3rem 0.6rem;
  }

  .article-body {
    padding: 1.25rem;
  }

  .article-cta__inner {
    flex-direction: column;
    text-align: center;
  }

  .article-cta__actions {
    justify-content: center;
    width: 100%;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .article-related__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .article-hero__blob {
    animation: none;
  }

  .blog-card-modern:hover {
    transform: none;
  }
}
