/*!
Theme Name: PremiumPress Editorial
Main stylesheet - premium news/magazine
Inspired by NYT, The Guardian, Bloomberg, Monocle
*/

/* =================================================================
>>> TABLE OF CONTENTS
=================================================================
# Variables & Reset
# Typography (Playfair + Inter + Source Serif)
# Layout
# Top utility bar
# Masthead
# Header actions (socials + search)
# Search overlay
# Section nav (changes color by category)
# Hero Slideshow
# Section titles
# Featured Grid (main + side)
# Category Band
# Opinion Column
# Multimedia (videos)
# Latest grid + Load more
# News Card (universal)
# Minimal news item
# Single article
# Share bar (inline + floating)
# Author box
# Comments (premium)
# Pagination
# Sidebar / Widgets
# Newsletter band
# Footer
# 404 / Search
# Archive header
# Responsive
================================================================= */

:root {
    --pp-accent: #c8102e;
    --pp-accent-dark: #a00d24;
    --pp-accent-soft: #fce7ea;
    --pp-text: #0a0a0a;
    --pp-text-soft: #2d2d2d;
    --pp-text-muted: #6e6e6e;
    --pp-bg: #ffffff;
    --pp-bg-soft: #faf8f5;
    --pp-bg-cream: #f6f1e7;
    --pp-border: #e5e2dd;
    --pp-dark: #0a0a0a;
    --pp-link: var(--pp-accent);

    --pp-font-headline: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --pp-font-body: 'Source Serif 4', Georgia, serif;
    --pp-font-ui: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --pp-container: 1280px;
    --pp-radius: 4px;
    --pp-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --pp-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    --pp-shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --pp-shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);
    --pp-transition: 0.2s ease;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}
body {
    margin: 0;
    font-family: var(--pp-font-body);
    color: var(--pp-text);
    background: var(--pp-bg);
    line-height: 1.65;
    font-size: 17px;
    font-feature-settings: 'kern' 1, 'liga' 1;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a {
    color: var(--pp-link);
    text-decoration: none;
    transition: color var(--pp-transition);
}
a:hover { color: var(--pp-accent-dark); }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--pp-font-headline);
    line-height: 1.2;
    margin: 0 0 0.5em;
    color: var(--pp-text);
    font-weight: 700;
    letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.375rem; }
h4 { font-size: 1.125rem; }

p { margin: 0 0 1em; }

/* Accessibility */
.screen-reader-text {
    border: 0; clip: rect(1px,1px,1px,1px); -webkit-clip-path: inset(50%);
    clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden;
    padding: 0; position: absolute !important; width: 1px;
}
.screen-reader-text:focus {
    background: var(--pp-accent); color: #fff; clip: auto !important;
    display: block; font-size: 14px; font-weight: 700;
    height: auto; padding: 15px 23px 14px; position: absolute; left: 5px; top: 5px;
    text-decoration: none; width: auto; z-index: 100000;
}
.skip-link {
    left: -9999rem; position: absolute; top: auto;
}
.skip-link:focus {
    background: var(--pp-accent); color: #fff; display: block;
    font-weight: 600; left: 1rem; padding: 1rem; top: 1rem; z-index: 100000;
}

/* Container */
.container {
    max-width: var(--pp-container);
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* Site wrapper */
.pp-site-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.pp-site-main { flex: 1; }
.pp-content-area {
    padding: 2.5rem 1.25rem;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3rem;
    align-items: start;
}

/* ============== Top utility bar ============== */
.pp-top-bar {
    background: var(--pp-dark);
    color: rgba(255, 255, 255, 0.85);
    font-family: var(--pp-font-ui);
    font-size: 0.8125rem;
    padding: 0.5rem 0;
}
.pp-top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.pp-top-bar-right {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}
.pp-top-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color var(--pp-transition);
}
.pp-top-link:hover { color: #fff; }
.pp-today {
    text-transform: capitalize;
    letter-spacing: 0.02em;
}

/* ============== Masthead ============== */
.pp-masthead {
    padding: 1.5rem 0 1.25rem;
    background: var(--pp-bg);
    border-bottom: 1px solid var(--pp-border);
}
.pp-masthead-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1.5rem;
}
.pp-menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--pp-border);
    padding: 0.6rem;
    cursor: pointer;
    width: 44px;
    height: 44px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}
