/* =========================================================================
   CommonLots — front-end styles
   Theme colors:
     --clpo-accent     dark purple toggle / brand
     --clpo-accent-soft light purple inactive toggle background
     --clpo-cta-bg     orange CTA + banner
   ========================================================================= */

.clpo-box,
.clpo-summary,
.clpo-pill,
.clpo-pills,
.clpo-details,
.clpo-gps,
.clpo-gallery,
.clpo-archive,
.clpo-filters,
.clpo-simple-cards,
.clpo-single-post {
    --clpo-accent: #4b0056;
    --clpo-accent-soft: #d9c4dd;
    --clpo-cta-bg: #f49014;
    --clpo-cta-color: #1a1a1a;
    --clpo-border: #eee;
    --clpo-text: #1a1a1a;
    --clpo-muted: #6b6b6b;
    --clpo-soft-bg: #f4f1ec;
    --clpo-link: #d9a64a;
    --clpo-radius: 16px;
    color: var(--clpo-text);
    font-family: inherit;
}

/* Consistent vertical rhythm between every CommonLots widget. */
.clpo-box,
.clpo-summary,
.clpo-pills,
.clpo-details,
.clpo-gps,
.clpo-gallery,
.clpo-archive,
.clpo-filters,
.clpo-simple-cards,
.clpo-single-post {
    margin-block: 0 28px;
}

/* =========================================================================
   Product Gallery
   ========================================================================= */
.clpo-gallery {
    --clpo-gallery-h: 550px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.clpo-gallery-main {
    position: relative;
    height: var(--clpo-gallery-h);
    border-radius: 14px;
    overflow: hidden;
    background: #f2f0eb;
}
/* Use !important to win against themes that ship `img { height:auto !important }`
   and against WooCommerce shop CSS that constrains product images. */
.clpo-gallery .clpo-gallery-main-img,
img.clpo-gallery-main-img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center center;
    display: block;
    transition: opacity .15s;
}
.clpo-gallery-main-img.is-loading { opacity: .6; }

.clpo-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 0;
    background: rgba(255,255,255,.9);
    color: #1a1a1a;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s, transform .15s;
    z-index: 2;
}
.clpo-gallery-nav:hover { background: #fff; transform: translateY(-50%) scale(1.05); }
.clpo-gallery-prev { left: 14px; }
.clpo-gallery-next { right: 14px; }

.clpo-gallery-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 4px;
}
.clpo-gallery-thumbs::-webkit-scrollbar { height: 6px; }
.clpo-gallery-thumbs::-webkit-scrollbar-thumb { background: #d8d8d8; border-radius: 3px; }

.clpo-gallery-thumb {
    flex: 0 0 auto;
    width: 110px;
    height: 80px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 10px;
    overflow: hidden;
    background: #f2f0eb;
    cursor: pointer;
    transition: border-color .15s, transform .15s;
}
.clpo-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.clpo-gallery-thumb:hover { transform: translateY(-1px); }
.clpo-gallery-thumb.is-active {
    border-color: var(--clpo-accent);
    box-shadow: 0 0 0 1px var(--clpo-accent);
}

@media (max-width: 640px) {
    .clpo-gallery-thumb { width: 80px; height: 60px; }
}

/* =========================================================================
   Pricing Box
   ========================================================================= */
.clpo-box {
    border: 1.5px solid var(--clpo-accent);
    border-radius: var(--clpo-radius);
    padding: 18px;
    background: #fff;
    font-size: 16px;
    line-height: 1.4;
    max-width: 520px;
}

.clpo-toggle {
    display: flex;
    background: var(--clpo-accent-soft);
    border-radius: 999px;
    padding: 4px;
    margin-bottom: 16px;
}
.clpo-toggle-btn {
    flex: 1;
    border: 0;
    background: transparent;
    color: var(--clpo-text);
    padding: 12px 14px;
    font-weight: 700;
    font-size: 15px;
    border-radius: 999px;
    cursor: pointer;
    transition: background .15s, color .15s;
}
.clpo-toggle-btn.is-active {
    background: var(--clpo-accent);
    color: #fff;
    box-shadow: 0 2px 6px rgba(75,0,86,.25);
}

.clpo-pane { display: none; }
.clpo-pane.is-active { display: block; }

.clpo-pane-title {
    background: var(--clpo-cta-bg);
    color: var(--clpo-cta-color);
    font-weight: 700;
    text-align: center;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 6px;
    font-size: 17px;
    letter-spacing: .2px;
}

.clpo-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 4px;
    border-bottom: 1px solid #f1f1f1;
    gap: 12px;
}
.clpo-row:last-of-type { border-bottom: 0; }
.clpo-row-label {
    color: var(--clpo-muted);
    font-size: 15px;
}
.clpo-row-value {
    font-weight: 700;
    color: var(--clpo-text);
    font-size: 15px;
}
.clpo-row-total {
    border-top: 1.5px solid #ececec;
    margin-top: 4px;
    padding-top: 14px;
    border-bottom: 0;
}
.clpo-row-total .clpo-row-label,
.clpo-row-total .clpo-row-value {
    color: var(--clpo-text);
    font-weight: 800;
    font-size: 17px;
}

