/*
Theme Name: Granite Morning
Theme URI: https://example.com/granite-morning
Author: Granite Morning
Author URI: https://example.com
Description: A production-ready WordPress news theme matching the Granite Morning mockups with a player-first post layout and New Hampshire-inspired visual system.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: granite-morning
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, news, one-column, two-columns, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

:root {
  --granite: #4f555a;
  --slate: #2f3d46;
  --pine: #305c4b;
  --forest: #3d6d58;
  --moss: #5f7c5a;
  --sunrise: #d98032;
  --gold: #e7b15c;
  --sky: #d9ecf2;
  --mist: #dfe9ec;
  --paper: #f7f3eb;
  --snow: #ffffff;
  --ink: #1b1b1b;
  --muted: #5d676d;
  --border: rgba(27, 27, 27, 0.12);
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  --radius: 18px;
  --max: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top right, rgba(217, 236, 242, 0.9), transparent 30%),
    linear-gradient(180deg, #eef5f7 0%, #d7e5dd 35%, #f3efe6 100%);
}

.single-post {
  font-family: Arial, Helvetica, sans-serif;
  color: #1a1d1f;
  background:
    radial-gradient(circle at top right, rgba(231, 177, 92, 0.22), transparent 22%),
    linear-gradient(180deg, #edf4f6 0%, #dde8e1 34%, #f5efe4 100%);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  line-height: 1.15;
}

.single-post h1,
.single-post h2,
.single-post h3,
.single-post h4,
.single-post h5,
.single-post h6 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: none;
}

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

figure {
  margin: 0;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

.topbar {
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(27, 27, 27, 0.08);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.single-post .topbar {
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.84);
  border-bottom: 1px solid rgba(26, 29, 31, 0.08);
}

.topbar-inner {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--granite), var(--slate));
  padding: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
  flex: 0 0 auto;
}

.single-post .brand-mark {
  width: 54px;
  height: 54px;
  padding: 7px;
}

.brand-mark a,
.brand-mark img {
  width: 100%;
  height: 100%;
}

.brand-mark img {
  object-fit: cover;
  border-radius: 8px;
}

.brand-text,
.brand-copy {
  min-width: 0;
}

.brand-text h1,
.brand-copy h1,
.brand-text .site-title,
.brand-copy .site-title {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1;
}

.single-post .brand-text h1,
.single-post .brand-copy h1,
.single-post .brand-text .site-title,
.single-post .brand-copy .site-title {
  font-size: 1.4rem;
}

.brand-text p,
.brand-copy p,
.brand-copy .site-description,
.brand-text .site-description {
  margin: 4px 0 0;
  font-size: 0.95rem;
  color: rgba(27, 27, 27, 0.72);
  font-family: Arial, Helvetica, sans-serif;
}

.single-post .brand-text p,
.single-post .brand-copy p,
.single-post .brand-copy .site-description,
.single-post .brand-text .site-description {
  color: var(--muted);
  font-size: 0.93rem;
}

.nav {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.95rem;
  color: rgba(27, 27, 27, 0.84);
}

.single-post .nav {
  color: rgba(26, 29, 31, 0.82);
}

.nav .nav-menu,
.nav > ul {
  list-style: none;
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav .nav-menu li,
.nav > ul li {
  margin: 0;
  padding: 0;
}

.nav .nav-menu a,
.nav > ul a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
}

.nav .nav-menu a::after,
.nav > ul a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 5px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  border-bottom: 1px solid currentcolor;
  opacity: 0.5;
  transition: transform 0.2s ease;
}

.nav .nav-menu a:hover::after,
.nav .nav-menu a:focus::after,
.nav .nav-menu .current-menu-item > a::after,
.nav > ul a:hover::after,
.nav > ul a:focus::after,
.nav > ul .current-menu-item > a::after {
  transform: scaleX(1);
}

.site-shell {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.container {
  width: min(100% - 32px, 1180px);
  margin: 0 auto;
}

.hero {
  padding: 48px 0 28px;
}

.single-post .hero {
  padding: 42px 0 26px;
}

.hero-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(247, 243, 235, 0.92));
  border: 1px solid rgba(27, 27, 27, 0.08);
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(247, 242, 232, 0.95));
  border: 1px solid rgba(26, 29, 31, 0.1);
  border-radius: 30px;
  box-shadow: 0 18px 45px rgba(12, 17, 20, 0.12);
  overflow: hidden;
}

.hero-copy {
  padding: 42px;
}

.single-post .hero-copy {
  padding: 40px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(48, 92, 75, 0.1);
  color: var(--pine);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.single-post .eyebrow {
  font-size: 0.78rem;
}

.hero h2 {
  margin: 0 0 16px;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 0.95;
}

.single-post .hero-copy h2 {
  margin: 0 0 14px;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 0.94;
}

.hero p {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(27, 27, 27, 0.78);
  max-width: 60ch;
  margin: 0 0 24px;
}

.single-post .hero-copy p {
  margin: 0 0 24px;
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(26, 29, 31, 0.78);
  max-width: 62ch;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  transition: 0.2s ease;
}

.btn:hover,
.btn:focus {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--sunrise);
  color: var(--snow);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(27, 27, 27, 0.12);
}

.single-post .btn-secondary {
  border-color: rgba(26, 29, 31, 0.12);
  background: rgba(255, 255, 255, 0.74);
}

.hero-visual {
  min-height: 100%;
  background:
    linear-gradient(180deg, rgba(217, 236, 242, 0.75), rgba(255, 255, 255, 0.2)),
    linear-gradient(145deg, #8ba1ad 0%, #60737d 45%, #304b3d 100%);
  display: grid;
  place-items: center;
  padding: 24px;
  position: relative;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: auto -60px -40px auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 128, 50, 0.45), rgba(217, 128, 50, 0) 70%);
}

.logo-frame {
  width: min(100%, 420px);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(27, 27, 27, 0.08);
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
  padding: 18px;
  position: relative;
  z-index: 1;
}

.content-grid {
  display: grid;
  grid-template-columns: 1.7fr 0.9fr;
  gap: 28px;
  padding: 12px 0 64px;
}

.layout {
  display: grid;
  grid-template-columns: 1.7fr 0.85fr;
  gap: 28px;
  padding-bottom: 60px;
}

.stack,
.main-stack,
.side-stack,
.sidebar {
  display: grid;
  gap: 24px;
  align-content: start;
}

.card {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.single-post .card {
  background: rgba(255, 255, 255, 0.88);
  border-radius: 22px;
  border-color: rgba(26, 29, 31, 0.1);
}

.feature-story {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 380px;
}

.feature-copy {
  padding: 34px;
}

.kicker {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pine);
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-copy h3 {
  margin: 0 0 14px;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  line-height: 1.05;
}

.feature-copy p,
.post-card p,
.sidebar-card p,
.host-card p,
.newsletter p,
.footer p,
.archive-intro,
.page-card p {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
  color: rgba(27, 27, 27, 0.78);
  margin: 0;
}

.meta {
  margin-top: 18px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.9rem;
  color: rgba(27, 27, 27, 0.62);
}

.feature-image {
  position: relative;
  min-height: 100%;
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0.18)),
    linear-gradient(140deg, #b7c9d1, #6d8974 60%, #40574b 100%);
  background-size: cover;
  background-position: center;
}

.feature-image.has-post-thumbnail {
  background-image: none;
}

.feature-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(48, 61, 70, 0.04), rgba(48, 61, 70, 0.28));
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-title,
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
}

.section-title {
  padding: 0 4px;
}

.section-title h4,
.section-head h4 {
  margin: 0;
  font-size: 1.7rem;
}

.section-title span {
  font-family: Arial, Helvetica, sans-serif;
  color: rgba(27, 27, 27, 0.62);
  font-size: 0.95rem;
}

.section-head {
  margin-bottom: 22px;
}

.section-head span {
  color: var(--muted);
  font-size: 0.94rem;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.post-card {
  padding: 22px;
}

.post-card h5,
.sidebar-card h5,
.newsletter h5,
.host-card h5,
.mini-card h5,
.side-card h5,
.page-card h1,
.page-card h2,
.page-card h3 {
  margin: 0 0 10px;
  font-size: 1.35rem;
  line-height: 1.15;
}

.post-thumb {
  display: block;
  height: 190px;
  border-radius: 14px;
  margin-bottom: 18px;
  border: 1px solid rgba(27, 27, 27, 0.08);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb-one {
  background-image:
    linear-gradient(180deg, rgba(217, 128, 50, 0.18), rgba(0, 0, 0, 0.15)),
    linear-gradient(140deg, #b7c9d1, #6d8974 60%, #40574b 100%);
}

.thumb-two {
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.12)),
    linear-gradient(140deg, #ced9df, #8b8f7a 55%, #59574f 100%);
}

.post-meta,
.mini-meta,
.episode-meta {
  margin-top: 14px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.88rem;
  color: rgba(27, 27, 27, 0.6);
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.sidebar-card,
.newsletter,
.host-card,
.mini-card,
.side-card {
  padding: 24px;
}

.episode-list,
.brief-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.episode-item,
.brief {
  padding: 14px;
  border-radius: 14px;
  background: rgba(47, 61, 70, 0.05);
  border: 1px solid rgba(47, 61, 70, 0.08);
}

.single-post .brief {
  border-radius: 16px;
  background: rgba(36, 52, 60, 0.04);
  border: 1px solid rgba(36, 52, 60, 0.08);
}

.episode-item strong,
.brief strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
}

.single-post .brief strong {
  font-size: 0.98rem;
}

.host-card {
  background: linear-gradient(180deg, rgba(48, 92, 75, 0.95), rgba(47, 61, 70, 0.95));
  color: var(--snow);
}

.host-card p,
.host-card .mini-meta {
  color: rgba(255, 255, 255, 0.82);
}

.host-row {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 14px;
}

.avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(145deg, #d98032, #8e5020);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--snow);
  flex: 0 0 auto;
}

.newsletter {
  background: linear-gradient(145deg, rgba(217, 128, 50, 0.95), rgba(156, 85, 34, 0.94));
  color: var(--snow);
}

.single-post .newsletter {
  background: linear-gradient(145deg, rgba(217, 119, 43, 0.96), rgba(163, 87, 33, 0.96));
}

.newsletter p,
.newsletter label {
  color: rgba(255, 255, 255, 0.88);
}

.mock-form,
.newsletter form {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.field,
.mock-button,
.newsletter input[type="email"],
.newsletter input[type="text"],
.newsletter input[type="search"],
.newsletter button,
.newsletter input[type="submit"],
.submit {
  min-height: 48px;
  border-radius: 999px;
  border: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.95rem;
  padding: 0 16px;
}

.field,
.newsletter input[type="email"],
.newsletter input[type="text"],
.newsletter input[type="search"] {
  background: rgba(255, 255, 255, 0.94);
  color: rgba(27, 27, 27, 0.75);
  display: flex;
  align-items: center;
}

.mock-button,
.submit,
.newsletter button,
.newsletter input[type="submit"] {
  background: rgba(27, 27, 27, 0.92);
  color: var(--snow);
  display: grid;
  place-items: center;
  font-weight: 700;
}

.main-stack .card:first-child {
  overflow: hidden;
}

.episode-header {
  padding: 28px 28px 0;
}

.label-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  background: rgba(47, 91, 74, 0.08);
  color: var(--pine);
  font-family: Arial, Helvetica, sans-serif;
}

.episode-header h3 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.02;
}

.episode-subhead {
  color: rgba(26, 29, 31, 0.76);
  line-height: 1.7;
  font-size: 1rem;
  margin: 0 0 20px;
  max-width: 65ch;
}

.episode-meta {
  gap: 16px;
  color: var(--muted);
  font-size: 0.92rem;
  padding-bottom: 22px;
  margin-top: 0;
}

.player-wrap {
  margin: 0 28px 28px;
  background: linear-gradient(145deg, rgba(36, 52, 60, 0.98), rgba(47, 91, 74, 0.96));
  color: var(--snow);
  border-radius: 22px;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.player-wrap::after {
  content: "";
  position: absolute;
  inset: auto -40px -70px auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(231, 177, 92, 0.25), rgba(231, 177, 92, 0) 70%);
}

.player-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

.player-top h4 {
  margin: 0 0 8px;
  font-size: 1.5rem;
}

.player-top p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  max-width: 58ch;
}

.listen-badge {
  min-width: 96px;
  min-height: 96px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 700;
  text-align: center;
  font-size: 0.92rem;
  padding: 14px;
}

audio,
.player-wrap audio {
  width: 100%;
  position: relative;
  z-index: 1;
  filter: saturate(0.9) contrast(1.02);
}

.player-links {
  margin-top: 16px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.player-link {
  min-height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.9rem;
  font-weight: 700;
}

.transcript {
  padding: 28px;
}

.transcript-body {
  display: grid;
  gap: 18px;
}

.transcript-body > p,
.transcript-body > ul,
.transcript-body > ol,
.transcript-body > blockquote,
.transcript-body > h2,
.transcript-body > h3,
.transcript-body > h4,
.transcript-body > figure,
.transcript-body > div,
.transcript-body > section {
  padding: 18px 18px 18px 20px;
  border-left: 4px solid rgba(217, 119, 43, 0.75);
  background: rgba(247, 242, 232, 0.72);
  border-radius: 0 16px 16px 0;
  margin: 0;
}

.transcript-body > * > :first-child {
  margin-top: 0;
}

.transcript-body > p,
.transcript-body li,
.transcript-body blockquote {
  line-height: 1.78;
  color: rgba(26, 29, 31, 0.82);
  font-size: 1rem;
}

.story-footer {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(26, 29, 31, 0.08);
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.mini-card p,
.side-card p,
.newsletter p,
.brief p {
  margin: 0;
  color: rgba(26, 29, 31, 0.78);
  line-height: 1.68;
  font-family: Arial, Helvetica, sans-serif;
}

.ai-card {
  background: linear-gradient(145deg, rgba(47, 91, 74, 0.96), rgba(36, 52, 60, 0.98));
  color: var(--snow);
}

.ai-card p,
.ai-card li {
  color: rgba(255, 255, 255, 0.84);
}

.ai-card ul {
  margin: 14px 0 0 18px;
  padding: 0;
  display: grid;
  gap: 10px;
  line-height: 1.55;
}

.archive-shell {
  padding: 36px 0 64px;
}

.archive-hero {
  margin-bottom: 24px;
}

.archive-heading {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  margin-bottom: 12px;
}

.archive-intro {
  max-width: 70ch;
  font-size: 1.02rem;
}

.page-wrap {
  padding: 36px 0 64px;
}

.page-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 34px;
}

.page-card .entry-meta {
  margin: 0 0 20px;
  color: rgba(27, 27, 27, 0.62);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.9rem;
}

.page-card .entry-content,
.page-card .entry-content p,
.page-card .entry-content li {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.03rem;
  line-height: 1.72;
  color: rgba(27, 27, 27, 0.82);
}

.page-card .entry-content > :first-child {
  margin-top: 0;
}

.page-card .entry-content > :last-child {
  margin-bottom: 0;
}

.wp-block-image,
.wp-caption {
  margin: 1.5rem 0;
}

.wp-caption-text {
  color: rgba(27, 27, 27, 0.62);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.9rem;
}

.post-navigation,
.pagination {
  margin-top: 30px;
  font-family: Arial, Helvetica, sans-serif;
}

.post-navigation .nav-links,
.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pagination .page-numbers,
.post-navigation a,
.post-navigation span {
  min-height: 40px;
  min-width: 40px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(27, 27, 27, 0.12);
  background: rgba(255, 255, 255, 0.88);
}

.pagination .current {
  background: var(--sunrise);
  color: var(--snow);
  border-color: transparent;
}

.widget {
  margin: 0;
}

.widget ul {
  margin: 0;
  padding-left: 1.2rem;
}

.widget-title,
.widget h2,
.widget h3 {
  margin: 0 0 10px;
}

.footer {
  border-top: 1px solid rgba(27, 27, 27, 0.08);
  padding: 24px 0 40px;
  font-family: Arial, Helvetica, sans-serif;
  color: rgba(27, 27, 27, 0.65);
}

.single-post .footer {
  border-top: 1px solid rgba(26, 29, 31, 0.08);
  padding: 24px 0 42px;
  color: var(--muted);
  font-size: 0.94rem;
}

.footer-inner {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-widgets {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.footer-widgets .widget {
  background: rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  padding: 16px;
  border: 1px solid rgba(27, 27, 27, 0.08);
}

.no-posts {
  padding: 24px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-family: Arial, Helvetica, sans-serif;
}

@media (max-width: 980px) {
  .hero-card,
  .content-grid,
  .feature-story,
  .post-grid,
  .layout,
  .hero-panel {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .feature-copy {
    padding: 28px;
  }

  .single-post .hero-copy {
    padding: 30px;
  }

  .nav {
    display: none;
  }
}

@media (max-width: 700px) {
  .player-top,
  .section-head,
  .episode-meta,
  .footer-inner {
    display: grid;
  }

  .player-wrap,
  .episode-header,
  .transcript,
  .mini-card,
  .side-card,
  .newsletter {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .topbar-inner {
    min-height: 70px;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
  }

  .hero {
    padding-top: 24px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .page-card {
    padding: 24px;
  }
}
