/*
Theme Name: Planet Mars Music
Theme URI: https://planetmarsmusic.com
Author: Planet Mars Music
Author URI: https://planetmarsmusic.com
Description: A dark, cinematic WordPress theme for Planet Mars Music — music publishing, production & promotion. Features a dynamic hero from the latest post, category-driven service columns, and a rich editorial aesthetic.
Version: 1.0.12
Requires at least: 6.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: planet-mars
Tags: music, dark, custom-logo, featured-images, blog, responsive-layout
*/

/* ============================================================
   SELF-HOSTED FONTS — no external requests needed
   Lora replaces Playfair Display (elegant serif)
   Poppins replaces DM Sans (clean sans-serif)
   ============================================================ */
@font-face {
  font-family: "Playfair Display";
  src: url("assets/fonts/Lora-Variable.ttf") format("truetype");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("assets/fonts/Lora-Italic-Variable.ttf") format("truetype");
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("assets/fonts/Poppins-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("assets/fonts/Poppins-Medium.ttf") format("truetype");
  font-weight: 500 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("assets/fonts/Poppins-Bold.ttf") format("truetype");
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
}





/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --bg:             #05060a;
  --bg-alt:         #0b0d14;
  --accent:         #ff4b4b;
  --accent-soft:    #ff6b6b;
  --gold:           #c8a85a;
  --text:           #f5f5f7;
  --muted:          #a0a3b1;
  --border-subtle:  #1b1e29;
  --max-width:      1120px;
  --radius-lg:      18px;
  --radius-md:      12px;
  --radius-pill:    999px;
  --shadow-soft:    0 18px 45px rgba(0,0,0,.55);
  --font-display:   "Lora", Georgia, serif;
  --font-sans:      "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-mono:      "Poppins", "Courier New", monospace;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  background: radial-gradient(circle at top, #15182a 0, #05060a 55%, #000 100%);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  min-height: 100vh;
  padding-left:  env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
  padding-bottom: env(safe-area-inset-bottom);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ============================================================
   LAYOUT SHELL
   ============================================================ */
.page { min-height: 100vh; display: flex; flex-direction: column; }

.shell {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem clamp(.9rem, 4vw, 1.5rem) 3rem;
}

/* ============================================================
   SKIP LINK
   ============================================================ */
.skip-link {
  position: absolute; left: -999px; top: .75rem;
  padding: .5rem 1rem; background: #fff; color: #000;
  border-radius: 999px; font-size: .9rem; z-index: 1000;
}
.skip-link:focus { left: 1rem; }

/* ============================================================
   HEADER
   ============================================================ */
header.site-header {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(5,6,10,.92), rgba(5,6,10,.75), transparent);
  border-bottom: 1px solid rgba(255,255,255,.03);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: .9rem 1.5rem .75rem;
  display: flex; align-items: center;
  justify-content: space-between; gap: 1.5rem;
}

/* Brand / Logo */
.brand { display: flex; align-items: center; gap: .4rem; }

.brand-logo-wrap {
  display: flex; align-items: center; justify-content: center;
  width: 72px; height: 72px; flex-shrink: 0;
}
.brand-logo { width: 100%; height: auto; }

.custom-logo-link { display: flex; align-items: center; }
.custom-logo { width: 72px; height: 72px; object-fit: contain; }

.brand-text { display: flex; flex-direction: column; gap: .1rem; }
.brand-title {
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 700; letter-spacing: .04em;
  font-size: 1.1rem;
}
.brand-sub {
  font-size: .72rem; color: var(--muted);
  letter-spacing: .08em; text-transform: uppercase;
}

/* Nav */
.site-nav { display: flex; align-items: center; gap: 1.25rem; font-size: .9rem; }

.site-nav a {
  padding: .4rem .2rem; color: var(--muted);
  position: relative; transition: color .18s ease;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -.1rem;
  width: 0; height: 2px; border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-soft));
  transition: width .2s ease;
}
.site-nav a:hover { color: var(--text); }
.site-nav a:hover::after { width: 100%; }

.nav-link--primary {
  padding: .45rem .9rem !important;
  border-radius: var(--radius-pill) !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  background: radial-gradient(circle at 0 0, rgba(255,255,255,.06), transparent 55%);
  color: var(--text) !important; font-size: .85rem;
  display: inline-flex !important; align-items: center; gap: .4rem;
}
.nav-link--primary:hover {
  border-color: rgba(255,255,255,.18) !important;
  background: radial-gradient(circle at 0 0, rgba(255,255,255,.12), transparent 60%);
}
.nav-link--primary::after { display: none !important; }

/* WordPress nav menu reset */
#site-navigation ul { display: flex; align-items: center; gap: 1.25rem; }
#site-navigation ul li { position: relative; }
#site-navigation ul li a { display: block; padding: .4rem .2rem; color: var(--muted); transition: color .18s ease; }
#site-navigation ul li a:hover { color: var(--text); }
#site-navigation .current-menu-item > a { color: var(--text); }

