/* ====================================
   Eyonelmagles Arabic News - Complete Styling
   ==================================== */

/* Import Professional Fonts with Fallbacks */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;900&family=IBM+Plex+Sans+Arabic:wght@300;400;500;600;700&display=swap');

/* Local Font Fallbacks */
@font-face {
    font-family: 'Tajawal';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: local('Tajawal Regular'), local('Tajawal-Regular'), local('Arial');
}

@font-face {
    font-family: 'Tajawal';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: local('Tajawal Bold'), local('Tajawal-Bold'), local('Arial Bold');
}

@font-face {
    font-family: 'IBM Plex Sans Arabic';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: local('IBM Plex Sans Arabic'), local('Arial');
}

@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

/* CSS Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* ألوان براند عيون المجلس الموحدة */
    --eyon-red: #B80000;
    --eyon-red-hover: #990000;
    --eyon-black: #0F0F0F;
    --eyon-dark: #141414;
    --eyon-gray: #1A1A1A;
    --eyon-text-muted: #A0A0A0;
    --eyon-bg: #F6F6F6;
    --eyon-white: #FFFFFF;
    --eyon-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* المتغيرات القديمة للتوافقية مع الويدجيت الحالية */
    --eyon-red-legacy: var(--eyon-red);
    --eyon-red-hover-legacy: var(--eyon-red-hover);
    --eyon-dark-legacy: var(--eyon-dark);
    --eyon-gray-legacy: #545658;
    --eyon-light-gray-legacy: #E6E8EA;
    --eyon-bg-legacy: var(--eyon-bg);
    --eyon-white-legacy: var(--eyon-white);
    --transition: var(--eyon-transition);

    /* متغيرات Single Post Master */
    --eyon-spm-primary-red: #E60000;
    --eyon-spm-accent-red: #FF3333;
    --eyon-spm-main-black: #080808;
    --eyon-spm-card-bg: #121212;
    --eyon-spm-text-main: #FFFFFF;
    --eyon-spm-text-secondary: #B0B0B0;
    --eyon-spm-glass: rgba(255, 255, 255, 0.03);
    --eyon-spm-border-color: rgba(255, 255, 255, 0.08);
    --eyon-spm-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --eyon-spm-hero-overlay: linear-gradient(0deg, #080808 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.7) 100%);
}

/* ====================================
   Body Theme Sync for Archive Widgets
   ==================================== */

/* Body transition for smooth theme switching */
body {
    transition: background-color 0.4s ease-in-out, color 0.4s ease-in-out !important;
}

