/* Preside Briefing layout. Material Symbols font loaded via wp_enqueue_style in the plugin. */

/* Hide Bricks default single-post chrome (the layout supplies its own). */
.bricks-post-header,
.brxe-post-title:not(.pi-briefing-title),
.brxe-post-meta-wrapper,
.brxe-related-posts,
.brxe-post-navigation,
.brxe-post-author,
.brxe-post-sharing,
.brxe-post-taxonomy,
.brxe-post-comments,
.bricks-related-posts,
a.prev-post,
a.next-post,
/* The "Related posts" heading is a separate sibling element next to the widget. */
h2:has(+ .brxe-related-posts),
h2:has(+ .bricks-related-posts) { display: none !important; }
.brxe-post-content { max-width: none !important; padding: 0 !important; }
.pi-briefing { margin: 0 calc(50% - 50vw); }

.pi-briefing {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  color: #0f172a;
  line-height: 1.6;
}
.pi-briefing .material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: 400;
  font-style: normal;
  font-size: 18px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-flex;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  vertical-align: middle;
}

.pi-briefing-hero {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.pi-briefing-hero-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.pi-briefing-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.5) 55%, rgba(15, 23, 42, 0.05) 100%);
  z-index: 1;
}
.pi-briefing-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 56px 32px 48px;
  color: #fff;
}
.pi-briefing-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.pi-briefing-kicker {
  background: rgba(37, 99, 235, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  backdrop-filter: blur(8px);
}
.pi-briefing-meta-item {
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.pi-briefing-title {
  font-family: 'Epilogue', 'Hanken Grotesk', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4.2vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0;
  max-width: 56rem;
  color: #fff;
}
.pi-briefing-target {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  font-weight: 600;
}
.pi-briefing-target .material-symbols-outlined {
  font-size: 18px;
  margin-right: 8px;
  color: rgba(255, 255, 255, 0.7);
}
.pi-briefing-target-label {
  color: rgba(255, 255, 255, 0.55);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.12em;
  margin-right: 10px;
}

.pi-briefing-body {
  padding: 64px 32px 96px;
  max-width: 1280px;
  margin: 0 auto;
}
.pi-briefing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
}
@media (min-width: 960px) {
  .pi-briefing-grid {
    grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
    gap: 48px;
  }
}

.pi-briefing-article > p {
  font-size: 16px;
  line-height: 1.7;
  color: #434655;
  margin: 0 0 24px;
}
.pi-briefing-article > p:first-of-type {
  font-size: 18px;
  color: #0f172a;
  margin-bottom: 32px;
}
.pi-briefing-article > p.pi-briefing-dropcap::first-letter {
  font-family: 'Epilogue', 'Hanken Grotesk', sans-serif;
  float: left;
  font-size: 4.5rem;
  line-height: 0.95;
  font-weight: 800;
  color: #2563eb;
  margin: 4px 12px 0 0;
}
.pi-briefing-article h2 {
  font-family: 'Epilogue', 'Hanken Grotesk', sans-serif;
  font-weight: 700;
  font-size: 28px;
  line-height: 1.25;
  color: #0f172a;
  margin: 56px 0 24px;
}
.pi-briefing-article h3 {
  font-family: 'Epilogue', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: #0f172a;
  margin: 40px 0 16px;
}
.pi-briefing-article ul, .pi-briefing-article ol {
  margin: 0 0 24px 24px;
  color: #434655;
  font-size: 16px;
  line-height: 1.7;
}
.pi-briefing-article li { margin-bottom: 8px; }
.pi-briefing-article a { color: #2563eb; text-decoration: underline; text-underline-offset: 2px; }
.pi-briefing-article a:hover { color: #0d9488; }

.pi-briefing-article .wp-block-pullquote {
  position: relative;
  padding: 36px 0 32px;
  margin: 48px 0;
  border-top: 1px solid #c3c6d7;
  border-bottom: 1px solid #c3c6d7;
}
.pi-briefing-article .wp-block-pullquote::before {
  content: 'format_quote';
  font-family: 'Material Symbols Outlined';
  font-feature-settings: 'liga';
  position: absolute;
  top: -22px;
  left: -4px;
  background: #f7f9fb;
  color: #2563eb;
  font-size: 40px;
  line-height: 1;
  padding: 0 10px;
  font-weight: 400;
}
.pi-briefing-article .wp-block-pullquote blockquote,
.pi-briefing-article .wp-block-pullquote p {
  font-family: 'Epilogue', 'Hanken Grotesk', sans-serif;
  font-size: 24px;
  line-height: 1.3;
  font-style: italic;
  font-weight: 600;
  color: #0f172a;
  margin: 0;
}
.pi-briefing-article .wp-block-pullquote cite {
  display: block;
  margin-top: 16px;
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #2563eb;
}

.pi-briefing-article .preside-callout {
  display: block;
  background: #f2f4f6;
  border-left: 4px solid #2563eb;
  padding: 28px 32px;
  margin: 40px 0;
}
.pi-briefing-article .preside-callout[data-label]::before {
  content: attr(data-label);
  display: block;
  font-family: 'Epilogue', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #2563eb;
  margin-bottom: 12px;
}
.pi-briefing-article .preside-callout p {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.55;
  color: #0f172a;
  margin: 0;
}

.pi-briefing-cta {
  position: relative;
  margin-top: 72px;
  padding: 40px;
  background: #0f172a;
  color: #fff;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
}
.pi-briefing-cta::before {
  content: '';
  position: absolute;
  top: -140px;
  right: -140px;
  width: 360px;
  height: 360px;
  background: rgba(37, 99, 235, 0.55);
  border-radius: 50%;
  filter: blur(72px);
  pointer-events: none;
}
.pi-briefing-cta::after {
  content: '';
  position: absolute;
  bottom: -180px;
  left: -180px;
  width: 320px;
  height: 320px;
  background: rgba(13, 148, 136, 0.25);
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.pi-briefing-cta > * { position: relative; }
.pi-briefing-cta h3 {
  font-family: 'Epilogue', sans-serif;
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 20px;
  color: #fff;
}
.pi-briefing-cta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) {
  .pi-briefing-cta-grid-2 { grid-template-columns: 1fr 1fr; }
}
.pi-briefing-cta-grid a {
  padding: 24px;
  border-radius: 4px;
  text-decoration: none;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  min-height: 140px;
  transition: background 0.18s, transform 0.18s;
}
.pi-briefing-cta-primary { background: #2563eb; }
.pi-briefing-cta-primary:hover { background: #1d4fd1; }
.pi-briefing-cta-secondary { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.2); }
.pi-briefing-cta-secondary:hover { background: rgba(255, 255, 255, 0.16); }
.pi-briefing-cta-stack { display: block; }
.pi-briefing-cta-kicker {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}
.pi-briefing-cta-label {
  font-family: 'Epilogue', 'Hanken Grotesk', sans-serif;
  display: block;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  margin-top: 6px;
}
.pi-briefing-cta-arrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.18s ease;
}
.pi-briefing-cta-arrow .material-symbols-outlined {
  font-size: 18px;
  transition: transform 0.18s ease;
}
.pi-briefing-cta-grid a:hover .pi-briefing-cta-arrow { gap: 14px; }
.pi-briefing-cta-grid a:hover .pi-briefing-cta-arrow .material-symbols-outlined { transform: translateX(2px); }
.pi-briefing-cta-intro {
  margin: 0 0 28px;
  font-size: 15.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.85);
  max-width: 42rem;
}
.pi-briefing-cta-footnote {
  margin: 28px 0 0;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.6);
}

.pi-briefing-disclaimer {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid #c3c6d7;
  font-style: italic;
  color: #434655;
  font-size: 13px;
  line-height: 1.55;
}

.pi-briefing-sidebar { display: flex; flex-direction: column; gap: 44px; }
.pi-briefing-side-label {
  font-family: 'Epilogue', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #2563eb;
  margin: 0 0 14px;
}
.pi-briefing-side-heading {
  font-family: 'Epilogue', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.pi-briefing-side-heading .material-symbols-outlined {
  color: #2563eb;
  font-size: 22px;
}

.pi-briefing-author {
  background: #eceef0;
  padding: 28px;
  border: 1px solid #c3c6d7;
  border-radius: 4px;
}
.pi-briefing-author p {
  font-size: 14.5px;
  line-height: 1.6;
  color: #0f172a;
  margin: 0;
}

.pi-briefing-related-list a {
  display: block;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid #c3c6d7;
  text-decoration: none;
  color: inherit;
}
.pi-briefing-related-list a:last-child { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }
.pi-related-date {
  display: block;
  color: #2563eb;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.pi-related-title {
  font-family: 'Epilogue', 'Hanken Grotesk', sans-serif;
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  line-height: 1.35;
  transition: color 0.15s;
}
.pi-briefing-related-list a:hover .pi-related-title { color: #2563eb; }

/* Highlighted prev/next anchors: dark navy with a left blue rail */
.pi-briefing-related-list a.pi-related-pinned {
  display: block;
  background: #0f172a;
  color: #fff;
  padding: 18px 20px;
  border-left: 4px solid #2563eb;
  border-bottom: 0;
  border-radius: 4px;
  margin-bottom: 12px;
  transition: background 0.18s;
}
.pi-briefing-related-list a.pi-related-pinned:hover { background: #1e293b; }
.pi-briefing-related-list a.pi-related-pinned .pi-related-pin {
  display: inline-block;
  background: #2563eb;
  color: #fff;
  font-family: 'Epilogue', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 2px;
  margin-bottom: 10px;
}
.pi-briefing-related-list a.pi-related-pinned .pi-related-date {
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 6px;
}
.pi-briefing-related-list a.pi-related-pinned .pi-related-title { color: #fff; }
.pi-briefing-related-list a.pi-related-pinned:hover .pi-related-title { color: #fff; }
.pi-briefing-related-list a.pi-related-pinned + a.pi-related-pinned { margin-top: -4px; }
.pi-briefing-related-list a.pi-related-pinned + a:not(.pi-related-pinned) { margin-top: 12px; }

.pi-briefing-subscribe {
  background: #2563eb;
  color: #fff;
  padding: 28px;
  border-radius: 4px;
}
.pi-briefing-subscribe h4 {
  font-family: 'Epilogue', sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 12px;
  color: #fff;
}
.pi-briefing-subscribe p {
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 20px;
  font-size: 14.5px;
  line-height: 1.5;
}
.pi-briefing-subscribe input {
  width: 100%;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  padding: 12px 14px;
  border-radius: 4px;
  font-size: 14.5px;
  margin-bottom: 12px;
}
.pi-briefing-subscribe input::placeholder { color: rgba(255, 255, 255, 0.55); }
.pi-briefing-subscribe button {
  width: 100%;
  background: #fff;
  color: #2563eb;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
}
.pi-briefing-subscribe button:disabled { opacity: 0.65; cursor: not-allowed; }

.pi-briefing-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pi-briefing-chips span {
  background: #dae2fd;
  color: #3f465c;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 2px;
}
