:root {
    /* USER PROVIDED VARIABLES */
    --wp--preset--font-size--normal: 16px;
    --wp--preset--font-size--huge: 42px;
    --wp--preset--color--black: #000000;
    --wp--preset--color--cyan-bluish-gray: #abb8c3;
    --wp--preset--color--white: #ffffff;
    --wp--preset--color--pale-pink: #f78da7;
    --wp--preset--color--vivid-red: #cf2e2e;
    --wp--preset--color--luminous-vivid-orange: #ff6900;
    --wp--preset--color--luminous-vivid-amber: #fcb900;
    --wp--preset--color--light-green-cyan: #7bdcb5;
    --wp--preset--color--vivid-green-cyan: #00d084;
    --wp--preset--color--pale-cyan-blue: #8ed1fc;
    --wp--preset--color--vivid-cyan-blue: #0693e3;
    --wp--preset--color--vivid-purple: #9b51e0;
    --wp--preset--spacing--20: 0.44rem;
    --wp--preset--spacing--30: 0.67rem;
    --wp--preset--spacing--40: 1rem;
    --wp--preset--spacing--50: 1.5rem;
    --wp--preset--spacing--60: 2.25rem;
    --font-heading: 'Ubuntu', sans-serif;
}

body {
    font-family: 'Ubuntu', sans-serif !important;
    background: #fff;
    color: var(--wp--preset--color--black);
}

/* ============================
   GRID SYSTEM SHIM (Legacy Support)
   ============================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.nest {
    margin-left: -15px;
    margin-right: -15px;
}

.nest:after {
    content: "";
    display: table;
    clear: both;
}

[class*="grid-"] {
    float: left;
    padding: 0 15px;
    box-sizing: border-box;
}

.grid-12 {
    width: 100%;
}

.grid-9 {
    width: 75%;
}

.grid-6 {
    width: 50%;
}

.grid-4 {
    width: 33.333%;
}

.grid-3 {
    width: 25%;
}

@media (max-width: 768px) {
    .grid-m-6 {
        width: 50%;
    }

    [class*="grid-"] {
        width: 100%;
    }

    /* Collapse on mobile usually */
    .grid-4.grid-m-6 {
        width: 50%;
    }

    /* Override collapse if double class */
}

/* ============================
   COMPONENT STYLES (Based on Class Names)
   ============================ */

/* Breadcrumbs */
.breadcrumbs {
    font-size: 13px;
    margin-bottom: 10px;
    color: #666;
}

.breadcrumbs a {
    color: #444;
    text-decoration: none;
}

.icon-angle-right:before {
    content: "/";
    margin: 0 5px;
}

/* Titles */
h1 {
    font-size: 42px !important;
    /* Half of 84px */
    font-weight: 700;
    line-height: 1.1;
    color: var(--wp--preset--color--vivid-red);
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

h1 a {
    font-size: inherit !important;
    color: inherit;
    text-decoration: none;
}

.vtr-title {
    border-bottom: 2px solid var(--wp--preset--color--vivid-red);
    margin: 30px 0 20px 0;
}

.vtr-title h2,
.vtr-title h3,
.vtr-title h4 {
    display: inline-block;
    background: #fff;
    padding-right: 15px;
    margin: 0;
    color: var(--wp--preset--color--vivid-red);
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
}

/* Photo Area */
.photo {
    position: relative;
    border: 1px solid #ddd;
    padding: 10px;
    margin-bottom: 20px;
}

.photo img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Ribbon */
.ribbon {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 5;
    background: var(--wp--preset--color--vivid-red);
    color: #fff;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.ribbon.best {
    background: var(--wp--preset--color--luminous-vivid-orange);
}

.ribbon.promo {
    background: var(--wp--preset--color--vivid-cyan-blue);
}

/* Video */
.videowrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
}

.videowrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Table */
.vtr-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    border: 1px solid #ddd;
}

.vtr-table th {
    background: var(--wp--preset--color--vivid-red);
    color: #fff;
    padding: 10px;
    text-align: left;
}

.vtr-table td {
    border-bottom: 1px solid #eee;
    padding: 10px;
}

.vtr-table tr:nth-child(even) {
    background: #f9f9f9;
}

/* Description */
.post {
    line-height: 1.6;
    color: #333;
}

.post h3 {
    color: var(--wp--preset--color--vivid-red);
    margin-top: 20px;
}

/* VCard (Contact) */
.vcard {
    border: 0;
    padding: 0;
    overflow: hidden;
    box-sizing: border-box;
    width: 100%;
}

.vcard-photo {
    padding: 10px;
    box-sizing: border-box;
}

.vcard-photo img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: var(--wp--preset--shadow--natural);
}

.vcard-header {
    background: var(--wp--preset--color--vivid-red);
    color: var(--wp--preset--color--white);
    padding: 10px;
    font-weight: bold;
    margin-bottom: 15px;
    font-size: var(--wp--preset--font-size--medium);
}

.vcard-data {
    font-size: 15px;
    /* Base size requested */
}