.clpo-cta {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--clpo-cta-bg);
    color: var(--clpo-cta-color);
    font-weight: 800;
    padding: 14px;
    border-radius: 12px;
    text-decoration: none;
    margin-top: 14px;
    transition: filter .15s;
    font-size: 16px;
    letter-spacing: .2px;
}
.clpo-cta:hover { filter: brightness(.95); color: var(--clpo-cta-color); }

.clpo-foot-note {
    color: var(--clpo-muted);
    font-size: 13px;
    text-align: center;
    margin-top: 10px;
}

/* =========================================================================
   Product Card price
   ========================================================================= */
.clpo-card-price {
    display: block;
    line-height: 1.35;
}
.clpo-card-prefix,
.clpo-card-postfix {
    display: block;
    font-size: 13px;
    color: #6b6b6b;
    font-weight: 500;
}
.clpo-card-main {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
}

/* =========================================================================
   Pricing Summary — two-card layout
   ========================================================================= */
.clpo-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
@media (max-width: 640px) {
    .clpo-summary { grid-template-columns: 1fr; }
}
.clpo-summary-card {
    background: var(--clpo-soft-bg);
    border-radius: 14px;
    padding: 22px 26px;
    min-height: 96px;
}
.clpo-summary-label {
    font-size: 13px;
    color: var(--clpo-muted);
    text-transform: none;
    margin-bottom: 6px;
}
.clpo-summary-value {
    font-size: 30px;
    font-weight: 600;
    color: var(--clpo-text);
    line-height: 1.1;
}
.clpo-summary-value .woocommerce-Price-amount {
    font-weight: 600;
}
.clpo-summary-per {
    font-size: 24px;
    font-weight: 500;
}
.clpo-summary-sub {
    margin-top: 6px;
    font-size: 14px;
    color: var(--clpo-muted);
}

/* =========================================================================
   Pills (status + doc fee)
   ========================================================================= */
.clpo-pills {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
.clpo-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
}

/* Stock pill */
.clpo-pill-stock {
    background: #e9f7ee;
    color: #1f7a3b;
    border: 1px solid #bfe8cb;
}
.clpo-pill-stock.is-out-of-stock {
    background: #fdecec;
    color: #a32222;
    border-color: #f2c2c2;
}
.clpo-pill-stock.is-backorder {
    background: #fff4e0;
    color: #8a5a00;
    border-color: #f3d99a;
}
.clpo-pill-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    display: inline-block;
}

/* Doc fee pill (purple) */
.clpo-pill-fee {
    background: var(--clpo-accent);
    color: #fff;
}
.clpo-pill-fee .clpo-pill-label { opacity: .85; }
.clpo-pill-fee .clpo-pill-value {
    background: rgba(255,255,255,.18);
    padding: 4px 10px;
    border-radius: 999px;
    font-weight: 700;
}
.clpo-pill-fee .clpo-pill-value .woocommerce-Price-amount {
    color: #fff;
}

/* =========================================================================
   Property Details
   ========================================================================= */
.clpo-section-heading {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 14px;
    color: var(--clpo-text);
}
.clpo-details-grid {
    display: grid;
    gap: 0 48px;
    border-top: 1px solid #ececec;
}
.clpo-details-grid--1 { grid-template-columns: 1fr; }
.clpo-details-grid--2 { grid-template-columns: 1fr 1fr; }
.clpo-details-grid--3 { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 640px) {
    .clpo-details-grid--2,
    .clpo-details-grid--3 { grid-template-columns: 1fr; }
}

.clpo-details-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #ececec;
    gap: 16px;
}
.clpo-details-label {
    color: var(--clpo-muted);
    font-size: 15px;
}
.clpo-details-value {
    color: var(--clpo-text);
    font-weight: 600;
    font-size: 15px;
    text-align: right;
}

/* =========================================================================
   GPS Coordinates
   ========================================================================= */