.pp-menu-toggle .pp-bar {
    display: block;
    height: 2px;
    background: var(--pp-text);
    border-radius: 1px;
    transition: 0.2s;
}
.pp-menu-toggle[aria-expanded="true"] .pp-bar:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.pp-menu-toggle[aria-expanded="true"] .pp-bar:nth-child(2) { opacity: 0; }
.pp-menu-toggle[aria-expanded="true"] .pp-bar:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.pp-site-branding {
    text-align: center;
    grid-column: 2;
    justify-self: center;
}
.pp-site-branding .custom-logo {
    max-height: 80px;
    width: auto;
    margin: 0 auto;
}
.pp-site-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin: 0;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.02em;
    font-family: var(--pp-font-headline);
}
.pp-site-title a {
    color: var(--pp-text);
    text-decoration: none;
}
.pp-site-title a:hover { color: var(--pp-accent); }
.pp-site-description {
    margin: 0.4rem 0 0;
    font-size: 0.75rem;
    color: var(--pp-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-family: var(--pp-font-ui);
    font-weight: 500;
}

/* Header actions (socials + search) */
.pp-header-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}
.pp-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: transparent;
    border: 1px solid var(--pp-border);
    border-radius: 50%;
    color: var(--pp-text);
    text-decoration: none;
    font-family: var(--pp-font-ui);
    font-weight: 700;
    font-size: 0.7rem;
    transition: all var(--pp-transition);
}
.pp-social-icon:hover {
    background: var(--pp-accent);
    border-color: var(--pp-accent);
    color: #fff;
}
.pp-search-toggle {
    background: transparent;
    border: 1px solid var(--pp-border);
    color: var(--pp-text);
    padding: 0.4rem;
    cursor: pointer;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.pp-search-toggle:hover {
    background: var(--pp-accent);
    border-color: var(--pp-accent);
    color: #fff;
}

/* ============== Search overlay ============== */
.pp-search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, 0.96);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5rem 1.25rem 2rem;
}
.pp-search-overlay[hidden] { display: none; }
.pp-search-overlay-form {
    width: 100%;
    max-width: 800px;
    display: flex;
    border-bottom: 3px solid var(--pp-accent);
    margin-bottom: 2rem;
}
.pp-search-overlay-input {
    flex: 1;
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 1.75rem;
    padding: 1rem 0.5rem;
    outline: none;
    font-family: var(--pp-font-headline);
}
.pp-search-overlay-input::placeholder { color: rgba(255, 255, 255, 0.4); }
.pp-search-overlay-submit {
    background: var(--pp-accent);
    color: #fff;
    border: 0;
    padding: 1rem 2rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    font-family: var(--pp-font-ui);
    letter-spacing: 0.05em;
    font-size: 0.875rem;
}
.pp-search-overlay-results {
    width: 100%;
    max-width: 800px;
}
.pp-search-overlay-results a {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    font-family: var(--pp-font-headline);
}
.pp-search-overlay-results a strong {
    display: block;
    color: #fff;
    margin-bottom: 0.4rem;
    font-size: 1.25rem;
}
.pp-search-overlay-results a:hover { color: var(--pp-accent); }
.pp-search-overlay-results a:hover strong { color: #fff; }
.pp-search-meta {
    font-family: var(--pp-font-ui);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.pp-search-overlay-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.5);
    font-family: var(--pp-font-ui);
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.pp-search-overlay-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pp-search-overlay-close:hover {
    background: var(--pp-accent);
    border-color: var(--pp-accent);
}

/* ============== Section navigation (dynamic color per category) ============== */
.pp-section-nav {
    background: var(--pp-dark);
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 50;
    border-top: 3px solid var(--pp-accent);
    /* CRITICAL: this color changes per category via JS-injected CSS */
    transition: border-color 0.3s ease;
}
.pp-section-nav-inner {
    display: flex;
    align-items: center;
}
.pp-primary-menu, .pp-footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    font-family: var(--pp-font-ui);
}
.pp-primary-menu > li {
    position: relative;
}
.pp-primary-menu > li > a {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    padding: 1rem 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8125rem;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: all var(--pp-transition);
    border-bottom: 3px solid transparent;
    margin-bottom: -3px;
}
.pp-primary-menu > li:hover > a,
.pp-primary-menu > li.current-menu-item > a,
.pp-primary-menu > li.current_page_item > a {
    color: #fff;
    background: var(--pp-accent);
    border-bottom-color: var(--pp-accent-dark);
}
.pp-sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--pp-dark);
    min-width: 220px;
    display: none;
    flex-direction: column;
    box-shadow: var(--pp-shadow-md);
    border-top: 3px solid var(--pp-accent);
}
.pp-primary-menu li:hover > .pp-sub-menu,
.pp-primary-menu li:focus-within > .pp-sub-menu { display: flex; }
.pp-sub-menu li { width: 100%; }
.pp-sub-menu a {
    padding: 0.7rem 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8125rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    text-transform: none;
    font-weight: 500;
    letter-spacing: 0;
}
.pp-sub-menu a:hover { background: var(--pp-accent); color: #fff; }
.pp-submenu-toggle {
    display: none;
    background: transparent;
    color: inherit;
    border: 0;
    padding: 0 0.5rem;
    cursor: pointer;
}

/* ============== Hero Slideshow ============== */
.pp-hero-slideshow {
    position: relative;
    background: var(--pp-dark);
    overflow: hidden;
}
.pp-hero-viewport {
    position: relative;
    width: 100%;
    height: clamp(440px, 65vh, 720px);
    overflow: hidden;
}
.pp-hero-track {
    position: relative;
    width: 100%;
    height: 100%;
}
.pp-hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, visibility 1s ease;
}
.pp-hero-slide.is-active {
    opacity: 1;
    visibility: visible;
}
.pp-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(10, 10, 10, 0) 0%,
        rgba(10, 10, 10, 0.4) 50%,
        rgba(10, 10, 10, 0.9) 100%);
}
.pp-hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.5rem 1.25rem 3.5rem;
    color: #fff;
    z-index: 2;
    max-width: 900px;
}
.pp-hero-cat {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--pp-cat-color, var(--pp-accent));
    color: #fff;
    padding: 0.4rem 0.85rem;
    font-family: var(--pp-font-ui);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 2px;
    margin-bottom: 1rem;
}
.pp-cat-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
}
.pp-hero-title {
    font-size: clamp(1.75rem, 4.5vw, 3rem);
    color: #fff;
    margin: 0 0 1rem;
    line-height: 1.15;
    font-weight: 800;
    max-width: 900px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}
.pp-hero-title a { color: inherit; text-decoration: none; }
.pp-hero-title a:hover { color: rgba(255, 255, 255, 0.85); text-decoration: underline; }
.pp-hero-excerpt {
    font-size: 1.0625rem;
    max-width: 700px;
    margin: 0 0 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.5;
    font-family: var(--pp-font-body);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}
