/*
Theme Name: EOnlineStyle Entertainment
Theme URI: https://whatpeoplesee.com
Author: Mine Marketing Ltd
Author URI: https://mine-marketing.com
Description: Bold entertainment magazine theme inspired by E! Online - Celebrity news, entertainment, and pop culture with vibrant design
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: eonlinestyle
Tags: entertainment, magazine, celebrity, bold, responsive, featured-images, video

EOnlineStyle - Entertainment Magazine Theme
*/

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

:root {
    /* E! Online-Inspired Color Palette */
    --color-primary: #FF1493;        /* Deep Pink / Magenta */
    --color-primary-dark: #D10078;   /* Darker pink */
    --color-secondary: #000000;      /* Black */
    --color-accent: #FFD700;         /* Gold accent */
    --color-text: #1a1a1a;
    --color-text-light: #666666;
    --color-border: #e0e0e0;
    --color-bg: #ffffff;
    --color-bg-light: #f9f9f9;
    --color-bg-dark: #f0f0f0;
    --color-overlay: rgba(0, 0, 0, 0.7);
    
    /* Typography */
    --font-primary: 'Montserrat', -apple-system, sans-serif;
    --font-secondary: 'Open Sans', sans-serif;
    --font-accent: 'Playfair Display', Georgia, serif;
    
    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 12px;
    --spacing-md: 20px;
    --spacing-lg: 30px;
    --spacing-xl: 40px;
    --spacing-xxl: 60px;
    
    /* Layout */
    --max-width: 1400px;
    --content-width: 900px;
}

body {
    font-family: var(--font-secondary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    color: var(--color-secondary);
    text-transform: uppercase;
}

h1 { font-size: 42px; letter-spacing: -0.5px; }
h2 { font-size: 32px; }
h3 { font-size: 24px; }
h4 { font-size: 20px; }
h5 { font-size: 18px; }
h6 { font-size: 16px; }

p {
    margin-bottom: var(--spacing-md);
    font-size: 16px;
    line-height: 1.7;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--color-primary-dark);
}

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

/* ===========================
   HEADER
   =========================== */
.site-header {
    background: var(--color-secondary);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.header-top {
    background: var(--color-primary);
    padding: 8px 0;
    text-align: center;
}

.header-top-message {
    color: #ffffff;
    font-family: var(--font-primary);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.header-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.site-branding {
    text-align: center;
    padding: var(--spacing-lg) 0;
}

.site-title {
    font-family: var(--font-primary);
    font-size: 64px;
    font-weight: 900;
    margin: 0;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.site-title a {
    color: var(--color-primary);
    text-shadow: 0 0 20px rgba(255, 20, 147, 0.5);
}

.site-title a:hover {
    color: #ffffff;
}

.site-description {
    font-family: var(--font-secondary);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #999999;
    margin-top: 5px;
}

/* Navigation */
.main-navigation {
    background: rgba(0, 0, 0, 0.9);
    border-top: 3px solid var(--color-primary);
}

.main-navigation ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0;
}

.main-navigation li {
    margin: 0;
}

.main-navigation a {
    display: block;
    padding: 16px 24px;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
    transition: all 0.3s ease;
}

.main-navigation a:hover,
.main-navigation .current-menu-item a {
    background: var(--color-primary);
    color: #ffffff;
}

/* ===========================
   HERO SECTION
   =========================== */
.hero-section {
    margin-bottom: var(--spacing-xl);
    position: relative;
}

.hero-featured {
    position: relative;
    height: 600px;
    overflow: hidden;
    background: var(--color-secondary);
}

.hero-featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--spacing-xl);
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, transparent 100%);
}

.hero-category {
    display: inline-block;
    background: var(--color-primary);
    color: #ffffff;
    font-family: var(--font-primary);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 8px 16px;
    margin-bottom: var(--spacing-sm);
}

.hero-title {
    font-size: 52px;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: var(--spacing-md);
    text-transform: none;
}

.hero-title a {
    color: #ffffff;
}

.hero-title a:hover {
    color: var(--color-primary);
}

.hero-excerpt {
    font-size: 18px;
    color: #ffffff;
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
    max-width: 800px;
}

.hero-meta {
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #cccccc;
}

/* ===========================
   LAYOUT
   =========================== */
.site-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--spacing-xl) var(--spacing-md);
}

.content-area {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: var(--spacing-xl);
}

.main-content {
    min-width: 0;
}

/* ===========================
   TRENDING BAR
   =========================== */
.trending-bar {
    background: var(--color-primary);
    padding: var(--spacing-md) 0;
    margin-bottom: var(--spacing-xl);
}

.trending-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.trending-label {
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #ffffff;
    white-space: nowrap;
}

.trending-items {
    display: flex;
    gap: var(--spacing-lg);
    overflow-x: auto;
    scrollbar-width: none;
}

.trending-items::-webkit-scrollbar {
    display: none;
}

.trending-item a {
    font-family: var(--font-secondary);
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
}

.trending-item a:hover {
    text-decoration: underline;
}

/* ===========================
   FEATURED GRID
   =========================== */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.featured-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.featured-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.featured-card-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.featured-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.featured-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--spacing-md);
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
}

.card-category {
    display: inline-block;
    background: var(--color-primary);
    color: #ffffff;
    font-family: var(--font-primary);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 10px;
    margin-bottom: 8px;
}

.featured-card-title {
    font-size: 18px;
    line-height: 1.3;
    color: #ffffff;
    margin: 0;
}

.featured-card-title a {
    color: #ffffff;
}

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

/* ===========================
   MAGAZINE GRID
   =========================== */
.magazine-section {
    margin-bottom: var(--spacing-xxl);
}

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-sm);
    border-bottom: 4px solid var(--color-primary);
}

.section-title {
    font-size: 28px;
    font-weight: 900;
    color: var(--color-secondary);
    margin: 0;
}

.section-link {
    margin-left: auto;
    font-family: var(--font-primary);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-primary);
}

.magazine-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
}

.magazine-card {
    display: flex;
    gap: var(--spacing-md);
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid var(--color-border);
}

.magazine-card-image {
    flex-shrink: 0;
    width: 200px;
    height: 150px;
    overflow: hidden;
    border-radius: 4px;
}

