/* =========================
   HERO (News Stories)
   ========================= */

.page-news-operation .operation-hero {
  position: relative;
  width: 100%;
  height: 80vh;
  background: var(--hero-bg) center/cover no-repeat #020617;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  margin-bottom: 0;
  color: #fff;
  overflow: hidden;
}

.page-news-operation .operation-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.55) 40%,
    rgba(0, 0, 0, 0.35) 100%
  );
  pointer-events: none;
}

.page-news-operation .operation-hero .general-hero-inner {
  position: relative;
  max-width: var(--content-width);
  width: 100%;
  margin-inline: auto;
  padding-inline: 16px;
}

.page-news-operation .operation-hero .general-hero-title {
  font-size: clamp(2.2rem, 5vw, 5rem);
  line-height: 1;
  margin: 0 0 0.75rem;
  font-weight: 500;
  width: 60%;
}

.page-news-operation .operation-hero .general-hero-lead {
  max-width: 640px;
  font-size: 1rem;
  line-height: 1.5;
  margin: 0;
}

/* =========================
     FEATURED INTRO BLOCK
     ========================= */

.page-news-operation .news-featured-intro {
  padding: 40px 0 32px;
  border-bottom: 1px solid #e5e7eb;
}

.page-news-operation .news-featured-intro .container {
  max-width: var(--content-width);
  margin-inline: auto;
  padding-inline: 16px;
}

.page-news-operation .news-featured-title {
  font-size: 3.5rem;
  margin: 0 0 0.75rem;
  color: var(--global-color-blue);
  font-weight: 700;
}

.page-news-operation .news-featured-meta {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 1.25rem;
}

.page-news-operation .news-featured-figure {
  margin: 0 0 1.5rem;
}

.page-news-operation .news-featured-figure img {
  width: 100%;
  height: auto;
  display: block;
}

.page-news-operation .news-featured-content {
  font-size: 1.5rem;
  line-height: 1.6;
  color: #000;
}

.page-news-operation .news-featured-readmore {
  margin-top: 1rem;
}

/* Section title above each news-updates block (taxonomy name) */
.page-news-operation .news-type-section {
  border-bottom: 1px solid #e5e7eb;
}

.page-news-operation .news-type-section:last-of-type {
  border-bottom: none;
}

.page-news-operation .news-type-section .news-type-title {
  font-size: 2.5rem;
  font-weight: 500;
  margin: 0 0 16px;
  color: #000;
}

/* =========================
     News & Updates (2-col)
     from front page – scoped
     ========================= */

:root {
  --gap: clamp(16px, 2.2vw, 28px);
  --line: rgba(72, 117, 255, 0.25);
  --ink: #0b1222;
  --muted: #6b7b94;
  --brand: #2a4bff; /* IAI blue */
  --brand-2: #1e3df5;
  --paper: #ffffff;
}

.page-news-operation .news-updates {
  padding: clamp(20px, 3vw, 40px) 0;
  color: var(--ink);
}

.page-news-operation .news-updates .container {
  max-width: var(--content-width);
  margin-inline: auto;
  padding-inline: 16px;
}

.page-news-operation .news-updates .news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* featured | list */
  gap: var(--gap);
  align-items: start;
}

