.elementor-element {
  padding: 0 !important;
}

/* ============================================
   BASE TYPOGRAPHY — matches korest.vn
   font-family: Arial, Helvetica, Roboto, sans-serif
   font-size: 16px / line-height: 1.5
   ============================================ */
html,
body {
  font-family: Arial, Helvetica, Roboto, sans-serif !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
  color: #333;
}

.e-con-inner {
  max-width: 100% !important;

  padding: 0 !important;
}
@-webkit-keyframes shine {
  100% {
    left: 125%;
  }
}
@keyframes shine {
  100% {
    left: 125%;
  }
}
.s-content h1 {
  font-size: 1.625rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 1.25rem 0 0.75rem;
}
.s-content h2 {
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 1.25rem 0 0.6rem;
}
.s-content h3 {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 1rem 0 0.5rem;
}
.s-content h4 {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  margin: 0.875rem 0 0.4rem;
}
.s-content h5 {
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.5;
  margin: 0.75rem 0 0.4rem;
}
.s-content h6 {
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.5;
  margin: 0.75rem 0 0.4rem;
}
.s-content p img.aligncenter {
  margin: auto;
}
.s-content p img.alignleft {
  margin-right: auto;
}
.s-content p img.alignright {
  margin-left: auto;
}
.s-content a {
  color: #2f5aae;
  cursor: pointer;
  text-decoration: none;
}
/* Exclude TOC plugin wrappers from custom list styles */
.s-content ul:not(.ez-toc-list):not(#toc_container ul):not(.luckywp-tableofcontents ul):not([class*="toc"]),
.s-content ol:not([class*="toc"]) {
  padding: 0;
  margin: 0.75rem 0 0.75rem 0;
  list-style: none;
}
.s-content ul:not(.ez-toc-list):not(#toc_container ul):not(.luckywp-tableofcontents ul):not([class*="toc"]) li,
.s-content ol:not([class*="toc"]) li {
  position: relative;
  padding: 0.3rem 0 0.3rem 1.5rem;
  line-height: 1.6;
  font-size: 0.9375rem;
  color: #333;
  border-bottom: 1px dashed #f0f0f0;
}
.s-content ul:not(.ez-toc-list):not(#toc_container ul):not(.luckywp-tableofcontents ul):not([class*="toc"]) li:last-child,
.s-content ol:not([class*="toc"]) li:last-child {
  border-bottom: none;
}
/* Custom bullet for ul */
.s-content ul:not(.ez-toc-list):not(#toc_container ul):not(.luckywp-tableofcontents ul):not([class*="toc"]) li::before {
  content: "";
  position: absolute;
  left: 0.25rem;
  top: 0.65em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--primary-color);
}
/* Numbered counter for ol */
.s-content ol:not([class*="toc"]) {
  counter-reset: ol-counter;
}
.s-content ol:not([class*="toc"]) li {
  counter-increment: ol-counter;
}
.s-content ol:not([class*="toc"]) li::before {
  content: counter(ol-counter);
  position: absolute;
  left: 0;
  top: 0.3rem;
  width: 1.1rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.6;
  text-align: center;
}
/* Nested lists */
.s-content ul:not([class*="toc"]) ul,
.s-content ol:not([class*="toc"]) ol,
.s-content ul:not([class*="toc"]) ol,
.s-content ol:not([class*="toc"]) ul {
  margin: 0.25rem 0 0.25rem 0.5rem;
}
.s-content ul:not([class*="toc"]) ul li::before {
  width: 5px;
  height: 5px;
  background-color: transparent;
  border: 2px solid var(--primary-color);
}
.s-content strong {
  font-weight: bold;
}
.s-content figure{
    max-width: 100%!important;
}
.s-content i {
  font-style: italic;
}
.s-content table {
  width: 100% !important;
}
.s-content blockquote{
  font-style: italic;
  background: #ebebeb;
  padding: 1rem;
  border-left: 3px solid #1f72c2;
}
.s-content img{
  max-height: 100vh;
  object-fit: contain;
  padding: 0.5rem 0;
}
.img__ {
  position: relative;
  overflow: hidden;
}
.img__:hover::after {
  -webkit-animation: shine 0.75s;
  animation: shine 0.75s;
}
.img__::after {
  position: absolute;
  top: 0;
  left: -75%;
  z-index: 2;
  display: block;
  content: "";
  width: 50%;
  height: 100%;
  background: -webkit-gradient(
    linear,
    left top,
    right top,
    from(rgba(255, 255, 255, 0)),
    to(rgba(255, 255, 255, 0.3))
  );
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 100%
  );
  -webkit-transform: skewX(-25deg);
  transform: skewX(-25deg);
}
.mb-4 {
  margin-bottom: 1rem;
}
.section-new__detail,
.section-new__cate {
  padding: 1.5rem 0;
}
.slide-new__home {
  padding: 1rem 0 !important;
}
.slide-new__home .swiper-slide {
  height: auto;
}
.item-new {
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
}
.item-new .img {
  position: relative;
  display: block;
  padding-top: 66%;
  overflow: hidden;
}
.item-new .img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.item-new .new-content {
  padding: 1rem;
}
.item-new .title {
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}
.item-new .title:hover,
.item-new .title:focus {
  color: #1454a5;
}
.item-new .new-time {
  display: inline-flex;
  align-items: center;
  font-size: 0.875rem;
  color: #888;
  margin-bottom: 0.5rem;
}
.item-new .new-time i {
  margin-right: 0.5rem;
}
.item-new .short_content {
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  font-size: 1.125rem;
  overflow: hidden;
  font-size: 1rem;
}
.pagination-new .swiper-pagination-bullet {
  transition: all 0.3s;
}
.pagination-new .swiper-pagination-bullet-active {
  width: 2rem;
  background: #1454a5;
  border-radius: 1rem;
}
.section-new__detail .title-new {
  font-weight: 600;
  font-size: 1.875rem;
  margin-bottom: 1rem;
}
.section-new__detail .new-time {
  font-size: 0.875rem;
  color: #888;
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
}
.section-new__detail .new-time i {
  margin-right: 0.5rem;
}
/* ============================================
   MOST VIEWED SIDEBAR
   ============================================ */
.sidebar-section-title {
  font-size: 0.9375rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--primary-color);
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--primary-color);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.most-viewed-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
.most-viewed-item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
}
.mv-rank {
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1;
  min-width: 1.5rem;
  color: #d1d5db;
  flex-shrink: 0;
  margin-top: 2px;
}
.mv-rank-1 { color: #f59e0b; }
.mv-rank-2 { color: #9ca3af; }
.mv-rank-3 { color: #b45309; }

.mv-image {
  width: 72px;
  height: 54px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  display: block;
}
.mv-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.mv-image:hover img {
  transform: scale(1.05);
}
.mv-content {
  flex: 1;
  min-width: 0;
}
.mv-title {
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.45;
  margin: 0 0 0.3rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mv-title a {
  color: #222;
  text-decoration: none;
  transition: color 0.25s;
}
.mv-title a:hover {
  color: var(--primary-color);
}
.mv-meta {
  font-size: 0.725rem;
  color: #9ca3af;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  flex-wrap: wrap;
}
.mv-meta-sep {
  color: #d1d5db;
}

/* ============================================
   AD BANNER SLOTS
   ============================================ */
.sidebar-ad-slot a {
  display: block;
  border-radius: 0.75rem;
  overflow: hidden;
  line-height: 0;
}
.sidebar-ad-slot img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.3s;
}
.sidebar-ad-slot a:hover img {
  opacity: 0.92;
}
.ad-placeholder {
  background: linear-gradient(135deg, #f0f4ff 0%, #e8f0fe 100%);
  border: 2px dashed #c7d7f5;
  border-radius: 0.75rem;
  padding: 1.5rem 1rem;
  text-align: center;
  color: #9ca3af;
  font-size: 0.8rem;
}
.ad-icon {
  font-size: 1.75rem;
  display: block;
  margin-bottom: 0.4rem;
  color: #c7d7f5;
}
.ad-placeholder p {
  margin: 0 0 0.2rem;
  font-weight: 600;
  color: #6b7280;
}
.ad-placeholder small {
  font-size: 0.7rem;
  color: #b0bec5;
}
.mt-4 {
  margin-top: 1rem;
}
@media (max-width: 1023px) {
  .mb-mb-4 {
    margin-bottom: 1rem;
  }
  .section-new__detail .title-new {
    font-size: 1.5rem;
  }
}

/* ============================================
   READING PROGRESS BAR
   ============================================ */
.reading-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  z-index: 9999;
  transition: width 0.1s linear;
  border-radius: 0 2px 2px 0;
}

/* ============================================
   BREADCRUMBS
   ============================================ */
.breadcrumbs {
  margin-bottom: 1.25rem;
  font-size: 0.8rem;
}
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.breadcrumbs li {
  display: flex;
  align-items: center;
  color: #888;
}
.breadcrumbs li + li::before {
  content: "/";
  margin-right: 0.25rem;
  color: #ccc;
}
.breadcrumbs li a {
  color: var(--primary-color);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: color 0.3s;
}
.breadcrumbs li a:hover {
  color: var(--secondary-color);
}
.breadcrumbs li.current {
  color: #555;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 200px;
}
@media (min-width: 640px) {
  .breadcrumbs li.current {
    max-width: 380px;
  }
}
@media (min-width: 1024px) {
  .breadcrumbs li.current {
    max-width: 520px;
  }
}

/* ============================================
   POST META BAR (date + reading time)
   ============================================ */
.post-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}
.post-meta-bar .new-time,
.post-meta-bar .view-count-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  color: #888;
  margin: 0;
  line-height: 1;
}
.view-count-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  color: #888;
}
.view-count-badge i {
  font-size: 0.85rem;
}

