/*
Theme Name: Alexis Rose
Theme URI: https://thingsalexissays.com
Author: Harry Caskey
Author URI: https://harrycaskey.com
Description: A custom theme for Things Alexis Says — a Schitt's Creek quote collection celebrating the micro-adventures of Alexis Rose.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: alexis-rose

Lightweight, mobile-first, performance-optimized.
*/

/* ═══════════════════════════════════════════════════════════
   CSS CUSTOM PROPERTIES
   ═══════════════════════════════════════════════════════════ */
:root {
    /* Schitt's Creek / Alexis palette */
    --ar-black: #1a1a1a;
    --ar-dark: #2d2d2d;
    --ar-charcoal: #3d3d3d;
    --ar-gray: #888;
    --ar-light: #f5f0eb;
    --ar-cream: #faf7f4;
    --ar-white: #fff;
    --ar-rose: #c08081;
    --ar-rose-light: #d4a5a5;
    --ar-rose-dark: #9b5e5e;
    --ar-gold: #c9a96e;
    --ar-gold-light: #e8d5a8;

    /* Typography */
    --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-quote: 'Lora', Georgia, serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', Consolas, monospace;

    /* Spacing scale */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;

    /* Layout */
    --max-width: 1200px;
    --content-width: 720px;
    --sidebar-width: 300px;
    --radius: 8px;
    --radius-lg: 16px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-hover: 0 12px 40px rgba(0,0,0,0.15);

    /* Transitions */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --duration: 0.25s;
}

/* ═══════════════════════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════════════════════ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--ar-dark);
    background: var(--ar-cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--ar-rose-dark);
    text-decoration: none;
    transition: color var(--duration) var(--ease);
}
a:hover, a:focus {
    color: var(--ar-rose);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--ar-black);
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.125rem; }

p { margin-bottom: var(--space-md); }
p:last-child { margin-bottom: 0; }

/* ═══════════════════════════════════════════════════════════
   UTILITY CLASSES
   ═══════════════════════════════════════════════════════════ */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ═══════════════════════════════════════════════════════════
   SITE HEADER
   ═══════════════════════════════════════════════════════════ */
.site-header {
    background: var(--ar-black);
    color: var(--ar-white);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) var(--space-lg);
    max-width: var(--max-width);
    margin: 0 auto;
}

.site-branding {
    display: flex;
    flex-direction: column;
}

.site-title {
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    margin: 0;
}

.site-title a {
    color: var(--ar-white);
    text-decoration: none;
}
.site-title a:hover {
    color: var(--ar-rose-light);
}

.site-tagline {
    font-size: 0.75rem;
    color: var(--ar-rose-light);
    font-style: italic;
    letter-spacing: 0.05em;
    margin-top: 2px;
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: var(--space-xs);
}

.nav-list a {
    color: var(--ar-white);
    font-size: 0.85rem;
    font-weight: 500;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius);
    transition: all var(--duration) var(--ease);
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.nav-list a:hover,
.nav-list .current-menu-item a {
    background: var(--ar-rose-dark);
    color: var(--ar-white);
}

/* Rainbow flag nav item */
.rainbow-flag {
    font-size: 1.4rem;
    line-height: 1;
    display: inline-block;
    transition: transform 0.2s ease;
}
.rainbow-flag:hover {
    transform: scale(1.2);
}

/* Dropdown sub-menus */
.nav-list .menu-item-has-children {
    position: relative;
}

.nav-list .menu-item-has-children > a::after {
    content: ' \25BE';
    font-size: 0.7em;
    opacity: 0.7;
}

.nav-list .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--ar-black);
    list-style: none;
    min-width: 200px;
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow-lg);
    padding: var(--space-xs) 0;
    z-index: 200;
}

.nav-list .menu-item-has-children:hover > .sub-menu,
.nav-list .menu-item-has-children.open > .sub-menu {
    display: block;
}

.nav-list .sub-menu a {
    display: block;
    padding: var(--space-xs) var(--space-md);
    font-size: 0.8rem;
    white-space: nowrap;
    border-radius: 0;
}

.nav-list .sub-menu a:hover {
    background: var(--ar-rose-dark);
}

