/* Exposé Feature-Grid */
.cbpod-featuregrid-airbnb {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 50px;
}
.cbpod-featurebox-airbnb {
    background: #f4f7fc;
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    min-width: 0;
}
.cbpod-featurebox-airbnb .cbpod-feature-icon {
    color: #012169;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cbpod-feature-text {
    min-width: 0;
}
.cbpod-featurebox-airbnb .cbpod-feature-label {
    font-size: 11px;
    color: #6b7280;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 2px;
    text-align: left;
}
.cbpod-featurebox-airbnb .cbpod-feature-value {
    font-size: 14px;
    font-weight: 700;
    color: #012169;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* ── Weitere Objektdaten Info-Grid ───────────── */
.cbpod-extra-infogrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px 24px;
    margin-top: 18px;
}
.cbpod-extra-infobox {
    background: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    padding: 16px 18px 14px 18px;
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.cbpod-extra-info-label {
    font-size: 13px;
    color: #6b7280;
    font-weight: 600;
    margin-bottom: 6px;
    word-break: break-word;
}
.cbpod-extra-info-value {
    font-size: 15px;
    color: #121212;
    word-break: break-word;
}
/* ── Weitere Objektdaten Card/Table ───────────── */
.cbpod-extra-section {
    margin-top: 32px;
    margin-bottom: 48px;
}
.cbpod-extra-table-wrap {
    overflow-x: auto;
    margin-top: 18px;
    border: 1.5px solid #dce6f5;
    border-radius: 14px;
    overflow: hidden;
}
.cbpod-extra-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}
.cbpod-extra-table tr {
    border-bottom: 1px solid #eaf0f9;
}
.cbpod-extra-label {
    width: 42%;
    padding: 18px 24px;
    font-size: 14px;
    color: #012169;
    font-weight: 600;
    background: #f4f7fc;
    border: none;
    border-bottom: 1px solid #eaf0f9;
    border-right: 1.5px solid #dce6f5;
    white-space: nowrap;
    vertical-align: middle;
}
.cbpod-extra-value {
    width: 58%;
    padding: 18px 24px;
    font-size: 15px;
    font-weight: 500;
    color: #111827;
    border: none;
    border-bottom: 1px solid #eaf0f9;
    background: #fff;
    vertical-align: middle;
}
.cbpod-extra-table tr:last-child .cbpod-extra-label,
.cbpod-extra-table tr:last-child .cbpod-extra-value {
    border-bottom: none;
}
.cbpod-extra-empty {
    background: #f8f9fa;
    border: none;
}
.cbpod-extra-table-collapser {
    margin-bottom: 10px;
}
/* ── Detail Page Layout ─────────────────────── */
/* Mosaic hero gallery */
.cbpod-mosaic {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 6px;
    height: 780px;
    overflow: hidden;
    margin-top: 24px;
    background: #fff;
}
.cbpod-mosaic-main {
    overflow: hidden;
    cursor: pointer;
    height: 100%;
}
.cbpod-mosaic-main img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    display: block;
    transition: transform .35s;
}
.cbpod-mosaic-main:hover img { transform: scale(1.02); }
.cbpod-mosaic-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 6px;
    height: 100%;
}
.cbpod-mosaic-cell {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    min-height: 0;
}
.cbpod-mosaic-cell > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    display: block;
    transition: transform .35s;
}
.cbpod-mosaic-cell:hover > img { transform: scale(1.04); }
.cbpod-mosaic-more-btn {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.48);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: .03em;
    transition: background .2s;
}
.cbpod-mosaic-more-btn:hover { background: rgba(0,0,0,.65); }
/* Mosaic & photo grid inside the content column */
.cbpod-mosaic--inline {
    margin-top: 0;
    margin-bottom: 32px;
    height: 640px;
    border-radius: 10px;
    overflow: hidden;
}
.cbpod-all-photos--inline {
    padding: 0;
    margin-top: 4px;
    margin-bottom: 32px;
    grid-template-columns: repeat(2, 1fr);
}
/* Full photo grid (revealed by button) */
.cbpod-all-photos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin-top: 6px;
    padding: 0 40px;
}
.cbpod-all-photos img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    display: block;
    cursor: pointer;
    border-radius: 4px;
}
.cbpod-all-photos[hidden] { display: none; }
/* Lightbox */
.cbpod-lb {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,.92);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.cbpod-lb[hidden] { display: none; }
.cbpod-lb-img-wrap {
    position: relative;
    width: 100%;
    max-width: 1100px;
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cbpod-lb-img {
    max-width: 100%;
    max-height: calc(100vh - 140px);
    object-fit: contain;
    border-radius: 6px;
    display: block;
    user-select: none;
}
.cbpod-lb-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,.12);
    border: none;
    color: #fff;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
    z-index: 2;
}
.cbpod-lb-btn:hover { background: rgba(255,255,255,.28); }
.cbpod-lb-prev { left: 0; }
.cbpod-lb-next { right: 0; }
.cbpod-lb-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: rgba(255,255,255,.12);
    border: none;
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
    z-index: 2;
}
.cbpod-lb-close:hover { background: rgba(255,255,255,.28); }
.cbpod-lb-counter {
    color: rgba(255,255,255,.7);
    font-size: .9rem;
    margin-top: 14px;
    flex-shrink: 0;
}
.cbpod-lb-thumbs {
    display: flex;
    gap: 6px;
    margin-top: 12px;
    overflow-x: auto;
    max-width: 1100px;
    width: 100%;
    flex-shrink: 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,.3) transparent;
    padding-bottom: 4px;
}
.cbpod-lb-thumb {
    flex: 0 0 64px;
    width: 64px;
    height: 48px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    opacity: .55;
    transition: opacity .2s;
    border: 2px solid transparent;
}
.cbpod-lb-thumb.active {
    opacity: 1;
    border-color: #fff;
}
@media (max-width: 768px) {
    .cbpod-lb-btn { width: 40px; height: 40px; font-size: 1.5rem; }
    .cbpod-lb-thumb { flex: 0 0 50px; width: 50px; height: 38px; }
}
/* Two-column body */
.cbpod-detail-body {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 0 40px 40px;
    align-items: start;
    color: #121212;
    background: #fff;
}
.cbpod-detail-main { min-width: 0; }
.cbpod-detail-aside {
    position: sticky;
    top: 32px;
}
/* Section styles (inside main column) */
.cbpod-detail-main .cbpod-section {
    padding-bottom: 32px;
    margin-bottom: 32px;
    border-bottom: 1px solid #f0f1f3;
    background: none;
    border-radius: 0;
    box-shadow: none;
    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}