/* ============================================================
   HERO — LATEST POST
   ============================================================ */
.hero {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  grid-template-rows: auto auto;
  grid-template-areas:
    "copy visual"
    "footer visual";
  gap: 2rem 2.5rem;
  align-items: start;
}

.hero-copy   { grid-area: copy; display: flex; flex-direction: column; gap: 1.2rem; }
.hero-visual { grid-area: visual; }
.hero-footer { grid-area: footer; display: flex; flex-direction: column; gap: 1rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .2rem .7rem .2rem .25rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,.08);
  background: radial-gradient(circle at 0 0, rgba(255,255,255,.08), transparent 60%);
  font-size: .78rem; color: var(--muted);
  text-transform: uppercase; letter-spacing: .12em;
  width: fit-content;
}
.eyebrow-dot {
  width: 9px; height: 9px; border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #ffe9c7, #ff4b4b 60%, #4a148c);
  box-shadow: 0 0 0 4px rgba(255,75,75,.25);
  flex-shrink: 0;
}

.hero-title {
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: clamp(2.2rem, 3vw + 1.2rem, 3rem);
  line-height: 1.1; letter-spacing: .01em;
}
.hero-title a { color: inherit; }
.hero-title a:hover span,
.hero-title:hover span {
  background: linear-gradient(120deg, #ffb347, #ff4b4b, #ff6bcb);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-title span {
  display: inline;
  background: linear-gradient(120deg, #ffb347, #ff4b4b, #ff6bcb);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.hero-excerpt {
  font-size: .98rem; color: var(--muted); max-width: 32rem; line-height: 1.7;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: .4rem; }

.hero-meta-bar {
  display: flex; flex-wrap: wrap; gap: 1.5rem;
  margin-top: .6rem; font-size: .78rem; color: var(--muted);
}
.hero-meta-item { display: flex; flex-direction: column; gap: .15rem; }
.hero-meta-label {
  text-transform: uppercase; letter-spacing: .16em;
  font-size: .7rem; opacity: .7;
}
.hero-meta-value { font-size: .86rem; color: var(--text); }

/* Hero Visual Card */
.hero-visual { position: relative; min-height: 260px; }

.hero-card {
  position: relative; border-radius: var(--radius-lg);
  background: radial-gradient(circle at 0 0, #1b1e2f, #05060a 55%);
  border: 1px solid rgba(255,255,255,.06);
  box-shadow: var(--shadow-soft);
  padding: 1.1rem; overflow: hidden;
  height: 100%; display: flex; flex-direction: column; gap: 1rem;
}

.hero-card-tag {
  position: absolute; top: 1rem; right: 1rem;
  padding: .25rem .7rem; border-radius: var(--radius-pill);
  font-size: .7rem; text-transform: uppercase; letter-spacing: .16em;
  background: rgba(5,6,10,.7); border: 1px solid rgba(255,255,255,.12);
  color: var(--muted); z-index: 2;
}

.hero-image-wrap {
  border-radius: var(--radius-md); overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  background: radial-gradient(circle at 50% 0, #ff6b6b, #05060a 55%);
  aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center;
}
.hero-image { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: normal; }
.hero-image-placeholder {
  width: 100%; height: 100%;
  background: radial-gradient(circle at 40% 30%, #1b1e2f, #05060a);
  display: flex; align-items: center; justify-content: center;
}
.hero-image-placeholder svg { opacity: .2; }

.hero-card-caption {
  display: flex; justify-content: space-between;
  align-items: center; gap: 1rem;
  font-size: .8rem; color: var(--muted);
}
.hero-card-caption strong { color: var(--text); font-weight: 500; display: block; }

.hero-pill {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .25rem .7rem; border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(5,6,10,.7);
  font-size: .72rem; text-transform: uppercase;
  letter-spacing: .16em; flex-shrink: 0;
}
.hero-pill-dot {
  width: 7px; height: 7px; border-radius: 999px;
  background: #ff4b4b; box-shadow: 0 0 0 3px rgba(255,75,75,.3);
}
.hero-pill-dot--live { background: #4caf50; box-shadow: 0 0 0 3px rgba(76,175,80,.35); }

.hero-orbit {
  position: absolute; inset: -40%; border-radius: 50%;
  border: 1px dashed rgba(255,255,255,.06); opacity: .7; pointer-events: none;
}
.hero-orbit::before, .hero-orbit::after {
  content: ""; position: absolute;
  width: 9px; height: 9px; border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #ffe9c7, #ff4b4b 60%, #4a148c);
  box-shadow: 0 0 0 4px rgba(255,75,75,.25);
}
.hero-orbit::before { top: 18%; left: 12%; }
.hero-orbit::after  { bottom: 12%; right: 18%; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  border-radius: var(--radius-pill);
  padding: .7rem 1.3rem; font-size: .9rem;
  border: 1px solid transparent;
  display: inline-flex; align-items: center; gap: .45rem;
  cursor: pointer; background: none; color: inherit;
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-weight: 500;
  transition: filter .18s ease, border-color .18s ease, color .18s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  color: #05060a; font-weight: 700;
  box-shadow: 0 14px 30px rgba(255,75,75,.45);
}
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost {
  border-color: rgba(255,255,255,.16); color: var(--muted);
  background: radial-gradient(circle at 0 0, rgba(255,255,255,.06), transparent 60%);
}
.btn-ghost:hover { border-color: rgba(255,255,255,.26); color: var(--text); }

/* ============================================================
   SECTION CHROME
   ============================================================ */
.section { margin-top: 3.5rem; }

.section-header { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.8rem; }
.section-kicker {
  font-size: .78rem; text-transform: uppercase;
  letter-spacing: .16em; color: var(--muted);
}
.section-title {
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.5rem; letter-spacing: .02em;
}
.section-lede { font-size: .95rem; color: var(--muted); max-width: 38rem; }

/* ============================================================
   CATEGORY COLUMNS (Publishing / Production / Promotion)
   ============================================================ */
.cat-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1.2rem;
  align-items: start;
}

.cat-column { display: flex; flex-direction: column; gap: 1rem; }

.cat-column-header {
  display: flex; align-items: center; gap: .75rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.cat-icon {
  width: 32px; height: 32px; border-radius: 12px; flex-shrink: 0;
  background: radial-gradient(circle at 30% 20%, #ffb347, #ff4b4b 60%, #4a148c);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; box-shadow: 0 8px 20px rgba(0,0,0,.6);
}
.cat-name {
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.05rem; font-weight: 700; letter-spacing: .04em;
}
.cat-count {
  margin-left: auto; font-size: .72rem; color: var(--muted);
  padding: .15rem .5rem; border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
}

/* Post cards within columns */
.cat-post-card {
  border-radius: var(--radius-md);
  background: radial-gradient(circle at 0 0, #181a26, #05060a 60%);
  border: 1px solid rgba(255,255,255,.06);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,.5);
  transition: border-color .2s ease, transform .2s ease;
  display: flex; flex-direction: column;
}
.cat-post-card:hover {
  border-color: rgba(255,75,75,.25);
  transform: translateY(-2px);
}
.cat-post-card:hover .cat-post-title { color: var(--accent-soft); }

.cat-post-thumb {
  aspect-ratio: 16/9; overflow: hidden;
  background: radial-gradient(circle at 50% 0, #1b1e2f, #05060a);
}
.cat-post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.cat-post-card:hover .cat-post-thumb img { transform: scale(1.04); }

.cat-post-thumb-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #1b1e2f 0%, #05060a 100%);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.1); font-size: 2rem;
}

.cat-post-body { padding: .85rem 1rem 1rem; display: flex; flex-direction: column; gap: .45rem; flex: 1; }

.cat-post-meta {
  font-size: .7rem; color: var(--muted); text-transform: uppercase;
  letter-spacing: .12em; display: flex; align-items: center; gap: .5rem;
}
.cat-post-meta-sep { opacity: .4; }

.cat-post-title {
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: .95rem; font-weight: 700; line-height: 1.3;
  letter-spacing: .01em; color: var(--text);
  transition: color .18s ease;
}

.cat-post-excerpt { font-size: .82rem; color: var(--muted); line-height: 1.6; }

.cat-post-read-more {
  margin-top: auto; padding-top: .5rem;
  font-size: .78rem; color: var(--accent-soft);
  display: flex; align-items: center; gap: .3rem;
  transition: gap .15s ease;
}
.cat-post-read-more:hover { gap: .55rem; }

.cat-empty {
  font-size: .85rem; color: var(--muted);
  padding: 1.2rem 1rem;
  border-radius: var(--radius-md);
  border: 1px dashed rgba(255,255,255,.08);
  text-align: center;
}

.cat-view-all {
  margin-top: .25rem; font-size: .78rem; color: var(--muted);
  display: flex; align-items: center; gap: .4rem; width: fit-content;
  transition: color .18s ease;
}
.cat-view-all:hover { color: var(--text); }

/* ============================================================
   CTA STRIP
   ============================================================ */
.cta {
  margin-top: 3.5rem; border-radius: var(--radius-lg);
  background: radial-gradient(circle at 0 0, #1b1e2f, #05060a 60%);
  border: 1px solid rgba(255,255,255,.08);
  padding: 1.6rem 1.5rem 1.7rem;
  display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,.9fr);
  gap: 1.8rem; align-items: center;
  box-shadow: var(--shadow-soft);
}
.cta-title {
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.5rem; margin-bottom: .4rem;
}
.cta-body { font-size: .95rem; color: var(--muted); max-width: 30rem; }
.cta-actions { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: .9rem; }
.cta-logo-wrap { justify-self: flex-end; display: flex; align-items: center; justify-content: flex-end; }
.cta-logo {
  width: 80px; height: 80px; border-radius: 50%;
  background: radial-gradient(circle at 30% 20%, #ffb347, #ff4b4b 55%, #7b1fa2);
  box-shadow: 0 18px 40px rgba(0,0,0,.8);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.cta-logo img { width: 100%; height: 100%; object-fit: cover; }
.cta-logo-inner {
  width: 70%; height: 70%; border-radius: 50%;
  background: radial-gradient(circle at 30% 20%, #ffe9c7, #ff6b6b 55%, #4a148c);
}

/* ============================================================
   SINGLE POST / PAGE
   ============================================================ */
.entry-container {
  max-width: 780px; margin: 2.5rem auto; padding: 0 1.5rem 4rem;
}
.entry-header { margin-bottom: 2rem; }
.entry-category-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .72rem; text-transform: uppercase; letter-spacing: .14em;
  color: var(--accent-soft); margin-bottom: .8rem;
}
.entry-title {
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: clamp(1.9rem, 3vw + 1rem, 2.8rem);
  line-height: 1.12; letter-spacing: .01em; margin-bottom: .9rem;
}
.entry-meta {
  font-size: .82rem; color: var(--muted);
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center;
}
.entry-meta a { color: var(--muted); transition: color .15s; }
.entry-meta a:hover { color: var(--text); }
.entry-featured-image {
  border-radius: var(--radius-lg); overflow: hidden;
  margin-bottom: 2rem;
  border: 1px solid rgba(255,255,255,.07);
}
.entry-featured-image img { width: 100%; height: auto; }

.entry-content {
  font-size: 1rem; line-height: 1.8; color: #d5d7e0;
}
.entry-content h2, .entry-content h3, .entry-content h4 {
  font-family: var(--font-sans);
  color: var(--text); margin-top: 2rem; margin-bottom: .75rem;
  letter-spacing: .02em;
}
.entry-content h2 { font-size: 1.5rem; }
.entry-content h3 { font-size: 1.2rem; }
.entry-content p { margin-bottom: 1.2rem; }
.entry-content a { color: var(--accent-soft); text-decoration: underline; text-underline-offset: 3px; }
.entry-content a:hover { color: var(--text); }
.entry-content img { border-radius: var(--radius-md); margin: 1.5rem auto; }
.entry-content ul, .entry-content ol { padding-left: 1.4rem; margin-bottom: 1.2rem; }
.entry-content li { margin-bottom: .4rem; }
.entry-content blockquote {
  border-left: 3px solid var(--accent); padding: .75rem 1.25rem;
  margin: 1.5rem 0; background: rgba(255,75,75,.06);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic; color: var(--muted);
}

/* ============================================================
   PM CALLOUT BLOCK  [pm_callout]
   Editorial pull-quote / callout with gold left-border treatment.
   Uses self-hosted Lora (display serif) + Poppins (mono accent).
   ============================================================ */
.pm-callout {
  position: relative;
  margin: 2.5em 0;
  padding: 2.2em 2.5em 2.2em 3.2em;
  background: var(--bg-alt);
  color: var(--text);
  font-family: var(--font-display);
  border-left: 4px solid var(--gold);
  box-shadow: 6px 6px 0 rgba(200,168,90,.18);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.pm-callout::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 5em;
  color: var(--gold);
  position: absolute;
  top: -.1em;
  left: .15em;
  line-height: 1;
  opacity: .8;
  pointer-events: none;
}
.pm-callout p {
  margin: 0;
  font-size: 1.15em;
  line-height: 1.75;
  font-style: italic;
  font-weight: 400;
  letter-spacing: .01em;
  color: #f0ebe0;
}
/* The [highlight] phrase — rendered in gold Poppins */
.pm-callout .pm-callout-highlight {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: .88em;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: .02em;
}
/* Mobile: tighten padding */
@media (max-width: 600px) {
  .pm-callout {
    padding: 1.6em 1.4em 1.6em 2.4em;
  }
}
.entry-content code {
  background: #1b1e2f; padding: .1rem .4rem;
  border-radius: 5px; font-size: .88em;
}
.entry-content pre {
  background: #0b0d14; border-radius: var(--radius-md);
  padding: 1.2rem; overflow-x: auto; margin-bottom: 1.2rem;
  border: 1px solid rgba(255,255,255,.07);
}

/* Post navigation */
.post-navigation {
  margin-top: 3rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.07);
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
}
.nav-previous, .nav-next { display: flex; flex-direction: column; gap: .3rem; }
.nav-next { text-align: right; }
.nav-label { font-size: .7rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.nav-post-title { font-size: .9rem; color: var(--text); transition: color .15s; }
.nav-post-title:hover { color: var(--accent-soft); }

/* ============================================================
   ARCHIVE / CATEGORY PAGE
   ============================================================ */
.archive-header {
  padding: 2.5rem 0 2rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
  margin-bottom: 2.5rem;
}
.archive-kicker {
  font-size: .75rem; text-transform: uppercase;
  letter-spacing: .18em; color: var(--muted); margin-bottom: .4rem;
}
.archive-title {
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: clamp(1.8rem, 3vw + 1rem, 2.5rem);
  letter-spacing: .02em;
}
.archive-title span {
  background: linear-gradient(120deg, #ffb347, #ff4b4b, #ff6bcb);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.archive-description { font-size: .95rem; color: var(--muted); margin-top: .6rem; max-width: 36rem; }

.archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 1.8rem;
}
.archive-card {
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at 0 0, #181a26, #05060a 60%);
  border: 1px solid rgba(255,255,255,.06);
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,.55);
  transition: border-color .2s ease, transform .2s ease;
  display: flex; flex-direction: column;
}
.archive-card:hover {
  border-color: rgba(255,75,75,.22);
  transform: translateY(-3px);
}
.archive-card-thumb { aspect-ratio: 16/9; overflow: hidden; }
.archive-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.archive-card:hover .archive-card-thumb img { transform: scale(1.04); }
.archive-card-thumb-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #1b1e2f, #05060a);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.08); font-size: 3rem;
}
.archive-card-body { padding: 1.1rem 1.2rem 1.3rem; flex: 1; display: flex; flex-direction: column; gap: .55rem; }
.archive-card-meta { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.archive-card-title {
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 1.05rem;
  font-weight: 700; line-height: 1.3; color: var(--text);
  transition: color .18s ease;
}
.archive-card:hover .archive-card-title { color: var(--accent-soft); }
.archive-card-title a { color: inherit; }
.archive-card-excerpt { font-size: .85rem; color: var(--muted); line-height: 1.65; }
.archive-card-footer { margin-top: auto; padding-top: .5rem; }
.archive-card-read-more {
  font-size: .8rem; color: var(--accent-soft);
  display: flex; align-items: center; gap: .35rem;
  transition: gap .15s ease;
}
.archive-card-read-more:hover { gap: .6rem; }

/* Pagination */
.pagination {
  margin-top: 3rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.07);
  display: flex; align-items: center; justify-content: center; gap: .5rem;
}
.pagination .page-numbers {
  width: 38px; height: 38px; border-radius: var(--radius-pill);
  display: flex; align-items: center; justify-content: center;
  font-size: .88rem; border: 1px solid rgba(255,255,255,.08);
  color: var(--muted); transition: all .18s ease;
}
.pagination .page-numbers:hover,
.pagination .page-numbers.current {
  background: var(--accent); color: #05060a;
  border-color: var(--accent); font-weight: 700;
}
.pagination .prev, .pagination .next { width: auto; padding: 0 .8rem; }

/* ============================================================
   FOOTER
   ============================================================ */
footer.site-footer {
  border-top: 1px solid rgba(255,255,255,.06);
  margin-top: 3rem; padding: 1.4rem 1.5rem 2rem;
  background: radial-gradient(circle at top, #101322 0, #05060a 55%);
}
.footer-inner {
  max-width: var(--max-width); margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 1rem;
  font-size: .82rem; color: var(--muted);
}
.footer-brand { display: flex; flex-direction: column; gap: .15rem; }
.footer-brand-title {
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: .95rem; letter-spacing: .1em; color: var(--text);
}
.footer-nav { display: flex; align-items: center; gap: .9rem; }
.footer-link { color: var(--muted); transition: color .18s ease; }
.footer-link:hover { color: var(--text); }
.footer-credit { opacity: .6; }

/* Widgets in footer */
.widget-title {
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: .9rem;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--text); margin-bottom: .75rem;
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar-widget {
  margin-bottom: 2rem; padding: 1.2rem;
  border-radius: var(--radius-md);
  background: radial-gradient(circle at 0 0, #181a26, #05060a 60%);
  border: 1px solid rgba(255,255,255,.06);
}

/* ============================================================
   SEARCH FORM
   ============================================================ */
.search-form { display: flex; gap: .5rem; }
.search-field {
  flex: 1; background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-pill);
  padding: .5rem 1rem; color: var(--text);
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: .88rem;
  outline: none; transition: border-color .18s ease;
}
.search-field:focus { border-color: rgba(255,75,75,.4); }
.search-submit {
  background: var(--accent); color: #05060a;
  border: none; border-radius: var(--radius-pill);
  padding: .5rem 1rem; font-size: .82rem; font-weight: 700;
  cursor: pointer; font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  transition: filter .18s ease;
}
.search-submit:hover { filter: brightness(1.1); }

/* ============================================================
   COMMENTS
   ============================================================ */
.comments-area { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.07); }
.comments-title {
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 1.2rem; margin-bottom: 1.5rem;
}
.comment-list li { list-style: none; margin-bottom: 1.5rem; }
.comment-body {
  padding: 1rem 1.2rem; border-radius: var(--radius-md);
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06);
}
.comment-meta { font-size: .8rem; color: var(--muted); margin-bottom: .5rem; }
.comment-content { font-size: .9rem; color: #d5d7e0; }

/* Comment form */
.comment-form input,
.comment-form textarea {
  width: 100%; background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-md);
  padding: .65rem .9rem; color: var(--text);
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: .9rem;
  margin-bottom: .8rem; outline: none;
  transition: border-color .18s ease;
}
.comment-form input:focus,
.comment-form textarea:focus { border-color: rgba(255,75,75,.4); }
.comment-form textarea { min-height: 120px; resize: vertical; }
.comment-form .submit {
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  color: #05060a; border: none; border-radius: var(--radius-pill);
  padding: .7rem 1.5rem; font-weight: 700;
  cursor: pointer; font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: .9rem;
  transition: filter .18s ease;
}
.comment-form .submit:hover { filter: brightness(1.08); }

/* ============================================================
   HAMBURGER BUTTON — hidden on desktop, shown at ≤768px
   ============================================================ */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  padding: .4rem .65rem;
  cursor: pointer;
  color: var(--text);
  font-size: 1.25rem;
  line-height: 1;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  -webkit-appearance: none;
  appearance: none;
  user-select: none;
  -webkit-user-select: none;
}

/* ============================================================
   WP CORE HELPERS
   ============================================================ */
.alignleft  { float: left; margin-right: 1.5rem; margin-bottom: 1rem; }
.alignright { float: right; margin-left: 1.5rem; margin-bottom: 1rem; }
.aligncenter { margin: 0 auto 1rem; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: .8rem; color: var(--muted); margin-top: .35rem; text-align: center; }
.screen-reader-text {
  clip: rect(1px,1px,1px,1px); word-wrap: normal;
  position: absolute; height: 1px; width: 1px; overflow: hidden;
}
.screen-reader-text:focus {
  clip: auto; height: auto; width: auto; display: block; z-index: 100000;
  background: #fff; color: #000; padding: .5rem 1rem; top: .5rem; left: .5rem;
}

/* ============================================================
   RESPONSIVE — single source of truth, no duplicate breakpoints
   ============================================================ */

@media (max-width: 1100px) {
  .cat-columns { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.2rem; }
}

/* Tablet: hero stacks to single column, image card below copy */
@media (max-width: 900px) {
  /* Stack: copy → visual → footer (DOM order, no reordering needed) */
  .hero {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "visual"
      "footer";
    gap: 1.25rem;
  }
  .hero-visual { min-height: auto; }
  .cta { grid-template-columns: 1fr; }
}

/* Hamburger breakpoint — header row, nav collapse, hero adjustments */
@media (max-width: 768px) {
  /* Header: logo + hamburger on ONE row, nav wraps to second row */
  .header-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start; /* override desktop space-between */
    padding: .75rem 1rem;
    gap: 0;
  }
  .brand       { flex: 1; min-width: 0; order: 1; }
  .nav-toggle  { display: flex; order: 2; margin-left: auto; }
  /* Nav sits on its own row — flex-basis:100% forces the line break */
  #site-navigation { order: 3; width: 100%; flex-basis: 100%; }

  /* Nav menu: hidden by default, revealed with .nav-open class via JS */
  #site-navigation ul {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0;
    background: rgba(11,13,20,.97);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.08);
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    padding: 0 .6rem;
    margin-top: 0;
    transition: max-height .28s ease, opacity .2s ease,
                visibility 0s linear .28s, padding .2s ease, margin .2s ease;
  }
  #site-navigation ul.nav-open {
    max-height: 600px;
    visibility: visible;
    opacity: 1;
    padding: .6rem;
    margin-top: .4rem;
    margin-bottom: .5rem;
    transition: max-height .32s ease, opacity .22s ease,
                visibility 0s linear 0s, padding .2s ease, margin .2s ease;
  }
  #site-navigation ul li a {
    display: block;
    padding: .65rem .9rem;
    border-radius: 8px;
    font-size: .9rem;
    color: var(--muted);
  }
  #site-navigation ul li a:hover,
  #site-navigation ul .current-menu-item > a {
    background: rgba(255,255,255,.06);
    color: var(--text);
  }

  /* Hero */
  .hero-title   { font-size: clamp(1.6rem, 5vw, 2.2rem); }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-footer  { gap: .75rem; }
  .hero-meta-bar { gap: 1rem; }
  .btn { display: flex; width: 100%; justify-content: center; }
  .hero-card { padding: .9rem; }

  /* Sections */
  .section { margin-top: 2.5rem; }
  .section-title { font-size: 1.2rem; }
  .cat-post-body { padding: .75rem .85rem .9rem; }
  .cat-post-title { font-size: .9rem; }

  /* CTA */
  .cta { padding: 1.2rem 1rem; gap: 1.2rem; }
  .cta-title { font-size: 1.2rem; }
  .cta-actions { flex-direction: column; }
  .cta-logo-wrap { justify-content: center; }

  /* Archive */
  .archive-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .archive-header { padding: 1.5rem 0 1.2rem; }
  .archive-title { font-size: 1.8rem; }

  /* Single post */
  .entry-container { padding: 0 1rem 3rem; }
  .entry-title { font-size: 1.8rem; }
  .post-navigation { grid-template-columns: 1fr; gap: 1rem; }
  .nav-next { text-align: left; }

  /* Footer */
  .footer-inner { flex-direction: column; text-align: center; gap: 1rem; }
  .footer-nav { justify-content: center; flex-wrap: wrap; }
}

