/* ==========================================================================
   NTV — Research Hub
   Extracted from the Elementor HTML widget, plus the card and trending styles
   that used to be printed inline by the [ntv_articles] and [ntv_trending]
   shortcodes. Fonts are enqueued in functions.php, so no @import here.

   Why Research Matters + Research Pillars sit below the two-column body,
   inside the same 1180px container, and reuse the existing tokens (square
   corners, --ntv-line hairlines, red accent).
   ========================================================================== */

.ntv-research {
  --ntv-red: #c8102e;
  --ntv-red-dk: #a50d26;
  --ntv-navy: #0e2a57;
  --ntv-dark: #0a1a33;
  --ntv-ink: #0e2a57;
  --ntv-gray: #5b6472;
  --ntv-soft: #8a92a0;
  --ntv-line: #e6e8ec;
  --ntv-chip: #e6e8ec;
  --ntv-radius: 0px;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ntv-ink);
  line-height: 1.5;
  max-width: 1180px;
  margin: 0 auto;
  background: transparent;   /* white is applied per-section, so the silver page shows behind .ntv-insight */
  -webkit-font-smoothing: antialiased;
}

.ntv-research * { box-sizing: border-box; }
.ntv-research a { text-decoration: none; color: inherit; }
.ntv-research img { display: block; max-width: 100%; }

.ntv-research h1,
.ntv-research h2,
.ntv-research h3 {
  font-family: "Archivo", "Inter", sans-serif;
  margin: 0;
  letter-spacing: -0.01em;
}

/* ========== HERO ========== */

.ntv-research .ntv-hero {
  position: relative;
  overflow: hidden;
}

.ntv-research .ntv-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(10, 26, 51, 0.55) 0%,
    rgba(10, 26, 51, 0.20) 35%,
    rgba(10, 26, 51, 0) 60%
  );
  z-index: 1;
}

.ntv-research .ntv-hero img {
  width: 100%;
  height: auto;
  display: block;
}

.ntv-research .ntv-hero__content {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  padding: 0 26px 28px;
}

.ntv-research .ntv-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.ntv-research .ntv-btn {
  font-weight: 600;
  font-size: 14.5px;
  padding: 13px 22px;
  border-radius: var(--ntv-radius);
  transition: 0.15s;
  cursor: pointer;
  border: 1px solid transparent;
  display: inline-block;
}

