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

:root {
  --red: #ed1b24;
  --red-dark: #d41720;
  --red-light: #fde8e9;
  --text: #1c1c1c;
  --text-muted: #888;
  --border: #ebebeb;
  --bg: #f7f8fa;
  --page-max: 1320px;
  --card-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  --card-shadow-hover: 0 8px 28px rgba(0, 0, 0, 0.1);
  --radius: 14px;
  --radius-sm: 8px;
}

body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Archive */
.blog-archive {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 52px 40px 80px;
}

.blog-archive.header-area {
  padding: 24px 40px 32px;
}

body.softro-header-sticky .blog-archive.header-area {
  padding-top: 24px !important;
}

body.softro-header-sticky .blog-archive.blog-archive-content {
  padding-top: 0 !important;
}

.blog-archive.blog-archive-content {
  padding: 0 40px 80px;
  margin-top: 0;
}

/* Header */
.blog-header {
  text-align: center;
  margin-bottom: 44px;
}

.blog-archive.header-area .blog-header {
  margin-bottom: 0;
}

.blog-label {
  display: inline-block;
  font-size: 15px;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  padding: 6px 18px;
  background: var(--red-light);
  border-radius: 20px;
}

.blog-title {
  font-size: 44px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.blog-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Layout */
.blog-layout {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

/* Sidebar */
.blog-sidebar {
  flex: 0 0 320px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  padding: 0;
  position: sticky;
  top: 28px;
  overflow: hidden;
}

.sidebar-widget {
  padding: 26px 24px;
  border-bottom: 1px solid var(--border);
}

.sidebar-widget:last-of-type {
  border-bottom: none;
}

.sidebar-widget--search {
  background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
}

.sidebar-widget--latest {
  padding-bottom: 22px;
}

.sidebar-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 18px;
}

.widget-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
}

.widget-heading svg {
  flex-shrink: 0;
  color: var(--red);
}

.search-box {
  position: relative;
}

.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #bbb;
  pointer-events: none;
}

.search-box input {
  width: 100%;
  padding: 14px 18px 14px 46px;
  border: 1.5px solid #f0c4c6;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 16px;
  color: #333;
  background: #fff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.search-box input::placeholder {
  color: #bbb;
}

.search-box input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(237, 27, 36, 0.1);
}

/* Categories */
.category-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.category-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 11px 14px;
  border: none;
  border-radius: var(--radius-sm);
  background: transparent;
  font-family: inherit;
  font-size: 15px;
  color: #444;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}

.category-item:hover {
  background: #f8f8f8;
}

.category-item.is-active {
  background: var(--red-light);
  color: var(--text);
  box-shadow: inset 3px 0 0 var(--red);
}

.category-dot {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.category-dot--all {
  background: linear-gradient(135deg, #888, #bbb);
}

.category-dot--howto {
  background: var(--red);
}

.category-dot--lifestyle {
  background: #e8915a;
}

.category-dot--news {
  background: #7b6fd6;
}

.category-name {
  flex: 1;
  font-weight: 500;
}

.category-item.is-active .category-name {
  font-weight: 600;
}

.category-count {
  flex-shrink: 0;
  min-width: 28px;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  background: #f3f3f3;
  border-radius: 20px;
  text-align: center;
}

.category-item.is-active .category-count {
  background: #fff;
  color: var(--red);
}

/* Tags */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-item {
  padding: 7px 14px;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  background: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: #555;
  cursor: pointer;
  transition: all 0.2s;
}

.tag-item:hover {
  border-color: var(--red);
  color: var(--red);
  background: var(--red-light);
}

.tag-item.is-active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  box-shadow: 0 2px 8px rgba(237, 27, 36, 0.25);
}

/* Latest posts */
.latest-posts {
  list-style: none;
}

.latest-posts li+li {
  border-top: 1px solid var(--border);
}

.latest-post {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  transition: opacity 0.2s;
}

.latest-posts li:first-child .latest-post {
  padding-top: 0;
}

.latest-posts li:last-child .latest-post {
  padding-bottom: 0;
}

.latest-post:hover {
  opacity: 0.85;
}

.latest-post:hover .latest-title {
  color: var(--red);
}

.latest-thumb {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.latest-thumb img {
  max-width: 70%;
  max-height: 70%;
  object-fit: contain;
}

.latest-thumb svg {
  width: 30px;
  height: 30px;
}

.latest-thumb--pink {
  background: #fde8e8;
}

.latest-thumb--blue {
  background: #e8edfc;
}

.latest-thumb--mint {
  background: #e0f5ec;
}

.latest-thumb--lavender {
  background: #ece8fa;
}

.latest-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 2px;
}

.latest-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.45;
  transition: color 0.2s;
}

