/*
Theme Name: AdbzV1 Professional
Theme URI: https://whatpeoplesee.com
Author: Mine Marketing Ltd
Author URI: https://mine-marketing.com
Description: Professional entertainment magazine theme with E! Online inspiration. Bold pink branding, hero carousel, modern layout. Production-ready 2026.
Version: 1.4.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: adbzv1
Tags: entertainment, magazine, news, blog, responsive, custom-colors, featured-images, threaded-comments
*/

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

:root {
    --color-primary: #FF1493;
    --color-primary-dark: #DC1178;
    --color-primary-light: #FF69B4;
    --color-branding-bg: #FF5C5C;
    --color-accent: #4A90E2;
    --color-bg: #ffffff;
    --color-text: #1a1a1a;
    --color-text-light: #666666;
    --color-border: #e0e0e0;
    --color-nav-bg: #1a1a1a;
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --font-heading: 'Impact', 'Arial Black', sans-serif;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --max-width: 1200px;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

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

/* ===========================
   HEADER
   =========================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Reading Progress Bar */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1001;
}

.reading-progress-fill {
    height: 100%;
    background: var(--color-primary);
    width: 0%;
    transition: width 0.1s ease;
    box-shadow: 0 0 6px var(--color-primary);
}

/* Admin Bar Offsets */
body.admin-bar .reading-progress {
    top: 32px;
}

body.admin-bar .site-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .reading-progress {
        top: 46px;
    }
    body.admin-bar .site-header {
        top: 46px;
    }
}