.cbpod-detail-main .cbpod-section:last-child { border-bottom: none; }
.cbpod-detail-main .cbpod-section-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #012169;
    margin: 0 0 16px 0;
    border-bottom: none;
    padding-bottom: 0;
    letter-spacing: 0;
}
.cbpod-detail-main .cbpod-text {
    font-size: .97rem;
    line-height: 1.75;
    color: #374151;
}
/* Floorplans */
.cbpod-detail-main .cbpod-floorplans {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    flex-wrap: unset;
    justify-content: unset;
}
.cbpod-detail-main .cbpod-floorplans img {
    width: 100%;
    max-width: none;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    box-shadow: none;
}
/* Sidebar card */
.cbpod-aside-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 24px rgba(0,0,0,.07);
    color: #121212;
}
.cbpod-aside-toprow {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
}
.cbpod-aside-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: #012169 !important;
    margin-bottom: 6px;
    line-height: 1.15;
}
.cbpod-aside-badge {
    display: inline-block;
    background: #e8edf5;
    color: #012169 !important;
    font-size: 12px;
    font-weight: 700;
    border-radius: 6px;
    padding: 3px 10px;
    margin-bottom: 14px;
}
.cbpod-aside-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .9rem;
    color: #6b7280 !important;
    margin-bottom: 16px;
}
.cbpod-aside-unit-id {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: -6px 0 16px;
    font-size: .8rem;
    color: #6b7280 !important;
}
.cbpod-aside-unit-id-label {
    font-weight: 600;
}
.cbpod-aside-unit-id-value {
    overflow-wrap: anywhere;
}
.cbpod-aside-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 14px 0;
    margin-bottom: 20px;
    border-top: 1px solid #f0f1f3;
    border-bottom: 1px solid #f0f1f3;
}
.cbpod-aside-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    text-align: center;
}
.cbpod-aside-stat-value {
    font-size: 1rem;
    font-weight: 700;
    color: #121212 !important;
}
.cbpod-aside-stat-label {
    font-size: .7rem;
    color: #6b7280 !important;
    text-transform: uppercase;
    letter-spacing: .04em;
}
/* Share button & panel */
.cbpod-aside-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: #012169 !important;
    margin-bottom: 6px;
    line-height: 1.15;
}