.latest-date {
  font-size: 12px;
  color: var(--text-muted);
}

.sidebar-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  padding: 18px 24px 22px;
  background: #fafafa;
  margin: 0;
}

.sidebar-note svg {
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--red);
}

/* Main content */
.blog-main {
  flex: 1;
  min-width: 0;
}

.blog-toolbar {
  margin-bottom: 18px;
}

.results-count {
  font-size: 16px;
  color: var(--text-muted);
}

.results-count span {
  font-weight: 700;
  color: var(--text);
}

/* Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.blog-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 1px solid transparent;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(237, 27, 36, 0.08);
}

.blog-card.is-hidden {
  display: none;
}

.blog-grid.is-loading,
#blog-pagination-wrap.is-loading {
  opacity: 0.55;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.blog-archive-empty {
  grid-column: 1 / -1;
  padding: 48px 24px;
  text-align: center;
  background: #fff;
  border-radius: var(--radius);
  border: 1px dashed var(--border);
  color: var(--text-muted);
  font-size: 16px;
}

.sidebar-widget--widgets .single-widget {
  margin-bottom: 0;
}

.sidebar-widget--widgets .widget-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 14px;
}

.card-thumb-link {
  display: block;
  overflow: hidden;
}

.card-thumb {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
/*   min-height: 200px;
  padding: 36px 28px; */
  overflow: hidden;
}

.card-thumb::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  pointer-events: none;
}

.card-thumb::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: -20px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  pointer-events: none;
}

.card-thumb img,
.card-thumb .card-icon {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 14px;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-thumb img {
  display: block;
  max-width: 100%;
/*   width: auto;
  max-height: 110px;
  padding: 22px 32px; */
  object-fit: contain;
}

.card-icon {
  width: 88px;
  height: 88px;
  padding: 14px;
  box-sizing: content-box;
}

.blog-card:hover .card-thumb img,
.blog-card:hover .card-thumb .card-icon {
  transform: translateY(-5px);
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.8);
}