.vcard-name {
    font-size: var(--wp--preset--font-size--large);
    font-weight: 700;
    color: var(--wp--preset--color--vivid-red);
    margin-bottom: 5px;
}

.vcard-contact {
    margin-top: 10px;
    font-weight: bold;
    font-size: 15px;
    background: #fdfdfd;
    border: 1px solid #e0e0e0;
    padding: 8px 12px;
    border-radius: 6px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--wp--preset--shadow--sharp);
    display: block;
}

.vcard-contact:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: var(--wp--preset--shadow--deep);
    border-color: var(--wp--preset--color--vivid-red);
}

.vcard-contact i {
    color: var(--wp--preset--color--vivid-red);
    /* Match theme accent */
    margin-right: 8px;
    font-size: 1.2em;
    vertical-align: middle;
}

.vcard-contact a {
    color: var(--wp--preset--color--black);
    text-decoration: none;
    vertical-align: middle;
}

.vcard-footer {
    border-top: 1px solid #eee;
    padding: 10px;
    margin-top: 10px;
    font-size: var(--wp--preset--font-size--small);
    text-align: center;
    background: var(--wp--preset--color--vivid-red);
    /* Merah Cerah */
    color: var(--wp--preset--color--white);
    width: 100%;
    float: left;
}

/* Share Buttons */
.share-buttons {
    margin-top: 20px;
    float: left;
    width: 100%;
    box-sizing: border-box;
    padding: 0 10px;
    text-align: center;
    /* Center align buttons in their container */
}

.share-buttons a {
    display: inline-block;
    padding: 10px 15px;
    color: var(--wp--preset--color--white);
    text-decoration: none;
    font-size: var(--wp--preset--font-size--small);
    margin-right: 5px;
    margin-bottom: 5px;
    border-radius: 3px;
    box-shadow: var(--wp--preset--shadow--sharp);
    transition: all 0.2s ease;
}

.share-buttons a:hover {
    transform: translateY(-2px);
    box-shadow: var(--wp--preset--shadow--deep);
}

.share-buttons .twitter {
    background: #1DA1F2;
}

.share-buttons .facebook {
    background: #3b5998;
}

.share-buttons .googleplus {
    background: #db4a39;
}

/* Thumbnails */
.thumbnail {
    border: 1px solid #ddd;
    margin-bottom: 20px;
    position: relative;
    /* For ribbon */
}

.thumbnail-gambar {
    background: #f5f5f5;
    text-align: center;
    padding: 10px;
}

.thumbnail-title {
    padding: 10px;
    text-align: center;
    border-top: 1px solid #eee;
}

.thumbnail-title h2 {
    font-size: 14px;
    margin: 0;
}

.thumbnail-title a {
    color: var(--wp--preset--color--vivid-red);
    text-decoration: none;
}

/* ============================
   GRID STABILIZATION (HOTFIX)
   Stabilizes .grid-4 layout to prevent float snagging
   ============================ */

/* Desktop: 3 Columns -> Clear every 4th item */
.grid-4:nth-child(3n+1) {
    clear: left;
}

/* Mobile: 2 Columns -> Clear every 3rd item & Reset Desktop Clear */
@media (max-width: 768px) {
    .grid-4 {
        clear: none;
    }

    .grid-4:nth-child(2n+1) {
        clear: left;
    }
}

/* ============================
   LIGHTSLIDER NAVIGATION OVERRIDES
   For Spesifik Car CPT
   ============================ */

/* FORCE VISIBILITY */
.lSSlideOuter .lSAction>a {
    opacity: 1 !important;
    background-image: none !important;
    background: #000000;
    width: 45px !important;
    height: 45px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    text-decoration: none !important;
    cursor: pointer;
    z-index: 9999 !important;
    /* Force on top */
}

/* Hover Effect */
.lSSlideOuter .lSAction>a:hover {
    background-color: #00BFFF !important;
    /* Cyan Loop */
}

/* ARROW ICONS (Pseudo-element) */
.lSSlideOuter .lSAction>a::before {
    content: '' !important;
    display: block !important;
    width: 12px !important;
    height: 12px !important;
    border-top: 3px solid #00BFFF !important;
    /* Cyan Arrow initially */
    border-right: 3px solid #00BFFF !important;
    transition: all 0.2s ease;
}

/* Swap Color on Hover */
.lSSlideOuter .lSAction>a:hover::before {
    border-color: #000000 !important;
    /* Black Arrow on hover */
}

/* LEFT ARROW ROTATION */
.lSSlideOuter .lSAction>.lSPrev::before {
    transform: rotate(-135deg) !important;
    margin-left: 5px;
    /* Visual Center correction */
}

/* RIGHT ARROW ROTATION */
.lSSlideOuter .lSAction>.lSNext::before {
    transform: rotate(45deg) !important;
    margin-right: 3px;
    /* Visual Center correction */
}

/* POSITIONING */
.lSSlideOuter .lSAction>.lSPrev {
    left: 10px !important;
}

.lSSlideOuter .lSAction>.lSNext {
    right: 10px !important;
}