.pp-hero-meta {
    font-family: var(--pp-font-ui);
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.pp-hero-meta-sep { opacity: 0.6; }
.pp-hero-views {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.pp-hero-views svg { vertical-align: middle; }

/* Hero navigation */
.pp-hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    transition: all var(--pp-transition);
}
.pp-hero-nav:hover {
    background: var(--pp-accent);
    border-color: var(--pp-accent);
}
.pp-hero-prev { left: 1.5rem; }
.pp-hero-next { right: 1.5rem; }

/* Hero dots */
.pp-hero-controls {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    width: min(85%, 600px);
}
.pp-hero-dots {
    display: flex;
    gap: 0.5rem;
}
.pp-hero-dot {
    width: 36px;
    height: 4px;
    background: rgba(255, 255, 255, 0.4);
    border: 0;
    cursor: pointer;
    border-radius: 2px;
    transition: all var(--pp-transition);
    padding: 0;
}
.pp-hero-dot:hover { background: rgba(255, 255, 255, 0.7); }
.pp-hero-dot.is-active {
    background: var(--pp-accent);
    width: 60px;
}
.pp-hero-progress {
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    width: 100%;
    border-radius: 2px;
    overflow: hidden;
}
.pp-hero-progress-bar {
    display: block;
    height: 100%;
    width: 0;
    background: var(--pp-accent);
    transition: width 0.1s linear;
}

/* ============== Section titles ============== */
.pp-section-title {
    font-family: var(--pp-font-headline);
    font-size: 1.5rem;
    margin: 0 0 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--pp-border);
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    font-weight: 800;
}
.pp-section-title > span {
    display: inline-block;
    padding-bottom: 0.75rem;
    margin-bottom: -0.75rem;
    border-bottom: 4px solid var(--pp-accent);
}
.pp-section-title > span a { color: var(--pp-text); text-decoration: none; }
.pp-section-title > span a:hover { color: var(--pp-accent); }
.pp-see-all-link {
    font-family: var(--pp-font-ui);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--pp-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
}
.pp-see-all-link:hover { color: var(--pp-accent); }

/* ============== Featured section ============== */
.pp-section-featured {
    padding: 3rem 0;
}
.pp-featured-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2.5rem;
}
.pp-featured-main {
    position: relative;
    overflow: hidden;
    border-radius: var(--pp-radius);
}
.pp-featured-image {
    display: block;
    aspect-ratio: 16/10;
    overflow: hidden;
    position: relative;
    background: var(--pp-bg-soft);
}
.pp-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.pp-featured-main:hover .pp-featured-image img { transform: scale(1.04); }
.pp-featured-cat-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: #fff;
    padding: 0.35rem 0.85rem;
    font-family: var(--pp-font-ui);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 2px;
}
.pp-featured-body { padding: 1.25rem 0; }
.pp-featured-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin: 0 0 0.75rem;
    line-height: 1.2;
}
.pp-featured-title a {
    color: var(--pp-text);
    text-decoration: none;
}
.pp-featured-title a:hover { color: var(--pp-accent); }
.pp-featured-excerpt {
    color: var(--pp-text-soft);
    margin: 0 0 1rem;
    font-family: var(--pp-font-body);
    font-size: 1.0625rem;
    line-height: 1.55;
}
.pp-featured-meta {
    font-family: var(--pp-font-ui);
    font-size: 0.8125rem;
    color: var(--pp-text-muted);
}
.pp-featured-meta strong { color: var(--pp-text); }
.pp-meta-sep { margin: 0 0.4rem; opacity: 0.5; }

/* Public views display */
.pp-views-display {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--pp-text-muted);
}
.pp-views-display svg { vertical-align: middle; }

.pp-featured-side {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.pp-featured-side-item {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--pp-border);
    align-items: center;
}
.pp-featured-side-item:hover { background: var(--pp-bg-soft); }
.pp-side-image {
    display: block;
    aspect-ratio: 1/1;
    overflow: hidden;
    border-radius: var(--pp-radius);
}
.pp-side-image img { width: 100%; height: 100%; object-fit: cover; }
.pp-cat-badge-mini {
    display: inline-block;
    color: var(--pp-accent);
    font-family: var(--pp-font-ui);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.3rem;
}
.pp-side-title {
    font-size: 0.95rem;
    margin: 0 0 0.4rem;
    line-height: 1.3;
    font-family: var(--pp-font-body);
    font-weight: 600;
}
.pp-side-title a { color: var(--pp-text); text-decoration: none; }
.pp-side-title a:hover { color: var(--pp-accent); }
.pp-side-meta {
    font-family: var(--pp-font-ui);
    font-size: 0.7rem;
    color: var(--pp-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.pp-side-views { color: var(--pp-accent); font-weight: 600; }

/* ============== Category band ============== */
.pp-section-category-band {
    padding: 3rem 0;
    background: var(--pp-bg-soft);
}
.pp-cat-band + .pp-cat-band {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--pp-border);
}
.pp-cat-band-title { border-color: var(--pp-cat-color, var(--pp-border)); }
.pp-cat-band-title > span a { color: var(--pp-cat-color, var(--pp-text)); }
.pp-cat-band-title > span {
    border-bottom-color: var(--pp-cat-color, var(--pp-accent));
}
.pp-cat-band-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
}
.pp-cat-band-main {
    border-bottom: 1px solid var(--pp-border);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}
.pp-cat-band-image {
    display: block;
    aspect-ratio: 16/10;
    overflow: hidden;
    margin-bottom: 1rem;
    border-radius: var(--pp-radius);
}
.pp-cat-band-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.pp-cat-band-main:hover .pp-cat-band-image img { transform: scale(1.03); }
.pp-cat-band-main-title {
    font-size: 1.5rem;
    margin: 0 0 0.5rem;
    line-height: 1.25;
}
.pp-cat-band-main-title a { color: var(--pp-text); text-decoration: none; }
.pp-cat-band-main-title a:hover { color: var(--pp-accent); }
.pp-cat-band-main-excerpt {
    color: var(--pp-text-soft);
    margin: 0 0 0.75rem;
    font-size: 1rem;
}
.pp-cat-band-meta {
    font-family: var(--pp-font-ui);
    font-size: 0.75rem;
    color: var(--pp-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.pp-cat-band-item {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--pp-border);
}
.pp-cat-band-item-title {
    font-size: 1rem;
    margin: 0 0 0.4rem;
    line-height: 1.35;
    font-weight: 600;
    font-family: var(--pp-font-body);
}
.pp-cat-band-item-title a { color: var(--pp-text); text-decoration: none; }
.pp-cat-band-item-title a:hover { color: var(--pp-accent); }
.pp-cat-band-item-meta {
    font-family: var(--pp-font-ui);
    font-size: 0.7rem;
    color: var(--pp-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.pp-views-small { color: var(--pp-accent); font-weight: 600; }

/* ============== Opinion ============== */
.pp-section-opinion {
    padding: 3rem 0;
}
.pp-opinion-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.pp-opinion-card {
    text-align: center;
    padding: 1.5rem 1rem;
    background: var(--pp-bg);
    border: 1px solid var(--pp-border);
    border-radius: var(--pp-radius);
    transition: all var(--pp-transition);
}
.pp-opinion-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--pp-shadow-md);
}
.pp-opinion-avatar {
    display: inline-block;
    margin-bottom: 0.75rem;
}
.pp-opinion-avatar img {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--pp-accent);
    padding: 3px;
    background: var(--pp-bg);
}
.pp-opinion-author {
    display: block;
    color: var(--pp-accent);
    font-family: var(--pp-font-ui);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}