.clpo-gps-list {
    border-top: 1px solid #ececec;
}
.clpo-gps-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #ececec;
}
.clpo-gps-label {
    color: var(--clpo-muted);
    font-size: 15px;
}
.clpo-gps-link {
    color: var(--clpo-link);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.clpo-gps-link:hover { text-decoration: underline; }
.clpo-gps-arrow { font-size: 14px; }
.clpo-gps-foot {
    color: var(--clpo-muted);
    font-size: 13px;
    margin-top: 14px;
}

/* =========================================================================
   Properties Archive
   ========================================================================= */
.clpo-archive { font-size: 15px; }

.clpo-archive-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.clpo-archive-sort label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}
.clpo-archive-sort select {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 8px 12px;
    background: #fff;
    font-size: 14px;
    cursor: pointer;
}
.clpo-archive-view {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}
.clpo-view-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    text-decoration: none;
    color: #999;
    font-size: 18px;
    border: 1px solid transparent;
    transition: color .15s, border-color .15s, background .15s;
}
.clpo-view-btn:hover { color: #ffa200; }
.clpo-view-btn.is-active {
    color: #ffa200;
    border-color: #ffa200;
    background: #fff7e6;
}

.clpo-archive-empty {
    padding: 32px;
    text-align: center;
    color: var(--clpo-muted);
    background: #fafafa;
    border-radius: 12px;
}

/* ---- List view (default) ---- */
.clpo-archive-items.is-view-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.is-view-list .clpo-archive-item {
    display: grid;
    grid-template-columns: 220px 1fr 200px;
    gap: 20px;
    padding: 16px;
    border: 1px solid #ececec;
    border-radius: 14px;
    background: #fff;
    align-items: center;
}
.is-view-list .clpo-archive-item-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 10px;
    background: #f3f3f3;
}
.is-view-list .clpo-archive-item-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
}
.is-view-list .clpo-archive-item-title {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}
.is-view-list .clpo-archive-item-title a { color: var(--clpo-text); text-decoration: none; }
.is-view-list .clpo-archive-item-excerpt {
    color: #555;
    margin: 0 0 8px;
    font-size: 14px;
    line-height: 1.5;
}
.is-view-list .clpo-archive-item-link {
    color: #ffa200;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}
.is-view-list .clpo-archive-item-link:hover { text-decoration: underline; }

.is-view-list .clpo-archive-item-pricing {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-end;
}

/* ---- Grid view ---- */
.clpo-archive-items.is-view-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.is-view-grid .clpo-archive-item {
    display: flex;
    flex-direction: column;
    padding: 14px;
    border: 1px solid #ececec;
    border-radius: 14px;
    background: #fff;
}
.is-view-grid .clpo-archive-item-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 10px;
    background: #f3f3f3;
    margin-bottom: 12px;
}
.is-view-grid .clpo-archive-item-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
}
.is-view-grid .clpo-archive-item-title {
    margin: 8px 0 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
}
.is-view-grid .clpo-archive-item-title a { color: var(--clpo-text); text-decoration: none; }
.is-view-grid .clpo-archive-item-excerpt,
.is-view-grid .clpo-archive-item-link { display: none; }
.is-view-grid .clpo-archive-item-pricing {
    /* Natural order: image -> title -> pricing -> doc fee */
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 8px;
}
.is-view-grid .clpo-archive-cta { display: none; }

/* ---- Card display tag pills ---- */
.clpo-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}
.clpo-card-tag {
    display: inline-block;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    padding: 5px 11px;
    border-radius: 999px;
    letter-spacing: .2px;
    white-space: nowrap;
}
/* Grid/showcase card: pills sit at the very bottom, below the pricing block. */
.is-view-grid .clpo-card-tags {
    margin-top: 12px;
}
/* List view: pills sit inside the body, right under "View full details". */
.is-view-list .clpo-card-tags {
    margin-top: 10px;
}
/* Simple cards: align pills with the padded title/price, at the bottom. */
.clpo-simple-card .clpo-card-tags {
    margin: 0 16px 16px;
}

/* ---- Pricing block ---- */
.clpo-archive-price {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.clpo-archive-price-label {
    font-size: 12px;
    color: var(--clpo-muted);
    text-transform: uppercase;
    letter-spacing: .5px;
}
.clpo-archive-price-value {
    font-size: 22px;
    font-weight: 700;
    color: #ffa200;
    line-height: 1.1;
}
.clpo-archive-finance,
.clpo-archive-doc {
    font-size: 13px;
    color: #555;
    line-height: 1.45;
}
.clpo-archive-doc { color: var(--clpo-muted); }
.clpo-archive-cta {
    display: inline-block;
    margin-top: 8px;
    padding: 10px 18px;
    background: #4b0056;
    color: #fff !important;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .3px;
    text-transform: uppercase;
    transition: background .15s;
}
.clpo-archive-cta:hover { background: #380041; }

/* ---- Pagination ---- */
.clpo-archive-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 24px;
}
.clpo-archive-pagination a,
.clpo-archive-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--clpo-text);
    border: 1px solid #eee;
    font-weight: 600;
}
.clpo-archive-pagination .current {
    background: #4b0056;
    color: #fff;
    border-color: #4b0056;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .clpo-archive-items.is-view-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 782px) {
    .clpo-archive-items.is-view-grid { grid-template-columns: repeat(2, 1fr); }

    /* Mobile: hide the grid/list toggle — always show the card (grid) layout. */
    .clpo-archive-view { display: none !important; }

    /* Force list view to render as cards on mobile so it matches grid. */
    .clpo-archive-items.is-view-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .is-view-list .clpo-archive-item {
        display: flex;
        flex-direction: column;
        padding: 14px;
        gap: 0;
    }
    .is-view-list .clpo-archive-item-image {
        aspect-ratio: 4 / 3;
        margin-bottom: 12px;
    }
    .is-view-list .clpo-archive-item-excerpt,
    .is-view-list .clpo-archive-item-link,
    .is-view-list .clpo-archive-cta {
        display: none;
    }
    .is-view-list .clpo-archive-item-title {
        font-size: 15px;
        font-weight: 600;
        margin: 8px 0 0;
    }
    /* Left-align the pricing block (not centered) on mobile, matching the title. */
    .is-view-list .clpo-archive-item-pricing,
    .is-view-grid .clpo-archive-item-pricing {
        text-align: left;
        align-items: flex-start;
        margin-top: 8px;
    }
    .is-view-list .clpo-archive-price,
    .is-view-grid .clpo-archive-price {
        align-items: flex-start;
        text-align: left;
    }
    .is-view-list .clpo-archive-finance,
    .is-view-list .clpo-archive-doc,
    .is-view-grid .clpo-archive-finance,
    .is-view-grid .clpo-archive-doc {
        text-align: left;
    }
}
@media (max-width: 480px) {
    .clpo-archive-items.is-view-grid,
    .clpo-archive-items.is-view-list { grid-template-columns: 1fr; }
}