/* Mobile phone */
@media (max-width: 540px) {
  .shell { padding-inline: 1rem; }
  .header-inner { padding-inline: 1rem; }
  .cat-columns { grid-template-columns: 1fr; }

  .brand-logo-wrap { width: 44px; height: 44px; }
  .brand-title { font-size: .9rem; }
  .brand-sub { display: none; }
  .nav-link--primary { display: none !important; }

  .hero { margin-top: .75rem; }
  .hero-title { font-size: clamp(1.35rem, 7vw, 1.8rem); }
  .eyebrow { font-size: .7rem; }
  .hero-meta-bar { flex-direction: column; gap: .5rem; }

  .cat-post-card { border-radius: 10px; }
  .hero-card { border-radius: 12px; }

  .archive-grid { gap: 1rem; }
  .archive-card-body { padding: .9rem 1rem 1rem; }
  .archive-card-title { font-size: .95rem; }

  .cta { border-radius: 12px; }
  .cta-logo-wrap { display: none; }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-nav { justify-content: center; flex-wrap: wrap; }
  footer.site-footer { padding: 1.2rem 1rem 1.5rem; }
}

/* ── IMAGE CAPTIONS ─────────────────────────────────────── */
.wp-caption,
figure.wp-block-image {
  max-width: 100%;
  margin: 1.5rem auto;
}