.pp-opinion-title {
    font-size: 1.0625rem;
    margin: 0 0 0.5rem;
    line-height: 1.3;
    font-family: var(--pp-font-body);
}
.pp-opinion-title a { color: var(--pp-text); text-decoration: none; }
.pp-opinion-title a:hover { color: var(--pp-accent); }
.pp-opinion-excerpt {
    color: var(--pp-text-soft);
    font-family: var(--pp-font-body);
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.5;
    font-style: italic;
}

/* ============== Multimedia ============== */
.pp-section-multimedia {
    padding: 3rem 0;
    background: var(--pp-dark);
    color: #fff;
}
.pp-section-multimedia .pp-section-title {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.15);
}
.pp-section-multimedia .pp-section-title > span {
    border-bottom-color: var(--pp-accent);
    color: #fff;
}
.pp-multimedia-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.pp-multimedia-card {
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--pp-radius);
    overflow: hidden;
    transition: all var(--pp-transition);
}
.pp-multimedia-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.06);
}
.pp-multimedia-image {
    display: block;
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}
.pp-multimedia-image img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s;
}
.pp-multimedia-card:hover .pp-multimedia-image img { transform: scale(1.05); }
.pp-play-icon {
    position: absolute;
    bottom: 0.85rem;
    right: 0.85rem;
    background: var(--pp-accent);
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    padding-left: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
.pp-multimedia-cat {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    color: #fff;
    padding: 0.3rem 0.6rem;
    font-family: var(--pp-font-ui);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 2px;
}
.pp-multimedia-body { padding: 1.25rem; }
.pp-multimedia-title {
    font-size: 1.0625rem;
    margin: 0 0 0.5rem;
    line-height: 1.3;
    color: #fff;
}
.pp-multimedia-title a { color: inherit; text-decoration: none; }
.pp-multimedia-title a:hover { color: var(--pp-accent); }
.pp-multimedia-meta {
    font-family: var(--pp-font-ui);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.pp-multimedia-meta .pp-views-display { color: rgba(255, 255, 255, 0.6); }

/* ============== Latest ============== */
.pp-section-latest { padding: 3rem 0; }
.pp-latest-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem 1.5rem;
}
.pp-load-more-wrap { text-align: center; margin-top: 3rem; }
.pp-load-more-btn {
    background: var(--pp-dark);
    color: #fff;
    border: 0;
    padding: 1rem 3rem;
    font-family: var(--pp-font-ui);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--pp-radius);
    cursor: pointer;
    transition: all var(--pp-transition);
}
.pp-load-more-btn:hover { background: var(--pp-accent); transform: translateY(-2px); }
.pp-load-more-btn:disabled { opacity: 0.6; cursor: wait; }

