/*
Theme Name: mzmlectro
Theme URI: https://mazmodev.com
Author: MazmoDev
Description: Tema super ringan tanpa framework berat. Fokus pada kecepatan dan SEO.
Version: 2.8 
Text Domain: mzmlectro
*/

/* --- 1. VARIABEL CSS (AUTOMOTIVE THEME) --- */
:root {
    /* Primary Colors - Automotive Red + Navy */
    --primary-red: #E31E24;
    /* Main red - CTAs, accents, hero */
    --primary-red-dark: #B71C1C;
    /* Darker red for hover */
    --navy-blue: #1E3A5F;
    /* Navy - hero, sections */
    --dark-navy: #0F1E33;
    /* Darker navy - footer */

    /* Supporting Colors */
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    /* Section backgrounds */
    --medium-gray: #E0E0E0;
    /* Borders */
    --text-dark: #2C3E50;
    /* Main text */
    --text-light: #6C757D;
    /* Secondary text */

    /* Layout */
    --container-width: 1200px;
    --radius: 8px;
    --radius-lg: 16px;

    /* Shadows */
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-2xl: 0 20px 40px rgba(0, 0, 0, 0.15);

    /* Transitions */
    --transition: all 0.3s ease;
    --transition-fast: all 0.2s ease;

    /* Backward Compatibility Aliases */
    --primary: #E31E24;
    --secondary: #1E3A5F;
    --accent: #E31E24;
    --text-main: #6C757D;
}

/* GLOBAL FIX */
*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* --- 2. RESET DASAR --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

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

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}



/* --- 3. UTILITAS LAYOUT --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

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

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-4 {
    gap: 1rem;
}

.flex-wrap {
    flex-wrap: wrap;
}

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

.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

/* Utilities khusus padding section */
.section-pad {
    padding: 80px 0;
}

.section-pad-lg {
    padding: 100px 0;
}

.bg-white {
    background: var(--white);
}

.bg-light-border {
    background: var(--bg-light);
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}


/* Visibility */
.desktop-only {
    display: none !important;
}

.mobile-only {
    display: block !important;
}

/* --- 4. SISTEM GRID --- */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: 1fr;
}

.grid-3 {
    grid-template-columns: 1fr;
}

.grid-4 {
    grid-template-columns: 1fr;
}

/* Mobile Grid Overrides (Force 1 column) */
@media (max-width: 767px) {

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr !important;
    }
}

.gap-large {
    gap: 4rem;
}

/* Utilitas gap besar */

/* --- 5. RESPONSIVE HELPERS (DESKTOP) --- */
@media (min-width: 768px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .desktop-only {
        display: inline-flex !important;
    }

    .mobile-only {
        display: none !important;
    }

    .md-flex {
        display: flex;
    }

    .md-w-half {
        width: 50%;
    }
}

/* =================================================================
   HEADER - NAVY BLUE (Transparent on Home)
   ================================================================= */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
    background: var(--navy-blue);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

/* Non-homepage needs padding-top for absolute header */
body:not(.home) {
    padding-top: 70px;
}

/* Fix admin bar collision */
body.admin-bar .site-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .site-header {
        top: 46px;
    }
}

/* Transparent header on homepage ONLY */
.site-header.header-transparent {
    background: transparent;
    border-bottom: none;
    box-shadow: none;
}

/* LOGO - NEW DESIGN */

/* Custom Logo Fix */
.logo .custom-logo-link {
    display: block;
    line-height: 0;
}

.logo .custom-logo {
    display: block;
    height: auto;
    max-height: 50px; /* Sesuaikan tinggi logo */
    width: auto;
    margin: 0; /* Pastikan tidak ada margin otomatis */
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-direction: column;
    align-items: flex-start;
}

