/* ==========================================================================
   Variables
   ========================================================================== */
:root {
    /* Base Colors */
    --color-bg-base: #f4f7f9;
    --color-bg-surface: #ffffff;
    --color-text-main: #111111;
    --color-text-muted: #666666;
    --color-border: #eeeeee;
    --color-accent-red: #e62121;
    
    /* Layout */
    --container-width: 1200px;
    --header-height: 90px;
    --radius-sm: 2px;
    --radius-md: 6px;
    --radius-lg: 12px;

    /* Transition */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Base resets handled by browser-side defaults, adding specifics here */
[data-theme="dark"] {
    --color-bg-base: #0a0a0a;
    --color-bg-surface: #121212;
    --color-text-main: #f0f0f0;
    --color-text-muted: #888888;
    --color-border: #1a1a1a;
}

body {
    background-color: var(--color-bg-base);
    color: var(--color-text-main);
    font-family: 'Manrope', sans-serif;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

#page {
    max-width: 1280px;
    margin: 0 auto;
    background: var(--color-bg-surface);
    box-shadow: 0 0 100px rgba(0,0,0,0.05);
    min-height: 100vh;
}

@media (min-width: 1280px) {
    #page {
        margin: 0 auto; /* Removed top margin to fix header gap */
        border-radius: 0;
    }
}

/* Animations */
@keyframes tickerLoop {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes scrollMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* Reusable Components */
.section-title-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    border-bottom: 2px solid var(--color-text-main);
}