/* Dark theme body styles */
body.eyon-dark-body {
    background-color: var(--eyon-black, #0a0a0a) !important;
    color: #ffffff !important;
}

/* Light theme body styles */
body.eyon-light-body {
    background-color: var(--eyon-bg, #f6f6f6) !important;
    color: #333333 !important;
}

/* Ensure proper contrast for archive widgets in dark mode */
body.eyon-dark-body .eyon-al-wrapper,
body.eyon-dark-body .eyon-ag-wrapper,
body.eyon-dark-body .eyon-ao-wrapper,
body.eyon-dark-body .eyon-tl-wrapper,
body.eyon-dark-body .eyon-dg-wrapper {
    background: transparent;
}

/* Ensure proper contrast for archive widgets in light mode */
body.eyon-light-body .eyon-al-wrapper,
body.eyon-light-body .eyon-ag-wrapper,
body.eyon-light-body .eyon-ao-wrapper,
body.eyon-light-body .eyon-tl-wrapper,
body.eyon-light-body .eyon-dg-wrapper {
    background: transparent;
}

/* Archive card adjustments for dark theme */
body.eyon-dark-body .eyon-al-card,
body.eyon-dark-body .eyon-ag-card,
body.eyon-dark-body .eyon-ao-card,
body.eyon-dark-body .eyon-tl-item,
body.eyon-dark-body .eyon-dg-card {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

/* Archive card adjustments for light theme */
body.eyon-light-body .eyon-al-card,
body.eyon-light-body .eyon-ag-card,
body.eyon-light-body .eyon-ao-card,
body.eyon-light-body .eyon-tl-item,
body.eyon-light-body .eyon-dg-card {
    background: rgba(0, 0, 0, 0.02);
    color: #1a1a1a;
}

/* Archive text adjustments for dark theme */
body.eyon-dark-body .eyon-al-title,
body.eyon-dark-body .eyon-ag-title,
body.eyon-dark-body .eyon-ao-title,
body.eyon-dark-body .eyon-tl-title,
body.eyon-dark-body .eyon-dg-title {
    color: #ffffff !important;
}

/* Archive text adjustments for light theme */
body.eyon-light-body .eyon-al-title,
body.eyon-light-body .eyon-ag-title,
body.eyon-light-body .eyon-ao-title,
body.eyon-light-body .eyon-tl-title,
body.eyon-light-body .eyon-dg-title {
    color: #1a1a1a !important;
}

/* Archive meta adjustments for dark theme */
body.eyon-dark-body .eyon-al-meta,
body.eyon-dark-body .eyon-ag-meta,
body.eyon-dark-body .eyon-ao-meta,
body.eyon-dark-body .eyon-tl-meta,
body.eyon-dark-body .eyon-dg-meta {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Archive meta adjustments for light theme */
body.eyon-light-body .eyon-al-meta,
body.eyon-light-body .eyon-ag-meta,
body.eyon-light-body .eyon-ao-meta,
body.eyon-light-body .eyon-tl-meta,
body.eyon-light-body .eyon-dg-meta {
    color: rgba(0, 0, 0, 0.6) !important;
}

/* خصائص وضع القراءة النهاري */
body.eyon-spm-light-mode {
    --eyon-spm-main-black: #F5F5F7;
    --eyon-spm-card-bg: #FFFFFF;
    --eyon-spm-text-main: #1A1A1A;
    --eyon-spm-text-secondary: #555555;
    --eyon-spm-glass: rgba(0, 0, 0, 0.03);
    --eyon-spm-border-color: rgba(0, 0, 0, 0.1);
    --eyon-spm-hero-overlay: linear-gradient(0deg, #F5F5F7 0%, rgba(245, 245, 247, 0.3) 50%, rgba(245, 245, 247, 0.7) 100%);
}

/* ====================================
   Archive Global Resets
   ==================================== */

.eyon-al-wrapper a,
.eyon-al-wrapper h1,
.eyon-al-wrapper h2,
.eyon-al-wrapper h3,
.eyon-al-wrapper h4,
.eyon-al-wrapper h5,
.eyon-al-wrapper h6,
.eyon-al-wrapper a:hover,
.eyon-ag-wrapper a,
.eyon-ag-wrapper h1,
.eyon-ag-wrapper h2,
.eyon-ag-wrapper h3,
.eyon-ag-wrapper h4,
.eyon-ag-wrapper h5,
.eyon-ag-wrapper h6,
.eyon-ag-wrapper a:hover,
.eyon-ao-wrapper a,
.eyon-ao-wrapper h1,
.eyon-ao-wrapper h2,
.eyon-ao-wrapper h3,
.eyon-ao-wrapper h4,
.eyon-ao-wrapper h5,
.eyon-ao-wrapper h6,
.eyon-ao-wrapper a:hover,
.eyon-tl-wrapper a,
.eyon-tl-wrapper h1,
.eyon-tl-wrapper h2,
.eyon-tl-wrapper h3,
.eyon-tl-wrapper h4,
.eyon-tl-wrapper h5,
.eyon-tl-wrapper h6,
.eyon-tl-wrapper a:hover,
.eyon-dg-wrapper a,
.eyon-dg-wrapper h1,
.eyon-dg-wrapper h2,
.eyon-dg-wrapper h3,
.eyon-dg-wrapper h4,
.eyon-dg-wrapper h5,
.eyon-dg-wrapper h6,
.eyon-dg-wrapper a:hover {
    text-decoration: none !important;
}

/* حاوية موحدة لجميع الويدجيت لضمان المحاذاة */
.eyon-container {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .eyon-container {
        padding-left: 16px;
        padding-right: 16px;
    }
}

body {
    font-family: 'Tajawal', 'IBM Plex Sans Arabic', 'Arial Unicode MS', 'Tahoma', sans-serif !important;
    direction: rtl;
    background-color: var(--eyon-bg);
    color: var(--eyon-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}



/* ========== NEWS GRID COMPONENTS ========== */
.eyon-news-section {
    margin: 2rem 0;
}

.eyon-section-divider {
    border-right: 5px solid var(--eyon-red);
    padding-right: 1rem;
    margin-bottom: 2rem;
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--eyon-red);
    transition: var(--eyon-transition);
    display: inline-block;
}

.eyon-section-divider:hover {
    color: var(--eyon-red-hover);
    transform: translateX(8px);
}

/* Layouts */
/* ========== SHARED CARD BASE ========== */
.eyon-card-base {
    background: var(--eyon-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: var(--eyon-transition);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    height: 100%;
    color: var(--eyon-dark);
}

.eyon-card-base:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.eyon-card-base .eyon-thumb-wrapper {
    position: relative;
    overflow: hidden;
    background: var(--eyon-light-gray-legacy);
}

.eyon-card-base .eyon-thumb-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.eyon-card-base:hover .eyon-thumb-wrapper img {
    transform: scale(1.08);
}

/* ========== MAIN NEWS GRID (MNG) ========== */
.eyon-mng-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
    direction: rtl;
}

/* Force 2-column layout for Main News Grid */
.eyon-mng-section .eyon-mng-grid {
    grid-template-columns: 2fr 1fr !important;
    --eyon-grid-columns: 2 !important;
}

/* RTL Support - Main post on right, sidebar on left */
[dir="rtl"] .eyon-mng-grid {
    grid-template-columns: 2fr 1fr;
}

[dir="ltr"] .eyon-mng-grid {
    grid-template-columns: 1fr 2fr;
}

/* Ensure sidebar items stay in second column */
.eyon-mng-side {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Ensure featured post stays in first column */
.eyon-mng-featured {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.eyon-mng-side {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    height: 100%;
}

/* Side items - Vertical Layout */
.eyon-mng-side .eyon-mng-card {
    flex-direction: column;
    margin-bottom: 0;
    height: auto;
    flex: 1;
    /* Distribute space evenly to match featured height */
}

.eyon-mng-side .eyon-mng-card .eyon-thumb-wrapper {
    width: 100%;
    height: 140px;
    border-radius: 12px 12px 0 0;
}

.eyon-mng-side .eyon-mng-card .eyon-mng-body {
    padding: 1.25rem;
    border-radius: 0 0 12px 12px;
    background: var(--eyon-white);
    flex-grow: 1;
}

.eyon-mng-side .eyon-mng-card .eyon-mng-title {
    color: var(--eyon-dark);
    transition: color 0.3s ease;
    font-weight: 800;
    margin-bottom: 0.75rem;
    line-height: 1.35;
    font-size: 0.95rem;
}

.eyon-mng-side .eyon-mng-card:hover .eyon-mng-title {
    color: var(--eyon-red);
}

.eyon-mng-side .eyon-mng-card .eyon-mng-meta {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--eyon-text-muted);
}

.eyon-mng-side .eyon-mng-card .eyon-mng-meta-dot {
    width: 7px;
    height: 7px;
    background: var(--eyon-red);
    border-radius: 50%;
}

.eyon-mng-card .eyon-mng-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.eyon-mng-card .eyon-mng-title {
    color: var(--eyon-dark);
    transition: color 0.3s ease;
    font-weight: 800;
    margin-bottom: 0.75rem;
    line-height: 1.35;
}

.eyon-mng-card:hover .eyon-mng-title {
    color: var(--eyon-red);
}

.eyon-mng-card .eyon-mng-excerpt {
    font-size: 0.95rem;
    color: var(--eyon-text-muted);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.eyon-mng-card .eyon-mng-meta {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--eyon-text-muted);
}

.eyon-mng-card .eyon-mng-meta-dot {
    width: 8px;
    height: 8px;
    background: var(--eyon-red);
    border-radius: 50%;
}

.eyon-mng-horizontal {
    flex-direction: row !important;
}

.eyon-mng-horizontal .eyon-thumb-wrapper {
    width: 40%;
    flex-shrink: 0;
}

.eyon-mng-horizontal .eyon-mng-body {
    padding: 1.25rem;
    justify-content: center;
}

/* ========== NEWS GRID (NG) ========== */
.eyon-ng-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
    direction: rtl;
}

/* Force 2-column layout for News Grid */
.eyon-ng-section .eyon-ng-grid {
    grid-template-columns: 2fr 1fr !important;
}

/* RTL Support - Main post on right, sidebar on left */
[dir="rtl"] .eyon-ng-grid {
    grid-template-columns: 2fr 1fr;
}

[dir="ltr"] .eyon-ng-grid {
    grid-template-columns: 1fr 2fr;
}

/* Prevent global grid variables from affecting News Grid */
.eyon-ng-section .eyon-ng-grid,
.eyon-ng-grid {
    grid-template-columns: 2fr 1fr !important;
    --eyon-grid-columns: 2 !important;
}

/* Ensure sidebar items stay in second column */
.eyon-ng-side {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Ensure featured post stays in first column */
.eyon-ng-featured {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.eyon-ng-side {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    height: 100%;
}

/* Side items - Vertical Layout */
.eyon-ng-side .eyon-ng-card {
    flex-direction: column;
    margin-bottom: 0;
    height: auto;
    flex: 1;
    /* Distribute space evenly to match featured height */
}

.eyon-ng-side .eyon-ng-card .eyon-thumb-wrapper {
    width: 100%;
    height: 180px;
    border-radius: 12px 12px 0 0;
}

.eyon-ng-side .eyon-ng-card .eyon-ng-body {
    padding: 1.25rem;
    border-radius: 0 0 12px 12px;
    background: var(--eyon-white);
    flex-grow: 1;
}

.eyon-ng-side .eyon-ng-card .eyon-ng-badge {
    color: var(--eyon-red);
    font-weight: 800;
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
    display: block;
}

.eyon-ng-side .eyon-ng-card .eyon-ng-title {
    color: var(--eyon-dark);
    transition: color 0.3s ease;
    font-weight: 800;
    margin-bottom: 0.75rem;
    line-height: 1.35;
    font-size: 1rem;
}

.eyon-ng-side .eyon-ng-card:hover .eyon-ng-title {
    color: var(--eyon-red);
}

.eyon-ng-side .eyon-ng-card .eyon-ng-meta {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--eyon-text-muted);
}

.eyon-ng-side .eyon-ng-card .eyon-ng-meta-dot {
    width: 7px;
    height: 7px;
    background: var(--eyon-red);
    border-radius: 50%;
}

.eyon-ng-bottom {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    border-top: 1px solid var(--eyon-light-gray-legacy);
    padding-top: 2rem;
    margin-top: 1.5rem;
}

.eyon-ng-bottom .eyon-ng-card {
    flex-direction: column;
    padding: 1.25rem;
    background: var(--eyon-white);
    border-radius: 12px;
    border: 1px solid var(--eyon-light-gray-legacy);
    text-decoration: none;
    color: var(--eyon-dark);
    transition: var(--eyon-transition);
}

.eyon-ng-bottom .eyon-ng-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--eyon-red);
}

.eyon-ng-bottom .eyon-ng-card .eyon-ng-badge {
    color: var(--eyon-red);
    font-weight: 800;
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
    display: block;
}

.eyon-ng-bottom .eyon-ng-card .eyon-ng-title {
    color: var(--eyon-dark);
    transition: color 0.3s ease;
    font-weight: 800;
    margin-bottom: 0;
    line-height: 1.35;
    font-size: 0.95rem;
}

.eyon-ng-bottom .eyon-ng-card:hover .eyon-ng-title {
    color: var(--eyon-red);
}

.eyon-ng-card .eyon-ng-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.eyon-ng-card .eyon-ng-title {
    color: var(--eyon-dark);
    transition: color 0.3s ease;
    font-weight: 800;
    margin-bottom: 0.75rem;
    line-height: 1.35;
}

.eyon-ng-card:hover .eyon-ng-title {
    color: var(--eyon-red);
}

.eyon-ng-card .eyon-ng-excerpt {
    font-size: 0.92rem;
    color: #444;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.eyon-ng-card .eyon-ng-meta {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--eyon-text-muted);
}

.eyon-ng-card .eyon-ng-meta-dot {
    width: 7px;
    height: 7px;
    background: var(--eyon-red);
    border-radius: 50%;
}

.eyon-ng-horizontal {
    flex-direction: row !important;
}

.eyon-ng-horizontal .eyon-thumb-wrapper {
    width: 38%;
    flex-shrink: 0;
}

.eyon-ng-horizontal .eyon-ng-body {
    padding: 1rem;
    justify-content: center;
}

.eyon-ng-headline {
    padding: 1.25rem;
    justify-content: center;
    border-right: 3px solid transparent;
}

.eyon-ng-headline:hover {
    border-right-color: var(--eyon-red);
}

.eyon-ng-card .eyon-ng-badge {
    color: var(--eyon-red);
    font-weight: 800;
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
    display: block;
}

/* Responsive Grids */
@media (max-width: 1024px) {

    .eyon-mng-grid,
    .eyon-ng-grid {
        grid-template-columns: 1.5fr 1fr;
    }

    /* Force 2-column layout for Main News Grid on tablets */
    .eyon-mng-section .eyon-mng-grid {
        grid-template-columns: 1.5fr 1fr !important;
    }

    /* Force 2-column layout for News Grid on tablets */
    .eyon-ng-section .eyon-ng-grid {
        grid-template-columns: 1.5fr 1fr !important;
    }

    .eyon-ng-bottom {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .eyon-mng-grid,
    .eyon-ng-grid {
        grid-template-columns: 1fr;
    }

    /* Force single column on mobile */
    .eyon-mng-section .eyon-mng-grid {
        grid-template-columns: 1fr !important;
    }

    .eyon-ng-section .eyon-ng-grid {
        grid-template-columns: 1fr !important;
    }

    /* Reset grid positions for mobile */
    .eyon-mng-side,
    .eyon-mng-featured,
    .eyon-ng-side,
    .eyon-ng-featured {
        grid-column: unset;
        grid-row: unset;
    }

    .eyon-ng-bottom {
        grid-template-columns: repeat(2, 1fr);
    }

    .eyon-ng-side .eyon-ng-card .eyon-thumb-wrapper {
        height: 160px;
    }

    .eyon-mng-side .eyon-mng-card .eyon-thumb-wrapper {
        height: 120px;
    }

    .eyon-mng-horizontal,
    .eyon-ng-horizontal {
        flex-direction: row !important;
    }
}

@media (max-width: 480px) {
    .eyon-card-horizontal {
        flex-direction: column;
    }

    .eyon-card-horizontal .img-wrapper {
        width: 100%;
        aspect-ratio: 16/9;
    }

    .eyon-ng-bottom {
        grid-template-columns: 1fr;
    }

    .eyon-ng-side .eyon-ng-card .eyon-thumb-wrapper {
        height: 140px;
    }

    .eyon-ng-side .eyon-ng-card .eyon-ng-body {
        padding: 1rem;
    }

    .eyon-ng-bottom .eyon-ng-card {
        padding: 1rem;
    }

    .eyon-mng-side .eyon-mng-card .eyon-thumb-wrapper {
        height: 100px;
    }

    .eyon-mng-side .eyon-mng-card .eyon-mng-body {
        padding: 1rem;
    }
}

/* ========== VIDEO GRID ========== */
.eyon-video-section {
    margin: 3rem 0;
}

.eyon-video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.eyon-video-item {
    position: relative;
    background: #222;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    color: #fff;
    transition: var(--eyon-transition);
}

.eyon-video-item:hover {
    transform: scale(1.02);
    z-index: 10;
}

.eyon-video-featured {
    grid-column: span 4;
    aspect-ratio: 21 / 9;
    margin-bottom: 1.5rem;
}

.eyon-video-small {
    aspect-ratio: 16 / 9;
}

.eyon-video-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.eyon-video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--eyon-transition);
}

.eyon-video-item:hover .eyon-video-thumbnail img {
    transform: scale(1.1);
    filter: blur(2px);
}

.eyon-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.1) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    box-sizing: border-box;
    z-index: 2;
}

.eyon-video-title {
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    line-height: 1.35;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    color: #fff;
}

.eyon-video-featured .eyon-video-title {
    font-size: 2rem;
    max-width: 70%;
}

.eyon-video-small .eyon-video-title {
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.eyon-video-meta {
    font-size: 0.95rem;
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
}

.eyon-video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 80px;
    height: 80px;
    background: var(--eyon-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 3;
    box-shadow: 0 4px 20px rgba(184, 0, 0, 0.4);
}

.eyon-video-play-btn::after {
    content: "";
    border-left: 20px solid white;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    margin-left: 6px;
}

.eyon-video-item:hover .eyon-video-play-btn {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 0 8px 30px rgba(184, 0, 0, 0.6);
}

.eyon-video-duration {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
    z-index: 3;
}

@media (max-width: 1024px) {
    .eyon-video-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .eyon-video-featured {
        grid-column: span 2;
        aspect-ratio: 16/9;
    }

    .eyon-video-featured .eyon-video-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 600px) {
    .eyon-video-grid {
        grid-template-columns: 1fr;
    }

    .eyon-video-featured,
    .eyon-video-small {
        grid-column: span 1;
    }

    .eyon-video-featured .eyon-video-title {
        font-size: 1.2rem;
        max-width: 100%;
    }
}

/* ========== SHORTS CAROUSEL ========== */
.eyon-shorts-section {
    margin: 3rem 0;
}

.eyon-shorts-wrapper {
    background: #141414;
    border-radius: 24px;
    padding: 2.5rem 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.eyon-shorts-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.eyon-shorts-header .eyon-section-divider {
    color: #fff;
    border-right-color: #fff;
    margin-bottom: 0;
}

.eyon-shorts-header .eyon-section-divider:hover {
    color: var(--eyon-red);
}

.eyon-carousel-controls {
    display: flex;
    gap: 0.6rem;
}

.eyon-carousel-btn {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--eyon-transition);
    font-size: 1.4rem;
}

.eyon-carousel-btn:hover:not(:disabled) {
    background: var(--eyon-red);
    border-color: var(--eyon-red);
    transform: scale(1.1);
}

.eyon-carousel-btn:disabled {
    opacity: 0.1;
    cursor: not-allowed;
}

.eyon-shorts-carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.eyon-shorts-container {
    display: flex;
    gap: 1.25rem;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    padding: 10px 0;
}

.eyon-short-item {
    flex-shrink: 0;
    aspect-ratio: 9 / 16;
    background: #1e1e1e;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: var(--eyon-transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.eyon-short-item::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 4px;
    background: #fff;
    transition: var(--eyon-transition);
    z-index: 10;
    transform: translateX(-50%);
}

.eyon-short-item:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.2);
}

