/*
Theme Name: Luxelle
Theme URI: https://luxelle.theme
Author: Luxelle Studio
Author URI: https://luxelle.theme
Description: A premium editorial WordPress theme inspired by luxury magazine aesthetics. Clean, minimal, and elegant with dark/light mode support.
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: luxelle
Tags: blog, news, editorial, magazine, luxury, minimal, clean, responsive, dark-mode, accessibility-ready
*/

/* ========================================
   RESET
   ======================================== */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
    height: auto;
}

input, button, textarea, select {
    font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
}

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

ul, ol {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
}

/* ========================================
   CSS VARIABLES
   ======================================== */

:root {
    /* Typography */
    --font-heading: Georgia, 'Times New Roman', serif;
    --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    
    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;
    
    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    
    /* Layout */
    --container-max: 1400px;
    --container-narrow: 800px;
    --header-height: 70px;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
}

/* Light Mode (Default) */
body.light {
    --bg: #fafafa;
    --text: #1a1a1a;
    --text-secondary: #666666;
    --accent: #c9a962;
    --muted: #f0f0f0;
    --border: #e0e0e0;
    --card-bg: #ffffff;
    --overlay: rgba(0, 0, 0, 0.5);
}

/* Dark Mode */
body.dark {
    --bg: #121212;
    --text: #f5f5f5;
    --text-secondary: #a0a0a0;
    --accent: #d4b872;
    --muted: #1e1e1e;
    --border: #333333;
    --card-bg: #1a1a1a;
    --overlay: rgba(0, 0, 0, 0.7);
}

/* ========================================
   BASE
   ======================================== */

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.7;
    color: var(--text);
    background-color: var(--bg);
    transition: background-color var(--transition-base), color var(--transition-base);
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.2;
    color: var(--text);
    margin-bottom: var(--space-4);
}

h1 {
    font-size: var(--text-5xl);
    letter-spacing: -0.02em;
}

h2 {
    font-size: var(--text-4xl);
    letter-spacing: -0.01em;
}

h3 {
    font-size: var(--text-3xl);
}

h4 {
    font-size: var(--text-2xl);
}

h5 {
    font-size: var(--text-xl);
}

h6 {
    font-size: var(--text-lg);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

p {
    margin-bottom: var(--space-4);
    color: var(--text-secondary);
}

a {
    color: var(--text);
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--accent);
}

a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* ========================================
   LAYOUT
   ======================================== */

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.container-narrow {
    max-width: var(--container-narrow);
}

.section {
    padding: var(--space-20) 0;
}

.section-sm {
    padding: var(--space-12) 0;
}

/* Grid System */
.grid {
    display: grid;
    gap: var(--space-6);
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.grid-6 {
    grid-template-columns: repeat(6, 1fr);
}

/* Flexbox */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.gap-4 {
    gap: var(--space-4);
}

.gap-6 {
    gap: var(--space-6);
}

.gap-8 {
    gap: var(--space-8);
}

/* ========================================
   HEADER
   ======================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    background-color: var(--bg);
    border-bottom: 1px solid var(--border);
    transition: background-color var(--transition-base), border-color var(--transition-base);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.site-logo {
    display: flex;
    align-items: center;
}

.site-logo img {
    height: 28px;
    width: auto;
}

/* Primary Navigation */
.primary-nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-8);
}

.nav-menu a {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: var(--space-2) 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent);
    transition: width var(--transition-base);
}

.nav-menu a:hover::after,
.nav-menu a:focus::after {
    width: 100%;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.icon-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--text);
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

.icon-button:hover {
    background-color: var(--muted);
    color: var(--accent);
}

.icon-button svg {
    width: 20px;
    height: 20px;
}

/* Theme Toggle */
.theme-toggle .sun-icon {
    display: none;
}

.theme-toggle .moon-icon {
    display: block;
}

body.dark .theme-toggle .sun-icon {
    display: block;
}

body.dark .theme-toggle .moon-icon {
    display: none;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
}

/* ========================================
   HERO
   ======================================== */

