/* ─── News Subdomain Styles ──────────────────────────────────────── */
/* Base styles (reset, tokens, layout, nav, utilities) loaded from main site */

/* ─── News Hero Panel ────────────────────────────────────────────── */

.news-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-color: #1a2744;
  color: #fff;
}

.news-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(26, 39, 68, 0.95) 0%,
    rgba(26, 39, 68, 0.85) 35%,
    rgba(26, 39, 68, 0.4) 65%,
    rgba(26, 39, 68, 0.15) 100%
  );
  z-index: 1;
}

.news-hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--content-max-width);
  margin-inline: auto;
  padding-inline: var(--space-xl);
  padding-block: var(--space-3xl);
  width: 100%;
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: var(--space-2xl);
}

.news-hero__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  justify-content: center;
}

.news-hero__title {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
}

.news-hero__title a {
  color: #fff;
  text-decoration: none;
}

.news-hero__title a:hover {
  text-decoration: underline;
}

.news-hero__source {
  font-size: var(--font-size-sm);
  opacity: 0.85;
  line-height: var(--line-height);
}

.news-hero__source a {
  color: var(--color-brass-light);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.04em;
}

.news-hero__source a:hover {
  text-decoration: underline;
}

.news-hero__meta {
  font-size: var(--font-size-sm);
  opacity: 0.7;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.news-hero__meta a {
  color: #fff;
  text-decoration: none;
}

.news-hero__meta a:hover {
  text-decoration: underline;
}

.news-hero__category {
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-brass-light);
}

.news-hero__agent {
  font-weight: var(--font-weight-bold);
}

.news-hero__right {
  /* Empty — image is background */
}

/* ─── Lab 317 Services Bar ───────────────────────────────────────── */

.news-bar {
  padding-block: var(--space-lg);
  border-top: 1px solid var(--color-border-light);
  border-bottom: 1px solid var(--color-border-light);
  background: var(--color-bg-subtle);
}

.news-bar__inner {
  max-width: var(--content-max-width);
  margin-inline: auto;
  padding-inline: var(--space-xl);
  display: flex;
  align-items: baseline;
  gap: var(--space-md);
}

.news-bar__title {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
}

.news-bar__title a {
  color: var(--color-link);
  text-decoration: none;
}

.news-bar__title a:hover {
  text-decoration: underline;
}

.news-bar__subtitle {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

/* ─── News List ──────────────────────────────────────────────────── */

.news-list {
  padding-block: var(--space-3xl);
}

.news-list__inner {
  max-width: var(--content-max-width);
  margin-inline: auto;
  padding-inline: var(--space-xl);
}

.news-list__items {
  display: flex;
  flex-direction: column;
}

.news-list__item {
  padding-block: var(--space-lg);
  border-bottom: 1px solid var(--color-border-light);
}

.news-list__item:first-child {
  padding-top: 0;
}

.news-list__item-category {
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-brass);
  margin-bottom: var(--space-xs);
}

.news-list__item-category a {
  color: var(--color-brass);
  text-decoration: none;
}

.news-list__item-category a:hover {
  text-decoration: underline;
}

.news-list__item-title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-xs);
}

.news-list__item-title a {
  color: var(--color-text);
  text-decoration: none;
}

.news-list__item-title a:hover {
  color: var(--color-link);
  text-decoration: underline;
}

.news-list__item-agent {
  font-size: var(--font-size-sm);
  margin-bottom: var(--space-xs);
}

.news-list__item-agent a {
  color: var(--color-link);
  text-decoration: none;
  font-weight: var(--font-weight-bold);
}

.news-list__item-agent a:hover {
  text-decoration: underline;
}

.news-list__item-date {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

/* ─── News Submenu (Category / Article pages) ────────────────────── */

.news-submenu {
  border-bottom: 1px solid var(--color-border-light);
  background: var(--color-bg);
}

.news-submenu__inner {
  max-width: var(--content-max-width);
  margin-inline: auto;
  padding-inline: var(--space-xl);
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  height: 40px;
}

.news-submenu__item {
  font-size: var(--font-size-sm);
  color: var(--color-text);
  text-decoration: none;
  font-weight: var(--font-weight-normal);
  transition: color var(--transition-fast);
}

.news-submenu__item:hover {
  color: var(--color-link);
}

.news-submenu__item--active {
  font-weight: var(--font-weight-bold);
}

/* ─── Article Content ────────────────────────────────────────────── */

.news-article {
  padding-block: var(--space-3xl);
}

.news-article__inner {
  max-width: var(--content-max-width);
  margin-inline: auto;
  padding-inline: var(--space-xl);
}

.news-article__source {
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-base);
  color: var(--color-text);
  line-height: var(--line-height);
  margin-bottom: var(--space-lg);
}

.news-article__source a {
  color: var(--color-link);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.news-article__source a:hover {
  text-decoration: underline;
}

.news-article__text {
  font-size: var(--font-size-base);
  color: var(--color-text);
  line-height: var(--line-height);
  max-width: 800px;
}

.news-article__text p {
  margin-bottom: var(--space-md);
}

.news-article__text p:last-child {
  margin-bottom: 0;
}

/* ─── Content Footer ─────────────────────────────────────────────── */

.news-content-footer {
  padding-block: var(--space-2xl);
  border-top: 1px solid var(--color-border);
  margin-top: var(--space-3xl);
}

.news-content-footer__inner {
  max-width: var(--content-max-width);
  margin-inline: auto;
  padding-inline: var(--space-xl);
}

.news-content-footer__brand {
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-base);
  margin-bottom: var(--space-md);
}

.news-content-footer__text {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  line-height: var(--line-height);
  max-width: 600px;
}

.news-content-footer__text a {
  color: var(--color-link);
  text-decoration: none;
}

.news-content-footer__text a:hover {
  text-decoration: underline;
}

/* ─── Category Panel (on article pages) ──────────────────────────── */

.news-more {
  padding-block: var(--space-3xl);
  background: var(--color-bg-subtle);
}

.news-more__inner {
  max-width: var(--content-max-width);
  margin-inline: auto;
  padding-inline: var(--space-xl);
}

.news-more__title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-2xl);
}

.news-more__title a {
  color: var(--color-text);
  text-decoration: none;
}

.news-more__title a:hover {
  color: var(--color-link);
}

/* ─── Simplified Footer ──────────────────────────────────────────── */

.news-footer {
  padding-block: var(--space-lg);
  border-top: 1px solid var(--color-border-light);
  text-align: center;
}

.news-footer__inner {
  max-width: var(--content-max-width);
  margin-inline: auto;
  padding-inline: var(--space-xl);
}

.news-footer__link {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.news-footer__link:hover {
  color: var(--color-link);
}

/* ─── Responsive ─────────────────────────────────────────────────── */

@media (max-width: 800px) {
  .news-hero__inner {
    grid-template-columns: 1fr;
  }

  .news-hero__right {
    display: none;
  }

  .news-bar__inner {
    flex-direction: column;
    gap: var(--space-xs);
  }
}