.magazine-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.magazine-card-content {
    flex: 1;
}

.magazine-card-category {
    font-family: var(--font-primary);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.magazine-card-title {
    font-size: 20px;
    line-height: 1.3;
    margin-bottom: var(--spacing-xs);
}

.magazine-card-excerpt {
    font-size: 14px;
    line-height: 1.5;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-xs);
}

.magazine-card-meta {
    font-family: var(--font-primary);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #999999;
}

/* ===========================
   SIDEBAR
   =========================== */
.sidebar {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.widget {
    background: var(--color-bg-light);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    border-radius: 8px;
    border: 1px solid var(--color-border);
}

.widget-title {
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 3px solid var(--color-primary);
}

.widget ul {
    list-style: none;
}

.widget li {
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--color-border);
}

.widget li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Popular Widget */
.popular-post {
    display: flex;
    gap: var(--spacing-sm);
}

.popular-post-number {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    background: var(--color-primary);
    color: #ffffff;
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.popular-post-content {
    flex: 1;
}

.popular-post-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 4px;
}

.popular-post-meta {
    font-size: 11px;
    color: var(--color-text-light);
}

/* Social Widget */
.social-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm);
    background: var(--color-secondary);
    color: #ffffff;
    font-family: var(--font-primary);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--color-primary);
    transform: translateY(-2px);
}

/* ===========================
   SINGLE POST
   =========================== */
.single .main-content {
    max-width: var(--content-width);
}

.article-header {
    max-width: 800px;
    margin: 0 auto var(--spacing-xl);
}

.article-category {
    display: inline-block;
    background: var(--color-primary);
    color: #ffffff;
    font-family: var(--font-primary);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 8px 16px;
    margin-bottom: var(--spacing-md);
}

.article-title {
    font-size: 48px;
    line-height: 1.1;
    font-weight: 900;
    margin-bottom: var(--spacing-md);
}

.article-excerpt {
    font-size: 20px;
    line-height: 1.5;
    color: var(--color-text);
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
}

.article-meta {
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-light);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding-bottom: var(--spacing-lg);
    border-bottom: 2px solid var(--color-border);
}

.article-author {
    color: var(--color-primary);
    font-weight: 800;
}

.article-featured-image {
    margin: var(--spacing-xl) 0;
    border-radius: 8px;
    overflow: hidden;
}

.article-featured-image img {
    width: 100%;
    height: auto;
}

.image-caption {
    font-family: var(--font-secondary);
    font-size: 13px;
    line-height: 1.4;
    color: var(--color-text-light);
    margin-top: var(--spacing-sm);
    padding: var(--spacing-sm);
    background: var(--color-bg-light);
    border-left: 4px solid var(--color-primary);
}

/* Article Content */
.article-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.8;
}

.article-content p {
    margin-bottom: 1.5em;
}

.article-content h2 {
    font-size: 32px;
    margin-top: 2em;
    margin-bottom: 0.5em;
}

.article-content h3 {
    font-size: 26px;
    margin-top: 1.5em;
    margin-bottom: 0.4em;
}

.article-content blockquote {
    margin: 2em 0;
    padding: var(--spacing-lg);
    background: var(--color-bg-light);
    border-left: 6px solid var(--color-primary);
    font-family: var(--font-accent);
    font-size: 22px;
    font-style: italic;
    line-height: 1.6;
    color: var(--color-text);
}

.article-content img {
    margin: 2em auto;
    border-radius: 8px;
}

.article-content ul,
.article-content ol {
    margin: 1.5em 0;
    padding-left: 2em;
}

.article-content li {
    margin-bottom: 0.5em;
}

/* Social Share */
.social-share {
    max-width: 800px;
    margin: var(--spacing-xl) auto;
    padding: var(--spacing-lg);
    background: var(--color-bg-light);
    border-radius: 8px;
    text-align: center;
}

.social-share-title {
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: var(--spacing-md);
}

.social-share-buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
}

.share-button {
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--color-secondary);
    color: #ffffff;
    font-family: var(--font-primary);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.share-button:hover {
    background: var(--color-primary);
}

/* Tags */
.article-tags {
    max-width: 800px;
    margin: var(--spacing-lg) auto;
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--color-border);
}

.article-tags strong {
    font-family: var(--font-primary);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-right: var(--spacing-sm);
}

.tag-link {
    display: inline-block;
    padding: 6px 12px;
    margin: 4px;
    background: var(--color-bg-dark);
    color: var(--color-text);
    font-family: var(--font-primary);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 20px;
    transition: all 0.2s ease;
}

.tag-link:hover {
    background: var(--color-primary);
    color: #ffffff;
}

/* Related Articles */
.related-articles {
    max-width: 800px;
    margin: var(--spacing-xxl) auto 0;
    padding-top: var(--spacing-xl);
    border-top: 3px solid var(--color-primary);
}

.related-articles h3 {
    font-size: 28px;
    margin-bottom: var(--spacing-lg);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.related-article {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.related-article .post-thumbnail {
    height: 180px;
    overflow: hidden;
}

.related-article .post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.related-article:hover .post-thumbnail img {
    transform: scale(1.1);
}

.related-article-content {
    padding: var(--spacing-md);
    background: var(--color-bg-light);
}

.related-article .entry-title {
    font-size: 16px;
    line-height: 1.3;
    margin: 0;
}

/* ===========================
   ARCHIVE / CATEGORY PAGES
   =========================== */
.archive-header {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: #ffffff;
    padding: var(--spacing-xxl) var(--spacing-md);
    margin-bottom: var(--spacing-xl);
    text-align: center;
}

.archive-title {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: var(--spacing-sm);
    color: #ffffff;
}

.archive-description {
    font-size: 18px;
    line-height: 1.5;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

.archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.archive-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.archive-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.archive-card-image {
    height: 220px;
    overflow: hidden;
}

.archive-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.archive-card-content {
    padding: var(--spacing-md);
    background: var(--color-bg);
}

.archive-card-category {
    font-family: var(--font-primary);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-primary);
    margin-bottom: var(--spacing-xs);
}

.archive-card-title {
    font-size: 20px;
    line-height: 1.3;
    margin-bottom: var(--spacing-sm);
}

.archive-card-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-sm);
}