.hero-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: flex-end;
    padding: var(--space-12) 0;
    background-color: var(--muted);
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-4);
}

.hero-category {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
}

.hero-date {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.7);
}

.hero-title {
    font-size: clamp(var(--text-3xl), 5vw, var(--text-6xl));
    color: #ffffff;
    margin-bottom: var(--space-6);
    line-height: 1.1;
}

.hero-excerpt {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin-bottom: var(--space-8);
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #ffffff;
    padding: var(--space-4) var(--space-8);
    background-color: var(--accent);
    transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.hero-cta:hover {
    background-color: #b89a55;
    color: #ffffff;
    transform: translateY(-2px);
}

.hero-cta svg {
    width: 16px;
    height: 16px;
}

/* ========================================
   CARDS
   ======================================== */

.card {
    background-color: var(--card-bg);
    border-radius: 4px;
    overflow: hidden;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.card-image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.card:hover .card-image img {
    transform: scale(1.05);
}

.card-category {
    position: absolute;
    top: var(--space-4);
    left: var(--space-4);
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #ffffff;
    background-color: var(--accent);
    padding: var(--space-1) var(--space-3);
    z-index: 2;
}

.card-content {
    padding: var(--space-6);
}

.card-meta {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-3);
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.card-title {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    line-height: 1.3;
    margin-bottom: var(--space-3);
    color: var(--text);
}

.card-title a:hover {
    color: var(--accent);
}

.card-excerpt {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Featured Card (Large) */
.card-featured .card-image {
    aspect-ratio: 16 / 9;
}

.card-featured .card-title {
    font-size: var(--text-2xl);
}

/* Horizontal Card */
.card-horizontal {
    display: grid;
    grid-template-columns: 40% 1fr;
    gap: 0;
}

.card-horizontal .card-image {
    aspect-ratio: auto;
    height: 100%;
}

/* ========================================
   SECTION HEADERS
   ======================================== */

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-10);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--border);
}

.section-title {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 400;
    margin-bottom: 0;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: calc(-1 * var(--space-4) - 1px);
    left: 0;
    width: 60px;
    height: 2px;
    background-color: var(--accent);
}

.section-link {
    font-size: var(--text-sm);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.section-link:hover {
    color: var(--accent);
}

.section-link svg {
    width: 14px;
    height: 14px;
}

/* ========================================
   FEATURED ARTICLES SECTION
   ======================================== */

.featured-section {
    padding: var(--space-20) 0;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

/* ========================================
   CATEGORY BLOCKS
   ======================================== */

.category-blocks {
    padding: var(--space-20) 0;
    background-color: var(--muted);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}

.category-block {
    position: relative;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.category-block:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}

.category-block-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    transition: opacity var(--transition-base), transform var(--transition-slow);
}

.category-block:hover .category-block-bg {
    opacity: 0.5;
    transform: scale(1.1);
}

.category-block-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, var(--card-bg) 0%, transparent 100%);
}

.category-block-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.category-block-name {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    margin-bottom: var(--space-2);
}

.category-block-count {
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

/* ========================================
   LATEST ARTICLES
   ======================================== */

.latest-section {
    padding: var(--space-20) 0;
}

.latest-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

/* ========================================
   NEWSLETTER
   ======================================== */

.newsletter-section {
    padding: var(--space-20) 0;
    background-color: var(--muted);
}

.newsletter-inner {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-title {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    margin-bottom: var(--space-4);
}

.newsletter-description {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    margin-bottom: var(--space-8);
}

.newsletter-form {
    display: flex;
    gap: var(--space-4);
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: var(--space-4) var(--space-6);
    font-size: var(--text-base);
    color: var(--text);
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 4px;
    transition: border-color var(--transition-fast);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--accent);
}

.newsletter-input::placeholder {
    color: var(--text-secondary);
}

/* ========================================
   BUTTONS
   ======================================== */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: var(--space-4) var(--space-8);
    border-radius: 4px;
    transition: background-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.button-primary {
    background-color: var(--accent);
    color: #ffffff;
}

.button-primary:hover {
    background-color: #b89a55;
    color: #ffffff;
    transform: translateY(-2px);
}

.button-secondary {
    background-color: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}

.button-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.button svg {
    width: 16px;
    height: 16px;
}

/* ========================================
   FORMS
   ======================================== */

input[type="text"],
input[type="email"],
input[type="search"],
textarea {
    width: 100%;
    padding: var(--space-4);
    font-size: var(--text-base);
    color: var(--text);
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 4px;
    transition: border-color var(--transition-fast);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="search"]:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent);
}

