/*
Theme Name: PAGEVIEW 2026
Theme URI: https://pageview.jp
Author: PAGEVIEW
Author URI: https://pageview.jp
Description: Independent editorial theme for PAGEVIEW, built for reporting, releases, economy, technology, and money coverage.
Version: 0.2.1
Requires at least: 6.6
Tested up to: 6.9
Requires PHP: 7.4
Text Domain: pageview-2026
*/

:root {
  color-scheme: light;
  --pv-bg: #f7f3ec;
  --pv-bg-alt: #fffaf1;
  --pv-surface: #ffffff;
  --pv-ink: #171412;
  --pv-muted: #6b6258;
  --pv-border: #ded4c5;
  --pv-rule: #26211c;
  --pv-red: #c93b2f;
  --pv-green: #0c7a5a;
  --pv-blue: #235b8f;
  --pv-amber: #b07418;
  --pv-soft-red: #f3ded9;
  --pv-soft-green: #dcece4;
  --pv-soft-blue: #dce7f2;
  --pv-soft-amber: #efe1c8;
  --pv-max: 1180px;
  --pv-wide: 1440px;
  --pv-radius: 6px;
  --pv-shadow: 0 18px 50px rgba(23, 20, 18, 0.08);
  --pv-font-sans: "Inter", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --pv-font-serif: "Source Serif 4", Georgia, "Hiragino Mincho ProN", "Yu Mincho", serif;
}

[data-theme="dark"] {
  color-scheme: dark;
  --pv-bg: #14110f;
  --pv-bg-alt: #1c1815;
  --pv-surface: #221d19;
  --pv-ink: #fbf4ea;
  --pv-muted: #b6aa9a;
  --pv-border: #41382f;
  --pv-rule: #fbf4ea;
  --pv-red: #ff6a57;
  --pv-green: #58d39f;
  --pv-blue: #74afe5;
  --pv-amber: #f0b14d;
  --pv-soft-red: #3d201d;
  --pv-soft-green: #173329;
  --pv-soft-blue: #1b2d3e;
  --pv-soft-amber: #392b16;
  --pv-shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--pv-bg);
  color: var(--pv-ink);
  font-family: var(--pv-font-sans);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--pv-red);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.screen-reader-text,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  z-index: 9999;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  clip: auto;
  padding: 10px 14px;
  background: var(--pv-ink);
  color: var(--pv-bg);
}

.pv-site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.pv-container {
  width: min(var(--pv-max), calc(100% - 40px));
  margin-inline: auto;
}

.pv-wide {
  width: min(var(--pv-wide), calc(100% - 40px));
  margin-inline: auto;
}

.pv-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: color-mix(in srgb, var(--pv-bg) 92%, transparent);
  border-bottom: 1px solid var(--pv-border);
  backdrop-filter: blur(18px);
}

.pv-alert-strip {
  border-bottom: 1px solid var(--pv-rule);
  background: var(--pv-ink);
  color: var(--pv-bg);
  font-size: 12px;
  line-height: 1.2;
}

.pv-alert-strip .pv-container {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-block: 8px;
}

.pv-alert-strip span {
  color: var(--pv-amber);
  font-weight: 800;
  text-transform: uppercase;
}

.pv-masthead {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 92px;
  gap: 24px;
}

.pv-brand {
  justify-self: center;
  text-align: center;
  text-decoration: none;
}