/* =========================================================================
   Properties Filters (sidebar)
   ========================================================================= */
.clpo-filters {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 14px;
    padding: 4px 18px;
}
.clpo-filters-heading {
    color: #4b0056;
    margin: 14px 0 4px;
    font-size: 22px;
    font-weight: 700;
}

.clpo-filter-group {
    border-bottom: 1px solid #eee;
    padding: 14px 0;
}
.clpo-filter-group[open] { padding-bottom: 16px; }
.clpo-filter-group:last-of-type { border-bottom: 0; }

.clpo-filter-title {
    list-style: none;
    cursor: pointer;
    font-weight: 700;
    font-size: 16px;
    color: var(--clpo-text);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.clpo-filter-title::-webkit-details-marker { display: none; }
.clpo-filter-toggle {
    width: 16px;
    height: 16px;
    position: relative;
}
.clpo-filter-toggle::before,
.clpo-filter-toggle::after {
    content: "";
    position: absolute;
    background: var(--clpo-text);
    transition: transform .2s;
}
.clpo-filter-toggle::before { /* horizontal bar */
    top: 50%; left: 0; right: 0; height: 2px;
    transform: translateY(-50%);
}
.clpo-filter-toggle::after  { /* vertical bar */
    left: 50%; top: 0; bottom: 0; width: 2px;
    transform: translateX(-50%);
}
.clpo-filter-group[open] .clpo-filter-toggle::after {
    transform: translateX(-50%) scaleY(0);
}

.clpo-filter-options {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.clpo-filter-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--clpo-text);
    cursor: pointer;
    padding: 4px 0;
}
.clpo-filter-row input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #4b0056;
    margin: 0;
}
.clpo-filter-row .clpo-filter-label { flex: 1; }
.clpo-filter-row .clpo-filter-count { color: var(--clpo-muted); font-size: 13px; }
.clpo-filter-row:hover .clpo-filter-label { color: #4b0056; }

.clpo-filters-apply {
    margin-top: 14px;
    width: 100%;
    padding: 12px;
    background: #4b0056;
    color: #fff;
    border: 0;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
}

@media (max-width: 782px) {
    .clpo-filters { padding: 4px 14px; }
}

/* =========================================================================
   Merchandise Archive
   ========================================================================= */
.clpo-merch-items {
    display: grid;
    grid-template-columns: repeat(var(--clpo-merch-cols, 3), 1fr);
    gap: 20px;
}
.clpo-merch-item {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 14px;
    padding: 14px;
}
.clpo-merch-item-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 10px;
    background: #f3f3f3;
    margin-bottom: 12px;
}
.clpo-merch-item-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
}
.clpo-merch-item-title {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
}
.clpo-merch-item-title a { color: var(--clpo-text); text-decoration: none; }
.clpo-merch-item-price {
    color: #ffa200;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 12px;
}
.clpo-merch-item-price ins { text-decoration: none; }
.clpo-merch-item-price del { color: #999; font-weight: 500; font-size: 14px; margin-right: 6px; }
.clpo-merch-item-cta {
    margin-top: auto;
    display: inline-block;
    text-align: center;
    padding: 11px 16px;
    background: #4b0056;
    color: #fff !important;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .3px;
    text-transform: uppercase;
    transition: background .15s;
}
.clpo-merch-item-cta:hover { background: #380041; }

@media (max-width: 1024px) {
    .clpo-merch-items { grid-template-columns: repeat(min(var(--clpo-merch-cols, 3), 3), 1fr); }
}
@media (max-width: 782px) {
    .clpo-merch-items { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .clpo-merch-items { grid-template-columns: 1fr; }
}

/* =========================================================================
   Blog Cards Archive
   ========================================================================= */
.clpo-blog-items {
    display: grid;
    grid-template-columns: repeat(var(--clpo-blog-cols, 3), 1fr);
    gap: 22px;
}
.clpo-blog-item {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 14px;
    overflow: hidden;
    transition: transform .15s, box-shadow .15s;
}
.clpo-blog-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0,0,0,.06);
}
.clpo-blog-item-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #f3f3f3;
    overflow: hidden;
}
.clpo-blog-item-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
}
.clpo-blog-item-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f6f0f8, #fff6e0);
}
.clpo-blog-item-body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}
.clpo-blog-item-cat {
    display: inline-block;
    align-self: flex-start;
    background: #f6ecf8;
    color: #4b0056;
    padding: 4px 10px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .3px;
    text-transform: uppercase;
}
.clpo-blog-item-cat:hover { background: #4b0056; color: #fff; }

.clpo-blog-item-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}
.clpo-blog-item-title a { color: var(--clpo-text); text-decoration: none; }
.clpo-blog-item-title a:hover { color: #4b0056; }

.clpo-blog-item-excerpt {
    color: #555;
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
}
.clpo-blog-item-meta {
    margin-top: auto;
    padding-top: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--clpo-muted);
    font-size: 13px;
}
.clpo-blog-item-cta {
    color: #ffa200;
    font-weight: 700;
    text-decoration: none;
}
.clpo-blog-item-cta:hover { text-decoration: underline; }

