.latest-articles-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      circle at top left,
      rgba(0, 97, 255, 0.055),
      transparent 26%
    ),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.latest-articles-section::after {
  content: "";
  position: absolute;
  left: -30px;
  bottom: -40px;
  width: 220px;
  height: 180px;
  opacity: 0.13;
  pointer-events: none;
  background-image: radial-gradient(circle, #0d6efd 2px, transparent 2.5px);
  background-size: 18px 18px;
}

.latest-articles-section .container-custom {
  position: relative;
  z-index: 2;
}

/* Section Head */

.latest-articles-head {
  margin-bottom: 34px;
}

.latest-articles-kicker {
  margin-bottom: 14px;
  color: #ff5a00;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.latest-articles-kicker-line {
  position: relative;
  width: 34px;
  height: 2px;
  flex-shrink: 0;
  border-radius: 20px;
  background: #ff5a00;
}

.latest-articles-kicker-line::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -3px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ff5a00;
  transform: translateY(-50%);
}

.latest-articles-head h2 {
  max-width: 720px;
  margin: 0;
  color: #071333;
  font-size: 44px;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.latest-articles-head p {
  max-width: 700px;
  margin: 14px 0 0;
  color: #34405c;
  font-size: 18px;
  line-height: 1.55;
}

.latest-articles-view-btn {
  min-height: 54px;
  padding: 12px 24px;
  border: 1px solid #071333;
  border-radius: 8px;
  color: #071333;
  background: transparent;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 800;
  text-decoration: none;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.latest-articles-view-btn:hover {
  color: #ffffff;
  background: #071333;
  transform: translateY(-2px);
}

.latest-articles-view-btn i {
  font-size: 15px;
}

/* Article List */

.latest-articles-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.latest-article-card {
  position: relative;
  border: 1px solid #e1eaf6;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(17, 40, 80, 0.06);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.latest-article-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(13, 40, 88, 0.09);
}

/* Article Image */

.latest-article-image {
  min-height: 282px;
  overflow: hidden;
  background: #061534;
}

.latest-article-image img {
  width: 100%;
  height: 100%;
  min-height: 282px;
  display: block;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.latest-article-card:hover .latest-article-image img {
  transform: scale(1.025);
}

/* Article Content */

.latest-article-content {
  min-width: 0;
  min-height: 282px;
  padding: 30px 34px;
}

.latest-article-category {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 17px;
  padding: 7px 11px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
}

.latest-article-category-purple {
  color: #5321d7;
  background: #eee9ff;
}

.latest-article-category-green {
  color: #087657;
  background: #e7f7f1;
}

.latest-article-category-orange {
  color: #e94d00;
  background: #fff0e5;
}

.latest-article-content h3 {
  margin: 0;
  color: #071333;
  font-size: 22px;
  line-height: 1.28;
  font-weight: 900;
  letter-spacing: -0.025em;
}

.latest-article-content h3 a {
  color: inherit;
  text-decoration: none;
  overflow-wrap: break-word;
}

.latest-article-content h3 a:hover {
  color: #075be8;
}

.latest-article-content > p {
  margin: 14px 0 24px;
  color: #34405c;
  font-size: 16px;
  line-height: 1.55;
  overflow-wrap: break-word;
}

/* Article Meta */

.latest-article-meta {
  min-width: 0;
  gap: 14px;
  color: #071333;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 600;
}

.latest-article-author {
  min-width: 0;
}

.latest-article-author img {
  width: 40px;
  min-width: 40px;
  height: 40px;
  display: block;
  border-radius: 50%;
  object-fit: cover;
}

.latest-article-author span {
  overflow-wrap: break-word;
}

.latest-article-meta-item i {
  font-size: 16px;
}

.latest-article-meta-divider {
  width: 1px;
  height: 23px;
  flex-shrink: 0;
  background: #cfd8e7;
}

.latest-article-arrow {
  width: 36px;
  min-width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ff5a00;
  border-radius: 50%;
  font-size: 19px;
  text-decoration: none;
  transition:
    background 0.25s ease,
    transform 0.25s ease;
}

.latest-article-arrow:hover {
  color: #ff5a00;
  background: #fff1e9;
  transform: translateX(3px);
}

/* Load More */

.latest-articles-load-more {
  position: relative;
  margin-top: 30px;
}

.latest-articles-load-btn {
  min-width: 320px;
  min-height: 58px;
  padding: 13px 28px;
  border-radius: 9px;
  color: #ffffff;
  background: linear-gradient(135deg, #061333, #082951);
  box-shadow: 0 12px 28px rgba(8, 41, 81, 0.16);
  font-size: 16px;
  line-height: 1.2;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.latest-articles-load-btn:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(8, 41, 81, 0.2);
}

.latest-articles-load-note {
  color: #425386;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 700;
  font-style: italic;
  text-align: left;
  transform: rotate(-5deg);
}

.latest-articles-load-note i {
  font-size: 34px;
  transform: rotate(-12deg);
}

.latest-articles-load-text {
  margin: 10px 0 0;
  color: #34405c;
  font-size: 15px;
  line-height: 1.5;
}

/* =========================================================
   Latest Articles Responsive
   ========================================================= */

@media (max-width: 1399px) {
  .latest-articles-head {
    margin-bottom: 30px;
  }

  .latest-articles-kicker {
    font-size: 14px;
  }

  .latest-articles-head h2 {
    font-size: 32px;
  }

  .latest-articles-head p {
    font-size: 15px;
  }

  .latest-articles-view-btn {
    min-height: 50px;
    padding: 11px 20px;
    font-size: 14px;
  }

  .latest-article-image,
  .latest-article-image img,
  .latest-article-content {
    min-height: 260px;
  }

  .latest-article-content {
    padding: 26px 28px;
  }

  .latest-article-content h3 {
    font-size: 22px;
  }

  .latest-article-content > p {
    margin: 12px 0 20px;
    font-size: 14px;
  }

  .latest-article-meta {
    gap: 11px;
    font-size: 12px;
  }

  .latest-article-author img {
    width: 36px;
    min-width: 36px;
    height: 36px;
  }

  .latest-articles-load-btn {
    min-height: 54px;
    font-size: 14px;
  }

  .latest-articles-load-text,
  .latest-articles-load-note {
    font-size: 14px;
  }
}

@media (max-width: 991px) {
  .latest-articles-head {
    align-items: start !important;
  }

  .latest-articles-view-btn {
    margin-top: 4px;
  }

  .latest-article-image,
  .latest-article-image img {
    min-height: 360px;
  }

  .latest-article-content {
    min-height: auto;
    padding: 30px;
  }

  .latest-article-content h3 br {
    display: none;
  }

  .latest-article-content > p {
    max-width: 750px;
  }

  .latest-articles-load-more {
    margin-top: 28px;
  }
}

@media (max-width: 767px) {
  .latest-articles-section {
    padding-top: 38px !important;
    padding-bottom: 38px !important;
  }

  .latest-articles-kicker {
    margin-bottom: 12px;
    font-size: 12px;
  }

  .latest-articles-kicker-line {
    width: 34px;
  }

  .latest-articles-head {
    margin-bottom: 24px;
  }

  .latest-articles-head h2 {
    font-size: 22px;
    line-height: 1.2;
    letter-spacing: -0.025em;
  }

  .latest-articles-head p {
    margin-top: 12px;
    font-size: 16px;
    line-height: 1.5;
  }

  .latest-articles-view-btn {
    width: 100%;
    min-height: 50px;
    padding: 12px 16px;
    font-size: 14px;
    white-space: normal;
    min-width: 0;
    overflow-wrap: break-word;
  }

  .latest-articles-list {
    gap: 16px;
  }

  .latest-article-card {
    border-radius: 12px;
  }

  .latest-article-image,
  .latest-article-image img {
    min-height: 260px;
    max-height: 300px;
  }

  .latest-article-content {
    padding: 24px 20px;
  }

  .latest-article-category {
    margin-bottom: 14px;
    padding: 6px 9px;
    font-size: 11px;
  }

  .latest-article-content h3 {
    font-size: 18px;
    line-height: 1.3;
  }

  .latest-article-content > p {
    margin: 11px 0 20px;
    font-size: 14px;
    line-height: 1.5;
  }

  .latest-article-meta {
    gap: 10px;
    font-size: 12px;
  }

  .latest-article-author {
    width: 100%;
    margin-bottom: 2px;
  }

  .latest-article-meta-divider:first-of-type {
    display: none;
  }

  .latest-article-arrow {
    margin-left: 0 !important;
  }

  .latest-articles-load-more {
    margin-top: 24px;
  }

  .latest-articles-load-btn {
    width: 100%;
    min-width: 0;
    min-height: 52px;
    padding: 12px 16px;
    font-size: 14px;
    white-space: normal;
    overflow-wrap: break-word;
  }

  .latest-articles-load-text {
    margin-top: 10px;
    font-size: 14px;
  }
}

@media (max-width: 575.98px) {
  .latest-article-image,
  .latest-article-image img {
    min-height: 220px;
    max-height: 250px;
  }

  .latest-article-content {
    padding: 21px 17px;
  }

  .latest-article-content h3 {
    font-size: 17px;
  }

  .latest-article-meta {
    align-items: flex-start !important;
  }

  .latest-article-meta-divider {
    height: 18px;
  }

  .latest-article-meta-item {
    font-size: 11px;
  }

  .latest-article-arrow {
    width: 30px;
    min-width: 30px;
    height: 30px;
    font-size: 16px;
  }
}
