/* JLC News-list styles extracted from the approved Blog design. */
:root {
        --ink: #11161b;
        --steel: #7d8a92;
        --muted: #5d666d;
        --line: rgba(17, 22, 27, 0.14);
        --white: #fff;
        --paper: #eef2f4;
        --shadow: 0 26px 70px rgba(17, 22, 27, 0.14);
      }

      * {
        box-sizing: border-box;
      }

      html {
        scroll-behavior: smooth;
      }

      body {
        margin: 0;
        font-family: "IBM Plex Sans", Arial, sans-serif;
        color: var(--ink);
        background:
          linear-gradient(90deg, rgba(255, 255, 255, 0.82), rgba(180, 188, 194, 0.2), rgba(255, 255, 255, 0.72)),
          linear-gradient(180deg, #eef2f4, #f8fafb 48%, #eceff0);
      }

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

      img {
        display: block;
        max-width: 100%;
      }

      .container {
        width: min(1180px, calc(100% - 40px));
        margin: 0 auto;
      }

      .news-hero {
        min-height: 520px;
        display: grid;
        align-items: end;
        padding: 140px 0 70px;
        color: var(--white);
        background:
          linear-gradient(90deg, rgba(8, 11, 14, 0.9), rgba(8, 11, 14, 0.34)),
          url("/skin/static/images/jlc/industrial-aluminum-production-flow.png") center / cover no-repeat;
      }

      .eyebrow,
.section-label,
.news-date {
        color: var(--steel);
        font-size: 12px;
        font-weight: 800;
        text-transform: uppercase;
      }

      .news-hero .eyebrow {
        color: rgba(255, 255, 255, 0.68);
      }

      h1,
h2,
h3 {
        font-family: "Archivo", sans-serif;
      }

      h1 {
        max-width: 820px;
        margin: 16px 0;
        font-size: 64px;
        line-height: 0.98;
      }

      .hero-copy {
        max-width: 700px;
        margin: 0;
        color: rgba(255, 255, 255, 0.78);
        font-size: 18px;
      }

      .section {
        padding: 70px 0 0;
      }

      .section-head {
        display: flex;
        justify-content: space-between;
        gap: 28px;
        align-items: end;
        margin-bottom: 24px;
      }

      .section-title {
        margin: 8px 0 0;
        font-size: 42px;
      }

      .section-head p {
        max-width: 420px;
        margin: 0;
        color: var(--muted);
      }

      .news-meta {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        align-items: center;
      }

      .news-tag {
        padding: 6px 9px;
        background: rgba(17, 22, 27, 0.08);
        color: var(--ink);
        font-size: 12px;
        font-weight: 800;
      }

      .news-card p {
        margin: 0;
        color: var(--muted);
      }

      .news-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
      }

      .news-card {
        display: grid;
        grid-template-rows: auto 1fr;
        border: 1px solid var(--line);
        border-radius: 6px;
        background: rgba(255, 255, 255, 0.8);
        box-shadow: 0 18px 40px rgba(17, 22, 27, 0.08);
        overflow: hidden;
        transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
      }

      .news-card:hover {
        transform: translateY(-5px);
        border-color: rgba(17, 22, 27, 0.28);
        box-shadow: var(--shadow);
      }

      .news-card img {
        width: 100%;
        aspect-ratio: 1.55;
        object-fit: cover;
        filter: saturate(0.96) contrast(1.02);
        transition: transform 0.34s ease;
      }

      .news-card:hover img {
        transform: scale(1.04);
      }

      .news-card-body {
        display: grid;
        gap: 12px;
        padding: 22px;
      }

      .news-card h3 {
        margin: 0;
        font-size: 25px;
        line-height: 1.08;
      }

      .reveal {
        opacity: 0;
        transform: translateY(18px);
        transition: opacity 0.6s ease, transform 0.6s ease;
      }

      .reveal.is-visible {
        opacity: 1;
        transform: translateY(0);
      }

      @media (max-width: 980px) {

        .news-grid {
          grid-template-columns: 1fr;
        }
      }

      @media (max-width: 680px) {
        .container {
          width: min(100% - 28px, 1180px);
        }

        h1 {
          font-size: 42px;
        }

        .section {
          padding-top: 52px;
        }

        .section-head {
          display: block;
        }

        .section-title {
          font-size: 32px;
        }
      }
      /* End unified homepage navigation */

/* EmpireCMS news-list additions */
.jlc-news-empty {
  margin-top: 28px;
  border: 1px solid var(--line);
  padding: 34px;
  text-align: center;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.jlc-news-empty h3 {
  margin: 0 0 8px;
  font-family: "Archivo", sans-serif;
  font-size: clamp(22px, 3vw, 30px);
}

.jlc-news-empty p {
  margin: 0;
  color: var(--muted);
}

.jlc-news-pagebar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 38px;
  flex-wrap: wrap;
}

.jlc-news-pagebar:empty {
  display: none;
}

.jlc-news-pagebar a,
.jlc-news-pagebar b {
  min-width: 42px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  font-weight: 700;
}

.jlc-news-pagebar b,
.jlc-news-pagebar a:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}
