/* =============================================
   ROCKET THEME - MAIN STYLESHEET
   Design System + All Components
   ============================================= */

/* ===== DESIGN TOKENS ===== */
:root {
    /* Colors - Light Mode */
    --primary-color: #0a192f;
    --accent-color: #ff4d00;
    --accent-hover: #e04400;
    --bg-color: #f8f9fa;
    --card-bg: #ffffff;
    --text-main: #1a202c;
    --text-muted: #4a5568;
    --border-color: #e2e8f0;
    --header-bg: rgba(255, 255, 255, 0.88);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 15px 50px rgba(0, 0, 0, 0.1);

    /* Typography */
    --font-main: 'Cairo', sans-serif;
    --font-heading: 'Outfit', 'Cairo', sans-serif;

    /* Spacing & Radii */
    --radius-xs: 6px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --container-width: 1200px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Mode */
[data-theme="dark"] {
    --primary-color: #1a365d;
    --accent-color: #ff5e1a;
    --accent-hover: #ff7840;
    --bg-color: #050b14;
    --card-bg: #0d1520;
    --text-main: #e2e8f0;
    --text-muted: #a0aec0;
    --border-color: #1e2d3d;
    --header-bg: rgba(5, 11, 20, 0.88);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 15px 50px rgba(0, 0, 0, 0.4);
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.7;
    transition: background-color 0.4s ease, color 0.4s ease;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ===== HEADINGS ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 15px;
    color: var(--primary-color);
}

h1 {
    font-size: 36px;
    font-weight: 900;
    color: var(--primary-color);
}

h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-color);
}

h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-main);
}

h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
}

h5 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-main);
}

h6 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.container-narrow {
    max-width: 800px;
}

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

ul {
    list-style: none;
}

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

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

.py-60 {
    padding: 60px 0;
}

/* ===== MAIN LAYOUT & SIDEBAR ===== */
.main-layout-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.main-content {
    flex: 1;
    min-width: 0;
    /* Clearfix for flex items */
}

.widget-area {
    width: 340px;
    flex-shrink: 0;
}

/* Global Sidebar Positions */
.sidebar-left .main-layout-wrapper {
    flex-direction: row-reverse;
}

.sidebar-none .main-layout-wrapper {
    display: block;
}

.sidebar-none .widget-area {
    display: none;
}

.sidebar-none .main-content {
    max-width: 900px;
    margin: 0 auto;
}

/* Sticky Sidebar */
.has-sticky-sidebar .widget-area {
    position: sticky;
    top: 90px;
    align-self: flex-start;
}

@media (max-width: 1024px) {
    .main-layout-wrapper {
        flex-direction: column !important;
    }

    .widget-area {
        width: 100%;
        margin-top: 40px;
    }
}

/* ===== HEADER ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--header-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 0;
}

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

.site-branding {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.custom-logo-link {
    display: block;
    line-height: 0;
}

.custom-logo {
    max-height: 65px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.site-header.scrolled .custom-logo {
    max-height: 40px;
}

.site-title {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 28px;
    letter-spacing: -1px;
    margin: 0;
}

.site-title a {
    color: var(--text-main);
}

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

/* Navigation */
.main-navigation ul {
    display: flex;
    gap: 28px;
}

.main-navigation a {
    font-weight: 600;
    font-size: 15px;
    color: var(--text-main);
    position: relative;
    padding: 6px 0;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
}

.main-navigation a:hover::after {
    width: 100%;
}

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

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

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    border: none;
    font-family: var(--font-main);
    transition: var(--transition);
}

.btn-primary {
    background: var(--accent-color);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 77, 0, 0.25);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 77, 0, 0.35);
}

/* Dark Mode Toggle */
.theme-toggle {
    background: var(--border-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    transition: var(--transition);
    border: none;
}

.theme-toggle:hover {
    background: var(--accent-color);
    transform: rotate(20deg);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-main);
    transition: var(--transition);
    border-radius: 2px;
}

/* ===== BREAKING NEWS TICKER ===== */
.breaking-news-bar {
    background: var(--primary-color);
    color: white;
    padding: 10px 0;
    overflow: hidden;
}

.breaking-inner {
    display: flex;
    align-items: center;
    gap: 15px;
}