@media (max-width: 1024px) {
    .clpo-blog-items { grid-template-columns: repeat(min(var(--clpo-blog-cols, 3), 2), 1fr); }
}
@media (max-width: 640px) {
    .clpo-blog-items { grid-template-columns: 1fr; }
}

/* =========================================================================
   Properties Simple Cards (image + title + price)
   ========================================================================= */
.clpo-simple-cards-items {
    display: grid;
    grid-template-columns: repeat(var(--clpo-simple-cols, 3), 1fr);
    gap: 22px;
}
.clpo-simple-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 14px;
    overflow: hidden;
    transition: transform .15s, box-shadow .15s;
}
.clpo-simple-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0,0,0,.06);
}
.clpo-simple-card-image {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    background: #f3f3f3;
    overflow: hidden;
}
.clpo-simple-card-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
}
.clpo-simple-card-title {
    margin: 14px 16px 6px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
}
.clpo-simple-card-title a {
    color: var(--clpo-text);
    text-decoration: none;
}
.clpo-simple-card-title a:hover { color: #4b0056; }
.clpo-simple-card-price {
    margin: 0 16px 16px;
    color: #ffa200;
    font-weight: 700;
    font-size: 18px;
}
.clpo-simple-card-price ins { text-decoration: none; }
.clpo-simple-card-price del { color: #999; font-weight: 500; font-size: 14px; margin-right: 6px; }

@media (max-width: 1024px) {
    .clpo-simple-cards-items { grid-template-columns: repeat(min(var(--clpo-simple-cols, 3), 3), 1fr); }
}
@media (max-width: 782px) {
    .clpo-simple-cards-items { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .clpo-simple-cards-items { grid-template-columns: 1fr; }
}

/* =========================================================================
   Single Post layout (Theme Builder template) — v1.6
   ========================================================================= */
.clpo-single-post {
    max-width: 860px;
    margin-inline: auto;
    color: var(--clpo-text);
    background: #fff;
    border-radius: 18px;
    padding: 36px clamp(20px, 5vw, 56px) 44px;
    box-shadow: 0 1px 2px rgba(0,0,0,.04);
}

/* Reading progress bar */
.clpo-single-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(0,0,0,.05);
    z-index: 9999;
    pointer-events: none;
}
.clpo-single-progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #4b0056, #ffa200);
    transition: width .1s linear;
}

/* Hero image */
.clpo-single-post-hero {
    --clpo-single-h: 460px;
    margin: 0 -10px 28px;
    height: var(--clpo-single-h);
    border-radius: 16px;
    overflow: hidden;
    background: #f3f3f3;
}
.clpo-single-post-hero img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
}