/* ============== News card (universal) ============== */
.pp-news-card {
    background: var(--pp-bg);
    border-radius: var(--pp-radius);
    overflow: hidden;
    transition: all var(--pp-transition);
    display: flex;
    flex-direction: column;
}
.pp-news-card:hover { transform: translateY(-3px); box-shadow: var(--pp-shadow); }
.pp-news-card-image {
    display: block;
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--pp-bg-soft);
}
.pp-news-card-image img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s;
}
.pp-news-card:hover .pp-news-card-image img { transform: scale(1.05); }
.pp-news-card-cat {
    position: absolute;
    bottom: 0.75rem;
    left: 0.75rem;
    color: #fff;
    padding: 0.3rem 0.65rem;
    font-family: var(--pp-font-ui);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 2px;
}
.pp-news-card-body { padding: 1rem 0; flex: 1; display: flex; flex-direction: column; }
.pp-news-card-title {
    font-size: 1.125rem;
    margin: 0 0 0.5rem;
    line-height: 1.3;
    font-family: var(--pp-font-body);
    font-weight: 700;
}
.pp-news-card-title a { color: var(--pp-text); text-decoration: none; }
.pp-news-card-title a:hover { color: var(--pp-accent); }
.pp-news-card-excerpt {
    color: var(--pp-text-soft);
    font-size: 0.9375rem;
    margin: 0 0 0.75rem;
    line-height: 1.5;
    flex: 1;
}
.pp-news-card-meta {
    font-family: var(--pp-font-ui);
    font-size: 0.75rem;
    color: var(--pp-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.pp-news-card-views {
    color: var(--pp-accent);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}
.pp-news-card-views svg { vertical-align: middle; }

/* ============== Minimal news item ============== */
.pp-news-minimal {
    display: flex;
    gap: 0.85rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--pp-border);
}
.pp-minimal-cat {
    display: inline-block;
    align-self: flex-start;
    color: #fff;
    padding: 0.2rem 0.55rem;
    font-family: var(--pp-font-ui);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 2px;
    white-space: nowrap;
    height: max-content;
}
.pp-minimal-body { flex: 1; min-width: 0; }
.pp-minimal-title {
    font-size: 0.95rem;
    margin: 0 0 0.3rem;
    line-height: 1.35;
    font-family: var(--pp-font-body);
    font-weight: 600;
}
.pp-minimal-title a { color: var(--pp-text); text-decoration: none; }
.pp-minimal-title a:hover { color: var(--pp-accent); }
.pp-minimal-meta {
    font-family: var(--pp-font-ui);
    font-size: 0.7rem;
    color: var(--pp-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.pp-minimal-views { color: var(--pp-accent); font-weight: 600; }

/* ============== Single article ============== */
.pp-single-content { padding: 2rem 1.25rem; }
.pp-single-article {
    background: var(--pp-bg);
    max-width: 800px;
    margin: 0 auto;
    grid-column: 1 / -1;
}
.has-sidebar .pp-single-article { grid-column: 1; max-width: none; }
.pp-breadcrumb {
    font-family: var(--pp-font-ui);
    font-size: 0.75rem;
    color: var(--pp-text-muted);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.pp-breadcrumb a { color: var(--pp-text-muted); }
.pp-breadcrumb a:hover { color: var(--pp-accent); }
.pp-sep { margin: 0 0.5rem; }
.pp-article-header { margin-bottom: 2.5rem; }
.pp-article-cat { margin-bottom: 1rem; }
.pp-cat-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--pp-cat-color, var(--pp-accent));
    font-family: var(--pp-font-ui);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
}
.pp-cat-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: currentColor;
}
.pp-article-title {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    margin: 0.5rem 0 1rem;
    line-height: 1.1;
    font-weight: 900;
}
.pp-article-excerpt {
    font-size: 1.375rem;
    color: var(--pp-text-soft);
    margin: 0 0 1.5rem;
    line-height: 1.5;
    font-style: italic;
    font-family: var(--pp-font-body);
}
.pp-article-byline {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-family: var(--pp-font-ui);
    padding: 1.25rem 0;
    border-top: 1px solid var(--pp-border);
    border-bottom: 1px solid var(--pp-border);
}
.pp-byline-avatar img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
}
.pp-byline-meta strong { color: var(--pp-text); font-weight: 700; }
.pp-byline-meta a { color: var(--pp-text); text-decoration: none; }
.pp-byline-meta a:hover { color: var(--pp-accent); }
.pp-byline-info {
    display: block;
    color: var(--pp-text-muted);
    font-size: 0.8125rem;
    margin-top: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.pp-views-display .pp-views-number { font-weight: 600; color: var(--pp-accent); }
.pp-views-today {
    background: var(--pp-accent-soft);
    color: var(--pp-accent-dark);
    padding: 0.1rem 0.4rem;
    border-radius: 2px;
    font-size: 0.7rem;
    font-weight: 700;
    margin-left: 0.3rem;
}
.pp-read-time { color: var(--pp-text); }
.pp-comments-count { color: var(--pp-accent); font-weight: 600; }

.pp-article-hero-image { margin: 0 0 2rem; }
.pp-article-hero-image img {
    width: 100%;
    border-radius: var(--pp-radius);
    aspect-ratio: 16/9;
    object-fit: cover;
}
.pp-article-hero-image figcaption {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    color: var(--pp-text-muted);
    font-style: italic;
    text-align: center;
}

/* ============== Share bar ============== */
.pp-share-bar {
    margin: 0 0 2rem;
    padding: 1.25rem 0;
    border-top: 1px solid var(--pp-border);
    border-bottom: 1px solid var(--pp-border);
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    font-family: var(--pp-font-ui);
}
.pp-share-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--pp-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.pp-share-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.pp-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--pp-bg-soft);
    border: 1px solid var(--pp-border);
    color: var(--pp-text);
    padding: 0.55rem 0.95rem;
    border-radius: var(--pp-radius);
    text-decoration: none;
    font-family: var(--pp-font-ui);
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--pp-transition);
}
.pp-share-btn:hover {
    background: var(--pp-accent);
    border-color: var(--pp-accent);
    color: #fff;
    text-decoration: none;
}
.pp-share-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: var(--pp-accent);
    color: #fff;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 700;
}
.pp-share-btn:hover .pp-share-icon {
    background: rgba(255, 255, 255, 0.2);
}
.pp-share-fb .pp-share-icon { background: #1877f2; }
.pp-share-tw .pp-share-icon { background: #000; }
.pp-share-li .pp-share-icon { background: #0a66c2; }
.pp-share-wa .pp-share-icon { background: #25d366; }
.pp-share-tg .pp-share-icon { background: #0088cc; }
.pp-share-pi .pp-share-icon { background: #bd081c; }
.pp-share-em .pp-share-icon { background: #6e6e6e; }
.pp-share-copy .pp-share-icon { background: var(--pp-text); }

/* Floating share (sticks to left on desktop) */
.pp-share-floating {
    position: fixed;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 40;
    background: var(--pp-bg);
    border-radius: 100px;
    box-shadow: var(--pp-shadow-md);
    padding: 0.5rem;
    flex-direction: column;
    gap: 0.5rem;
    border: 1px solid var(--pp-border);
    margin: 0;
}
.pp-share-floating .pp-share-label {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    margin: 0.5rem 0;
}
.pp-share-floating .pp-share-list {
    flex-direction: column;
    gap: 0.5rem;
}
.pp-share-floating .pp-share-btn {
    padding: 0.5rem;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    justify-content: center;
}
.pp-share-floating .pp-share-name { display: none; }

@media (max-width: 1200px) {
    .pp-share-floating { display: none; }
}

/* Compact share (for cards) */
.pp-share-compact .pp-share-name { display: none; }
.pp-share-compact .pp-share-btn {
    padding: 0.4rem 0.6rem;
    font-size: 0;
}
.pp-share-compact .pp-share-icon { width: 24px; height: 24px; }

/* ============== Article content ============== */
.pp-article-content {
    font-family: var(--pp-font-body);
    font-size: 1.1875rem;
    line-height: 1.75;
    max-width: 720px;
}
.pp-article-content > p:first-of-type::first-letter {
    float: left;
    font-size: 5rem;
    line-height: 0.85;
    font-weight: 900;
    margin: 0.4rem 0.6rem 0 0;
    color: var(--pp-accent);
    font-family: var(--pp-font-headline);
}
.pp-article-content h2,
.pp-article-content h3 {
    margin-top: 2.5rem;
}
.pp-article-content blockquote {
    border-left: 4px solid var(--pp-accent);
    margin: 2rem 0;
    padding: 0.5rem 0 0.5rem 1.75rem;
    font-style: italic;
    font-size: 1.5rem;
    color: var(--pp-text-soft);
    font-family: var(--pp-font-headline);
}
.pp-article-content pre,
.pp-article-content code {
    background: var(--pp-bg-soft);
    border: 1px solid var(--pp-border);
    border-radius: var(--pp-radius);
    font-family: 'SFMono-Regular', Consolas, monospace;
    font-size: 0.875em;
}
.pp-article-content pre { padding: 1.25rem; overflow-x: auto; }
.pp-article-content img {
    border-radius: var(--pp-radius);
    margin: 2rem 0;
}
.pp-article-content figcaption {
    font-size: 0.875rem;
    color: var(--pp-text-muted);
    font-style: italic;
    margin-top: 0.5rem;
}
.pp-page-links {
    margin: 2rem 0;
    padding: 1rem;
    background: var(--pp-bg-soft);
    border-radius: var(--pp-radius);
}

.pp-article-tags {
    margin: 2rem 0;
    padding-top: 1.5rem;
    border-top: 1px solid var(--pp-border);
    font-family: var(--pp-font-ui);
}
.pp-tags-label {
    font-weight: 700;
    color: var(--pp-text-muted);
    text-transform: uppercase;
    font-size: 0.75rem;
    margin-right: 0.5rem;
    letter-spacing: 0.08em;
}
.pp-tag {
    display: inline-block;
    background: var(--pp-bg-soft);
    color: var(--pp-text);
    padding: 0.3rem 0.85rem;
    border: 1px solid var(--pp-border);
    font-size: 0.8125rem;
    font-weight: 500;
    margin: 0.25rem 0.25rem 0.25rem 0;
    text-decoration: none;
    transition: all var(--pp-transition);
}
.pp-tag:hover { background: var(--pp-accent); border-color: var(--pp-accent); color: #fff; }

/* ============== Author box ============== */
.pp-author-box {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 2rem;
    background: var(--pp-bg-soft);
    padding: 2rem;
    border-radius: var(--pp-radius);
    margin: 3rem 0;
    border-left: 5px solid var(--pp-accent);
}
.pp-author-avatar img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: var(--pp-shadow);
}
.pp-author-role {
    font-family: var(--pp-font-ui);
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--pp-text-muted);
    letter-spacing: 0.1em;
    margin: 0 0 0.5rem;
    font-weight: 600;
}
.pp-author-name { font-size: 1.375rem; margin: 0 0 0.5rem; }
.pp-author-bio {
    margin: 0 0 0.75rem;
    color: var(--pp-text-soft);
    font-family: var(--pp-font-body);
}
.pp-author-link {
    font-family: var(--pp-font-ui);
    font-weight: 700;
    color: var(--pp-accent);
    text-decoration: none;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.pp-author-link:hover { text-decoration: underline; }

/* Related */
.pp-related-posts { margin: 3rem 0 0; }
.pp-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem 1.5rem;
}

/* ============== Comments ============== */
.pp-comments-area {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 3px solid var(--pp-accent);
}
.pp-comments-title {
    font-size: 1.75rem;
    margin: 0 0 1.5rem;
    font-family: var(--pp-font-headline);
}
.pp-comments-empty {
    color: var(--pp-text-muted);
    font-style: italic;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--pp-bg-soft);
    border-radius: var(--pp-radius);
}
.pp-comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.pp-comment-list .comment-body,
.comment-body {
    background: var(--pp-bg-soft);
    padding: 1.5rem;
    border-radius: var(--pp-radius);
    margin-bottom: 1rem;
    border-left: 3px solid var(--pp-accent);
}
.comment-author .avatar {
    border-radius: 50%;
    margin-right: 0.75rem;
    vertical-align: middle;
}
.comment-form p { margin-bottom: 1rem; }
.comment-form label {
    display: block;
    font-family: var(--pp-font-ui);
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--pp-border);
    border-radius: var(--pp-radius);
    font-family: var(--pp-font-body);
    background: var(--pp-bg);
    color: var(--pp-text);
}
.comment-form input:focus,
.comment-form textarea:focus {
    outline: 2px solid var(--pp-accent);
    outline-offset: 1px;
    border-color: var(--pp-accent);
}
.pp-logged-in-as {
    font-family: var(--pp-font-ui);
    font-size: 0.875rem;
    color: var(--pp-text-muted);
    padding: 1rem;
    background: var(--pp-bg-soft);
    border-radius: var(--pp-radius);
    margin-bottom: 1rem;
}
.button, .comment-form .pp-submit {
    background: var(--pp-accent);
    color: #fff;
    border: 0;
    padding: 0.85rem 2rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: var(--pp-radius);
    cursor: pointer;
    font-family: var(--pp-font-ui);
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    transition: all var(--pp-transition);
}
.button:hover, .pp-submit:hover {
    background: var(--pp-accent-dark);
    color: #fff;
    transform: translateY(-1px);
}

/* ============== Pagination ============== */
.navigation.pagination,
.navigation.posts-navigation {
    margin: 2.5rem 0;
    font-family: var(--pp-font-ui);
}
.nav-links {
    display: flex;
    justify-content: center;
    gap: 0.3rem;
    flex-wrap: wrap;
}
.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.85rem;
    background: var(--pp-bg);
    border: 1px solid var(--pp-border);
    border-radius: var(--pp-radius);
    color: var(--pp-text);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--pp-transition);
}
.page-numbers.current {
    background: var(--pp-accent);
    color: #fff;
    border-color: var(--pp-accent);
}
.page-numbers:hover:not(.current) {
    border-color: var(--pp-accent);
    color: var(--pp-accent);
}
.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 2rem 0;
}
.nav-previous, .nav-next {
    background: var(--pp-bg);
    padding: 1.25rem;
    border: 1px solid var(--pp-border);
    text-decoration: none;
    color: var(--pp-text);
}
.nav-next { text-align: right; }
.nav-subtitle {
    display: block;
    font-family: var(--pp-font-ui);
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--pp-text-muted);
    margin-bottom: 0.25rem;
    letter-spacing: 0.08em;
}