/* ========== Featured ========== */
.page-news-operation .news-updates .featured-news {
  background: var(--paper);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.page-news-operation .news-updates .featured-news:hover {
  /* add hover if you want */
}

.page-news-operation .news-updates .featured-news a {
  display: flex;
  color: inherit;
  text-decoration: none;
  flex-direction: column;
}

.page-news-operation .news-updates .featured-news .news-thumbnail {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.page-news-operation .news-updates .featured-news .news-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-news-operation .news-updates .featured-news h3 {
  font-size: clamp(20px, 1.5vw + 0.6rem, 28px);
  line-height: 1.15;
  margin-block: 18px 20px; margin-inline: 0px 18px;
  letter-spacing: 0;
  font-weight: 800;
  padding-inline-end: 30%;
}

.page-news-operation .news-updates .featured-news p {
  margin: 0 18px 18px;
  color: var(--content-text);
  font-size: clamp(20px, 0.55vw + 0.65rem, 20px);
  line-height: 1.5;
  margin-inline-start: 0px;
  padding-inline-end: 30%;
}

/* ========== Latest list (right column) – unified ========== */

.page-news-operation .news-updates .latest-news {
  display: grid;
  gap: var(--gap);
}

/* Each small card is a row: IMAGE LEFT, TEXT RIGHT */
.page-news-operation .news-updates .latest-news .news-item {
  display: flex;
  align-items: stretch;
  background: var(--paper);
  overflow: hidden;
}

/* Left side: thumbnail link */
.page-news-operation .news-updates .latest-news .news-item > a {
  flex: 0 0 53%;
  display: block;
  text-decoration: none;
  color: inherit;
}

/* Thumbnail */
.page-news-operation .news-updates .latest-news .news-item .news-thumbnail {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.page-news-operation .news-updates .latest-news .news-item .news-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Right side: text column */
.page-news-operation .news-updates .latest-news .news-item .news-item-content {
  flex: 1 1 47%;
  background: #fff;
  padding: 0 18px 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* Category + title + text keep your existing styles */
.page-news-operation .news-item .news-item-content .news-category,
.page-news-operation .featured-news .news-category {
  color: var(--global-color-blue);
  font-weight: 600;
}

.page-news-operation .news-item .news-item-content h4 {
  margin: 0 0 8px;
  font-size: clamp(16px, 1vw + 0.5rem, 20px);
  line-height: 1.25;
  font-weight: 800;
}

.page-news-operation .news-item .news-item-content p {
  margin: 0;
  font-size: clamp(16px, 0.55vw + 0.65rem, 16px);
  color: #000;
  line-height: 1.25;
}

/* Optional: “divider” style for 2nd item */
.page-news-operation .news-updates .latest-news .news-item:nth-child(2) {
  padding-block: 28px 28px; padding-inline: 0px 18px;
  border-top: 1px solid #e7e2e2;
  border-bottom: 1px solid #e7e2e2;
}

/* Date badge */
.page-news-operation .news-item .news-date-badge,
.page-news-operation .featured-news .news-date-badge {
  display: none;
  position: absolute;
  top: 10px;
  inset-inline-start: 10px;
  width: 48px;
  height: 48px;
  background: var(--global-color-blue);
  color: #fff;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center; /* keep the stack centered */
  align-items: center;
  font-weight: 600;
}

.page-news-operation .news-item .news-date-badge .day,
.page-news-operation .featured-news .news-date-badge .day {
  font-size: 1.6rem;
  line-height: 1;
  transform: translateY(4px); /* move number a bit lower */
}

.page-news-operation .news-item .news-date-badge .month,
.page-news-operation .featured-news .news-date-badge .month {
  font-size: 0.8rem;
  font-weight: 400;
}

/* Right side: text */
.page-news-operation .news-item .news-item-content {
  flex: 1 1 50%;
  background: #fff;
  padding-block: 0px 16px; padding-inline: 0px 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.page-news-operation .news-item .news-item-content .news-category,
.page-news-operation .featured-news .news-category {
  color: var(--global-color-blue);
  font-weight: 600;
}

.page-news-operation .featured-news .news-category {
  padding-top: 18px;
}

.page-news-operation .news-item .news-item-content h4 {
  margin: 0 0 8px;
  font-size: clamp(16px, 1vw + 0.5rem, 20px);
  line-height: 1.25;
  font-weight: 800;
}

.page-news-operation .news-item .news-item-content p {
  margin: 0;
  font-size: clamp(16px, 0.55vw + 0.65rem, 16px);
  color: #000;
  line-height: 1.25;
}

.news-type-footer {
  text-align: center;
  margin-block: 4rem 2rem; margin-inline: 0px 0;
}

.news-type-load-more {
  position: relative; /* needed for absolute icon */
  margin-inline-start: auto;
  height: 40px;
  padding-block: 0 0; padding-inline: 18px 42px; /* extra right padding for the icon */
  background: var(--global-color-blue);
  color: #fff;
  border-radius: 0;
  border: 0;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}

/* Keep hover/focus styling the same */
.news-type-load-more:hover,
.news-type-load-more:focus {
  background: var(--global-color-blue);
  color: #fff;
}

.news-type-load-more::after {
  content: "";
  position: absolute;
  inset-inline-end: 16px;
  top: 50%;
  width: 24px;
  height: 24px;
  transform: translateY(-50%);
  background-image: url("../images/icon_plus.svg");
  background-repeat: no-repeat;
  background-size: 24px 24px;
}

/* Responsive: stack on small screens */
@media (max-width: 640px) {
  .page-news-operation .news-updates .news-grid {
    grid-template-columns: 1fr;
  }

  .page-news-operation .news-updates .latest-news .news-item {
    flex-direction: column;
  }

  .page-news-operation .news-updates .latest-news .news-item > a,
  .page-news-operation
    .news-updates
    .latest-news
    .news-item
    .news-item-content {
    flex: 1 1 100%;
  }

  .page-news-operation .news-updates .latest-news .news-item:nth-child(2) {
    padding: 0;
    border-top: none;
    border-bottom: 1px solid #e7e2e2;
  }
}

/* =========================
     Term page: 3-column grid
     ========================= */

.tax-type .news-breadcrumbs {
  margin: 0.5rem 0;
}

.page-template-page-team .news-breadcrumbs {
  margin: 20px 0;
}

.tax-type .page-news-operation .news-type-section {
  border-bottom: none;
}

.tax-type .page-news-operation .news-updates {
  padding: clamp(10px, 1vw, 10px) 0;
}

.taxonomy-type-page .news-type-more {
  padding: 32px 0 48px;
}

.taxonomy-type-page .news-type-more .container {
  max-width: var(--content-width, 1200px);
  margin-inline: auto;
  padding-inline: 16px;
}

.taxonomy-type-page .news-type-more-title {
  font-size: 2rem;
  font-weight: 500;
  margin: 0 0 20px;
  color: var(--global-color-blue);
}

/* GRID: cells stretch to equal height */
.taxonomy-type-page .news-more-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
  align-items: stretch; /* key for equal height */
}

/* Article wrapper just fills the grid cell */
.taxonomy-type-page .news-more-item {
  /* height: 100%; */
  margin-bottom: 60px;
}

/* Anchor is the full-height flex card */
.taxonomy-type-page .news-more-item a {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 0 none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  position: relative;
}

.taxonomy-type-page .news-more-item a:hover {
}

/* Thumbnail at top, natural height (or fix height if you want tighter rows) */
.taxonomy-type-page .news-more-item .news-thumbnail {
  height: 370px; /* adjust as needed (220–280px works well) */
  overflow: hidden;
}

.taxonomy-type-page .news-more-item .news-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Content stretches, Explore button sticks to bottom */
.taxonomy-type-page .news-more-content {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  padding: 14px 0 0;
}

.taxonomy-type-page .news-more-content h3 {
  margin: 0 0 8px;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1;
}

.taxonomy-type-page .news-more-content p {
  margin: 0 0 10px;
  font-size: 0.9rem;
  line-height: 1.4;
}

.taxonomy-type-page .news-more-date {
  font-size: 16px;
  margin-bottom: 20px;
}

.taxonomy-type-page .news-more-content .news-more-link {
  margin-top: auto; /* pushes button to bottom of card */
  display: inline-block;
}

.taxonomy-type-page .news-more-link {
  position: relative;
  margin-inline-end: auto;
  padding-block: 0 0; padding-inline: 18px 42px;
  background: var(--global-color-blue);
  color: #fff;
  border-radius: 0;
  border: 0;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}

.taxonomy-type-page .news-more-link::after {
  content: "";
  position: absolute;
  inset-inline-end: 16px;
  top: 50%;
  width: 24px;
  height: 24px;
  transform: translateY(-50%);
  background-image: url(../images/icon_plus.svg);
  background-repeat: no-repeat;
  background-size: 24px 24px;
}

/* =========================
     SINGLE NEWS – HEADER BAR
     ========================= */

.single-news-page .container,
.taxonomy-type-page .container {
  max-width: var(--content-width, 1200px);
  margin-inline: auto;
  padding-inline: 16px;
}

.single-news-page .single-news-header {
  padding-top: 32px;
  padding-bottom: 10px;
}

/* Top row: breadcrumbs left, date + read time right */
.single-news-page .single-news-header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 12px;
}

.single-news-page .single-news-breadcrumbs #breadcrumbs,
.taxonomy-type-page .news-breadcrumbs #breadcrumbs,
.page-template-page-team .news-breadcrumbs #breadcrumbs {
  font-size: 0.8rem;
  color: #6b7280;
}

.single-news-page .single-news-breadcrumbs #breadcrumbs a,
.taxonomy-type-page .news-breadcrumbs #breadcrumbs a,
.page-template-page-team .news-breadcrumbs #breadcrumbs a {
  color: var(--global-color-blue);
  text-decoration: none;
}

.single-news-page .single-news-breadcrumbs #breadcrumbs a:hover,
.taxonomy-type-page .news-breadcrumbs #breadcrumbs a:hover,
.page-template-page-team .news-breadcrumbs #breadcrumbs a:hover {
  text-decoration: underline;
}