/* Thumbnail backgrounds */
.card-thumb--pink {
  background: linear-gradient(135deg, #fde8e8 0%, #fbe3e3 100%);
}

.card-thumb--blue {
  background: linear-gradient(135deg, #e8edfc 0%, #e3e8fb 100%);
}

.card-thumb--mint {
  background: linear-gradient(135deg, #e0f5ec 0%, #d4f0e4 100%);
}

.card-thumb--peach {
  background: linear-gradient(135deg, #fce8d8 0%, #fae0cc 100%);
}

.card-thumb--lavender {
  background: linear-gradient(135deg, #ece8fa 0%, #e3dff8 100%);
}

.card-thumb--rose {
  background: linear-gradient(135deg, #fce4e8 0%, #fbd5dc 100%);
}

.card-thumb--yellow {
  background: linear-gradient(135deg, #fdf5d8 0%, #fcefbf 100%);
}

.card-thumb--sky {
  background: linear-gradient(135deg, #dceefb 0%, #cce5f8 100%);
}

/* .card-thumb--coral {
  background: linear-gradient(135deg, #fce4de 0%, #fad4cc 100%);
}
 */
.card-thumb--teal {
  background: linear-gradient(135deg, #d4f0f0 0%, #c0e8e8 100%);
}

.card-thumb--slate {
  background: linear-gradient(135deg, #e8eaed 0%, #dde0e4 100%);
}

.card-body {
  padding: 22px 24px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.card-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--red);
  border: 1px solid var(--red);
  border-radius: 20px;
  padding: 3px 12px;
  letter-spacing: 0.02em;
}

.card-tag--lifestyle {
  color: #e8915a;
  border-color: #e8915a;
}

.card-tag--news {
  color: #7b6fd6;
  border-color: #7b6fd6;
}

.card-read-time {
  font-size: 11px;
  color: #bbb;
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 10px;
}

.card-title a {
  transition: color 0.2s;
}

.card-title a:hover {
  color: var(--red);
}

.card-excerpt {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
  flex: 1;
}

.card-read-more {
  font-size: 16px;
  font-weight: 500;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}

.card-read-more:hover {
  gap: 8px;
}

.card-read-more span {
  transition: transform 0.2s;
}

.card-read-more:hover span {
  transform: translateX(2px);
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.page-numbers {
  display: flex;
  gap: 6px;
}

.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 46px;
  padding: 0 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  color: #555;
  cursor: pointer;
  transition: all 0.2s;
}

a.page-btn {
  text-decoration: none;
}

.page-btn[aria-disabled="true"] {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

.page-btn:hover:not(:disabled):not(.is-active) {
  border-color: var(--red);
  color: var(--red);
  background: var(--red-light);
}

.page-btn.is-active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  box-shadow: 0 2px 8px rgba(237, 27, 36, 0.3);
}

.page-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.page-btn--arrow {
  padding: 0;
  min-width: 38px;
}

/* Tablet */
@media (max-width: 900px) {
  .blog-archive.header-area {
    padding: 20px 28px 28px;
  }

  body.softro-header-sticky .blog-archive.header-area {
    padding-top: 20px !important;
  }

  .blog-archive.blog-archive-content {
    padding: 0 28px 64px;
  }

  .blog-layout {
    flex-direction: column;
  }

  .blog-sidebar {
    flex: none;
    max-width: 100%;
    width: 100%;
    position: static;
  }

  .sidebar-widget {
    padding: 22px 20px;
  }

  .category-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .tag-list {
    gap: 6px;
  }

  .latest-posts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 24px;
  }

  .latest-posts li+li {
    border-top: none;
  }

  .latest-posts li:nth-child(n+3) {
    border-top: 1px solid var(--border);
  }

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

/* Mobile */
@media (max-width: 600px) {
  .blog-archive {
    padding: 28px 16px 48px;
  }

  .blog-archive.header-area {
    padding: 16px 16px 24px;
  }

  body.softro-header-sticky .blog-archive.header-area {
    padding-top: 16px !important;
  }

  .blog-archive.blog-archive-content {
    padding: 0 16px 48px;
  }

  .blog-header {
    margin-bottom: 28px;
  }

  .blog-archive.header-area .blog-header {
    margin-bottom: 0;
  }

  .blog-title {
    font-size: 30px;
  }

  .blog-subtitle {
    font-size: 16px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 28px;
  }

  .category-list {
    grid-template-columns: 1fr;
  }

  .latest-posts {
    grid-template-columns: 1fr;
  }

  .latest-posts li+li {
    border-top: 1px solid var(--border);
  }

  .latest-title {
    font-size: 13px;
  }

  .card-thumb {
    min-height: 170px;
    padding: 28px 20px;
  }

  .card-thumb img {
    max-height: 90px;
    padding: 16px 24px;
  }

  .card-icon {
    width: 72px;
    height: 72px;
    padding: 12px;
  }

  .card-body {
    padding: 16px 18px 20px;
  }

  .card-title {
    font-size: 16px;
  }

  .pagination {
    gap: 6px;
  }

  .page-btn {
    min-width: 36px;
    height: 36px;
    font-size: 13px;
  }
}

@media (max-width: 400px) {
  .latest-thumb {
    width: 48px;
    height: 48px;
  }

  .latest-thumb svg {
    width: 26px;
    height: 26px;
  }
}


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

:root {
  --red: #ed1b24;
  --red-dark: #d41720;
  --red-light: #fde8e9;
  --text: #1c1c1c;
  --text-muted: #888;
  --text-body: #444;
  --border: #ebebeb;
  --bg: #f7f8fa;
  --page-max: 1320px;
  --card-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  --radius: 14px;
  --radius-sm: 8px;
}

body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Page */
.blog-detail {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 44px 40px 80px;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 16px;
  margin-bottom: 34px;
}

.breadcrumb a {
  color: var(--red);
  font-weight: 500;
  transition: opacity 0.2s;
}

.breadcrumb a:hover {
  opacity: 0.75;
}

.breadcrumb-sep {
  color: #ccc;
}

.breadcrumb-current {
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 320px;
}

/* Layout */
.detail-layout {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  margin-bottom: 56px;
}

/* Article card */
.article {
  flex: 1;
  min-width: 0;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  overflow: hidden;
}

.article-header {
  padding: 40px 44px 0;
}

.article-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
  border: 1px solid var(--red);
  border-radius: 20px;
  padding: 4px 14px;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.article-title {
  font-size: 38px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.meta-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red) 0%, #ff6b6b 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.author-name {
  display: block;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
}

.article-date {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 1px;
}

.meta-stats {
  display: flex;
  gap: 16px;
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text-muted);
}

.meta-item svg {
  color: #bbb;
}

/* Featured image */
.article-featured {
  margin: 0;
  padding: 8px 44px 36px;
}

.article-featured-wrap {
  display: flex;
  justify-content: center;
}

.article-featured-frame {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 620px;
  min-height: 300px;
  padding: 52px 56px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    0 12px 40px rgba(237, 27, 36, 0.1),
    0 4px 16px rgba(0, 0, 0, 0.06);
}

.article-featured-frame::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  pointer-events: none;
}

.article-featured-frame::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: -30px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  pointer-events: none;
}

.article-featured-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  max-height: 240px;
  object-fit: contain;
  padding: 28px 36px;
  background: #fff;
  border-radius: 20px;
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.8);
}

.card-thumb--pink {
  background: linear-gradient(135deg, #fde8e8 0%, #fbe3e3 100%);
}

.card-thumb--blue {
  background: linear-gradient(135deg, #e8edfc 0%, #e3e8fb 100%);
}

.card-thumb--mint {
  background: linear-gradient(135deg, #e0f5ec 0%, #d4f0e4 100%);
}

.card-thumb--rose {
  background: linear-gradient(135deg, #fce4e8 0%, #fbd5dc 100%);
}

.card-thumb--peach {
  background: linear-gradient(135deg, #fce8d8 0%, #fae0cc 100%);
}

.card-thumb--yellow {
  background: linear-gradient(135deg, #fdf5d8 0%, #fcefbf 100%);
}

.card-thumb--lavender {
  background: linear-gradient(135deg, #ece8fa 0%, #e3dff8 100%);
}

/* Article content */
.article-content {
  padding: 40px 44px;
  font-size: 18px;
  color: var(--text-body);
}

.article-lead {
  font-size: 21px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4 {
  color: var(--text);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.article-content h1 {
  font-size: 32px;
  margin: 40px 0 18px;
}

.article-content h2 {
  font-size: 26px;
  margin: 36px 0 16px;
}

.article-content h3 {
  font-size: 22px;
  margin: 28px 0 14px;
}

.article-content h4 {
  font-size: 19px;
  margin: 24px 0 12px;
}

.article-content h1:first-child,
.article-content h2:first-child,
.article-content h3:first-child,
.article-content h4:first-child {
  margin-top: 0;
}

.article-content p {
  margin-bottom: 18px;
  line-height: 1.75;
}

.article-content span {
  color: inherit;
}

.article-content strong,
.article-content b {
  color: var(--text);
  font-weight: 700;
}

.article-content em,
.article-content i {
  font-style: italic;
}

.article-content a {
  color: var(--red);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: opacity 0.2s;
}

.article-content a:hover {
  opacity: 0.8;
}

.article-content ul,
.article-content ol {
  margin: 0 0 20px 0;
  padding-left: 24px;
}

.article-content ul {
  list-style: disc;
}

.article-content ol {
  list-style: decimal;
}

.article-content li {
  margin-bottom: 8px;
  line-height: 1.65;
}

.article-content li > ul,
.article-content li > ol {
  margin-top: 8px;
  margin-bottom: 8px;
}

.article-content blockquote,
.article-content .article-quote {
  margin: 28px 0;
  padding: 24px 28px;
  background: #fafafa;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--red);
}

.article-content blockquote p,
.article-content .article-quote p {
  font-size: 19px;
  font-style: italic;
  color: #555;
  line-height: 1.65;
  margin-bottom: 10px;
}

.article-content blockquote p:last-child,
.article-content .article-quote p:last-child {
  margin-bottom: 0;
}

.article-content blockquote cite,
.article-content .article-quote cite {
  display: block;
  font-size: 15px;
  font-style: normal;
  color: var(--text-muted);
  font-weight: 500;
}

.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
}

.article-content figure {
  margin: 28px 0;
}

.article-content figcaption {
  margin-top: 10px;
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
}

.article-content pre,
.article-content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.article-content pre {
  overflow-x: auto;
  padding: 18px 20px;
  background: #f7f7f7;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  margin-bottom: 20px;
}

.article-content code {
  background: #f3f3f3;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.92em;
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  font-size: 16px;
}

.article-content th,
.article-content td {
  border: 1px solid var(--border);
  padding: 12px 14px;
  text-align: left;
}

.article-content th {
  background: #fafafa;
  font-weight: 600;
}

.article-content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 32px 0;
}

/* Tip box */
.tip-box {
  display: flex;
  gap: 14px;
  background: var(--red-light);
  border-left: 4px solid var(--red);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 18px 20px;
  margin: 24px 0;
}

.tip-box-icon {
  flex-shrink: 0;
  color: var(--red);
  margin-top: 2px;
}

.tip-box strong {
  display: block;
  font-size: 16px;
  color: var(--text);
  margin-bottom: 4px;
}

.tip-box p {
  font-size: 16px;
  color: #555;
  margin: 0;
  line-height: 1.6;
}

/* Steps */
.article-steps {
  list-style: none;
  padding: 0;
  counter-reset: steps;
}

.article-steps li {
  counter-increment: steps;
  position: relative;
  padding: 20px 20px 20px 56px;
  background: #fafafa;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  border: 1px solid var(--border);
}

.article-steps li::before {
  content: counter(steps);
  position: absolute;
  left: 16px;
  top: 20px;
  width: 32px;
  height: 32px;
  background: var(--red);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.article-steps li strong {
  display: block;
  font-size: 17px;
  color: var(--text);
  margin-bottom: 6px;
}

.article-steps li p {
  font-size: 16px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

/* Quote */
.article-quote {
  margin: 28px 0;
  padding: 24px 28px;
  background: #fafafa;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--red);
}

.article-quote p {
  font-size: 19px;
  font-style: italic;
  color: #555;
  line-height: 1.65;
  margin-bottom: 10px;
}

.article-quote cite {
  font-size: 15px;
  font-style: normal;
  color: var(--text-muted);
  font-weight: 500;
}

/* Tags */
.article-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 44px 28px;
}

.tags-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.tag-pill {
  font-size: 14px;
  color: var(--text-muted);
  background: #f3f3f3;
  padding: 5px 14px;
  border-radius: 20px;
  transition: background 0.2s, color 0.2s;
}

.tag-pill:hover {
  background: var(--red-light);
  color: var(--red);
}

/* Share */
.article-share {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding: 24px 44px;
  border-top: 1px solid var(--border);
  background: #fafafa;
}

.share-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.share-buttons {
  display: flex;
  gap: 8px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  color: #666;
  cursor: pointer;
  transition: all 0.2s;
}

.share-btn:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.share-btn.is-copied {
  background: #2e9e6e;
  border-color: #2e9e6e;
  color: #fff;
}

/* Author card */
.author-card {
  display: flex;
  gap: 18px;
  padding: 28px 44px 36px;
  border-top: 1px solid var(--border);
}

.author-card-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red) 0%, #ff6b6b 100%);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.author-card-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 500;
}

.author-card-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin: 2px 0 6px;
}

.author-card-bio {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Sidebar */
.detail-sidebar {
  flex: 0 0 320px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 24px;
}

.sidebar-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  padding: 26px 24px;
}

.sidebar-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 18px;
}

.search-box {
  position: relative;
}

.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #bbb;
  pointer-events: none;
}

.search-box input {
  width: 100%;
  padding: 14px 16px 14px 44px;
  border: 1.5px solid #f0c4c6;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 16px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.search-box input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(237, 27, 36, 0.1);
}

.related-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.related-item {
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  transition: background 0.15s;
}

.related-item--thumb {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.related-thumb {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-thumb svg {
  width: 28px;
  height: 28px;
}

.related-body {
  flex: 1;
  min-width: 0;
}

.related-item:hover {
  background: #f9f9f9;
}

.related-tag {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 3px;
}

.related-title {
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
}

.related-item:hover .related-title {
  color: var(--red);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 500;
  color: var(--red);
  padding: 14px 20px;
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--card-shadow);
  transition: background 0.2s, gap 0.2s;
}

.back-link:hover {
  background: var(--red-light);
  gap: 12px;
}

.detail-sidebar a.category-item {
  text-decoration: none;
}

.detail-category-list .category-item.is-active {
  pointer-events: none;
}

.meta-author {
  position: relative;
}

.meta-author .author-avatar-img,
.author-card .author-card-avatar-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.author-card .author-card-avatar-img {
  width: 64px;
  height: 64px;
}

.meta-author:has(.author-avatar-img) .author-avatar--fallback,
.author-card:has(.author-card-avatar-img) .author-card-avatar--fallback {
  display: none;
}

.meta-author:not(:has(.author-avatar-img)) .author-avatar--fallback,
.author-card:not(:has(.author-card-avatar-img)) .author-card-avatar--fallback {
  display: flex;
}

.article-tag {
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.article-tag:hover {
  background: var(--red-light);
}

.author-name {
  display: block;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
}

.author-name:hover,
.author-card-name a:hover {
  color: var(--red);
}

.author-card-name a {
  color: inherit;
  text-decoration: none;
}

.related-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.comment-footer .comment-reply-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(237, 27, 36, 0.2);
  background: var(--red-light);
  padding: 7px 14px;
  border-radius: 20px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, opacity 0.2s;
  text-decoration: none;
  line-height: 1.2;
}

.comment-footer .comment-reply-link:hover {
  background: #fff;
  border-color: var(--red);
  opacity: 1;
  text-decoration: none;
}

.comments-closed {
  margin-top: 24px;
  color: var(--text-muted);
}

/* Comments (WordPress-style) */
.comments-section {
  margin-bottom: 48px;
}

.comments-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  padding: 40px 44px 44px;
}

.comments-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.comment-list,
.comment-list .children {
  list-style: none;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.comment-list > .comment {
  margin: 0;
  padding: 0;
}

.comment-list > .comment + .comment {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.comment-body {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.comment-avatar {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.comment-avatar--blue {
  background: linear-gradient(135deg, #3b8fd9, #5aa8e8);
}

.comment-avatar--rose {
  background: linear-gradient(135deg, var(--red), #ff6b6b);
}

.comment-avatar--green {
  background: linear-gradient(135deg, #2e9e6e, #4ec494);
}

.comment-main {
  flex: 1;
  min-width: 0;
}

.comment-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 10px;
}

.comment-author {
  font-style: normal;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.comment-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--red);
  background: var(--red-light);
  padding: 2px 8px;
  border-radius: 4px;
  line-height: 1.5;
}

.comment-permalink {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.2s;
}

.comment-permalink:hover {
  color: var(--red);
}

.comment-content {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.65;
}

.comment-content p+p {
  margin-top: 10px;
}

.comment-footer {
  margin-top: 14px;
}

.comment-reply-link {
  border: none;
  background: none;
  padding: 0;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
  cursor: pointer;
  transition: opacity 0.2s;
}

.comment-reply-link:hover {
  opacity: 0.75;
  text-decoration: underline;
}

.comment-list .children {
  list-style: none;
  list-style-type: none;
  margin: 24px 0 0 28px;
  padding: 4px 0 0 24px;
  border-left: 2px solid #f0f0f0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.comment-list .children .comment-body {
  gap: 14px;
}

.comment-list .children .comment-avatar {
  width: 44px;
  height: 44px;
  font-size: 14px;
}

.comment-respond {
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.comments-card > .comment-respond:first-child,
.comments-card > .comment-respond.comment-respond--first {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.comment-reply-title {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.comment-reply-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--red) 0%, #ff5a62 100%);
  color: #fff;
  box-shadow: 0 6px 18px rgba(237, 27, 36, 0.25);
}

.comment-reply-icon svg {
  display: block;
}

.comment-notes,
.logged-in-as {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

.logged-in-as a {
  color: var(--red);
  font-weight: 600;
  text-decoration: none;
}

.logged-in-as a:hover {
  text-decoration: underline;
}

.comment-form-panel {
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.required {
  color: var(--red);
  font-weight: 700;
}

.comment-form p {
  margin-bottom: 18px;
}

.comment-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid #e8e8e8;
  border-radius: 12px;
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  background: #fafafa;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.comment-form textarea {
  min-height: 180px;
  resize: vertical;
  line-height: 1.65;
}

.comment-form input::placeholder,
.comment-form textarea::placeholder {
  color: #aaa;
}

.comment-form input:focus,
.comment-form textarea:focus {
  border-color: var(--red);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(237, 27, 36, 0.1);
}

.comment-form-fields {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 4px;
}

.comment-form .comment-form-author,
.comment-form .comment-form-email {
  margin-bottom: 0;
}

.comment-form-cookies {
  margin-top: 4px;
  margin-bottom: 16px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
}

.comment-form-cookies-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.55;
  cursor: pointer;
}

.comment-form-cookies-label span {
  flex: 1;
}

.comment-form-cookies-label input {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  accent-color: var(--red);
  cursor: pointer;
}

.comment-form .comment-form-cookies-consent {
  display: none;
}

.form-submit {
  margin-bottom: 0;
  margin-top: 8px;
  display: flex;
  justify-content: flex-end;
}

.comment-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--red) 0%, #ff4757 100%);
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(237, 27, 36, 0.3);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.comment-submit:hover {
  background: linear-gradient(135deg, var(--red-dark) 0%, var(--red) 100%);
  box-shadow: 0 8px 24px rgba(237, 27, 36, 0.35);
  transform: translateY(-1px);
}

.comment-submit svg {
  transition: transform 0.2s;
}

.comment-submit:hover svg {
  transform: translateX(3px);
}

.comment-submit:active {
  transform: scale(0.98);
}

.comment-respond.is-replying .comment-reply-title::after {
  content: ' to 'attr(data-reply-to);
  font-weight: 500;
  color: var(--text-muted);
}

/* Related section / Swiper */
.related-section {
  margin-top: 8px;
  padding: 32px 0 16px;
  position: relative;
}

.related-section-title {
  font-size: 34px;
  font-weight: 700;
  color: var(--text);
  text-align: center;
  margin: 0 0 34px;
}

.related-swiper-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
}

.related-arrow {
  position: relative;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: #fff;
  flex-shrink: 0;
  transition: background 0.2s, opacity 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.related-arrow--prev {
  background: #d0d0d0;
}

.related-arrow--next {
  background: var(--red);
  box-shadow: 0 2px 12px rgba(237, 27, 36, 0.35);
}

.related-arrow--prev:hover:not(.swiper-button-disabled) {
  background: #b8b8b8;
}

.related-arrow--next:hover:not(.swiper-button-disabled) {
  background: var(--red-dark);
  box-shadow: 0 4px 16px rgba(237, 27, 36, 0.45);
}

.related-arrow:active:not(.swiper-button-disabled) {
  transform: scale(0.94);
}

.related-arrow.swiper-button-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}

.related-arrow--prev.swiper-button-disabled {
  background: #e0e0e0;
}

.related-arrow--next.swiper-button-disabled {
  background: #e0e0e0;
}

.related-swiper {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  padding: 4px 2px;
}

.related-swiper .swiper-slide {
  height: auto;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

@media (max-width: 899px) {
  .related-swiper .swiper-slide {
    opacity: 0.5;
    transform: scale(0.94);
  }

  .related-swiper .swiper-slide-active {
    opacity: 1;
    transform: scale(1);
  }
}

.related-swiper .swiper-slide-active .related-card {
  border-color: rgba(237, 27, 36, 0.12);
  box-shadow: 0 8px 28px rgba(237, 27, 36, 0.1);
}

.related-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1.5px solid transparent;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.related-card-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 130px;
  padding: 20px;
}

.related-card-thumb img {
  max-height: 64px;
  object-fit: contain;
}

.card-icon {
  width: 64px;
  height: 64px;
}

.related-card-body {
  padding: 18px 20px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.related-card-tag {
  display: inline-block;
  width: auto;
  max-width: fit-content;
  align-self: flex-start;
  font-size: 12px;
  font-weight: 600;
  color: var(--red);
  background: transparent;
  border: 1px solid var(--red);
  border-radius: 4px;
  padding: 3px 10px;
  margin-bottom: 8px;
  line-height: 1.4;
  white-space: nowrap;
}

.related-card-tag--lifestyle,
.related-card-tag.card-tag--lifestyle,
.related-tag.card-tag--lifestyle {
  color: #e8915a;
  border-color: #e8915a;
}

.related-card-tag--news,
.related-card-tag.card-tag--news,
.related-tag.card-tag--news {
  color: #7b6fd6;
  border-color: #7b6fd6;
}

.related-card-title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
}

.related-card-title a:hover {
  color: var(--red);
}

.related-card-excerpt {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.55;
  flex: 1;
}

/* Tablet */
@media (max-width: 900px) {
  .detail-layout {
    flex-direction: column;
  }

  .detail-sidebar {
    flex: none;
    max-width: 100%;
    width: 100%;
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .sidebar-card {
    flex: 1;
    min-width: 260px;
  }

  .back-link {
    width: 100%;
    justify-content: center;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .blog-detail {
    padding: 24px 16px 48px;
  }

  .article-header {
    padding: 24px 20px 0;
  }

  .article-title {
    font-size: 28px;
  }

  .article-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .article-content {
    padding: 24px 20px;
    font-size: 15px;
  }

  .article-lead {
    font-size: 16px;
  }

  .article-tags,
  .article-share,
  .author-card {
    padding-left: 20px;
    padding-right: 20px;
  }

  .comments-card {
    padding: 28px 20px 32px;
  }

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

  .comment-body {
    gap: 14px;
  }

  .comment-avatar {
    width: 44px;
    height: 44px;
    font-size: 14px;
  }

  .comment-list .children {
    margin-left: 16px;
    padding-left: 16px;
    gap: 20px;
  }

  .comment-list .children .comment-avatar {
    width: 38px;
    height: 38px;
    font-size: 12px;
  }

  .comment-form-fields {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .comment-form-fields .comment-form-author,
  .comment-form-fields .comment-form-email {
    margin-bottom: 16px;
  }

  .comment-respond {
    margin-top: 28px;
    padding-top: 24px;
  }

  .comment-reply-title {
    font-size: 20px;
    gap: 12px;
  }

  .comment-reply-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .comment-reply-icon svg {
    width: 20px;
    height: 20px;
  }

  .comment-form textarea {
    min-height: 140px;
  }

  .comment-form-cookies-label {
    align-items: flex-start;
    font-size: 13px;
  }

  .form-submit {
    justify-content: stretch;
  }

  .comment-submit {
    width: 100%;
  }

  .article-featured {
    padding: 4px 20px 28px;
  }

  .article-featured-frame {
    min-height: 220px;
    padding: 36px 28px;
    border-radius: 18px;
  }

  .article-featured-frame img {
    max-width: 100%;
    max-height: 180px;
    padding: 20px 24px;
    border-radius: 14px;
  }

  .detail-sidebar {
    flex-direction: column;
  }

  .sidebar-card {
    min-width: 0;
  }

  .related-section {
    padding: 24px 0 8px;
  }

  .related-section-title {
    font-size: 26px;
    margin-bottom: 26px;
  }

  .related-swiper-wrap {
    gap: 12px;
  }

  .related-arrow {
    width: 34px;
    height: 34px;
  }

  .breadcrumb-current {
    max-width: 200px;
  }
}