.cbpod-share-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    background: transparent !important;
    border: 1.5px solid #012169 !important;
    border-radius: 999px !important;
    padding: 7px 14px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #012169 !important;
    cursor: pointer;
    transition: background .2s, color .2s;
    line-height: 1;
    margin-top: 4px;
    box-shadow: none !important;
}
.cbpod-share-btn:hover {
    background: #012169 !important;
    color: #fff !important;
}
.cbpod-share-btn:hover svg {
    stroke: #fff;
}
/* ── Agent card ─────────────────────────────── */
.cbpod-agent-card {
    background: #fff;
    border: 1px solid #dce6f5;
    border-radius: 16px;
    padding: 18px 18px 14px;
    margin-top: 12px;
}
.cbpod-agent-inner {
    display: flex;
    align-items: center;
    gap: 14px;
}
.cbpod-agent-photo {
    width: 80px;
    height: 80px;
    border-radius: 50% !important;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid #eaf0f9;
}
.cbpod-agent-inner img {
    border-radius: 50% !important;
}
.cbpod-agent-photo--initials {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #012169;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}
.cbpod-agent-info {
    min-width: 0;
}
.cbpod-agent-role {
    font-size: 11px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-bottom: 3px;
}
.cbpod-agent-name {
    font-size: 15px;
    font-weight: 700;
    color: #012169;
    line-height: 1.2;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cbpod-agent-phone {
    font-size: 13px;
    color: #374151;
    text-decoration: none;
    display: block;
    overflow-wrap: anywhere;
}
.cbpod-agent-phone:hover { color: #012169; }
.cbpod-agent-franchise-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
    color: #012169;
    text-decoration: none;
    margin-bottom: 4px;
}
.cbpod-agent-franchise-link:hover { text-decoration: underline; }
/* ── Share panel ─────────────────────────────── */
.cbpod-share-panel {
    background: #fff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 14px !important;
    padding: 16px 14px 14px !important;
    margin-top: 12px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,.08) !important;
}

.cbpod-share-panel-label {
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #6b7280 !important;
    margin: 0 0 14px !important;
    text-align: center;
    display: block;
}

/* Icon grid – 4 per row, stacked icon+label */
.cbpod-share-options {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 8px 4px !important;
}

.cbpod-share-option {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 6px !important;
    background: transparent !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 10px 4px 8px !important;
    cursor: pointer;
    text-decoration: none !important;
    color: #121212 !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    transition: background .15s;
    width: 100%;
    box-shadow: none !important;
}

.cbpod-share-option:hover {
    background: #f3f4f6 !important;
    color: #121212 !important;
    text-decoration: none !important;
}

.cbpod-share-option-label {
    color: #111827 !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    text-align: center;
    line-height: 1.2;
    display: block !important;
}

.cbpod-share-option-icon {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 46px !important;
    height: 46px !important;
    border-radius: 14px !important;
    background: #f3f4f6 !important;
    flex-shrink: 0;
    color: #374151 !important;
}

.cbpod-share-option[data-action="copy"] .cbpod-share-option-icon {
    background: #f3f4f6 !important;
    color: #374151 !important;
}

.cbpod-share-option[data-action="whatsapp"] .cbpod-share-option-icon {
    background: #dcfce7 !important;
    color: #16a34a !important;
}

.cbpod-share-option[data-action="telegram"] .cbpod-share-option-icon {
    background: #dbeafe !important;
    color: #229ED9 !important;
}

.cbpod-share-option[data-action="facebook"] .cbpod-share-option-icon {
    background: #dbeafe !important;
    color: #1877F2 !important;
}

.cbpod-share-option[data-action="twitter"] .cbpod-share-option-icon {
    background: #f3f4f6 !important;
    color: #000 !important;
}

.cbpod-share-option[data-action="linkedin"] .cbpod-share-option-icon {
    background: #dbeafe !important;
    color: #0A66C2 !important;
}

.cbpod-share-option[data-action="email"] .cbpod-share-option-icon {
    background: #ede9fe !important;
    color: #7c3aed !important;
}

.cbpod-share-copy-feedback {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 10px;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #16a34a !important;
}

.cbpod-share-copy-feedback[hidden] {
    display: none !important;
}

.cbpod-share-option[data-action="whatsapp"] .cbpod-share-option-icon {
    background: #e8f5e9 !important;
    color: #25d366 !important;
}

.cbpod-share-option[data-action="email"] .cbpod-share-option-icon {
    background: #e8edf5 !important;
    color: #012169 !important;
}

.cbpod-share-copy-feedback {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #16a34a !important;
}

/* CTA and expose link */
.cbpod-cta-btn {
    display: block;
    background: #012169 !important;
    color: #fff !important;
    border: none;
    border-radius: 8px;
    padding: 14px 0;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    text-decoration: none !important;
    transition: background .2s;
    width: 100%;
}
.cbpod-cta-btn:hover { background: #01287a !important; color: #fff !important; }
.cbpod-expose-link {
    display: block;
    margin-top: 12px;
    text-align: center;
    font-size: .9rem;
    color: #012169;
    text-decoration: underline;
}
/* Amenity list (Ausstattungshinweise) */
/* Map markers – Airbnb style dot with house icon */
.cbpo-map-marker {
    background: none !important;
    border: none !important;
}
.cbpo-map-pin-dot {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #012169;
    color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,.35);
    transition: transform .15s;
}
.cbpo-map-marker:hover .cbpo-map-pin-dot,
.cbpo-map-marker.active .cbpo-map-pin-dot {
    transform: scale(1.15);
    background: #012169;
}
/* Detail page map pin */
.cbpod-map-pin {
    background: none !important;
    border: none !important;
}
.cbpod-map-pin span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #012169;
    color: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,.35);
}
.cbpod-amenity-section {
    margin-top: 20px;
}
.cbpod-subsection-title {
    font-size: .95rem;
    font-weight: 700;
    color: #121212 !important;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-top: 45px !important;
    margin-bottom: 30px !important;
}
.cbpod-amenity-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 32px;
}
.cbpod-amenity-list li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: .93rem;
    color: #374151 !important;
    line-height: 1.5;
}
.cbpod-amenity-list li::before {
    content: '';
    display: block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #012169;
    flex-shrink: 0;
    margin-top: 7px;
}
/* Inline image slider between content sections */
.cbpod-slider {
    position: relative;
    margin: 0 0 48px;
    border-radius: 10px;
    overflow: hidden;
    line-height: 0;
}
.cbpod-slider-track {
    display: flex;
    transition: transform .4s cubic-bezier(.25,.46,.45,.94);
}
.cbpod-slide {
    flex: 0 0 100%;
    width: 100%;
}
.cbpod-slide img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    display: block;
}
.cbpod-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(1,33,105,.72);
    color: #fff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
    z-index: 2;
    padding: 0;
}
.cbpod-slider-btn:hover { background: rgba(1,33,105,1); }
.cbpod-slider-prev { left: 12px; }
.cbpod-slider-next { right: 12px; }
.cbpod-slider-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 2;
    line-height: 0;
}
.cbpod-slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,.5);
    transition: background .2s;
    cursor: pointer;
    line-height: 0;
}
.cbpod-slider-dot.active { background: #fff; }
/* Map section */
.cbpod-detail-body + .cbpod-map-section,
.cbpod-map-section {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 40px 48px;
}
.cbpod-map-section .cbpod-section-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #121212;
    margin: 0 0 16px 0;
    border-bottom: none;
    padding-bottom: 0;
}

.cbpod-extra-table-collapser {
    display: block;
    margin: 0 0 12px 0;
    font-size: 15px;
    color: #012169;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
    text-align: left;
    padding: 0;
}
/**
 * CB Property Overview – Styles
 */

/* ── Reset & Variables ───────────────────── */
.cbpo-page-wrap {
    background: #fff;
    color: #121212;
    min-height: 100vh;
}

/* Override dark lh-home-wrap styles */
.cbpo-page-wrap.lh-home-wrap {
    background: #fff;
    color: #121212;
}

.cbpo-page-wrap .cbpo-wrap h1,
.cbpo-page-wrap .cbpo-wrap h2,
.cbpo-page-wrap .cbpo-wrap h3,
.cbpo-page-wrap .cbpo-wrap h4,
.cbpo-page-wrap .cbpo-wrap h5 {
    color: #121212;
}