/* ========================================
   SEARCH
   ======================================== */

.search-form {
    position: relative;
}

.search-input-wrapper {
    position: relative;
}

.search-input-wrapper svg {
    position: absolute;
    left: var(--space-4);
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--text-secondary);
}

.search-input-wrapper input {
    padding-left: var(--space-12);
}

/* ========================================
   FOOTER
   ======================================== */

.site-footer {
    padding: var(--space-16) 0 var(--space-8);
    background-color: var(--muted);
    border-top: 1px solid var(--border);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-12);
    margin-bottom: var(--space-12);
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    height: 28px;
    width: auto;
    margin-bottom: var(--space-4);
}

.footer-tagline {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin-bottom: var(--space-6);
}

.footer-social {
    display: flex;
    gap: var(--space-3);
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--card-bg);
    color: var(--text);
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

.footer-social a:hover {
    background-color: var(--accent);
    color: #ffffff;
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

.footer-column h4 {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-6);
}

.footer-menu {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer-menu a {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.footer-menu a:hover {
    color: var(--accent);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-8);
    border-top: 1px solid var(--border);
}

.footer-copyright {
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.footer-legal {
    display: flex;
    gap: var(--space-6);
}

.footer-legal a {
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.footer-legal a:hover {
    color: var(--accent);
}

/* ========================================
   PAGE HEADER
   ======================================== */

.page-header {
    padding: var(--space-16) 0 var(--space-8);
    text-align: center;
    border-bottom: 1px solid var(--border);
    margin-bottom: var(--space-12);
}

.page-title {
    font-size: var(--text-5xl);
    margin-bottom: var(--space-4);
}

.page-description {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   SINGLE POST
   ======================================== */

.single-header {
    max-width: 800px;
    margin: 0 auto var(--space-12);
    text-align: center;
}

.single-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.single-category {
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
}

.single-date {
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.single-title {
    font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
    margin-bottom: var(--space-6);
    line-height: 1.15;
}

.single-excerpt {
    font-size: var(--text-xl);
    color: var(--text-secondary);
    line-height: 1.6;
}

.single-featured-image {
    margin-bottom: var(--space-12);
}

.single-featured-image img {
    width: 100%;
    aspect-ratio: 21 / 9;
    object-fit: cover;
}

.single-content {
    max-width: 700px;
    margin: 0 auto;
}

.single-content h2 {
    font-size: var(--text-2xl);
    margin-top: var(--space-12);
    margin-bottom: var(--space-6);
}

.single-content h3 {
    font-size: var(--text-xl);
    margin-top: var(--space-10);
    margin-bottom: var(--space-4);
}

.single-content p {
    margin-bottom: var(--space-6);
}

.single-content blockquote {
    margin: var(--space-10) 0;
    padding: var(--space-6) var(--space-8);
    border-left: 3px solid var(--accent);
    background-color: var(--muted);
}

.single-content blockquote p {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-style: italic;
    color: var(--text);
    margin-bottom: 0;
}

.single-content ul,
.single-content ol {
    margin-bottom: var(--space-6);
    padding-left: var(--space-6);
}

.single-content ul li {
    list-style: disc;
    margin-bottom: var(--space-2);
}

.single-content ol li {
    list-style: decimal;
    margin-bottom: var(--space-2);
}

/* ========================================
   ARCHIVE & SEARCH
   ======================================== */

.archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.search-no-results {
    text-align: center;
    padding: var(--space-20) 0;
}

.search-no-results h2 {
    margin-bottom: var(--space-4);
}

/* ========================================
   404 PAGE
   ======================================== */

.error-404 {
    text-align: center;
    padding: var(--space-24) 0;
}

.error-code {
    font-family: var(--font-heading);
    font-size: clamp(var(--text-5xl), 15vw, 12rem);
    line-height: 1;
    color: var(--accent);
    margin-bottom: var(--space-6);
}

.error-title {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-4);
}

.error-message {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    margin-bottom: var(--space-8);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   SIDEBAR
   ======================================== */

.sidebar {
    padding: var(--space-6);
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 4px;
}

.widget {
    margin-bottom: var(--space-8);
}

.widget:last-child {
    margin-bottom: 0;
}

.widget-title {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-3);
    border-bottom: 1px solid var(--border);
}

.widget ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.widget ul li a {
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.widget ul li a:hover {
    color: var(--accent);
}

/* ========================================
   PAGINATION
   ======================================== */

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    margin-top: var(--space-12);
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 var(--space-4);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text);
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 4px;
    transition: background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}

.pagination a:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.pagination .current {
    background-color: var(--accent);
    border-color: var(--accent);
    color: #ffffff;
}

/* ========================================
   ACCESSIBILITY
   ======================================== */

.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    padding: var(--space-4) var(--space-8);
    background-color: var(--accent);
    color: #ffffff;
    font-weight: 600;
    z-index: 9999;
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: var(--space-4);
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus visible styles */
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Reduced motion */
@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;
    }
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
    .featured-grid,
    .latest-grid,
    .archive-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 60px;
    }
    
    .primary-nav {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: var(--bg);
        border-bottom: 1px solid var(--border);
        padding: var(--space-6);
    }
    
    .primary-nav.is-open {
        display: block;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: var(--space-4);
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .featured-grid,
    .latest-grid,
    .archive-grid {
        grid-template-columns: 1fr;
    }
    
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .card-horizontal {
        grid-template-columns: 1fr;
    }
    
    .card-horizontal .card-image {
        aspect-ratio: 16 / 10;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-4);
        text-align: center;
    }
    
    .section {
        padding: var(--space-12) 0;
    }
    
    h1 {
        font-size: var(--text-4xl);
    }
    
    h2 {
        font-size: var(--text-3xl);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-4);
    }
    
    .category-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-cta {
        width: 100%;
        justify-content: center;
    }
}