.archive-card-meta {
    font-family: var(--font-primary);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #999999;
}

/* ===========================
   FOOTER
   =========================== */
.site-footer {
    background: var(--color-secondary);
    color: #ffffff;
    padding: var(--spacing-xxl) 0 var(--spacing-lg);
    margin-top: var(--spacing-xxl);
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-widget h3 {
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: var(--spacing-md);
    color: var(--color-primary);
}

.footer-widget ul {
    list-style: none;
}

.footer-widget li {
    margin-bottom: var(--spacing-xs);
}

.footer-widget a {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-widget a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
}

.footer-logo {
    font-family: var(--font-primary);
    font-size: 32px;
    font-weight: 900;
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.copyright {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1200px) {
    .content-area {
        grid-template-columns: 1fr 300px;
    }
    
    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .magazine-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {
    .content-area {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: static;
        margin-top: var(--spacing-xl);
    }
    
    .archive-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-widgets {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .site-title {
        font-size: 42px;
    }
    
    .main-navigation ul {
        flex-direction: column;
    }
    
    .main-navigation a {
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .hero-featured {
        height: 400px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
    }
    
    .magazine-card {
        flex-direction: column;
    }
    
    .magazine-card-image {
        width: 100%;
        height: 200px;
    }
    
    .archive-grid {
        grid-template-columns: 1fr;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .article-title {
        font-size: 32px;
    }
    
    .footer-widgets {
        grid-template-columns: 1fr;
    }
}

/* ===========================
   UTILITY CLASSES
   =========================== */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.alignleft {
    float: left;
    margin-right: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.alignright {
    float: right;
    margin-left: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 13px;
    color: var(--color-text-light);
    margin-top: var(--spacing-xs);
    text-align: center;
}

/* Scroll to top button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--color-primary-dark);
    transform: translateY(-5px);
}


/* ===========================
   POLISH: TICKER BAR — NICHE-AGNOSTIC
   Added 2026-03-02 by frontend-dev-4
   =========================== */
.header-top {
    overflow: hidden;
    white-space: nowrap;
}

.header-top-message {
    display: inline-block;
    animation: ticker-scroll-eonline 18s linear infinite;
    padding-left: 100%;
}

.header-top:hover .header-top-message {
    animation-play-state: paused;
}

@keyframes ticker-scroll-eonline {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* ===========================
   POLISH: MAGAZINE CARD HOVER
   =========================== */
.magazine-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    border-radius: 6px;
    padding: var(--spacing-md);
    margin-bottom: 0;
}

.magazine-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    background-color: var(--color-bg-light);
}

.magazine-card-title a {
    transition: color 0.2s ease;
}

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

/* ===========================
   POLISH: FEATURED CARD OVERLAY READABILITY
   =========================== */
.featured-card-overlay {
    padding: var(--spacing-lg) var(--spacing-md);
    background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
}

/* ===========================
   POLISH: SIDEBAR WIDGET HOVER
   =========================== */
.popular-post {
    transition: background-color 0.2s ease;
    padding: var(--spacing-xs);
    border-radius: 4px;
}

.popular-post:hover {
    background-color: rgba(0, 0, 0, 0.03);
}

.popular-post-title a {
    transition: color 0.2s ease;
}

.popular-post-title a:hover {
    color: var(--color-primary);
}

/* ===========================
   POLISH: MOBILE — HAMBURGER MENU
   =========================== */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: relative;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
    display: block;
    width: 24px;
    height: 2px;
    background: #ffffff;
    transition: all 0.3s ease;
    position: absolute;
}

.menu-toggle span::before {
    content: '';
    top: -7px;
}

.menu-toggle span::after {
    content: '';
    top: 7px;
}

.menu-toggle.active span {
    background: transparent;
}

.menu-toggle.active span::before {
    top: 0;
    transform: rotate(45deg);
}

.menu-toggle.active span::after {
    top: 0;
    transform: rotate(-45deg);
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.97);
        z-index: 999;
        border-top: 3px solid var(--color-primary);
    }

    .main-navigation.active {
        display: block;
    }

    .main-navigation ul {
        flex-direction: column;
        align-items: stretch;
    }

    .main-navigation a {
        padding: 14px 24px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .main-navigation a:active {
        background: var(--color-primary);
    }
}

/* ===========================
   POLISH: MOBILE — TICKER BAR
   =========================== */
@media (max-width: 480px) {
    .header-top {
        padding: 5px 0;
        font-size: 11px;
    }

    .header-top-message {
        animation-duration: 12s;
    }
}

/* ===========================
   POLISH: MOBILE — HERO + TYPOGRAPHY
   =========================== */
@media (max-width: 480px) {
    .site-title {
        font-size: 28px;
        letter-spacing: 1px;
    }

    .site-description {
        font-size: 11px;
        letter-spacing: 1px;
    }

    .hero-featured {
        height: 300px;
    }

    .hero-title {
        font-size: 24px;
    }

    .hero-excerpt {
        font-size: 14px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .hero-category {
        font-size: 10px;
        padding: 5px 10px;
    }

    .article-title {
        font-size: 26px;
    }

    .section-title {
        font-size: 22px;
    }

    .featured-card-image {
        height: 200px;
    }

    .magazine-card-image {
        height: 160px;
    }

    .footer-widgets {
        gap: var(--spacing-lg);
    }

    .footer-logo {
        font-size: 24px;
    }
}

/* ===========================
   POLISH: MOBILE — TRENDING BAR
   =========================== */
@media (max-width: 768px) {
    .trending-bar {
        padding: var(--spacing-sm) 0;
    }

    .trending-container {
        flex-wrap: nowrap;
        overflow-x: auto;
    }

    .trending-label {
        font-size: 12px;
        flex-shrink: 0;
    }

    .trending-items {
        gap: var(--spacing-md);
    }

    .trending-item a {
        font-size: 13px;
    }
}

/* ===========================
   POLISH: SMOOTH SCROLL & FOCUS STATES
   =========================== */
html {
    scroll-behavior: smooth;
}

a:focus-visible,
button:focus-visible,
.menu-toggle:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* ===========================
   POLISH: ARCHIVE PAGE CARD LIFT
   =========================== */
.archive-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.archive-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

/* ===========================
   ACCESSIBILITY: REDUCED MOTION
   =========================== */
@media (prefers-reduced-motion: reduce) {
    .header-top-message {
        animation: none;
        padding-left: 0;
    }

    .featured-card:hover,
    .magazine-card:hover,
    .archive-card:hover {
        transform: none;
    }

    .featured-card-image img,
    .magazine-card-image img,
    .archive-card-image img {
        transition: none;
    }

    .featured-card:hover .featured-card-image img,
    .magazine-card:hover .magazine-card-image img,
    .archive-card:hover .archive-card-image img {
        transform: none;
    }

    .scroll-to-top:hover {
        transform: none;
    }

    html {
        scroll-behavior: auto;
    }
}

/* === ENVATO PREMIUM CSS PATCH - Tue Mar  3 00:03:59 UTC 2026 === */
/*
 * EOnlineStyle — $20K Envato-Quality CSS Overhaul
 * Target sites: moxietrail.com, queriesdaily.com
 * Version: 2.0.0
 *
 * Append AFTER the base style.css and any prior patches.
 * This file is the definitive premium polish layer.
 *
 * Sections:
 *  1.  CSS Custom Properties (extended)
 *  2.  Base Typography & Spacing
 *  3.  Ticker Bar — smooth infinite marquee
 *  4.  Header & Navigation — premium sticky bar
 *  5.  Hero Section — cinematic gradient overlay
 *  6.  Featured Cards — 3-up grid below hero
 *  7.  Magazine Card Grid — consistent heights
 *  8.  Category Section Separators
 *  9.  Sidebar — premium widget cards
 * 10.  Single Post — editorial reading experience
 * 11.  Related Articles — grid layout
 * 12.  Share Buttons — inline social bar
 * 13.  Footer — premium dark layout
 * 14.  Pagination — modern pill buttons
 * 15.  Mobile Hamburger — animated 3-line to X
 * 16.  Responsive: 1024px / 768px / 480px
 * 17.  Focus-Visible Outlines
 * 18.  Prefers-Reduced-Motion
 * 19.  Print Styles
 * 20.  Smooth Load Animation
 */

/* ==========================================================================
   1. CSS CUSTOM PROPERTIES — extended design tokens
   ========================================================================== */

:root {
    /* Primary palette — niche-adaptive via WP Customizer */
    --eo-primary: var(--color-primary, #FF1493);
    --eo-primary-dark: var(--color-primary-dark, #D10078);
    --eo-primary-light: color-mix(in srgb, var(--eo-primary) 20%, white);
    --eo-accent: var(--color-accent, #FFD700);
    --eo-text: #1a1a1a;
    --eo-text-secondary: #555;
    --eo-text-muted: #888;
    --eo-bg: #ffffff;
    --eo-bg-alt: #f7f8fa;
    --eo-bg-dark: #111;
    --eo-border: #e5e7eb;
    --eo-border-light: rgba(0, 0, 0, 0.04);

    /* Shadows — 6-tier elevation scale */
    --eo-shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
    --eo-shadow-sm: 0 2px 6px rgba(0,0,0,0.06);
    --eo-shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --eo-shadow-lg: 0 8px 24px rgba(0,0,0,0.1);
    --eo-shadow-xl: 0 12px 36px rgba(0,0,0,0.14);
    --eo-shadow-card-hover: 0 16px 40px rgba(0,0,0,0.12);

    /* Typography */
    --eo-font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --eo-font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --eo-font-accent: 'Playfair Display', Georgia, serif;

    /* Spacing — 8px grid */
    --eo-space-1: 4px;
    --eo-space-2: 8px;
    --eo-space-3: 12px;
    --eo-space-4: 16px;
    --eo-space-5: 20px;
    --eo-space-6: 24px;
    --eo-space-8: 32px;
    --eo-space-10: 40px;
    --eo-space-12: 48px;
    --eo-space-16: 64px;

    /* Radii */
    --eo-radius-sm: 4px;
    --eo-radius: 8px;
    --eo-radius-lg: 12px;
    --eo-radius-xl: 16px;

    /* Transitions */
    --eo-transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --eo-transition-fast: 0.15s ease;
    --eo-transition-slow: 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ==========================================================================
   2. BASE TYPOGRAPHY & SPACING
   ========================================================================== */

body {
    font-family: var(--eo-font-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: var(--eo-text);
    line-height: 1.65;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--eo-font-heading);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

/* Section headings — accent underline */
.content-section .section-header,
.section-title,
h2.section-heading {
    position: relative;
    padding-bottom: 0.75rem;
    margin-bottom: 1.75rem;
}

.content-section .section-header::after,
.section-title::after,
h2.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--eo-primary);
    border-radius: 2px;
}

/* ==========================================================================
   3. TICKER BAR — smooth infinite marquee with edge fades
   ========================================================================== */

.header-top {
    overflow: hidden;
    position: relative;
    background: var(--eo-bg-dark);
    padding: 6px 0;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: rgba(255,255,255,0.85);
}

.header-top-message,
.header-top .ticker-text {
    display: inline-flex;
    gap: 2.5rem;
    white-space: nowrap;
    animation: eo-ticker-scroll 30s linear infinite;
    will-change: transform;
}

@keyframes eo-ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.header-top:hover .header-top-message,
.header-top:hover .ticker-text,
.header-top:focus-within .header-top-message,
.header-top:focus-within .ticker-text {
    animation-play-state: paused;
}

/* Fade edges */
.header-top::before,
.header-top::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 60px;
    z-index: 3;
    pointer-events: none;
}

.header-top::before {
    left: 0;
    background: linear-gradient(to right, var(--eo-bg-dark), transparent);
}

.header-top::after {
    right: 0;
    background: linear-gradient(to left, var(--eo-bg-dark), transparent);
}

/* Ticker label badge */
.header-top .ticker-label,
.header-top > span:first-child {
    background: var(--eo-primary);
    color: #fff;
    padding: 2px 10px;
    border-radius: 2px;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-right: 1rem;
    position: relative;
    z-index: 4;
    flex-shrink: 0;
}

/* Ticker item separators */
.header-top-message a + a::before,
.ticker-text a + a::before {
    content: '\2022';
    margin-right: 2.5rem;
    opacity: 0.35;
    font-size: 0.6rem;
}

/* ==========================================================================
   4. HEADER & NAVIGATION — premium sticky bar
   ========================================================================== */

.site-header {
    background: var(--eo-bg);
    border-bottom: 1px solid var(--eo-border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--eo-shadow-xs);
    transition: box-shadow var(--eo-transition);
}

.site-header.scrolled {
    box-shadow: var(--eo-shadow-md);
}

/* Logo area */
.site-branding .site-title a,
.site-branding a {
    font-family: var(--eo-font-heading);
    font-weight: 900;
    font-size: 1.6rem;
    letter-spacing: -0.03em;
    color: var(--eo-text);
    text-decoration: none;
    transition: color var(--eo-transition);
}

.site-branding .site-title a:hover {
    color: var(--eo-primary);
}

/* Navigation links */
.main-navigation li a,
.site-navigation li a {
    font-family: var(--eo-font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--eo-text);
    padding: 0.5rem 0;
    margin: 0 0.85rem;
    border-bottom: 2px solid transparent;
    transition: color var(--eo-transition), border-color var(--eo-transition);
    text-decoration: none;
    position: relative;
}

.main-navigation li a:hover,
.site-navigation li a:hover,
.main-navigation li.current-menu-item a,
.site-navigation li.current-menu-item a {
    color: var(--eo-primary);
    border-bottom-color: var(--eo-primary);
}

/* Search toggle */
.search-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: background-color var(--eo-transition);
}

.search-toggle:hover {
    background: var(--eo-bg-alt);
}

/* ==========================================================================
   5. HERO SECTION — cinematic gradient overlay
   ========================================================================== */

.hero-section,
.featured-hero,
.hero-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 0 0 var(--eo-radius-lg) var(--eo-radius-lg);
}

/* Multi-stop gradient for text readability */
.hero-section::after,
.featured-hero::after,
.hero-wrap::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70%;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.75) 0%,
        rgba(0, 0, 0, 0.55) 30%,
        rgba(0, 0, 0, 0.2) 60%,
        transparent 100%
    );
    pointer-events: none;
    z-index: 1;
}

/* Hero content — ensure z-index above gradient */
.hero-section .hero-content,
.featured-hero .hero-content,
.hero-section .featured-content,
.featured-hero .featured-content,
.hero-wrap .hero-content {
    position: relative;
    z-index: 2;
    padding: var(--eo-space-10) var(--eo-space-8);
}

/* Hero titles */
.hero-section .hero-title,
.hero-section .featured-title,
.featured-hero .hero-title,
.featured-hero .featured-title,
.hero-wrap .hero-title {
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 900;
    line-height: 1.15;
    max-width: 800px;
}

/* Hero excerpt */
.hero-section .hero-excerpt,
.featured-hero .hero-excerpt,
.hero-wrap .hero-excerpt {
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
    color: rgba(255, 255, 255, 0.88);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 640px;
    margin-top: var(--eo-space-3);
}

/* Hero category badge */
.hero-section .category-badge,
.featured-hero .category-badge,
.hero-wrap .category-badge {
    position: relative;
    z-index: 2;
    background: var(--eo-primary);
    color: #fff;
    padding: 4px 14px;
    border-radius: 2px;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: inline-block;
    margin-bottom: var(--eo-space-3);
}

/* Hero meta (date, author) */
.hero-section .hero-meta,
.featured-hero .hero-meta,
.hero-wrap .hero-meta {
    position: relative;
    z-index: 2;
    color: rgba(255,255,255,0.65);
    font-size: 0.82rem;
    margin-top: var(--eo-space-4);
}

/* Hero image — Ken Burns subtle zoom */
.hero-section img,
.featured-hero img,
.hero-wrap > img,
.hero-wrap > a > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 8s ease;
}

.hero-section:hover img,
.featured-hero:hover img,
.hero-wrap:hover > img {
    transform: scale(1.03);
}

/* ==========================================================================
   6. FEATURED CARDS — 3-up grid below hero
   ========================================================================== */

.featured-grid,
.featured-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--eo-space-5);
    margin: calc(-1 * var(--eo-space-12)) var(--eo-space-8) var(--eo-space-10);
    position: relative;
    z-index: 5;
}