.single-news-page .single-news-meta-top {
  font-size: 0.85rem;
  color: #6b7280;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.single-news-page .single-news-reading-time {
  display: inline-flex;
  align-items: center;
  font-weight: 500;
  color: inherit;
}

/* Type label above title */
.single-news-page .single-news-type-label {
  margin-bottom: 4px;
  font-size: 0.9rem;
}

.single-news-page .single-news-type-label a {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--global-color-blue);
  text-decoration: none;
}

.single-news-page .single-news-type-label a:hover {
  text-decoration: underline;
}
.single-news-share {
  border: 0;
  padding: 0;
  font-weight: 500;
  line-height: 1;
  position: relative;
  display: inline-flex;
  align-items: center;
}
.single-news-share img {
  position: relative;
  max-width: 15px;
  top: 1px;
}
.share-popup {
  width: max-content;
  min-width: 0;
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  display: none;
  background: #fff;
  border-radius: 999px;
  padding: 6px;
  box-shadow: 0 8px 24px rgba(13, 27, 62, 0.16);
  text-align: center;
  z-index: 1001; /* above the fixed site header (999) */
}
.share-popup::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #fff;
}

.share-popup a.share-network {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  vertical-align: middle;
  text-decoration: none;
  color: #fff;
  background: var(--global-color-blue, #0a3d91);
  border-radius: 50%;
  margin: 0 3px;
  transition: background-color 0.15s ease;
}

.share-popup a.share-network svg {
  width: 18px;
  height: 18px;
  display: block;
}

.share-popup a.share-network:hover {
  color: #fff;
  background: #0f2fa8;
}

/* Main title + deck */
.single-news-page .single-news-title {
  margin: 0 0 6px;
  font-size: clamp(2.1rem, 3.7vw, 3.8rem);
  line-height: 1.15;
  color: var(--global-color-blue);
  font-weight: 400;
}

.single-news-page .single-news-deck {
  margin: 0 0 10px;
  font-size: 1rem;
  line-height: 1.5;
  color: #111827;
}

/* =========================
     SINGLE NEWS – BODY
     ========================= */

.single-news .single-news-page .container {
  margin-top: 0;
}

/* =========================
     IAI IN ACTION HEADER COMPONENT
     (blue strip + type menu)
     Shared by single-news + taxonomy-type pages
     ========================= */

/* Sticky wrapper: keeps strip + type menu pinned while scrolling.
   z-index sits below the fixed site header so the strip's top padding
   tucks neatly underneath it. */
.iai-action-header {
  position: sticky;
  top: 0;
  z-index: 90;
}

/* Blue strip with parent term name */
.iai-action-strip {
  background: var(--global-color-blue);
  padding: calc(var(--header-height, 88px) + 18px) 0 5px;
  text-align: center;
  border-top: 1px solid #fff;
}

.iai-action-strip .iai-action-strip-inner {
  border-top: 1px solid #fff;
  padding-top: 6px;
}

.iai-action-strip-title {
  display: inline-block;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
}

.iai-action-strip-title:hover,
.iai-action-strip-title:focus {
  color: #fff;
  text-decoration: underline;
}

/* Type menu (child terms) */
.iai-action-type-nav {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
}

.iai-action-type-nav .container {
  margin-top: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.iai-action-type-link {
  display: inline-block;
  padding: 8px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--global-color-blue);
  text-decoration: none;
  border: 1px solid #c9ccd1;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.iai-action-type-link:hover {
  border-color: var(--global-color-blue);
}

.iai-action-type-link.active {
  border-color: var(--global-color-blue);
}

/* =========================
     TAXONOMY TYPE – uniform card grid
     ========================= */
.taxonomy-type-page .iai-type-cards {
  padding: 40px 0 70px;
}

.taxonomy-type-page .iai-type-cards .news-type-title {
  color: var(--global-color-blue);
  text-transform: uppercase;
  font-weight: 500;
  font-size: 2.25rem;
  line-height: 1.15;
  margin: 0 0 16px;
}

.taxonomy-type-page .iai-type-desc {
  max-width: 760px;
  color: #333;
  font-size: 1rem;
  line-height: 1.7;
  margin: 0 0 18px;
}

.taxonomy-type-page .iai-type-desc p {
  margin: 0 0 12px;
}

.taxonomy-type-page .iai-type-count {
  color: #6b7280;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 0 0 30px;
}

.taxonomy-type-page .iai-type-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px 30px;
}