.cbpo-page-wrap .cbpo-wrap p,
.cbpo-page-wrap .cbpo-wrap span,
.cbpo-page-wrap .cbpo-wrap li,
.cbpo-page-wrap .cbpo-wrap label {
    color: inherit;
}

.cbpo-wrap {
    --cbpo-blue: #012169;
    --cbpo-blue-light: #B8CFEA;
    --cbpo-navy: #01287a;
    --cbpo-dark: #121212;
    --cbpo-gray: #6b7280;
    --cbpo-gray-light: #f3f4f6;
    --cbpo-radius: 12px;
    --cbpo-shadow: 0 1px 3px rgba(0,0,0,.08), 0 4px 12px rgba(0,0,0,.04);
    color: var(--cbpo-dark);
    box-sizing: border-box;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px 40px;
}

.cbpo-wrap *,
.cbpo-wrap *::before,
.cbpo-wrap *::after {
    box-sizing: border-box;
}

/* ── Filter Bar ──────────────────────────── */
.cbpo-filters {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: var(--cbpo-radius);
    padding: 20px 24px;
    margin-top: 50px;
    margin-bottom: 50px;
    box-shadow: unset;
}

.cbpo-filters-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-end;
}

.cbpo-filter-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1 1 160px;
    min-width: 120px;
}

.cbpo-filter-group--search {
    flex: 2 1 200px;
}

.cbpo-filter-group.cbpo-filter-group--btn {
    flex-direction: row;
    align-items: flex-end;
    gap: 8px;
    flex: 0 0 auto;
}

.cbpo-filter-group label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #6b7280;
}

.cbpo-filter-group select,
.cbpo-filter-group input {
    height: 40px;
    padding: 0 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    color: #121212;
    background: #fff;
    transition: border-color .2s;
    outline: none;
    width: 100%;
}

.cbpo-filter-group select:focus,
.cbpo-filter-group input:focus {
    border-color: var(--cbpo-blue);
    box-shadow: none;
}

.cbpo-btn {
    height: 40px;
    padding: 0 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s, color .2s, box-shadow .2s;
    white-space: nowrap;
}

.cbpo-btn:not(.cbpo-btn--ghost) {
    background: var(--cbpo-blue);
    color: #fff;
}

.cbpo-btn:not(.cbpo-btn--ghost):hover {
    background: var(--cbpo-navy);
    box-shadow: none;
}

.cbpo-btn--ghost {
    background: transparent;
    color: var(--cbpo-gray);
    border: 1px solid #d1d5db;
}

.cbpo-btn--ghost:hover {
    background: var(--cbpo-gray-light);
    color: var(--cbpo-dark);
}

/* ── Main Layout ─────────────────────────── */
.cbpo-main {
    display: grid;
    grid-template-columns: 45fr 55fr;
    gap: 24px;
    align-items: start;
}

/* ── Listings ────────────────────────────── */
.cbpo-listings {
    min-width: 0;
}

.cbpo-count {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 8px;
}

.cbpo-sort {
    margin-bottom: 16px;
}

.cbpo-sort select {
    height: 36px;
    padding: 0 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 13px;
    color: #121212;
    background: #fff;
    cursor: pointer;
    outline: none;
}

.cbpo-sort select:focus {
    border-color: var(--cbpo-blue);
}

/* ── Grid ────────────────────────────────── */
.cbpo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* ── Card ────────────────────────────────── */
.cbpo-card {
    background: #fff;
    border-radius: var(--cbpo-radius);
    overflow: hidden;
    border: 1px solid #e5e7eb;
    box-shadow: none;
    transition: transform .25s ease;
}

.cbpo-card:hover {
    transform: translateY(-3px);
}

.cbpo-card.cbpo-card--highlight {
    border-color: var(--cbpo-blue);
}

.cbpo-card-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.cbpo-card-img-wrap {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--cbpo-gray-light);
}

.cbpo-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

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

.cbpo-card-img--placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e5e7eb, #d1d5db);
}

span.cbpo-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--cbpo-blue);
    color: #fff !important;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    padding: 4px 10px;
    border-radius: 6px;
    z-index: 2;
}

.cbpo-card-price-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(0,0,0,.72);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 8px;
    z-index: 2;
}

.cbpo-card-body {
    padding: 16px;
}

.cbpo-card-title {
    font-size: 17px;
    font-weight: 600;
    margin: 0 0 4px;
    color: var(--cbpo-dark);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cbpo-card-location {
    font-size: 13px;
    color: var(--cbpo-gray);
    margin: 0 0 10px;
}

.cbpo-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.cbpo-card-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: var(--cbpo-gray);
}

.cbpo-card-meta-item svg {
    color: var(--cbpo-blue);
    flex-shrink: 0;
}

.cbpo-card-meta-item--type {
    margin-left: auto;
    font-weight: 600;
    color: var(--cbpo-blue);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .03em;
}

/* ── Empty State ─────────────────────────── */
.cbpo-empty {
    text-align: center;
    padding: 48px 24px;
    color: var(--cbpo-gray);
    font-size: 15px;
    background: var(--cbpo-gray-light);
    border-radius: var(--cbpo-radius);
}

/* ── Pagination ──────────────────────────── */
.cbpo-pagination {
    margin-top: 24px;
}

.cbpo-pages {
    display: flex;
    gap: 6px;
    justify-content: center;
}

