/* ============================================================
   OPINIONS / DIALOGUE PAGE  — dark theme
   Colours pulled from the site theme:
     --primary  #FF6701   (orange)
     --secondary #171749  (deep navy)
   Sibling of podcast.css — same navy family so both Dialogue
   pages read as one set.
   ============================================================ */

.opinions-main {
  --op-bg: #0a0d1a;
  --op-panel: #111931;
  --op-panel-2: #141c3a;
  --op-border: rgba(255, 255, 255, 0.08);
  --op-text: #e8ebf5;
  --op-muted: #9aa3bd;
  --op-muted-2: #79809a;
  --op-orange-light: #ffb27f;
  background: var(--op-bg);
  color: var(--op-text);
  position: relative;
  /* No overflow:hidden here — it would create a scroll container and break
     position:sticky on the detail page's share rail. The hero and article
     head clip their own gradients instead. */
  overflow-x: clip;
}

.opinions-main p {
  color: var(--op-muted);
  opacity: 1;
}

.opinions-main .op-section {
  padding: 5.5rem 0;
}

/* ============================================================
   HERO
   ============================================================ */
/* Top padding clears the theme's position:absolute header */
.op-hero {
  position: relative;
  overflow: hidden;
  padding: 11rem 0 5rem;
  background:
    radial-gradient(ellipse at 15% 0%, rgba(255, 103, 1, 0.1), transparent 55%),
    radial-gradient(ellipse at 90% 20%, rgba(41, 41, 87, 0.55), transparent 50%),
    linear-gradient(180deg, #0b0f20 0%, #0a0d1a 100%);
  border-bottom: 1px solid var(--op-border);
}

.op-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

/* Eyebrow label — "— DIALOGUE / OPINIONS" */
.op-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--op-orange-light);
  margin-bottom: 1.1rem;
}
.op-eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--primary);
  display: inline-block;
}

.op-hero-title {
  font-size: 3.15rem;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 1.25rem;
  max-width: 520px;
  font-family: Helvetica, Arial, sans-serif;
}
.op-hero-title .accent {
  color: var(--primary);
}

.op-hero-lead {
  font-size: 1.06rem;
  line-height: 1.7;
  color: var(--op-muted);
  max-width: 480px;
  margin: 0;
}

/* Signature moving element: a pulsing "signal" beside the title — echoes the
   waveform on the Discussions & Podcasts hero, here representing a point of
   view being broadcast rather than a soundwave. */
.op-signal-card {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 220px;
  padding: 1.6rem;
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--op-border);
}
.op-ping-wrap {
  position: relative;
  width: 132px;
  height: 132px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.op-ping-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid var(--primary);
  animation: opPing 3.6s cubic-bezier(0.2, 0.6, 0.3, 1) infinite;
}
.op-ping-ring:nth-child(2) { animation-delay: 1.2s; }
.op-ping-ring:nth-child(3) { animation-delay: 2.4s; }
@keyframes opPing {
  0% { transform: scale(0.55); opacity: 0.9; }
  100% { transform: scale(1.7); opacity: 0; }
}
.op-ping-core {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffb27f, var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(255, 103, 1, 0.32);
}
.op-ping-core i {
  font-size: 1.6rem;
  color: #fff;
}
@media (prefers-reduced-motion: reduce) {
  .op-ping-ring { animation: none; opacity: 0.3; }
}

/* ============================================================
   SECTION HEADS
   ============================================================ */
