/**
 * Makan Real Estate — Global Design System Stylesheet
 * Ultra-Luxury Portal Styling (Deep Navy #0F2742, Calm Gold #C9A45C, Warm Off-white #F8F7F4)
 * Applies to Header, Footer, Archives, Taxonomies, Developers, Blog, and Single Pages
 */

:root {
    /* ── Makan Canonical Design Tokens ── */
    --brand-primary: #0F2742;
    --brand-primary-dark: #0A1B2E;
    --brand-primary-light: #EBF0F6;
    --brand-accent: #C9A45C;
    --brand-accent-light: #F9F5EC;
    --brand-accent-dark: #A37F38;
    --brand-secondary: #E7E9EC;
    --brand-text: #1D2733;
    --brand-slate: #536273;
    --brand-dark: #1D2733;
    --brand-bg: #F8F7F4;
    --brand-container: #ffffff;
    --brand-line: #E7E9EC;
    --brand-radius-sm: 10px;
    --brand-radius-md: 16px;
    --brand-radius-lg: 24px;
    --brand-radius-xl: 32px;

    /* ── Compatibility Aliases (maps all components automatically) ── */
    --brand-plum: #0F2742;
    --brand-plum-dark: #0A1B2E;
    --brand-plum-light: #EBF0F6;
    --brand-gold: #C9A45C;
    --brand-gold-light: #F9F5EC;
}

body {
    font-family: 'Cairo', sans-serif !important;
    background-color: var(--brand-bg);
    color: var(--brand-dark);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.judod-container {
    width: min(1280px, calc(100% - 32px));
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

@media (max-width: 640px) {
    .judod-container {
        width: calc(100% - 24px);
    }
}

/* ══════════════════════════════════════════════════
   1. LUXURY GLASS HEADER & NAVIGATION MENU
   ══════════════════════════════════════════════════ */
.site-header,
#masthead {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 78px;
    background: #F8F7F4 !important;
    border-bottom: 1px solid var(--brand-line) !important;
    box-shadow: 0 4px 20px rgba(15, 39, 66, 0.05) !important;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

/* WordPress Admin Bar Compatibility */
body.admin-bar .site-header,
body.admin-bar #masthead {
    top: 32px !important;
}

@media screen and (max-width: 782px) {
    body.admin-bar .site-header,
    body.admin-bar #masthead {
        top: 46px !important;
    }
}

@media screen and (max-width: 600px) {
    #wpadminbar {
        position: fixed !important;
    }
}

body:not(.home) .site-main {
    margin-top: 85px !important;
    padding-bottom: 40px;
}

body.admin-bar:not(.home) .site-main {
    margin-top: 117px !important;
}

@media screen and (max-width: 782px) {
    body.admin-bar:not(.home) .site-main {
        margin-top: 131px !important;
    }
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
}

/* Logo Badge */
.judod-brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none !important;
}