.cbpo-page {
    width: 36px;
    height: 36px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
    font-size: 14px;
    color: var(--cbpo-dark);
    cursor: pointer;
    transition: background .2s, border-color .2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cbpo-page:hover {
    background: var(--cbpo-gray-light);
    border-color: #9ca3af;
}

.cbpo-page--active {
    background: var(--cbpo-blue);
    color: #fff;
    border-color: var(--cbpo-blue);
}

.cbpo-page--active:hover {
    background: var(--cbpo-navy);
}

/* ── Map ─────────────────────────────────── */
.cbpo-map-wrap {
    position: sticky;
    top: 24px;
    height: calc(100vh - 48px);
    border-radius: var(--cbpo-radius);
    overflow: hidden;
    border: 1px solid #e5e7eb;
    box-shadow: none;
}

.cbpo-map {
    width: 100%;
    height: 100%;
}

/* Leaflet popup override */
.cbpo-popup {
    line-height: 1.4;
    min-width: 200px;
}

a.cbpo-popup-card-link {
    display: block;
    width: 100%;
    color: inherit !important;
    text-decoration: none !important;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.leaflet-popup-content-wrapper {
    padding: 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,.15);
}

.leaflet-popup-content {
    margin: 0;
    width: auto !important;
}

img.cbpo-popup-img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    display: block;
}

.cbpo-popup-body {
    padding: 10px 12px 12px;
}

p.cbpo-popup-title {
    font-size: 13px;
    font-weight: 600;
    margin: 0 0 3px;
    color: var(--cbpo-dark);
    line-height: 1.3;
}

p.cbpo-popup-price {
    font-size: 13px;
    font-weight: 700;
    color: var(--cbpo-blue);
    margin: 0 0 8px;
}

.cbpo-popup-link {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: #fff !important;
    background: var(--cbpo-blue);
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 6px;
}

a.cbpo-popup-card-link:hover .cbpo-popup-link {
    background: var(--cbpo-navy);
}

.leaflet-popup-tip-container {
    margin-top: -1px;
}

/* ── Loading Overlay ─────────────────────── */
.cbpo-loading {
    position: relative;
    pointer-events: none;
}

.cbpo-loading::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,.7);
    backdrop-filter: blur(2px);
    z-index: 10;
}

.cbpo-loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 32px;
    height: 32px;
    margin: -16px 0 0 -16px;
    border: 3px solid var(--cbpo-blue-light);
    border-top-color: var(--cbpo-blue);
    border-radius: 50%;
    animation: cbpo-spin .6s linear infinite;
    z-index: 11;
}

@keyframes cbpo-spin {
    to { transform: rotate(360deg); }
}

/* ── Hero ────────────────────────────────── */
.cbpo-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 40px 7rem;
    background: #0a0a0a;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.cbpo-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

.cbpo-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.7) 0%, rgba(1,33,105,.35) 100%);
    z-index: 1;
}

/* ── Header (inside hero) ────────────────── */
.cbpo-page-wrap .cbpo-hero .lh-home-nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
}

/* ── Hero Content ────────────────────────── */
.cbpo-hero-content {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 48px 80px 32px 80px;
    background: linear-gradient(0deg,rgba(0,0,0,0.55) 0%,rgba(0,0,0,0.15) 80%,rgba(0,0,0,0) 100%);
    color: #fff;
    z-index: 2;
    max-width: 100vw;
}

.cbpo-hero .lh-home-nav .cb-lang-sep {
    color: rgba(255,255,255,.5) !important;
}

.cbpo-hero-content .lh-section-eyebrow {
    color: #B8CFEA !important;
}

.cbpo-hero-content .lh-section-title {
    color: #fff !important;
    font-size: clamp(2.6rem, 5.5vw, 5rem);
    margin-top: .5rem;
    font-weight: 400;
    line-height: 1.08;
}

.cbpo-hero-content .lh-home-sub {
    color: rgba(255,255,255,.7) !important;
    max-width: 640px;
    font-size: 1.1rem;
    line-height: 1.75;
    margin-top: 1.2rem;
}

/* ── Footer ──────────────────────────────── */
.cbpo-footer {
    margin-top: 60px;
    background: #0a0a0a;
    border-top: 1px solid rgba(255,255,255,.06);
}

.cbpo-footer .lh-widget-footer-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 60px 40px 30px;
}

.cbpo-footer .lh-widget-footer-cols {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.cbpo-footer .lh-footer-brand .lh-logo-img {
    height: 24px;
    width: auto;
    display: block;
}

.cbpo-footer .lh-widget-footer-cols h5 {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 12px;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.cbpo-footer .lh-footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cbpo-footer .lh-footer-col ul li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255,255,255,.45);
}

.cbpo-footer .lh-footer-col ul li a {
    color: rgba(255,255,255,.55) !important;
    text-decoration: none;
    transition: color .2s;
}

.cbpo-footer .lh-footer-col ul li a:hover {
    color: #fff !important;
}

.cbpo-footer .lh-footer-col ul li svg {
    flex-shrink: 0;
    color: rgba(255,255,255,.35);
    width: 14px;
    height: 14px;
}

.cbpo-footer .lh-footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cbpo-footer .lh-footer-bottom p {
    color: rgba(255,255,255,.3);
    font-size: 12px;
    margin: 0;
}

/* A real image element is used on detail pages so the hero remains visible
   even when a theme or optimizer strips/overrides inline background styles. */
.cbpo-hero-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
    display: block;
    z-index: 0;
}

.cbpo-hero .cbpo-hero-overlay,
.cbpo-hero .lh-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(0,0,0,.60) 0%, rgba(0,0,0,.18) 48%, rgba(0,0,0,.68) 100%);
}

/* ── Hero – Detail page variant ──────────── */
/* Default/special-property view: preserve the original plugin layout. */
.cbpo-hero--detail {
    min-height: 260px;
    padding-bottom: 0;
    border-radius: 0;
}

/* /portfolio detail view: larger real-image hero used only by the Elementor
   portfolio widget. This must not alter the standalone property shortcode. */
.cbpo-portfolio-page .cbpo-hero--detail {
    position: relative;
    min-height: 60vh;
    background: #0a0a0a;
    overflow: hidden;
}