.op-section-head {
  max-width: 640px;
  margin: 0 0 2.5rem;
}
.op-title {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 0.6rem;
  font-family: Helvetica, Arial, sans-serif;
}
.op-sub {
  color: var(--op-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}

/* ============================================================
   TAG / AUTHOR CHIP
   ============================================================ */
.op-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--op-orange-light);
  background: rgba(255, 103, 1, 0.12);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.op-author {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.op-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: #1a0c00;
  background: linear-gradient(135deg, #ffb27f, var(--primary));
}
.op-avatar.lg {
  width: 56px;
  height: 56px;
  font-size: 1.05rem;
}
.op-author .who {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}
.op-author .who b {
  font-size: 0.84rem;
  font-weight: 700;
  color: #fff;
}
.op-author .who span {
  font-size: 0.75rem;
  color: var(--op-muted-2);
}

/* ============================================================
   FEATURED PIECE
   ============================================================ */
.op-featured {
  display: block;
  background: var(--op-panel);
  border: 1px solid var(--op-border);
  border-radius: 24px;
  padding: 3rem;
  position: relative;
  overflow: hidden;
}
.op-featured::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(255, 103, 1, 0.1), transparent 55%);
  pointer-events: none;
}
.op-featured h3 {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 1rem;
  max-width: 820px;
  position: relative;
}
.op-featured h3 a { color: #fff; }
.op-featured h3 a:hover { color: var(--op-orange-light); }
.op-featured .op-dek {
  font-size: 1.03rem;
  color: var(--op-muted);
  line-height: 1.7;
  max-width: 680px;
  margin: 0 0 1.75rem;
  position: relative;
}
.op-featured-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  position: relative;
}
.op-featured-actions {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}
.op-meta {
  font-size: 0.8rem;
  color: var(--op-muted-2);
  white-space: nowrap;
}
.op-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.87rem;
  font-weight: 700;
  color: var(--op-orange-light);
  transition: color 0.2s ease;
}
.op-read-more:hover { color: var(--primary); }
.op-read-more i { font-size: 1rem; }

/* ============================================================
   MORE OPINIONS — GRID
   ============================================================ */
.op-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  margin-top: 2.75rem;
}
.op-card {
  background: var(--op-panel);
  border: 1px solid var(--op-border);
  border-radius: 18px;
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: border-color 0.2s ease, transform 0.25s ease;
}
.op-card:hover {
  border-color: rgba(255, 103, 1, 0.35);
  transform: translateY(-4px);
}
.op-card h4 {
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
  margin: 0;
}
.op-card h4 a { color: #fff; }
.op-card h4 a:hover { color: var(--op-orange-light); }
.op-card .op-dek {
  font-size: 0.84rem;
  color: var(--op-muted);
  line-height: 1.6;
  margin: 0;
  flex: 1;
}
.op-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--op-border);
}

/* Placeholder (coming-soon) card — keeps the row balanced when few pieces */
.op-card.placeholder {
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.015);
}
.op-card.placeholder:hover { transform: none; }
.op-ph-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 103, 1, 0.12);
  color: var(--primary);
  font-size: 1.5rem;
}
.op-card.placeholder h4 {
  color: #d6dae8;
  font-size: 1.12rem;
}
.op-card.placeholder p {
  color: var(--op-muted-2);
  font-size: 0.9rem;
  margin: 0;
}

/* ============================================================
   DETAIL PAGE — /opinions/<slug>
   ============================================================ */
.op-article-head {
  position: relative;
  overflow: hidden;
  padding: 10rem 0 2.75rem;
  background:
    radial-gradient(ellipse at 12% 0%, rgba(255, 103, 1, 0.09), transparent 55%),
    linear-gradient(180deg, #0b0f20 0%, #0a0d1a 100%);
  border-bottom: 1px solid var(--op-border);
}
/* Decorative glowing orb, top right of the head */
.op-head-orb {
  position: absolute;
  top: 9rem;
  right: 8%;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 103, 1, 0.18), transparent 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.op-head-orb::after {
  content: "";
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffb27f, var(--primary));
  box-shadow: 0 0 0 6px rgba(255, 103, 1, 0.08), 0 0 24px rgba(255, 103, 1, 0.5);
}
@media (max-width: 767px) { .op-head-orb { display: none; } }

/* Breadcrumb */
.op-crumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--op-muted-2);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.op-crumbs a { color: var(--op-muted-2); transition: color 0.2s ease; }
.op-crumbs a:hover { color: var(--op-orange-light); }
.op-crumbs .sep { opacity: 0.5; }
.op-crumbs .current { color: var(--op-muted); }