/* Mobile hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--ar-white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: var(--space-xs);
    line-height: 1;
}

/* ═══════════════════════════════════════════════════════════
   HERO (Front Page)
   ═══════════════════════════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, var(--ar-black) 0%, var(--ar-charcoal) 50%, var(--ar-rose-dark) 100%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center top;
    opacity: 0.2;
    filter: blur(2px);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: var(--space-3xl) var(--space-lg);
    max-width: 700px;
}

.hero h1 {
    color: var(--ar-white);
    font-size: clamp(2.5rem, 7vw, 4rem);
    margin-bottom: var(--space-md);
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero h1 .highlight {
    color: var(--ar-rose-light);
    font-style: italic;
}

.hero-subtitle {
    color: var(--ar-gold-light);
    font-family: var(--font-quote);
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-style: italic;
    margin-bottom: var(--space-xl);
    line-height: 1.6;
}

.hero-btn {
    display: inline-block;
    background: var(--ar-rose);
    color: var(--ar-white);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    padding: var(--space-sm) var(--space-xl);
    border-radius: 50px;
    letter-spacing: 0.05em;
    transition: all var(--duration) var(--ease);
    box-shadow: 0 4px 15px rgba(192, 128, 129, 0.4);
}

.hero-btn:hover {
    background: var(--ar-rose-dark);
    color: var(--ar-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(192, 128, 129, 0.5);
}

/* ═══════════════════════════════════════════════════════════
   QUOTE CARDS (Main content grid)
   ═══════════════════════════════════════════════════════════ */
.section-title {
    font-family: var(--font-heading);
    text-align: center;
    margin-bottom: var(--space-2xl);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--ar-rose);
    margin: var(--space-sm) auto 0;
    border-radius: 2px;
}

.quotes-section {
    padding: var(--space-3xl) 0;
}

.quotes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--space-xl);
}

.quote-card {
    background: var(--ar-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--duration) var(--ease);
    display: flex;
    flex-direction: column;
}

.quote-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.quote-card-image {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--ar-light);
}

.quote-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s var(--ease);
}

.quote-card:hover .quote-card-image img {
    transform: scale(1.05);
}

.quote-card-episode {
    position: absolute;
    bottom: var(--space-sm);
    left: var(--space-sm);
    background: rgba(0,0,0,0.7);
    color: var(--ar-white);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.05em;
    backdrop-filter: blur(4px);
}

.quote-card-body {
    padding: var(--space-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.quote-card h3 {
    font-size: 1.1rem;
    margin-bottom: var(--space-sm);
}

.quote-card h3 a {
    color: var(--ar-black);
}
.quote-card h3 a:hover {
    color: var(--ar-rose);
}

.quote-card-excerpt {
    font-family: var(--font-quote);
    font-style: italic;
    color: var(--ar-charcoal);
    font-size: 0.9rem;
    line-height: 1.6;
    flex: 1;
    margin-bottom: var(--space-md);
}

.quote-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-top: auto;
}

.quote-card-tag {
    background: var(--ar-light);
    color: var(--ar-gray);
    font-size: 0.7rem;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 50px;
    transition: all var(--duration) var(--ease);
}

.quote-card-tag:hover {
    background: var(--ar-rose-light);
    color: var(--ar-white);
}

/* ═══════════════════════════════════════════════════════════
   SINGLE POST
   ═══════════════════════════════════════════════════════════ */
.single-post-header {
    background: var(--ar-black);
    color: var(--ar-white);
    padding: var(--space-3xl) var(--space-lg) var(--space-2xl);
    text-align: center;
}

.single-post-header h1 {
    color: var(--ar-white);
    max-width: var(--content-width);
    margin: 0 auto var(--space-md);
}

.post-episode-badge {
    display: inline-block;
    background: var(--ar-rose);
    color: var(--ar-white);
    font-size: 0.8rem;
    font-weight: 600;
    padding: var(--space-xs) var(--space-md);
    border-radius: 50px;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-md);
}

.single-featured-image {
    max-width: var(--content-width);
    margin: calc(-1 * var(--space-2xl)) auto var(--space-xl);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.single-post-content {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 var(--space-lg) var(--space-3xl);
}

/* WordPress blocks */
.single-post-content .wp-block-quote,
.single-post-content blockquote {
    background: var(--ar-light);
    border-left: 4px solid var(--ar-rose);
    padding: var(--space-lg);
    margin: var(--space-xl) 0;
    border-radius: 0 var(--radius) var(--radius) 0;
    font-family: var(--font-quote);
    font-size: 1.05rem;
    line-height: 1.8;
}

.single-post-content .wp-block-quote p,
.single-post-content blockquote p {
    margin-bottom: var(--space-sm);
    color: var(--ar-dark);
}

.single-post-content .wp-block-quote cite,
.single-post-content blockquote cite {
    display: block;
    font-size: 0.8rem;
    color: var(--ar-gray);
    margin-top: var(--space-sm);
    font-style: normal;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.single-post-content figure {
    margin: var(--space-xl) 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.single-post-content figcaption {
    text-align: center;
    font-size: 0.85rem;
    color: var(--ar-gray);
    padding: var(--space-sm);
    font-style: italic;
}

.single-post-content .wp-block-image img {
    border-radius: var(--radius);
}

/* Share buttons */
.share-bar {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-lg) 0;
    border-top: 1px solid var(--ar-light);
    margin-top: var(--space-xl);
}

.share-bar-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--ar-gray);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--ar-light);
    color: var(--ar-dark);
    font-size: 0.9rem;
    transition: all var(--duration) var(--ease);
    border: none;
    cursor: pointer;
}