.featured-card {
    background: var(--eo-bg);
    border-radius: var(--eo-radius);
    overflow: hidden;
    box-shadow: var(--eo-shadow-md);
    transition: transform var(--eo-transition), box-shadow var(--eo-transition);
    position: relative;
}

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

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

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

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

.featured-card-content {
    padding: var(--eo-space-4) var(--eo-space-5) var(--eo-space-5);
}

.featured-card-content .category-badge {
    font-size: 0.6rem;
    margin-bottom: var(--eo-space-2);
}

.featured-card-title a {
    font-family: var(--eo-font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--eo-text);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-card:hover .featured-card-title a {
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}

/* ==========================================================================
   7. MAGAZINE CARD GRID — consistent heights with CSS Grid
   ========================================================================== */

.magazine-grid,
.content-grid,
.archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--eo-space-6);
    align-items: start;
}

.magazine-card,
.archive-card,
.related-card {
    background: var(--eo-bg);
    border-radius: var(--eo-radius);
    overflow: hidden;
    box-shadow: var(--eo-shadow-sm);
    border: 1px solid var(--eo-border-light);
    transition: transform var(--eo-transition), box-shadow var(--eo-transition), border-color var(--eo-transition);
    display: flex;
    flex-direction: column;
}

.magazine-card:hover,
.archive-card:hover,
.related-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--eo-shadow-card-hover);
    border-color: transparent;
}