.wp-caption-text,
figcaption,
.wp-block-image figcaption {
  font-size: .8rem;
  color: var(--muted);
  text-align: center;
  margin-top: .5rem;
  font-style: italic;
  line-height: 1.5;
}

.wp-caption img {
  display: block;
  width: 100%;
  border-radius: var(--radius-md);
}

/* ============================================================
   CTA — TWO-COLUMN LAYOUT
   ============================================================ */
.cta {
  grid-template-columns: 1fr 1fr;
  align-items: start; /* top-align so headings sit on same baseline */
  gap: 2.5rem;
}

.cta-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.cta-col--newsletter {
  border-left: 1px solid rgba(255, 255, 255, 0.07);
  padding-left: 2.5rem;
}

/* Buttons side by side on one row */
.cta-actions {
  flex-wrap: nowrap;
}

/* ============================================================
   BUTTONDOWN SUBSCRIBE FORM — typography matches theme
   ============================================================ */

/* "Newsletter" — identical to .cta-title */
.pmm-subscribe-eyebrow {
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .4rem;
  line-height: 1.2;
}

/* Body text — identical to .cta-body */
.pmm-subscribe-sub {
  font-size: .95rem;
  color: var(--muted);
  max-width: 30rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.pmm-subscribe-row {
  display: flex;
  gap: 0.6rem;
  flex-wrap: nowrap;
  align-items: center;
}

.pmm-subscribe-input {
  flex: 1 1 auto;
  min-width: 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
  padding: .7rem 1.3rem;
  font-family: var(--font-sans);
  font-size: .9rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.15s;
}

.pmm-subscribe-input::placeholder {
  color: rgba(255, 255, 255, 0.2);
}

.pmm-subscribe-input:focus {
  border-color: var(--gold);
}

/* Subscribe button — identical to .btn.btn-primary */
.pmm-subscribe-submit {
  border-radius: var(--radius-pill);
  padding: .7rem 1.3rem;
  font-size: .9rem;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  color: #05060a;
  box-shadow: 0 14px 30px rgba(255, 75, 75, 0.45);
  transition: filter .18s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.pmm-subscribe-submit:hover {
  filter: brightness(1.08);
}

.pmm-subscribe-powered {
  margin-top: 0.6rem;
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.15);
}

.pmm-subscribe-powered a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s;
}