/* ============== Sidebar / Widgets ============== */
.pp-widget-area {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    font-family: var(--pp-font-ui);
}
.pp-widget {
    background: var(--pp-bg);
    padding: 1.5rem;
    border: 1px solid var(--pp-border);
    border-radius: var(--pp-radius);
}
.pp-widget-title {
    font-family: var(--pp-font-headline);
    font-size: 1.125rem;
    margin: 0 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--pp-accent);
    font-weight: 800;
}
.pp-widget-title > span {
    display: inline-block;
    padding-bottom: 0.5rem;
    margin-bottom: -0.5rem;
}
.pp-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.pp-widget ul li {
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--pp-border);
}
.pp-widget ul li:last-child { border-bottom: 0; }
.pp-widget ul li a { color: var(--pp-text); text-decoration: none; }
.pp-widget ul li a:hover { color: var(--pp-accent); }

.pp-widget-recent {
    list-style: none;
    padding: 0;
    margin: 0;
}
.pp-widget-recent-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 0.85rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--pp-border);
    align-items: center;
}
.pp-widget-recent-item:last-child { border-bottom: 0; }
.pp-widget-thumb {
    display: block;
    aspect-ratio: 1/1;
    overflow: hidden;
    border-radius: var(--pp-radius);
}
.pp-widget-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pp-widget-text { min-width: 0; }
.pp-widget-title-link {
    display: block;
    font-family: var(--pp-font-body);
    font-weight: 600;
    color: var(--pp-text);
    text-decoration: none;
    margin: 0.25rem 0;
    line-height: 1.3;
    font-size: 0.95rem;
}
.pp-widget-title-link:hover { color: var(--pp-accent); }
.pp-widget-meta {
    font-size: 0.7rem;
    color: var(--pp-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
}
.pp-widget-meta .pp-meta-sep { margin: 0 0.3rem; }
.pp-widget-views { color: var(--pp-accent); font-weight: 600; }

.pp-widget-most-read,
.pp-widget-trending {
    list-style: none;
    padding: 0;
    margin: 0;
}
.pp-widget-most-read li {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 0.85rem;
    align-items: start;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--pp-border);
}
.pp-widget-most-read li:last-child { border-bottom: 0; }
.pp-widget-rank {
    font-family: var(--pp-font-headline);
    font-size: 1.625rem;
    font-weight: 900;
    color: var(--pp-accent);
    line-height: 1;
}
.pp-widget-most-read li a { font-weight: 600; color: var(--pp-text); }
.pp-widget-most-read li a:hover { color: var(--pp-accent); }
.pp-widget-views-mini {
    display: block;
    font-size: 0.7rem;
    color: var(--pp-text-muted);
    margin-top: 0.25rem;
}

