/*
Theme Name: PROPERLAND
Theme URI: https://properland.com
Author: IZA
Author URI: https://properland.com
Description: Theme WordPress untuk marketplace jasa dan produk B2B/B2C terpercaya di Indonesia. Modern, responsive, dan user-friendly.
Version: 1.0.5
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: properland
Tags: business, e-commerce, marketplace, responsive, modern
*/

/* --- CSS VARIABLES & RESET --- */
:root {
    --primary: #2563eb; /* Biru Modern */
    --primary-dark: #1e40af;
    --accent: #0f172a; /* Hitam Kebiruan */
    --wa-color: #25D366;
    --bg-body: #f8fafc;
    --bg-card: #ffffff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --border-radius: 12px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-hover: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: 0.2s; }
ul { list-style: none; }
img { max-width: 100%; display: block; object-fit: cover; }
button { border: none; background: none; cursor: pointer; }

/* --- HEADER & NAVIGATION --- */
header {
    background: var(--bg-card);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar {
    background: var(--accent);
    color: white;
    font-size: 0.85rem;
    padding: 8px 0;
    text-align: center;
}

.top-bar a {
    text-decoration: underline;
    margin-left: 5px;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
}
.search-bar {
    display: none;
    background: #f1f5f9;
    border-radius: 50px;
    padding: 0.5rem 1rem;
    width: 300px;
    align-items: center;
}
.search-bar input {
    border: none;
    background: transparent;
    outline: none;
    width: 100%;
    margin-left: 0.5rem;
    font-family: inherit;
}

.nav-links {
    display: none;
    align-items: center;
    gap: 2rem;
    font-weight: 400;
    font-size: 0.95rem;
}

.nav-links .nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links .nav-menu > li {
    position: relative;
}

.nav-links a {
    color: var(--text-main);
    letter-spacing: 0.02em;
    display: block;
    padding: 0.25rem 0;
}

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

/* Dropdown submenu */
.nav-links .nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background: var(--bg-card);
    box-shadow: var(--shadow-md);
    border-radius: 8px;
    list-style: none;
    margin: 0;
    margin-top: 2px;
    padding: 0.5rem 0;
    border: 1px solid #e2e8f0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
    z-index: 1000;
    pointer-events: auto;
}

.nav-links .nav-menu > li.menu-item-has-children:hover .sub-menu,
.nav-links .nav-menu > li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
}

.nav-links .nav-menu .sub-menu li {
    margin: 0;
}

.nav-links .nav-menu .sub-menu a {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    white-space: nowrap;
}

.nav-links .nav-menu .sub-menu a:hover {
    background: var(--bg-body);
}

.mobile-toggle {
    display: block;
    cursor: pointer;
    font-size: 1.5rem;
}

/* --- HERO: Slider atau Statis (responsive, gambar sama desktop + HP) --- */
.hero-wrap {
    max-width: 1200px;
    margin: 0 auto 2rem auto;
    padding: 0 1rem;
    position: relative;
}

.hero-wrap.hero-mode-static .hero-slider-container { display: none; }
.hero-wrap.hero-mode-slider .hero-static-wrap { display: none; }

/* Hero statis: satu gambar, rasio enak dilihat desktop (3:1) */
.hero-static-wrap {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.hero-static-link {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 1;
    max-height: 420px;
    min-height: 200px; /* fallback jika aspect-ratio tidak didukung */
}
.hero-static-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.hero-static-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.5rem 1.5rem 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
    color: #fff;
}
.hero-static-heading {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.25rem 0;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}
.hero-static-subtext {
    font-size: 0.95rem;
    margin: 0;
    opacity: 0.95;
}

/* Slider container */
.hero-slider-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.hero-slider {
    display: flex;
    width: 300%;
    animation: slideShow 12s infinite;
}

.hero-slide {
    flex: 0 0 33.333333%;
    width: 33.333333%;
    min-width: 0;
    position: relative;
}

.hero-slide a {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 1;
    max-height: 420px;
    min-height: 200px;
    overflow: hidden;
}

.hero-slide img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

@keyframes slideShow {
    0% { transform: translateX(0); }
    30% { transform: translateX(0); }
    33.33% { transform: translateX(-33.333333%); }
    63.33% { transform: translateX(-33.333333%); }
    66.66% { transform: translateX(-66.666666%); }
    96.66% { transform: translateX(-66.666666%); }
    100% { transform: translateX(0); }
}