.eyon-short-item:hover::after {
    width: 100%;
}

.eyon-short-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.eyon-short-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
    transition: transform 1s ease;
}

.eyon-short-item:hover .eyon-short-thumbnail img {
    transform: scale(1.1);
    filter: brightness(0.8);
}

.eyon-shorts-play-overlay {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 6;
    opacity: 0;
    transition: var(--eyon-transition);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.eyon-short-item:hover .eyon-shorts-play-overlay {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.eyon-shorts-play-overlay svg {
    width: 20px;
    height: 20px;
    fill: white;
    margin-left: 3px;
}

.eyon-short-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 55%;
    padding: 1.5rem 1rem;
    z-index: 5;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 40%, transparent 100%);
}

.eyon-short-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.6rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.eyon-short-meta {
    font-size: 0.95rem;
    color: #ddd;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.eyon-short-meta::before {
    content: "";
    width: 6px;
    height: 6px;
    background: var(--eyon-red);
    border-radius: 50%;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1024px) {
    .header-container {
        padding: 0.75rem 1rem;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .high-collection-articles {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .secondary-articles-column {
        border-right: none;
        padding-right: 0;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
    }

    .video-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .menu-button {
        display: block;
    }

    .nav-list {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--eyon-white-legacy);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        opacity: 0;
        transform: translateY(-10px);
        pointer-events: none;
        transition: var(--transition);
    }

    .nav-list.active {
        opacity: 1;
        transform: translateY(0);
        pointer-events: all;
    }

    .nav-item {
        border-bottom: 1px solid var(--eyon-light-gray-legacy);
    }

    .nav-item:last-child {
        border-bottom: none;
    }

    .nav-link {
        padding: 0.75rem 0;
    }

    .featured-main .article-title-text {
        font-size: 1.5rem;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .shorts-carousel {
        gap: 0.75rem;
    }

    .short-item {
        min-width: 140px;
        max-width: 160px;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0.5rem 0.75rem;
    }

    .brand-text {
        font-size: 1.125rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .featured-main .article-title-text {
        font-size: 1.25rem;
    }

    .short-item {
        min-width: 120px;
        max-width: 140px;
    }

    .short-title {
        font-size: 0.75rem;
    }
}

/* ========== ACCESSIBILITY ========== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for better accessibility */
.nav-link:focus,
.video-item:focus,
.article-item:focus,
.short-item:focus {
    outline: 2px solid var(--eyon-red-legacy);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --eyon-red-legacy: #FF0000;
        --eyon-dark-legacy: #000000;
        --eyon-gray-legacy: #333333;
        --eyon-light-gray-legacy: #CCCCCC;
        --eyon-bg-legacy: #FFFFFF;
    }
}

/* ========== BANNER WIDGET ========== */
.eyon-banner-section {
    --eyon-transition-local: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    --gradient-start: #7A0000;
    --gradient-end: #121212;

    padding: 3.5rem 2rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    margin: 40px 0;
    width: 100%;
    border-radius: 32px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.eyon-banner-red {
    --gradient-start: #7A0000;
    --gradient-end: #121212;
    --badge-bg: rgba(184, 0, 0, 0.2);
    --badge-color: #FF4D4D;
    --button-bg: var(--eyon-red);
}

.eyon-banner-gold {
    --gradient-start: #463914;
    --gradient-end: #121212;
    --badge-bg: rgba(212, 175, 55, 0.1);
    --badge-color: #D4AF37;
    --button-bg: #D4AF37;
}

.eyon-banner-blue {
    --gradient-start: #002D5E;
    --gradient-end: #121212;
    --badge-bg: rgba(0, 122, 255, 0.1);
    --badge-color: #4DA3FF;
    --button-bg: #007AFF;
}

.eyon-banner-green {
    --gradient-start: #0F3D2E;
    --gradient-end: #121212;
    --badge-bg: rgba(37, 211, 102, 0.1);
    --badge-color: #25D366;
    --button-bg: #25D366;
}

.eyon-banner-light {
    --gradient-start: #F8F9FA;
    --gradient-end: #E0E0E0;
    --badge-bg: rgba(184, 0, 0, 0.1);
    --badge-color: var(--eyon-red);
    --button-bg: var(--eyon-red);
    border: 1px solid #ddd;
}

.eyon-banner-light .eyon-banner-title,
.eyon-banner-light .eyon-banner-description {
    color: var(--eyon-dark) !important;
}

.eyon-banner-dark {
    --gradient-start: #121212;
    --gradient-end: #0a0a0a;
}

.eyon-banner-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.3;
    pointer-events: none;
}

.eyon-banner-container-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    position: relative;
    z-index: 2;
}

.eyon-banner-content {
    flex: 1.2;
    color: var(--eyon-white);
}

.eyon-banner-badge {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: var(--badge-bg, rgba(184, 0, 0, 0.2));
    color: var(--badge-color, #FF4D4D);
    border: 1px solid var(--badge-color, rgba(184, 0, 0, 0.3));
    text-transform: uppercase;
}

.eyon-banner-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin: 0 0 1.2rem 0;
    line-height: 1.3;
    color: var(--eyon-white);
}

.eyon-banner-description {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    color: var(--eyon-text-muted);
    line-height: 1.8;
    max-width: 600px;
}

.eyon-banner-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.eyon-banner-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--button-bg, var(--eyon-red));
    color: var(--eyon-white);
    padding: 1rem 2.5rem;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.1rem;
    transition: var(--eyon-transition-local);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.eyon-banner-gold .eyon-banner-button,
.eyon-banner-green .eyon-banner-button {
    color: #000;
}

.eyon-banner-button:hover {
    transform: translateY(-5px);
    filter: brightness(1.1);
}

.eyon-banner-image-wrapper {
    flex: 0.8;
    display: flex;
    justify-content: center;
}

.eyon-image-frame {
    position: relative;
    width: 100%;
    max-width: 380px;
}

.eyon-image-frame img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--eyon-transition-local);
}

.eyon-platform-icon {
    position: absolute;
    bottom: -15px;
    right: -15px;
    width: 60px;
    height: 60px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    border: 4px solid var(--eyon-black);
    z-index: 3;
}

@media (max-width: 992px) {
    .eyon-banner-container-flex {
        flex-direction: column;
        text-align: center;
    }

    .eyon-banner-description {
        margin: 0 auto 2.5rem auto;
    }

    .eyon-image-frame {
        max-width: 100%;
    }

    .eyon-banner-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .eyon-banner-section {
        padding: 2rem 0;
        border-radius: 24px;
    }

    .eyon-banner-title {
        font-size: 1.8rem;
    }

    .eyon-banner-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* ========== TOPIC GRID ========== */
.eyon-topic-section {
    margin: 3rem 0;
}

.eyon-topic-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.eyon-topic-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    transition: var(--eyon-transition);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.eyon-topic-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.eyon-topic-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #eee;
}

.eyon-topic-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.eyon-topic-card:hover .eyon-topic-image img {
    transform: scale(1.12);
}

.eyon-topic-content {
    padding: 1.25rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.eyon-topic-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #121212;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.eyon-topic-card:hover .eyon-topic-title {
    color: var(--eyon-red);
}

.eyon-topic-footer {
    padding: 0.8rem 1.25rem 1.25rem;
    font-size: 0.9rem;
    color: #b0b0b0;
    font-weight: 600;
    border-top: 1px solid #f2f2f2;
    margin-top: auto;
}

@media (max-width: 1024px) {
    .eyon-topic-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .eyon-topic-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== PODCAST GRID ========== */
.eyon-podcast-section {
    margin: 3rem 0;
}

.eyon-podcast-wrapper {
    background: #fff;
    border-radius: 24px;
    padding: 2.5rem 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.eyon-podcast-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.eyon-podcast-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    transition: var(--eyon-transition);
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
}

.eyon-podcast-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 2.5px solid var(--eyon-red);
    border-radius: 16px;
    clip-path: circle(0% at 100% 100%);
    transition: clip-path 0.4s cubic-bezier(0.65, 0, 0.35, 1);
    z-index: 2;
    pointer-events: none;
}

.eyon-podcast-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(184, 0, 0, 0.1);
    border-color: transparent;
}

.eyon-podcast-card:hover::before {
    clip-path: circle(150% at 100% 100%);
}

.eyon-podcast-cover {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: #000;
}

.eyon-podcast-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 0.9;
}

.eyon-podcast-card:hover .eyon-podcast-cover img {
    transform: scale(1.1);
    opacity: 1;
}

.eyon-podcast-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 44px;
    height: 44px;
    background: #fff;
    color: var(--eyon-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
}

.eyon-podcast-card:hover .eyon-podcast-icon {
    background: var(--eyon-red);
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(184, 0, 0, 0.3);
}

.eyon-podcast-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.eyon-podcast-badge {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--eyon-red);
    background: rgba(184, 0, 0, 0.08);
    padding: 4px 12px;
    border-radius: 20px;
    width: fit-content;
    margin-bottom: 1rem;
}

.eyon-podcast-title {
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    color: #121212;
}

.eyon-podcast-card:hover .eyon-podcast-title {
    color: var(--eyon-red);
}

.eyon-podcast-description {
    font-size: 0.875rem;
    color: #545658;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 1024px) {
    .eyon-podcast-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .eyon-podcast-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== MOST READ ========== */
.eyon-most-read-section {
    margin: 3rem 0;
}

.eyon-most-read-wrapper {
    background: #fff;
    border-radius: 20px;
}

/* Hide default scroll-to-top and progress bar on single posts */
body.single .scroll-to-top,
body.single-post .scroll-to-top,
body.single .reading-progress,
body.single-post .reading-progress {
    display: none !important;
}

.eyon-most-read-wrapper {
    padding: 35px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
}

.eyon-most-read-header {
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 15px;
    margin-bottom: 35px;
}

.eyon-most-read-header .eyon-section-divider {
    border: none;
    padding: 0;
    margin: 0;
}

.eyon-most-read-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 50px;
}

.eyon-read-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #E6E8EA;
    transition: var(--eyon-transition);
    text-decoration: none;
    color: inherit;
}

.eyon-read-item:hover {
    transform: translateX(-8px);
}

.eyon-rank-number {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1.5px #d1d1d1;
    transition: var(--eyon-transition);
    flex-shrink: 0;
    min-width: 75px;
    text-align: center;
}