.cbpo-portfolio-page .cbpo-hero--detail .cbpo-hero-content {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

.cbpod-location-eyebrow {
    display: inline-flex !important;
    align-items: center;
    gap: 5px;
    margin-top: 10px !important;
    font-size: 13px !important;
    letter-spacing: .04em;
    color: rgba(255,255,255,.75) !important;
}

.cbpod-location-eyebrow::before {
    content: '';
    display: inline-block;
    flex-shrink: 0;
    width: 12px;
    height: 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='rgba(255,255,255,0.75)'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.cbpod-breadcrumb {
    margin-bottom: 20px;
}

.cbpod-breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,.75) !important;
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 999px;
    padding: 6px 14px 6px 10px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background .2s, color .2s, border-color .2s;
    line-height: 1;
}

.cbpod-breadcrumb a svg {
    flex-shrink: 0;
    transition: transform .2s;
}

.cbpod-breadcrumb a:hover {
    background: rgba(255,255,255,.22);
    border-color: rgba(255,255,255,.38);
    color: #fff !important;
}

.cbpod-breadcrumb a:hover svg {
    transform: translateX(-2px);
}

/* ── Map Toggle Button ───────────────────── */
.cbpo-map-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    background: var(--cbpo-blue);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin: 0 0 12px;
    transition: background .2s;
}

.cbpo-map-toggle:hover {
    background: var(--cbpo-navy);
}

/* ── Map Enhancements ────────────────────── */
.cbpo-map-wrap {
    border-color: #e5e7eb;
    box-shadow: none;
}

/* Leaflet controls styling */
.cbpo-map .leaflet-control-zoom a {
    background: #fff;
    color: var(--cbpo-dark);
    border-color: #e5e7eb;
    width: 32px;
    height: 32px;
    line-height: 30px;
    font-size: 16px;
}

.cbpo-map .leaflet-control-zoom a:hover {
    background: var(--cbpo-gray-light);
}

.cbpo-map .leaflet-control-attribution {
    font-size: 10px;
    background: rgba(255,255,255,.85);
    backdrop-filter: blur(4px);
}

/* ── Responsive ──────────────────────────── */
@media (max-width: 1024px) {
    .cbpod-detail-body {
        grid-template-columns: 1fr;
    }
    .cbpod-detail-aside {
        position: static;
        order: -1;
    }
    .cbpod-aside-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .cbpod-mosaic {
        grid-template-columns: 1fr;
        height: 440px;
    }
    .cbpod-mosaic--inline {
        height: 370px;
        border-radius: 8px;
    }
    .cbpod-mosaic-grid { display: none; }
    .cbpod-all-photos {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 16px;
    }
    .cbpod-all-photos--inline {
        padding: 0;
        grid-template-columns: repeat(2, 1fr);
    }
    .cbpod-slide img { height: 370px; }
    .cbpod-slider-btn { width: 36px; height: 36px; font-size: 1.4rem; }
    .cbpod-detail-body {
        padding: 0 16px;
        margin-top: 24px;
        gap: 24px;
    }
    .cbpod-map-section,
    .cbpod-detail-body + .cbpod-map-section {
        padding: 0 16px 32px;
    }
}

@media (max-width: 1024px) {
    .cbpo-main {
        grid-template-columns: 1fr;
    }

    .cbpo-map-toggle {
        display: flex;
    }

    .cbpo-map-wrap {
        position: relative;
        top: 0;
        height: 0;
        min-height: 0;
        overflow: hidden;
        order: 1;
        transition: height .3s ease;
    }

    .cbpo-map-wrap.cbpo-map--visible {
        height: 360px;
    }
}

@media (max-width: 768px) {
    .cbpo-wrap {
        padding: 0 16px 24px;
    }

    .cbpo-hero {
        padding: 0 16px 4rem;
        min-height: 50vh;
    }

    .cbpo-hero-content .lh-section-title {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }

    .cbpo-filters {
        padding: 14px;
    }

    .cbpo-filters-row {
        gap: 10px;
    }

    .cbpo-filter-group {
        flex: 1 1 calc(50% - 5px);
    }

    .cbpo-filter-group--search,
    .cbpo-filter-group--btn {
        flex: 1 1 100%;
        justify-content: stretch;
    }

    .cbpo-filter-group--btn .cbpo-btn {
        flex: 1;
    }

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

    .cbpo-map-wrap.cbpo-map--visible {
        height: 280px;
    }

    .cbpo-footer .lh-widget-footer-inner {
        padding: 40px 16px 20px;
    }

    .cbpo-footer .lh-widget-footer-cols {
        grid-template-columns: 1fr 1fr;
        gap: 28px 20px;
    }

    .cbpo-footer .lh-footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .cbpod-wrap {
        padding: 24px 16px 48px;
    }

    .cbpod-header {
        flex-direction: column;
        gap: 16px;
    }

    .cbpod-price-block {
        text-align: left;
    }

    .cbpo-hero--detail {
        min-height: 36vh;
    }

    .cbpo-portfolio-page .cbpo-hero--detail {
        min-height: 50vh;
    }
}

@media (max-width: 480px) {
    .cbpo-hero {
        min-height: 45vh;
    }

    .cbpo-filter-group {
        flex: 1 1 100%;
    }

    .cbpo-card-body {
        padding: 12px;
    }

    .cbpo-card-title {
        font-size: 15px;
    }

    .cbpo-filter-group label {
        font-size: 10px;
    }

    .cbpo-footer .lh-widget-footer-cols {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .cbpod-facts {
        gap: 12px 16px;
    }
}

/* ─────────────────────────────────────────────
 * Property Detail Page  [cbpo_property_detail]
 * ───────────────────────────────────────────── */
.cbpod-wrap {
    width: 100vw;
    max-width: 100vw;
    margin: 0;
    padding: 0 0 80px 0;
    color: #121212;
}

/* Gallery */
.cbpod-gallery {
    margin: 0 auto 40px auto;
    border-radius: 16px;
    overflow: hidden;
    max-width: 1200px;
    box-shadow: 0 4px 32px rgba(0,0,0,0.07);
}

.cbpod-gallery-main img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    display: block;
    border-radius: 16px 16px 0 0;
}

