/*
Theme Name: Passion Varadero
Theme URI: https://passionvaradero.com
Author: Renaud Canuel
Author URI: https://passionvaradero.com
Description: Thème custom pour Passion Varadero — layout portail avec sidebar sur toutes les pages. Design optimisé Cuba & Varadero.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: passion-varadero
Tags: news, travel, sidebar, custom-menu, featured-images, translation-ready
*/

/* =====================================================================
   DESIGN TOKENS
   ===================================================================== */
:root {
  --pv-primary:    #0066bf;
  --pv-primary-dk: #0052a3;
  --pv-header-bg:  #0d1b2a;
  --pv-header-nav: #142436;
  --pv-bg:         #f2f2f3;
  --pv-surface:    #ffffff;
  --pv-border:     #e5e7eb;
  --pv-fg:         #1a1a1a;
  --pv-fg-dim:     #4b5563;
  --pv-fg-muted:   #6b7280;
  --pv-radius:     8px;
  --pv-shadow-sm:  0 1px 4px rgba(0,0,0,.06);
  --pv-shadow:     0 4px 16px rgba(0,0,0,.12);
  --pv-max:        1190px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  background: var(--pv-bg);
  color: var(--pv-fg);
}

a { color: var(--pv-primary); text-decoration: none; }
a:hover { color: var(--pv-primary-dk); }

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

h1,h2,h3,h4,h5,h6 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--pv-fg);
}

ul { list-style: none; }

/* =====================================================================
   ACCESSIBILITY
   ===================================================================== */
.skip-link {
  position: absolute; top: -48px; left: 0;
  background: #000; color: #fff;
  padding: .6em 1em; z-index: 9999;
  border-radius: 0 0 6px 0; font-weight: 700;
  transition: top .15s;
}
.skip-link:focus { top: 0; outline: 3px solid #fbbf24; }

/* =====================================================================
   HEADER
   ===================================================================== */
.pv-header {
  background: var(--pv-header-bg);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
}

.pv-header-inner {
  max-width: var(--pv-max);
  margin: 0 auto;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  gap: 16px;
}

/* Logo / Site Title */
.pv-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.pv-logo img {
  height: 36px; width: auto;
}
.pv-logo .pv-site-name {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.3px;
  line-height: 1.1;
}
.pv-logo .pv-site-name span {
  color: #fbbf24;
}
.pv-logo .pv-tagline {
  font-size: 10px;
  color: rgba(255,255,255,.6);
  font-weight: 400;
}

/* Navigation */
.pv-nav { flex: 1; }

.pv-nav ul {
  display: flex;
  align-items: center;
  gap: 2px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.pv-nav ul li { position: relative; }

.pv-nav ul li a {
  display: block;
  color: rgba(255,255,255,.85);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 5px;
  transition: background .15s, color .15s;
  white-space: nowrap;
}

.pv-nav ul li a:hover,
.pv-nav ul li.current-menu-item > a,
.pv-nav ul li.current-page-ancestor > a {
  background: rgba(255,255,255,.12);
  color: #fff;
}

/* Hamburger button (mobile) */
.pv-menu-toggle {
  display: none;
  background: none; border: none;
  color: #fff; cursor: pointer;
  padding: 6px; font-size: 22px;
  flex-shrink: 0;
}

/* Mobile nav */
@media (max-width: 768px) {
  .pv-menu-toggle { display: flex; align-items: center; }
  .pv-nav {
    display: none;
    position: absolute; top: 56px; left: 0; right: 0;
    background: var(--pv-header-nav);
    padding: 8px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,.3);
  }
  .pv-nav.is-open { display: block; }
  .pv-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .pv-nav ul li a {
    padding: 10px 16px;
    border-radius: 0;
    border-bottom: 1px solid rgba(255,255,255,.06);
  }
}

/* =====================================================================
   MAIN WRAPPER
   ===================================================================== */
.pv-wrap {
  max-width: var(--pv-max);
  margin: 0 auto;
  padding: 20px 12px;
}

/* =====================================================================
   PORTAL LAYOUT — .msn .g-main .side
   (utilisé par le plugin PV Portal Pages)
   ===================================================================== */
.msn {
  max-width: var(--pv-max);
  margin: 0 auto;
  padding: 0 12px;
}

.g-main {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 24px;
  margin-top: 0;
  align-items: start;
}

/* Sidebar sticky */
.side {
  position: sticky;
  top: 76px; /* header height + 20px */
  align-self: start;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #d1d5db transparent;
}
.side::-webkit-scrollbar { width: 4px; }
.side::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 2px; }

