/* ========================================
   Lite Site Theme - Main Stylesheet
   Mobile-first approach
   ======================================== */

/* --- CSS Variables --- */
:root {
    --primary: #004181;
    --primary-dark: #003166;
    --accent: #0d9488;
    --accent-light: #14b8a6;
    --bg-body: #f4f4f4;
    --bg-white: #ffffff;
    --text: #1f2937;
    --text-light: #6b7280;
    --text-muted: #9ca3af;
    --border: #e5e7eb;
    --shadow: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-lg: 0 4px 12px rgba(0,0,0,0.1);
    --radius: 8px;
    --radius-sm: 4px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --container: 1080px;
    --header-h: 60px;
    --bottom-nav-h: 56px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg-body);
    -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent); }

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

h1, h2, h3, h4, h5, h6 { font-weight: 600; line-height: 1.3; margin-bottom: 0.5em; }
h1 { font-size: 1.75rem; }
h2 { font-size: 1.35rem; }
h3 { font-size: 1.1rem; }
h4 { font-size: 1rem; }

/* --- Layout --- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 16px;
}

.layout-boxed #page {
    max-width: 1100px;
    margin: 0 auto;
    background: var(--bg-white);
    box-shadow: 0 0 40px rgba(0,0,0,0.06);
    min-height: 100vh;
}

.site-content {
    padding: 20px 0 40px;
}

.content-layout {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.widget-area {
    width: 100%;
}

.sidebar-left .content-layout {
    flex-direction: column-reverse;
}

/* --- Header --- */
.site-header {
    background: var(--primary);
    color: #fff;
    position: relative;
    z-index: 100;
}

.header-top {
    padding: 12px 0;
}

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

.header-brand {
    flex-shrink: 0;
}

.site-logo {
    display: flex;
    align-items: center;
}
.site-logo a {
    display: inline-block;
    line-height: 0;
}
.site-logo img {
    width: auto;
    height: auto;
    display: block;
}

.site-title {
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1;
}
.site-title a { color: #fff; }
.site-title a:hover { color: rgba(255,255,255,0.85); }

.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.header-clock {
    font-size: 0.8rem;
    opacity: 0.9;
    display: none;
    white-space: nowrap;
}

.search-form {
    display: flex;
    position: relative;
    max-width: 200px;
}

.search-input {
    width: 100%;
    padding: 7px 36px 7px 12px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    background: rgba(255,255,255,0.15);
    color: #fff;
    outline: none;
    transition: background 0.2s;
}
.search-input::placeholder { color: rgba(255,255,255,0.6); }
.search-input:focus { background: rgba(255,255,255,0.25); }

.search-button {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 34px;
    border: none;
    background: transparent;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}
.search-button:hover { color: #fff; }

/* --- Hamburger Menu Toggle --- */
.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2.5px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s;
}

.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Main Navigation --- */
.main-navigation {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100vh;
    background: #1f2937;
    z-index: 1000;
    transition: left 0.3s ease;
    overflow-y: auto;
}

.main-navigation.open {
    left: 0;
}

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.nav-overlay.active { opacity: 1; pointer-events: auto; }

.nav-close {
    display: block;
    background: transparent;
    border: none;
    color: #fff;
    padding: 16px;
    cursor: pointer;
    margin-left: auto;
}

.primary-menu {
    list-style: none;
    padding: 0 16px 24px;
}

.primary-menu li {
    position: relative;
}

.primary-menu a {
    display: block;
    padding: 12px 0;
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.primary-menu a:hover { color: #fff; }

.primary-menu .menu-item-has-children > a::after {
    content: '+';
    float: right;
    font-size: 1rem;
    transition: transform 0.2s;
}

.primary-menu .sub-menu {
    display: none;
    list-style: none;
    padding-left: 16px;
}
.primary-menu .sub-menu.open { display: block; }

.primary-menu .sub-menu a {
    font-size: 0.85rem;
    padding: 10px 0;
    opacity: 0.8;
}

/* --- Secondary Nav --- */
.secondary-nav {
    background: #fff;
    border-bottom: 1px solid var(--border);
    display: none;
}

.secondary-menu {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

.secondary-menu li a {
    display: block;
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-light);
    letter-spacing: 0.02em;
}
.secondary-menu li a:hover { color: var(--primary); }

/* --- Bottom Nav (mobile) --- */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: var(--bottom-nav-h);
    background: #fff;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 998;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.06);
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 6px 12px;
    color: var(--text-light);
    font-size: 0.65rem;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font);
}
.bottom-nav-item:hover,
.bottom-nav-item.active { color: var(--primary); }

/* --- Hero Slider --- */
.hero-slider {
    margin-bottom: 24px;
    border-radius: var(--radius);
    overflow: hidden;
}

.hero-slider .swiper {
    width: 100%;
    height: 250px;
}

.hero-slider .slide-link {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

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

.hero-slider .slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 16px 16px;
    background: linear-gradient(transparent, rgba(0,0,0,0.75));
}

.hero-slider .slide-title {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.hero-slider .swiper-pagination-bullet {
    background: rgba(255,255,255,0.6);
}
.hero-slider .swiper-pagination-bullet-active {
    background: #fff;
}

.hero-slider .swiper-button-prev,
.hero-slider .swiper-button-next {
    color: #fff;
    width: 36px;
    height: 36px;
    background: rgba(0,0,0,0.3);
    border-radius: 50%;
    display: none;
}
.hero-slider .swiper-button-prev::after,
.hero-slider .swiper-button-next::after {
    font-size: 14px;
}

/* --- Block / Section --- */
.block {
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 20px;
    overflow: hidden;
}

.block-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--primary);
    color: #fff;
    padding: 10px 16px;
}