@media (min-width: 768px) {
    .hero-slide a { max-height: 420px; }
}

/* Banner khusus HP: tampil hanya di mobile (desktop pakai slider) */
.hero-mobile-banner {
    display: none;
}

/* Hero di HP: satu gambar dipakai (sama dengan desktop), full width */
@media (max-width: 767px) {
    .hero-wrap {
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
        width: 100vw;
        max-width: 100vw;
        padding: 0;
    }
    .hero-static-wrap,
    .hero-slider-container {
        border-radius: 0;
        max-width: none;
    }
    /* HP: tampilkan seluruh gambar (contain) agar teks di banner tidak terpotong */
    .hero-static-link {
        aspect-ratio: 3 / 1;
        max-height: none;
        background: var(--accent, #0f172a);
    }
    .hero-static-img {
        object-fit: contain !important;
        object-position: center;
    }
    .hero-slide a {
        aspect-ratio: 3 / 1;
        max-height: none;
        background: var(--accent, #0f172a);
    }
    .hero-wrap:not(.hero-has-mobile-banner) .hero-slide img {
        object-fit: contain !important;
        object-position: center;
    }
    /* Ada gambar HP khusus: tampilkan saja di mobile */
    .hero-wrap.hero-has-mobile-banner .hero-mobile-banner {
        display: block !important;
    }
    .hero-wrap.hero-has-mobile-banner .hero-static-wrap,
    .hero-wrap.hero-has-mobile-banner .hero-slider-container {
        display: none !important;
    }
    .hero-mobile-banner a {
        display: block;
        width: 100%;
    }
    .hero-mobile-banner img {
        width: 100%;
        height: auto;
        display: block;
        vertical-align: top;
        object-fit: cover;
    }
    /* Tanpa gambar HP: pakai slider/static yang sama (responsive) */
    .hero-wrap:not(.hero-has-mobile-banner) .hero-slider {
        width: 100% !important;
        animation: none !important;
        display: block !important;
    }
    .hero-wrap:not(.hero-has-mobile-banner) .hero-slide:nth-child(2),
    .hero-wrap:not(.hero-has-mobile-banner) .hero-slide:nth-child(3) {
        display: none !important;
    }
    .hero-wrap:not(.hero-has-mobile-banner) .hero-slide img {
        position: absolute;
        inset: 0;
        width: 100% !important;
        height: 100% !important;
    }
}

/* Desktop: sembunyikan gambar banner HP (hanya tampil di mobile kalau diisi) */
@media (min-width: 768px) {
    .hero-mobile-banner {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        min-height: 0 !important;
        overflow: hidden !important;
        position: absolute !important;
        left: -9999px !important;
        pointer-events: none !important;
    }
}

@media (min-width: 768px) {
    .hero-static-img { height: 380px; }
}

/* --- CATEGORY WRAPPER & SCROLL ARROWS --- */
.category-wrapper {
    max-width: 1200px;
    margin: 0 auto 2rem auto;
    position: relative;
    padding: 0 40px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.category-bar-label {
    flex-shrink: 0;
    font-size: 0.9rem;
    color: var(--text-muted, #64748b);
    font-weight: 500;
}

.categories-scroll {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-wrap: nowrap;
    gap: 0.8rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}
.categories-scroll::-webkit-scrollbar { display: none; }

.scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    z-index: 20;
    transition: all 0.2s;
}

.scroll-arrow:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.scroll-arrow:hover svg {
    fill: white;
}

.scroll-arrow.left {
    left: 0px;
}

.scroll-arrow.right {
    right: 0px;
}

.scroll-arrow svg {
    width: 16px;
    height: 16px;
    fill: var(--text-muted);
}

.cat-pill {
    flex-shrink: 0;
    background: white;
    border: 1px solid #e2e8f0;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.cat-pill:hover, .cat-pill.active {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* --- PRODUCT GRID --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem 3rem 1rem;
}

/* --- SIDEBAR KIRI (Kategori) --- */
.content-with-sidebar {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    padding: 2rem 1rem 3rem;
}
.sidebar-left {
    flex-shrink: 0;
    width: 240px;
    background: var(--bg-card);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    padding: 0.9rem 1rem;
    position: sticky;
    top: 6rem;
    border-left: 4px solid var(--primary);
}
.sidebar-left .widget-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    padding-bottom: 0.35rem;
    border-bottom: 2px solid var(--primary);
    color: var(--accent);
}
.sidebar-left .category-list,
.sidebar-left ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: block;
}
/* Kategori: daftar pakai div per item (output manual) = selalu vertikal */
.category-list-wrap {
    display: block;
}
.category-list-wrap a {
    padding: 0.28rem 0.4rem;
    color: var(--text-main);
    font-size: 0.9rem;
    border-radius: 4px;
}
.category-list-wrap a:hover {
    background: var(--bg-body);
    color: var(--primary);
}
.category-list-wrap .category-count {
    font-size: 0.8rem;
    color: var(--text-muted);
}
.sidebar-left .category-list li,
.sidebar-left ul li {
    margin-bottom: 0.15rem;
    display: block;
    width: 100%;
}
.sidebar-left .category-list li,
.sidebar-left .widget_categories .cat-item {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.35rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}
.sidebar-left .category-list a {
    flex: 0 1 auto;
    min-width: 0;
}
.sidebar-left .category-list a,
.sidebar-left ul a {
    display: block;
    padding: 0.28rem 0.4rem;
    color: var(--text-main);
    font-size: 0.9rem;
    border-radius: 4px;
    padding-left: 0.4rem;
}
.sidebar-left .category-list a:hover,
.sidebar-left ul a:hover {
    background: var(--bg-body);
    color: var(--primary);
}
.sidebar-left .category-list .count,
.sidebar-left .category-list li .count {
    font-size: 0.8rem;
    color: var(--text-muted);
    flex-shrink: 0;
}
/* Sidebar: widget Search, Recent Posts, dll — rapat & eye-catching */
.sidebar-left .widget {
    margin-bottom: 1rem;
}
.sidebar-left .widget:last-child {
    margin-bottom: 0;
}
.sidebar-left .search-form,
.sidebar-left .widget_search form {
    display: flex;
    gap: 0.4rem;
    margin-top: 0.35rem;
}
/* Sembunyikan label "Search" agar tidak dobel dengan tombol */
/* Hanya sembunyikan label teks, jangan sembunyikan input (supaya kotak cari bisa diisi) */
.sidebar-left .search-form label.screen-reader-text,
.sidebar-left .widget_search label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.sidebar-left .search-form .search-field,
.sidebar-left .widget_search .search-field,
.sidebar-left input[type="search"] {
    flex: 1;
    min-width: 0;
    padding: 0.4rem 0.6rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 0.875rem;
}
.sidebar-left .search-form .search-submit,
.sidebar-left .widget_search .search-submit,
.sidebar-left input[type="submit"] {
    padding: 0.4rem 0.75rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    font-size: 0.875rem;
}
.sidebar-left .search-submit:hover,
.sidebar-left input[type="submit"]:hover {
    background: var(--primary-dark);
}
.sidebar-left .widget_recent_entries ul,
.sidebar-left .widget_archive ul,
.sidebar-left .widget_categories ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.sidebar-left .widget_recent_entries li,
.sidebar-left .widget_archive li {
    padding: 0.28rem 0.4rem;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.875rem;
    line-height: 1.35;
}
.sidebar-left .widget_recent_entries li:last-child,
.sidebar-left .widget_archive li:last-child {
    border-bottom: none;
}
.sidebar-left .widget_recent_comments .recentcomments {
    font-size: 0.9rem;
    padding: 0.35rem 0;
    color: var(--text-muted);
}
/* Sembunyikan widget Recent Comments dan Archives di sidebar */
.sidebar-left .widget_recent_comments,
.sidebar-left .widget_archive,
.sidebar-left .widget_archives,
#secondary .widget_recent_comments,
#secondary .widget_archive,
#secondary .widget_archives,
.widget-area .widget_recent_comments,
.widget-area .widget_archive,
.widget-area .widget_archives,
aside [id^="recent-comments-"],
aside [id^="archives-"],
#secondary [id^="recent-comments-"],
#secondary [id^="archives-"] {
    display: none !important;
}
.main-content {
    flex: 1;
    min-width: 0;
    padding-left: 0.5rem;
}
@media (min-width: 769px) {
    .main-content {
        padding-left: 1rem;
    }
}
/* Halaman Artikel: header & grid */
.artikel-page-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #e2e8f0;
}
.artikel-page-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--accent);
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.02em;
}
.artikel-page-desc {
    font-size: 1rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}