.section-title-wrap h2 {
    background: var(--color-text-main);
    color: #fff;
    padding: 10px 25px;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mag-post-card {
    background: var(--color-bg-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.mag-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border-color: var(--color-accent-red);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

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

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

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

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

/* ==========================================================================
   Components
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.875rem;
}

.btn-primary {
    background-color: var(--color-accent-red);
    color: white;
    border: none;
}

.btn-primary:hover {
    background-color: #c71616;
    color: white;
}

.btn-outline {
    background-color: transparent;
    color: var(--color-text-main);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.btn-outline:hover {
    background-color: var(--color-accent-red);
    border-color: var(--color-accent-red);
    color: white;
}

/* ==========================================================================
   Sections & Grids
   ========================================================================== */
.featured-section {
    padding: 5rem 0;
    background: linear-gradient(to bottom, #fdfdfd, #ffffff);
}

.motorcycle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 3rem;
}

.magazine-section {
    position: relative;
    padding: 5rem 0;
    background-color: #050505;
}

.main-content-area {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    margin-top: 40px;
}

@media (max-width: 992px) {
    .main-content-area {
        grid-template-columns: 1fr;
    }
}

.widget {
    background: #fff;
    border: 1px solid var(--color-border);
    padding: 25px;
    border-radius: 4px;
    margin-bottom: 30px;
}

.widget-title {
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    border-bottom: 2px solid #333;
    padding-bottom: 10px;
    margin-bottom: 20px;
    display: inline-block;
}

.magazine-grid-full {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

/* Responsive Overrides */
@media (max-width: 768px) {
    #page {
        margin: 0;
        border-radius: 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .header-mid {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 0;
        display: none; /* JS will toggle */
    }
    
    .main-navigation.active ul {
        display: flex;
    }
}

/* ==========================================================================
   Header Layout
   ========================================================================== */
.site-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
}

.site-header.scrolled {
    padding: 5px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.header-top {
    background: #0a0a0a;
    color: rgba(255,255,255,0.6);
    padding: 8px 0;
    font-size: 12px;
    border-bottom: 1px solid #1a1a1a;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-ticker {
    display: flex;
    align-items: center;
    gap: 15px;
    overflow: hidden;
    white-space: nowrap;
    flex: 1;
    margin-right: 30px;
}

.ticker-label {
    background: var(--color-accent-red);
    padding: 2px 10px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 10px;
    border-radius: 2px;
    color: white;
    flex-shrink: 0;
}

.ticker-wrapper {
    overflow: hidden;
    width: 100%;
}

.ticker-content {
    display: inline-block;
    white-space: nowrap;
    animation: tickerLoop 40s linear infinite;
}

.ticker-content a {
    color: inherit;
    text-decoration: none;
    margin-right: 50px;
    font-weight: 600;
    transition: color 0.2s;
}

.ticker-content a:hover {
    color: #fff;
}

.header-social {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.header-social a {
    color: inherit;
    opacity: 0.5;
    transition: opacity 0.2s;
}

.header-social a:hover {
    opacity: 1;
}

.header-mid {
    padding: 18px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--color-border);
}

.logo-text {
    text-decoration: none;
    display: flex;
    align-items: baseline;
    gap: 0;
}

.logo-iz {
    font-size: 2.4rem;
    font-weight: 900;
    letter-spacing: -2px;
    color: var(--color-accent-red);
    line-height: 1;
}

.logo-moto {
    font-size: 2.4rem;
    font-weight: 900;
    letter-spacing: -2px;
    color: #111;
    line-height: 1;
}

.site-tagline {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: #bbb;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-top: 2px;
}

.header-stats {
    display: flex;
    gap: 40px;
    align-items: center;
}

.stat-box {
    text-align: center;
    border-right: 1px solid #eee;
    padding-right: 40px;
}

.stat-box:last-child {
    border-right: none;
    padding-right: 0;
}

.stat-num {
    display: block;
    font-size: 1.8rem;
    font-weight: 400;
    line-height: 1;
    color: #111;
}

.stat-label {
    font-size: 10px;
    color: #bbb;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
}

.header-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.action-btn {
    background: #f8f8f8;
    border: 1px solid #eee;
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    font-size: 14px;
    color: #444;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.action-btn i {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.action-btn:hover {
    background: var(--color-accent-red);
    color: #fff;
    border-color: var(--color-accent-red);
    transform: translateY(-2px);
}

.mobile-menu-btn {
    background: #111;
    color: #fff;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: background 0.2s;
}

.mobile-menu-btn:hover {
    background: var(--color-accent-red);
}

.main-navigation {
    background: #fff;
    border-bottom: 2px solid #111;
}

.main-navigation .menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    display: block;
    padding: 1.25rem 1rem;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    color: #333;
    transition: color 0.2s;
}

.main-navigation li:first-child a {
    padding-left: 0;
}

/* Sticky Header State */
.header-top {
    max-height: 100px;
    opacity: 1;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease, opacity 0.3s ease;
}

.site-header.scrolled .header-top {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
    border: none;
}

.header-mid {
    transition: padding 0.3s ease;
}

.site-header.scrolled .header-mid {
    padding: 10px 0;
}

.site-header.scrolled .header-stats {
    display: none;
}

@media (max-width: 992px) {
    .header-stats { display: none; }
    .header-mid { padding: 15px 0; }
}

@media (max-width: 768px) {
    .desktop-only { display: none; }
    .mobile-menu-btn { display: flex; }
    .main-navigation { display: none; }
    .header-top { display: none; }
}

/* ==========================================================================
   Homepage Components
   ========================================================================== */

/* Hero Smart Grid */
.hero-smart-grid {
    padding: 20px 0;
    background: var(--color-bg-base);
}

.hero-grid-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 10px;
    height: 500px;
}

.hero-main-post, .hero-side-post {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    height: 100%;
}

.hero-main-post {
    grid-row: span 2;
}

.hero-side-posts {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 10px;
}

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

.hero-main-post:hover .hero-img,
.hero-side-post:hover .hero-img {
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 60%);
    z-index: 2;
}

.hero-post-info {
    position: absolute;
    bottom: 40px;
    left: 40px;
    right: 40px;
    z-index: 3;
}

.hero-post-info h2 {
    color: #fff;
    font-size: 2.8rem;
    font-weight: 900;
    margin: 15px 0 10px;
    line-height: 1.1;
}

.hero-meta {
    display: flex;
    gap: 20px;
    color: rgba(255,255,255,0.6);
    font-size: 12px;
    font-weight: 700;
}

.hero-post-info-small {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 3;
}

.hero-post-info-small h3 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0;
}

.badge {
    background: var(--color-accent-red);
    color: #fff;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 2px;
}