/* Header */
.clpo-single-post-header { margin-bottom: 30px; }
.clpo-single-post-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}
.clpo-single-post-cat {
    display: inline-block;
    background: #f6ecf8;
    color: #4b0056;
    padding: 6px 14px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .4px;
    text-transform: uppercase;
    transition: background .15s, color .15s;
}
.clpo-single-post-cat:hover { background: #4b0056; color: #fff; }

.clpo-single-post-title {
    margin: 0 0 20px;
    font-size: clamp(32px, 5vw, 50px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.02em;
    color: #1a1a1a;
}

/* Meta row with avatar + share */
.clpo-single-post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    padding: 16px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}
.clpo-single-post-avatar img {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    display: block;
}
.clpo-single-post-byline {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}
.clpo-single-post-author {
    color: var(--clpo-text);
    font-weight: 700;
    font-size: 14px;
}
.clpo-single-post-meta-sub {
    color: var(--clpo-muted);
    font-size: 13px;
    display: flex;
    gap: 8px;
    align-items: center;
}
.clpo-single-post-sep { opacity: .4; }
.clpo-single-post-meta .clpo-single-share { margin-left: auto; }

/* Share buttons */
.clpo-single-share {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.clpo-single-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #f4f0f6;
    color: #4b0056;
    border: 0;
    cursor: pointer;
    text-decoration: none;
    transition: background .15s, color .15s, transform .15s;
}
.clpo-single-share-btn svg { width: 16px; height: 16px; }
.clpo-single-share-btn:hover {
    background: #4b0056;
    color: #fff;
    transform: translateY(-1px);
}
.clpo-single-share-btn.is-copied {
    background: #1f7a3b;
    color: #fff;
}

/* Inline TOC */
.clpo-single-toc {
    background: #faf7fb;
    border: 1px solid #ece2f0;
    border-radius: 12px;
    padding: 14px 18px;
    margin: 28px 0;
}
.clpo-single-toc-title {
    list-style: none;
    cursor: pointer;
    font-weight: 800;
    color: #4b0056;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.clpo-single-toc-title::-webkit-details-marker { display: none; }
.clpo-single-toc-toggle {
    width: 14px; height: 14px; position: relative;
}
.clpo-single-toc-toggle::before,
.clpo-single-toc-toggle::after {
    content: ""; position: absolute; background: currentColor; transition: transform .2s;
}
.clpo-single-toc-toggle::before { top: 50%; left: 0; right: 0; height: 2px; transform: translateY(-50%); }
.clpo-single-toc-toggle::after  { left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-50%); }
.clpo-single-toc[open] .clpo-single-toc-toggle::after { transform: translateX(-50%) scaleY(0); }
.clpo-single-toc-list {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
    counter-reset: tocitem;
    columns: 2;
    column-gap: 28px;
}
.clpo-single-toc-item {
    margin: 0 0 6px;
    break-inside: avoid;
}
.clpo-single-toc-item.is-level-3 { padding-left: 14px; }
.clpo-single-toc-item a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.5;
    display: inline-block;
}
.clpo-single-toc-item a::before {
    counter-increment: tocitem;
    content: counter(tocitem) ". ";
    color: #4b0056;
    font-weight: 700;
    margin-right: 4px;
}
.clpo-single-toc-item.is-level-3 a::before { content: ""; }
.clpo-single-toc-item a:hover { color: #4b0056; text-decoration: underline; }
@media (max-width: 640px) {
    .clpo-single-toc-list { columns: 1; }
}

/* Content typography */
.clpo-single-post-content {
    font-size: 18px;
    line-height: 1.75;
    color: #2a2a2a;
    scroll-margin-top: 80px;
}
.clpo-single-post-content > * { margin: 0 0 1.1em; }
.clpo-single-post-content > p:first-of-type {
    font-size: 20px;
    color: #3a3a3a;
    line-height: 1.6;
}
.clpo-single-post-content h2 {
    position: relative;
    margin: 2em 0 .6em;
    padding-bottom: 12px;
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 800;
    color: #1a1a1a;
    letter-spacing: -.015em;
    line-height: 1.2;
    scroll-margin-top: 80px;
}
.clpo-single-post-content h2::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 48px; height: 3px;
    background: #ffa200;
    border-radius: 2px;
}
.clpo-single-post-content h3 {
    margin: 1.6em 0 .5em;
    font-size: clamp(20px, 2.4vw, 24px);
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
    scroll-margin-top: 80px;
}
.clpo-single-post-content h4 {
    margin: 1.4em 0 .4em;
    font-size: 17px;
    font-weight: 700;
    color: #4b0056;
    text-transform: uppercase;
    letter-spacing: .4px;
}
.clpo-single-post-content p { margin: 0 0 1.2em; }
.clpo-single-post-content a {
    color: #4b0056;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    text-decoration-color: rgba(75,0,86,.3);
    transition: text-decoration-color .15s, color .15s;
}
.clpo-single-post-content a:hover { color: #ffa200; text-decoration-color: #ffa200; }
.clpo-single-post-content strong { color: #1a1a1a; font-weight: 700; }
.clpo-single-post-content blockquote {
    margin: 1.6em 0;
    padding: 18px 24px;
    border-left: 4px solid #ffa200;
    background: linear-gradient(135deg, #faf6fb 0%, #fffaf0 100%);
    font-size: 18px;
    font-style: italic;
    color: #2a2a2a;
    border-radius: 0 12px 12px 0;
    position: relative;
}
.clpo-single-post-content blockquote::before {
    content: "\201C";
    position: absolute;
    top: -8px; left: 14px;
    font-size: 56px;
    color: #4b0056;
    line-height: 1;
    font-family: Georgia, serif;
    opacity: .25;
}
.clpo-single-post-content blockquote p { margin: 0; }
.clpo-single-post-content img,
.clpo-single-post-content figure {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    margin: 1.6em auto;
}
.clpo-single-post-content figcaption {
    text-align: center;
    color: var(--clpo-muted);
    font-size: 14px;
    margin-top: 8px;
}
.clpo-single-post-content ul,
.clpo-single-post-content ol {
    margin: 0 0 1.3em;
    padding-left: 1.5em;
}
.clpo-single-post-content ul li { list-style: none; position: relative; padding-left: 4px; }
.clpo-single-post-content ul li::before {
    content: "";
    position: absolute;
    left: -1.2em;
    top: .65em;
    width: 7px;
    height: 7px;
    background: #ffa200;
    border-radius: 50%;
}
.clpo-single-post-content ol li::marker { color: #4b0056; font-weight: 700; }
.clpo-single-post-content li { margin-bottom: .5em; }
.clpo-single-post-content li > strong:first-child {
    color: #4b0056;
}
.clpo-single-post-content pre {
    background: #1e1e2e;
    color: #f8f8f2;
    padding: 18px 20px;
    border-radius: 12px;
    overflow-x: auto;
    font-size: 14px;
    line-height: 1.6;
}
.clpo-single-post-content code {
    background: #f4f0f6;
    color: #4b0056;
    padding: 2px 7px;
    border-radius: 4px;
    font-size: .92em;
    font-weight: 600;
}
.clpo-single-post-content pre code { background: transparent; color: inherit; padding: 0; font-weight: 400; }
.clpo-single-post-content hr {
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #ddd, transparent);
    margin: 2.4em 0;
}
.clpo-single-post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.6em 0;
    font-size: 15px;
}
.clpo-single-post-content th {
    background: #4b0056;
    color: #fff;
    padding: 12px 14px;
    text-align: left;
    font-weight: 700;
}
.clpo-single-post-content td {
    padding: 12px 14px;
    border-bottom: 1px solid #eee;
}
.clpo-single-post-content tr:last-child td { border-bottom: 0; }

/* Tags row */
.clpo-single-tags {
    margin: 36px 0 24px;
    padding: 18px 0;
    border-top: 1px solid #eee;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}
.clpo-single-tags-label {
    color: var(--clpo-muted);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-right: 4px;
}
.clpo-single-tag {
    display: inline-block;
    background: #f4f0f6;
    color: #4b0056;
    padding: 6px 14px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: background .15s, color .15s;
}
.clpo-single-tag:hover { background: #4b0056; color: #fff; }

/* Bottom share row */
.clpo-single-share-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 14px 0 32px;
    padding: 18px 22px;
    background: #faf7fb;
    border-radius: 12px;
    flex-wrap: wrap;
}
.clpo-single-share-label {
    color: var(--clpo-text);
    font-weight: 700;
    font-size: 14px;
}
.clpo-single-share-row .clpo-single-share { margin-left: auto; }

/* Author bio */
.clpo-single-author {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 24px;
    background: linear-gradient(135deg, #faf7fb 0%, #fffaf0 100%);
    border-radius: 14px;
    margin: 28px 0;
}
.clpo-single-author-avatar img {
    width: 72px !important;
    height: 72px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    display: block;
}
.clpo-single-author-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: var(--clpo-muted);
    margin-bottom: 4px;
}
.clpo-single-author-name {
    margin: 0 0 6px;
    font-size: 20px;
    font-weight: 800;
    color: #1a1a1a;
}
.clpo-single-author-name a {
    color: inherit;
    text-decoration: none;
}
.clpo-single-author-name a:hover { color: #4b0056; }
.clpo-single-author-desc {
    margin: 0;
    color: #444;
    font-size: 15px;
    line-height: 1.6;
}

/* Prev / Next */
.clpo-single-adjacent {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 32px 0;
}
.clpo-single-adjacent-link {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    text-decoration: none;
    color: var(--clpo-text);
    transition: border-color .15s, transform .15s, box-shadow .15s;
}
.clpo-single-adjacent-link:not(.is-empty):hover {
    border-color: #4b0056;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0,0,0,.05);
}
.clpo-single-adjacent-link.is-empty {
    background: transparent;
    border: 1px dashed #eee;
    pointer-events: none;
}
.clpo-single-adjacent-link.is-next { text-align: right; }
.clpo-single-adjacent-dir {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #4b0056;
}
.clpo-single-adjacent-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    color: #1a1a1a;
}

/* Related */
.clpo-single-related {
    margin: 40px 0 8px;
    padding-top: 32px;
    border-top: 1px solid #eee;
}
.clpo-single-related-heading {
    font-size: 24px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 18px;
}
.clpo-single-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.clpo-single-related-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: var(--clpo-text);
    transition: transform .15s, box-shadow .15s;
}
.clpo-single-related-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0,0,0,.05);
}
.clpo-single-related-image {
    display: block;
    aspect-ratio: 16/9;
    background: #f3f3f3;
    overflow: hidden;
}
.clpo-single-related-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
}
.clpo-single-related-meta {
    display: block;
    font-size: 12px;
    color: var(--clpo-muted);
    padding: 12px 14px 0;
}
.clpo-single-related-title {
    margin: 4px 14px 14px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
}