.cbpod-gallery-thumbs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 12px 0 0 0;
    justify-content: center;
}

.cbpod-gallery-thumbs .cbpod-thumb {
    width: 80px;
    height: 56px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    opacity: .7;
    transition: opacity .2s;
    border: 2px solid transparent;
}

.cbpod-gallery-thumbs .cbpod-thumb.active,
.cbpod-gallery-thumbs .cbpod-thumb:hover {
    opacity: 1;
    border-color: #012169;
}

/* Header */
.cbpod-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 32px;
    flex-wrap: wrap;
    margin: 0 auto 32px auto;
    padding: 0 0 24px 0;
    border-bottom: 1px solid #e5e7eb;
    max-width: 1200px;
}

.cbpod-badge {
    display: inline-block;
    background: #012169;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    padding: 4px 12px;
    border-radius: 6px;
    margin-bottom: 10px;
}

.cbpod-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin: 0 0 10px 0;
    line-height: 1.1;
    color: #121212;
}

.cbpod-location {
    font-size: 15px;
    color: #6b7280;
    margin: 0;
}

.cbpod-price-block {
    text-align: right;
    flex-shrink: 0;
}

.cbpod-price {
    display: block;
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 800;
    color: #012169;
    margin-bottom: 12px;
}

.cbpod-expose-btn {
    display: inline-block;
    background: #012169;
    color: #fff !important;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 8px;
    transition: background .2s;
}

.cbpod-expose-btn:hover {
    background: #01287a;
}

/* Facts */
.cbpod-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 32px 64px;
    margin: 0 auto 40px auto;
    padding: 32px 60px;
    background: #f8f9fa;
    border-radius: 18px;
    max-width: 1200px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.04);
}

.cbpod-fact {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cbpod-fact-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #6b7280;
}

.cbpod-fact-value {
    font-size: 17px;
    font-weight: 700;
    color: #121212;
}

/* Sections (legacy shortcode) */
.cbpod-section {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid #f0f1f3;
}
.cbpod-section-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #012169;
    margin: 0 0 16px 0;
    padding-bottom: 0;
    border-bottom: none;
    letter-spacing: 0;
}

.cbpod-text {
    font-size: 15px;
    line-height: 1.75;
    color: #374151;
}