.taxonomy-type-page .iai-type-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.taxonomy-type-page .iai-type-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #eef1f4;
  margin-bottom: 16px;
}

.taxonomy-type-page .iai-type-card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.taxonomy-type-page .iai-type-card:hover .iai-type-card-media img {
  transform: scale(1.04);
}

.taxonomy-type-page .iai-type-card-title {
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.35;
  color: #111;
  margin: 0 0 14px;
}

.taxonomy-type-page .iai-type-card-explore {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: auto;
  padding: 6px 18px;
  border: 1px solid var(--global-color-blue);
  background: #fff;
  color: var(--global-color-blue);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  width: max-content;
}

.taxonomy-type-page .iai-type-card-explore::after {
  content: "";
  width: 24px;
  height: 15px;
  display: inline-block;
  margin-inline-start: 8px;
  background: url(../images/chevron-right-blue.svg) center center / contain no-repeat;
  opacity: 0.9;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.taxonomy-type-page .iai-type-card:hover .iai-type-card-explore::after {
  transform: translateX(4px);
}
:where([dir="rtl"]) .taxonomy-type-page .iai-type-card-explore::after {
  transform: scaleX(-1);
}
:where([dir="rtl"]) .taxonomy-type-page .iai-type-card:hover .iai-type-card-explore::after {
  transform: translateX(-4px) scaleX(-1);
}

.taxonomy-type-page .iai-type-load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

.taxonomy-type-page .iai-type-load-more {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--global-color-blue);
  background: #fff;
  color: var(--global-color-blue);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 18px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.taxonomy-type-page .iai-type-load-more::after {
  content: "";
  width: 24px;
  height: 15px;
  display: inline-block;
  margin-inline-start: 8px;
  background: url(../images/chevron-down-blue.svg) center center / contain no-repeat;
  opacity: 0.9;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.taxonomy-type-page .iai-type-load-more:hover::after {
  transform: translateY(3px);
}

@media (max-width: 1024px) {
  .taxonomy-type-page .iai-type-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .taxonomy-type-page .iai-type-cards {
    padding: 14px 0 50px;
  }

  .taxonomy-type-page .iai-type-cards .news-type-title {
    font-size: 1.8rem;
  }

  .taxonomy-type-page .iai-type-cards-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* Header spacing (blue strip already clears the fixed site header) */
.single-news-page .single-news-header {
  padding-top: 28px;
  padding-bottom: 10px;
}

/* Breadcrumbs: full width row */
.single-news-page .single-news-breadcrumbs {
  margin-bottom: 12px;
  margin-top: 4px;
}

/* Meta row: date + read time (left), share (right) */
.single-news-page .single-news-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
}

.single-news-page .single-news-meta-row .single-news-meta-top {
  font-size: 1.4rem;
  color: #000;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Share button: icon + text, blue, borderless */
.single-news-page .single-news-meta-row .single-news-share {
  border: 0;
  padding: 0;
  position: relative;
}

.single-news-page .single-news-meta-row .single-news-share .single-news-share-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--global-color-blue);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.single-news-page .single-news-meta-row .single-news-share .single-news-share-toggle img {
  max-width: 16px;
  top: 0;
}

/* Social items become blue circles with white icons when popup is open */
.single-news-page .single-news-meta-row .single-news-share .share-popup a.share-network {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  background: var(--global-color-blue);
  border-radius: 100%;
  color: #fff;
  margin: 0 3px;
}

.single-news-page .single-news-meta-row .single-news-share .share-popup a.share-network svg {
  width: 18px;
  height: 18px;
}

.single-news-page .single-news-meta-row .single-news-share .share-popup a.share-network:hover {
  color: #fff;
}

.single-news-page .single-news-header {
  padding-top: 8px;
  padding-bottom: 10px;
}

.single-news-page .single-news-header-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 12px;
}

.single-news-page .single-news-breadcrumbs #breadcrumbs,
.taxonomy-type-page .news-breadcrumbs #breadcrumbs,
.page-template-page-team .news-breadcrumbs #breadcrumbs {
  font-size: 1.4rem;
  color: #6b7280;
}