.share-btn:hover {
    background: var(--ar-rose);
    color: var(--ar-white);
    transform: scale(1.1);
}

/* Post navigation */
.post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    max-width: var(--content-width);
    margin: 0 auto var(--space-3xl);
    padding: 0 var(--space-lg);
}

.post-nav a {
    display: block;
    background: var(--ar-white);
    padding: var(--space-lg);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: all var(--duration) var(--ease);
}

.post-nav a:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.post-nav .nav-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ar-rose);
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.post-nav .nav-title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--ar-black);
}

.post-nav-next { text-align: right; }

/* ═══════════════════════════════════════════════════════════
   STATIC PAGES
   ═══════════════════════════════════════════════════════════ */
.page-header {
    background: var(--ar-black);
    color: var(--ar-white);
    padding: var(--space-2xl) var(--space-lg);
    text-align: center;
}

.page-header h1 {
    color: var(--ar-white);
}

.page-content {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: var(--space-2xl) var(--space-lg) var(--space-3xl);
}

.page-content h2 {
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-md);
}

.page-content h2:first-child {
    margin-top: 0;
}

.page-content ul, .page-content ol {
    margin-bottom: var(--space-md);
    padding-left: var(--space-xl);
}

.page-content li {
    margin-bottom: var(--space-xs);
}

/* Embeds (YouTube, Spotify) */
.page-content .wp-block-embed,
.single-post-content .wp-block-embed {
    margin: var(--space-xl) auto;
    max-width: 100%;
}

.page-content .wp-block-embed.aligncenter,
.single-post-content .wp-block-embed.aligncenter {
    text-align: center;
}

.page-content .wp-block-embed__wrapper,
.single-post-content .wp-block-embed__wrapper {
    position: relative;
}

/* Responsive YouTube / video embeds */
.wp-block-embed.is-type-video .wp-block-embed__wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
}

.wp-block-embed.is-type-video .wp-block-embed__wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.wp-block-embed.wp-embed-aspect-4-3 .wp-block-embed__wrapper {
    padding-bottom: 75%; /* 4:3 */
}

/* Spotify embed */
.wp-block-embed.is-type-rich .wp-block-embed__wrapper iframe {
    width: 100%;
    min-height: 152px;
}

.page-content .wp-block-embed iframe,
.single-post-content .wp-block-embed iframe {
    border-radius: var(--radius);
    border: none;
}

.page-content .wp-block-embed figcaption,
.single-post-content .wp-block-embed figcaption {
    font-size: 0.85rem;
    color: var(--ar-gray);
    text-align: center;
    margin-top: var(--space-sm);
    font-style: italic;
}

/* WP Block Groups (used on World Tracking page) */
.page-content .wp-block-group {
    margin-bottom: var(--space-lg);
}

.page-content .wp-block-heading {
    color: var(--ar-rose-dark);
    font-family: var(--font-heading);
    border-bottom: 2px solid var(--ar-gold-light);
    padding-bottom: var(--space-xs);
    margin-bottom: var(--space-md);
}

.page-content .wp-block-group a {
    color: var(--ar-rose);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color var(--duration) var(--ease), color var(--duration) var(--ease);
}

.page-content .wp-block-group a:hover {
    color: var(--ar-rose-dark);
    border-bottom-color: var(--ar-rose);
}

.page-content .wp-block-spacer {
    height: 2rem !important;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.site-footer {
    background: var(--ar-black);
    color: var(--ar-gray);
    padding: var(--space-2xl) var(--space-lg);
    text-align: center;
    font-size: 0.85rem;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer-tagline {
    font-family: var(--font-quote);
    font-style: italic;
    color: var(--ar-rose-light);
    margin-bottom: var(--space-md);
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-md);
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--ar-gray);
    font-size: 0.8rem;
}
.footer-links a:hover {
    color: var(--ar-rose-light);
}

.footer-copy {
    color: var(--ar-charcoal);
    font-size: 0.75rem;
}