/* ============================================
   CATEGORY & TAG BADGES
   ============================================ */
.post-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.category-badge {
  display: inline-block;
  padding: 0.2rem 0.75rem;
  background-color: var(--primary-color);
  color: #fff;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s, transform 0.2s;
  white-space: nowrap;
}
.category-badge:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-1px);
}
.category-badge--sm {
  padding: 0.15rem 0.55rem;
  font-size: 0.7rem;
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}
.post-tags > i {
  color: #888;
  font-size: 0.9rem;
}
.tag-badge {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border: 1px solid #ddd;
  border-radius: 999px;
  font-size: 0.75rem;
  color: #555;
  text-decoration: none;
  transition: border-color 0.3s, color 0.3s, background-color 0.3s;
  white-space: nowrap;
}
.tag-badge:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background-color: rgba(20, 84, 165, 0.05);
}

/* ============================================
   TABLE OF CONTENTS
   ============================================ */
.toc-box {
  background: #f8faff;
  border: 1px solid #d5e3f5;
  border-left: 4px solid var(--primary-color);
  border-radius: 0.75rem;
  margin-bottom: 1.5rem;
  overflow: hidden;
}
.toc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary-color);
  user-select: none;
  gap: 0.5rem;
}
.toc-header span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.toc-chevron {
  transition: transform 0.3s ease;
  font-size: 0.8rem;
  flex-shrink: 0;
}
.toc-chevron.collapsed {
  transform: rotate(180deg);
}
.toc-nav {
  padding: 0.5rem 1rem 0.75rem;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.3s ease;
  max-height: 1000px;
  opacity: 1;
}
.toc-nav.toc-collapsed {
  max-height: 0;
  opacity: 0;
  padding-top: 0;
  padding-bottom: 0;
}
.toc-nav ol {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: toc-counter;
}
.toc-nav ol li {
  counter-increment: toc-counter;
  margin: 0.35rem 0;
  font-size: 0.875rem;
  line-height: 1.5;
}
.toc-nav ol li::before {
  content: counters(toc-counter, ".") ". ";
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.8rem;
}
.toc-nav ol li.toc-level-3 {
  padding-left: 1.25rem;
  font-size: 0.83rem;
}
.toc-nav ol li.toc-level-3::before {
  font-size: 0.75rem;
}
.toc-nav ol li a {
  color: #333;
  text-decoration: none;
  transition: color 0.25s;
}
.toc-nav ol li a:hover,
.toc-nav ol li a.toc-active {
  color: var(--primary-color);
  font-weight: 600;
}