/* Card image container */
.magazine-card-image,
.archive-card-image,
.related-card-image {
    overflow: hidden;
    aspect-ratio: 16/10;
    flex-shrink: 0;
}

.magazine-card-image img,
.archive-card-image img,
.related-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--eo-transition-slow);
    background: linear-gradient(135deg, #e8ecf1 0%, #d8dce2 100%);
}

.magazine-card:hover .magazine-card-image img,
.archive-card:hover .archive-card-image img,
.related-card:hover .related-card-image img {
    transform: scale(1.05);
}

/* Card content area */
.magazine-card-content,
.archive-card-content,
.related-card-content {
    padding: var(--eo-space-4) var(--eo-space-5) var(--eo-space-5);
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Category badge */
.magazine-card-category,
.category-badge {
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 3px 10px;
    border-radius: 2px;
    background: var(--eo-primary);
    color: #fff;
    display: inline-block;
    margin-bottom: var(--eo-space-2);
    transition: filter var(--eo-transition-fast);
    align-self: flex-start;
}

.magazine-card-category:hover,
.category-badge:hover {
    filter: brightness(0.88);
}

/* Card title */
.magazine-card-title a,
.card-title a,
.archive-card-title a {
    font-family: var(--eo-font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--eo-text);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    letter-spacing: -0.01em;
}

.magazine-card:hover .magazine-card-title a,
.archive-card:hover .archive-card-title a {
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}

/* Card excerpt */
.magazine-card-excerpt,
.card-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.6;
    color: var(--eo-text-secondary);
    font-size: 0.88rem;
    margin-top: var(--eo-space-2);
}