.single-news-page .single-news-meta-top {
  font-size: 1.4rem;
  color: var(--global-color-blue);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.single-news-page .single-news-dot {
  opacity: 0.7;
}

.single-news-page .single-news-main {
  padding-bottom: 48px;
}

.single-news-page .single-news-main .container {
  padding-bottom: 18px;
}

.single-news-page .single-news-featured-image {
  margin: 18px 0 22px;
}

.single-news-page .single-news-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

.single-news-page .single-news-content {
  font-size: 1rem;
  line-height: 1.7;
  color: #0b1222;
}

.single-news-page .single-news-content p {
  margin-bottom: 1.1em;
  font-size: 1.2rem;
}

.single-news-page .single-news-content p img.size-full {
  width: 100%;
}

/* Video iframes pasted in the editor carry fixed width/height attributes; force 16:9 to avoid letterboxing. */
.single-news-page .single-news-content iframe[src*="youtube.com"],
.single-news-page .single-news-content iframe[src*="youtube-nocookie.com"],
.single-news-page .single-news-content iframe[src*="youtu.be"],
.single-news-page .single-news-content iframe[src*="vimeo.com"] {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
}
.single-news-page .single-news-content h2,
.single-news-page .single-news-content h3,
.single-news-page .single-news-content h4 {
  margin: 0 0 10px;
  font-weight: 500;
  font-size: 2.8rem;
}

/* =========================
     RELATED GRID (bottom)
     Reuse taxonomy-type 3-col styles
     ========================= */

.single-news-page .single-news-related {
  padding: 0;
  background: transparent;
}

.single-news-page .single-news-related .container {
  max-width: var(--content-width, 1200px);
  margin-inline: auto;
  padding-inline: 16px;
}

.single-news-page .single-news-related-title {
  font-size: 1.8rem;
  font-weight: 500;
  margin: 0 0 20px;
  color: var(--global-color-dark);
}

/* use your existing taxonomy grid styles: */
.single-news-page .news-more-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
  align-items: stretch;
}