.eyon-read-item:hover .eyon-rank-number {
    color: var(--eyon-red);
    -webkit-text-stroke: 1.5px var(--eyon-red);
}

.eyon-read-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.eyon-read-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    color: #141517;
    margin: 0;
    transition: var(--eyon-transition);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.eyon-read-item:hover .eyon-read-title {
    color: var(--eyon-red);
}

.eyon-read-meta {
    font-size: 1.05rem;
    color: var(--eyon-red);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.eyon-read-meta::before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 2px;
    background-color: var(--eyon-red);
}

@media (max-width: 992px) {
    .eyon-most-read-grid {
        grid-template-columns: 1fr;
    }

    .eyon-rank-number {
        font-size: 2.5rem;
        min-width: 55px;
    }
}

/* ========== TOURNAMENT GRID ========== */
.eyon-tournament-section {
    margin: 3rem 0;
}

.eyon-match-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.eyon-match-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: var(--eyon-transition);
    display: flex;
    flex-direction: column;
    border-bottom: 4px solid transparent;
}

.eyon-match-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    border-bottom-color: var(--eyon-red);
}

.eyon-match-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #E6E8EA;
}

.eyon-match-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.eyon-match-card:hover .eyon-match-image img {
    transform: scale(1.05);
}

.eyon-match-info {
    padding: 0.85rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.eyon-match-title {
    font-size: 0.85rem;
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 0.4rem 0;
    color: #121212;
}

.eyon-match-title a {
    color: inherit;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.eyon-match-card:hover .eyon-match-title {
    color: var(--eyon-red);
}

.eyon-match-description {
    font-size: 0.75rem;
    color: #545658;
    line-height: 1.4;
    margin-bottom: 0.6rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.eyon-match-date {
    font-size: 0.85rem;
    color: #9ca3af;
    margin-top: auto;
}

.eyon-featured-match {
    grid-column: span 2;
    grid-row: span 2;
}

.eyon-featured-match .eyon-match-image {
    height: 100%;
    max-height: 470px;
    aspect-ratio: auto;
}

.eyon-featured-match .eyon-match-info {
    padding: 1.5rem;
}

.eyon-featured-match .eyon-match-title {
    font-size: 1.5rem;
}

.eyon-featured-match .eyon-match-description {
    font-size: 1rem;
    -webkit-line-clamp: 3;
    line-clamp: 3;
}

.eyon-tournament-badge {
    display: inline-block;
    background: var(--eyon-red);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 8px;
    width: fit-content;
}

@media (max-width: 1024px) {
    .eyon-match-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .eyon-match-card {
        flex: 1 1 calc(50% - 1rem);
        min-width: calc(50% - 1rem);
    }

    .eyon-featured-match {
        flex: 1 1 100%;
    }
}

@media (max-width: 580px) {
    .eyon-match-grid {
        grid-template-columns: 1fr;
        display: grid;
    }

    .eyon-match-card {
        flex: none;
        width: 100%;
        min-width: 100%;
    }

    .eyon-featured-match {
        grid-column: auto;
        grid-row: auto;
    }

    .eyon-featured-match .eyon-match-image {
        height: auto;
        aspect-ratio: 16/9;
    }
}

/* ========== HEADER & NAVIGATION ========== */
.eyon-header-combined {
    width: 100%;
    z-index: 1000;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    transition: var(--eyon-transition);
    direction: rtl;
}

.eyon-header-top-bar {
    background: var(--eyon-header-initial-bg, #141517);
    border-bottom: 4px solid var(--eyon-red);
    padding: 1.2rem 0;
    transition: var(--eyon-transition);
}

.eyon-header-combined.scrolled .eyon-header-top-bar {
    background: var(--eyon-header-scrolled-bg, rgba(255, 255, 255, 0.98));
    backdrop-filter: blur(15px);
    padding: 0.6rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.eyon-header-top-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.eyon-header-logo {
    display: flex;
    align-items: center;
    height: 80px;
    width: auto;
    transition: var(--eyon-transition);
}

.eyon-header-logo svg {
    height: 100%;
    width: auto;
    display: block;
    transition: var(--eyon-transition);
}

.eyon-header-combined.scrolled .eyon-header-logo svg {
    transform: scale(0.65);
}

.logo-static-red {
    fill: var(--eyon-red);
    transition: var(--eyon-transition);
}

.logo-adaptive-part {
    fill: #fff;
    transition: var(--eyon-transition);
}

.eyon-header-combined.scrolled .logo-adaptive-part {
    fill: #141517;
}

.eyon-mobile-full-menu .logo-adaptive-part {
    fill: #fff;
}

.eyon-navigation-bar {
    background: #1e2022;
    transition: var(--eyon-transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.eyon-header-combined.scrolled .eyon-navigation-bar {
    background: var(--eyon-header-scrolled-bg, rgba(255, 255, 255, 0.98));
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.eyon-nav-list {
    display: flex;
    list-style: none;
    justify-content: center;
    gap: 5px;
    padding: 0;
    margin: 0;
}

.eyon-nav-link {
    display: block;
    padding: 1rem 1.3rem;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--eyon-transition);
    position: relative;
}

.eyon-header-combined.scrolled .eyon-nav-link {
    color: #141517;
    padding: 0.85rem 1.3rem;
}

.eyon-nav-link:hover,
.eyon-nav-link.active {
    color: var(--eyon-red) !important;
}

.eyon-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    width: 0;
    height: 3px;
    background: var(--eyon-red);
    transition: var(--eyon-transition);
    transform: translateX(50%);
}

.eyon-nav-link:hover::after,
.eyon-nav-link.active::after {
    width: 70%;
}

.eyon-mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2000;
    position: relative;
    width: 40px;
    height: 40px;
}

.eyon-mobile-toggle span {
    display: block;
    position: absolute;
    height: 3px;
    width: 30px;
    background: #fff;
    border-radius: 9px;
    right: 5px;
    transition: var(--eyon-transition);
}

.eyon-header-combined.scrolled .eyon-mobile-toggle span {
    background: #141517;
}

.eyon-mobile-toggle span:nth-child(1) {
    top: 12px;
}

.eyon-mobile-toggle span:nth-child(2) {
    top: 21px;
    width: 22px;
}

.eyon-mobile-toggle span:nth-child(3) {
    top: 30px;
}

.eyon-mobile-toggle.active span:nth-child(1) {
    top: 21px;
    transform: rotate(45deg);
    background: #fff;
}

.eyon-mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.eyon-mobile-toggle.active span:nth-child(3) {
    top: 21px;
    transform: rotate(-45deg);
    background: #fff;
}

.eyon-mobile-full-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f1012 0%, #1a1c1e 100%);
    z-index: 1500;
    display: flex;
    flex-direction: column;
    clip-path: circle(0% at 100% 0%);
    transition: clip-path 0.8s cubic-bezier(0.7, 0, 0.3, 1);
    padding: 2rem;
    overflow-y: auto;
    direction: rtl;
}

.eyon-mobile-full-menu.open {
    clip-path: circle(150% at 100% 0%);
}

.eyon-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(-20px);
    transition: 0.5s ease 0.4s;
}

.eyon-mobile-full-menu.open .eyon-menu-header {
    opacity: 1;
    transform: translateY(0);
}

.eyon-menu-logo-wrap {
    height: 50px;
}

.eyon-menu-logo-wrap svg {
    height: 100%;
    width: auto;
}

.eyon-close-menu-btn {
    background: var(--eyon-red);
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(184, 0, 0, 0.4);
    transition: 0.3s ease;
}

.eyon-menu-nav-list {
    list-style: none;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 0;
    margin: 0;
}

.eyon-menu-nav-item {
    opacity: 0;
    transform: translateX(30px);
    transition: 0.5s ease;
}

.eyon-mobile-full-menu.open .eyon-menu-nav-item {
    opacity: 1;
    transform: translateX(0);
}

.eyon-menu-link {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: 0.3s;
    border-radius: 8px;
}

.eyon-menu-link:hover {
    color: var(--eyon-red);
    padding-right: 20px;
    background: rgba(184, 0, 0, 0.1);
}

@media (min-width: 1024px) {

    .eyon-ng-section,
    .eyon-mng-section {
        margin-top: 100px;
    }
}

@media (min-width: 1025px) {

    .eyon-ng-section,
    .eyon-mng-section {
        margin-top: 155px;
    }
}

@media (max-width: 992px) {

    .eyon-navigation-bar {
        display: none;
    }

    .eyon-mobile-toggle {
        display: block;
    }

    .eyon-header-logo {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        height: 70px;
    }

    .eyon-header-combined.scrolled .eyon-header-logo svg {
        transform: scale(0.75);
    }


    .eyon-header-top-container {
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .eyon-header-logo {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        margin: 0 !important;
    }
}

@media (max-width: 768px) {
    .eyon-header-logo {
        height: 60px;
    }


    .eyon-menu-link {
        font-size: 1.1rem;
        padding: 12px 10px;
    }
}

/* Form Feedback */
.eyon-form-feedback {
    margin-top: 15px;
    padding: 12px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    display: none;
    width: 100%;
    box-sizing: border-box;
}

.eyon-form-feedback.success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.eyon-form-feedback.error {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

/* ========== FOOTER ========== */
.eyon-main-footer {
    background-color: #FFFFFF;
    color: #333333;
    padding: 60px 0 0 0;
    position: relative;
    overflow: hidden;
    direction: rtl;
    width: 100%;
    transition: background-color 0.6s cubic-bezier(0.4, 0, 0.2, 1), color 0.6s ease;
}

.eyon-main-footer.eyon-at-bottom {
    background-color: #0F0F0F;
    color: #FFFFFF;
}

.eyon-footer-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.eyon-main-footer.eyon-at-bottom .eyon-footer-header-row {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.eyon-footer-logo-area {
    display: flex;
    align-items: center;
    text-decoration: none;
    height: 60px;
    flex-shrink: 0;
}

.eyon-footer-logo-area svg {
    height: 100%;
    width: auto;
    transition: var(--eyon-transition);
}

.eyon-footer-logo-area:hover svg {
    transform: scale(1.05);
}

.eyon-footer-logo-area .logo-static-red {
    fill: var(--eyon-red);
}

.eyon-footer-logo-area .logo-adaptive-part {
    fill: #333333;
    transition: fill 0.6s ease;
}

.eyon-main-footer.eyon-at-bottom .eyon-footer-logo-area .logo-adaptive-part {
    fill: #fff;
}

.eyon-newsletter-box {
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
    min-width: 300px;
}

.eyon-newsletter-input {
    background: #f5f5f5;
    border: 1px solid #ddd;
    padding: 12px 20px;
    border-radius: 8px;
    color: #333;
    flex: 1;
    min-width: 180px;
    outline: none;
    transition: all 0.6s ease;
}

.eyon-main-footer.eyon-at-bottom .eyon-newsletter-input {
    background: #1A1A1A;
    border-color: #333;
    color: #fff;
}

.eyon-newsletter-btn {
    background: var(--eyon-red);
    color: #fff;
    border: none;
    padding: 0 25px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--eyon-transition);
}

.eyon-footer-nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 40px;
    padding: 50px 0;
}

.eyon-nav-column h5 {
    color: var(--eyon-red);
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0 0 25px 0;
    position: relative;
}

.eyon-nav-column h5::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 0;
    width: 30px;
    height: 3px;
    background: var(--eyon-red);
    border-radius: 2px;
}

.eyon-footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.eyon-footer-nav-list li {
    margin-bottom: 12px;
}

.eyon-footer-nav-link {
    color: #A0A0A0;
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--eyon-transition);
    display: inline-block;
    position: relative;
}

.eyon-footer-nav-link:hover {
    color: #fff;
    transform: translateX(-5px);
}

.eyon-footer-social-bar {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.eyon-footer-social-circle {
    width: 40px;
    height: 40px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #333;
    text-decoration: none;
    transition: all 0.6s ease;
    border: 1px solid #ddd;
}

.eyon-main-footer.eyon-at-bottom .eyon-footer-social-circle {
    background: #1A1A1A;
    color: #fff;
    border-color: #333;
}

.eyon-footer-social-circle:hover {
    background: var(--eyon-red);
    transform: scale(1.15) rotate(5deg);
    border-color: var(--eyon-red);
}

.eyon-footer-bottom-bar {
    background-color: #f9f9f9;
    padding: 25px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    transition: background-color 0.6s ease, border-color 0.6s ease;
}

.eyon-main-footer.eyon-at-bottom .eyon-footer-bottom-bar {
    background-color: #080808;
    border-top-color: rgba(255, 255, 255, 0.05);
}

.eyon-footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.eyon-footer-copy-text {
    color: #666;
    font-size: 0.85rem;
    margin: 0;
}

.eyon-footer-legal-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.eyon-footer-legal-link {
    color: #666;
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--eyon-transition);
}

.eyon-footer-legal-link:hover {
    color: var(--eyon-red);
}

@media (max-width: 992px) {
    .eyon-footer-nav-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }
}

@media (max-width: 768px) {
    .eyon-main-footer {
        padding: 40px 0 0 0;
    }

    .eyon-footer-header-row {
        flex-direction: column;
        align-items: stretch;
        gap: 25px;
    }

    .eyon-footer-logo-area {
        height: 50px;
        justify-content: center;
    }

    .eyon-footer-nav-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 40px 0;
    }

    .eyon-nav-column {
        text-align: center;
    }

    .eyon-nav-column h5::after {
        right: 50%;
        transform: translateX(50%);
    }

    .eyon-footer-social-bar {
        justify-content: center;
    }

    .eyon-footer-bottom-flex {
        flex-direction: column;
        text-align: center;
    }
}