/* Card meta (date, author) */
.article-meta,
.card-meta {
    font-size: 0.78rem;
    color: var(--eo-text-muted);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: var(--eo-space-3);
}

.article-meta .author-name,
.card-meta .author-name {
    font-weight: 600;
    color: var(--eo-text-secondary);
}

/* ==========================================================================
   8. CATEGORY SECTION SEPARATORS
   ========================================================================== */

.content-section + .content-section {
    margin-top: var(--eo-space-10);
    padding-top: var(--eo-space-8);
    border-top: 1px solid var(--eo-border);
}

.content-section .section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--eo-space-6);
    position: relative;
    padding-bottom: var(--eo-space-3);
}

.content-section .section-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--eo-primary);
    border-radius: 2px;
}

.content-section .section-header h2 {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0;
}

.content-section .view-all-link,
.content-section a[href*="blog"],
.content-section a[href*="category"] {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--eo-primary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-decoration: none;
}

.content-section .view-all-link:hover,
.content-section a[href*="blog"]:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ==========================================================================
   9. SIDEBAR — premium widget cards
   ========================================================================== */

.sidebar,
.widget-area {
    display: flex;
    flex-direction: column;
    gap: var(--eo-space-5);
}

.sidebar .widget,
.widget-area .widget {
    background: var(--eo-bg);
    border: 1px solid var(--eo-border);
    border-radius: var(--eo-radius);
    padding: var(--eo-space-5);
    transition: box-shadow var(--eo-transition);
}

.sidebar .widget:hover,
.widget-area .widget:hover {
    box-shadow: var(--eo-shadow-sm);
}

.sidebar .widget-title,
.widget-area .widget-title {
    font-family: var(--eo-font-heading);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding-bottom: var(--eo-space-3);
    margin-bottom: var(--eo-space-4);
    border-bottom: 2px solid var(--eo-primary);
    color: var(--eo-text);
}

/* Recent Posts widget */
.sidebar .widget_recent_entries li,
.widget-area .widget_recent_entries li {
    padding: var(--eo-space-3) 0;
    border-bottom: 1px solid var(--eo-border-light);
}

.sidebar .widget_recent_entries li:last-child,
.widget-area .widget_recent_entries li:last-child {
    border-bottom: none;
}

.sidebar .widget_recent_entries li a {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--eo-text);
    text-decoration: none;
    line-height: 1.4;
    transition: color var(--eo-transition-fast);
}

.sidebar .widget_recent_entries li a:hover {
    color: var(--eo-primary);
}

/* Categories widget */
.sidebar .widget_categories li a,
.widget-area .widget_categories li a {
    display: flex;
    justify-content: space-between;
    padding: var(--eo-space-2) 0;
    font-size: 0.88rem;
    color: var(--eo-text-secondary);
    text-decoration: none;
    transition: color var(--eo-transition-fast), padding-left var(--eo-transition-fast);
}

.sidebar .widget_categories li a:hover {
    color: var(--eo-primary);
    padding-left: 4px;
}

/* Tag cloud */
.sidebar .tagcloud a,
.widget-area .tagcloud a {
    display: inline-block;
    padding: 4px 12px;
    margin: 3px 2px;
    border: 1px solid var(--eo-border);
    border-radius: 20px;
    font-size: 0.78rem !important;
    color: var(--eo-text-secondary);
    text-decoration: none;
    transition: all var(--eo-transition-fast);
}

.sidebar .tagcloud a:hover,
.widget-area .tagcloud a:hover {
    background: var(--eo-primary);
    color: #fff;
    border-color: var(--eo-primary);
}

/* Search widget */
.sidebar .widget_search form,
.widget-area .widget_search form {
    display: flex;
    gap: 0;
}

.sidebar .widget_search input[type="search"],
.widget-area .widget_search input[type="search"] {
    flex: 1;
    border: 1px solid var(--eo-border);
    border-right: none;
    border-radius: var(--eo-radius-sm) 0 0 var(--eo-radius-sm);
    padding: var(--eo-space-3) var(--eo-space-4);
    font-size: 0.88rem;
}

.sidebar .widget_search button,
.sidebar .widget_search input[type="submit"],
.widget-area .widget_search button {
    background: var(--eo-primary);
    color: #fff;
    border: 1px solid var(--eo-primary);
    border-radius: 0 var(--eo-radius-sm) var(--eo-radius-sm) 0;
    padding: var(--eo-space-3) var(--eo-space-4);
    cursor: pointer;
    font-weight: 700;
    font-size: 0.85rem;
    transition: background-color var(--eo-transition-fast);
}

.sidebar .widget_search button:hover,
.sidebar .widget_search input[type="submit"]:hover {
    background: var(--eo-primary-dark);
}

/* ==========================================================================
   10. SINGLE POST — editorial reading experience
   ========================================================================== */