/* ============================================
   SOCIAL SHARE
   ============================================ */
.social-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 0;
  border-top: 1px solid #ebebeb;
}
.share-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: #555;
  margin-right: 0.25rem;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, opacity 0.2s;
}
.share-btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}
.share-fb {
  background-color: #1877f2;
  color: #fff;
}
.share-zalo {
  background-color: #0068ff;
  color: #fff;
}
.share-copy {
  background-color: #f0f0f0;
  color: #333;
}
.share-copy.copied {
  background-color: #22c55e;
  color: #fff;
}
.share-icon-svg {
  width: 1rem;
  height: 1rem;
}
@media (max-width: 480px) {
  .share-btn span {
    display: none;
  }
  .share-btn {
    padding: 0.4rem 0.65rem;
    font-size: 1rem;
  }
}

/* ============================================
   STICKY SIDEBAR
   ============================================ */
.sticky-sidebar {
  position: sticky;
  top: 6rem;
}

/* ============================================
   CATEGORY PAGE
   ============================================ */
.section-new__cate {
  padding: 1.5rem 0 3rem;
}
.cate-heading {
  border-bottom: 2px solid #ebebeb;
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}
.cate-title {
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.2;
}
.cate-desc {
  margin-top: 0.4rem;
  color: #666;
  font-size: 0.9rem;
}