/* Responsive */
@media (max-width: 782px) {
    .clpo-single-post { padding: 22px 18px 28px; border-radius: 14px; }
    .clpo-single-post-hero { margin: 0 0 22px; }
    .clpo-single-post-meta { gap: 10px; }
    .clpo-single-post-meta .clpo-single-share { margin-left: 0; width: 100%; }
    .clpo-single-related-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
    .clpo-single-adjacent { grid-template-columns: 1fr; }
    .clpo-single-related-grid { grid-template-columns: 1fr; }
    .clpo-single-author { flex-direction: column; align-items: flex-start; gap: 14px; }
}

/* =========================================================================
   Testimonials Slider (custom widget)
   ========================================================================= */
.clpo-tm {
    --clpo-tm-cols: 3;
    --clpo-tm-gap: 20px;
    --clpo-tm-star: #ffa200;
    --clpo-tm-accent: #4b0056;
    position: relative;
    margin-block: 0 28px;
}
.clpo-tm-track {
    display: flex;
    gap: var(--clpo-tm-gap);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding-bottom: 8px;
}
.clpo-tm-track::-webkit-scrollbar { display: none; }

.clpo-tm-slide {
    flex: 0 0 calc((100% - (var(--clpo-tm-cols) - 1) * var(--clpo-tm-gap)) / var(--clpo-tm-cols));
    scroll-snap-align: start;
    display: flex;
}
.clpo-tm-card {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 14px;
    padding: 22px 22px 18px;
    display: flex;
    flex-direction: column;
    width: 100%;
    box-shadow: 0 1px 2px rgba(0,0,0,.03);
}