.pmm-subscribe-powered a:hover {
  color: rgba(255, 255, 255, 0.4);
}

/* Mobile: stack cols */
@media (max-width: 768px) {
  .cta {
    grid-template-columns: 1fr;
  }
  .cta-col--newsletter {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding-top: 1.5rem;
  }
  .cta-actions {
    flex-wrap: wrap;
  }
  .pmm-subscribe-row {
    flex-wrap: wrap;
  }
}


/* ============================================================
   NEWSLETTER POPUP
   ============================================================ */
#pmm-newsletter-popup {
  position: fixed;
  inset: 0;
  z-index: 10001;
}

#pmm-popup-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
}

#pmm-popup-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at 0 0, #1b1e2f, #05060a 60%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 2.5rem 2rem 1.8rem;
  max-width: 420px;
  width: calc(100% - 2rem);
  text-align: center;
}

#pmm-popup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.1rem;
  cursor: pointer;
  line-height: 1;
  padding: .25rem;
  border-radius: 4px;
  transition: color .15s;
}
#pmm-popup-close:hover { color: var(--text); }

.pmm-popup-icon {
  font-size: 2rem;
  margin-bottom: .75rem;
  background: linear-gradient(120deg, #ffb347, #ff4b4b, #ff6bcb);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

#pmm-popup-box h3 {
  font-family: var(--font-sans);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .5rem;
}

#pmm-popup-box p {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1.4rem;
}