/* Grid */
.cate-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 1023px) {
  .cate-posts-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}
@media (max-width: 540px) {
  .cate-posts-grid {
    grid-template-columns: 1fr;
    gap: 0.875rem;
  }
  .cate-title {
    font-size: 1.375rem;
  }
}

/* Card */
.cate-card {
  display: flex;
  flex-direction: column;
  border-radius: 0.75rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  transition: box-shadow 0.25s, transform 0.25s;
}
.cate-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  transform: translateY(-3px);
}

/* Card image */
.cate-card__img {
  display: block;
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, #e8f0fd, #d0e2ff);
  flex-shrink: 0;
}
.cate-card__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.cate-card:hover .cate-card__img img {
  transform: scale(1.05);
}

/* Card body */
.cate-card__body {
  padding: 0.875rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}
.cate-card__title {
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.45;
  margin: 0.25rem 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cate-card__title a {
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.25s;
}
.cate-card__title a:hover {
  color: var(--primary-color);
}
.cate-card__excerpt {
  font-size: 0.8125rem;
  color: #666;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}
.cate-card__meta {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  font-size: 0.75rem;
  color: #9ca3af;
  margin-top: auto;
  padding-top: 0.5rem;
  border-top: 1px solid #f3f4f6;
}
.cate-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

/* ============================================
   PAGINATION
   ============================================ */
.pagination-wrap {
  display: flex;
  justify-content: center;
}
.pagination-wrap .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid #ddd;
  border-radius: 0.5rem;
  margin: 0 0.2rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #555;
  text-decoration: none;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}
.pagination-wrap .page-numbers:hover,
.pagination-wrap .page-numbers.current {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}
.pagination-wrap .page-numbers.dots {
  border: none;
  cursor: default;
}
@media (max-width: 480px) {
  .pagination-wrap .page-numbers {
    width: 2rem;
    height: 2rem;
    font-size: 0.8rem;
    margin: 0 0.1rem;
  }
}

/* ============================================
   NO POSTS STATE
   ============================================ */
.no-posts-wrap {
  text-align: center;
  padding: 4rem 1rem;
  color: #888;
}
.no-posts-wrap i {
  font-size: 3rem;
  display: block;
  margin-bottom: 1rem;
  color: #ccc;
}
.no-posts-wrap p {
  margin-bottom: 1.5rem;
  font-size: 1rem;
}
.btn-back-home {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.5rem;
  background-color: var(--primary-color);
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  transition: background-color 0.3s, transform 0.2s;
}
.btn-back-home:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
}