/* ========================================
   UTILITIES
   ======================================== */

.hidden {
    display: none !important;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mt-4 {
    margin-top: var(--space-4);
}

.mt-6 {
    margin-top: var(--space-6);
}

.mt-8 {
    margin-top: var(--space-8);
}

.mb-4 {
    margin-bottom: var(--space-4);
}

.mb-6 {
    margin-bottom: var(--space-6);
}

.mb-8 {
    margin-bottom: var(--space-8);
}
/* ===========================
   LUXELLE EDITORIAL HERO
=========================== */

.hero-section {
    position: relative;
    width: 100%;
    height: 90vh;
    overflow: hidden;
}

.lux-hero {
    width: 100%;
    height: 100%;
    position: relative;
}

.lux-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lux-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.75),
        rgba(0,0,0,0.2)
    );
}

.lux-hero-content {
    position: absolute;
    bottom: 80px;
    left: 80px;
    max-width: 680px;
    color: #fff;
    z-index: 3;
}

.lux-hero-category {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    opacity: 0.9;
}

.lux-hero-date {
    display: block;
    font-size: 12px;
    opacity: 0.8;
    margin-top: 6px;
}

.lux-hero-title {
    font-size: 64px;
    line-height: 1.05;
    margin: 20px 0;
}

.lux-hero-excerpt {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 25px;
}

.lux-hero-btn {
    display: inline-block;
    padding: 12px 26px;
    border: 1px solid #fff;
    color: #fff;
    text-decoration: none;
    transition: all .3s ease;
}

.lux-hero-btn:hover {
    background: #fff;
    color: #000;
}

/* Mobile */
@media(max-width: 900px) {
    .lux-hero-content {
        left: 30px;
        right: 30px;
        bottom: 40px;
    }

    .lux-hero-title {
        font-size: 36px;
    }
}