/* Brand Marquee */
.brand-marquee-strip {
    background: #0a0a0a;
    border-top: 2px solid #1a1a1a;
    overflow: hidden;
    padding: 25px 0;
}

.marquee-inner {
    display: flex;
    gap: 60px;
    animation: scrollMarquee 30s linear infinite;
    white-space: nowrap;
    align-items: center;
}

.marquee-item {
    font-weight: 900;
    font-style: italic;
    font-size: 1.1rem;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.marquee-dot {
    color: var(--color-accent-red);
}

/* Trending Section */
.trending-section {
    padding: 80px 0;
    background: var(--color-bg-surface);
}

.trending-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.trending-title {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 40px;
    border-bottom: 3px solid var(--color-text-main);
    display: inline-block;
    padding-bottom: 10px;
}

.trending-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.trending-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.trending-num {
    font-size: 2.5rem;
    font-weight: 900;
    color: #eee;
    line-height: 1;
}

.trending-tag {
    font-size: 10px;
    font-weight: 800;
    color: var(--color-accent-red);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.trending-info h4 {
    font-size: 1.1rem;
    font-weight: 800;
    margin: 5px 0 0;
}

.trending-info a {
    color: var(--color-text-main);
    text-decoration: none;
}

.news-list-simple {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item-simple {
    display: block;
    text-decoration: none;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 15px;
}

.news-item-simple h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text-main);
    margin: 0;
    line-height: 1.4;
    transition: color 0.2s;
}

.news-item-simple:hover h4 {
    color: var(--color-accent-red);
}

.news-item-simple span {
    font-size: 11px;
    color: var(--color-text-muted);
    margin-top: 5px;
    display: block;
}

/* Promo Banner */
.promo-banner {
    margin: 40px 0;
}

.promo-box {
    background: url('../img/hero.png') center/cover;
    height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 60px;
}

.promo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
    z-index: 1;
}

.promo-content {
    position: relative;
    z-index: 2;
    max-width: 550px;
}

.promo-badge {
    background: #fff;
    color: #111;
    padding: 4px 15px;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 20px;
}

.promo-title {
    color: #fff;
    font-size: 3.5rem;
    font-weight: 900;
    margin: 0 0 15px;
    line-height: 1;
}

.promo-title .highlight {
    color: var(--color-accent-red);
}

.promo-text {
    color: #bbb;
    font-size: 1rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.promo-actions {
    display: flex;
    gap: 15px;
}

.mag-card-img {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.mag-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mag-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--color-accent-red);
    color: #fff;
    padding: 2px 8px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 2px;
}

.mag-card-content {
    padding: 25px;
}

.mag-card-content h4 {
    font-size: 1.2rem;
    margin: 0 0 15px;
}

.mag-card-content a {
    color: var(--color-text-main);
    text-decoration: none;
}

.mag-meta {
    display: flex;
    gap: 15px;
    font-size: 11px;
    color: var(--color-text-muted);
    font-weight: 700;
}

.mag-post-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.mag-post-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.post-cat-label {
    background: var(--color-accent-red);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 2px;
    display: inline-block;
    margin-bottom: 8px;
}

.section-title-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 2px solid #333;
}

.section-title-wrap h2 {
    background: #333;
    color: #fff;
    padding: 8px 20px;
    margin: 0;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

/* ==========================================================================
   Featured Section
   ========================================================================== */
.featured-section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    text-transform: uppercase;
}

.motorcycle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.moto-card {
    background-color: var(--color-bg-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all var(--transition-smooth);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.moto-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--color-accent-red);
}

.moto-card-img {
    aspect-ratio: 16/10;
    overflow: hidden;
}

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

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

.moto-card-content {
    padding: 2rem;
}

.moto-card-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.moto-specs-mini {
    display: flex;
    gap: 1rem;
    color: var(--color-text-muted);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.moto-specs-mini span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background-color: var(--color-bg-surface);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 1rem;
}

/* ==========================================================================
   Single Post Layout
   ========================================================================== */
.entry-header {
    margin-bottom: 30px;
}

.entry-meta {
    margin-bottom: 20px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}

.post-date, .post-author {
    font-size: 13px;
    color: var(--color-text-muted);
}