.pmm-popup-form {
  display: flex;
  flex-direction: column;
  gap: .65rem;
}

.pmm-popup-form input[type="email"] {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
  padding: .7rem 1.2rem;
  font-family: var(--font-sans);
  font-size: .9rem;
  color: var(--text);
  outline: none;
  transition: border-color .15s;
  text-align: center;
}
.pmm-popup-form input[type="email"]::placeholder { color: rgba(255, 255, 255, 0.2); }
.pmm-popup-form input[type="email"]:focus { border-color: var(--gold); }

.pmm-popup-form input[type="submit"] {
  width: 100%;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  color: #05060a;
  border: none;
  border-radius: var(--radius-pill);
  padding: .75rem 1.5rem;
  font-family: var(--font-sans);
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(255, 75, 75, 0.4);
  transition: filter .18s ease;
}
.pmm-popup-form input[type="submit"]:hover { filter: brightness(1.08); }

#pmm-popup-never {
  display: block;
  margin: 1.1rem auto 0;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.2);
  font-size: .78rem;
  font-family: var(--font-sans);
  cursor: pointer;
  text-decoration: underline;
  transition: color .15s;
}
#pmm-popup-never:hover { color: var(--muted); }


/* ============================================================
   COOKIE CONSENT BANNER
   ============================================================ */