.pp-widget-trending li {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 0.85rem;
    align-items: start;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--pp-border);
}
.pp-widget-trending li:last-child { border-bottom: 0; }
.pp-trending-rank {
    font-family: var(--pp-font-headline);
    font-size: 1.625rem;
    font-weight: 900;
    color: var(--pp-accent);
    line-height: 1;
}
.pp-trending-today {
    display: block;
    font-size: 0.7rem;
    color: var(--pp-accent);
    font-weight: 700;
    margin-top: 0.25rem;
}
.pp-widget-empty {
    color: var(--pp-text-muted);
    font-style: italic;
}

/* ============== Newsletter band ============== */
.pp-newsletter-band {
    background: var(--pp-accent);
    color: #fff;
    padding: 3.5rem 0;
}
.pp-newsletter-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.pp-newsletter-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 0.3rem 0.85rem;
    font-family: var(--pp-font-ui);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 100px;
    margin-bottom: 0.75rem;
}
.pp-newsletter-text h3 {
    color: #fff;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    margin: 0 0 0.5rem;
    font-weight: 800;
}
.pp-newsletter-text p {
    margin: 0;
    color: rgba(255, 255, 255, 0.95);
    font-family: var(--pp-font-body);
    font-size: 1.0625rem;
}
.pp-newsletter-form {
    display: flex;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem;
    border-radius: var(--pp-radius);
}
.pp-newsletter-form input {
    flex: 1;
    padding: 0.95rem 1.1rem;
    border: 0;
    border-radius: var(--pp-radius);
    font-family: var(--pp-font-body);
    font-size: 1rem;
    background: #fff;
    color: var(--pp-text);
}
.pp-newsletter-form button {
    background: var(--pp-dark);
    color: #fff;
    border: 0;
    padding: 0.95rem 1.75rem;
    font-family: var(--pp-font-ui);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--pp-radius);
    cursor: pointer;
    transition: all var(--pp-transition);
    white-space: nowrap;
}
.pp-newsletter-form button:hover { background: rgba(255, 255, 255, 0.95); color: var(--pp-dark); }