.content-with-sidebar .main-content .section-title-pipe {
    margin-bottom: 2rem;
}
.content-with-sidebar .main-content .section-title-pipe h3 {
    font-size: 1.75rem;
    letter-spacing: -0.02em;
}
.content-with-sidebar .main-content .grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.75rem;
}
.content-with-sidebar .main-content .card-title a:hover {
    color: var(--primary);
}
/* Pagination (paginate_links) */
.pagination-wrap {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.pagination-wrap .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.75rem;
    background: var(--bg-card);
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s;
}
.pagination-wrap .page-numbers:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}
.pagination-wrap .page-numbers.current {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}
.pagination-wrap .page-numbers.dots {
    border: none;
    background: transparent;
    cursor: default;
}
.pagination-wrap .page-numbers.dots:hover {
    background: transparent;
    color: inherit;
}
@media (max-width: 768px) {
    .content-with-sidebar {
        flex-direction: column;
    }
    .sidebar-left {
        width: 100%;
        position: static;
        order: -1;
    }
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.section-title::before {
    content: '';
    width: 6px;
    height: 24px;
    background: var(--primary);
    border-radius: 4px;
    display: block;
}
.section-title-pipe::before {
    display: none;
}
.section-title-pipe h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
}

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

.card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid #f1f5f9;
}

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