/* Sidebar Widgets */
.wd {
  background: var(--pv-surface);
  border: 1px solid var(--pv-border);
  border-radius: var(--pv-radius);
  padding: 14px 16px;
  margin-bottom: 14px;
}
.wd h3 {
  font-size: 13px;
  font-weight: 700;
  color: var(--pv-fg);
  margin: 0 0 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--pv-border);
}

/* =====================================================================
   TICKER
   ===================================================================== */
.tk {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #1a1a1a;
  color: #fff;
  padding: 7px 12px;
  border-radius: 6px;
  margin-bottom: 12px;
  font-size: 12px;
  overflow: hidden;
}
.tk b {
  white-space: nowrap;
  color: #fbbf24;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.tk-s { overflow: hidden; flex: 1; }
.tk-s span {
  display: inline-block;
  white-space: nowrap;
  animation: pv-ticker 30s linear infinite;
}
@keyframes pv-ticker {
  from { transform: translateX(100%); }
  to   { transform: translateX(-100%); }
}

/* =====================================================================
   SEARCH BAR
   ===================================================================== */
.sr {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}
.sr input[type="text"] {
  flex: 1;
  padding: 9px 12px;
  border: 1px solid var(--pv-border);
  border-radius: 6px;
  font-size: 13px;
  outline: none;
  background: var(--pv-surface);
  color: var(--pv-fg);
  transition: border-color .15s, box-shadow .15s;
}
.sr input[type="text"]:focus {
  border-color: var(--pv-primary);
  box-shadow: 0 0 0 3px rgba(0,102,191,.15);
}
.sr button {
  padding: 9px 16px;
  background: var(--pv-primary);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s;
  white-space: nowrap;
}
.sr button:hover { background: var(--pv-primary-dk); }

/* =====================================================================
   PILLS NAVIGATION
   ===================================================================== */
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 16px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  color: #374151;
  background: var(--pv-surface);
  border: 1px solid #d1d5db;
  border-radius: 20px;
  padding: 4px 12px;
  text-decoration: none;
  transition: background .15s, color .15s, border-color .15s;
  white-space: nowrap;
}
.pill:hover {
  background: var(--pv-primary);
  color: #fff;
  border-color: var(--pv-primary);
}

/* =====================================================================
   HERO CARD
   ===================================================================== */
.hero {
  position: relative;
  display: block;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  margin-bottom: 4px;
}
.hero img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.hero:hover img { transform: scale(1.02); }

.hero-t {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.82));
  color: #fff;
  padding: 48px 18px 18px;
}
.hero-t small {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  background: var(--pv-primary);
  padding: 2px 8px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 6px;
}
.hero-t h2 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px;
  line-height: 1.3;
}
.hero-t p {
  font-size: 13px;
  opacity: .85;
  margin: 0;
  color: #fff;
}

/* =====================================================================
   SECTION LABEL (.lbl)
   ===================================================================== */
.lbl {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 20px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--pv-border);
}
.lbl h2 {
  font-size: 15px;
  font-weight: 700;
  color: var(--pv-fg);
  margin: 0;
}
.lbl a {
  font-size: 12px;
  color: var(--pv-primary);
  font-weight: 600;
  white-space: nowrap;
}
.lbl a:hover { text-decoration: underline; }

/* =====================================================================
   3-COLUMN CARD GRID (.g3)
   ===================================================================== */