/* Floor plans */
.cbpod-floorplans {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.cbpod-floorplans img {
    max-width: 340px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

/* Detail map */
.cbpod-map-section {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 40px 48px;
}
.cbpod-map {
    height: 360px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

/* Thumb JS interaction */
@media (max-width: 768px) {
    .cbpod-wrap { padding: 24px 16px 60px; }
    .cbpod-header { flex-direction: column; }
    .cbpod-price-block { text-align: left; }
    .cbpod-gallery-main img { max-height: 240px; }
}


/* 2.0.8 – Portfolio detail proportions
   Keep the gallery/sidebar separated from the hero and scale unusually long
   property titles so they do not crowd the navigation. */
.cbpo-portfolio-page > .cbpo-hero--detail + .cbpod-detail-body {
    margin-top: 0 !important;
    padding-top: 110px !important;
}
.cbpo-hero--detail .cbpo-detail-hero-title {
    max-width: 1600px;
}
.cbpo-hero--long-title .cbpo-detail-hero-title {
    font-size: clamp(3rem, 3.5vw, 3.75rem) !important;
    line-height: 1.08 !important;
    max-width: 1580px;
}
@media (max-width: 1024px) {
    .cbpo-portfolio-page > .cbpo-hero--detail + .cbpod-detail-body {
        padding-top: 72px !important;
    }
    .cbpo-hero--long-title .cbpo-detail-hero-title {
        font-size: clamp(2.6rem, 5.5vw, 3.5rem) !important;
    }
}
@media (max-width: 768px) {
    .cbpo-portfolio-page > .cbpo-hero--detail + .cbpod-detail-body {
        padding-top: 40px !important;
    }
    .cbpo-hero--long-title .cbpo-detail-hero-title {
        font-size: clamp(2rem, 8vw, 3rem) !important;
    }
}

/* 2.0.9 – Expanded Propstack object data */
.cbpo-portfolio-page .cbpod-object-data-section .cbpod-featuregrid-airbnb {
    margin-top: 34px;
}
.cbpo-portfolio-page .cbpod-object-features {
    margin-top: 30px;
}
.cbpo-portfolio-page .cbpod-object-feature-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}
.cbpo-portfolio-page .cbpod-object-feature {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 8px 13px;
    border: 1px solid #dce6f5;
    border-radius: 999px;
    background: #fff;
    color: #012169;
    font-size: 14px;
    font-weight: 600;
}
.cbpo-portfolio-page .cbpod-object-feature > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #f0f5fc;
    font-size: 12px;
}
@media (max-width: 680px) {
    .cbpo-portfolio-page .cbpod-featuregrid-airbnb {
        grid-template-columns: 1fr;
    }
    .cbpo-portfolio-page .cbpod-extra-label,
    .cbpo-portfolio-page .cbpod-extra-value {
        padding: 14px 16px;
    }
    .cbpo-portfolio-page .cbpod-extra-label {
        width: 48%;
        white-space: normal;
    }
    .cbpo-portfolio-page .cbpod-extra-value {
        width: 52%;
        word-break: break-word;
    }
}


/* 2.0.12 – Rules below are isolated to /portfolio and its ?pid detail view */
.cbpo-portfolio-page .cbpod-detail-body,
.cbpo-portfolio-page .cbpod-detail-main,
.cbpo-portfolio-page .cbpod-detail-main .cbpod-section,
.cbpo-portfolio-page .cbpod-object-data-section {
    color: #121212 !important;
}

.cbpo-portfolio-page .cbpod-detail-main .cbpod-section-title,
.cbpo-portfolio-page .cbpod-detail-main .cbpod-subsection-title,
.cbpo-portfolio-page .cbpod-object-data-section > .cbpod-section-title {
    color: #012169 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.cbpo-portfolio-page .cbpod-detail-main .cbpod-text,
.cbpo-portfolio-page .cbpod-detail-main .cbpod-text p,
.cbpo-portfolio-page .cbpod-detail-main .cbpod-text li,
.cbpo-portfolio-page .cbpod-detail-main .cbpod-text strong,
.cbpo-portfolio-page .cbpod-detail-main .cbpod-text em,
.cbpo-portfolio-page .cbpod-detail-main .cbpod-text span,
.cbpo-portfolio-page .cbpod-extra-introtext,
.cbpo-portfolio-page .cbpod-extra-introtext p,
.cbpo-portfolio-page .cbpod-extra-introtext li,
.cbpo-portfolio-page .cbpod-extra-introtext strong,
.cbpo-portfolio-page .cbpod-extra-introtext span {
    color: #374151 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.cbpo-portfolio-page .cbpod-detail-main .cbpod-text a,
.cbpo-portfolio-page .cbpod-extra-introtext a {
    color: #012169 !important;
}

.cbpo-portfolio-page .cbpod-detail-main .cbpod-text p:empty,
.cbpo-portfolio-page .cbpod-extra-introtext p:empty {
    display: none !important;
}

.cbpo-portfolio-page .cbpod-object-keyfacts {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    width: 100% !important;
    margin: 28px 0 0 !important;
}

.cbpo-portfolio-page .cbpod-object-keyfact {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 14px !important;
    min-width: 0 !important;
    min-height: 72px !important;
    padding: 15px 18px !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: #f4f7fc !important;
    box-shadow: none !important;
    color: #012169 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.cbpo-portfolio-page .cbpod-object-keyfact .cbpod-feature-icon,
.cbpo-portfolio-page .cbpod-object-keyfact .cbpod-feature-icon svg {
    color: #012169 !important;
    stroke: currentColor !important;
    opacity: 1 !important;
}

.cbpo-portfolio-page .cbpod-object-keyfact .cbpod-feature-text {
    display: block !important;
    min-width: 0 !important;
}

.cbpo-portfolio-page .cbpod-object-keyfact .cbpod-feature-label {
    display: block !important;
    margin: 0 0 3px !important;
    color: #667085 !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    letter-spacing: .06em !important;
    text-transform: uppercase !important;
    opacity: 1 !important;
}

.cbpo-portfolio-page .cbpod-object-keyfact .cbpod-feature-value {
    display: block !important;
    color: #012169 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    opacity: 1 !important;
}

.cbpo-portfolio-page .cbpod-object-feature,
.cbpo-portfolio-page .cbpod-object-feature span {
    color: #012169 !important;
    opacity: 1 !important;
}

.cbpo-portfolio-page .cbpod-extra-table,
.cbpo-portfolio-page .cbpod-extra-table td,
.cbpo-portfolio-page .cbpod-extra-table th,
.cbpo-portfolio-page .cbpod-extra-label,
.cbpo-portfolio-page .cbpod-extra-value {
    color: #121212 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.cbpo-portfolio-page .cbpod-extra-label {
    color: #012169 !important;
}

/* The gallery is the first visual block below the hero. Long descriptions follow
   the object-data cards instead of reserving invisible space above the gallery. */
.cbpo-portfolio-page .cbpod-detail-main > .cbpod-mosaic:first-child {
    margin-top: 0 !important;
}

@media (max-width: 680px) {
    .cbpo-portfolio-page .cbpod-object-keyfacts {
        grid-template-columns: 1fr !important;
    }
}


/* 2.0.14 – The full 2.0.12 detail renderer remains active for all normal
   property detail pages. Only the dedicated Castle Salzburg property is
   excluded from .cbpo-portfolio-page and uses its historic Objektstory view. */


/* 2.0.17 – Energy headline uses exactly the same typography as
   “Ausstattungsmerkmale” on portfolio detail pages. */
.cbpo-portfolio-page .cbpod-energy-certificate-section > .cbpod-energy-certificate-title {
    display: block !important;
    font-size: .95rem !important;
    font-weight: 700 !important;
    line-height: normal !important;
    color: #121212 !important;
    text-transform: uppercase !important;
    letter-spacing: .05em !important;
    margin-top: 45px !important;
    margin-bottom: 30px !important;
    padding: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* 2.0.18 – Portfolio search bath grammar and energy section order are handled in PHP. */


/* Mobile property cards: direct navigation, no hover-state tap interception */
@media (max-width: 768px) {
    .cbpo-card:hover {
        transform: none;
    }

    .cbpo-card:hover .cbpo-card-img {
        transform: none;
    }

    .cbpo-card,
    .cbpo-card-link {
        -webkit-tap-highlight-color: transparent;
        touch-action: pan-y;
    }
}


/* 2.0.24 – Touch devices: first tap must navigate the property card directly.
   Remove all hover-only visual state so iOS Safari does not reserve the first
   tap for a synthetic :hover state. */
@media (hover: none), (pointer: coarse) {
    .cbpo-card:hover {
        transform: none !important;
    }

    .cbpo-card:hover .cbpo-card-img {
        transform: none !important;
    }

    .cbpo-card-link {
        touch-action: pan-y;
        -webkit-tap-highlight-color: transparent;
    }
}
