/* ==========================================================================
   Langsen Theme - News List Page Redesign (High Fidelity to Mockup)
   ========================================================================== */

:root {
  --news-navy: #062a63;
  --news-red: #ee141d;
  --news-dark: #0f172a;
  --news-muted: #64748b;
  --news-border: #edf2f7;
  --news-bg: #f8fafd;
}

.langsen-news {
  color: var(--news-navy);
  font-family: 'Plus Jakarta Sans', Arial, sans-serif;
  background: var(--news-bg);
  position: relative;
  overflow-x: hidden;
}

/* --------------------------------------------------------------------------
   1. Page Hero Banner
   -------------------------------------------------------------------------- */
.langsen-news .ls-news-hero {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #062a63;
  color: #ffffff;
}

.langsen-news .ls-news-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  filter: brightness(0.85);
}

.langsen-news .ls-news-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 42, 99, 0.88) 0%, rgba(6, 42, 99, 0.48) 50%, rgba(6, 42, 99, 0.15) 100%);
  pointer-events: none;
}

.langsen-news .ls-news-hero > .container {
  position: relative;
  z-index: 2;
}

.ls-news-hero-inner {
  max-width: 600px;
}

.langsen-news .ls-news-hero h1 {
  margin: 0 0 10px;
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(38px, 4.2vw, 52px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.langsen-news .langsen-hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.85);
}

.langsen-news .langsen-hero-breadcrumb a {
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.langsen-news .langsen-hero-breadcrumb a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.langsen-news .langsen-hero-breadcrumb .bc-sep {
  font-size: 12px;
  opacity: 0.7;
}

/* --------------------------------------------------------------------------
   2. Main News Content Section
   -------------------------------------------------------------------------- */
.ls-news-content {
  padding: 48px 0 64px;
}

/* Featured / Top News Item (Large Horizontal Card) */
.ls-news-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #edf2f7;
  box-shadow: 0 4px 20px rgba(6, 42, 99, 0.04);
  overflow: hidden;
  align-items: stretch;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  margin-bottom: 36px;
}

.ls-news-featured:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(6, 42, 99, 0.08);
}

.ls-news-featured-image {
  display: block;
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 260px;
  background: #eef2f6;
}

.ls-news-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.ls-news-featured:hover .ls-news-featured-image img {
  transform: scale(1.05);
}

.ls-news-featured-copy {
  padding: 24px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.ls-news-date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #8c9aa8;
  margin-bottom: 12px;
}

.ls-news-date i {
  font-size: 14px;
  color: #8c9aa8;
}

.ls-news-featured-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(22px, 2vw, 27px);
  font-weight: 800;
  color: #062a63;
  line-height: 1.32;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}

.ls-news-featured-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}

.ls-news-featured-title a:hover {
  color: #ee141d;
}

.ls-news-featured-desc {
  font-size: 15.5px;
  line-height: 1.75;
  color: #64748b;
  margin: 0 0 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Button Component */
.ls-news-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  background: #ee141d;
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 800;
  border-radius: 4px;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.ls-news-button:hover {
  background: #cc1018;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(238, 20, 29, 0.32);
}

.ls-news-button .btn-arrow {
  font-size: 14px;
  line-height: 1;
  transition: transform 0.3s ease;
}

.ls-news-button:hover .btn-arrow {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   3. Regular News Grid (3 Columns)
   -------------------------------------------------------------------------- */
.ls-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.ls-news-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #edf2f7;
  box-shadow: 0 4px 18px rgba(6, 42, 99, 0.03);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.ls-news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(6, 42, 99, 0.08);
  border-color: rgba(6, 42, 99, 0.16);
}

.ls-news-card-image {
  display: block;
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
  background: #eef2f6;
}

.ls-news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.ls-news-card:hover .ls-news-card-image img {
  transform: scale(1.06);
}

.ls-news-card-copy {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.ls-news-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 18.5px;
  font-weight: 800;
  color: #062a63;
  line-height: 1.38;
  margin: 0 0 10px;
  min-height: 48px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  letter-spacing: -0.01em;
}

.ls-news-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}

.ls-news-card:hover .ls-news-card-title a,
.ls-news-card-title a:hover {
  color: #ee141d;
}

.ls-news-card-desc {
  font-size: 14.5px;
  line-height: 1.68;
  color: #64748b;
  margin: 0 0 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ls-news-card-footer {
  margin-top: auto;
}

.ls-news-empty {
  padding: 60px 0;
  text-align: center;
  color: #64748b;
  font-size: 15px;
}

/* --------------------------------------------------------------------------
   5. Bottom CTA Banner
   -------------------------------------------------------------------------- */
.ls-news-cta {
  padding: 56px 0;
  background: linear-gradient(90deg, rgba(6, 32, 68, 0.78) 0%, rgba(6, 32, 68, 0.45) 50%, rgba(6, 32, 68, 0.78) 100%),
              url('../images/news-cta-bg.jpg') center 55% / cover no-repeat;
  color: #ffffff;
  text-align: center;
}

.ls-news-cta-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(100% - 48px, 1410px);
  margin: 0 auto;
}

.ls-news-cta h2 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 900;
  letter-spacing: 0.02em;
  margin: 0 0 8px;
  color: #ffffff;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.ls-news-cta p {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 22px;
  max-width: 580px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.ls-news-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 34px;
  background: #ee141d;
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.ls-news-cta-btn:hover {
  background: #cc1018;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(238, 20, 29, 0.35);
}

.ls-news-cta-btn .btn-arrow {
  font-size: 15px;
  transition: transform 0.3s ease;
}

.ls-news-cta-btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   6. Responsive Layout Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .ls-news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

  .ls-news-featured-copy {
    padding: 22px 28px;
  }
}

@media (max-width: 768px) {
  .ls-news-content {
    padding: 36px 0 48px;
  }

  .ls-news-featured {
    grid-template-columns: 1fr;
    margin-bottom: 28px;
  }

  .ls-news-featured-image {
    min-height: 200px;
    height: 200px;
  }

  .ls-news-featured-copy {
    padding: 20px;
  }

  .ls-news-grid {
    gap: 18px;
  }
}

@media (max-width: 580px) {
  .ls-news-hero-inner h1 {
    font-size: 32px;
  }

  .ls-news-content {
    width: calc(100% - 24px);
    padding: 28px 0 40px;
  }

  .ls-news-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ls-news-card-image {
    height: 185px;
  }

  .ls-news-card-copy {
    padding: 18px 16px 20px;
  }

  .ls-news-card-title {
    font-size: 16px;
    min-height: auto;
  }

  .ls-news-cta {
    padding: 40px 0;
  }

  .ls-news-cta-container {
    width: calc(100% - 24px);
  }
}