/* ============== Footer ============== */
.pp-site-footer {
    background: var(--pp-dark);
    color: rgba(255, 255, 255, 0.85);
    margin-top: 3rem;
    font-family: var(--pp-font-ui);
}
.pp-footer-widgets {
    padding: 3rem 0 2rem;
}
.pp-footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}
.pp-footer-col .pp-widget {
    background: transparent;
    border: 0;
    padding: 0;
}
.pp-footer-col .pp-widget-title {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.2);
}
.pp-footer-col .pp-widget ul li {
    border-color: rgba(255, 255, 255, 0.1);
}
.pp-footer-col .pp-widget ul li a {
    color: rgba(255, 255, 255, 0.85);
}
.pp-footer-col .pp-widget ul li a:hover { color: #fff; }
.pp-footer-col .pp-widget_text p { color: rgba(255, 255, 255, 0.7); }
.pp-footer-views {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.25rem;
}
.pp-social-icons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}
.pp-social-icons .pp-social-icon {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
    color: #fff;
    width: auto;
    padding: 0.4rem 0.85rem;
    border-radius: 4px;
    font-size: 0.8125rem;
}
.pp-social-icons .pp-social-icon:hover {
    background: var(--pp-accent);
    border-color: var(--pp-accent);
}
.pp-footer-tag {
    margin: 0.75rem 0 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8125rem;
}

.pp-site-info {
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.7);
}
.pp-site-info-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.pp-site-info a { color: rgba(255, 255, 255, 0.85); }
.pp-site-info a:hover { color: #fff; }
.pp-legal-nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.pp-legal-nav a { color: rgba(255, 255, 255, 0.7); text-decoration: none; }
.pp-legal-nav a:hover { color: #fff; text-decoration: underline; }

/* ============== 404 ============== */
.pp-error-404 {
    padding: 5rem 1.25rem;
    text-align: center;
}
.pp-error-404-inner {
    max-width: 600px;
    margin: 0 auto;
}
.pp-error-code {
    font-size: 9rem;
    font-weight: 900;
    color: var(--pp-accent);
    line-height: 1;
    font-family: var(--pp-font-headline);
}
.pp-error-title { font-size: 2rem; margin: 1rem 0 1rem; }
.pp-error-text {
    font-size: 1.125rem;
    color: var(--pp-text-soft);
    margin-bottom: 2rem;
    font-family: var(--pp-font-body);
    font-style: italic;
}
.pp-error-search {
    display: flex;
    max-width: 500px;
    margin: 0 auto 2rem;
    border: 2px solid var(--pp-accent);
    border-radius: var(--pp-radius);
    overflow: hidden;
}
.pp-error-search input {
    flex: 1;
    padding: 0.95rem 1.1rem;
    border: 0;
    font-family: var(--pp-font-body);
    background: var(--pp-bg);
}
.pp-error-search button {
    background: var(--pp-accent);
    color: #fff;
    border: 0;
    padding: 0 1.75rem;
    font-family: var(--pp-font-ui);
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
}

/* ============== Archive header ============== */
.pp-archive-header {
    background: var(--pp-dark);
    color: #fff;
    padding: 2.5rem 0;
}
.pp-archive-title {
    color: #fff;
    margin: 0;
    font-size: 2.25rem;
    font-family: var(--pp-font-headline);
    font-weight: 800;
}
.pp-archive-title span { font-style: italic; }
.pp-archive-description {
    margin-top: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--pp-font-body);
}

/* Posts list */
.pp-posts-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem 1.5rem;
}
.pp-page-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--pp-accent);
}
.pp-page-title { font-size: 1.875rem; }
.pp-no-results {
    color: var(--pp-text-muted);
    font-style: italic;
    padding: 2rem;
    background: var(--pp-bg-soft);
    border-radius: var(--pp-radius);
}

/* ============== Responsive ============== */
@media (max-width: 1024px) {
    .pp-content-area { grid-template-columns: 1fr; }
    .pp-featured-layout { grid-template-columns: 1fr; }
    .pp-featured-main { margin-bottom: 1rem; }
    .pp-cat-band-grid { grid-template-columns: 1fr; }
    .pp-opinion-grid { grid-template-columns: repeat(2, 1fr); }
    .pp-multimedia-grid,
    .pp-posts-list,
    .pp-latest-grid,
    .pp-related-grid { grid-template-columns: repeat(2, 1fr); }
    .pp-footer-grid { grid-template-columns: repeat(2, 1fr); }
    .pp-newsletter-inner { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .pp-masthead-inner {
        grid-template-columns: auto 1fr auto;
    }
    .pp-menu-toggle { display: flex; }
    .pp-site-branding { grid-column: 2; justify-self: start; text-align: left; }
    .pp-site-title { font-size: 1.875rem; }
    .pp-header-actions { gap: 0.3rem; }
    .pp-social-icon { display: none; }
    .pp-section-nav { position: relative; }
    .pp-section-nav-inner { overflow-x: auto; }
    .pp-primary-menu { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 0.5rem; }
    .pp-primary-menu > li > a {
        padding: 0.85rem 0.95rem;
        white-space: nowrap;
        font-size: 0.75rem;
    }
    .pp-hero-viewport { height: 480px; }
    .pp-hero-title { font-size: 1.75rem; }
    .pp-hero-excerpt { font-size: 0.95rem; }
    .pp-hero-content { padding: 2rem 1rem 3rem; }
    .pp-hero-nav { width: 44px; height: 44px; }
    .pp-section-title { font-size: 1.25rem; }
    .pp-featured-side-item { grid-template-columns: 80px 1fr; }
    .pp-opinion-grid,
    .pp-multimedia-grid,
    .pp-posts-list,
    .pp-latest-grid,
    .pp-footer-grid,
    .pp-related-grid { grid-template-columns: 1fr; }
    .pp-article-title { font-size: 1.875rem; }
    .pp-author-box { grid-template-columns: 1fr; text-align: center; }
    .pp-author-avatar img { margin: 0 auto; }
    .pp-post-navigation { grid-template-columns: 1fr; }
    .pp-site-info-inner { flex-direction: column; text-align: center; }
    .pp-legal-nav { justify-content: center; }
    .pp-newsletter-form { flex-direction: column; }
}
@media (max-width: 480px) {
    .pp-site-title { font-size: 1.5rem; }
    .pp-hero-viewport { height: 420px; }
    .pp-hero-content { padding: 1.5rem 1rem 2.5rem; }
    .pp-hero-title { font-size: 1.5rem; }
    .pp-hero-excerpt { font-size: 0.875rem; }
}