.single .entry-content,
.single .post-content,
.single-post .entry-content {
    max-width: 740px;
    margin: 0 auto;
    padding: var(--eo-space-8) var(--eo-space-5);
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--eo-text);
}

.single .entry-content p + p {
    margin-top: 1.25em;
}

.single .entry-content h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--eo-border);
}

.single .entry-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 1.75rem 0 0.75rem;
}

.single .entry-content blockquote {
    border-left: 4px solid var(--eo-primary);
    padding: var(--eo-space-5) var(--eo-space-6);
    margin: 1.5rem 0;
    background: var(--eo-bg-alt);
    border-radius: 0 var(--eo-radius) var(--eo-radius) 0;
    font-style: italic;
    color: var(--eo-text-secondary);
    font-size: 1.05rem;
}

.single .entry-content img {
    border-radius: var(--eo-radius);
    margin: 1.5rem 0;
    box-shadow: var(--eo-shadow-sm);
}

.single .entry-content ul,
.single .entry-content ol {
    padding-left: 1.5rem;
    margin: 1rem 0;
}

.single .entry-content li {
    margin-bottom: 0.5rem;
}

.single .entry-content a {
    color: var(--eo-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-thickness: 1px;
}

.single .entry-content a:hover {
    color: var(--eo-primary-dark);
}

/* Article header */
.single .entry-header,
.single-post .entry-header {
    text-align: center;
    max-width: 800px;
    margin: var(--eo-space-8) auto var(--eo-space-6);
    padding: 0 var(--eo-space-5);
}

.single .entry-title {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.single .entry-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: var(--eo-space-4);
    font-size: 0.85rem;
    color: var(--eo-text-muted);
}

/* Author bio box */
.author-bio,
.author-box {
    display: flex;
    gap: var(--eo-space-5);
    padding: var(--eo-space-6);
    background: var(--eo-bg-alt);
    border-radius: var(--eo-radius);
    margin: var(--eo-space-8) 0;
    border: 1px solid var(--eo-border);
}

.author-bio .avatar,
.author-box .avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 3px solid var(--eo-primary);
}

.author-bio .author-name {
    font-family: var(--eo-font-heading);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: var(--eo-space-1);
}

.author-bio .author-description {
    font-size: 0.88rem;
    color: var(--eo-text-secondary);
    line-height: 1.6;
}

/* ==========================================================================
   11. RELATED ARTICLES — grid layout
   ========================================================================== */

.related-posts,
.related-articles {
    margin: var(--eo-space-10) 0;
    padding-top: var(--eo-space-8);
    border-top: 1px solid var(--eo-border);
}

.related-posts h3,
.related-articles h3 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: var(--eo-space-6);
    position: relative;
    padding-bottom: var(--eo-space-3);
}

.related-posts h3::after,
.related-articles h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--eo-primary);
    border-radius: 2px;
}

.related-posts .related-grid,
.related-articles .related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--eo-space-5);
}

/* ==========================================================================
   12. SHARE BUTTONS — inline social bar
   ========================================================================== */

.share-buttons,
.social-share {
    display: flex;
    align-items: center;
    gap: var(--eo-space-3);
    padding: var(--eo-space-4) 0;
    border-top: 1px solid var(--eo-border-light);
    border-bottom: 1px solid var(--eo-border-light);
    margin: var(--eo-space-6) 0;
}

.share-buttons .share-label,
.social-share .share-label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--eo-text-muted);
}

.share-buttons a,
.social-share a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--eo-bg-alt);
    color: var(--eo-text-secondary);
    transition: all var(--eo-transition-fast);
    text-decoration: none;
}

.share-buttons a:hover,
.social-share a:hover {
    background: var(--eo-primary);
    color: #fff;
    transform: translateY(-2px);
}

/* ==========================================================================
   13. FOOTER — premium dark layout
   ========================================================================== */

.site-footer {
    background: var(--eo-bg-dark);
    color: rgba(255,255,255,0.7);
    border-top: 4px solid var(--eo-primary);
    padding-top: var(--eo-space-10);
}

.site-footer .footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--eo-space-6);
}

.site-footer .footer-brand {
    font-family: var(--eo-font-heading);
    font-weight: 900;
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: var(--eo-space-3);
}

/* Footer links */
.site-footer nav a,
.site-footer .footer-links a,
.site-footer .footer-menu a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color var(--eo-transition-fast);
}

.site-footer nav a:hover,
.site-footer .footer-links a:hover,
.site-footer .footer-menu a:hover {
    color: #fff;
}

/* Footer copyright bar */
.site-footer .footer-bottom,
.site-footer > div:last-child {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: var(--eo-space-5) 0;
    margin-top: var(--eo-space-8);
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
}

/* Footer logo inversion */
.site-footer img[class*="logo"],
.site-footer .footer-logo img {
    filter: brightness(0) invert(1);
    opacity: 0.8;
    max-height: 40px;
}

/* ==========================================================================
   14. PAGINATION — modern pill buttons
   ========================================================================== */

.pagination,
.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--eo-space-2);
    padding: var(--eo-space-8) 0;
}

.pagination .page-numbers,
.nav-links .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border: 1px solid var(--eo-border);
    border-radius: var(--eo-radius);
    font-size: 0.85rem;
    font-weight: 600;
    font-family: var(--eo-font-heading);
    color: var(--eo-text);
    background: var(--eo-bg);
    text-decoration: none;
    transition: all var(--eo-transition);
}

.pagination a.page-numbers:hover,
.nav-links a.page-numbers:hover {
    background: var(--eo-primary);
    color: #fff;
    border-color: var(--eo-primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.pagination .current,
.nav-links .current {
    background: var(--eo-primary);
    color: #fff;
    border-color: var(--eo-primary);
    font-weight: 700;
}

/* ==========================================================================
   15. MOBILE HAMBURGER — animated 3-line to X
   ========================================================================== */

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    position: relative;
    z-index: 101;
}

.menu-toggle .line,
.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--eo-text);
    border-radius: 2px;
    margin: 0 auto;
    transition: transform var(--eo-transition), opacity 0.2s ease;
    transform-origin: center;
}

.menu-toggle .line + .line,
.menu-toggle span + span {
    margin-top: 6px;
}