.clpo-stars {
    position: relative;
    display: inline-block;
    font-size: 18px;
    letter-spacing: 3px;
    line-height: 1;
    margin-bottom: 12px;
    color: #e0e0e0;
}
.clpo-stars-bg { color: #e0e0e0; }
.clpo-stars-fg {
    position: absolute;
    top: 0;
    left: 0;
    color: var(--clpo-tm-star);
    overflow: hidden;
    white-space: nowrap;
    pointer-events: none;
}

.clpo-tm-text {
    color: #333;
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 18px;
    flex: 1;
}

.clpo-tm-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
}
.clpo-tm-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    overflow: hidden;
    background: #f0eaf2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.clpo-tm-avatar img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
}
.clpo-tm-initial {
    color: var(--clpo-tm-accent);
    font-weight: 800;
    font-size: 18px;
}
.clpo-tm-author-info {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}
.clpo-tm-name {
    font-weight: 700;
    color: var(--clpo-tm-accent);
    font-size: 14px;
}
.clpo-tm-designation {
    color: #888;
    font-size: 13px;
    margin-top: 2px;
}

/* Nav arrows */
.clpo-tm-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 0;
    background: #fff;
    color: #555;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,.12);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: background .15s, color .15s;
}
.clpo-tm-nav:hover { background: var(--clpo-tm-accent); color: #fff; }
.clpo-tm-prev { left: -18px; }
.clpo-tm-next { right: -18px; }

/* Dots */
.clpo-tm-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
}
.clpo-tm-dot {
    width: 9px;
    height: 9px;
    border: 0;
    border-radius: 50%;
    background: #d8d3da;
    cursor: pointer;
    padding: 0;
    transition: background .15s, transform .15s;
}
.clpo-tm-dot.is-active {
    background: var(--clpo-tm-accent);
    transform: scale(1.25);
}

/* Read more button (shared with native Elementor testimonials below) */
.clpo-readmore {
    appearance: none;
    background: transparent;
    border: 0;
    padding: 0;
    margin-left: 6px;
    color: #4b0056;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.clpo-readmore:hover { color: #ffa200; }

@media (max-width: 480px) {
    .clpo-tm-prev { left: 4px; }
    .clpo-tm-next { right: 4px; }
}

/* =========================================================================
   Elementor native testimonials — equal-height + read-more enhancement
   ========================================================================= */
.elementor-widget-testimonial.clpo-tm-equalize .elementor-testimonial-wrapper,
.elementor-widget-testimonial-carousel.clpo-tm-equalize .elementor-testimonial__wrapper {
    height: 100%;
    display: flex;
    flex-direction: column;
}
.elementor-widget-testimonial.clpo-tm-equalize .elementor-testimonial-content,
.elementor-widget-testimonial.clpo-tm-equalize .elementor-testimonial-text,
.elementor-widget-testimonial-carousel.clpo-tm-equalize .elementor-testimonial__text {
    flex: 1;
}
/* Make grid/columns of Elementor testimonials have equal-height columns. */
.elementor-widget-testimonial.clpo-tm-equalize,
.elementor-widget-testimonial-carousel.clpo-tm-equalize { height: 100%; }
