/* ============================================================
   OES Global — Newsroom page
   ============================================================ */

@keyframes cbMarkPulse {
  0%, 100% { opacity: 0.06; }
  50%       { opacity: 0.10; }
}

/* Hero */
.nr-hero {
  position: relative;
  background: #0B2545;
  color: white;
  padding: calc(var(--header-h) + 80px) 0 140px;
  min-height: auto;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.nr-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(46,107,168,0.30) 0%, transparent 55%),
    radial-gradient(circle at 10% 80%, rgba(125,168,209,0.18) 0%, transparent 35%);
  pointer-events: none;
}
.nr-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/modern/oes-mark.svg') no-repeat right 5% center / 700px auto;
  opacity: 0.06;
  filter: brightness(0) invert(1) drop-shadow(0 0 60px rgba(125,168,209,0.4));
  pointer-events: none;
  animation: cbMarkPulse 6s ease-in-out infinite;
}
.nr-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.8);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.nr-hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-300);
  flex-shrink: 0;
}
.nr-hero .container { position: relative; z-index: 2; }
.nr-hero h1 {
  color: white;
  font-size: clamp(36px, 4.8vw, 58px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.06;
  margin-bottom: 18px;
  max-width: 900px;
}
.nr-hero p.lead {
  font-size: clamp(16px, 1.3vw, 18px);
  color: rgba(255,255,255,0.82);
  font-weight: 400;
  margin: 0;
  max-width: 700px;
}

/* Stories grid */
.nr-stories {
  background: white;
  padding: 90px 0 120px;
}
.nr-stories-head {
  text-align: center;
  margin-bottom: 56px;
}
.nr-stories-head h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  color: var(--blue-500);
  margin: 0;
  letter-spacing: -0.015em;
}
.nr-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
  max-width: 1180px;
  margin: 0 auto;
}
.nr-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease;
}
.nr-card:hover { transform: translateY(-6px); }
.nr-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(11,37,69,0.12);
  background: linear-gradient(135deg, #1E4976, #102E54);
}
.nr-thumb-brand {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 36px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--line);
  z-index: 2;
}
.nr-thumb-brand img {
  max-height: 22px;
  width: auto;
}
.nr-thumb-image {
  position: absolute;
  inset: 36px 0 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  text-align: center;
  padding: 20px;
  background-size: cover;
  background-position: center;
}
.nr-thumb-image .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,37,69,0) 0%, rgba(11,37,69,0.5) 100%);
}
.nr-thumb-image .badge-title {
  position: relative;
  z-index: 1;
  font-size: clamp(16px, 1.5vw, 20px);
  letter-spacing: -0.01em;
  line-height: 1.25;
  max-width: 90%;
}
.nr-thumb-image .badge-title .accent {
  display: block;
  font-size: 0.7em;
  font-weight: 500;
  margin-top: 6px;
  color: rgba(255,255,255,0.85);
}

/* Brand-themed thumb backgrounds */
.nr-thumb.tcfl       .nr-thumb-image { background: linear-gradient(135deg, #102E54, #2d6cb5); }
.nr-thumb.hd         .nr-thumb-image { background: linear-gradient(135deg, #0F73B5, #1FA0E0); }
.nr-thumb.a4         .nr-thumb-image { background: linear-gradient(135deg, #005371, #0E7B58); }
.nr-thumb.oes        .nr-thumb-image { background: linear-gradient(135deg, #c0392b, #8e1f17); }
.nr-thumb.oes-dark   .nr-thumb-image { background: linear-gradient(135deg, #1f1f1f, #3a3a3a); }
.nr-thumb.hd-light   .nr-thumb-image { background: linear-gradient(135deg, #4FB6E0, #1FA0E0); }
.nr-thumb.tcfl-orange .nr-thumb-image { background: linear-gradient(135deg, #F26B1A, #C24B0A); }
.nr-thumb.hd-pink    .nr-thumb-image { background: linear-gradient(135deg, #F3C4D5, #E8A0B8); }
.nr-thumb.sd2k       .nr-thumb-image { background: linear-gradient(135deg, #222, #444); }

.nr-card-title {
  margin: 22px 0 18px;
  font-size: 19px;
  font-weight: 700;
  color: var(--blue-500);
  line-height: 1.3;
  letter-spacing: -0.01em;
  max-width: 88%;
}
.nr-read-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--navy-700);
  color: white;
  padding: 12px 28px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: all 0.25s ease;
  border: 1.5px solid var(--navy-700);
  margin-top: auto;
}
.nr-read-more:hover {
  background: var(--blue-500);
  border-color: var(--blue-500);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(46, 107, 168, 0.3);
}
.nr-read-more .arrow { transition: transform 0.25s ease; }
.nr-read-more:hover .arrow { transform: translateX(4px); }

/* No posts */
.nr-no-posts {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--gray-500);
  padding: 60px 0;
  font-size: 18px;
}

@media (max-width: 980px) {
  .nr-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .nr-grid { grid-template-columns: 1fr; }
  .nr-hero { padding: calc(var(--header-h) + 40px) 0 60px; }
}