.menu-toggle.active .line:nth-child(1),
.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active .line:nth-child(2),
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-toggle.active .line:nth-child(3),
.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================================================
   16. RESPONSIVE BREAKPOINTS
   ========================================================================== */

@media screen and (max-width: 1024px) {
    .featured-grid,
    .featured-cards {
        grid-template-columns: repeat(3, 1fr);
        margin-left: var(--eo-space-5);
        margin-right: var(--eo-space-5);
    }

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

@media screen and (max-width: 768px) {
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .main-navigation,
    .site-navigation {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        width: 100%;
    }

    .main-navigation.active,
    .site-navigation.active {
        max-height: 500px;
    }

    .main-navigation ul,
    .site-navigation ul {
        flex-direction: column;
        width: 100%;
    }

    .main-navigation li a,
    .site-navigation li a {
        display: block;
        padding: 12px 16px;
        margin: 0;
        min-height: 44px;
        border-bottom: 1px solid var(--eo-border-light);
        font-size: 0.88rem;
    }

    .featured-grid,
    .featured-cards {
        grid-template-columns: 1fr;
        margin-top: var(--eo-space-5);
    }

    .magazine-grid,
    .content-grid,
    .archive-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--eo-space-4);
    }

    .related-posts .related-grid,
    .related-articles .related-grid {
        grid-template-columns: 1fr;
    }

    .sidebar,
    .widget-area {
        margin-top: var(--eo-space-8);
    }

    .single .entry-content,
    .single-post .entry-content {
        padding: var(--eo-space-5) var(--eo-space-4);
        font-size: 1rem;
    }

    .author-bio,
    .author-box {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}

@media screen and (max-width: 480px) {
    /* Hero */
    .hero-section,
    .featured-hero,
    .hero-wrap {
        min-height: 280px;
        max-height: 320px;
    }

    .hero-section .hero-title,
    .featured-hero .hero-title,
    .hero-wrap .hero-title {
        font-size: 1.3rem;
    }

    .hero-section .hero-excerpt,
    .featured-hero .hero-excerpt {
        font-size: 0.85rem;
        -webkit-line-clamp: 2;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* Site branding */
    .site-branding .site-title a,
    .site-branding a {
        font-size: 1.3rem;
    }

    /* Single column grid */
    .magazine-grid,
    .content-grid,
    .archive-grid {
        grid-template-columns: 1fr;
        gap: var(--eo-space-4);
    }

    /* Tighter padding */
    .site-content,
    .content-area,
    .main-content {
        padding-left: var(--eo-space-3);
        padding-right: var(--eo-space-3);
    }

    /* Ticker */
    .header-top {
        font-size: 0.7rem;
        padding: 4px 0;
    }

    /* Card titles */
    .magazine-card-title a,
    .card-title a {
        font-size: 0.88rem;
        -webkit-line-clamp: 2;
    }

    /* Footer */
    .site-footer nav,
    .site-footer .footer-links,
    .site-footer .footer-menu {
        flex-direction: column;
        gap: var(--eo-space-2);
        text-align: center;
    }

    .site-footer nav a,
    .site-footer .footer-links a {
        font-size: 0.8rem;
    }

    /* Pagination */
    .pagination .page-numbers,
    .nav-links .page-numbers {
        min-width: 36px;
        height: 36px;
        font-size: 0.8rem;
    }

    /* Sidebar hidden */
    .sidebar,
    .widget-area {
        display: none;
    }

    /* Single post */
    .single .entry-title {
        font-size: 1.4rem;
    }

    .single .entry-content {
        font-size: 0.95rem;
    }
}

/* ==========================================================================
   17. FOCUS-VISIBLE OUTLINES
   ========================================================================== */

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[role="button"]:focus-visible,
.menu-toggle:focus-visible,
.search-toggle:focus-visible {
    outline: 2px solid var(--eo-primary);
    outline-offset: 2px;
    border-radius: 2px;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
    outline: none;
}

/* ==========================================================================
   18. PREFERS-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;
    }

    .header-top-message,
    .header-top .ticker-text {
        animation: none;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .featured-card:hover,
    .magazine-card:hover,
    .archive-card:hover,
    .related-card:hover {
        transform: none;
    }

    .featured-card:hover .featured-card-image img,
    .magazine-card:hover .magazine-card-image img,
    .hero-section:hover img,
    .featured-hero:hover img {
        transform: none;
    }

    .menu-toggle .line,
    .menu-toggle span {
        transition: none;
    }

    .main-navigation,
    .site-navigation {
        transition: none;
    }
}

/* ==========================================================================
   19. PRINT STYLES
   ========================================================================== */

@media print {
    .header-top,
    .menu-toggle,
    .main-navigation,
    .site-navigation,
    .sidebar,
    .widget-area,
    .site-footer,
    .pagination,
    .nav-links,
    .scroll-to-top,
    .search-toggle,
    .share-buttons,
    .social-share,
    .related-posts,
    .related-articles,
    .author-bio,
    .comments-area {
        display: none !important;
    }

    body {
        color: #000;
        background: #fff;
        font-size: 12pt;
    }

    .site-content {
        width: 100% !important;
        max-width: 100% !important;
    }

    a {
        color: #000;
        text-decoration: underline;
    }

    a[href]::after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
        color: #666;
    }

    img {
        max-width: 100% !important;
    }

    .single .entry-content {
        max-width: 100%;
        padding: 0;
    }
}

/* ==========================================================================
   20. SMOOTH LOAD ANIMATION
   ========================================================================== */

.site-content {
    animation: eo-fadein 0.35s ease;
}

@keyframes eo-fadein {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--eo-bg-alt);
}

::-webkit-scrollbar-thumb {
    background: #c1c7d0;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a3aab4;
}

html {
    scrollbar-width: thin;
    scrollbar-color: #c1c7d0 var(--eo-bg-alt);
}

/* === MOBILE NAV EXPANSION FIX (Sprint 12) === */
@media (max-width: 768px) {
    .main-navigation.active {
        overflow: visible !important;
        height: auto !important;
    }
    .main-navigation.active > ul,
    .main-navigation.active ul#primary-menu {
        position: static !important;
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
    }
}