/* ========== SOCIAL LINKS ========== */
.eyon-social-section {
    background-color: #121212;
    padding: 60px 40px;
    color: #fff;
    margin: 3rem 0;
    width: 100%;
    direction: rtl;
    border-radius: 32px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.eyon-social-header {
    margin-bottom: 4rem;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-right: 6px solid var(--eyon-red);
    padding-right: 25px;
}

.eyon-social-subtitle {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--eyon-red);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.eyon-social-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin: 0;
}

.eyon-social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.eyon-social-card {
    background: #1E1E1E;
    border-radius: 28px;
    padding: 1.5rem 2rem;
    text-align: center;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--eyon-transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: inherit;
}

.eyon-social-card:hover {
    transform: translateY(-12px);
    background: #252525;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(184, 0, 0, 0.3);
}

.eyon-social-icon-wrapper {
    width: 90px;
    height: 90px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.8rem;
    font-size: 2.6rem;
    background-color: rgba(255, 255, 255, 0.03);
    color: #A0A0A0;
    transition: var(--eyon-transition);
}

.eyon-social-card:hover .eyon-social-icon-wrapper {
    color: #fff;
    transform: scale(1.1);
}

.eyon-social-card:hover .eyon-bg-fb {
    background-color: #1877F2;
}

.eyon-social-card:hover .eyon-bg-tw {
    background-color: #000000;
    border: 1px solid #333;
}

.eyon-social-card:hover .eyon-bg-in {
    background: linear-gradient(45deg, #f09433 0%, #dc2743 50%, #bc1888 100%);
}

.eyon-social-card:hover .eyon-bg-yt {
    background-color: #FF0000;
}

.eyon-social-card:hover .eyon-bg-wa {
    background-color: #25D366;
}

.eyon-social-card:hover .eyon-bg-tk {
    background-color: #000000;
    border: 1px solid #333;
}

.eyon-social-platform-name {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.eyon-social-platform-handle {
    font-size: 0.95rem;
    color: #A0A0A0;
    font-weight: 500;
}

.eyon-social-follow-btn {
    margin-top: 2.2rem;
    padding: 0.8rem 2.2rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    color: #E0E0E0;
    font-size: 0.95rem;
    font-weight: 700;
    transition: var(--eyon-transition);
}

.eyon-social-card:hover .eyon-social-follow-btn {
    background: var(--eyon-red);
    color: #fff;
    box-shadow: 0 10px 20px rgba(184, 0, 0, 0.3);
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .eyon-social-section {
        border-radius: 0;
        padding: 60px 15px;
    }

    .eyon-social-title {
        font-size: 1.8rem;
    }
}

/* ========== ARCHIVE LIST WIDGET (Model 1 - eyon-al-) ========== */
.eyon-al-hero {
    background-color: #080808;
    padding: 70px 0 40px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: linear-gradient(180deg, #150000 0%, #080808 100%);
    margin-bottom: 40px;
}

.eyon-al-hero h1 {
    font-size: 3rem;
    font-weight: 900;
    margin: 0;
    color: #fff;
    letter-spacing: -1px;
}

.eyon-al-hero h1 span {
    color: var(--eyon-red);
}

.eyon-al-hero .eyon-al-subtitle {
    color: var(--eyon-text-muted);
    font-size: 1.1rem;
    margin-top: 10px;
    display: block;
}

.eyon-al-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: -30px auto 50px;
    background: #1A1A1A;
    padding: 15px 25px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    max-width: 900px;
    position: relative;
    z-index: 10;
}

.eyon-al-search {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.eyon-al-search input {
    background: transparent;
    border: none;
    color: white;
    font-size: 1rem;
    width: 100%;
    outline: none;
}

.eyon-al-search i {
    color: var(--eyon-red);
    font-size: 1.2rem;
}

.eyon-al-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 50px;
}

.eyon-al-card {
    display: flex;
    background: #121212;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 180px;
    text-decoration: none;
}

.eyon-al-card:hover {
    transform: translateX(-10px);
    border-color: var(--eyon-red);
    background: #181818;
}

.eyon-al-thumb {
    width: 280px;
    min-width: 280px;
    position: relative;
    overflow: hidden;
}

.eyon-al-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.eyon-al-card:hover .eyon-al-thumb img {
    transform: scale(1.1);
}

.eyon-al-content {
    padding: 25px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

.eyon-al-content p {
    margin: 0 0 15px 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.eyon-al-excerpt {
    margin: 0 0 15px 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

body.eyon-light-body .eyon-al-content p,
body.eyon-light-body .eyon-al-excerpt {
    color: rgba(0, 0, 0, 0.7);
}

.eyon-al-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0 0 15px 0;
    color: #fff;
    transition: all 0.3s ease;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.eyon-al-card:hover .eyon-al-title {
    color: var(--eyon-red-hover);
}

.eyon-al-meta {
    display: flex;
    align-items: center;
    gap: 25px;
    font-size: 0.85rem;
    color: var(--eyon-text-muted);
}

.eyon-al-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.eyon-al-author {
    color: #fff;
    font-weight: 700;
}

/* ========== ARCHIVE GRID WIDGET (Model 2 - eyon-ag-) ========== */
.eyon-ag-hero {
    background-color: var(--eyon-white);
    padding: 60px 0;
    border-bottom: 1px solid #e5e7eb;
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
}

.eyon-ag-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 6px;
    height: 100%;
    background-color: var(--eyon-red);
}

.eyon-ag-hero h1 {
    font-size: 2.5rem;
    font-weight: 900;
    margin: 0 0 10px 0;
    color: var(--eyon-dark);
}

.eyon-ag-hero p {
    color: var(--eyon-text-muted);
    font-size: 1.1rem;
    margin: 0;
}

.eyon-ag-controls {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin: 40px 0;
}

.eyon-ag-search {
    position: relative;
    min-width: 350px;
}

.eyon-ag-search input {
    width: 100%;
    padding: 14px 45px 14px 20px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: var(--eyon-white);
    outline: none;
    font-family: inherit;
    transition: var(--eyon-transition);
    box-sizing: border-box;
    font-size: 0.95rem;
}

.eyon-ag-search input:focus {
    border-color: var(--eyon-red);
    box-shadow: 0 0 0 3px rgba(184, 0, 0, 0.1);
}

.eyon-ag-search i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--eyon-text-muted);
}

.eyon-ag-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.eyon-ag-card {
    background: var(--eyon-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: var(--eyon-transition);
    border-bottom: 4px solid transparent;
    text-decoration: none;
    color: inherit;
    display: block;
}

.eyon-ag-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-bottom-color: var(--eyon-red);
}

.eyon-ag-thumb {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.eyon-ag-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.eyon-ag-card:hover .eyon-ag-thumb img {
    transform: scale(1.05);
}

.eyon-ag-body {
    padding: 24px;
}

.eyon-ag-meta {
    display: flex;
    gap: 15px;
    font-size: 0.8rem;
    color: var(--eyon-text-muted);
    margin-bottom: 12px;
    font-weight: 500;
}

.eyon-ag-meta span i {
    color: var(--eyon-red);
    margin-left: 5px;
}

.eyon-ag-title {
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.5;
    margin-bottom: 12px;
    color: var(--eyon-dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: var(--eyon-transition);
}

.eyon-ag-card:hover .eyon-ag-title {
    color: var(--eyon-red);
}

.eyon-ag-excerpt {
    font-size: 0.95rem;
    color: var(--eyon-text-muted);
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ========== ARCHIVE OVERLAY WIDGET (Model 3 - eyon-ao-) ========== */
.eyon-ao-hero {
    padding: 50px 0 30px;
    text-align: right;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 30px;
}

.eyon-ao-hero h1 {
    font-size: 2.5rem;
    font-weight: 900;
    margin: 0;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 15px;
}

.eyon-ao-hero h1::before {
    content: '';
    position: relative;
    /* Changed from absolute to relative to keep it in flow with text-align: right */
    width: 4px;
    height: 35px;
    background: var(--eyon-red);
    display: inline-block;
    border-radius: 2px;
    margin-left: 15px;
    /* Added margin-left to separate from text */
}

.eyon-ao-hero .eyon-ao-subtitle {
    color: var(--eyon-text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    margin-top: 8px;
    display: block;
    padding-right: 20px;
}

.eyon-ao-controls {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 25px;
}

.eyon-ao-search {
    background: #181818;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 4px;
    border-radius: 10px;
    display: flex;
    width: 100%;
    max-width: 350px;
    transition: var(--eyon-transition);
}

.eyon-ao-search:focus-within {
    border-color: var(--eyon-red);
}

.eyon-ao-search input {
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    padding: 8px 12px;
    font-size: 0.9rem;
    outline: none;
}

.eyon-ao-search .eyon-ao-icon {
    padding: 0 12px;
    display: flex;
    align-items: center;
    color: var(--eyon-text-muted);
}

.eyon-ao-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
    margin-bottom: 50px;
}

.eyon-ao-card {
    position: relative;
    height: 360px;
    border-radius: 12px;
    overflow: hidden;
    background: #181818;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--eyon-transition);
    text-decoration: none;
}

.eyon-ao-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--eyon-transition);
    filter: brightness(0.65);
}

.eyon-ao-card:hover {
    transform: translateY(-5px);
    border-color: var(--eyon-red);
}

.eyon-ao-card:hover .eyon-ao-thumb {
    transform: scale(1.08);
    filter: brightness(0.4);
}

.eyon-ao-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 30%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
}

.eyon-ao-title {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 10px 0;
    color: #fff;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.eyon-ao-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: var(--eyon-text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 10px;
}

.eyon-ao-author {
    color: #fff;
    font-weight: 600;
}

/* ========== SHARED ARCHIVE PAGINATION ========== */
.eyon-archive-pagination {
    margin: 60px 0 80px;
    display: flex;
    justify-content: center;
}

.eyon-archive-pagination nav {
    display: flex;
    gap: 10px;
    background: var(--eyon-white);
    padding: 10px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.eyon-archive-pagination .page-numbers {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    text-decoration: none;
    color: var(--eyon-dark);
    font-weight: 800;
    transition: var(--eyon-transition);
}

.eyon-archive-pagination .page-numbers.current {
    background: var(--eyon-red);
    color: #fff;
}

.eyon-archive-pagination .page-numbers:hover:not(.current) {
    background: #f3f4f6;
    color: var(--eyon-red);
}

@media (max-width: 850px) {
    .eyon-al-card {
        height: auto;
        flex-direction: column;
    }

    .eyon-al-thumb {
        width: 100%;
        height: 200px;
    }

    .eyon-al-hero h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .eyon-ag-controls {
        justify-content: center;
    }

    .eyon-ag-search {
        width: 100%;
        min-width: unset;
    }

    .eyon-ag-hero h1 {
        font-size: 2rem;
    }

    .eyon-ag-hero {
        padding: 40px 0;
    }

    .eyon-ao-hero h1 {
        font-size: 1.8rem;
    }

    .eyon-ao-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
}

/* ========== ARCHIVE TIMELINE WIDGET (Model 4 - eyon-tl-) ========== */
.eyon-tl-hero {
    background-color: var(--eyon-white);
    padding: 80px 0 40px;
    text-align: center;
    border-bottom: 1px solid #edf2f7;
    margin-bottom: 40px;
}

.eyon-tl-hero h1 {
    font-size: 3rem;
    font-weight: 900;
    margin: 0;
    color: var(--eyon-dark);
    letter-spacing: -1px;
}

.eyon-tl-accent {
    width: 60px;
    height: 5px;
    background: var(--eyon-red);
    margin: 20px auto;
    border-radius: 10px;
}

.eyon-tl-hero p {
    color: var(--eyon-text-muted);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.eyon-tl-controls {
    margin-top: -30px;
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 10;
}

.eyon-tl-search {
    background: var(--eyon-white);
    padding: 10px;
    border-radius: 100px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    width: 100%;
    max-width: 500px;
    border: 1px solid #eee;
}

.eyon-tl-search input {
    flex: 1;
    border: none;
    padding: 10px 25px;
    font-size: 1rem;
    outline: none;
    background: transparent;
}

.eyon-tl-search-btn {
    background: var(--eyon-red);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--eyon-transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.eyon-tl-search-btn:hover {
    background: var(--eyon-red-hover);
    transform: scale(1.1);
}

.eyon-tl-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 80px;
}

.eyon-tl-card {
    background: var(--eyon-white);
    display: flex;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: var(--eyon-transition);
    position: relative;
    text-decoration: none;
    color: inherit;
}

.eyon-tl-card:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.eyon-tl-thumb {
    width: 300px;
    min-width: 300px;
    position: relative;
    overflow: hidden;
}

.eyon-tl-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--eyon-transition);
}

.eyon-tl-card:hover .eyon-tl-thumb img {
    transform: scale(1.1);
}

.eyon-tl-body {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.eyon-tl-date {
    font-size: 0.85rem;
    color: var(--eyon-red);
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.eyon-tl-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--eyon-dark);
    margin-bottom: 15px;
    line-height: 1.4;
    transition: var(--eyon-transition);
}

.eyon-tl-card:hover .eyon-tl-title {
    color: var(--eyon-red);
}

.eyon-tl-excerpt {
    color: var(--eyon-text-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 850px) {
    .eyon-tl-card {
        flex-direction: column;
    }

    .eyon-tl-thumb {
        width: 100%;
        height: 200px;
    }

    .eyon-tl-hero h1 {
        font-size: 2.2rem;
    }
}

/* ========== ARCHIVE GLASS WIDGET (Model 5 - eyon-dg-) ========== */
.eyon-dg-hero {
    padding: 100px 0 60px;
    text-align: center;
    background: radial-gradient(circle at top, #2a0000 0%, #111111 70%);
    margin-bottom: 40px;
}

.eyon-dg-subtitle {
    color: var(--eyon-red);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 3px;
    margin-bottom: 10px;
    display: block;
}

.eyon-dg-hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin: 0;
    color: #fff;
    text-transform: uppercase;
}

.eyon-dg-controls {
    margin-top: -40px;
    display: flex;
    justify-content: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 10;
}

.eyon-dg-search {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px;
    border-radius: 15px;
    display: flex;
    width: 100%;
    max-width: 600px;
    transition: var(--eyon-transition);
}

.eyon-dg-search:focus-within {
    border-color: var(--eyon-red);
    background: rgba(255, 255, 255, 0.08);
}

.eyon-dg-search input {
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    padding: 15px 20px;
    font-size: 1.1rem;
    outline: none;
}

.eyon-dg-search .eyon-dg-icon {
    padding: 0 20px;
    display: flex;
    align-items: center;
    color: var(--eyon-red);
    font-size: 1.2rem;
}

.eyon-dg-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 100px;
}

.eyon-dg-card {
    position: relative;
    height: 450px;
    border-radius: 25px;
    overflow: hidden;
    background: #1a1a1a;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    text-decoration: none;
    display: block;
}

.eyon-dg-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--eyon-transition);
    filter: brightness(0.6);
}