.makan-brand-logo-img,
.makan-footer-logo {
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.judod-brand-logo:hover .makan-brand-logo-img,
a:hover > .makan-footer-logo {
    transform: translateY(-1px);
    opacity: 0.95;
}

.judod-brand-logo__badge {
    height: 52px;
    padding: 4px 12px;
    background: transparent;
    border: 1px solid rgba(15, 39, 66, 0.3);
    border-radius: var(--brand-radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: border-color 0.25s ease;
}

.judod-brand-logo:hover .judod-brand-logo__badge {
    border-color: var(--brand-plum);
}

.judod-brand-logo__badge-box {
    border: 1px solid var(--brand-plum);
    padding: 1px 8px;
    position: relative;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.judod-brand-logo__badge-ar {
    color: var(--brand-plum);
    font-size: 0.92rem;
    font-weight: 900;
    font-family: serif;
    line-height: 1;
    letter-spacing: 0.1em;
}

.judod-brand-logo__badge-diamond-1 {
    position: absolute;
    top: -6px;
    right: 2px;
    font-size: 7px;
    color: var(--brand-gold);
}

.judod-brand-logo__badge-diamond-2 {
    position: absolute;
    bottom: -6px;
    left: 3px;
    font-size: 6px;
    color: var(--brand-gold);
}

.judod-brand-logo__badge-en {
    font-size: 8px;
    font-weight: 900;
    color: var(--brand-plum-dark);
    letter-spacing: 0.2em;
    line-height: 1.1;
    margin-top: 2px;
}

.judod-brand-logo__badge-sub {
    font-size: 6px;
    font-weight: 800;
    color: var(--brand-gold);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    line-height: 1;
}

.judod-brand-logo__text {
    display: none;
}

@media (min-width: 640px) {
    .judod-brand-logo__text {
        display: block;
    }
}

.judod-brand-logo__title {
    display: block;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--brand-plum-dark);
    line-height: 1.2;
}

.judod-brand-logo__title span {
    color: var(--brand-gold);
    font-weight: 600;
}

.judod-brand-logo__sub {
    display: block;
    font-size: 8px;
    color: var(--brand-slate);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 700;
    margin-top: -2px;
}

/* Navigation Links */
.main-navigation {
    display: none;
}

@media (min-width: 1024px) {
    .main-navigation {
        display: block;
    }
}

.main-navigation ul,
.main-navigation .nav-menu {
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    color: var(--brand-slate);
    font-size: 0.82rem;
    font-weight: 800;
    text-decoration: none !important;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.main-navigation a:hover,
.main-navigation li.current-menu-item > a {
    color: var(--brand-plum) !important;
    background: var(--brand-plum-light);
}

/* Submenus (Dropdowns) */
.main-navigation ul ul {
    position: absolute;
    top: 100%;
    right: 0;
    background: #ffffff;
    border: 1px solid var(--brand-plum-light);
    border-radius: var(--brand-radius-md);
    box-shadow: 0 15px 40px -10px rgba(15, 39, 66, 0.15);
    padding: 8px;
    min-width: 200px;
    display: none;
    flex-direction: column;
    gap: 4px;
    z-index: 100;
}

.main-navigation li:hover > ul {
    display: flex;
}

.main-navigation ul ul a {
    padding: 8px 14px;
    font-size: 0.78rem;
    width: 100%;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.judod-header-phone {
    display: none;
    align-items: center;
    gap: 8px;
    text-decoration: none !important;
    color: var(--brand-plum-dark);
    font-size: 0.78rem;
    font-weight: 800;
    transition: color 0.2s ease;
}

@media (min-width: 640px) {
    .judod-header-phone {
        display: inline-flex;
    }
}

.judod-header-phone:hover {
    color: var(--brand-plum);
}

.judod-header-phone__icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--brand-plum-light);
    color: var(--brand-plum);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
}

.judod-header-vip-btn {
    background: var(--brand-plum);
    color: #ffffff !important;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 10px 18px;
    border-radius: var(--brand-radius-sm);
    border: none;
    cursor: pointer;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 8px 20px -4px rgba(15, 39, 66, 0.3);
    transition: all 0.3s ease;
    font-family: inherit;
}

.judod-header-vip-btn:hover {
    background: var(--brand-plum-dark);
    transform: translateY(-1px);
}

/* Mobile Toggle */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
}

@media (min-width: 1024px) {
    .mobile-menu-toggle {
        display: none;
    }
}

.mobile-menu-toggle span {
    width: 22px;
    height: 2px;
    background: var(--brand-plum-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mobile Drawer Menu */
.judod-mobile-drawer {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(20, 5, 15, 0.7);
    backdrop-filter: blur(8px);
    display: none;
    justify-content: flex-end;
}

.judod-mobile-drawer.is-open {
    display: flex;
}

.judod-mobile-drawer__panel {
    background: #ffffff;
    width: min(320px, 85vw);
    height: 100%;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-y: auto;
    animation: drawerSlide 0.3s ease;
}

@keyframes drawerSlide {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

@keyframes drawerSlideLtr {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

html[dir="ltr"] .judod-mobile-drawer__panel {
    animation-name: drawerSlideLtr;
}

.judod-mobile-drawer__close {
    align-self: flex-start;
    background: transparent;
    border: none;
    font-size: 1.3rem;
    color: var(--brand-slate);
    cursor: pointer;
}

.judod-mobile-drawer__nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.judod-mobile-drawer__nav a {
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--brand-dark);
    text-decoration: none !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.judod-mobile-drawer__nav a:hover {
    background: var(--brand-plum-light);
    color: var(--brand-plum);
}

/* ══════════════════════════════════════════════════
   2. ARCHIVE HERO & HEADER BANNERS
   ══════════════════════════════════════════════════ */
.judod-archive-hero {
    background: radial-gradient(circle at 50% 30%, #153354 0%, #0F2742 65%, #0A1B2E 100%);
    color: #ffffff;
    padding: 60px 0 50px;
    position: relative;
    overflow: hidden;
    margin-bottom: 36px;
}

.judod-archive-hero__bg {
    position: absolute;
    inset: 0;
    opacity: 0.15;
    background-size: cover;
    background-position: center;
}

.judod-archive-hero__content {
    position: relative;
    z-index: 10;
    text-align: right;
}

.judod-archive-hero__breadcrumbs {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--brand-gold-light);
    margin-bottom: 14px;
}

.judod-archive-hero__breadcrumbs a {
    color: #ffffff;
    text-decoration: none !important;
}

.judod-archive-hero__breadcrumbs a:hover {
    color: var(--brand-gold);
}

.judod-archive-hero__title-row {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

@media (min-width: 768px) {
    .judod-archive-hero__title-row {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
    }
}

.judod-archive-hero__title {
    font-size: clamp(1.5rem, 3vw, 2.4rem);
    font-weight: 900;
    color: #ffffff;
    margin: 0 0 6px;
}

.judod-archive-hero__desc {
    font-size: 0.85rem;
    color: var(--brand-gold-light);
    max-width: 680px;
    margin: 0;
    font-weight: 500;
    line-height: 1.7;
}

.judod-archive-hero__desc h2,
.judod-archive-hero__desc h3,
.judod-archive-hero__desc h4 {
    color: #ffffff !important;
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    margin: 12px 0 6px !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

.judod-archive-hero__desc a {
    color: var(--brand-gold) !important;
    text-decoration: underline !important;
}

/* Jump link from hero to editorial guide */
.judod-hero-jump-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(197, 160, 89, 0.35);
    color: #ffffff !important;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 800;
    text-decoration: none !important;
    transition: all 0.25s ease;
}

.judod-hero-jump-link:hover {
    background: var(--brand-plum);
    border-color: var(--brand-gold);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Taxonomy Full Editorial Guide Card */
.judod-taxonomy-guide {
    background: #ffffff;
    border: 1px solid var(--brand-plum-light);
    border-radius: var(--brand-radius-xl);
    padding: 36px 32px;
    box-shadow: 0 10px 30px -10px rgba(15, 39, 66, 0.05);
}

@media (max-width: 640px) {
    .judod-taxonomy-guide {
        padding: 24px 18px;
    }
}

.judod-archive-hero__stats {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.judod-stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(197, 160, 89, 0.3);
    color: #ffffff;
    font-size: 0.74rem;
    font-weight: 800;
    backdrop-filter: blur(8px);
}

.judod-stat-pill i {
    color: var(--brand-gold);
}

/* ══════════════════════════════════════════════════
   3. STICKY FILTER TOOLBAR
   ══════════════════════════════════════════════════ */
.judod-filter-bar {
    background: #ffffff;
    border: 1px solid var(--brand-plum-light);
    border-radius: var(--brand-radius-lg);
    padding: 16px 20px;
    box-shadow: 0 10px 30px -10px rgba(15, 39, 66, 0.06);
    margin-bottom: 32px;
}

.judod-filter-bar__form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: center;
}

@media (min-width: 640px) {
    .judod-filter-bar__form {
        grid-template-columns: 4fr 3fr 3fr 2fr;
    }
}

.judod-filter-input,
.judod-filter-select {
    width: 100%;
    padding: 10px 14px;
    background: var(--brand-bg);
    border: 1px solid var(--brand-plum-light);
    border-radius: var(--brand-radius-sm);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--brand-dark);
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.judod-filter-input:focus,
.judod-filter-select:focus {
    border-color: var(--brand-plum);
    background: #ffffff;
}

.judod-filter-btn {
    width: 100%;
    padding: 11px 16px;
    background: var(--brand-plum);
    color: #ffffff;
    border: none;
    border-radius: var(--brand-radius-sm);
    font-size: 0.82rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: inherit;
    transition: background 0.2s ease;
}

.judod-filter-btn:hover {
    background: var(--brand-plum-dark);
}

/* ══════════════════════════════════════════════════
   4. LUXURY PROJECT CARDS GRID
   ══════════════════════════════════════════════════ */
.judod-projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .judod-projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .judod-projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.judod-card-project {
    background: #ffffff;
    border: 1px solid var(--brand-plum-light);
    border-radius: var(--brand-radius-xl);
    overflow: hidden;
    box-shadow: 0 10px 30px -10px rgba(15, 39, 66, 0.06);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.judod-card-project:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 50px -12px rgba(15, 39, 66, 0.16);
    border-color: var(--brand-plum);
}

.judod-card-project__thumb {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.judod-card-project__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.judod-card-project:hover .judod-card-project__thumb img {
    transform: scale(1.06);
}

.judod-card-project__badge-top {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--brand-plum);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: var(--brand-radius-sm);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.judod-card-project__badge-dev {
    position: absolute;
    bottom: 14px;
    left: 14px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    color: var(--brand-plum-dark);
    font-size: 0.72rem;
    font-weight: 900;
    padding: 4px 12px;
    border-radius: var(--brand-radius-sm);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.judod-card-project__body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.judod-card-project__location {
    font-size: 0.74rem;
    color: var(--brand-gold);
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 6px;
}

.judod-card-project__title {
    font-size: 1.05rem;
    font-weight: 900;
    color: var(--brand-dark);
    margin: 0;
    line-height: 1.35;
}

.judod-card-project__title a {
    color: inherit;
    text-decoration: none !important;
}

.judod-card-project__desc {
    font-size: 0.78rem;
    color: var(--brand-slate);
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-weight: 500;
}

.judod-card-project__specs-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 12px 0;
    border-top: 1px solid var(--brand-plum-light);
    border-bottom: 1px solid var(--brand-plum-light);
    text-align: center;
    margin-top: auto;
}

.judod-card-project__spec-lbl {
    display: block;
    font-size: 0.68rem;
    color: var(--brand-slate);
    font-weight: 700;
    margin-bottom: 2px;
}

.judod-card-project__spec-val {
    display: block;
    font-size: 0.85rem;
    color: var(--brand-plum-dark);
    font-weight: 900;
}

.judod-card-project__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 4px;
}

.judod-card-project__btn-details {
    flex: 1;
    background: var(--brand-plum);
    color: #ffffff !important;
    text-align: center;
    padding: 10px;
    border-radius: var(--brand-radius-sm);
    font-size: 0.8rem;
    font-weight: 800;
    text-decoration: none !important;
    transition: background 0.25s ease;
}

.judod-card-project__btn-details:hover {
    background: var(--brand-plum-dark);
}

.judod-card-project__btn-wa {
    background: #ecfdf5;
    color: #059669 !important;
    border: 1px solid #a7f3d0;
    padding: 10px 14px;
    border-radius: var(--brand-radius-sm);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.judod-card-project__btn-wa:hover {
    background: #10b981;
    color: #ffffff !important;
}

/* ══════════════════════════════════════════════════
   5. DEVELOPERS DIRECTORY & CARDS
   ══════════════════════════════════════════ */
.judod-devs-directory-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

@media (min-width: 640px) {
    .judod-devs-directory-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .judod-devs-directory-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.judod-dev-dir-card {
    background: #ffffff;
    border: 1px solid var(--brand-plum-light);
    border-radius: var(--brand-radius-xl);
    padding: 24px;
    text-align: center;
    box-shadow: 0 10px 30px -10px rgba(15, 39, 66, 0.05);
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none !important;
}

.judod-dev-dir-card:hover {
    border-color: var(--brand-plum);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(15, 39, 66, 0.14);
}

.judod-dev-dir-card__logo {
    width: 72px;
    height: 72px;
    border-radius: var(--brand-radius-md);
    background: var(--brand-plum-light);
    color: var(--brand-plum);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 900;
    margin-bottom: 14px;
    overflow: hidden;
}

.judod-dev-dir-card__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.judod-dev-dir-card__name {
    font-size: 1rem;
    font-weight: 800;
    color: var(--brand-dark);
    margin: 0 0 6px;
}

.judod-dev-dir-card__count {
    display: inline-block;
    background: var(--brand-plum-light);
    color: var(--brand-plum-dark);
    font-size: 0.74rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 100px;
    margin-bottom: 14px;
}

.judod-dev-dir-card__btn {
    width: 100%;
    background: var(--brand-plum);
    color: #ffffff !important;
    padding: 9px;
    border-radius: var(--brand-radius-sm);
    font-size: 0.78rem;
    font-weight: 800;
    margin-top: auto;
    transition: background 0.2s ease;
}

.judod-dev-dir-card:hover .judod-dev-dir-card__btn {
    background: var(--brand-plum-dark);
}

/* ══════════════════════════════════════════════════
   6. BLOG CARDS & ARTICLES GRID
   ══════════════════════════════════════════ */
.judod-blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .judod-blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.judod-article-card {
    background: #ffffff;
    border: 1px solid var(--brand-plum-light);
    border-radius: var(--brand-radius-xl);
    overflow: hidden;
    box-shadow: 0 10px 30px -10px rgba(15, 39, 66, 0.05);
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.judod-article-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -10px rgba(15, 39, 66, 0.14);
    border-color: var(--brand-plum);
}

.judod-article-card__thumb {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.judod-article-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.judod-article-card:hover .judod-article-card__thumb img {
    transform: scale(1.06);
}

.judod-article-card__cat {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--brand-plum);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 100px;
}

.judod-article-card__body {
    padding: 22px;
    text-align: right;
}

.judod-article-card__meta {
    font-size: 0.72rem;
    color: var(--brand-slate);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.judod-article-card__title {
    font-size: 0.98rem;
    font-weight: 800;
    color: var(--brand-plum-dark);
    margin: 0 0 10px;
    line-height: 1.45;
}

.judod-article-card__title a {
    color: inherit;
    text-decoration: none !important;
}

.judod-article-card__excerpt {
    font-size: 0.78rem;
    color: var(--brand-slate);
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.judod-article-card__foot {
    padding: 0 22px 22px;
    text-align: right;
}

.judod-article-card__link {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--brand-plum);
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: transform 0.2s ease;
}

.judod-article-card__link:hover {
    transform: translateX(-4px);
    color: var(--brand-plum-dark);
}

/* ══════════════════════════════════════════════════
   7. PAGINATION
   ══════════════════════════════════════════ */
.judod-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
}

.judod-pagination .page-numbers,
.judod-pagination a,
.judod-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--brand-radius-sm);
    background: #ffffff;
    border: 1px solid var(--brand-plum-light);
    color: var(--brand-plum-dark);
    font-size: 0.85rem;
    font-weight: 800;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.judod-pagination .current,
.judod-pagination a:hover {
    background: var(--brand-plum) !important;
    color: #ffffff !important;
    border-color: var(--brand-plum) !important;
}

/* ══════════════════════════════════════════════════
   8. LUXURY FOOTER
   ══════════════════════════════════════════ */
.site-footer,
#colophon {
    background: var(--brand-bg);
    border-top: 1px solid var(--brand-plum-light);
    padding: 60px 0 30px;
    color: var(--brand-slate);
}

.judod-footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
    margin-bottom: 40px;
    text-align: right;
}

@media (min-width: 640px) {
    .judod-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .judod-footer-grid {
        grid-template-columns: 4fr 3fr 3fr 3fr;
    }
}

.judod-footer-col h4 {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--brand-plum-dark);
    margin: 0 0 16px;
    position: relative;
}

.judod-footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.judod-footer-col a {
    color: var(--brand-slate);
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.judod-footer-col a:hover {
    color: var(--brand-plum);
}

.judod-footer-bottom {
    border-top: 1px solid var(--brand-plum-light);
    padding-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--brand-slate);
}

@media (min-width: 640px) {
    .judod-footer-bottom {
        flex-direction: row;
    }
}

/* ══════════════════════════════════════════════════
   9. UNIVERSAL 70/30 GRID & CARD ARCHITECTURE
   ══════════════════════════════════════════════════ */
.judod-main-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: flex-start;
}

@media (min-width: 1024px) {
    .judod-main-grid {
        grid-template-columns: minmax(0, 1fr) 360px;
    }
}

.judod-content-col {
    display: flex;
    flex-direction: column;
    gap: 32px;
    min-width: 0;
    width: 100%;
}

.judod-sidebar-col {
    min-width: 0;
    width: 100%;
}

/* Shared Luxury Card */
.judod-card {
    background: #ffffff;
    border: 1px solid var(--brand-plum-light);
    border-radius: var(--brand-radius-xl);
    padding: 20px 16px;
    box-shadow: 0 10px 30px -10px rgba(15, 39, 66, 0.05);
}

@media (min-width: 640px) {
    .judod-card {
        padding: 32px;
    }
}

@media (max-width: 768px) {
    .judod-card {
        padding: 20px 16px;
        border-radius: 20px;
    }
}

.judod-card__title {
    font-size: clamp(1.15rem, 1.8vw, 1.55rem);
    font-weight: 900;
    color: var(--brand-plum-dark);
    margin: 0 0 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.judod-card__title-bar {
    width: 6px;
    height: 24px;
    background: var(--brand-plum);
    border-radius: 4px;
    flex-shrink: 0;
}

/* ── Universal Breadcrumbs ── */
.judod-breadcrumbs {
    margin-bottom: 24px;
}

.judod-breadcrumbs ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 700;
}

.judod-breadcrumbs li a {
    color: var(--brand-slate);
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
}

.judod-breadcrumbs li a:hover {
    color: var(--brand-plum);
}

.judod-breadcrumbs .sep {
    color: var(--brand-slate);
    opacity: 0.4;
    font-size: 0.65rem;
}

.judod-breadcrumbs .current {
    color: var(--brand-plum-dark);
}

/* ── Universal Badges ── */
.judod-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 100px;
    font-size: 0.76rem;
    font-weight: 800;
}

.judod-badge--rec {
    background: var(--brand-plum);
    color: #ffffff !important;
}

.judod-badge--sold {
    background: rgba(16, 185, 129, 0.12);
    color: #047857 !important;
}

.judod-badge--info {
    background: rgba(245, 158, 11, 0.12);
    color: #b45309 !important;
}

.judod-header__title {
    font-size: clamp(1.4rem, 2.8vw, 2.2rem);
    font-weight: 900;
    color: var(--brand-dark);
    line-height: 1.35;
    margin: 0 0 12px;
}

/* ══════════════════════════════════════════════════
   10. SMART AUTO TABLE OF CONTENTS (AUTO TOC)
   ══════════════════════════════════════════════════ */
.project-toc {
    --toc-theme-accent: var(--toc-accent, var(--brand-primary, #0F2742));
    --toc-theme-bg: var(--toc-bg, #ffffff);
    background: linear-gradient(135deg, var(--brand-primary-light) 0%, var(--toc-theme-bg) 60%, var(--brand-accent-light) 100%);
    border: 1px solid var(--brand-line);
    border-radius: var(--brand-radius-lg);
    padding: 20px 24px;
    margin-bottom: 32px;
    box-shadow: 0 8px 24px -6px rgba(15, 39, 66, 0.06);
    transition: all 0.3s ease;
}

/* ── Layout Variations ── */
.project-toc--style-luxury_box {
    background: linear-gradient(135deg, var(--brand-plum-light, #f6ecf3) 0%, var(--toc-theme-bg) 60%, var(--brand-gold-light, #faf5eb) 100%);
    border: 1px solid var(--brand-plum-light, #f6ecf3);
    border-radius: var(--brand-radius-lg, 16px);
    box-shadow: 0 8px 24px -6px rgba(15, 39, 66, 0.06);
}

.project-toc--style-card_minimal {
    background: var(--toc-theme-bg) !important;
    border: 1px solid var(--brand-border, #e2e8f0);
    border-inline-start: 4px solid var(--toc-theme-accent) !important;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}

.project-toc--style-modern_tint {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: none;
}

.project-toc__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
}

.project-toc__title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.98rem;
    font-weight: 800;
    color: var(--brand-plum-dark);
    margin: 0;
}

.project-toc__title i {
    color: var(--toc-theme-accent);
    font-size: 1rem;
}

.project-toc__toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: #ffffff;
    border: 1px solid var(--brand-plum-light);
    border-radius: 8px;
    font-size: 0.76rem;
    font-weight: 800;
    color: var(--brand-plum-dark);
    cursor: pointer;
    transition: all 0.2s ease;
}

.project-toc__toggle:hover {
    background: var(--toc-theme-accent);
    border-color: var(--toc-theme-accent);
    color: #ffffff;
}

.project-toc__toggle i {
    transition: transform 0.3s ease;
}

.project-toc.is-collapsed .project-toc__toggle i {
    transform: rotate(180deg);
}

.project-toc__list-wrap {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(15, 39, 66, 0.1);
    overflow: hidden;
}

.project-toc.is-collapsed .project-toc__list-wrap {
    display: none;
}

.project-toc__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.project-toc__item {
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1.5;
}

.project-toc__item a {
    color: var(--brand-dark);
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.project-toc__item a:hover {
    color: var(--toc-theme-accent);
    transform: translateX(-4px);
}

html[dir="ltr"] .project-toc__item a:hover {
    transform: translateX(4px);
}

.project-toc__item a::before {
    content: "◆";
    color: var(--brand-gold);
    font-size: 0.65rem;
}

.project-toc__item--h3 {
    margin-inline-start: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.project-toc__item--h3 a {
    color: var(--brand-slate);
}

.project-toc__item--h3 a::before {
    content: "▫";
    color: var(--toc-theme-accent);
}

.project-toc__item--h4 {
    margin-inline-start: 36px;
    font-size: 0.76rem;
    font-weight: 500;
}

.project-toc__item--h4 a {
    color: #64748b;
}

.project-toc__item--h4 a::before {
    content: "·";
    font-size: 1rem;
    color: #94a3b8;
}

/* ── Numbered List Variation ── */
.project-toc--list-numbers .project-toc__item a::before {
    display: none !important;
}

.project-toc__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 20px;
    padding: 0 5px;
    background: rgba(15, 39, 66, 0.08);
    color: var(--toc-theme-accent);
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 800;
    font-family: inherit;
    flex-shrink: 0;
}

.project-toc__item--h3 .project-toc__num {
    background: transparent;
    color: var(--brand-slate);
    font-size: 0.68rem;
}

/* ── Glowing Dots List Variation ── */
.project-toc--list-dots .project-toc__item a::before {
    content: "" !important;
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--toc-theme-accent);
    flex-shrink: 0;
    box-shadow: 0 0 6px rgba(15, 39, 66, 0.35);
}

.project-toc--list-dots .project-toc__item--h3 a::before {
    width: 5px;
    height: 5px;
    background: var(--brand-gold, #c19b4a);
    box-shadow: none;
}

/* ── Dashes List Variation ── */
.project-toc--list-lines .project-toc__item a::before {
    content: "—" !important;
    color: var(--toc-theme-accent);
    font-weight: 800;
}

.project-toc--list-lines .project-toc__item--h3 a::before {
    content: "–" !important;
    color: var(--brand-slate);
}

/* ══════════════════════════════════════════════════
   11. EDITORIAL PROSE TYPOGRAPHY (.judod-prose)
   ══════════════════════════════════════════════════ */
.judod-prose,
.project-prose {
    color: var(--brand-slate);
    font-size: 0.95rem;
    line-height: 1.95;
    font-weight: 500;
    text-align: justify;
}

/* Cleanly hide clashing third-party LuckyWP TOC */
.judod-prose .lwptoc,
.project-prose .lwptoc {
    display: none !important;
}

.judod-prose p,
.project-prose p {
    margin-top: 0;
    margin-bottom: 20px;
}

.judod-prose strong,
.project-prose strong {
    color: var(--brand-dark);
    font-weight: 800;
}

.judod-prose h2,
.project-prose h2 {
    font-size: clamp(1.15rem, 1.8vw, 1.45rem);
    font-weight: 900;
    color: var(--brand-plum-dark);
    margin-top: 40px;
    margin-bottom: 18px;
    padding: 10px 16px;
    background: var(--brand-plum-light);
    border-radius: var(--brand-radius-md);
    border-inline-start: 6px solid var(--brand-plum);
    display: flex;
    align-items: center;
    line-height: 1.35;
    scroll-margin-top: 110px;
}

.judod-prose h3,
.project-prose h3 {
    font-size: clamp(1.02rem, 1.4vw, 1.22rem);
    font-weight: 800;
    color: var(--brand-dark);
    margin-top: 30px;
    margin-bottom: 14px;
    padding-inline-start: 12px;
    border-inline-start: 4px solid var(--brand-gold);
    line-height: 1.4;
    scroll-margin-top: 110px;
}

.judod-prose h4,
.project-prose h4 {
    font-size: 0.96rem;
    font-weight: 800;
    color: var(--brand-plum-dark);
    margin-top: 24px;
    margin-bottom: 10px;
}

/* Natural Content Lists (Standard Bullet & Numbered Lists) */
.judod-prose ul:not(.lwptoc_items):not(#project-toc-list),
.project-prose ul:not(.lwptoc_items):not(#project-toc-list) {
    margin: 16px 0 24px;
    padding: 0;
    padding-inline-start: 26px;
    list-style: disc outside;
    display: block;
}

.judod-prose ul:not(.lwptoc_items):not(#project-toc-list) > li,
.project-prose ul:not(.lwptoc_items):not(#project-toc-list) > li {
    display: list-item;
    position: static;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 0 10px 0 !important;
    font-size: 1.02rem;
    line-height: 1.85;
    color: var(--brand-dark, #1D2733);
    box-shadow: none !important;
    transform: none !important;
    transition: none !important;
}

.judod-prose ul:not(.lwptoc_items):not(#project-toc-list) > li::before,
.project-prose ul:not(.lwptoc_items):not(#project-toc-list) > li::before {
    display: none !important;
    content: none !important;
}

.judod-prose ul:not(.lwptoc_items):not(#project-toc-list) > li:hover,
.project-prose ul:not(.lwptoc_items):not(#project-toc-list) > li:hover {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    transform: none !important;
}

/* Natural Ordered Lists */
.judod-prose ol:not(.lwptoc_items):not(#project-toc-list),
.project-prose ol:not(.lwptoc_items):not(#project-toc-list) {
    margin: 16px 0 24px;
    padding: 0;
    padding-inline-start: 26px;
    list-style: decimal outside;
    display: block;
}

.judod-prose ol:not(.lwptoc_items):not(#project-toc-list) > li,
.project-prose ol:not(.lwptoc_items):not(#project-toc-list) > li {
    display: list-item;
    position: static;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 0 10px 0 !important;
    font-size: 1.02rem;
    line-height: 1.85;
    color: var(--brand-dark, #1D2733);
    box-shadow: none !important;
    transform: none !important;
    transition: none !important;
}

.judod-prose ol:not(.lwptoc_items):not(#project-toc-list) > li::before,
.project-prose ol:not(.lwptoc_items):not(#project-toc-list) > li::before {
    display: none !important;
    content: none !important;
}

.judod-prose ol:not(.lwptoc_items):not(#project-toc-list) > li:hover,
.project-prose ol:not(.lwptoc_items):not(#project-toc-list) > li:hover {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    transform: none !important;
}

/* Nested lists */
.judod-prose ul ul,
.judod-prose ol ol,
.judod-prose ul ol,
.judod-prose ol ul,
.project-prose ul ul,
.project-prose ol ol {
    margin: 6px 0 8px;
    padding-inline-start: 22px;
    list-style-type: circle;
}

.judod-prose ol ol,
.project-prose ol ol {
    list-style-type: lower-latin;
}

.judod-prose ul ul > li,
.project-prose ul ul > li,
.judod-prose ol ol > li,
.project-prose ol ol > li {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin-bottom: 6px !important;
    font-size: 0.98rem;
}

.judod-prose table,
.project-prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    border-radius: var(--brand-radius-md);
    overflow: hidden;
    border: 1px solid var(--brand-plum-light);
    font-size: 0.86rem;
}

.judod-prose table th,
.project-prose table th {
    background: var(--brand-plum-light);
    color: var(--brand-plum-dark);
    padding: 14px 16px;
    font-weight: 800;
    text-align: right;
    border-bottom: 1px solid var(--brand-plum-light);
}

html[dir="ltr"] .judod-prose table th,
html[dir="ltr"] .project-prose table th {
    text-align: left;
}

.judod-prose table td,
.project-prose table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--brand-plum-light);
    color: var(--brand-dark);
    font-weight: 600;
}

.judod-prose table tr:hover td,
.project-prose table tr:hover td {
    background: rgba(246, 236, 243, 0.4);
}

.judod-prose blockquote,
.project-prose blockquote {
    margin: 24px 0;
    padding: 18px 24px;
    background: linear-gradient(135deg, var(--brand-plum-light) 0%, #ffffff 100%);
    border-inline-start: 5px solid var(--brand-plum);
    border-radius: var(--brand-radius-md);
    font-style: italic;
    color: var(--brand-plum-dark);
    font-weight: 700;
}

.judod-prose img,
.project-prose img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: var(--brand-radius-lg);
    box-shadow: 0 8px 24px rgba(15, 39, 66, 0.08);
    margin: 20px auto;
    display: block;
}

/* ══════════════════════════════════════════════════
   12. UNIVERSAL SIDEBAR & LEAD CAPTURE
   ══════════════════════════════════════════════════ */
.judod-sidebar {
    position: sticky;
    top: 100px;
}

.judod-sidebar-card {
    background: #ffffff;
    border: 1px solid var(--brand-plum-light);
    border-radius: var(--brand-radius-xl);
    padding: 24px;
    box-shadow: 0 20px 40px -10px rgba(15, 39, 66, 0.08);
}

.judod-sidebar-broker {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--brand-plum-light);
    margin-bottom: 20px;
}

.judod-sidebar-broker__logo {
    width: 42px;
    height: 42px;
    border-radius: var(--brand-radius-md);
    background: var(--brand-plum);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: serif;
    font-weight: 800;
    font-size: 0.88rem;
}

.judod-sidebar-broker__text span {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--brand-slate);
}

.judod-sidebar-broker__text strong {
    display: block;
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--brand-plum-dark);
}

.judod-sidebar__cta-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--brand-plum-dark);
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.judod-ping-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand-plum);
    display: inline-block;
    animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
    75%, 100% { transform: scale(2); opacity: 0; }
}

.judod-form-group {
    margin-bottom: 14px;
}

.judod-form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--brand-dark);
    margin-bottom: 4px;
}

.judod-form-input {
    width: 100%;
    padding: 10px 14px;
    background: var(--brand-bg);
    border: 1px solid var(--brand-plum-light);
    border-radius: var(--brand-radius-sm);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--brand-dark);
    outline: none;
    font-family: inherit;
    transition: border-color 0.25s ease, background 0.25s ease;
    box-sizing: border-box;
}

.judod-form-input:focus {
    border-color: var(--brand-plum);
    background: #ffffff;
}

.judod-form-submit {
    width: 100%;
    padding: 12px;
    background: var(--brand-plum);
    color: #ffffff;
    border: none;
    border-radius: var(--brand-radius-sm);
    font-size: 0.85rem;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.25s ease;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.judod-form-submit:hover {
    background: var(--brand-plum-dark);
}

.judod-sidebar-actions {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--brand-plum-light);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.judod-sidebar-btn {
    width: 100%;
    padding: 10px;
    border-radius: var(--brand-radius-sm);
    font-size: 0.8rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none !important;
    transition: all 0.25s ease;
    box-sizing: border-box;
}

.judod-sidebar-btn--wa {
    background: #10b981;
    color: #ffffff !important;
}

.judod-sidebar-btn--wa:hover {
    background: #059669;
}

.judod-sidebar-btn--call {
    background: var(--brand-plum-light);
    color: var(--brand-plum-dark) !important;
}

.judod-sidebar-btn--call:hover {
    background: var(--brand-plum);
    color: #ffffff !important;
}

/* ══════════════════════════════════════════════════
   13. BOTTOM CTA BANNER & MOBILE FLOATING BAR
   ══════════════════════════════════════════════════ */
.judod-bottom-banner {
    background: radial-gradient(circle at 50% 30%, #0F2742 0%, #0A1B2E 100%) !important;
    color: #ffffff !important;
    padding: 60px 20px !important;
    text-align: center;
    margin-top: 48px;
    border-top: 1px solid rgba(197, 160, 89, 0.25);
    border-radius: 0;
}

.judod-bottom-banner__tag {
    display: inline-block;
    background: rgba(197, 160, 89, 0.2);
    color: var(--brand-gold) !important;
    border: 1px solid rgba(197, 160, 89, 0.3);
    padding: 4px 16px;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 800;
    margin-bottom: 14px;
}

.judod-bottom-banner h2 {
    font-size: clamp(1.4rem, 2.5vw, 2.2rem) !important;
    font-weight: 900 !important;
    margin: 0 0 10px !important;
    color: #ffffff !important;
}

.judod-bottom-banner p {
    font-size: 0.88rem !important;
    color: var(--brand-gold-light) !important;
    max-width: 580px;
    margin: 0 auto 24px !important;
    font-weight: 500;
}

/* Floating Mobile Bar */
.judod-mobile-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--brand-plum-light);
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

@media (min-width: 640px) {
    .judod-mobile-bar {
        display: none !important;
    }
}

.judod-mobile-bar a,
.judod-mobile-bar button {
    flex: 1;
    padding: 9px 8px;
    border-radius: var(--brand-radius-sm);
    font-size: 0.76rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none !important;
    border: none;
    font-family: inherit;
    cursor: pointer;
    box-sizing: border-box;
}

.judod-mobile-bar .btn-call {
    background: var(--brand-plum-light);
    color: var(--brand-plum-dark) !important;
}

.judod-mobile-bar .btn-wa {
    background: #10b981;
    color: #ffffff !important;
}

.judod-mobile-bar .btn-lead {
    background: var(--brand-plum);
    color: #ffffff !important;
}

/* ══════════════════════════════════════════════════
   14. UNIVERSAL MODAL & TOAST NOTIFICATION
   ══════════════════════════════════════════════════ */
.judod-modal {
    position: fixed !important;
    inset: 0 !important;
    z-index: 9999 !important;
    background: rgba(20, 5, 15, 0.72) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 16px !important;
}

.judod-modal.is-open {
    display: flex !important;
}

.judod-modal__content {
    background: #ffffff !important;
    border: 1px solid var(--brand-plum-light);
    border-radius: var(--brand-radius-xl);
    padding: 32px;
    max-width: 480px;
    width: 100%;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    animation: judodModalIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: right;
}

@keyframes judodModalIn {
    from { opacity: 0; transform: scale(0.92) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.judod-modal__close {
    position: absolute;
    top: 16px;
    left: 18px;
    background: transparent;
    border: none;
    font-size: 1.4rem;
    line-height: 1;
    color: var(--brand-slate);
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s ease;
}

.judod-modal__close:hover {
    color: var(--brand-plum);
}

html[dir="ltr"] .judod-modal__close {
    left: auto;
    right: 18px;
}

.judod-modal h3 {
    font-size: 1.25rem !important;
    font-weight: 900 !important;
    color: var(--brand-plum-dark) !important;
    margin: 0 0 6px !important;
}

.judod-modal p {
    font-size: 0.82rem !important;
    color: var(--brand-slate) !important;
    margin: 0 0 20px !important;
    font-weight: 500 !important;
    line-height: 1.6 !important;
}

/* Toast Notification */
.judod-toast {
    position: fixed !important;
    bottom: 24px !important;
    right: 24px !important;
    z-index: 10000 !important;
    background: #ffffff !important;
    border: 1px solid var(--brand-plum-light);
    padding: 14px 22px;
    border-radius: var(--brand-radius-md);
    box-shadow: 0 10px 35px rgba(15, 39, 66, 0.18);
    display: none !important;
    align-items: center;
    gap: 12px;
    max-width: 360px;
    animation: judodToastIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--brand-dark);
}

.judod-toast.is-open {
    display: flex !important;
}

@keyframes judodToastIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.judod-toast i {
    color: #10b981;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* ── Universal Mobile Touch Gallery Slider (< 768px) ── */
.judod-gallery-mobile {
    display: block;
    margin-bottom: 24px;
    width: 100%;
}

@media (min-width: 768px) {
    .judod-gallery-mobile {
        display: none !important;
    }
}

.judod-mobile-slider-wrap {
    position: relative;
    border-radius: var(--brand-radius-xl, 20px);
    overflow: hidden;
    box-shadow: 0 12px 36px -10px rgba(15, 39, 66, 0.16);
    background: #14050f;
    width: 100%;
    aspect-ratio: 16 / 10;
    max-height: 380px;
    min-height: 230px;
}

.judod-mobile-slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    touch-action: pan-y;
    overscroll-behavior-x: contain;
}

.judod-mobile-slider-track::-webkit-scrollbar {
    display: none;
}

.judod-mobile-slide {
    flex: 0 0 100%;
    min-width: 100%;
    max-width: 100%;
    width: 100%;
    height: 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    position: relative;
    cursor: zoom-in;
    overflow: hidden;
    background: #14050f;
}

.judod-mobile-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.judod-mobile-slider-wrap::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 90px;
    background: linear-gradient(to top, rgba(20, 5, 15, 0.75) 0%, rgba(20, 5, 15, 0.25) 50%, transparent 100%);
    pointer-events: none;
    z-index: 2;
}

.judod-mobile-slider__badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    background: rgba(20, 5, 15, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(197, 160, 89, 0.4);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 100px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.judod-mobile-slider__badge i {
    color: var(--brand-gold);
}

.judod-mobile-slider__expand-btn {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 10;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(20, 5, 15, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
}

.judod-mobile-slider__expand-btn:active {
    transform: scale(0.92);
}

.judod-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(104, 17, 73, 0.15);
    color: var(--brand-plum-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
}

.judod-slider-btn:active {
    transform: translateY(-50%) scale(0.9);
}

.judod-slider-btn--prev {
    right: 10px;
}

.judod-slider-btn--next {
    left: 10px;
}

.judod-slider-btn.is-disabled {
    opacity: 0.35;
    pointer-events: none;
}

.judod-mobile-counter {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(20, 5, 15, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(197, 160, 89, 0.35);
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.judod-mobile-counter i {
    color: var(--brand-gold);
    font-size: 0.7rem;
}

.judod-mobile-dots {
    position: absolute;
    bottom: 14px;
    right: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 10;
}

.judod-mobile-dot {
    width: 7px;
    height: 7px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.45);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.judod-mobile-dot.is-active {
    width: 20px;
    background: var(--brand-gold);
    box-shadow: 0 0 8px rgba(197, 160, 89, 0.6);
}

.judod-mobile-thumbs-wrap {
    margin-top: 10px;
    width: 100%;
    overflow: hidden;
}

.judod-mobile-thumbs-track {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding: 2px 2px 6px;
}

.judod-mobile-thumbs-track::-webkit-scrollbar {
    display: none;
}

.judod-mobile-thumb {
    flex: 0 0 68px;
    width: 68px;
    height: 48px;
    border-radius: var(--brand-radius-md);
    overflow: hidden;
    border: 2px solid transparent;
    padding: 0;
    background: #14050f;
    cursor: pointer;
    transition: all 0.2s ease;
    opacity: 0.6;
}

.judod-mobile-thumb.is-active {
    border-color: var(--brand-gold);
    opacity: 1;
    transform: scale(1.04);
    box-shadow: 0 4px 12px rgba(197, 160, 89, 0.3);
}

.judod-mobile-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ── Single Article Hero Image (Sharp 16:9, No Stretch) ── */
.judod-article-hero-img-wrap {
    width: 100%;
    border-radius: var(--brand-radius-xl, 20px);
    overflow: hidden;
    margin-bottom: 28px;
    box-shadow: 0 12px 32px -10px rgba(15, 39, 66, 0.1);
    background: #14050f;
    aspect-ratio: 16 / 9;
    max-height: 480px;
}

.judod-article-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Suppress redundant in-content plugin TOCs in favor of Judod Luxury TOC */
.judod-prose .lwptoc,
.project-prose .lwptoc,
.judod-prose .ez-toc-container,
.project-prose .ez-toc-container,
.judod-prose #rank-math-toc,
.project-prose #rank-math-toc,
.judod-prose .aqari-toc,
.project-prose .aqari-toc,
.judod-prose .table-of-contents,
.project-prose .table-of-contents {
    display: none !important;
}

/* Mobile Responsive Typography & Card Spacing */
@media (max-width: 768px) {
    .judod-prose,
    .project-prose {
        text-align: right !important;
        font-size: 0.92rem;
        line-height: 1.85;
        word-break: break-word;
        overflow-wrap: break-word;
    }

    .project-toc {
        padding: 14px 16px !important;
        margin-bottom: 22px !important;
        border-radius: 16px !important;
    }

    .project-toc__title {
        font-size: 0.9rem !important;
    }

    .project-toc__item {
        font-size: 0.8rem !important;
        line-height: 1.45 !important;
    }

    .judod-card {
        padding: 20px 16px !important;
        border-radius: 20px !important;
    }
}