.logo-box {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-text-top,
.logo-text-bottom {
    color: var(--white);
    font-weight: 900;
    font-size: 1.3rem;
    letter-spacing: 2px;
}

.tagline {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 3px;
    font-weight: 600;
    margin-top: -4px;
}

/* AUTH BUTTONS */
.auth-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-auth {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.btn-auth:hover {
    color: var(--primary-red);
}

.auth-divider {
    color: rgba(255, 255, 255, 0.4);
    font-size: 1rem;
}

/* Contact Us Button - Square Red */
.btn-contact {
    background: var(--primary-red);
    color: var(--white);
    padding: 12px 30px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 1.2px;
    transition: var(--transition);
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(227, 30, 36, 0.3);
    text-transform: uppercase;
}

.btn-contact:hover {
    background: var(--primary-red-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(227, 30, 36, 0.4);
}

/* --- 7. NAVIGATION MENU --- */
.btn-cta {
    background: linear-gradient(135deg, #0ea5e9, #1e40af, #0f172a);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    box-shadow: 0 4px 6px rgba(14, 165, 233, 0.2);
}

.btn-cta:hover {
    background: linear-gradient(135deg, #0284c7, #1e3a8a, #0f172a);
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(14, 165, 233, 0.3);
}

.mobile-menu-toggle {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--white);
    padding: 10px;
    z-index: 1001;
    position: relative;
}

/* Desktop Menu */
@media (min-width: 768px) {
    .mobile-menu-toggle {
        display: none;
    }

    .main-nav {
        display: block !important;
    }

    .main-nav>ul {
        display: flex;
        gap: 30px;
        align-items: center;
    }

    .main-nav a {
        font-weight: 600;
        font-size: 0.95rem;
        color: var(--white);
        /* White text for blue header */
        position: relative;
        padding: 10px 0;
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .main-nav a:hover {
        color: rgba(255, 255, 255, 0.8);
        /* White opacity onto hover */
    }

    .menu-item-has-children>a::after {
        content: "\f078";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        font-size: 0.7em;
        margin-top: 2px;
        transition: transform 0.3s;
    }

    .menu-item-has-children:hover>a::after {
        transform: rotate(180deg);
    }

    .main-nav li {
        position: relative;
    }

    .main-nav ul ul {
        visibility: hidden;
        opacity: 0;
        position: absolute;
        top: 100%;
        left: 0;
        background: white;
        box-shadow: var(--shadow-lg);
        min-width: 200px;
        border-radius: 8px;
        padding: 10px 0;
        border: 1px solid #f1f5f9;
        z-index: 100;
        transition: 0.2s;
        transform: translateY(10px);
    }

    .main-nav ul ul li a {
        padding: 10px 20px;
        display: block;
        white-space: nowrap;
    }

    .main-nav li:hover>ul {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hamburger Button */
.mobile-menu-toggle {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    position: relative;
    z-index: 1001;
}

/* Mobile Menu */
@media (max-width: 767px) {
    .main-nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--navy-blue);
        padding: 80px 20px 20px;
        z-index: 999;
        overflow-y: auto;
    }

    body.admin-bar .main-nav {
        padding-top: 110px;
    }

    .main-nav.active {
        display: flex;
        flex-direction: column;
        animation: slideDown 0.3s ease-out;
    }

    .main-nav>ul {
        flex-direction: column;
        padding: 0;
    }

    .main-nav li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
    }

    .main-nav a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 10px;
        font-weight: 600;
        color: var(--white);
    }

    .menu-item-has-children>a::after {
        content: "\f078";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        font-size: 0.8em;
        color: rgba(255, 255, 255, 0.5);
        transition: transform 0.3s;
    }

    .main-nav ul ul {
        display: none;
        background: transparent;
        padding: 5px 0 5px 0;
        margin-left: 20px;
        border-left: 2px solid rgba(255, 255, 255, 0.2);
    }

    .main-nav ul ul li {
        border-bottom: none;
    }

    .main-nav ul ul li a {
        padding: 10px 15px;
        font-size: 0.9rem;
        color: rgba(255, 255, 255, 0.8);
    }

    .main-nav ul ul li a:hover {
        color: var(--primary-red);
        padding-left: 20px;
    }

    .main-nav li.open>ul {
        display: block;
        animation: fadeIn 0.3s;
    }

    .main-nav li.open>a {
        color: var(--primary-red);
        background: rgba(255, 255, 255, 0.1);
    }

    .main-nav li.open>a::after {
        transform: rotate(180deg);
        color: var(--primary-red);
    }

    .mobile-cta-container {
        padding: 20px 10px;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
    }

    .btn-mobile-wa {
        width: 100%;
        justify-content: center;
        background: var(--primary-red);
        color: #ffffff !important;
    }

    .btn-mobile-wa:hover {
        background: var(--primary-red-dark);
    }

    .btn-mobile-wa:hover,
    .btn-mobile-wa i {
        color: #ffffff !important;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- 9. HERO SECTION (SPLIT + SLIDER) - BLUE THEME --- */
.hero {
    padding: 100px 0 120px;
    position: relative;
    overflow: hidden;
    /* Modern Blue Gradient Background */
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 25%, #3b82f6 50%, #60a5fa 100%);

    /* Add animated gradient overlay */
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

/* Animated gradient keyframe */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Decorative shapes */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) scale(1);
    }

    50% {
        transform: translateY(-20px) scale(1.05);
    }
}

/* Pattern overlay for texture */
.hero .container {
    position: relative;
    z-index: 2;
}

/* Kiri: Konten */
.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 10;
    color: white;
}

.hero h1 {
    font-size: 3.2rem;
    line-height: 1.1;
    font-weight: 900;
    margin-bottom: 25px;
    color: white;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.5px;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.95;
    margin-bottom: 40px;
    max-width: 540px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-badge-dot {
    color: #60a5fa;
}

.btn-primary {
    background: white;
    color: var(--primary);
    padding: 16px 35px;
    border-radius: 50px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
    border: 2px solid transparent;
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Kanan: Slider Swiper */
.hero-slider-container {
    padding-left: 20px;
    position: relative;
    height: 100%;
    z-index: 10;
}

.swiper.hero-swiper {
    width: 100%;
    height: 500px;
    border-radius: 24px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
}

.swiper-slide {
    background: #1e293b;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Swiper Controls Customization - Blue Theme */
.swiper-pagination {
    bottom: 20px !important;
}

.swiper-pagination-bullet {
    background: white;
    opacity: 0.5;
    width: 10px;
    height: 10px;
    transition: all 0.3s;
}

.swiper-pagination-bullet-active {
    background: white;
    opacity: 1;
    width: 30px;
    border-radius: 5px;
}

.swiper-button-next,
.swiper-button-prev {
    color: white;
    background: rgba(59, 130, 246, 0.9);
    backdrop-filter: blur(10px);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    transition: all 0.3s;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(37, 99, 235, 0.95);
    transform: scale(1.1);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
}

@media (min-width: 1024px) {
    .grid-hero {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 80px;
        align-items: center;
    }

    .hero h1 {
        font-size: 3.8rem;
    }
}

@media (max-width: 1023px) {
    .grid-hero {
        display: flex;
        flex-direction: column-reverse;
        gap: 40px;
    }

    .hero-slider-container {
        padding-left: 0;
        width: 100%;
    }

    .swiper.hero-swiper {
        height: 350px;
    }

    .hero {
        text-align: center;
        padding: 60px 0 80px;
    }

    .hero-content {
        align-items: center;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
        max-width: 100%;
    }
}

/* ---10. TRUST BAR (STATS) - BLUE THEME --- */
.trust-bar {
    background: linear-gradient(to right, #eff6ff, #f8fafc);
    border-bottom: 1px solid #e0f2fe;
    padding: 30px 0;
}

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

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

@media (max-width: 767px) {
    .trust-grid {
        grid-template-columns: 1fr;
    }
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1rem;
    padding: 12px 24px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.08);
    transition: all 0.3s;
}

.trust-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.trust-item i {
    color: var(--primary);
    font-size: 1.4rem;
}

/* Section Components */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.label {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    background: #dbeafe;
    padding: 6px 18px;
    border-radius: 20px;
    display: inline-block;
}

.section-title h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin: 15px 0 10px;
}

.card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    border: 1px solid #f1f5f9;
    /* REVISI: Shadow lebih ringan */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.icon-box {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: var(--primary);
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    margin-bottom: 20px;
    transition: all 0.3s;
}

.card:hover .icon-box {
    background: var(--primary);
    color: white;
    transform: rotate(5deg) scale(1.1);
}

/* --- 10. FOOTER --- */
.footer {
    background: white;
    padding: 60px 0 20px;
    border-top: 1px solid #f1f5f9;
    font-size: 0.9rem;
}

.footer h4 {
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 1rem;
}

.footer ul li {
    margin-bottom: 12px;
}

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

.copyright {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
    font-size: 0.8rem;
}

/* -----------------------------------------------------------
   --- 11. PAGE TEMPLATES STYLES ---
   ----------------------------------------------------------- */
.post-hero {
    background: var(--secondary);
    padding: 100px 0 120px;
    color: white;
    text-align: center;
    position: relative;
    background-image: url('data:image/svg+xml,%3Csvg width=\'40\' height=\'40\' viewBox=\'0 0 40 40\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Cpath d=\'M0 0h40v1H0z\' fill=\'%23ffffff\' fill-opacity=\'0.05\' fill-rule=\'evenodd\'/%3E%3Cpath d=\'M0 0h1v40H0z\' fill=\'%23ffffff\' fill-opacity=\'0.05\' fill-rule=\'evenodd\'/%3E%3C/svg%3E');
    background-size: 40px 40px;
}

.post-hero-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to top, #ffffff, transparent);
}

.post-hero-title {
    font-size: 2.5rem;
    line-height: 1.3;
    font-weight: 800;
    margin-bottom: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.post-meta {
    margin-bottom: 20px;
    font-size: 0.9rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.breadcrumb {
    display: flex;
    /* Ubah dari inline-flex ke flex agar kontrol wrap lebih baik */
    flex-wrap: wrap;
    /* Elemen akan turun ke bawah jika tidak muat (Mobile friendly) */
    align-items: center;
    justify-content: center;
    gap: 6px 12px;
    /* Jarak: Vertikal 6px, Horizontal 12px */
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    line-height: 1.4;
    /* Menjaga jarak antar baris saat wrap */
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
    transition: 0.3s;
}

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

.content-overlap {
    width: 100%;
    margin-top: -60px;
    position: relative;
    z-index: 10;
    margin-bottom: 80px;
}

.featured-image-container {
    border-radius: 16px 16px 0 0;
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    margin-bottom: 0;
    position: relative;
}

.entry-content-card {
    background: white;
    padding: 50px;
    border-radius: 0 0 16px 16px;
    box-shadow: var(--shadow-lg);
    border: 1px solid #e2e8f0;
    border-top: none;
}

.entry-content {
    color: var(--text-dark);
    font-size: 1.05rem;
    line-height: 1.8;
}

.entry-content h2,
.entry-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 700;
}

.entry-content h2 {
    font-size: 1.8rem;
}

.entry-content h3 {
    font-size: 1.5rem;
}

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

.entry-content ul,
.entry-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.entry-content ul {
    list-style: disc;
}

.entry-content blockquote {
    border-left: 4px solid var(--primary);
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
    background: #f8fafc;
    padding: 20px;
    border-radius: 0 8px 8px 0;
    color: var(--text-main);
}

.entry-content img {
    border-radius: 12px;
    height: auto;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

.post-tags {
    margin-top: 50px;
    border-top: 1px solid #f1f5f9;
    padding-top: 25px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.tag-link {
    background: #f1f5f9;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-dark);
    transition: 0.3s;
}

.tag-link:hover {
    background: #e0f2fe;
    color: #0ea5e9;
}

.related-posts {
    margin-top: 60px;
    padding-top: 40px;
    padding-bottom: 40px;
    border-top: 1px solid #e2e8f0;
}

.related-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 30px;
    position: relative;
    padding-left: 15px;
}

.related-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    bottom: 5px;
    width: 4px;
    background: var(--primary);
    border-radius: 4px;
}

.related-card {
    border: 1px solid #f1f5f9;
    transition: 0.3s;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.related-img {
    height: 160px;
    background: #e2e8f0;
    overflow: hidden;
    display: block;
}

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

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

.related-content {
    padding: 20px;
}

.related-date {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-bottom: 8px;
    display: block;
}

.related-content h4 {
    font-size: 1.1rem;
    line-height: 1.4;
    margin-bottom: 0;
    font-weight: 700;
}

.related-content h4 a {
    color: var(--text-dark);
}

.related-content h4 a:hover {
    color: var(--primary);
}

.nav-card {
    padding: 20px;
    display: block;
    text-decoration: none;
    height: 100%;
    background: white;
}

.nav-prev {
    border-left: 4px solid var(--primary);
}

.nav-next {
    border-right: 4px solid var(--primary);
    text-align: right;
}

.nav-label {
    font-size: 0.8rem;
    color: var(--text-main);
    display: block;
    margin-bottom: 5px;
}

.nav-title {
    margin: 0;
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 700;
}

.archive-header,
.page-header {
    background: var(--bg-light);
    padding: 80px 0;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.archive-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(#e2e8f0 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.5;
}

.archive-title-large {
    font-size: 3rem;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.2;
}

.page-content-card {
    width: 100%;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #f1f5f9;
}

.pagination {
    margin-top: 60px;
    text-align: center;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 10px 18px;
    margin: 0 5px;
    background: white;
    color: var(--text-dark);
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-weight: 600;
    transition: 0.3s;
}

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

/* -----------------------------------------------------------
   --- 12. CONTACT PAGE STYLES ---
   ----------------------------------------------------------- */
.page-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0;
}

.page-subtitle {
    color: var(--text-main);
    margin-top: 10px;
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-section {
    padding: 80px 20px;
}

.contact-grid {
    gap: 4rem;
    align-items: flex-start;
}

.contact-heading {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--text-dark);
    font-weight: 800;
    margin-top: 0;
}

.contact-desc {
    margin-bottom: 30px;
    color: var(--text-main);
}

.contact-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 25px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: var(--bg-light);
}

.contact-card-title {
    margin: 0 0 5px;
    font-size: 1.1rem;
    font-weight: 700;
}

.contact-card-text {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-main);
    line-height: 1.6;
}

.border-primary {
    border-left: 4px solid var(--primary);
}

.border-accent {
    border-left: 4px solid var(--accent);
}

.border-wa {
    border-left: 4px solid #25D366;
}

.color-primary {
    color: var(--primary);
}

.color-accent {
    color: var(--accent);
}

.color-wa {
    color: #25D366;
}

.mb-small {
    margin-bottom: 15px;
}

.btn-wa {
    background: #e7e7e7;
    padding: 10px 25px;
    font-size: 0.9rem;
    border: none;
    box-shadow: 0 4px 10px rgb(135 135 135 / 30%);
}

.btn-wa:hover {
    background: #adadad;
    transform: translateY(-2px);
}


.contact-form-card {
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.mb-medium {
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: inherit;
    background: var(--bg-light);
    outline: none;
    transition: 0.3s;
}

.form-input:focus {
    border-color: var(--primary);
    background: white;
}

.btn-submit {
    border: none;
    cursor: pointer;
    width: 100%;
    justify-content: center;
    font-size: 1rem;
}

.btn-submit i {
    margin-left: 8px;
}

.map-section {
    margin-top: 80px;
}

.map-container {
    height: 450px;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    border: 4px solid white;
}

/* -----------------------------------------------------------
   --- 14. HOMEPAGE MODULES (NEW CLEANUP) ---
   ----------------------------------------------------------- */

/* Services Card */
.service-desc {
    color: var(--text-main);
    font-size: 0.95rem;
}

/* Catalog Section */
.catalog-header {
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.catalog-title {
    font-size: 2rem;
    color: var(--text-dark);
    margin: 0;
}

.catalog-subtitle {
    color: var(--text-main);
    margin-top: 5px;
}

.catalog-link {
    color: var(--primary);
    font-weight: 700;
}

.catalog-card {
    padding: 20px;
    text-align: center;
}

.catalog-icon-box {
    background: #f1f5f9;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 15px;
}

.catalog-icon {
    font-size: 3rem;
    color: #cbd5e1;
}

.catalog-card-title {
    font-weight: 700;
    margin-bottom: 5px;
}

.stock-badge {
    font-size: 0.8rem;
    color: green;
    background: #dcfce7;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: bold;
}

/* About Section */
.about-img-wrap {
    position: relative;
}

.about-img {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: auto;
    display: block;
}

.blob-1 {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    background: var(--primary);
    z-index: -1;
    border-radius: 12px;
    opacity: 0.1;
}

.blob-2 {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: var(--accent);
    z-index: -1;
    border-radius: 12px;
    opacity: 0.1;
}

.about-title {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-top: 10px;
    margin-bottom: 20px;
}

.about-text {
    font-size: 1.05rem;
    color: var(--text-main);
    margin-bottom: 30px;
    line-height: 1.8;
}

.checklist-grid {
    gap: 15px;
    margin-bottom: 30px;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--text-dark);
    padding: 8px 0;
    transition: all 0.3s;
}

.check-item:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.check-icon {
    color: var(--primary);
    font-size: 1.2rem;
}

.btn-about {
    padding: 12px 30px;
}

.feature-card {
    padding: 30px 20px;
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
    height: 100%;
    /* Agar tinggi seragam */
}

.feature-card:hover {
    background: #fff;
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #eff6ff;
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.8rem;
    transition: 0.3s;
}

.feature-card:hover .feature-icon-box {
    background: var(--primary);
    color: #fff;
    transform: scale(1.1);
}

.feature-title {
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.feature-desc {
    font-size: 0.95rem;
    color: var(--text-main);
    line-height: 1.5;
}


/* Gallery Section */
.gallery-card {
    padding: 0;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.gallery-img-placeholder {
    height: 250px;
    background: #e2e8f0;
}

.gallery-content {
    padding: 20px;
    background: white;
}

.gallery-title {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.gallery-link-text {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
}

/* Blog Section */
.blog-header {
    margin-bottom: 40px;
}

.blog-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.blog-img-box {
    height: 200px;
    overflow: hidden;
}

.blog-img-placeholder {
    width: 100%;
    height: 100%;
    background: #e2e8f0;
}

.blog-content-box {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-bottom: 10px;
}

.blog-card-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-excerpt {
    font-size: 0.9rem;
    color: var(--text-main);
    margin-bottom: 20px;
    flex-grow: 1;
}

.blog-read-more {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
}

/* Location Section */
.location-card {
    margin-bottom: 20px;
    background: white;
    padding: 20px;
    border-radius: var(--radius);
    border: 1px solid #e2e8f0;
    box-shadow: var(--shadow);
}

.location-title {
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.location-text {
    display: flex;
    gap: 10px;
    color: var(--text-main);
}

.location-icon {
    color: var(--primary);
    margin-top: 5px;
}

.map-box {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 400px;
    border: 4px solid white;
}

/* CTA Section - Blue Theme */
.cta-section {
    background: var(--secondary);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -40%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-container {
    position: relative;
    z-index: 2;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 800;
}

.cta-text {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Article Grid Section (NEW) */
.article-section {
    background: var(--bg-light);
}

.article-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: 0.3s;
    border: 1px solid #e2e8f0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.article-thumb {
    height: 200px;
    width: 100%;
    object-fit: cover;
    background: #e2e8f0;
}

.article-body {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.article-date {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
    color: var(--text-dark);
}

.article-title a {
    color: inherit;
    text-decoration: none;
}

.article-title a:hover {
    color: var(--primary);
}

.article-excerpt {
    font-size: 0.95rem;
    color: var(--text-main);
    margin-bottom: 20px;
    flex-grow: 1;
}

.article-link {
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-btn {
    background: transparent;
    border: 2px solid #e2e8f0;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    transition: 0.3s;
    font-size: 0.95rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 4px 10px rgba(14, 165, 233, 0.3);
}

/* CONTAINER ITEM WRAPPER */
.gallery-item-wrap {
    transition: all 0.4s ease;
    /* Penting agar animasi filter smooth */
    animation: fadeIn 0.5s;
}

/* GALLERY CARD (FRAME IMAGE RAPI) */
.gallery-card {
    padding: 0;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-lg);
    border-radius: 12px;
    cursor: pointer;

    /* KUNCI FRAME RAPI: */
    width: 100%;
    aspect-ratio: 4 / 3;
    /* Memaksa rasio 4:3 (Landscape) agar seragam */
    background: #e2e8f0;
    /* Warna dasar jika loading */
}

/* GAMBAR THUMBNAIL */
.gallery-thumb {
    width: 100%;
    height: 100%;
    /* Mengisi penuh kartu */
    object-fit: cover;
    /* Crop otomatis agar tidak gepeng */
    object-position: center;
    transition: transform 0.5s ease;
    display: block;
}

.gallery-card:hover .gallery-thumb {
    transform: scale(1.1);
    /* Efek zoom saat hover */
}

/* OVERLAY ICON */
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    /* Hitam transparan */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-decoration: none;
    z-index: 2;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-icon-wrap {
    color: white;
    font-size: 3rem;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.gallery-card:hover .gallery-icon-wrap {
    transform: translateY(0);
}

/* PLACEHOLDER VIDEO */
.gallery-img-placeholder {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    color: #fff;
    font-size: 2rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.load-more-container {
    text-align: center;
    margin-top: 40px;
    width: 100%;
    grid-column: 1 / -1;
    /* Agar tombol melebar penuh di grid */
}

.btn-load-more {
    background: white;
    color: var(--text-main);
    border: 2px solid #e2e8f0;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-load-more:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.btn-load-more i {
    font-size: 0.8em;
    transition: transform 0.3s;
}

.btn-load-more.loading i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

/* Admin Modal (Backup CSS jika inline di functions.php kurang) */
.custom-admin-modal {
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.custom-admin-modal.show {
    opacity: 1;
    visibility: visible;
}

.gallery-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.4);
    /* Semi-transparent black */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    border: 2px solid rgba(255, 255, 255, 0.8);
    pointer-events: none;
    /* Klik tembus ke link di bawahnya */
    z-index: 1;
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
}

/* Hide default play button on hover (because the main overlay appears) */
.gallery-card:hover .gallery-play-btn {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.2);
}

/* Adjust Placeholder Icon */
.gallery-img-placeholder {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1e293b;
    color: #475569;
    font-size: 2rem;
}

@media (max-width: 767px) {

    #gallery-container,
    #portfolio-container {
        grid-template-columns: 1fr 1fr !important;
        gap: 10px;
    }

}


.post-image-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: #64748b;
    margin: 10px 0 25px;
}

.post-image-meta i {
    color: var(--accent);
    margin-right: 5px;
}

.meta-separator {
    opacity: 0.5;
}

/* SECTION COUNTER */
.mazmo-global-views {
    position: relative;
    background: #15275d;
    padding: 16px 18px 14px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 12px;
    color: #94a3b8;
    width: fit-content;
    overflow: visible;
    /* PENTING */
}

/* BADGE FLOATING */
.mazmo-global-views::after {
    content: "STAT";
    position: absolute;
    top: -8px;
    right: -8px;
    background: #020617;
    padding: 3px 7px;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #cbd5f5;
    border-radius: 999px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    z-index: 9;
}

/* SETIAP BARIS */
.mazmo-global-views .item {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    white-space: nowrap;
}

/* LABEL */
.mazmo-global-views .label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #9ca3af;
}

/* ANGKA */
.mazmo-global-views .value {
    font-size: 14px;
    font-weight: 600;
    color: #e5e7eb;
}

/* =================================================================
   MODERN FOOTER
   ================================================================= */
.footer-modern {
    background: var(--dark-navy);
    color: var(--white);
}

.footer-main {
    padding: 80px 0 40px;
}

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

/* Footer Logo */
.footer-logo .logo-box {
    margin-bottom: 10px;
}

.footer-logo .tagline {
    color: rgba(255, 255, 255, 0.7);
}

.footer-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin: 20px 0;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--primary-red);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 25px;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 12px;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-block;
}

.footer-menu a:hover {
    color: var(--primary-red);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.footer-contact i {
    color: var(--primary-red);
    margin-top: 3px;
    font-size: 1.1rem;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact a:hover {
    color: var(--primary-red);
}

/* Footer Bottom */
.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--primary-red);
}

.footer-bottom-links span {
    color: rgba(255, 255, 255, 0.3);
}

/* Responsive Footer */
@media (max-width: 968px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }
}

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

    .footer-bottom-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* POST VIEW */
.mazmo-post-views {
    font-size: 12px;
    color: #9ca3af;
}


@media (max-width: 767px) {
    .breadcrumb {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        font-size: 11px;
        color: rgba(255, 255, 255, 0.7);
        margin-bottom: 20px;
        text-transform: capitalize;

        letter-spacing: 0.1px;
        font-weight: 600;
    }
}

@media (max-width: 767px) {
    .post-meta {
        margin-bottom: 20px;
        font-size: 11px;
        opacity: 0.9;
        text-transform: uppercase;
        letter-spacing: 1px;
    }
}

@media (max-width: 767px) {
    .entry-content-card {
        background: white;
        padding: 20px;
        border-radius: 0 0 16px 16px;
        box-shadow: var(--shadow-lg);
        border: 1px solid #e2e8f0;
        border-top: none;
    }
}

/* --- 10. SINGLE POST REDESIGN + SIDEBAR --- */
.single-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 992px) {
    .single-layout {
        grid-template-columns: 2fr 1fr;
        /* 2/3 Content, 1/3 Sidebar */
    }
}

/* Sidebar Styling */
.sidebar-area {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: white;
    border-radius: var(--radius-lg);
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
    border: 1px solid #f1f5f9;
}

.widget-title {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light-gray);
    position: relative;
    color: var(--navy-blue);
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-red);
}

/* Recent Posts Widget */
.recent-post-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.recent-post-item:last-child {
    margin-bottom: 0;
}

.rp-thumb {
    width: 80px;
    height: 60px;
    flex-shrink: 0;
    border-radius: var(--radius);
    overflow: hidden;
    background: #eee;
}

.rp-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.rp-thumb:hover img {
    transform: scale(1.1);
}

.rp-content h4 {
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 5px;
    font-weight: 700;
}

.rp-content h4 a {
    color: var(--text-dark);
    transition: 0.2s;
}

.rp-content h4 a:hover {
    color: var(--primary-red);
}

.rp-date {
    font-size: 0.75rem;
    color: var(--text-light);
    display: block;
}

/* Gallery Widget */
.sidebar-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.sg-item {
    position: relative;
    aspect-ratio: 1/1;
    border-radius: var(--radius);
    overflow: hidden;
    display: block;
    background: #eee;
}

.sg-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.sg-item:hover img {
    transform: scale(1.1);
}

.sg-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 1.2rem;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    opacity: 0.8;
}