#pmm-cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  width: calc(100% - 3rem);
  max-width: 720px;
  background: radial-gradient(circle at 0 0, #1b1e2f, #0b0d14 70%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.6rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

#pmm-cookie-inner {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  flex-wrap: wrap;
}

#pmm-cookie-text {
  flex: 1;
  min-width: 200px;
}

#pmm-cookie-text strong {
  display: block;
  font-family: var(--font-sans);
  font-size: .95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .3rem;
}

#pmm-cookie-text p {
  font-size: .82rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

#pmm-cookie-learn {
  display: inline-block;
  margin-top: .4rem;
  font-size: .78rem;
  color: var(--accent-soft);
  text-decoration: none;
  transition: color .15s;
}
#pmm-cookie-learn:hover { color: var(--text); }

#pmm-cookie-actions {
  display: flex;
  gap: .75rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}

#pmm-cookie-reject,
#pmm-cookie-accept {
  font-family: var(--font-sans);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
  padding: .6rem 1.2rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all .15s ease;
  white-space: nowrap;
}

#pmm-cookie-reject {
  background: transparent;
  color: var(--muted);
}
#pmm-cookie-reject:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--text);
}

#pmm-cookie-accept {
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  color: #05060a;
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(255, 75, 75, 0.35);
}
#pmm-cookie-accept:hover { filter: brightness(1.08); }

/* Persistent re-open tab */
#pmm-cookie-reopen {
  position: fixed;
  bottom: 1.2rem;
  left: 1.2rem;
  z-index: 9990;
  background: rgba(11, 13, 20, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: .75rem;
  letter-spacing: .04em;
  padding: .45rem .9rem;
  cursor: pointer;
  transition: all .15s ease;
  backdrop-filter: blur(8px);
}
#pmm-cookie-reopen:hover {
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--text);
}

/* Mobile adjustments */
@media (max-width: 600px) {
  #pmm-cookie-banner {
    bottom: 0;
    left: 0;
    right: 0;
    transform: none;
    width: 100%;
    max-width: 100%;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    padding: 1.2rem 1rem 1.4rem;
  }

  #pmm-cookie-inner { gap: 1rem; }

  #pmm-cookie-actions {
    width: 100%;
  }

  #pmm-cookie-reject,
  #pmm-cookie-accept {
    flex: 1;
    text-align: center;
  }

  #pmm-popup-box {
    padding: 2rem 1.3rem 1.5rem;
  }

  #pmm-cookie-reopen {
    bottom: .75rem;
    left: .75rem;
  }
}