.op-article-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: #fff;
  margin: 0 0 1.1rem;
  max-width: 900px;
  font-family: Helvetica, Arial, sans-serif;
}
.op-article-dek {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--op-muted);
  max-width: 620px;
  margin: 0 0 2.25rem;
}

/* Byline row: author block left, share cluster right */
.op-byline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.op-byline-author { display: flex; align-items: center; gap: 0.85rem; }
.op-byline-author .op-avatar { width: 54px; height: 54px; font-size: 1rem; }
.op-byline-who { display: flex; flex-direction: column; line-height: 1.45; }
.op-byline-who b { font-size: 0.95rem; font-weight: 700; color: #fff; }
.op-byline-who .role { font-size: 0.85rem; color: var(--op-muted); }
.op-byline-who .when { font-size: 0.85rem; color: var(--op-muted-2); }

/* ---------- Share ---------- */
.op-share { display: flex; align-items: center; gap: 0.6rem; }
.op-share-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--op-muted-2);
  margin-right: 0.25rem;
}
.op-share-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--op-border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--op-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.op-share-btn i { font-size: 1.1rem; }
.op-share-btn:hover {
  color: #fff;
  background: rgba(255, 103, 1, 0.18);
  border-color: rgba(255, 103, 1, 0.45);
  transform: translateY(-2px);
}
.op-share-btn.copied {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
}

/* Article layout: sticky share rail + reading column */
.op-article-layout {
  display: grid;
  grid-template-columns: 56px minmax(0, 68ch);
  gap: 3.5rem;
  justify-content: center;
}
.op-share-rail { position: relative; }
.op-share-rail-inner {
  position: sticky;
  top: 7rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
@media (max-width: 992px) {
  .op-article-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .op-share-rail { display: none; }
}

/* Article body */
.op-article-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--op-muted);
}
.op-article-body > *:first-child { margin-top: 0; }
.op-article-body p { margin: 0 0 1.4rem; }
.op-article-body h2,
.op-article-body h3,
.op-article-body h4 {
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin: 2.6rem 0 0.9rem;
  font-family: Helvetica, Arial, sans-serif;
}
.op-article-body h2 { font-size: 1.5rem; }
.op-article-body h3 { font-size: 1.25rem; }
.op-article-body h4 { font-size: 1.08rem; }
.op-article-body a {
  color: var(--op-orange-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.op-article-body a:hover { color: var(--primary); }
.op-article-body strong { color: #fff; font-weight: 700; }
.op-article-body sup {
  font-size: 0.7em;
  color: var(--op-orange-light);
  vertical-align: super;
  line-height: 0;
}
.op-article-body ul,
.op-article-body ol { margin: 0 0 1.4rem; padding-left: 1.3rem; }
.op-article-body li { margin-bottom: 0.5rem; }
.op-article-body li::marker { color: var(--primary); }
.op-article-body code {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--op-border);
  border-radius: 6px;
  padding: 0.1rem 0.4rem;
  font-size: 0.9em;
  color: var(--op-orange-light);
}

/* Quote — orange rule, serif italic. Two weights: standard and pull quote. */
.op-article-body blockquote {
  margin: 2rem 0;
  padding: 0.2rem 0 0.2rem 1.6rem;
  border-left: 2px solid var(--primary);
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.7;
}
/* colour/size must be restated: the broad `.opinions-main p` rule above
   otherwise wins over the blockquote's own colour on these inner <p>s */
.op-article-body blockquote p {
  margin: 0 0 0.7rem;
  color: #fff;
  font-size: inherit;
  line-height: inherit;
}
.op-article-body blockquote p:last-child { margin-bottom: 0; }
.op-article-body blockquote.pull {
  font-size: 1.65rem;
  line-height: 1.4;
  font-weight: 500;
  margin: 2.4rem 0;
  padding-left: 1.8rem;
}

.op-figure { margin: 2.2rem 0; }
.op-figure img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--op-border);
}
.op-figure figcaption {
  margin-top: 0.6rem;
  font-size: 0.8rem;
  color: var(--op-muted-2);
  text-align: center;
}