.g3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 6px;
}

/* ARTICLE CARD (.cd) */
.cd {
  display: flex;
  flex-direction: column;
  border-radius: var(--pv-radius);
  overflow: hidden;
  background: var(--pv-surface);
  border: 1px solid var(--pv-border);
  box-shadow: var(--pv-shadow-sm);
  text-decoration: none;
  color: inherit;
  transition: box-shadow .2s, transform .2s;
}
.cd:hover {
  box-shadow: var(--pv-shadow);
  transform: translateY(-2px);
}
.cd-i {
  position: relative;
  overflow: hidden;
}
.cd-i img {
  width: 100%;
  height: 148px;
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
}
.cd:hover .cd-i img { transform: scale(1.04); }
.cd-i small {
  position: absolute;
  top: 8px; left: 8px;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  padding: 2px 7px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: .4px;
  background: #64748b;
  backdrop-filter: blur(2px);
}

.cd-b {
  padding: 10px 12px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cd-b h3 {
  font-size: 13px;
  font-weight: 700;
  margin: 0;
  line-height: 1.35;
  color: var(--pv-fg);
}
.cd-b p {
  font-size: 11px;
  color: var(--pv-fg-muted);
  margin: 0;
  line-height: 1.4;
}

/* TAG COLORS */
.tag-r .cd-i small  { background: #dc2626; }
.tag-o .cd-i small  { background: #ea580c; }
.tag-c .cd-i small  { background: #0891b2; }
.tag-g .cd-i small  { background: #16a34a; }
.tag-b .cd-i small  { background: #2563eb; }
.tag-y .cd-i small  { background: #d97706; }
.tag-p .cd-i small  { background: #7c3aed; }
.tag-s .cd-i small  { background: #0d9488; }
.tag-n .cd-i small  { background: #64748b; }

/* =====================================================================
   CATEGORIES LIST (sidebar)
   ===================================================================== */
.cat-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  color: #374151;
  background: #f3f4f6;
  border-radius: 4px;
  padding: 3px 8px;
  text-decoration: none;
  transition: background .15s, color .15s;
}
.cat-pill:hover {
  background: var(--pv-primary);
  color: #fff;
}
.cat-pill span {
  background: #9ca3af;
  color: #fff;
  border-radius: 3px;
  padding: 0 4px;
  font-size: 10px;
  font-weight: 700;
}

/* =====================================================================
   PORTAL FOOTER (.ft)
   ===================================================================== */
.ft {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
  padding: 24px 0 0;
  border-top: 1px solid var(--pv-border);
}
.ft h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--pv-fg);
  margin: 0 0 10px;
}
.ft ul li {
  margin-bottom: 5px;
}
.ft ul li a {
  font-size: 12px;
  color: var(--pv-fg-dim);
}
.ft ul li a:hover { color: var(--pv-primary); }

/* =====================================================================
   ENTRANCE ANIMATION
   ===================================================================== */
[data-a] {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .4s ease, transform .4s ease;
}
[data-a].v {
  opacity: 1;
  transform: none;
}

/* =====================================================================
   SINGLE POST LAYOUT (theme-provided)
   ===================================================================== */
.pv-single-wrap {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 24px;
  align-items: start;
}

.pv-single-article {
  background: var(--pv-surface);
  border-radius: var(--pv-radius);
  padding: 28px 32px 32px;
  box-shadow: var(--pv-shadow-sm);
}

.pv-post-header { margin-bottom: 20px; }

.pv-post-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}
.pv-post-cats a {
  font-size: 11px;
  font-weight: 700;
  background: var(--pv-primary);
  color: #fff;
  padding: 2px 8px;
  border-radius: 3px;
  text-transform: uppercase;
}

.pv-post-title {
  font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 12px;
  color: var(--pv-fg);
}

.pv-post-meta {
  font-size: 12px;
  color: var(--pv-fg-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 16px;
}
.pv-post-meta a { color: var(--pv-fg-dim); }
.pv-post-meta a:hover { color: var(--pv-primary); }

.pv-featured-img {
  margin: 0 -32px 24px;
  overflow: hidden;
  border-radius: var(--pv-radius) var(--pv-radius) 0 0;
}
.pv-featured-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* Article content styles */
.pv-entry-content {
  font-size: 16px;
  line-height: 1.75;
  color: var(--pv-fg);
}
.pv-entry-content h2 {
  font-size: 1.4rem;
  margin: 2em 0 .6em;
  padding-bottom: .3em;
  border-bottom: 2px solid var(--pv-border);
  color: var(--pv-fg);
}
.pv-entry-content h3 {
  font-size: 1.15rem;
  margin: 1.5em 0 .5em;
  color: var(--pv-fg);
}
.pv-entry-content p { margin: 0 0 1.1em; }
.pv-entry-content ul,
.pv-entry-content ol {
  margin: .5em 0 1em 1.5em;
}
.pv-entry-content ul { list-style: disc; }
.pv-entry-content ol { list-style: decimal; }
.pv-entry-content li { margin-bottom: .4em; }
.pv-entry-content a { color: var(--pv-primary); }
.pv-entry-content a:hover { text-decoration: underline; }
.pv-entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin: .5em auto;
}
.pv-entry-content blockquote {
  border-left: 4px solid var(--pv-primary);
  margin: 1.5em 0;
  padding: .8em 1em .8em 1.2em;
  background: #eff6ff;
  border-radius: 0 6px 6px 0;
  font-style: italic;
  color: #1e40af;
}
.pv-entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1em 0;
  font-size: 14px;
}
.pv-entry-content th {
  background: var(--pv-primary);
  color: #fff;
  padding: 8px 12px;
  text-align: left;
  font-size: 13px;
}
.pv-entry-content td {
  padding: 7px 12px;
  border-bottom: 1px solid var(--pv-border);
}
.pv-entry-content tr:nth-child(even) td { background: #f9fafb; }

/* Post navigation */
.pv-post-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--pv-border);
}
.pv-post-nav a {
  font-size: 13px;
  font-weight: 600;
  color: var(--pv-primary);
  padding: 8px 14px;
  border: 1px solid var(--pv-border);
  border-radius: 6px;
  transition: background .15s;
}
.pv-post-nav a:hover { background: #eff6ff; }

/* =====================================================================
   CATEGORY / ARCHIVE PAGE (theme-provided)
   ===================================================================== */
.pv-archive-header {
  margin-bottom: 20px;
}
.pv-archive-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--pv-fg);
  margin: 0 0 6px;
}
.pv-archive-desc {
  font-size: 14px;
  color: var(--pv-fg-muted);
}

/* Pagination */
.pv-pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.pv-pagination a,
.pv-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--pv-border);
  color: var(--pv-fg-dim);
  transition: background .15s, color .15s;
}
.pv-pagination a:hover {
  background: var(--pv-primary);
  color: #fff;
  border-color: var(--pv-primary);
}
.pv-pagination span.current {
  background: var(--pv-primary);
  color: #fff;
  border-color: var(--pv-primary);
}

/* =====================================================================
   SITE FOOTER
   ===================================================================== */
.pv-site-footer {
  background: var(--pv-header-bg);
  color: rgba(255,255,255,.7);
  margin-top: 48px;
  padding: 32px 0 16px;
}
.pv-footer-inner {
  max-width: var(--pv-max);
  margin: 0 auto;
  padding: 0 12px;
}
.pv-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}
.pv-footer-brand .pv-site-name {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  display: block;
  margin-bottom: 8px;
}
.pv-footer-brand .pv-site-name span { color: #fbbf24; }
.pv-footer-brand p {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255,255,255,.6);
}
.pv-footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: rgba(255,255,255,.5);
  margin: 0 0 10px;
}
.pv-footer-col ul li { margin-bottom: 6px; }
.pv-footer-col ul li a {
  font-size: 13px;
  color: rgba(255,255,255,.7);
}
.pv-footer-col ul li a:hover { color: #fff; }
.pv-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 16px;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,.4);
}
.pv-footer-bottom a {
  color: rgba(255,255,255,.5);
}
.pv-footer-bottom a:hover { color: #fff; }

/* =====================================================================
   SEARCH PAGE
   ===================================================================== */
.pv-search-header { margin-bottom: 20px; }
.pv-search-header h1 {
  font-size: 1.4rem;
  font-weight: 700;
}
.pv-search-header h1 em {
  color: var(--pv-primary);
  font-style: normal;
}

.pv-no-results {
  background: var(--pv-surface);
  border-radius: var(--pv-radius);
  padding: 40px 24px;
  text-align: center;
}
.pv-no-results h2 { margin-bottom: 8px; }
.pv-no-results p { color: var(--pv-fg-muted); }

/* =====================================================================
   404 PAGE
   ===================================================================== */
.pv-404 {
  text-align: center;
  padding: 60px 24px;
}
.pv-404 .pv-404-code {
  font-size: 120px;
  font-weight: 900;
  color: var(--pv-border);
  line-height: 1;
  display: block;
}
.pv-404 h1 {
  font-size: 1.8rem;
  margin: 0 0 12px;
}
.pv-404 p { color: var(--pv-fg-muted); margin-bottom: 24px; }
.pv-btn-primary {
  display: inline-block;
  background: var(--pv-primary);
  color: #fff;
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  transition: background .15s;
}
.pv-btn-primary:hover { background: var(--pv-primary-dk); color: #fff; }

/* =====================================================================
   WORDPRESS CORE COMPATIBILITY
   ===================================================================== */
/* Alignments */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin: 0 auto 1em; }

/* Gutenberg blocks */
.wp-block-image img { border-radius: 6px; }
.wp-block-quote {
  border-left: 4px solid var(--pv-primary);
  margin: 1.5em 0;
  padding: .8em 1em .8em 1.2em;
  background: #eff6ff;
}

/* Captions */
.wp-caption { max-width: 100%; }
.wp-caption-text {
  font-size: 12px;
  color: var(--pv-fg-muted);
  text-align: center;
  margin-top: 4px;
}

/* Gallery */
.gallery { display: grid; gap: 8px; }
.gallery-item img { border-radius: 4px; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 900px) {
  .g-main { grid-template-columns: 1fr; }
  .pv-single-wrap { grid-template-columns: 1fr; }
  .side {
    position: static;
    max-height: none;
    overflow: visible;
  }
  .pv-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .g3 { grid-template-columns: 1fr 1fr; }
  .ft { grid-template-columns: 1fr 1fr; }
  .hero img { height: 200px; }
  .pv-single-article { padding: 18px 16px 24px; }
  .pv-footer-grid { grid-template-columns: 1fr; }
  .pv-featured-img { margin: 0 -16px 20px; }
}

@media (max-width: 400px) {
  .g3 { grid-template-columns: 1fr; }
  .ft { grid-template-columns: 1fr; }
}

/* =====================================================================
   DARK MODE (préférence système)
   ===================================================================== */
@media (prefers-color-scheme: dark) {
  :root {
    --pv-bg:      #0f172a;
    --pv-surface: #1e293b;
    --pv-border:  #334155;
    --pv-fg:      #f1f5f9;
    --pv-fg-dim:  #94a3b8;
    --pv-fg-muted:#64748b;
  }
  .pill { color: #cbd5e1; background: #1e293b; border-color: #334155; }
  .cat-pill { color: #cbd5e1; background: #1e293b; }
  .sr input[type="text"] { background: #1e293b; color: #f1f5f9; }
}

/* =====================================================================
   PRINT
   ===================================================================== */
@media print {
  .pv-header, .side, .pv-site-footer, .pv-post-nav { display: none; }
  .pv-single-wrap { grid-template-columns: 1fr; }
  .pv-entry-content { font-size: 12pt; }
}