.single-news-page .news-more-item {
  height: 100%;
}

.single-news-page .news-more-item a {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 0 none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.single-news-page .news-more-item a:hover {
  /* 
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
    */
  transform: translateY(-2px);
  opacity: 0.9;
}

.single-news-page .news-more-item .news-thumbnail {
  height: 220px;
  overflow: hidden;
}

.single-news-page .news-more-item .news-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.single-news-page .news-more-content {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  padding: 14px 0 0;
}

.single-news-page .news-more-content h3 {
  margin: 0 0 8px;
  font-size: 1.45rem;
  font-weight: 500;
}

.single-news-page .news-more-date {
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 8px;
  display: none;
}

.single-news-page .news-more-content p {
  margin: 0 0 10px;
  font-size: 0.9rem;
  line-height: 1.4;
  display: none;
}

.single-news-page .news-more-content .news-more-link {
  margin-top: auto;
  position: relative;
  margin-inline-end: auto;
  padding-block: 0 0; padding-inline: 18px 42px;
  background: var(--global-color-blue);
  color: #fff;
  border-radius: 0;
  border: 0;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}

.single-news-page .news-more-content .news-more-link::after {
  content: "";
  position: absolute;
  inset-inline-end: 16px;
  top: 50%;
  width: 24px;
  height: 24px;
  transform: translateY(-50%);
  background-image: url(../images/icon_plus.svg);
  background-repeat: no-repeat;
  background-size: 24px 24px;
}

/* Responsive */
@media (max-width: 900px) {
  .single-news-page .news-more-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .taxonomy-type-page .news-more-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .taxonomy-type-page .news-more-item .news-thumbnail {
    height: 200px;
  }
}

/* Mobile: the fixed 56px mobile header (.iai-mobile-header, ≤767px) sits at the
   top of the viewport. Offset the sticky IAI action header below it so the blue
   strip is no longer hidden behind the mobile header ("sticks too much to the top"). */
@media (max-width: 767px) {
  .iai-action-header {
    top: 56px;
  }
}

@media (max-width: 768px) {
  .site-content .container-narrow {
    padding-top: 5rem;
  }

  /* IAI action header: compact blue strip on mobile */
  .iai-action-strip {
    padding-top: 10px;
  }

  .iai-action-strip .iai-action-strip-inner {
    border-top: none;
    padding-top: 0;
  }

  /* Type menu: single row, horizontally scrollable */
  .iai-action-type-nav .container {
    flex-wrap: nowrap;
    justify-content: center;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .iai-action-type-nav .container::-webkit-scrollbar {
    display: none;
  }

  .iai-action-type-link {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  /* Type page: tighten breadcrumb spacing to match single-news */
  .taxonomy-type-page .news-breadcrumbs {
    margin: 0;
    padding-top: 8px;
  }

  .taxonomy-type-page .news-breadcrumbs #breadcrumbs {
    line-height: 1.4;
  }

  .page-news-operation .news-featured-title {
    font-size: 1.8rem;
    line-height: 1.2;
  }

  .page-news-operation .news-featured-content {
    font-size: 1.2rem;
    line-height: 1.5;
  }

  .page-news-operation .news-type-section .news-type-title {
    font-size: 1.8rem;
    line-height: 1.2;
    max-width: 66.66%;
  }

  .page-news-operation
    .news-updates
    .latest-news
    .news-item
    .news-item-content {
    padding-block: 10px 16px; padding-inline: 0px 18px;
  }

  .page-news-operation .news-item .news-item-content h4 {
    font-size: clamp(24px, 1vw + 0.5rem, 20px);
  }

  .news-type-footer {
    text-align: center;
    margin-block: 2rem 2rem; margin-inline: 0px 0;
    width: 54%;
  }

  .page-news-operation .news-updates .featured-news h3 {
    padding-inline-end: 0%;
  }

  .single-news-page .single-news-content p {
    margin-bottom: 1.1em;
    font-size: 1.1rem;
    line-height: 1.6;
  }

  .single-news .single-news-page .container,
  .single-press .single-press-page .container {
    padding-top: 16px;
  }

  .single-news-page .single-news-breadcrumbs #breadcrumbs,
  .taxonomy-type-page .news-breadcrumbs #breadcrumbs,
  .page-template-page-team .news-breadcrumbs #breadcrumbs {
    font-size: 1rem;
    color: #6b7280;
  }

  .single-news-page .single-news-header {
    padding-top: 5px;
    padding-bottom: 5px;
  }

  .single-news-page .single-news-header-top {
    gap: 0px;
  }

  .single-news-page .single-news-breadcrumbs #breadcrumbs {
    line-height: 1.4;
  }

  .single-news-page .single-news-meta-top {
    font-size: 1rem;
  }

  .page-news-operation .operation-hero .general-hero-title {
    font-size: clamp(3.5rem, 5vw, 5rem);
    line-height: 1;
    margin: 0 0 0.75rem;
    font-weight: 500;
    width: 100%;
  }

  .page-news-operation .operation-hero {
    background-image: var(--hero-bg-mobile, var(--hero-bg));
  }

  .page-news-operation .news-updates .featured-news p {
    margin: 0 10px 18px;
    font-size: clamp(16px, 0.55vw + 0.65rem, 20px);
    line-height: 1.5;
    margin-inline-start: 0px;
    padding-inline-end: 0%;
    color: #000;
  }

  .page-news-operation .news-updates .featured-news h3 {
    font-size: clamp(24px, 1.5vw + 0.6rem, 28px);
    line-height: 1.2;
    margin: 18px 0px 20px 0px;
    padding-inline-end: 0%;
  }

  .page-news-operation .news-item .news-item-content p {
    line-height: 1.4;
  }

  .taxonomy-type-page .news-type-more-title {
    line-height: 1.1;
  }

  .single-news-page .single-news-content h2,
  .single-news-page .single-news-content h3,
  .single-news-page .single-news-content h4 {
    margin: 0 0 10px;
    font-weight: 500;
    font-size: 2rem;
    line-height: 2.5rem;
  }
}