.eyon-dg-card:hover .eyon-dg-thumb {
    transform: scale(1.1);
    filter: brightness(0.4);
}

.eyon-dg-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    box-sizing: border-box;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
    transition: var(--eyon-transition);
}

.eyon-dg-card:hover .eyon-dg-overlay {
    padding-bottom: 60px;
}

.eyon-dg-badge {
    background: var(--eyon-red);
    color: white;
    padding: 5px 15px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 800;
    margin-bottom: 15px;
    display: inline-block;
}

.eyon-dg-title {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 15px 0;
    color: #fff;
}

.eyon-dg-meta {
    display: flex;
    gap: 20px;
    font-size: 0.85rem;
    color: var(--eyon-text-muted);
    transform: translateY(20px);
    opacity: 0;
    transition: var(--eyon-transition);
}

.eyon-dg-card:hover .eyon-dg-meta {
    transform: translateY(0);
    opacity: 1;
}

.eyon-dg-meta span i {
    margin-left: 5px;
    color: var(--eyon-red);
}

.eyon-dg-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 0 100px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.eyon-dg-page-info {
    font-weight: 700;
    color: var(--eyon-text-muted);
}

.eyon-dg-page-info span {
    color: #fff;
    font-size: 1.5rem;
}

.eyon-dg-nav {
    display: flex;
    gap: 15px;
}

.eyon-dg-arrow {
    width: 60px;
    height: 60px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: var(--eyon-transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

.eyon-dg-arrow:hover {
    background: var(--eyon-red);
    border-color: var(--eyon-red);
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .eyon-dg-hero h1 {
        font-size: 2.5rem;
    }

    .eyon-dg-grid {
        grid-template-columns: 1fr;
    }

    .eyon-dg-card {
        height: 400px;
    }
}

/* AJAX Load More */
.eyon-pagination-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

/* ====================================
   SINGLE POST MASTER WIDGET STYLES
   ==================================== */

/* --- Hero Section --- */
.eyon-spm-wrapper {
    font-family: 'Tajawal', sans-serif;
    background-color: var(--eyon-spm-main-black);
    color: var(--eyon-spm-text-main);
    line-height: 1.9;
    transition: background-color 0.5s ease, color 0.5s ease;
}

.eyon-spm-article-hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: flex-end;
    padding-bottom: 60px;
    background: center/cover no-repeat fixed;
}

.eyon-spm-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.eyon-spm-hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--eyon-spm-hero-overlay);
    transition: background 0.5s ease;
    z-index: 2;
}

.eyon-spm-hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

.eyon-spm-category-tag {
    background: var(--eyon-spm-primary-red);
    color: white;
    padding: 6px 18px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.85rem;
    margin-bottom: 20px;
    display: inline-block;
}

.eyon-spm-article-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.2;
    margin: 0 0 30px 0;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

body.eyon-spm-light-mode .eyon-spm-article-title {
    color: #1a1a1a;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.5);
}

/* --- Meta & Tools Floating Bar --- */
.eyon-spm-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

.eyon-spm-meta-bar {
    background: var(--eyon-spm-glass);
    backdrop-filter: blur(15px);
    border: 1px solid var(--eyon-spm-border-color);
    border-radius: 15px;
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: -40px;
    position: relative;
    z-index: 10;
    transition: var(--eyon-spm-transition);
}

.eyon-spm-author-box {
    display: flex;
    align-items: center;
    gap: 15px;
}

.eyon-spm-author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid var(--eyon-spm-primary-red);
    padding: 2px;
}

.eyon-spm-author-info-text .eyon-spm-author-name {
    display: block;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--eyon-spm-text-main);
    text-decoration: none;
}

.eyon-spm-author-avatar-wrap {
    display: flex;
}

