/* ============================================================
   UNITED CARRIERS — Industry News Section
   ============================================================ */

.industry-news {
  background-color: var(--color-black, #0c0c0c);
  padding: 120px 0 80px;
  position: relative;
  z-index: 2; /* Sits cleanly in flow */
}

.industry-news__inner {
  max-width: 1000px; /* Constrain width for readability like in the design */
  margin: 0 auto;
}

.industry-news__heading {
  font-family: var(--font-display, 'Syne', sans-serif);
  font-size: clamp(1.73rem, 4.31vw, 3.45rem);
  font-weight: 800;
  line-height: 0.95;
  text-transform: uppercase;
  margin-bottom: 80px;
  text-align: center;
  letter-spacing: -0.01em;
}

.industry-news__heading-line {
  display: block;
}

.industry-news__heading-line--muted {
  color: #555;
}

.industry-news__heading-line--light {
  color: #fff;
}

.industry-news__list {
  display: flex;
  flex-direction: column;
}

/* Individual News Item */
.industry-news-item {
  display: block;
  position: relative;
  padding: 32px 0 24px;
  text-decoration: none;
  cursor: pointer;
}

.industry-news-item:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.15); /* For the very top item if needed, but in image it seems to not have a top line, wait, image 1 shows no top line on the first item */
  border-top: none;
}

.industry-news-item__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 8px; /* space before the line */
}

.industry-news-item__left {
  flex: 1 1 auto;
}

.industry-news-item__date,
.industry-news-item__category {
  font-family: var(--font-mono, 'IBM Plex Mono', monospace);
  font-size: 0.56rem;
  color: #888;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.industry-news-item__date {
  display: block;
  margin-bottom: 8px;
}

.industry-news-item__title {
  font-family: var(--font-display, 'Syne', sans-serif);
  font-weight: 700;
  font-size: 0.78rem;
  color: #fff;
  line-height: 1.3;
  margin: 0;
  transition: color 0.3s ease;
}

.industry-news-item__right {
  flex: 0 0 auto;
}

/* Line Animation Container */
.industry-news-item__line-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
}

.industry-news-item__line-base {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.15);
}

.industry-news-item__line-hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 1px;
  background-color: #fff;
  transition: width 0.5s cubic-bezier(0.25, 1, 0.2, 1);
}

/* Hover States */
.industry-news-item:hover .industry-news-item__line-hover {
  width: 100%;
}

.industry-news-item:hover .industry-news-item__title {
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
  .industry-news__heading {
    text-align: left;
    margin-bottom: 50px;
  }
  
  .industry-news-item__content {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .industry-news-item__right {
    width: 100%;
    text-align: left;
  }
}