.header-breaking-news {
    background: var(--color-primary);
    color: #fff;
    padding: 10px 0;
    font-size: 14px;
    font-weight: 600;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.breaking-news-content {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    gap: var(--spacing-sm);
    overflow: hidden;
}

.breaking-news-label {
    background: #000;
    color: #fff;
    padding: 4px 12px;
    font-size: 11px;
    letter-spacing: 1px;
    flex-shrink: 0;
    white-space: nowrap;
    position: relative;
    z-index: 2;
}

.breaking-news-text {
    overflow: hidden;
    position: relative;
    display: flex;
    mask-image: linear-gradient(to right, black calc(100% - 50px), transparent 100%);
    -webkit-mask-image: linear-gradient(to right, black calc(100% - 50px), transparent 100%);
}

.ticker-track {
    white-space: nowrap;
    flex-shrink: 0;
    padding-right: 2rem;
}

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

.breaking-news-text .ticker-track {
    animation: scroll-left 20s linear infinite;
}

.site-branding {
    background: var(--color-branding-bg);
    padding: 12px 20px;
    text-align: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-title {
    font-size: 48px;
    font-weight: 900;
    margin: 0;
    letter-spacing: 3px;
}

.site-title a {
    color: #000;
    text-decoration: none;
    display: inline-block;
}

.site-title a span:first-child {
    color: var(--color-accent);
}

.site-title a span:last-child {
    color: var(--color-accent);
}

.custom-logo-link {
    display: inline-flex;
    align-items: center;
}

.custom-logo {
    max-height: 60px;
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
}

.site-description {
    font-size: 12px;
    margin-top: var(--spacing-xs);
    color: #fff;
    letter-spacing: 1px;
}

.header-search {
    position: absolute;
    right: var(--spacing-md);
    top: 50%;
    transform: translateY(-50%);
}

.search-toggle {
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-toggle:hover {
    background: var(--color-primary-dark);
    transform: translateY(-50%) scale(1.1);
}

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.search-overlay-content {
    width: 100%;
    max-width: 800px;
    position: relative;
}

.search-overlay-form {
    position: relative;
}

.search-overlay-input {
    width: 100%;
    padding: 20px 60px 20px 20px;
    font-size: 24px;
    border: none;
    border-radius: 8px;
    background: #fff;
}

.search-overlay-submit {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--color-primary);
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.search-overlay-submit:hover {
    background: var(--color-primary-dark);
}

.search-overlay-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-overlay-close:hover {
    color: var(--color-primary);
}

.main-navigation {
    background: var(--color-nav-bg);
    position: relative;
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.menu-toggle {
    display: none;
    background: var(--color-primary);
    color: #fff;
    border: none;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.menu-toggle:hover {
    background: var(--color-primary-dark);
}

.main-navigation ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    display: block;
    padding: 18px 20px;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

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

/* Trending Bar */
.trending-bar {
    background: var(--color-primary);
    padding: 10px 0;
    overflow: hidden;
    position: relative;
    border-top: 1px solid rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.trending-content {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    gap: var(--spacing-sm);
    overflow: hidden;
}

.trending-label {
    background: #000;
    color: #fff;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    flex-shrink: 0;
    white-space: nowrap;
    position: relative;
    z-index: 2;
}

.trending-items {
    display: flex;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, black calc(100% - 50px), transparent 100%);
    -webkit-mask-image: linear-gradient(to right, black calc(100% - 50px), transparent 100%);
}

.trending-items .ticker-track {
    display: flex;
    gap: var(--spacing-lg);
    animation: scroll-left 30s linear infinite;
    white-space: nowrap;
    flex-shrink: 0;
    padding-right: var(--spacing-lg);
}

.trending-items a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    white-space: nowrap;
    font-weight: 500;
    display: inline-block;
}

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

/* ===========================
   HERO CAROUSEL - FIXED
   =========================== */
.hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #000;
}

.hero-carousel {
    position: relative;
    width: 100%;
    height: 600px;
}

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

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.hero-featured {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

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

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

.hero-category {
    display: inline-block;
    background: var(--color-primary);
    color: #fff;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: var(--spacing-sm);
    text-decoration: none;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
}

.hero-title a {
    color: #fff;
    text-decoration: none;
}

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

.hero-excerpt {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: var(--spacing-sm);
    opacity: 0.9;
}

.hero-meta {
    font-size: 13px;
    opacity: 0.8;
}

/* Carousel Controls */
.hero-prev,
.hero-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 20, 147, 0.9);
    color: #fff;
    font-size: 28px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 1;
}

.hero-prev {
    left: var(--spacing-lg);
}

.hero-next {
    right: var(--spacing-lg);
}

.hero-prev:hover,
.hero-next:hover {
    background: var(--color-primary);
    transform: translateY(-50%) scale(1.1);
}

/* Carousel Dots */
.hero-dots {
    position: absolute;
    bottom: var(--spacing-lg);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.hero-dot {
    width: 14px;
    height: 14px;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid #fff;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-dot.active {
    background: var(--color-primary);
    transform: scale(1.3);
}

.hero-dot:hover {
    background: var(--color-primary-light);
}

/* ===========================
   MAIN CONTENT
   =========================== */
.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;
}

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

.featured-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.featured-card-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

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

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

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

.featured-card-category {
    display: inline-block;
    background: var(--color-primary);
    color: #fff;
    padding: 4px 10px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: var(--spacing-xs);
    text-decoration: none;
}

.featured-card-title {
    font-family: var(--font-heading);
    font-size: 18px;
    line-height: 1.3;
    margin: 0;
}

.featured-card-title a {
    color: #fff;
    text-decoration: none;
}

/* Magazine Grid */
.magazine-grid {
    display: grid;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.magazine-card {
    display: flex;
    gap: var(--spacing-md);
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.magazine-card:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.magazine-card-image {
    width: 300px;
    height: 200px;
    flex-shrink: 0;
    overflow: hidden;
}

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

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

.magazine-card-content {
    padding: var(--spacing-md);
    flex: 1;
}

.magazine-card-category {
    display: inline-block;
    background: var(--color-primary);
    color: #fff;
    padding: 4px 10px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: var(--spacing-sm);
    text-decoration: none;
}

.magazine-card-title {
    font-family: var(--font-heading);
    font-size: 24px;
    line-height: 1.3;
    margin-bottom: var(--spacing-sm);
}

.magazine-card-title a {
    color: var(--color-text);
    text-decoration: none;
}

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

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

.magazine-card-meta {
    font-size: 12px;
    color: var(--color-text-light);
}

/* ===========================
   SINGLE POST
   =========================== */
.article-single {
    background: #fff;
    padding: 0;
    margin-bottom: var(--spacing-xl);
}

.article-header {
    margin-bottom: var(--spacing-lg);
}

.article-category {
    display: inline-block;
    background: var(--color-primary);
    color: #fff;
    padding: 6px 14px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: var(--spacing-md);
    text-decoration: none;
}

.article-title {
    font-family: var(--font-heading);
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    color: var(--color-text);
}

.article-excerpt {
    font-size: 20px;
    line-height: 1.6;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-md);
    font-weight: 500;
}

.article-meta {
    font-size: 13px;
    color: var(--color-text-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.separator {
    color: var(--color-border);
}

.article-featured-image {
    margin-bottom: var(--spacing-lg);
    width: 100%;
}

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

.image-caption {
    font-size: 13px;
    color: var(--color-text-light);
    margin-top: var(--spacing-sm);
    font-style: italic;
}

.article-content {
    font-size: 18px;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: var(--spacing-xl);
}

.article-content p {
    margin-bottom: var(--spacing-md);
}

.article-content h2,
.article-content h3,
.article-content h4 {
    font-family: var(--font-heading);
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    color: var(--color-text);
}

.article-content h2 {
    font-size: 32px;
}

.article-content h3 {
    font-size: 26px;
}

.article-content h4 {
    font-size: 22px;
}

.article-content img {
    max-width: 100%;
    height: auto;
    margin: var(--spacing-lg) 0;
    border-radius: 4px;
}

.article-content a {
    color: var(--color-primary);
    text-decoration: none;
    border-bottom: 2px solid var(--color-primary);
}

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

.article-content ul,
.article-content ol {
    margin: var(--spacing-md) 0;
    padding-left: var(--spacing-xl);
}

.article-content li {
    margin-bottom: var(--spacing-sm);
}

.article-content blockquote {
    border-left: 4px solid var(--color-primary);
    padding-left: var(--spacing-md);
    margin: var(--spacing-lg) 0;
    font-style: italic;
    color: var(--color-text-light);
}

/* ===========================
   RELATED POSTS - FIXED
   =========================== */
.related-articles {
    margin: var(--spacing-xl) 0;
    padding: var(--spacing-xl) 0;
    border-top: 3px solid var(--color-primary);
}

.related-articles-title {
    font-family: var(--font-heading);
    font-size: 32px;
    text-transform: uppercase;
    margin-bottom: var(--spacing-lg);
    color: var(--color-text);
}

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

.related-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.related-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

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

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

.related-card-content {
    padding: var(--spacing-md);
}

.related-card-category {
    display: inline-block;
    background: var(--color-primary);
    color: #fff;
    padding: 4px 10px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: var(--spacing-sm);
    text-decoration: none;
}

.related-card-title {
    font-family: var(--font-heading);
    font-size: 18px;
    line-height: 1.3;
    margin-bottom: var(--spacing-sm);
}

.related-card-title a {
    color: var(--color-text);
    text-decoration: none;
}

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

.related-card-meta {
    font-size: 12px;
    color: var(--color-text-light);
}

/* ===========================
   SIDEBAR
   =========================== */
.sidebar {
    position: sticky;
    top: 120px;
}

.widget {
    background: #fff;
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

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

.widget ul {
    list-style: none;
}

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

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

.widget a {
    color: var(--color-text);
    text-decoration: none;
    font-size: 14px;
}

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

/* Recent Posts Widget with Thumbnails */
.recent-posts-widget {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: recent-post;
}

.recent-posts-widget li {
    display: flex;
    gap: 12px;
    padding: 12px 8px;
    border-bottom: 1px solid #e0e0e0;
    align-items: flex-start;
    transition: background 0.2s ease;
    border-radius: 4px;
    counter-increment: recent-post;
}

.recent-posts-widget li:first-child {
    padding-top: 8px;
}

.recent-posts-widget li:last-child {
    border-bottom: none;
}

.recent-posts-widget li:hover {
    background: #f9f9f9;
}

.recent-post-thumb {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 6px;
    background: #f5f5f5;
    position: relative;
}

.recent-post-thumb::before {
    content: counter(recent-post);
    position: absolute;
    top: 4px;
    left: 4px;
    background: var(--color-primary);
    color: #fff;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.recent-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.recent-post-thumb:hover img {
    transform: scale(1.08);
}

.recent-post-content {
    flex: 1;
    min-width: 0;
}

.recent-post-title {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 6px;
}

.recent-post-title a {
    color: #1a1a1a;
    text-decoration: none;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

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

.recent-post-date {
    font-size: 11px;
    color: #999;
    font-weight: 400;
}

/* ===========================
   COMMENTS - FIXED
   =========================== */
.comments-area {
    margin-top: var(--spacing-xl);
    padding: var(--spacing-xl) 0;
    border-top: 3px solid var(--color-primary);
}

.comments-title {
    font-family: var(--font-heading);
    font-size: 32px;
    text-transform: uppercase;
    margin-bottom: var(--spacing-lg);
}

.comment-list {
    list-style: none;
    margin-bottom: var(--spacing-xl);
}

.comment {
    background: #f8f8f8;
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.comment .children {
    list-style: none;
    margin-left: var(--spacing-xl);
    margin-top: var(--spacing-md);
}

.comment-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.comment-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.comment-author .fn {
    font-weight: 700;
    font-size: 16px;
    color: var(--color-text);
    font-style: normal;
}

.comment-metadata {
    font-size: 12px;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-sm);
}

.comment-metadata a {
    color: var(--color-text-light);
    text-decoration: none;
}

.comment-metadata a:hover {
    color: var(--color-primary);
}

.comment-content {
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-text);
    margin-bottom: var(--spacing-sm);
}

.reply {
    margin-top: var(--spacing-sm);
}

.comment-reply-link {
    display: inline-block;
    background: var(--color-primary);
    color: #fff;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.comment-reply-link:hover {
    background: var(--color-primary-dark);
}

/* Comment Form */
.comment-respond {
    background: #f8f8f8;
    padding: var(--spacing-lg);
    border-radius: 8px;
}

.comment-reply-title {
    font-family: var(--font-heading);
    font-size: 24px;
    margin-bottom: var(--spacing-md);
}

.comment-form {
    display: grid;
    gap: var(--spacing-md);
}

.comment-form-comment textarea,
.comment-form-author input,
.comment-form-email input,
.comment-form-url input {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--color-border);
    border-radius: 4px;
    font-family: var(--font-primary);
    font-size: 15px;
    transition: border-color 0.3s ease;
}

.comment-form-comment textarea:focus,
.comment-form-author input:focus,
.comment-form-email input:focus,
.comment-form-url input:focus {
    outline: none;
    border-color: var(--color-primary);
}

.comment-form-comment textarea {
    min-height: 150px;
    resize: vertical;
}

.form-submit .submit {
    background: var(--color-primary);
    color: #fff;
    padding: 14px 32px;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s ease;
}

.form-submit .submit:hover {
    background: var(--color-primary-dark);
}

/* ===========================
   FOOTER
   =========================== */
.site-footer {
    background: #1a1a1a;
    color: #fff;
    padding: var(--spacing-xl) 0;
    margin-top: var(--spacing-xl);
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    text-align: center;
}

.footer-branding {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 900;
    margin-bottom: var(--spacing-md);
    letter-spacing: 2px;
}

.footer-branding span:first-child {
    color: var(--color-accent);
}

.footer-branding span:last-child {
    color: var(--color-accent);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    margin: var(--spacing-lg) 0;
}

.footer-links a {
    color: var(--color-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-logo {
    max-height: 40px;
    width: auto;
    height: auto;
    display: inline-block;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: opacity 0.3s;
}

.footer-logo:hover {
    opacity: 1;
}

.footer-branding a {
    color: #fff;
    text-decoration: none;
}

.footer-links li {
    display: inline;
}

.footer-links li a {
    color: var(--color-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.footer-copyright {
    font-size: 13px;
    color: #999;
    margin-top: var(--spacing-md);
}

.footer-copyright a {
    color: var(--color-primary);
    text-decoration: none;
}

/* Scroll to Top */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--color-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(255, 20, 147, 0.4);
}

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

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

/* Infinite Scroll Loading */
.infinite-scroll-loading {
    text-align: center;
    padding: var(--spacing-xl);
    font-size: 18px;
    color: var(--color-primary);
}

.infinite-scroll-loading::after {
    content: "Loading more articles...";
    display: block;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ===========================
   RESPONSIVE - MOBILE
   =========================== */
@media (max-width: 768px) {
    /* Header */


    .site-title {
        font-size: 20px;
        letter-spacing: 0.5px;
    }

    .custom-logo-link {
        max-width: calc(100% - 10px);
        display: inline-block;
    }

    .custom-logo {
        max-height: 36px !important;
        width: auto !important;
        height: auto !important;
    }
    .site-branding {
        padding: 8px 50px 8px 12px;
        justify-content: flex-start;
    }
    .footer-logo {
        max-height: 30px;
    }
    
    /* Hide trending bar on mobile to prevent overlap */
    .trending-bar {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        overflow: hidden !important;
    }
    
    .site-description {
        font-size: 10px;
    }
    
    .header-search {
        right: 8px;
    }

    .search-toggle {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
    
    /* Navigation */
    .menu-toggle {
        display: block;
    }
    
    .main-navigation ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-nav-bg);
    }
    
    .main-navigation.active ul {
        display: flex;
    }
    
    .main-navigation a {
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    /* Hero Carousel */
    .hero-carousel {
        height: 450px;
    }
    
    .hero-overlay {
        padding: var(--spacing-md);
    }
    
    .hero-category {
        font-size: 10px;
        padding: 6px 12px;
    }
    
    .hero-title {
        font-size: 26px;
    }
    
    .hero-excerpt {
        font-size: 14px;
        line-height: 1.4;
    }
    
    .hero-meta {
        font-size: 12px;
    }
    
    .hero-prev,
    .hero-next {
        width: 36px;
        height: 36px;
        font-size: 18px;
        top: var(--spacing-sm);
        transform: none;
        opacity: 0.7;
    }

    .hero-prev {
        left: auto;
        right: 52px;
    }

    .hero-next {
        right: var(--spacing-sm);
    }

    .hero-overlay {
        padding: var(--spacing-md);
        padding-bottom: calc(var(--spacing-md) + 24px);
    }

    .hero-dots {
        bottom: var(--spacing-xs);
        gap: 8px;
    }

    .hero-dot {
        width: 9px;
        height: 9px;
        border-width: 1px;
    }
    
    /* Content */
    .site-content {
        padding: var(--spacing-md) var(--spacing-sm);
    }
    
    .content-area {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
    }
    
    .magazine-card {
        flex-direction: column;
    }
    
    .magazine-card-image {
        width: 100%;
        height: 220px;
    }
    
    /* Article */
    .article-title {
        font-size: 32px;
    }
    
    .article-excerpt {
        font-size: 16px;
    }
    
    .article-content {
        font-size: 16px;
    }
    
    /* Related Posts */
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .related-card-image {
        height: 180px;
    }
    
    /* Comments */
    .comment .children {
        margin-left: var(--spacing-md);
    }
    
    .comment-author img {
        width: 40px;
        height: 40px;
    }
}