.eyon-spm-meta-center {
    display: flex;
    align-items: center;
    gap: 25px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.eyon-spm-post-date,
.eyon-spm-reading-time {
    font-size: 0.9rem;
    color: var(--eyon-spm-text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.eyon-spm-post-date i,
.eyon-spm-reading-time i {
    color: var(--eyon-spm-primary-red);
    font-size: 1rem;
}

.eyon-spm-article-tools {
    display: flex;
    gap: 10px;
}

.eyon-spm-tool-btn {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(128, 128, 128, 0.1);
    border: 1px solid var(--eyon-spm-border-color);
    color: var(--eyon-spm-text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--eyon-spm-transition);
}

.eyon-spm-tool-btn:hover {
    background: var(--eyon-spm-primary-red);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(230, 0, 0, 0.3);
}

.eyon-spm-tool-btn.eyon-spm-mode-toggle {
    background: var(--eyon-spm-primary-red);
    color: white;
}

/* --- Reading Progress Circle --- */
.eyon-spm-progress-circle-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a1a1a;
    backdrop-filter: blur(10px);
    border-radius: 50%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--eyon-spm-transition);
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
}

body.eyon-spm-light-mode .eyon-spm-progress-circle-container {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

body.eyon-dark-body .eyon-spm-progress-circle-container {
    background: #1a1a1a;
    border-color: rgba(255, 255, 255, 0.1);
}

.eyon-spm-progress-circle-container.visible {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.eyon-spm-progress-circle {
    transform: rotate(-90deg);
}

.eyon-spm-progress-circle-bg {
    fill: none;
    stroke: rgba(128, 128, 128, 0.15);
    stroke-width: 4;
}

body.eyon-spm-light-mode .eyon-spm-progress-circle-bg {
    stroke: rgba(0, 0, 0, 0.05);
}

.eyon-spm-progress-circle-bar {
    fill: none;
    stroke: var(--eyon-spm-primary-red);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 163.36;
    /* 2 * PI * r (r=26) */
    stroke-dashoffset: 163.36;
    transition: stroke-dashoffset 0.1s linear;
}

#eyon-spm-progress-percent {
    position: absolute;
    font-size: 13px;
    font-weight: 900;
    color: #ffffff;
    transition: var(--eyon-spm-transition);
}

body.eyon-spm-light-mode #eyon-spm-progress-percent {
    color: #1a1a1a;
}

.eyon-spm-back-to-top-icon {
    position: absolute;
    font-size: 14px;
    color: var(--eyon-spm-primary-red);
    opacity: 0;
    transform: translateY(10px);
    transition: var(--eyon-spm-transition);
}

.eyon-spm-progress-circle-container:hover #eyon-spm-progress-percent {
    opacity: 0;
    transform: translateY(-10px);
}

.eyon-spm-progress-circle-container:hover .eyon-spm-back-to-top-icon {
    opacity: 1;
    transform: translateY(0);
}

/* --- Layout Grid --- */
.eyon-spm-layout-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 50px;
    margin-top: 40px;
    margin-bottom: 80px;
}

.eyon-spm-main-content {
    max-width: 1050px;
    margin: 0;
    padding: 0;
}

/* --- Sidebar --- */
.eyon-spm-sidebar-sticky {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.eyon-spm-sidebar-widget {
    background: var(--eyon-spm-card-bg);
    border: 1px solid var(--eyon-spm-border-color);
    border-radius: 20px;
    padding: 25px;
    transition: var(--eyon-spm-transition);
}

body.eyon-spm-light-mode .eyon-spm-sidebar-widget {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.eyon-spm-widget-title {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--eyon-spm-text-main);
}

body.eyon-spm-light-mode .eyon-spm-widget-title {
    color: #1a1a1a;
}

.eyon-spm-widget-title i {
    color: var(--eyon-spm-primary-red);
    font-size: 1rem;
}

/* Table of Contents Styles */
#eyon-spm-toc-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.eyon-toc-item {
    margin-bottom: 12px;
}

.eyon-toc-item a {
    color: var(--eyon-spm-text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: block;
    line-height: 1.4;
    padding-right: 15px;
    border-right: 2px solid transparent;
}

.eyon-toc-item.eyon-toc-h3 {
    margin-right: 15px;
}

.eyon-toc-item.eyon-toc-h4 {
    margin-right: 10px;
}

.eyon-toc-item a:hover,
.eyon-toc-item a.active {
    color: var(--eyon-spm-primary-red);
    border-right-color: var(--eyon-spm-primary-red);
    font-weight: 700;
}

body.eyon-spm-light-mode .eyon-toc-item a {
    color: #555555;
}

body.eyon-spm-light-mode .eyon-toc-item a:hover,
body.eyon-spm-light-mode .eyon-toc-item a.active {
    color: var(--eyon-spm-primary-red);
    font-weight: 700;
}

/* Trending List Styles */
.eyon-spm-trending-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.eyon-spm-trending-item {
    display: flex;
    gap: 15px;
    text-decoration: none;
    align-items: center;
}

.eyon-spm-trending-thumb {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.eyon-spm-trending-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.eyon-spm-trending-item:hover .eyon-spm-trending-thumb img {
    transform: scale(1.1);
}

.eyon-spm-trending-info h4 {
    font-size: 0.95rem;
    margin: 0 0 5px 0;
    color: var(--eyon-spm-text-main);
    line-height: 1.4;
    font-weight: 700;
    transition: color 0.3s ease;
}

body.eyon-spm-light-mode .eyon-spm-trending-info h4 {
    color: #1a1a1a;
}

.eyon-spm-trending-item:hover h4 {
    color: var(--eyon-spm-primary-red) !important;
}

.eyon-spm-trending-info span {
    font-size: 0.8rem;
    color: var(--eyon-spm-text-secondary);
}

/* Responsive Sidebar */
@media (max-width: 1024px) {
    .eyon-spm-layout-grid {
        grid-template-columns: 1fr;
    }

    .eyon-spm-sidebar {
        display: none;
    }

    .eyon-spm-main-content {
        max-width: 100%;
    }
}

/* --- Article Body --- */
.eyon-spm-main-content {
    max-width: 1050px;
    margin: 0;
    padding: 0;
}

.eyon-spm-content-body {
    font-size: 1.25rem;
    color: var(--eyon-spm-text-main);
}

.eyon-spm-content-body p {
    margin-bottom: 30px;
}

.eyon-spm-content-body h1,
.eyon-spm-content-body h2,
.eyon-spm-content-body h3,
.eyon-spm-content-body h4,
.eyon-spm-content-body h5,
.eyon-spm-content-body h6 {
    margin: 2rem 0 1rem 0;
    font-weight: 700;
}

.eyon-spm-content-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
}

/* --- Article Tags --- */
.eyon-spm-tags-container {
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid var(--eyon-spm-border-color);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
}

.eyon-spm-tags-title {
    font-weight: 800;
    color: var(--eyon-spm-text-main);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.eyon-spm-tags-title i {
    color: var(--eyon-spm-primary-red);
}

.eyon-spm-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.eyon-spm-tag-item {
    padding: 6px 16px;
    background: rgba(128, 128, 128, 0.1);
    border: 1px solid var(--eyon-spm-border-color);
    border-radius: 8px;
    color: var(--eyon-spm-text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--eyon-spm-transition);
}

.eyon-spm-tag-item:hover {
    background: var(--eyon-spm-primary-red);
    color: white;
    border-color: var(--eyon-spm-primary-red);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 0, 0, 0.2);
}

body.eyon-spm-light-mode .eyon-spm-tag-item {
    background: #f5f5f5;
    color: #555;
}

body.eyon-spm-light-mode .eyon-spm-tag-item:hover {
    background: var(--eyon-spm-primary-red);
    color: white;
}

/* --- Social Share Sidebar --- */
.eyon-spm-share-sticky {
    position: fixed;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 100;
}

.eyon-spm-share-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--eyon-spm-text-main);
    font-size: 1.3rem;
    transition: var(--eyon-spm-transition);
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    text-decoration: none;
}

body.eyon-spm-light-mode .eyon-spm-share-circle,
body.eyon-light-mode .eyon-spm-share-circle {
    background: #ffffff !important;
    color: #1a1a1a !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
}

.eyon-spm-share-circle:hover {
    transform: scale(1.15);
    color: white;
    background: var(--eyon-spm-primary-red);
    border-color: var(--eyon-spm-primary-red);
}

.eyon-spm-share-circle.eyon-spm-whatsapp:hover {
    background: #25D366;
}

.eyon-spm-share-circle.eyon-spm-twitter:hover {
    background: #1DA1F2;
}

.eyon-spm-share-circle.eyon-spm-telegram:hover {
    background: #0088CC;
}

.eyon-spm-share-circle.eyon-spm-facebook:hover {
    background: #1877F2;
}

.eyon-spm-share-circle.eyon-spm-linkedin:hover {
    background: #0077B5;
}

/* --- Post Tags --- */
.eyon-spm-post-tags {
    margin-top: 60px;
    padding-top: 35px;
    border-top: 1px solid var(--eyon-spm-border-color);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

body.eyon-spm-light-mode .eyon-spm-post-tags {
    border-color: rgba(0, 0, 0, 0.08);
}

.eyon-spm-tags-label {
    font-weight: 800;
    color: var(--eyon-spm-text-main);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.eyon-spm-tags-label::before {
    content: '';
    width: 4px;
    height: 20px;
    background: var(--eyon-spm-primary-red);
    border-radius: 2px;
}

.eyon-spm-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.eyon-spm-tag-item {
    padding: 8px 18px;
    background: var(--eyon-spm-glass);
    border: 1px solid var(--eyon-spm-border-color);
    border-radius: 8px;
    color: var(--eyon-spm-text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: var(--eyon-spm-transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.eyon-spm-tag-item::before {
    content: '#';
    color: var(--eyon-spm-primary-red);
    font-weight: 700;
    opacity: 0.7;
}

body.eyon-spm-light-mode .eyon-spm-tag-item {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.05);
    color: #444;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.eyon-spm-tag-item:hover {
    background: var(--eyon-spm-primary-red);
    color: #fff;
    border-color: var(--eyon-spm-primary-red);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(230, 0, 0, 0.2);
}

.eyon-spm-tag-item:hover::before {
    color: #fff;
    opacity: 1;
}

@media (max-width: 900px) {
    .eyon-spm-meta-bar {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
        align-items: center;
        text-align: center;
        margin-top: -20px;
    }

    .eyon-spm-meta-center {
        position: static;
        transform: none;
        flex-direction: row;
        justify-content: center;
        width: 100%;
        gap: 20px;
    }

    .eyon-spm-author-box {
        flex-direction: column;
        gap: 10px;
    }

    .eyon-spm-author-info-text {
        align-items: center;
    }
}

@media (max-width: 600px) {
    .eyon-spm-meta-center {
        flex-direction: column;
        gap: 10px;
    }
}

/* --- Related Posts Grid --- */
.eyon-spm-related-section {
    background: var(--eyon-spm-card-bg);
    padding: 80px 0;
    border-top: 1px solid var(--eyon-spm-border-color);
    transition: var(--eyon-spm-transition);
}

body.eyon-spm-light-mode .eyon-spm-related-section {
    background: #f9f9fb;
    border-color: rgba(0, 0, 0, 0.05);
}

.eyon-spm-related-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 25px;
}

.eyon-spm-section-header {
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.eyon-spm-section-header h2 {
    font-weight: 900;
    margin: 0;
    font-size: 2rem;
}

.eyon-spm-line {
    flex: 1;
    height: 1px;
    background: var(--eyon-spm-border-color);
}

body.eyon-spm-light-mode .eyon-spm-line {
    background: rgba(0, 0, 0, 0.1);
}

.eyon-spm-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.eyon-spm-related-item {
    background: var(--eyon-spm-main-black);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--eyon-spm-border-color);
    transition: var(--eyon-spm-transition);
    text-decoration: none;
    color: var(--eyon-spm-text-main);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

body.eyon-spm-light-mode .eyon-spm-related-item {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

body.eyon-spm-light-mode .eyon-spm-related-item-text h3 {
    color: #1a1a1a;
}

body.eyon-spm-light-mode .eyon-spm-section-header h2 {
    color: #1a1a1a;
}

body.eyon-spm-light-mode .eyon-spm-related-item:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--eyon-spm-primary-red);
}

.eyon-spm-related-item:hover {
    transform: translateY(-10px);
    border-color: var(--eyon-spm-primary-red);
}

.eyon-spm-related-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.eyon-spm-related-item-text {
    padding: 20px;
}

.eyon-spm-related-item-text h3 {
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.5;
    font-weight: 700;
}

/* --- Toast Notification --- */
#eyon-spm-toast {
    visibility: hidden;
    min-width: 250px;
    background-color: var(--eyon-spm-primary-red);
    color: #fff;
    text-align: center;
    border-radius: 12px;
    padding: 16px;
    position: fixed;
    z-index: 1000;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    font-weight: 700;
}

#eyon-spm-toast.eyon-spm-show {
    visibility: visible;
    animation: eyon-spm-fadein 0.5s, eyon-spm-fadeout 0.5s 2.5s;
}

@keyframes eyon-spm-fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@keyframes eyon-spm-fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}