.block-header a { color: rgba(255,255,255,0.8); font-size: 0.8rem; }
.block-header a:hover { color: #fff; }

.block-title {
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    margin: 0;
}

.block-more {
    flex-shrink: 0;
}

.block-body {
    padding: 12px 16px;
}

/* --- Article Item (Loop) --- */
.post-item {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}
.post-item:last-child { border-bottom: none; padding-bottom: 0; }
.post-item:first-child { padding-top: 0; }

.post-thumb {
    flex-shrink: 0;
    width: 100px;
    height: 72px;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.post-category {
    display: inline-block;
    margin-bottom: 4px;
}

.post-category a {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--accent);
    letter-spacing: 0.03em;
}

.post-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
    line-height: 1.35;
}
.post-title a { color: var(--text); }
.post-title a:hover { color: var(--primary); }

.post-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.post-excerpt {
    font-size: 0.8rem;
    color: var(--text-light);
    line-height: 1.5;
    display: none;
}

.content-full {
    max-width: 100%;
}

/* --- Single Article --- */
.single-article {
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 20px 16px;
}

.article-header {
    margin-bottom: 20px;
}

.article-category {
    margin-bottom: 8px;
}
.article-category a {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--accent);
    letter-spacing: 0.03em;
}

.article-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.8rem;
    color: var(--text-light);
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.article-thumbnail {
    margin-bottom: 20px;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.article-content {
    font-size: 1rem;
    line-height: 1.8;
}

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

.article-footer {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-link {
    display: inline-block;
    padding: 4px 12px;
    font-size: 0.78rem;
    background: var(--bg-body);
    border-radius: 20px;
    color: var(--text-light);
}
.tag-link:hover {
    background: var(--primary);
    color: #fff;
}

/* --- Page Header --- */
.page-header {
    margin-bottom: 20px;
}

.page-title {
    font-size: 1.4rem;
    font-weight: 700;
}

.archive-description {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 8px;
}

/* --- Mid Ad --- */
.mid-ad {
    margin-bottom: 20px;
    text-align: center;
}
.mid-ad img {
    display: inline-block;
    max-width: 100%;
    border-radius: var(--radius);
}

/* --- Pagination --- */
.pagination {
    margin: 24px 0;
    text-align: center;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 6px 12px;
    margin: 0 2px;
    font-size: 0.85rem;
    background: var(--bg-body);
    border-radius: var(--radius-sm);
    color: var(--text);
    transition: all 0.2s;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
    background: var(--primary);
    color: #fff;
}

/* --- Error 404 --- */
.error-404 {
    text-align: center;
    padding: 60px 20px;
}

.error-title {
    font-size: 6rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 16px;
}

.error-message {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 24px;
}

.error-search {
    max-width: 400px;
    margin: 24px auto 0;
}
.error-search .search-form {
    max-width: 100%;
}
.error-search .search-input {
    background: var(--bg-body);
    color: var(--text);
    border: 1px solid var(--border);
}
.error-search .search-input::placeholder { color: var(--text-muted); }

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 10px 24px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    font-family: var(--font);
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}
.btn-primary:hover {
    background: var(--primary-dark);
    color: #fff;
}

/* --- Footer --- */
.site-footer {
    background: #1f2937;
    color: rgba(255,255,255,0.75);
    margin-top: 40px;
}

.footer-widgets {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 0;
}

.footer-widget-area .widget-title {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.footer-widget-area a { color: #93c5fd; }
.footer-widget-area a:hover { color: #fff; text-decoration: underline; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 16px 0;
    text-align: center;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 8px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
    transition: all 0.2s;
}
.footer-social a:hover {
    background: var(--primary);
    color: #fff;
}

.footer-copyright {
    font-size: 0.82rem;
    color: #9ca3af;
}
.footer-copyright a {
    color: #60a5fa;
    font-weight: 600;
}
.footer-copyright a:hover {
    color: #93c5fd;
    text-decoration: underline;
}

/* --- Comments --- */
.comments-area {
    margin-top: 24px;
}

.comment-list {
    list-style: none;
}

.comment {
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.comment-author .avatar {
    border-radius: 50%;
    width: 32px;
    height: 32px;
}

.comment-author .fn { font-weight: 600; font-style: normal; }

.comment-metadata {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.comment-content { font-size: 0.9rem; }
.comment-content p { margin-bottom: 0.5em; }

.reply a {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
}

.comment-respond { margin-top: 24px; }

.comment-reply-title { font-size: 1.1rem; }

.comment-form label { display: block; font-size: 0.85rem; margin-bottom: 4px; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 0.9rem;
}
.comment-form textarea { min-height: 100px; }
.comment-form input[type="submit"] {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font);
}
.comment-form input[type="submit"]:hover { background: var(--primary-dark); }

/* --- Widget Area --- */
.widget {
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 16px;
    margin-bottom: 20px;
}

.widget-title {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    background: var(--primary);
    padding: 8px 13px;
    margin: -16px -16px 12px -16px;
    border-radius: var(--radius) var(--radius) 0 0;
}

.widget ul { list-style: none; }
.widget ul li {
    padding: 6px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.88rem;
}
.widget ul li:last-child { border-bottom: none; }
.widget ul li a { color: var(--text); }
.widget ul li a:hover { color: var(--primary); }

/* --- Widget: Ad --- */
.widget-ad {
    padding: 0;
    overflow: hidden;
}
.widget-ad a { display: block; }
.widget-ad img { display: block; width: 100%; }

/* --- Widget: Social --- */
.widget-social .social-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.widget-social .social-icon {
    display: block;
    flex: 1;
    min-width: 60px;
    text-align: center;
}

.widget-social .social-label {
    display: block;
    padding: 6px 4px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    border-radius: var(--radius-sm);
    text-align: center;
}
.social-label.facebook { background: #4260b4; }
.social-label.twitter { background: #3fb9d7; }
.social-label.instagram { background: #e1306c; }
.social-label.youtube { background: #ff0000; }

.widget-social .social-desc {
    font-size: 0.78rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* --- Widget: Articles (Featured / Popular) --- */
.widget-articles ul {
    list-style: none;
}

.widget-articles ul li {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    align-items: flex-start;
}
.widget-articles ul li:first-child { padding-top: 0; }
.widget-articles ul li:last-child { border-bottom: none; padding-bottom: 0; }

.widget-articles .article-photo {
    flex-shrink: 0;
    width: 59px;
    height: 42px;
    overflow: hidden;
    border-radius: 3px;
    margin-top: 2px;
}

.widget-articles .article-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.widget-articles .article-content {
    flex: 1;
    min-width: 0;
}

.widget-articles .article-content h4 {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2px;
    line-height: 1.35;
}
.widget-articles .article-content h4 a { color: var(--text); }
.widget-articles .article-content h4 a:hover { color: var(--primary); }

.widget-articles .meta {
    font-size: 0.72rem;
    color: var(--text-muted);
}
.widget-articles .meta a { color: var(--primary); }
.widget-articles .meta a:hover { text-decoration: underline; }

/* --- Widget: Tag Cloud --- */
.widget-tags .tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.widget-tags .badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    background: #eff6ff;
    border-radius: 3px;
    transition: all 0.2s;
}
.widget-tags .badge:hover {
    background: var(--primary);
    color: #fff;
}

/* --- Widget: Recent Comments --- */
.widget-comments-list ul { list-style: none; }

.widget-comments-list ul li {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}
.widget-comments-list ul li:first-child { padding-top: 0; }
.widget-comments-list ul li:last-child { border-bottom: none; padding-bottom: 0; }

.widget-comments-list .comment-photo {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    margin-top: 2px;
}
.widget-comments-list .comment-photo img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.widget-comments-list .comment-content {
    flex: 1;
    min-width: 0;
}

.widget-comments-list .comment-content h4 {
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 1px;
}

.widget-comments-list .comment-content .meta {
    font-size: 0.7rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 3px;
}

.widget-comments-list .comment-content p {
    font-size: 0.8rem;
    color: var(--text-light);
    line-height: 1.4;
}

/* --- No Results --- */
.no-results {
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 32px 20px;
    text-align: center;
}
.no-results p { margin-bottom: 16px; color: var(--text-light); }
.no-results .search-form { max-width: 400px; margin: 0 auto; }
.no-results .search-input {
    background: var(--bg-body);
    color: var(--text);
    border: 1px solid var(--border);
}
.no-results .search-input::placeholder { color: var(--text-muted); }

/* ========================================
   Responsive - Tablet (768px+)
   ======================================== */
@media (min-width: 768px) {
    .container { padding: 0 24px; }

    .header-clock { display: block; }

    .menu-toggle { display: none; }

    .main-navigation {
        position: static;
        width: auto;
        height: auto;
        background: transparent;
        overflow: visible;
    }

    .nav-close { display: none; }

    .primary-menu {
        display: flex;
        gap: 0;
        padding: 0;
    }

    .primary-menu li { position: relative; }

    .primary-menu a {
        padding: 12px 16px;
        font-size: 0.85rem;
        border-bottom: none;
        font-weight: 600;
        text-transform: uppercase;
    }

    .primary-menu .menu-item-has-children > a::after {
        content: '\25BE';
        float: none;
        margin-left: 6px;
        font-size: 0.75rem;
    }

    .primary-menu .sub-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 220px;
        background: #1f2937;
        padding: 8px 0;
        border-radius: 0 0 var(--radius-sm) var(--radius-sm);
        box-shadow: var(--shadow-lg);
    }

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

    .primary-menu .sub-menu a {
        padding: 10px 16px;
        font-size: 0.82rem;
        text-transform: none;
        font-weight: 500;
    }

    .primary-menu .sub-menu .sub-menu {
        left: 100%;
        top: 0;
    }

    .secondary-nav { display: block; }

    .hero-slider .swiper { height: 350px; }
    .hero-slider .slide-title { font-size: 1.2rem; }
    .hero-slider .swiper-button-prev,
    .hero-slider .swiper-button-next { display: flex; }

    .post-thumb { width: 140px; height: 100px; }

    .post-excerpt { display: block; }

    .post-title { font-size: 1.05rem; }

    .content-layout {
        flex-direction: row !important;
        align-items: flex-start;
    }

    .sidebar-left .content-layout {
        flex-direction: row-reverse !important;
    }

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

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

    .single-article { padding: 28px 24px; }
    .article-title { font-size: 1.6rem; }

    .bottom-nav { display: none; }

    .block-header { padding: 12px 20px; }
    .block-body { padding: 16px 20px; }

    .widget { padding: 20px; }
    .widget-title { margin: -20px -20px 14px -20px; padding: 10px 16px; }
}

/* ========================================
   Responsive - Desktop (1024px+)
   ======================================== */
@media (min-width: 1024px) {
    .container { padding: 0 32px; }

    .site-content { padding: 28px 0 48px; }

    .hero-slider .swiper { height: 420px; }
    .hero-slider .slide-title { font-size: 1.4rem; }
    .hero-slider .slide-overlay { padding: 40px 24px 24px; }

    .post-thumb { width: 180px; height: 120px; }

    .widget-area { width: 330px; }

    .post-title { font-size: 1.1rem; }
    .block-title { font-size: 1.05rem; }
}

/* ========================================
   Utility
   ======================================== */
@media (max-width: 767px) {
    .nav-style-bottom .site-content { padding-bottom: calc(var(--bottom-nav-h) + 20px); }
    .nav-style-bottom .secondary-nav { display: none; }
}