.pv-brand-name {
  display: block;
  font-family: var(--pv-font-serif);
  font-size: clamp(34px, 5vw, 72px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: 0;
}

.pv-brand-tagline {
  display: block;
  margin-top: 8px;
  color: var(--pv-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.pv-header-tools {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pv-icon-button,
.pv-menu-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--pv-border);
  border-radius: 999px;
  background: var(--pv-surface);
  color: var(--pv-ink);
}

.pv-icon-button:hover,
.pv-menu-button:hover {
  border-color: var(--pv-rule);
}

.pv-menu-button {
  justify-self: start;
  gap: 8px;
  width: auto;
  padding-inline: 14px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.pv-menu-lines {
  position: relative;
  width: 18px;
  height: 12px;
}

.pv-menu-lines::before,
.pv-menu-lines::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
}

.pv-menu-lines::before {
  top: 1px;
}

.pv-menu-lines::after {
  bottom: 1px;
}

.pv-nav-bar {
  border-top: 1px solid var(--pv-border);
}

.pv-primary-nav ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-x: auto;
}

.pv-primary-nav a {
  display: block;
  padding: 13px 12px;
  color: var(--pv-muted);
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.pv-primary-nav a:hover,
.pv-primary-nav .current-menu-item > a,
.pv-primary-nav .current_page_item > a {
  color: var(--pv-ink);
}

.pv-mobile-panel {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1500;
  background: var(--pv-bg);
  padding: 28px;
}

.menu-open .pv-mobile-panel {
  display: block;
}

.pv-mobile-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}

.pv-mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pv-mobile-nav a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--pv-border);
  font-family: var(--pv-font-serif);
  font-size: 26px;
  font-weight: 800;
  text-decoration: none;
}

.pv-main {
  flex: 1;
}

.pv-section {
  padding-block: 56px;
}

.pv-section + .pv-section {
  border-top: 1px solid var(--pv-border);
}

.pv-section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.pv-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--pv-red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.pv-eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: currentColor;
}

.pv-section-title {
  margin: 6px 0 0;
  font-family: var(--pv-font-serif);
  font-size: clamp(30px, 4vw, 56px);
  line-height: 0.95;
}

.pv-section-link {
  color: var(--pv-muted);
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

.pv-section-link:hover {
  color: var(--pv-red);
}

.pv-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  min-height: 620px;
  border-bottom: 1px solid var(--pv-rule);
}

.pv-hero-main {
  position: relative;
  min-height: 620px;
  background: var(--pv-rule);
  color: var(--pv-bg);
  overflow: hidden;
}

.pv-hero-main img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
  opacity: 0.72;
  transition: transform 0.8s ease;
}

.pv-hero-main:hover img {
  transform: scale(1.03);
}

.pv-hero-main.no-image {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--pv-red) 55%, #000), transparent 62%),
    linear-gradient(45deg, var(--pv-rule), color-mix(in srgb, var(--pv-green) 38%, #000));
}

.pv-hero-overlay {
  position: absolute;
  inset: auto 0 0;
  padding: clamp(24px, 4vw, 56px);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.82), transparent);
}

.pv-post-labels {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.pv-label,
.pv-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 4px 9px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.pv-label {
  color: var(--pv-red);
}

.pv-hero-overlay .pv-label,
.pv-hero-overlay .pv-kicker {
  color: var(--pv-bg);
}

.pv-hero-title {
  max-width: 920px;
  margin: 0;
  font-family: var(--pv-font-serif);
  font-size: clamp(40px, 6vw, 86px);
  line-height: 0.96;
}

.pv-hero-title a {
  text-decoration: none;
}

.pv-hero-excerpt {
  max-width: 700px;
  margin: 18px 0 0;
  color: color-mix(in srgb, var(--pv-bg) 86%, transparent);
  font-size: clamp(15px, 1.6vw, 19px);
}

.pv-hero-rail {
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--pv-bg-alt);
}

.pv-briefing {
  padding: 26px;
  border-bottom: 1px solid var(--pv-border);
}

.pv-briefing-title {
  margin: 0 0 14px;
  color: var(--pv-muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.pv-briefing-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pv-briefing-list li + li {
  border-top: 1px solid var(--pv-border);
}

.pv-briefing-list a {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 14px;
  padding: 14px 0;
  text-decoration: none;
}

.pv-briefing-list time {
  color: var(--pv-red);
  font-size: 12px;
  font-weight: 850;
}

.pv-briefing-list span {
  font-size: 14px;
  font-weight: 780;
  line-height: 1.45;
}

.pv-focus-box {
  display: flex;
  flex-direction: column;
  justify-content: end;
  min-height: 260px;
  padding: 26px;
  background:
    linear-gradient(135deg, var(--pv-soft-green), transparent 58%),
    var(--pv-surface);
}

.pv-focus-box p {
  margin: 12px 0 0;
  color: var(--pv-muted);
}

.pv-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.pv-intel-deck {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 22px;
  align-items: stretch;
}

.pv-market-board,
.pv-archive-map {
  min-height: 100%;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--pv-rule);
  border-radius: var(--pv-radius);
  background: var(--pv-surface);
}

.pv-market-board {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--pv-soft-blue) 80%, transparent), transparent 62%),
    var(--pv-surface);
}