.breaking-label {
    background: var(--accent-color);
    padding: 4px 16px;
    border-radius: var(--radius-xs);
    font-weight: 700;
    font-size: 13px;
    white-space: nowrap;
    animation: pulse-label 2s infinite;
}

@keyframes pulse-label {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

.ticker-wrapper {
    overflow: hidden;
    flex: 1;
}

.ticker-list {
    display: flex;
    animation: ticker-scroll 20s linear infinite;
    gap: 40px;
}

.ticker-list li {
    white-space: nowrap;
    font-size: 14px;
}

.ticker-list a {
    color: rgba(255, 255, 255, 0.9);
}

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

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

    100% {
        transform: translateX(-50%);
    }
}

/* RTL Ticker */
body.rtl .ticker-list {
    animation-name: ticker-scroll-rtl;
}

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

    100% {
        transform: translateX(50%);
    }
}

/* ===== AD SLOTS ===== */
.ad-slot {
    padding: 15px 0;
    text-align: center;
}

.ad-slot img {
    max-width: 100%;
    margin: 0 auto;
}

/* ===== BENTO GRID HERO ===== */
.bento-hero {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 280px 220px;
    gap: 12px;
    margin: 30px 0 50px;
}

.bento-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    background-size: cover;
    background-position: center;
    min-height: 200px;
    cursor: pointer;
    display: block;
}

.bento-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.1) 60%);
    transition: var(--transition);
}

.bento-item:hover::before {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 60%);
}

.bento-item:hover {
    transform: scale(1.01);
}

.bento-item-1 {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}

.bento-item-2 {
    grid-column: 3 / 4;
}

.bento-item-3 {
    grid-column: 4 / 5;
}

.bento-item-4 {
    grid-column: 3 / 4;
}

.bento-item-5 {
    grid-column: 4 / 5;
}

/* ===== HERO PORTAL ===== */
.hero-portal {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    height: 500px;
    margin-bottom: 40px;
}

.portal-main {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.portal-hero-card {
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
}

.portal-overlay {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
    padding: 30px;
    color: white;
    width: 100%;
}

.portal-overlay h2 {
    font-size: 32px;
    margin: 10px 0;
    line-height: 1.2;
}

.portal-side {
    display: flex;
    flex-direction: column;
    gap: 15px;
    overflow-y: auto;
}

.portal-side-item {
    display: flex;
    gap: 15px;
    background: var(--card-bg);
    padding: 10px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.portal-side-item .side-thumb {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: var(--radius-xs);
    overflow: hidden;
}

.portal-side-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portal-side-item h3 {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 5px;
}

/* ===== HERO BOLD GRID ===== */
.hero-bold-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    height: 600px;
    margin-bottom: 40px;
}

.hero-bold-grid .bento-item {
    border-radius: var(--radius-lg);
}

.hero-bold-grid .bento-item-1 {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}

.hero-bold-grid .bento-item-1 .bento-title {
    font-size: 36px;
}

.hero-bold-grid .bento-title {
    font-size: 18px;
}

@media (max-width: 991px) {
    .hero-portal {
        grid-template-columns: 1fr;
        height: auto;
    }

    .portal-main {
        height: 350px;
    }

    .hero-bold-grid {
        grid-template-columns: 1fr 1fr;
        height: auto;
    }

    .hero-bold-grid .bento-item {
        height: 250px;
    }

    .hero-bold-grid .bento-item-1 {
        height: 400px;
    }
}

.bento-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    z-index: 2;
    color: white;
}

.bento-cat {
    background: var(--accent-color);
    padding: 3px 10px;
    border-radius: var(--radius-xs);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bento-title {
    font-size: 16px;
    font-weight: 700;
    margin-top: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bento-item-1 .bento-title {
    font-size: 24px;
}

.bento-date {
    font-size: 12px;
    opacity: 0.75;
    margin-top: 6px;
    display: block;
}

/* ===== CATEGORY SECTIONS ===== */
.category-section {
    margin-bottom: 50px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--accent-color);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    position: relative;
}

.view-all {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-color);
}

.view-all:hover {
    text-decoration: underline;
}

/* Post Grid Layouts */
.post-grid.cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

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

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

/* Archive Grid Specifics */
.archive-grid.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

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