.btn-more-gallery {
    display: block;
    text-align: center;
    margin-top: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-red);
    text-decoration: none;
}

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

/* Adjustments for Single Content to fit grid */
.single-content-wrap .featured-image-container {
    margin-bottom: 30px;
}

/* REVISI USER: Font Size adjustments */
.breadcrumb {
    font-size: 0.8rem !important;
    /* Smaller breadcrumb */
}

.post-meta {
    font-size: 0.8rem !important;
    /* Smaller date & category info */
}

.post-meta span {
    font-size: inherit;
    /* Inherit smaller size */
}

/* --- 11. ARTICLE CARD STYLING (Ensure Mobile Compliance) --- */
.article-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: 0.3s;
    border: 1px solid #f1f5f9;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.article-thumb-wrap {
    position: relative;
    padding-top: 60%;
    /* Aspect Ratio 16:9 approx */
    overflow: hidden;
    background: #cbd5e1;
}

.article-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.article-card:hover .article-thumb {
    transform: scale(1.1);
}

.article-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.article-date {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-bottom: 10px;
    font-weight: 600;
}

.article-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.4;
}

.article-title a {
    color: var(--text-dark);
    transition: 0.2s;
    text-decoration: none;
}

.article-title a:hover {
    color: var(--primary);
}

.article-excerpt {
    font-size: 0.95rem;
    color: var(--text-main);
    margin-bottom: 20px;
    flex-grow: 1;
}

.article-link {
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.article-link:hover {
    gap: 10px;
}

/* Mobile Adjustments for Articles */
@media (max-width: 767px) {
    .article-body {
        padding: 20px;
    }

    .article-title {
        font-size: 1.1rem;
    }
}