.pv-market-status {
  color: var(--pv-muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.pv-market-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.pv-market-card {
  min-height: 126px;
  padding: 16px;
  border: 1px solid var(--pv-border);
  border-radius: var(--pv-radius);
  background: color-mix(in srgb, var(--pv-bg) 55%, var(--pv-surface));
}

.pv-market-card span,
.pv-market-card small {
  display: block;
  color: var(--pv-muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.pv-market-card strong {
  display: block;
  margin-block: 12px 6px;
  font-family: var(--pv-font-serif);
  font-size: clamp(30px, 4vw, 54px);
  line-height: 0.9;
}

.pv-market-card.is-live {
  border-color: var(--pv-green);
}

.pv-market-card.is-slot {
  border-style: dashed;
}

.pv-archive-map {
  background:
    linear-gradient(135deg, var(--pv-soft-amber), transparent 58%),
    var(--pv-bg-alt);
}

.pv-archive-number {
  margin-top: 16px;
  font-family: var(--pv-font-serif);
  font-size: clamp(64px, 10vw, 132px);
  font-weight: 900;
  line-height: 0.82;
}

.pv-archive-map p {
  margin: 18px 0;
  color: var(--pv-muted);
}

.pv-year-strip,
.pv-category-meter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pv-year-strip a {
  padding: 4px 8px;
  border: 1px solid var(--pv-border);
  border-radius: 999px;
  color: var(--pv-muted);
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
}

.pv-category-meter {
  margin-top: 18px;
}

.pv-category-meter a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--pv-border);
  border-radius: var(--pv-radius);
  background: var(--pv-surface);
  color: var(--pv-ink);
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
}

.pv-category-meter b {
  color: var(--pv-red);
}

.pv-signal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--pv-rule);
  background: var(--pv-rule);
  gap: 1px;
}

.pv-signal-grid article {
  min-height: 240px;
  padding: 22px;
  background: var(--pv-bg);
}

.pv-signal-grid span {
  color: var(--pv-red);
  font-size: 12px;
  font-weight: 950;
}

.pv-signal-grid h3 {
  margin: 42px 0 12px;
  font-family: var(--pv-font-serif);
  font-size: clamp(26px, 3vw, 42px);
  line-height: 0.95;
}

.pv-signal-grid p {
  margin: 0;
  color: var(--pv-muted);
  font-size: 14px;
}

.pv-card,
.pv-card-horizontal {
  background: var(--pv-surface);
  border: 1px solid var(--pv-border);
  border-radius: var(--pv-radius);
  overflow: hidden;
  box-shadow: none;
}

.pv-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.pv-card:hover,
.pv-card-horizontal:hover {
  border-color: var(--pv-rule);
}

.pv-card-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background:
    linear-gradient(135deg, var(--pv-soft-blue), transparent),
    var(--pv-soft-amber);
}

.pv-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.pv-card:hover .pv-card-media img,
.pv-card-horizontal:hover .pv-card-media img {
  transform: scale(1.04);
}

.pv-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px;
}

.pv-card-title {
  margin: 0;
  font-family: var(--pv-font-serif);
  font-size: clamp(21px, 2vw, 29px);
  line-height: 1.15;
}

.pv-card-title a,
.pv-card-horizontal-title a {
  text-decoration: none;
}

.pv-card-excerpt {
  margin: 12px 0 0;
  color: var(--pv-muted);
  font-size: 14px;
}

.pv-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-top: 16px;
  color: var(--pv-muted);
  font-size: 12px;
  font-weight: 760;
}