.post-reading-time {
    font-size: 12px;
    color: #bbb;
    display: flex;
    align-items: center;
    gap: 4px;
}

.entry-title {
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1.1;
    margin: 0 0 20px;
    letter-spacing: -1px;
}

.entry-featured-image {
    margin-bottom: 40px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

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

.share-bar {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--color-border);
    align-items: center;
}

.share-label {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--color-text-muted);
    letter-spacing: 1px;
}

.share-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    color: #fff;
    transition: transform 0.2s;
}

.share-btn:hover {
    transform: translateY(-3px);
    color: #fff;
}

.share-tw { background: #1DA1F2; }
.share-fb { background: #4267B2; }
.share-wa { background: #25D366; }

.entry-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.entry-content p {
    margin-bottom: 1.5rem;
}

.entry-content h2 {
    margin: 3rem 0 1.5rem;
    font-size: 1.8rem;
}

/* Author Box */
.author-box {
    display: flex;
    gap: 25px;
    background: var(--color-bg-base);
    padding: 30px;
    border-radius: var(--radius-md);
    margin: 50px 0;
}

.author-avatar img {
    border-radius: 50%;
}

.author-info h4 {
    margin: 0 0 10px;
    font-size: 1.2rem;
}

.author-info p {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 768px) {
    .entry-title { font-size: 2rem; }
    .author-box { flex-direction: column; text-align: center; }
    .author-avatar { margin: 0 auto; }
}

/* ==========================================================================
   Archive & Catalog Layout
   ========================================================================== */
.archive-hero {
    background: var(--color-bg-surface);
    padding: 80px 0;
    border-bottom: 1px solid var(--color-border);
}

.archive-title {
    color: var(--color-text-main);
    font-size: 3.5rem;
    font-weight: 900;
    margin: 0;
    letter-spacing: -2px;
}

.archive-description {
    margin-top: 15px;
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .archive-hero { padding: 50px 0; }
    .archive-title { font-size: 2.5rem; }
}

.archive-container {
    padding: 60px 0;
}

.archive-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

.filter-sidebar {
    background: #fdfdfd;
    padding: 30px;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.sidebar-title {
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.filter-group {
    margin-bottom: 30px;
}

.filter-label {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 15px;
}

.filter-checkbox {
    display: block;
    font-size: 13px;
    margin-bottom: 8px;
    cursor: pointer;
    color: #333;
}

.filter-checkbox input {
    margin-right: 8px;
}

.score-buttons {
    display: flex;
    gap: 5px;
}

.score-filter {
    background: #eee;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
}

.score-filter.active {
    background: var(--color-accent-red);
    color: #fff;
}

.full-width {
    width: 100%;
}

.reset-link {
    width: 100%;
    background: none;
    border: none;
    color: #bbb;
    font-size: 11px;
    font-weight: 700;
    margin-top: 15px;
    cursor: pointer;
    text-transform: uppercase;
}

.archive-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 20px;
}

.results-count {
    font-size: 13px;
    color: var(--color-text-muted);
}

.archive-sort {
    border: 1px solid var(--color-border);
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 4px;
    outline: none;
}

.moto-archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.card-rating-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.8);
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 800;
}

.card-rating-badge i {
    color: #ffc107;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 900;
    margin: 12px 0 10px;
    line-height: 1.2;
}

.card-specs-mini {
    display: flex;
    gap: 15px;
    font-size: 11px;
    font-weight: 800;
    color: #999;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.card-footer {
    border-top: 1px solid #f5f5f5;
    padding-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.read-more-link {
    font-size: 11px;
    font-weight: 900;
    color: #111;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.add-to-compare {
    background: none;
    border: none;
    padding: 0;
    color: var(--color-accent-red);
    font-size: 11px;
    font-weight: 900;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pagination-wrap {
    margin-top: 50px;
}

@media (max-width: 1200px) {
    .moto-archive-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
    .archive-layout { grid-template-columns: 1fr; }
    .filter-sidebar { position: static; margin-bottom: 40px; }
}

/* ==========================================================================
   Motorcycle Detail Page
   ========================================================================== */
.moto-detail-container {
    padding-top: 20px;
}

.moto-detail-header {
    margin-bottom: 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 20px;
}

.moto-brand-label {
    color: var(--color-accent-red);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 14px;
}

.moto-header-actions {
    display: flex;
    gap: 10px;
}

.moto-header-actions .btn {
    display: flex;
    align-items: center;
    gap: 8px;
}

.moto-detail-gallery {
    background: #000;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 40px;
    position: relative;
}

.main-gallery-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.floating-share {
    position: absolute;
    left: 20px;
    top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 10;
}

.share-circle {
    width: 45px;
    height: 45px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    text-decoration: none;
    transition: transform 0.2s;
}

.share-circle:hover {
    transform: scale(1.1);
}

.share-circle.fb { color: #1877F2; }
.share-circle.tw { color: #1DA1F2; }
.share-circle.wa { color: #25D366; }

.moto-highlight-specs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.spec-card {
    background: #fdfdfd;
    border: 1px solid var(--color-border);
    padding: 25px;
    text-align: center;
    border-radius: var(--radius-sm);
}

.spec-label {
    display: block;
    font-size: 10px;
    font-weight: 800;
    color: var(--color-text-muted);
    text-transform: uppercase;
    margin-bottom: 5px;
}

.spec-value {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--color-text-main);
}

.content-block-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    border-left: 5px solid var(--color-accent-red);
    padding-left: 20px;
    text-transform: uppercase;
}

@media (max-width: 992px) {
    .moto-highlight-specs { grid-template-columns: repeat(2, 1fr); }
    .main-gallery-img { height: 350px; }
    .floating-share { position: static; flex-direction: row; margin-bottom: 20px; }
}

@media (max-width: 576px) {
    .moto-detail-header { align-items: flex-start; }
    .moto-header-actions { width: 100%; }
    .moto-header-actions .btn { flex: 1; font-size: 12px; }
}

/* ==========================================================================
   Forms & Inputs
   ========================================================================== */
input[type="text"],
input[type="email"],
textarea,
select {
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus,
select:focus {
    border-color: var(--color-accent-red) !important;
    box-shadow: 0 0 0 2px rgba(230, 32, 32, 0.2);
}

/* ==========================================================================
   Swiper Adjustments
   ========================================================================== */
.swiper-button-next,
.swiper-button-prev {
    color: white !important;
    background-color: rgba(0,0,0,0.5);
    width: 50px !important;
    height: 50px !important;
    border-radius: 50%;
}
.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 1.2rem !important;
}
.swiper-pagination-bullet {
    background: white !important;
    opacity: 0.5 !important;
}
.swiper-pagination-bullet-active {
    opacity: 1 !important;
    background: var(--color-accent-red) !important;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .main-navigation ul {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: var(--color-bg-surface);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
    }
    
    .main-navigation.active ul {
        display: flex;
    }
    
    .header-cta {
        display: none;
    }
    
    .hero-title {
        font-size: 3rem;
        line-height: 0.85;
        margin-bottom: 2rem;
        letter-spacing: -2px;
        font-weight: 900;
    }
}

/* Single Post & Sidebar Enhancements */
.single-post-container {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 60px;
    padding: 60px 0;
}

@media (max-width: 1024px) {
    .single-post-container {
        grid-template-columns: 1fr;
    }
}

.sidebar-side {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.social-share-v {
    position: sticky;
    top: 120px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    float: left;
    margin-left: -80px;
    margin-top: 100px;
}

@media (max-width: 1280px) {
    .social-share-v {
        position: static;
        flex-direction: row;
        margin: 0 0 30px 0;
        float: none;
    }
}

.share-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    transition: transform 0.2s;
}

.share-btn:hover {
    transform: scale(1.1);
}

.share-tw { background: #1DA1F2; }
.share-fb { background: #4267B2; }
.share-wa { background: #25D366; }

.single-post-container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 50px;
    padding: 40px 0;
}

@media (max-width: 992px) {
    .single-post-container {
        grid-template-columns: 1fr;
    }
}

.entry-header {
    margin-bottom: 30px;
}

.entry-meta {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: 15px;
    display: flex;
    gap: 15px;
}

.entry-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.entry-content {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #333;
}

.entry-content p {
    margin-bottom: 1.5rem;
}

.entry-content blockquote {
    border-left: 5px solid var(--color-accent-red);
    padding: 20px 30px;
    margin: 30px 0;
    background: #f9f9f9;
    font-style: italic;
    font-size: 1.25rem;
    color: #111;
}

.author-box {
    display: flex;
    gap: 25px;
    padding: 30px;
    background: #fdfdfd;
    border: 1px solid #eee;
    margin-top: 50px;
    border-radius: 4px;
}

.author-avatar img {
    border-radius: 50%;
    width: 80px;
    height: 80px;
}

.author-info h4 {
    margin: 0 0 10px;
    font-size: 16px;
    text-transform: uppercase;
}

.author-info p {
    margin: 0;
    font-size: 14px;
    color: #777;
    line-height: 1.6;
}


/* Mobile Navigation Helper */
@media (max-width: 768px) {
    .mobile-only {
        display: block !important;
    }
    .main-navigation {
        display: none;
    }
    .main-navigation.active {
        display: block;
    }
    .header-info {
        gap: 10px !important;
    }
}


/* ================================================
   Main Content + Sidebar Two-Column Layout
   ================================================ */
.main-content-area {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 50px;
    padding: 50px 0;
}

@media (max-width: 1024px) {
    .main-content-area {
        grid-template-columns: 1fr;
    }
}

/* ================================================
   Magazine Post Cards Grid
   ================================================ */
.magazine-grid-full {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

@media (max-width: 768px) {
    .magazine-grid-full {
        grid-template-columns: 1fr;
    }
}

.mag-post-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mag-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* ================================================
   Section Title Wrap (Jannah-style)
   ================================================ */
.section-title-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid #111;
    padding-bottom: 12px;
    margin-bottom: 25px;
}

.section-title-wrap h2 {
    font-size: 1rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    position: relative;
}

.section-title-wrap h2::before {
    content: ";
 display: inline-block;
 width: 4px;
 height: 1rem;
 background: var(--color-accent-red);
 margin-right: 10px;
 vertical-align: middle;
}

/* ================================================
 Post Category Label
 ================================================ */
.post-cat-label {
 display: inline-block;
 background: var(--color-accent-red);
 color: #fff;
 font-size: 10px;
 font-weight: 800;
 text-transform: uppercase;
 letter-spacing: 1px;
 padding: 4px 10px;
 border-radius: 2px;
 margin-bottom: 10px;
}

/* ================================================
 Ticker Label
 ================================================ */
.ticker-label {
 display: inline-block;
 background: var(--color-accent-red);
 color: #fff;
 font-size: 11px;
 font-weight: 800;
 text-transform: uppercase;
 letter-spacing: 2px;
 padding: 5px 12px;
 border-radius: 2px;
}

/* ================================================
 Dark Editorial Section
 ================================================ */
.editorial-dark {
 background: #0a0a0a;
 color: #fff;
 padding: 70px 0;
 margin-top: 60px;
}

.editorial-dark .section-title-wrap {
 border-bottom-color: var(--color-accent-red);
}

.editorial-dark .section-title-wrap h2 {
 color: #fff;
}

/* ================================================
 Buttons
 ================================================ */
.btn {
 display: inline-block;
 padding: 12px 28px;
 font-weight: 800;
 font-size: 13px;
 text-decoration: none;
 border-radius: var(--radius-md);
 text-transform: uppercase;
 letter-spacing: 1px;
 transition: all 0.2s ease;
 cursor: pointer;
 border: 2px solid transparent;
}

.btn-primary {
 background: var(--color-accent-red);
 color: #fff;
 border-color: var(--color-accent-red);
}

.btn-primary:hover {
 background: #c91a1a;
 border-color: #c91a1a;
 color: #fff;
}

.btn-outline {
 background: transparent;
 color: #111;
 border-color: #ddd;
}

.btn-outline:hover {
 background: #111;
 color: #fff;
 border-color: #111;
}

/* ================================================
   Premium Header Styles
   ================================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 10000;
    background: var(--color-bg-surface);
    transition: box-shadow 0.3s ease, transform 0.35s ease;
}

#primary-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0;
}

#primary-menu > li > a {
    display: block;
    padding: 18px 20px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
    border-bottom: 3px solid transparent;
}

#primary-menu > li > a:hover,
#primary-menu > li.current-menu-item > a {
    color: var(--color-accent-red);
    border-bottom-color: var(--color-accent-red);
}

/* Dropdown */
#primary-menu .sub-menu {
    display: none;
    position: absolute;
    background: #fff;
    border: 1px solid #eee;
    border-top: 3px solid var(--color-accent-red);
    min-width: 220px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    list-style: none;
    padding: 10px 0;
    margin: 0;
    z-index: 9999;
}

#primary-menu li {
    position: relative;
}

#primary-menu li:hover > .sub-menu {
    display: block;
}

#primary-menu .sub-menu li a {
    display: block;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}

#primary-menu .sub-menu li a:hover {
    background: #f9f9f9;
    color: var(--color-accent-red);
    padding-left: 26px;
}

/* Header Stats - hide on small screens */
@media (max-width: 992px) {
    .header-stats { display: none !important; }
}

@media (max-width: 768px) {
    .header-mid { flex-wrap: wrap; gap: 15px; }
    #site-navigation { display: none !important; }
    .desktop-only { display: none !important; }
    #open-mobile-menu { display: flex !important; }
}

/* Dark Mode header */
[data-theme=dark] .site-header {
    background: #111;
    border-bottom-color: #222;
}

[data-theme=dark] #primary-menu > li > a {
    color: #ccc;
}

[data-theme=dark] .header-mid {
    border-bottom-color: #222;
}

/* ================================================
   Pagination
   ================================================ */
.nav-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #eee;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    color: #333;
    text-decoration: none;
    transition: all 0.2s;
}