/* --- Responsive Design --- */
@media (max-width: 1200px) {
    .eyon-spm-share-sticky {
        position: relative;
        flex-direction: row;
        justify-content: center;
        left: 0;
        top: 0;
        transform: none;
        margin-top: 40px;
        margin-bottom: 40px;
    }

    .eyon-spm-related-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {

    .eyon-spm-hero-content,
    .eyon-spm-container,
    .eyon-spm-main-content,
    .eyon-spm-related-container {
        padding: 0 16px;
    }

    .eyon-spm-meta-bar {
        flex-direction: column;
        gap: 20px;
        align-items: stretch;
    }

    .eyon-spm-meta-center {
        position: static;
        transform: none;
        justify-content: center;
        width: 100%;
    }

    .eyon-spm-article-tools {
        justify-content: center;
    }

    .eyon-spm-article-title {
        font-size: clamp(1.5rem, 4vw, 2.5rem);
    }

    .eyon-spm-tags-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .eyon-spm-related-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .eyon-spm-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .eyon-spm-section-header h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .eyon-spm-article-tools {
        flex-wrap: wrap;
        gap: 8px;
    }

    .eyon-spm-tool-btn {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }
}

.eyon-load-more-btn:hover {
    background-color: #8B0000;
    transform: translateY(-2px);
}

.eyon-load-more-btn.loading {
    opacity: 0.8;
    pointer-events: none;
}

.eyon-load-more-btn.posts-ended {
    background-color: #ccc;
    color: #666;
    cursor: default;
    transform: none;
}

/* ====================================
   Advanced Media Popup System
   ==================================== */
.eyon-media-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.eyon-media-modal.active {
    opacity: 1;
    visibility: visible;
}

.eyon-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 8, 8, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.eyon-modal-container {
    position: relative;
    width: 95%;
    max-width: 1200px;
    max-height: 90vh;
    background: #0f0f0f;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: scale(0.9) translateY(40px);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
}

.eyon-media-modal.active .eyon-modal-container {
    transform: scale(1) translateY(0);
}

.eyon-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 28px;
    line-height: 40px;
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.eyon-modal-close:hover {
    background: var(--eyon-red);
    transform: rotate(90deg);
}

.eyon-modal-body {
    flex: 1;
    overflow: hidden;
    display: flex;
}

/* --- Video Layout (Cinematic Side Description) --- */
.eyon-video-layout {
    display: flex;
    width: 100%;
    height: 100%;
}

.eyon-video-layout .eyon-media-holder {
    flex: 1;
    background: #000;
    position: relative;
}

.eyon-video-layout .eyon-media-holder iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.eyon-video-layout .eyon-media-info {
    width: 350px;
    background: #141414;
    padding: 30px;
    overflow-y: auto;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
}

/* --- Reel Layout (TikTok Style Centered) --- */
.type-reel .eyon-modal-container {
    max-width: 450px;
    height: 85vh;
}

.eyon-reel-layout {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.eyon-reel-layout .eyon-media-holder {
    flex: 1;
    background: #000;
    position: relative;
}

.eyon-reel-layout .eyon-media-holder iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.eyon-reel-layout .eyon-media-info {
    padding: 20px;
    background: linear-gradient(to top, #141414, #1a1a1a);
}

/* --- Podcast Layout (Artistic Circular) --- */
.eyon-podcast-layout {
    display: flex;
    width: 100%;
    padding: 60px;
    align-items: center;
    gap: 60px;
    background: radial-gradient(circle at center, #1a1a1a 0%, #0a0a0a 100%);
}

.eyon-podcast-art {
    flex: 0 0 350px;
}

.eyon-podcast-cover-wrapper {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(184, 0, 0, 0.3);
    border: 5px solid rgba(255, 255, 255, 0.05);
    animation: eyonRotate 20s linear infinite;
}

@keyframes eyonRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.eyon-podcast-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.eyon-podcast-player {
    flex: 1;
}

.eyon-custom-audio {
    margin: 30px 0;
}

.eyon-custom-audio audio {
    width: 100%;
    filter: invert(1) hue-rotate(180deg) brightness(1.5);
}

/* --- Shared Elements --- */
.eyon-media-title {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 12px;
    color: #fff;
    line-height: 1.3;
}

.eyon-media-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.eyon-media-meta span {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    gap: 6px;
}

.eyon-duration-meta {
    color: #B80000 !important;
    font-weight: 700 !important;
}

.eyon-media-description {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
}

.share-btn {
    background: var(--eyon-red);
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.share-btn:hover {
    background: #fff;
    color: var(--eyon-red);
    transform: translateY(-3px);
}

/* --- Global Utilities --- */
.eyon-modal-open {
    overflow: hidden !important;
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .eyon-video-layout {
        flex-direction: column;
    }

    .eyon-video-layout .eyon-media-info {
        width: 100%;
        max-height: 300px;
    }

    .eyon-video-layout .eyon-media-holder {
        padding-top: 56.25%;
        flex: none;
    }

    .eyon-podcast-layout {
        flex-direction: column;
        padding: 40px 20px;
        text-align: center;
        overflow-y: auto;
    }

    .eyon-podcast-art {
        flex: 0 0 auto;
    }

    .eyon-podcast-cover-wrapper {
        width: 200px;
        height: 200px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .eyon-modal-container {
        width: 100%;
        height: 100%;
        max-height: 100vh;
        border-radius: 0;
    }

    .type-reel .eyon-modal-container {
        max-width: 100%;
        height: 100vh;
    }

    .eyon-media-title {
        font-size: 20px;
    }
}

/* ====================================
   Fallback Styles for Media Errors
   ==================================== */
.eyon-fallback {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 300px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d1b1b 100%);
    border-radius: 12px;
    text-align: center;
    padding: 40px 20px;
    color: white;
}

.eyon-fallback p {
    font-size: 18px;
    margin-bottom: 20px;
    opacity: 0.8;
}

.eyon-fallback a {
    display: inline-block;
    background: var(--eyon-red, #ff0000);
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.eyon-fallback a:hover {
    background: #cc0000;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}

/* ====================================
   Enhanced Media Holder Styles
   ==================================== */
.eyon-media-holder {
    position: relative;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
}

.eyon-media-holder iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
}

.eyon-media-holder iframe:focus {
    outline: none;
}

/* Loading state */
.eyon-media-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 300px;
    background: #000;
    color: white;
    font-size: 16px;
}

.eyon-media-loading::before {
    content: '';
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-top: 3px solid var(--eyon-red, #ff0000);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 15px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ========== MOBILE MENU FOOTER & PRELOADER RESPONSIVE ========== */
.eyon-menu-footer {
    margin-top: auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.eyon-menu-footer p {
    color: var(--eyon-text-muted, #A0A0A0) !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    margin: 0 !important;
}

.eyon-menu-footer p span {
    color: var(--eyon-red) !important;
    font-weight: 700 !important;
}

/* Preloader tweaks moved to inc/preloader.php */

/* ====================================
   Elementor Widget Spacing Fix
   ==================================== */
.elementor-widget:not(:last-child) {
    margin-bottom: 30px;
}

/* ====================================
   Header Fixed & Overlap Fix
   ==================================== */
/* 1. Add spacing to body to push content down */
body {
    padding-top: 100px !important;
}

/* 2. Force Header to be fixed at top */
.eyon-header-combined {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 99999;
    /* High Z-Index to stay on top */
}

/* 3. Responsive Adjustments */
@media (max-width: 768px) {
    body {
        padding-top: 80px !important;
    }
}

.eyon-mng-section {
    margin-top: 50px;
}

div#eyon-archive-18cb48d {
    margin-top: 100px;
}

/* --- Premium Pagination --- */
.eyon-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 60px;
    margin-bottom: 40px;
}

.eyon-pagination .page-numbers {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 16px;
    position: relative;
    overflow: hidden;
}

.eyon-pagination .page-numbers:hover {
    background: rgba(184, 0, 0, 0.1);
    border-color: #B80000;
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.eyon-pagination .page-numbers.current {
    background: linear-gradient(135deg, #B80000 0%, #7a0000 100%);
    border-color: #B80000;
    box-shadow: 0 8px 15px rgba(184, 0, 0, 0.4);
    transform: scale(1.1);
}

.eyon-pagination .page-numbers.dots {
    background: transparent;
    border: none;
}

.eyon-pagination .prev.page-numbers,
.eyon-pagination .next.page-numbers {
    font-size: 20px;
    background: rgba(255, 255, 255, 0.03);
}

.eyon-pagination .prev.page-numbers:hover,
.eyon-pagination .next.page-numbers:hover {
    background: #B80000;
    border-color: #B80000;
}

/* Pagination Shine Effect */
.eyon-pagination .page-numbers::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: 0.5s;
}

.eyon-pagination .page-numbers:hover::after {
    left: 100%;
}

/* --- Adaptive Pagination for Modes --- */
.eyon-mode-light .eyon-pagination .page-numbers,
body.eyon-mode-light .eyon-pagination .page-numbers {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.06);
    color: #1a1a1a;
}

.eyon-mode-light .eyon-pagination .page-numbers:hover,
body.eyon-mode-light .eyon-pagination .page-numbers:hover {
    background: rgba(184, 0, 0, 0.06);
    border-color: #B80000;
    color: #B80000;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.eyon-mode-light .eyon-pagination .page-numbers.current,
body.eyon-mode-light .eyon-pagination .page-numbers.current {
    background: linear-gradient(135deg, #B80000 0%, #a00000 100%);
    color: #fff;
    border-color: #B80000;
    box-shadow: 0 8px 20px rgba(184, 0, 0, 0.3);
}

.eyon-light-mode .eyon-pagination .prev.page-numbers,
.eyon-light-mode .eyon-pagination .next.page-numbers {
    background: rgba(0, 0, 0, 0.02);
}

.eyon-light-mode .eyon-pagination .prev.page-numbers:hover,
.eyon-light-mode .eyon-pagination .next.page-numbers:hover {
    background: #B80000;
    color: #fff;
}

div#eyon-archive-8c5ab67 {
    margin-top: 40px;
}