/* ═══════════════════════════════════════════════════════════
   ARCHIVE / CATEGORY / TAG PAGES
   ═══════════════════════════════════════════════════════════ */
.archive-header {
    background: var(--ar-black);
    color: var(--ar-white);
    padding: var(--space-2xl) var(--space-lg);
    text-align: center;
}

.archive-header h1 {
    color: var(--ar-white);
}

.archive-header .archive-description {
    color: var(--ar-rose-light);
    font-style: italic;
    margin-top: var(--space-sm);
}

/* ═══════════════════════════════════════════════════════════
   404 PAGE
   ═══════════════════════════════════════════════════════════ */
.error-404 {
    text-align: center;
    padding: var(--space-3xl) var(--space-lg);
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.error-404 h1 {
    font-size: 6rem;
    color: var(--ar-rose-light);
    line-height: 1;
    margin-bottom: var(--space-md);
}

.error-404 p {
    font-family: var(--font-quote);
    font-style: italic;
    font-size: 1.2rem;
    color: var(--ar-gray);
    max-width: 500px;
}

/* ═══════════════════════════════════════════════════════════
   CF7 FORMS
   ═══════════════════════════════════════════════════════════ */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
    width: 100%;
    padding: var(--space-sm) var(--space-md);
    border: 2px solid var(--ar-light);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color var(--duration) var(--ease);
    background: var(--ar-white);
}

.wpcf7 input:focus,
.wpcf7 textarea:focus {
    outline: none;
    border-color: var(--ar-rose);
}

.wpcf7 input[type="submit"] {
    background: var(--ar-rose);
    color: var(--ar-white);
    border: none;
    padding: var(--space-sm) var(--space-xl);
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--duration) var(--ease);
    letter-spacing: 0.03em;
}

.wpcf7 input[type="submit"]:hover {
    background: var(--ar-rose-dark);
    transform: translateY(-1px);
}

/* ═══════════════════════════════════════════════════════════
   MOBILE RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--ar-black);
        flex-direction: column;
        padding: var(--space-md) var(--space-lg);
        gap: 0;
        box-shadow: var(--shadow-lg);
        border-top: 1px solid var(--ar-charcoal);
    }

    .nav-list.active {
        display: flex;
    }

    .nav-list a {
        display: block;
        padding: var(--space-sm) 0;
        font-size: 1rem;
    }

    /* Mobile sub-menus */
    .nav-list .sub-menu {
        position: static;
        background: transparent;
        box-shadow: none;
        min-width: 0;
        padding: 0;
        padding-left: var(--space-lg);
        border-radius: 0;
    }

    .nav-list .sub-menu a {
        font-size: 0.9rem;
        padding: var(--space-xs) 0;
        color: var(--ar-rose-light);
    }

    .hero {
        min-height: 50vh;
    }

    .hero h1 {
        font-size: clamp(2rem, 8vw, 2.8rem);
    }

    .quotes-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .post-nav {
        grid-template-columns: 1fr;
    }

    .single-post-content blockquote,
    .single-post-content .wp-block-quote {
        padding: var(--space-md);
        margin: var(--space-lg) 0;
    }

    .site-header {
        position: relative;
    }

    .footer-links {
        flex-direction: column;
        gap: var(--space-sm);
    }
}

@media (max-width: 480px) {
    :root {
        --space-lg: 1rem;
        --space-xl: 1.5rem;
        --space-2xl: 2rem;
        --space-3xl: 2.5rem;
    }

    .quotes-grid {
        grid-template-columns: 1fr;
    }

    .quote-card-body {
        padding: var(--space-md);
    }

    .share-bar {
        flex-wrap: wrap;
    }
}

/* ═══════════════════════════════════════════════════════════
   ACCESSIBILITY
   ═══════════════════════════════════════════════════════════ */
:focus-visible {
    outline: 3px solid var(--ar-rose);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .quote-card:hover {
        transform: none;
    }
}

/* Skip link */
.skip-link {
    position: absolute;
    top: -100%;
    left: var(--space-md);
    background: var(--ar-rose);
    color: var(--ar-white);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius);
    z-index: 999;
    font-weight: 600;
}

.skip-link:focus {
    top: var(--space-md);
}

/* ═══════════════════════════════════════════════════════════
   PRINT
   ═══════════════════════════════════════════════════════════ */
@media print {
    .site-header, .site-footer, .share-bar, .post-nav, .nav-toggle {
        display: none;
    }
    body {
        color: #000;
        background: #fff;
    }
    .single-post-content blockquote {
        border-left: 2px solid #000;
    }
}