/* REFERENCE list */
.op-refs {
  margin-top: 3rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--op-border);
}
.op-refs-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--op-muted-2);
  margin-bottom: 1rem;
}
.op-refs ol { margin: 0; padding-left: 1.2rem; }
.op-refs li {
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--op-muted-2);
  margin-bottom: 0.7rem;
}
.op-refs li::marker { color: var(--op-muted-2); }
.op-refs cite { font-style: italic; }
.op-refs a { color: var(--op-orange-light); font-weight: 600; }
.op-refs a:hover { color: var(--primary); }

/* End-of-article share row */
.op-share-foot {
  margin-top: 2.5rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--op-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.op-share-foot p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--op-muted);
  max-width: 46ch;
}

/* Related Opinions — lighter card than the hub grid (no avatar) */
.op-rel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  margin-top: 2.25rem;
}
.op-rel-card {
  background: var(--op-panel);
  border: 1px solid var(--op-border);
  border-radius: 18px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  transition: border-color 0.2s ease, transform 0.25s ease;
}
.op-rel-card:hover {
  border-color: rgba(255, 103, 1, 0.35);
  transform: translateY(-4px);
}
.op-rel-card .op-tag { margin-bottom: 0.3rem; }
.op-rel-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
  margin: 0;
}
.op-rel-card h4 a { color: #fff; }
.op-rel-card h4 a:hover { color: var(--op-orange-light); }
.op-rel-card .op-dek {
  font-size: 0.85rem;
  color: var(--op-muted);
  line-height: 1.6;
  margin: 0;
  flex: 1;
}
.op-rel-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--op-border);
  font-size: 0.8rem;
  color: var(--op-muted-2);
}
@media (max-width: 992px) { .op-rel-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .op-rel-grid { grid-template-columns: 1fr; } }

/* Loading / not-found states */
.op-state { text-align: center; padding: 2rem 0; }
.op-state h2 { color: #fff; font-size: 1.4rem; font-weight: 800; margin: 0 0 0.6rem; }
.op-state p { color: var(--op-muted); margin: 0 0 1.5rem; }

/* ============================================================
   CTA BAND
   ============================================================ */
.op-cta {
  background: linear-gradient(135deg, rgba(255, 103, 1, 0.14), rgba(23, 23, 73, 0.4));
  border: 1px solid var(--op-border);
  border-radius: 24px;
  padding: 3.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.op-cta h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 0.5rem;
}
.op-cta p {
  color: var(--op-muted);
  margin: 0;
  font-size: 0.9rem;
  max-width: 460px;
}
.op-cta .primary-btn {
  white-space: nowrap;
  font-size: 1rem;
  padding: 0.7rem 1.4rem !important;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
  .op-hero { padding: 9rem 0 3.5rem; }
  .op-hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .op-hero-title { font-size: 2.6rem; }
  .op-signal-card { height: 200px; }
  .op-grid { grid-template-columns: repeat(2, 1fr); }
  .op-featured { padding: 2.2rem; }
  .op-featured h3 { font-size: 1.6rem; }
}

@media (max-width: 992px) {
  .op-article-head { padding: 9rem 0 2.5rem; }
  .op-article-title { font-size: 2.2rem; }
}

@media (max-width: 767px) {
  .opinions-main .op-section { padding: 3.5rem 0; }
  .op-hero { padding: 8rem 0 3rem; }
  .op-hero-title { font-size: 2.2rem; }
  .op-article-head { padding: 8rem 0 2rem; }
  .op-article-title { font-size: 1.8rem; }
  .op-article-dek { font-size: 1.02rem; }
  .op-article-body { font-size: 1rem; }
  .op-article-body h2 { font-size: 1.35rem; }
  .op-hero-lead { font-size: 1rem; }
  .op-title { font-size: 1.5rem; }
  .op-grid { grid-template-columns: 1fr; }
  .op-featured { padding: 1.8rem; }
  .op-featured h3 { font-size: 1.4rem; }
  .op-featured-foot { align-items: flex-start; }
  .op-featured-actions { gap: 1rem; flex-wrap: wrap; }
  .op-cta { padding: 2.2rem 1.8rem; }
}