@media (max-width: 640px) {
  .single-news-page .single-news-header-top {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .single-news-page .single-news-header-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .taxonomy-type-page .news-more-grid {
    grid-template-columns: 1fr;
  }
  .taxonomy-type-page .news-more-item .news-thumbnail {
    height: 180px;
  }
}

@media (min-width: 1280px) and (max-width: 1600px) and (min-resolution: 140dpi) and (min-aspect-ratio: 16/10) {
  /* widescreen laptop screens */
  .single-news-page .single-news-header {
    padding-top: 4rem;
    padding-bottom: 10px;
  }
}

.single-news-page .single-news-header {
  padding-top: 100px;
}

@media (max-width: 767px) {
  .single-news-page > .container.container-narrow {
    padding-top: 0;
  }

  .single-press-page .single-news-main > .container {
    width: 100%;
    max-width: 100%;
    padding-inline: 0;
    box-sizing: border-box;
  }

  .single-press-page > .container.container-narrow > .single-news-header > .container,
  .single-press-page .single-news-related > .container {
    padding-inline: 0;
  }

  .single-news-page .single-news-header {
    padding-top: 8px;
  }

  .single-news-page .single-news-header-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .single-news-page .single-news-meta-top {
    display: flex;
    flex-wrap: wrap;
    max-width: 100%;
    min-width: 0;
    white-space: normal;
    line-height: 1.4;
  }
}

.single-post .general-content > .container.container-no-flex {
  margin-top: 24px;
  padding-inline: 32px;
}