.pv-meta span + span::before {
  content: "/";
  margin-right: 9px;
  color: var(--pv-border);
}

.pv-topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--pv-rule);
  border: 1px solid var(--pv-rule);
}

.pv-topic-column {
  background: var(--pv-bg);
  padding: 22px;
}

.pv-topic-column:nth-child(1) .pv-eyebrow {
  color: var(--pv-red);
}

.pv-topic-column:nth-child(2) .pv-eyebrow {
  color: var(--pv-blue);
}

.pv-topic-column:nth-child(3) .pv-eyebrow {
  color: var(--pv-green);
}

.pv-topic-column h3 {
  margin: 6px 0 18px;
  font-family: var(--pv-font-serif);
  font-size: 34px;
  line-height: 1;
}

.pv-topic-list {
  display: grid;
  gap: 16px;
}

.pv-card-horizontal {
  display: grid;
  grid-template-columns: 142px 1fr;
  min-height: 126px;
}

.pv-card-horizontal .pv-card-media {
  aspect-ratio: auto;
  height: 100%;
}

.pv-card-horizontal-body {
  padding: 14px;
}

.pv-card-horizontal-title {
  margin: 0;
  font-family: var(--pv-font-serif);
  font-size: 18px;
  line-height: 1.22;
}

.pv-river-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 42px;
  align-items: start;
}

.pv-river {
  display: grid;
  gap: 18px;
}

.pv-sidebar {
  position: sticky;
  top: 158px;
  display: grid;
  gap: 18px;
}

.pv-widget {
  padding: 20px;
  border: 1px solid var(--pv-border);
  border-radius: var(--pv-radius);
  background: var(--pv-surface);
}

.pv-widget h2,
.pv-widget h3,
.pv-widget .widget-title {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pv-ad-slot {
  display: grid;
  place-items: center;
  min-height: 112px;
  padding: 16px;
  border: 1px dashed var(--pv-border);
  background: color-mix(in srgb, var(--pv-surface) 76%, var(--pv-bg));
  color: var(--pv-muted);
  font-size: 12px;
  text-align: center;
}

.search-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.search-form label {
  flex: 1 1 240px;
}

.search-field {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid var(--pv-border);
  border-radius: var(--pv-radius);
  background: var(--pv-surface);
  color: var(--pv-ink);
}

.search-form button {
  min-height: 46px;
  padding: 10px 18px;
  border: 1px solid var(--pv-rule);
  border-radius: var(--pv-radius);
  background: var(--pv-ink);
  color: var(--pv-bg);
  font-weight: 850;
}

.pv-single-shell {
  display: grid;
  grid-template-columns: minmax(0, 760px) 320px;
  gap: 56px;
  align-items: start;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding-block: 54px;
}

.pv-article-header {
  padding-bottom: 30px;
  border-bottom: 1px solid var(--pv-rule);
}

.pv-article-title {
  margin: 0;
  font-family: var(--pv-font-serif);
  font-size: clamp(38px, 6vw, 76px);
  line-height: 0.98;
}

.pv-article-subtitle {
  margin: 18px 0 0;
  color: var(--pv-muted);
  font-size: clamp(17px, 2vw, 22px);
}

.pv-article-hero {
  margin: 30px 0 0;
  overflow: hidden;
  border-radius: var(--pv-radius);
  background: var(--pv-soft-amber);
}

.pv-article-hero img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.pv-article-content {
  font-family: var(--pv-font-serif);
  font-size: clamp(18px, 1.7vw, 21px);
  line-height: 2.02;
}

.pv-article-content > * {
  margin-top: 0;
  margin-bottom: 1.35em;
}

.pv-article-content h2,
.pv-article-content h3 {
  font-family: var(--pv-font-sans);
  line-height: 1.25;
  margin-top: 2.2em;
}

.pv-article-content h2 {
  font-size: clamp(28px, 3vw, 38px);
}

.pv-article-content h3 {
  font-size: clamp(23px, 2.4vw, 30px);
}

.pv-article-content blockquote {
  margin-inline: 0;
  padding: 18px 24px;
  border-left: 4px solid var(--pv-red);
  background: var(--pv-bg-alt);
  font-style: normal;
}

.pv-article-content a {
  color: var(--pv-blue);
}

.pv-article-content img {
  border-radius: var(--pv-radius);
}

.pv-article-footer {
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid var(--pv-border);
}

.pv-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pv-tags a {
  padding: 5px 9px;
  border: 1px solid var(--pv-border);
  border-radius: 999px;
  color: var(--pv-muted);
  font-size: 12px;
  text-decoration: none;
}

.pv-page-header,
.pv-archive-header {
  padding-block: 54px 30px;
  border-bottom: 1px solid var(--pv-rule);
}

.pv-page-title,
.pv-archive-title {
  margin: 0;
  font-family: var(--pv-font-serif);
  font-size: clamp(42px, 6vw, 80px);
  line-height: 0.95;
}

.pv-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 34px;
}