.ntv-research .ntv-btn-dark { background: var(--ntv-navy); color: #fff; }
.ntv-research .ntv-btn-dark:hover { background: var(--ntv-dark); }
.ntv-research .ntv-btn-ghost { background: #fff; color: var(--ntv-navy); border-color: #c9ced6; }
.ntv-research .ntv-btn-ghost:hover { border-color: var(--ntv-navy); }

.ntv-research .ntv-btn:focus-visible {
  outline: 3px solid var(--ntv-red);
  outline-offset: 2px;
}

/* ========== TICKER ========== */

/* Wraps rather than truncates: the broadcast line is too long for one row on
   anything narrower than a desktop, and nowrap + ellipsis silently ate the end
   of it. */
.ntv-research .ntv-ticker {
  background: var(--ntv-dark);
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  align-items: center;
  padding: 14px 26px;
  font-size: 13.5px;
}

.ntv-research .ntv-ticker .item {
  display: flex;
  gap: 10px;
  align-items: baseline;
  min-width: 0;
}

.ntv-research .ntv-ticker .tag {
  color: #f23a53;
  font-weight: 700;
  letter-spacing: 0.04em;
  flex: 0 0 auto;
}

.ntv-research .ntv-ticker .txt {
  color: #c9d0db;
  min-width: 0;
}

/* ========== BODY GRID ========== */

/* The white panel of the page. It starts here and stops at the bottom of the
   article list / sidebar - everything below sits on the silver page colour. */
.ntv-research .ntv-body {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  padding: 46px 26px 46px;
  background: #fff;
}

.ntv-research .ntv-sechead {
  font-size: 26px;
  font-weight: 700;
  color: var(--ntv-navy);
  padding-bottom: 14px;
  margin-bottom: 22px;
  border-bottom: 2px solid var(--ntv-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ntv-research .ntv-viewall {
  text-align: center;
  padding: 36px 0 0;
}

/* ========== ARTICLE CARDS ========== */

.ntv-research .ntv-articles__empty {
  color: var(--ntv-gray);
  padding: 18px 0;
  margin: 0;
}

.ntv-research .ntv-card {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--ntv-line);
}

.ntv-research .ntv-card:first-of-type { padding-top: 4px; }

.ntv-research .ntv-card-thumb {
  border-radius: var(--ntv-radius);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #dde1e6;
  display: block;
}

.ntv-research .ntv-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.ntv-research .ntv-card:hover .ntv-card-thumb img { transform: scale(1.04); }

.ntv-research .ntv-card-main { min-width: 0; }

.ntv-research .ntv-meta {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.ntv-research .ntv-meta .cat { color: var(--ntv-red); }
.ntv-research .ntv-meta .dot { color: #aeb5bf; margin: 0 7px; }
.ntv-research .ntv-meta .time { color: var(--ntv-soft); }

.ntv-research .ntv-card h3 {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 8px;
  color: var(--ntv-navy);
}

.ntv-research .ntv-card:hover h3 { color: var(--ntv-red); }

.ntv-research .ntv-card p {
  font-size: 14px;
  color: var(--ntv-gray);
  margin: 0 0 14px;
  line-height: 1.5;
}

.ntv-research .ntv-card-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ntv-research .ntv-chip {
  background: var(--ntv-chip);
  color: var(--ntv-navy);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 5px 9px;
  border-radius: var(--ntv-radius);
  text-transform: uppercase;
}

.ntv-research .ntv-card a:focus-visible {
  outline: 2px solid var(--ntv-red);
  outline-offset: 3px;
}

/* ========== SIDEBAR ========== */

.ntv-research .ntv-side > * + * { margin-top: 26px; }

.ntv-research .ntv-author {
  border: 1px solid var(--ntv-line);
  border-radius: var(--ntv-radius);
  padding: 20px;
}

.ntv-research .ntv-author-top {
  display: flex;
  gap: 13px;
  align-items: center;
}

.ntv-research .ntv-author-top img {
  width: 48px;
  height: 48px;
  border-radius: var(--ntv-radius);
  object-fit: cover;
  flex: 0 0 auto;
  background: var(--ntv-line);
}

.ntv-research .ntv-author-top .name {
  font-weight: 700;
  font-size: 15px;
  color: var(--ntv-navy);
}

.ntv-research .ntv-author-top .role {
  font-size: 12px;
  color: var(--ntv-soft);
}

.ntv-research .ntv-author blockquote {
  margin: 14px 0;
  font-size: 13.5px;
  font-style: italic;
  color: #44506a;
  line-height: 1.55;
}

.ntv-research .ntv-follow {
  display: block;
  text-align: center;
  border: 1px solid #c9ced6;
  border-radius: var(--ntv-radius);
  padding: 9px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ntv-navy);
  transition: 0.15s;
}

.ntv-research .ntv-follow:hover {
  background: var(--ntv-navy);
  color: #fff;
  border-color: var(--ntv-navy);
}

/* ========== TRENDING ========== */

.ntv-research .ntv-trend h2 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--ntv-navy);
}

.ntv-research .ntv-trend__empty {
  color: var(--ntv-soft);
  font-size: 13px;
  padding: 8px 0;
  margin: 0;
}

.ntv-research .ntv-trend-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--ntv-line);
}

.ntv-research .ntv-trend-item:last-child { border-bottom: 0; }

.ntv-research .ntv-trend-thumb {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  object-fit: cover;
  background: #dde1e6;
}

.ntv-research .ntv-trend-thumb--empty {
  background: linear-gradient(135deg, #dde1e6, #c9ced6);
}

.ntv-research .ntv-trend-text {
  min-width: 0;
  display: block;
}

.ntv-research .ntv-trend-item .t {
  display: block;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ntv-navy);
}

.ntv-research .ntv-trend-item:hover .t { color: var(--ntv-red); }

.ntv-research .ntv-trend-item .s {
  display: block;
  font-size: 12px;
  color: var(--ntv-soft);
  margin-top: 3px;
}

/* ========== MAILING LIST ========== */

.ntv-research .ntv-brief {
  background: var(--ntv-dark);
  color: #fff;
  border-radius: var(--ntv-radius);
  padding: 24px;
}

.ntv-research .ntv-brief .icon {
  width: 34px;
  height: 34px;
  border-radius: var(--ntv-radius);
  background: rgba(200, 16, 46, 0.20);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f23a53;
  margin-bottom: 14px;
}

.ntv-research .ntv-brief h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.ntv-research .ntv-brief p {
  font-size: 13.5px;
  color: #9aa4b5;
  margin: 0 0 16px;
  line-height: 1.5;
}

/* The form reuses .ntv-signup__form so the shared mailer JS picks it up,
   but stacks vertically here to fit the narrow sidebar. */
.ntv-research .ntv-brief .ntv-signup__form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ntv-research .ntv-brief input[type="email"] {
  width: 100%;
  border: 0;
  border-radius: var(--ntv-radius);
  padding: 11px 13px;
  font-size: 13.5px;
  font-family: inherit;
  background: #16294a;
  color: #fff;
  outline: none;
}