/* ============================================
   RELATED NEWS SECTION
   ============================================ */
.related-news-section {
  border-top: 2px solid #f0f0f0;
  padding-top: 1.5rem;
}
.related-news-title {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--primary-color);
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--primary-color);
  margin-bottom: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.related-news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 540px) {
  .related-news-grid {
    grid-template-columns: 1fr;
  }
}
.related-news-item {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: 0.625rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 6px rgba(0,0,0,0.07);
  transition: box-shadow 0.25s, transform 0.25s;
}
.related-news-item:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}
.related-news-img {
  display: block;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.related-news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.related-news-item:hover .related-news-img img {
  transform: scale(1.04);
}
.related-news-body {
  padding: 0.625rem 0.75rem 0.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.related-news-item-title {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.45;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.related-news-item-title a {
  color: #222;
  text-decoration: none;
  transition: color 0.25s;
}
.related-news-item-title a:hover {
  color: var(--primary-color);
}
.related-news-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.725rem;
  color: #9ca3af;
  margin-top: auto;
}
.related-news-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

/* ============================================
   COMMENTS SECTION
   ============================================ */
.comments-section {
  border-top: 2px solid #f0f0f0;
  padding-top: 1.5rem;
}
.comments-section #comments {
  font-size: 0.9375rem;
}
.comments-section .comments-title,
.comments-section #reply-title {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--primary-color);
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--primary-color);
  margin-bottom: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
/* Comment list */
.comments-section .comment-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}
.comments-section .comment-list .comment {
  padding: 1rem 0;
  border-bottom: 1px solid #f0f0f0;
}
.comments-section .comment-list .comment:last-child {
  border-bottom: none;
}
.comments-section .comment-author .avatar {
  border-radius: 50%;
  width: 40px;
  height: 40px;
  float: left;
  margin-right: 0.75rem;
}
.comments-section .comment-meta {
  font-size: 0.8rem;
  color: #9ca3af;
  margin-bottom: 0.5rem;
}
.comments-section .comment-meta .comment-author b {
  font-size: 0.9rem;
  font-weight: 700;
  color: #333;
}
.comments-section .comment-content p {
  font-size: 0.9rem;
  color: #444;
  margin: 0.5rem 0 0;
  clear: both;
}
.comments-section .reply a {
  font-size: 0.75rem;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}
.comments-section .children {
  list-style: none;
  padding-left: 2rem;
  margin-top: 0.5rem;
  border-left: 2px solid #f0f4ff;
}
/* Comment form */
.comments-section .comment-form label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #555;
  margin-bottom: 0.3rem;
}
.comments-section .comment-form input[type="text"],
.comments-section .comment-form input[type="email"],
.comments-section .comment-form input[type="url"],
.comments-section .comment-form textarea {
  width: 100%;
  padding: 0.55rem 0.85rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  font-family: inherit;
  color: #333;
  background: #fafafa;
  transition: border-color 0.25s, box-shadow 0.25s;
  outline: none;
}
.comments-section .comment-form input:focus,
.comments-section .comment-form textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(20, 84, 165, 0.1);
  background: #fff;
}
.comments-section .comment-form textarea {
  min-height: 120px;
  resize: vertical;
}
.comments-section .comment-form .form-submit {
  margin-top: 0.75rem;
}
.comments-section .comment-form .submit {
  padding: 0.55rem 1.5rem;
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
}
.comments-section .comment-form .submit:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-1px);
}
.comments-section .comment-form p {
  margin-bottom: 0.75rem;
}
.comments-section .logged-in-as,
.comments-section .comment-notes {
  font-size: 0.8rem;
  color: #9ca3af;
  margin-bottom: 0.75rem;
}