.page-numbers.current,
.page-numbers:hover {
    background: var(--color-accent-red);
    color: #fff;
    border-color: var(--color-accent-red);
}

/* ================================================
   Comments Styling
   ================================================ */
.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment-body {
    background: #fdfdfd;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 25px;
    margin-bottom: 20px;
}

.comment-author .fn {
    font-weight: 800;
    font-size: 15px;
}

.comment-metadata {
    font-size: 12px;
    color: #bbb;
    margin-top: 5px;
    margin-bottom: 15px;
}

.reply a {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--color-accent-red);
    letter-spacing: 1px;
}

.comment-respond {
    background: #fdfdfd;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 40px;
    margin-top: 40px;
}

.comment-respond h3 {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 25px;
}

.comment-form textarea,
.comment-form input[type=text],
.comment-form input[type=email],
.comment-form input[type=url] {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #eee;
    border-radius: 4px;
    background: #f9f9f9;
    font-family: inherit;
    font-size: 14px;
    margin-bottom: 15px;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.comment-form textarea:focus,
.comment-form input:focus {
    outline: none;
    border-color: var(--color-accent-red);
    box-shadow: 0 0 0 3px rgba(230,33,33,0.08);
}

.comment-form .submit {
    background: var(--color-accent-red);
    color: #fff;
    border: none;
    padding: 14px 35px;
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
}

.comment-form .submit:hover {
    background: #c91a1a;
}

/* Responsive Title Fix */
.main-moto-title {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 0.9;
    margin: 0;
    letter-spacing: -2px;
}

@media (max-width: 768px) {
    .main-moto-title {
        font-size: 2.8rem;
        letter-spacing: -1px;
    }
}

/* ==========================================================================
   Animations & Reveal
   ========================================================================== */
.mag-post-card, .moto-card, .widget, .review-score-box, .hero-smart-grid, .trending-section, .editorial-dark article {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
}

.revealed {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

@keyframes tickerLoop {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes scrollMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@ k e y f r a m e s   t i c k e r L o o p   {   0 %   {   t r a n s f o r m :   t r a n s l a t e X ( 0 ) ;   }   1 0 0 %   {   t r a n s f o r m :   t r a n s l a t e X ( - 5 0 % ) ;   }   } 
 
 