.ntv-research .ntv-brief input[type="email"]::placeholder { color: #8893a6; }

.ntv-research .ntv-brief input[type="email"]:focus {
  box-shadow: inset 0 0 0 2px var(--ntv-red);
}

.ntv-research .ntv-brief button {
  width: 100%;
  border: 0;
  border-radius: var(--ntv-radius);
  padding: 11px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  background: var(--ntv-red);
  color: #fff;
  cursor: pointer;
  transition: 0.15s;
}

.ntv-research .ntv-brief button:hover { background: var(--ntv-red-dk); }
.ntv-research .ntv-brief button:disabled { opacity: 0.6; cursor: default; }

.ntv-research .ntv-brief .ntv-signup__msg {
  margin-top: 4px;
  font-size: 12.5px;
  font-weight: 600;
  min-height: 18px;
  line-height: 1.4;
}

.ntv-research .ntv-brief .ntv-signup__msg.success { color: #6fcf7f; }
.ntv-research .ntv-brief .ntv-signup__msg.error { color: #ff8195; }

/* ========== WHY RESEARCH MATTERS + RESEARCH PILLARS ==========
   Sits on the silver page background below the white body panel. No divider
   rule needed - the colour change is the separation, and the white panels
   read as cards floating on the page. */

.ntv-research .ntv-insight {
  padding: 40px 26px 70px;
  background: transparent;
}

.ntv-research .ntv-insight__container {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 28px;
  align-items: start;
}

.ntv-research .ntv-panel {
  background: #fff;
  border: 1px solid var(--ntv-line);
  border-radius: var(--ntv-radius);
  padding: 26px;
  height: 100%;
}

.ntv-research .ntv-panel__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--ntv-navy);
  margin: 0;
}

.ntv-research .ntv-panel__rule {
  display: block;
  width: 44px;
  height: 3px;
  background: var(--ntv-red);
  margin: 12px 0 18px;
}

/* --- Why Research Matters --- */

.ntv-research .ntv-matters__lede {
  font-size: 14.5px;
  color: var(--ntv-gray);
  line-height: 1.7;
  margin: 0 0 26px;
  max-width: 62ch;
}

.ntv-research .ntv-matters__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.ntv-research .ntv-matters__card {
  text-align: center;
  padding: 22px 14px;
  border: 1px solid var(--ntv-line);
  border-radius: var(--ntv-radius);
  background: #fff;
}

.ntv-research .ntv-matters__icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ntv-navy);
  border: 1.5px solid #c3c9d2;
  border-radius: 50%;
}

.ntv-research .ntv-matters__card h3 {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ntv-navy);
  margin: 0 0 8px;
}

.ntv-research .ntv-matters__card p {
  font-size: 13px;
  color: var(--ntv-gray);
  line-height: 1.55;
  margin: 0;
}

/* --- Research Pillars --- */

.ntv-research .ntv-pillars__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ntv-research .ntv-pillars__item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  margin: 0;
  border-bottom: 1px solid var(--ntv-line);
}

.ntv-research .ntv-pillars__item:first-child { padding-top: 0; }
.ntv-research .ntv-pillars__item:last-child { border-bottom: 0; padding-bottom: 0; }

.ntv-research .ntv-pillars__icon {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--ntv-red);
  border-radius: 50%;
}

.ntv-research .ntv-pillars__text { min-width: 0; }

.ntv-research .ntv-pillars__item h3 {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ntv-navy);
  margin: 2px 0 4px;
}

.ntv-research .ntv-pillars__item p {
  font-size: 13px;
  color: var(--ntv-gray);
  line-height: 1.5;
  margin: 0;
}

/* ========== RESPONSIVE ========== */

@media (max-width: 980px) {
  .ntv-research .ntv-body { grid-template-columns: 1fr; }
  .ntv-research .ntv-insight__container { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .ntv-research .ntv-card { grid-template-columns: 1fr; }
  .ntv-research .ntv-card-thumb { aspect-ratio: 16 / 9; }
  .ntv-research .ntv-ticker { flex-direction: column; align-items: flex-start; gap: 10px; }
  .ntv-research .ntv-hero__content { padding: 0 18px 20px; }
  .ntv-research .ntv-btn { padding: 12px 18px; font-size: 14px; }

  .ntv-research .ntv-body { padding: 34px 18px 34px; }
  .ntv-research .ntv-insight { padding: 28px 18px 48px; }
  .ntv-research .ntv-insight__container { gap: 20px; }
  .ntv-research .ntv-panel { padding: 22px 18px; }
  .ntv-research .ntv-matters__grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .ntv-research .ntv-card-thumb img,
  .ntv-research .ntv-btn,
  .ntv-research .ntv-follow,
  .ntv-research .ntv-brief button { transition: none; }
  .ntv-research .ntv-card:hover .ntv-card-thumb img { transform: none; }
}