.card-img-wrapper {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
    background: #e2e8f0;
}

.card-img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.views-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.6);
    color: white;
    font-size: 0.7rem;
    padding: 4px 8px;
    border-radius: 4px;
    backdrop-filter: blur(4px);
}

.card-body {
    padding: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--text-main);
}

.card-price {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 1rem;
}

.card-price span {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-decoration: line-through;
    font-weight: 400;
}

.card-footer {
    margin-top: auto;
}

.btn-wa {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--wa-color);
    color: white;
    padding: 0.6rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    width: 100%;
    transition: background 0.2s;
}

.btn-wa:hover {
    background: #1ebc57;
}

/* --- ARTICLES SECTION --- */
.articles-section {
    max-width: 1200px;
    margin: 0 auto 3rem auto;
    padding: 0 1rem;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.article-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
}

.article-img {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.article-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.article-date {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    display: block;
}

.article-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.article-excerpt {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.btn-read-more {
    margin-top: auto;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-read-more:hover {
    text-decoration: underline;
}

/* --- FOOTER --- */
footer {
    background: var(--accent);
    color: white;
    padding: 3rem 1rem;
    margin-top: 4rem;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #fff;
    font-weight: 700;
}
.footer-col .footer-brand {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary) !important;
    letter-spacing: -0.5px;
}
.footer-col .footer-desc {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.6;
}
.footer-rss {
    color: #fff;
    border: 1px solid #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    display: inline-block;
}
.footer-rss:hover {
    color: var(--accent);
    background: #fff;
}

.footer-col ul li { margin-bottom: 0.8rem; }
.footer-col ul li a { color: #94a3b8; }
.footer-col ul li a:hover { color: white; padding-left: 5px; }

.footer-bottom {
    max-width: 1200px;
    margin: 3rem auto 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: #94a3b8;
    font-size: 0.9rem;
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (min-width: 768px) {
    .search-bar { display: flex; }
    .nav-links { display: flex; }
    .mobile-toggle { display: none; }
}

@media (max-width: 767px) {
    .nav-links.mobile-active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        padding: 1rem;
        box-shadow: var(--shadow-md);
        border-bottom: 1px solid #eee;
    }
    .nav-links.mobile-active .nav-menu {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }
    .nav-links.mobile-active .nav-menu .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border: none;
        border-left: 3px solid var(--primary);
        margin: 0.25rem 0 0.5rem 1rem;
        padding: 0.25rem 0;
        min-width: auto;
    }
    .scroll-arrow { display: none; }
    .category-wrapper { padding: 0 1rem; }
}

/* --- UTILS --- */
.text-center { text-align: center; }
.mb-2 { margin-bottom: 0.5rem; }

.icon { width: 18px; height: 18px; fill: currentColor; }

/* WordPress Specific Styles */
.wp-block-image {
    margin: 1rem 0;
}

.wp-block-quote {
    border-left: 4px solid var(--primary);
    padding-left: 1rem;
    margin: 1rem 0;
    font-style: italic;
}

.wp-block-code {
    background: #f1f5f9;
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
}