.rocket-list-item {
    display: flex;
    gap: 25px;
    background: var(--card-bg);
    border-radius: var(--radius-md);
    padding: 20px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.rocket-list-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.list-thumb {
    width: 260px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.list-thumb img {
    height: 180px;
    object-fit: cover;
}

.list-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.list-title {
    font-size: 22px;
    margin: 8px 0;
}

/* Classic Style */
.archive-grid.classic {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.rocket-classic-item {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.classic-thumb img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.classic-content {
    padding: 40px;
    text-align: center;
}

.classic-title {
    font-size: 32px;
    margin: 15px 0;
}

.classic-excerpt {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 25px;
}

@media (max-width: 768px) {
    .rocket-list-item {
        flex-direction: column;
    }

    .list-thumb {
        width: 100%;
    }

    .classic-thumb img {
        height: 250px;
    }

    .classic-content {
        padding: 20px;
    }

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

/* ===== POST CARDS ===== */
.post-grid {
    display: grid;
    gap: 20px;
}

.rocket-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.rocket-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-color);
}

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

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

.rocket-card:hover .card-thumb img {
    transform: scale(1.06);
}

.card-body {
    padding: 18px;
}

.card-cat {
    color: var(--accent-color);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-title {
    font-size: 16px;
    font-weight: 700;
    margin-top: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.card-meta {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 10px;
    display: flex;
    gap: 12px;
}

.card-excerpt {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== ARCHIVE / CATEGORY PAGE ===== */
.archive-header {
    padding: 50px 0 30px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 40px;
}

.archive-title {
    font-size: 30px;
    font-weight: 900;
    font-family: var(--font-heading);
}

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

.archive-description {
    font-size: 16px;
    color: var(--text-muted);
    margin-top: 8px;
}

.archive-meta {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 12px;
}

/* ===== PAGINATION ===== */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 50px;
    padding-bottom: 20px;
}

.nav-links {
    display: flex;
    gap: 8px;
}

.page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    font-weight: 600;
    font-size: 14px;
    color: var(--text-main);
    transition: var(--transition);
}

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

/* ===== SINGLE POST ===== */
.single-post-wrapper {
    background: var(--card-bg);
    padding: 40px;
    border-radius: var(--radius-lg);
    margin-top: 40px;
    box-shadow: var(--shadow-sm);
}

.single-post-wrapper .entry-header {
    margin-bottom: 25px;
}

.single-post-wrapper .cat-links a {
    background: var(--accent-color);
    color: white;
    padding: 3px 12px;
    border-radius: var(--radius-xs);
    font-size: 12px;
    font-weight: 700;
}

.single-post-wrapper .entry-title {
    font-size: 32px;
    font-weight: 900;
    line-height: 1.3;
    margin-top: 15px;
}

.post-data {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 15px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.post-thumbnail {
    margin: 30px 0;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
}

/* Entry Content */
.entry-content {
    font-size: 17px;
    line-height: 1.9;
}

.entry-content p {
    margin-bottom: 22px;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    margin: 30px 0 15px;
    font-weight: 700;
}

.entry-content h2 {
    font-size: 24px;
}

.entry-content h3 {
    font-size: 20px;
}

.entry-content a {
    color: var(--accent-color);
    text-decoration: underline;
}

.entry-content img {
    border-radius: var(--radius-sm);
    margin: 20px 0;
}

.entry-content blockquote {
    border-left: 4px solid var(--accent-color);
    padding: 15px 20px;
    margin: 25px 0;
    background: rgba(255, 77, 0, 0.05);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
}

.entry-content ul,
.entry-content ol {
    padding-left: 25px;
    margin-bottom: 20px;
}

.entry-content li {
    margin-bottom: 8px;
    list-style: disc;
}

.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.entry-content table th,
.entry-content table td {
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    text-align: right;
}

.entry-content table th {
    background: var(--primary-color);
    color: white;
}

/* Tags */
.entry-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.tags-links a {
    display: inline-block;
    background: var(--bg-color);
    padding: 5px 14px;
    border-radius: var(--radius-xs);
    font-size: 13px;
    margin: 0 4px 8px 0;
    border: 1px solid var(--border-color);
}

.tags-links a:hover {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

/* ===== READING PROGRESS BAR ===== */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--accent-color);
    z-index: 9999;
    transition: width 0.1s linear;
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--primary-color);
    color: rgba(255, 255, 255, 0.9);
    padding: 60px 0 30px;
    margin-top: 60px;
}

.grid-footer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-widgets {
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-info {
    padding-top: 25px;
}

.footer-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-navigation ul {
    display: flex;
    gap: 20px;
}

.footer-navigation a {
    font-size: 14px;
    opacity: 0.75;
}

.footer-navigation a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.copyright {
    font-size: 14px;
    opacity: 0.6;
}

/* ===== SEARCH FORM ===== */
.search-form {
    display: flex;
    max-width: 480px;
    margin: 20px auto 0;
}

.search-form .search-field {
    flex: 1;
    padding: 12px 18px;
    border: 2px solid var(--border-color);
    border-right: none;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    font-size: 15px;
    font-family: var(--font-main);
    background: var(--card-bg);
    color: var(--text-main);
    outline: none;
}

.search-form .search-field:focus {
    border-color: var(--accent-color);
}

.search-form .search-submit {
    padding: 12px 22px;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--font-main);
}

/* ===== RTL SUPPORT ===== */
body.rtl {
    direction: rtl;
    text-align: right;
}

body.rtl .entry-content blockquote {
    border-left: none;
    border-right: 4px solid var(--accent-color);
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

body.rtl .entry-content ul,
body.rtl .entry-content ol {
    padding-left: 0;
    padding-right: 25px;
}

body.rtl .search-form .search-field {
    border-right: 2px solid var(--border-color);
    border-left: none;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

body.rtl .search-form .search-submit {
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

body.rtl .tags-links a {
    margin: 0 0 8px 4px;
}

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

/* ===== FLOATING SOCIAL SHARE ===== */
.rocket-share-float {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 900;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: white;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.share-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.share-facebook {
    background: #1877f2;
}

.share-twitter {
    background: #0f1419;
}

.share-whatsapp {
    background: #25d366;
}

.share-telegram {
    background: #0088cc;
}

.share-linkedin {
    background: #0a66c2;
}

.share-copy {
    background: var(--text-muted);
}

.share-copy.copied {
    background: #38a169;
}

body.rtl .rocket-share-float {
    left: auto;
    right: 20px;
}

/* ===== AUTHOR BOX ===== */
.rocket-author-box {
    display: flex;
    gap: 25px;
    align-items: flex-start;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 30px;
    margin-top: 40px;
}

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

.author-label {
    font-size: 12px;
    color: var(--accent-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.author-name {
    font-size: 20px;
    font-weight: 700;
    margin-top: 4px;
}

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

.author-bio {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 8px;
    line-height: 1.6;
}

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

.author-social {
    color: var(--accent-color);
    font-weight: 600;
}

/* ===== RELATED POSTS ===== */
.rocket-related-posts {
    margin-top: 50px;
}

.related-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--accent-color);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.related-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.related-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.related-thumb {
    aspect-ratio: 16/10;
    overflow: hidden;
}

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

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

.related-body {
    padding: 15px;
}

.related-card-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.related-date {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 8px;
    display: block;
}

/* ===== TABLE OF CONTENTS ===== */
.rocket-toc {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 25px;
    margin: 30px 0;
}

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

.toc-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.toc-toggle {
    background: var(--border-color);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.toc-toggle:hover {
    background: var(--accent-color);
    color: white;
}

.toc-list {
    margin-top: 15px;
    padding-left: 20px;
    counter-reset: toc-counter;
}

.toc-list li {
    counter-increment: toc-counter;
    margin-bottom: 10px;
    list-style: none;
}

.toc-list li::before {
    content: counter(toc-counter) ". ";
    color: var(--accent-color);
    font-weight: 700;
}

.toc-list li a {
    font-size: 15px;
    color: var(--text-main);
}

.toc-list li a:hover {
    color: var(--accent-color);
}

.toc-list li.toc-sub {
    margin-left: 20px;
}

.toc-list li.toc-sub::before {
    content: "— ";
    color: var(--text-muted);
}

.rocket-toc.collapsed .toc-list {
    display: none;
}

.rocket-toc.collapsed .toc-toggle {
    transform: rotate(45deg);
}

/* ===== MEGA MENU ===== */
.has-mega-menu {
    position: relative;
}

.mega-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    padding: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}

.has-mega-menu:hover .mega-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mega-list li a {
    display: block;
    padding: 8px 12px;
    border-radius: var(--radius-xs);
    font-size: 14px;
}

.mega-list li a:hover {
    background: var(--bg-color);
    color: var(--accent-color);
}

.dropdown-arrow {
    display: inline-block;
    vertical-align: middle;
    margin-left: 4px;
    transition: var(--transition);
}

.has-mega-menu:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* ===== POST NAVIGATION ===== */
.post-navigation {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.post-navigation .nav-links {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.nav-subtitle {
    font-size: 12px;
    color: var(--text-muted);
    display: block;
    margin-bottom: 5px;
}

.nav-title {
    font-weight: 600;
    font-size: 15px;
    display: block;
}

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

/* ===== AUTHOR INLINE ===== */
.author-inline {
    display: flex;
    align-items: center;
    gap: 8px;
}

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

/* ===== SCROLLED HEADER ===== */
.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

/* ===== MOBILE NAV OPEN ===== */
.main-navigation.is-open {
    display: block !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
    padding: 20px;
    box-shadow: var(--shadow-md);
}

.main-navigation.is-open ul {
    flex-direction: column;
    gap: 12px;
}

/* ===== COMMENTS ===== */
.comments-area {
    margin-top: 50px;
    background: var(--card-bg);
    padding: 30px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.comments-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
}

.comment-list {
    padding: 0;
}

.comment-list .comment {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    list-style: none;
}

.comment-author img {
    border-radius: 50%;
    margin-right: 10px;
}

.rocket-comment-form .comment-form-comment textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: var(--font-main);
    font-size: 15px;
    background: var(--card-bg);
    color: var(--text-main);
    resize: vertical;
}

.rocket-comment-form .form-submit .submit {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    cursor: pointer;
    font-family: var(--font-main);
    transition: var(--transition);
}

.rocket-comment-form .form-submit .submit:hover {
    background: var(--accent-hover);
}

/* ===== READING MODE ===== */
.reading-mode-btn {
    position: fixed;
    bottom: 80px;
    right: 20px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-family: var(--font-main);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    z-index: 800;
}

.reading-mode-btn:hover {
    box-shadow: var(--shadow-md);
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

.reading-mode-btn:hover svg {
    stroke: white;
}

body.reading-mode .site-header,
body.reading-mode .rocket-share-float,
body.reading-mode .site-footer,
body.reading-mode .rocket-related-posts,
body.reading-mode .rocket-author-box,
body.reading-mode .comments-area,
body.reading-mode .post-navigation,
body.reading-mode .ad-slot,
body.reading-mode .notification-bell,
body.reading-mode .notification-panel {
    display: none !important;
}

body.reading-mode .single-post-wrapper {
    max-width: 700px;
    margin: 20px auto;
    box-shadow: none;
    border: none;
}

body.reading-mode .entry-content {
    font-size: 19px;
    line-height: 2;
}

/* ===== AD-BLOCK MODAL ===== */
.adblock-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.adblock-modal-content {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 50px 40px;
    max-width: 480px;
    text-align: center;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
}

.adblock-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.adblock-modal-content h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.adblock-modal-content p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 25px;
}

.adblock-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.adblock-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 13px;
    cursor: pointer;
    font-family: var(--font-main);
}

.adblock-close:hover {
    color: var(--text-main);
}

/* ===== NOTIFICATION HUB ===== */
.notification-bell {
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-main);
    padding: 8px;
    border-radius: 50%;
    transition: var(--transition);
}

.notification-bell:hover {
    background: var(--bg-color);
}

.notif-dot {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-color);
}

.notification-panel {
    position: fixed;
    top: 0;
    right: -360px;
    width: 340px;
    height: 100vh;
    background: var(--card-bg);
    border-left: 1px solid var(--border-color);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    z-index: 1100;
    transition: right 0.35s ease;
    overflow-y: auto;
}

.notification-panel.open {
    right: 0;
}

.notif-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    background: var(--card-bg);
}

.notif-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
}

.notif-close {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: var(--text-muted);
    padding: 5px;
}

.notif-list {
    padding: 10px;
}

.notif-item {
    display: block;
    padding: 14px 12px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.notif-item:hover {
    background: var(--bg-color);
}

.notif-item-title {
    display: block;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-main);
}

.notif-item-date {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ===== POLL / QUIZ ===== */
.rocket-poll {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 25px;
    margin: 30px 0;
}

.poll-question {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 18px;
}

.poll-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.poll-option {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-family: var(--font-main);
    font-size: 15px;
    font-weight: 500;
    color: var(--text-main);
    overflow: hidden;
    transition: var(--transition);
}

.poll-option:hover {
    border-color: var(--accent-color);
}

.poll-option-bar {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: rgba(255, 77, 0, 0.1);
    border-radius: var(--radius-sm);
    transition: width 0.6s ease;
}

.poll-option-percent {
    font-weight: 700;
    font-size: 14px;
    color: var(--accent-color);
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.poll-option.voted .poll-option-percent {
    opacity: 1;
}

.poll-option.voted {
    cursor: default;
}

.poll-option-text {
    z-index: 1;
}

.poll-total {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 12px;
}

/* ===== COMPARE / AFFILIATE BOX ===== */
.rocket-compare {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 30px;
    margin: 30px 0;
}

.compare-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.compare-item {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 25px;
    text-align: center;
}

.compare-item-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.compare-price {
    font-size: 28px;
    font-weight: 900;
    color: var(--accent-color);
    margin: 15px 0;
}

.compare-pros,
.compare-cons {
    text-align: right;
    font-size: 14px;
    margin-top: 12px;
    line-height: 1.6;
}

.compare-btn {
    margin-top: 20px;
    display: inline-block;
}

/* ===== HERO SLIDER ===== */
.rocket-slider {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    margin-bottom: 40px;
}

.slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.slider-slide {
    position: relative;
    min-width: 100%;
    height: 100%;
    flex-shrink: 0;
}

.slider-image {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.slider-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 25, 47, 0.95) 0%, transparent 60%);
}

.slider-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 60px 0 40px;
    color: white;
    z-index: 10;
}

.slider-category {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 4px 14px;
    border-radius: var(--radius-xs);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.slider-title {
    font-size: 36px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 12px;
    max-width: 800px;
}

.slider-title a {
    color: white;
}

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

.slider-meta {
    display: flex;
    gap: 15px;
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 15px;
}

.slider-excerpt {
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.85;
    max-width: 600px;
    margin-bottom: 20px;
}

.slider-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.slider-prev,
.slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    z-index: 20;
    transition: var(--transition);
}

.slider-prev {
    left: 20px;
}

.slider-next {
    right: 20px;
}

.slider-prev:hover,
.slider-next:hover {
    background: rgba(255, 77, 0, 0.9);
    border-color: var(--accent-color);
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 20;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.slider-dot.active {
    background: white;
    width: 30px;
    border-radius: 5px;
}

/* ===== INFINITE SCROLL ===== */
.infinite-scroll-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

@media (max-width: 1024px) {
    .infinite-scroll-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .infinite-scroll-container {
        grid-template-columns: 1fr;
    }
}

.load-more-wrapper {
    text-align: center;
    margin-top: 50px;
}

.load-more-btn {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 14px 40px;
    font-family: var(--font-main);
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
    cursor: pointer;
    transition: var(--transition);
}

.load-more-btn:hover:not(:disabled) {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.load-more-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ===== GDPR COOKIE CONSENT ===== */
.cookie-consent {
    position: fixed;
    left: 0;
    right: 0;
    background: var(--card-bg);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
    z-index: 9999;
    transform: translateY(100%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-consent-bottom {
    bottom: 0;
}

.cookie-consent-top {
    top: 0;
    bottom: auto;
    border-top: none;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
}

.cookie-consent.show {
    transform: translateY(0);
    opacity: 1;
}

.cookie-consent-inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cookie-message {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.cookie-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.cookie-message p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-main);
}

.cookie-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.cookie-learn-more {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: underline;
    transition: var(--transition);
}

.cookie-learn-more:hover {
    color: var(--accent-color);
}

.cookie-accept {
    white-space: nowrap;
    padding: 10px 24px;
    font-size: 14px;
}

/* Cookie Banner Responsive */
@media (max-width: 768px) {
    .cookie-consent-inner {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .cookie-message {
        flex-direction: column;
        text-align: center;
    }

    .cookie-actions {
        width: 100%;
        justify-content: center;
    }

    .cookie-accept {
        flex: 1;
    }
}

/* ===== BREADCRUMBS ===== */
.rocket-breadcrumbs {
    background: var(--bg-body);
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 30px;
}

.breadcrumb-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    font-size: 14px;
    color: var(--text-muted);
}

.breadcrumb-list li:not(:last-child)::after {
    content: "›";
    margin-right: 10px;
}

.breadcrumb-list a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
}

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

/* ===== FOOTER SOCIAL LINKS ===== */
.rocket-social-links {
    display: flex;
    gap: 15px;
    margin: 15px 0;
}

.social-icon {
    width: 36px;
    height: 36px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    text-decoration: none;
    font-size: 0;
    /* Hide text, use icons or labels in future */
    transition: var(--transition);
    position: relative;
}

.social-icon::before {
    font-size: 16px;
    font-weight: 700;
}

.social-icon.facebook::before {
    content: "F";
}

.social-icon.twitter::before {
    content: "X";
}

.social-icon.instagram::before {
    content: "I";
}

.social-icon.youtube::before {
    content: "Y";
}

.social-icon.telegram::before {
    content: "T";
}

.social-icon.tiktok::before {
    content: "Tk";
}

.social-icon.whatsapp::before {
    content: "W";
}

.social-icon:hover {
    background: var(--accent-color);
    color: #fff;
    border-color: var(--accent-color);
    transform: translateY(-3px);
}

/* ===== ADBLOCK MODAL POLISH ===== */
.adblock-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: none;
    /* Controlled by JS */
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.adblock-modal-content {
    background: var(--card-bg);
    max-width: 500px;
    width: 100%;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}

.adblock-icon {
    font-size: 60px;
    margin-bottom: 25px;
}

.adblock-modal h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.adblock-modal p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 30px;
}

.adblock-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.adblock-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 14px;
    cursor: pointer;
    text-decoration: underline;
}

/* ===== TYPOGRAPHY ROOT ===== */
html {
    font-size: var(--base-font-size, 16px);
}

body {
    font-family: var(--font-main);
}

/* =============================================
   RESPONSIVE DESIGN EXCELLENCE
   Optimized for Desktop, Tablet, and Mobile
   ============================================= */

@media (max-width: 1200px) {
    :root {
        --container-width: 95%;
    }
}

@media (max-width: 1024px) {
    .main-layout-wrapper {
        flex-direction: column !important;
    }

    .widget-area {
        width: 100%;
        margin-top: 40px;
    }

    .bento-hero {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 220px);
    }

    .bento-item-1 {
        grid-column: 1 / 3;
        grid-row: 1 / 2;
    }

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

@media (max-width: 768px) {

    /* Header & Mobile Menu */
    .header-container {
        height: 70px;
    }

    .custom-logo {
        max-height: 50px;
    }

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

    .main-navigation {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        bottom: 0;
        background: #ffffff;
        z-index: 2000;
        padding: 80px 30px;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .main-navigation.is-open {
        transform: translateX(0);
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 15px;
    }

    .main-navigation a {
        font-size: 18px;
        display: block;
        padding: 10px 0;
        border-bottom: 1px solid var(--border-color);
    }

    .mobile-menu-toggle {
        display: flex;
        z-index: 2100;
    }

    .mobile-menu-toggle.is-active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .mobile-menu-toggle.is-active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.is-active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* Bento Hero Mobile */
    .bento-hero {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 15px;
    }

    .bento-item-1,
    .bento-item-2,
    .bento-item-3,
    .bento-item-4,
    .bento-item-5 {
        grid-column: 1 / 2;
        grid-row: auto;
        min-height: 220px;
    }

    .bento-item-1 {
        min-height: 280px;
    }

    .bento-item-1 .bento-title {
        font-size: 22px;
    }

    .post-grid.cols-3,
    .post-grid.cols-4,
    .post-grid.cols-2 {
        grid-template-columns: 1fr;
    }

    /* Single Post Mobile */
    .single-post-wrapper {
        padding: 25px 20px;
        margin-top: 20px;
        border-radius: 0;
    }

    .entry-title {
        font-size: 26px !important;
    }

    .post-data {
        flex-direction: column;
        gap: 10px;
    }

    /* Related Posts */
    .related-grid {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-flex {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .footer-navigation ul {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

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

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

    .hero-classic-grid {
        grid-template-columns: 1fr;
    }
}