.pv-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--pv-border);
  border-radius: 999px;
  text-decoration: none;
}

.pv-pagination .current {
  background: var(--pv-ink);
  color: var(--pv-bg);
  border-color: var(--pv-ink);
}

.pv-footer {
  margin-top: 70px;
  border-top: 1px solid var(--pv-rule);
  background: var(--pv-ink);
  color: var(--pv-bg);
}

.pv-footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr;
  gap: 42px;
  padding-block: 54px;
}

.pv-footer-brand {
  font-family: var(--pv-font-serif);
  font-size: clamp(42px, 7vw, 86px);
  font-weight: 900;
  line-height: 0.9;
}

.pv-footer p {
  color: color-mix(in srgb, var(--pv-bg) 72%, transparent);
}

.pv-footer a {
  color: var(--pv-bg);
}

.pv-footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pv-footer-nav li + li {
  margin-top: 8px;
}

.pv-copyright {
  border-top: 1px solid color-mix(in srgb, var(--pv-bg) 18%, transparent);
  padding-block: 14px;
  color: color-mix(in srgb, var(--pv-bg) 66%, transparent);
  font-size: 12px;
}

@media (max-width: 980px) {
  .pv-masthead {
    grid-template-columns: auto 1fr auto;
    min-height: 72px;
  }

  .pv-brand {
    justify-self: start;
    text-align: left;
  }

  .pv-brand-name {
    font-size: 36px;
  }

  .pv-brand-tagline,
  .pv-nav-bar,
  .pv-alert-strip {
    display: none;
  }

  .pv-hero-grid,
  .pv-river-layout,
  .pv-single-shell {
    grid-template-columns: 1fr;
  }

  .pv-hero-grid,
  .pv-hero-main,
  .pv-hero-main img {
    min-height: 520px;
  }

  .pv-sidebar {
    position: static;
    top: auto;
  }

  .pv-card-grid,
  .pv-intel-deck,
  .pv-market-grid,
  .pv-signal-grid,
  .pv-topic-grid,
  .pv-footer-inner {
    grid-template-columns: 1fr;
  }

  .pv-topic-grid {
    gap: 0;
  }
}

@media (max-width: 640px) {
  .pv-container,
  .pv-wide,
  .pv-single-shell {
    width: min(100% - 28px, var(--pv-max));
  }

  .pv-menu-button {
    width: 42px;
    padding: 0;
  }

  .pv-masthead {
    gap: 10px;
  }

  .pv-header-tools {
    gap: 4px;
  }

  .pv-menu-text {
    display: none;
  }

  .pv-icon-button {
    width: 38px;
    height: 38px;
  }

  .pv-hero-grid,
  .pv-hero-main,
  .pv-hero-main img {
    min-height: 470px;
  }

  .pv-hero-overlay {
    padding: 22px;
  }

  .pv-section {
    padding-block: 40px;
  }

  .pv-section-header {
    display: block;
  }

  .pv-card-horizontal {
    grid-template-columns: 108px 1fr;
  }

  .pv-card-horizontal-title {
    font-size: 16px;
  }

  .pv-article-content {
    line-height: 1.9;
  }
}
