:root {
    --cev-ink: #17212b;
    --cev-muted: #66717d;
    --cev-line: #dfe5ea;
    --cev-panel: #ffffff;
    --cev-soft: #f5f7f8;
    --cev-accent: #d71920;
    --cev-accent-dark: #a90f16;
    --cev-green: #157347;
    --cev-radius: 8px;
}

.cev-template {
    background: #fff;
}

.cev-template-inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 42px 0 58px;
}

.cev-archive-header {
    margin: 0 0 28px;
}

.cev-eyebrow {
    margin: 0 0 6px;
    color: var(--cev-accent);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.cev-archive-header h1 {
    margin: 0;
    font-size: 42px;
    line-height: 1.05;
}

.cev-archive-description {
    max-width: 760px;
    margin-top: 12px;
    color: var(--cev-muted);
}

.cev-listing,
.cev-single-hero,
.cev-section,
.cev-notice {
    color: var(--cev-ink);
    font-family: inherit;
}

.cev-filters {
    display: grid;
    grid-template-columns: repeat(6, minmax(120px, 1fr));
    gap: 12px;
    align-items: end;
    padding: 18px;
    margin: 0 0 22px;
    background: var(--cev-soft);
    border: 1px solid var(--cev-line);
    border-radius: var(--cev-radius);
}

.cev-listing {
    position: relative;
}

.cev-listing.is-loading {
    cursor: progress;
}

.cev-listing.is-loading [data-cev-results] {
    opacity: 0.45;
    pointer-events: none;
}

.cev-filter-toggle {
    display: none;
}

.cev-filters label {
    display: grid;
    gap: 6px;
    margin: 0;
}

.cev-filters span {
    color: var(--cev-muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.cev-filters select,
.cev-filters input {
    min-height: 42px;
    width: 100%;
    border: 1px solid var(--cev-line);
    border-radius: 6px;
    background: #fff;
    color: var(--cev-ink);
    padding: 8px 10px;
}

.cev-filter-reset {
    color: var(--cev-muted);
    font-weight: 700;
    text-decoration: none;
    padding: 10px 0;
}

.cev-results-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 14px;
}

.cev-results-count {
    color: var(--cev-muted);
    font-weight: 700;
}

.cev-active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cev-active-filters span {
    padding: 5px 8px;
    border: 1px solid var(--cev-line);
    border-radius: 999px;
    background: #fff;
    color: var(--cev-muted);
    font-size: 12px;
    font-weight: 700;
}

.cev-grid {
    display: grid;
    grid-template-columns: repeat(var(--cev-columns, 3), minmax(0, 1fr));
    gap: 22px;
}

.cev-listing-slider {
    position: relative;
}

.cev-slider-shell {
    position: relative;
}

.cev-slider-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(280px, calc((100% - (22px * (var(--cev-columns, 3) - 1))) / var(--cev-columns, 3)));
    grid-template-columns: none;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 4px 2px 18px;
}

.cev-slider-track::-webkit-scrollbar {
    display: none;
}

.cev-slider-track .cev-card {
    scroll-snap-align: start;
}

.cev-slider-nav {
    position: absolute;
    top: 50%;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--cev-line);
    border-radius: 999px;
    background: #fff;
    color: var(--cev-ink);
    box-shadow: 0 12px 28px rgba(23, 33, 43, 0.14);
    cursor: pointer;
    font-size: 30px;
    line-height: 1;
    transform: translateY(-50%);
    transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.cev-slider-nav:hover {
    background: var(--cev-accent);
    color: #fff;
    transform: translateY(-50%) scale(1.04);
}

.cev-slider-prev {
    left: -18px;
}

.cev-slider-next {
    right: -18px;
}

.cev-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    background: var(--cev-panel);
    border: 1px solid var(--cev-line);
    border-radius: var(--cev-radius);
    box-shadow: 0 10px 24px rgba(23, 33, 43, 0.07);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.cev-card:hover {
    border-color: #cbd6dd;
    box-shadow: 0 16px 36px rgba(23, 33, 43, 0.12);
    transform: translateY(-2px);
}

.cev-card-media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #e9eef2;
}

.cev-card-image,
.cev-single-main-image,
.cev-single-thumb {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 220ms ease;
}

.cev-card:hover .cev-card-image {
    transform: scale(1.035);
}

.cev-card-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e9eef2, #cfd8df);
}

.cev-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    max-width: calc(100% - 24px);
    padding: 6px 10px;
    border-radius: 4px;
    background: var(--cev-accent);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
}

.cev-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 12px;
    padding: 18px;
}

.cev-card-kicker {
    color: var(--cev-accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.cev-card-title {
    margin: 0;
    color: var(--cev-ink);
    font-size: 20px;
    line-height: 1.25;
}

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

.cev-card-meta,
.cev-summary-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.cev-card-meta span,
.cev-summary-facts span {
    display: grid;
    gap: 2px;
    min-width: 0;
    color: var(--cev-ink);
    font-size: 14px;
}

.cev-card-meta strong,
.cev-summary-facts strong {
    color: var(--cev-muted);
    font-size: 11px;
    text-transform: uppercase;
}

.cev-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--cev-line);
}

.cev-price {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: baseline;
    font-weight: 800;
}

.cev-price-old {
    color: var(--cev-muted);
    font-size: 14px;
    text-decoration: line-through;
}

.cev-price-current {
    color: var(--cev-green);
    font-size: 20px;
}

.cev-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 16px;
    border: 1px solid var(--cev-ink);
    border-radius: 6px;
    background: #fff;
    color: var(--cev-ink);
    font-weight: 800;
    line-height: 1.1;
    text-decoration: none;
    white-space: nowrap;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.cev-button:hover {
    transform: translateY(-1px);
}

.cev-button-primary {
    border-color: var(--cev-accent);
    background: var(--cev-accent);
    color: #fff;
}

.cev-button-primary:hover {
    border-color: var(--cev-accent-dark);
    background: var(--cev-accent-dark);
    color: #fff;
}

.cev-button-secondary {
    border-color: var(--cev-line);
}

.cev-empty {
    grid-column: 1 / -1;
    margin: 0;
    padding: 24px;
    background: var(--cev-soft);
    border-radius: var(--cev-radius);
}

.cev-single-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
    gap: 28px;
    align-items: start;
    margin-bottom: 34px;
}

.cev-single-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.cev-lightbox-link {
    position: relative;
    display: block;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    cursor: zoom-in;
}

.cev-lightbox-link::after {
    content: "Ampliar";
    position: absolute;
    right: 10px;
    bottom: 10px;
    padding: 6px 9px;
    border-radius: 999px;
    background: rgba(23, 33, 43, 0.78);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 160ms ease, transform 160ms ease;
}

.cev-lightbox-link:hover::after {
    opacity: 1;
    transform: translateY(0);
}

.cev-single-main-link {
    grid-column: 1 / -1;
    border-radius: var(--cev-radius);
}

.cev-single-thumb-link {
    border-radius: 6px;
}

.cev-single-gallery:empty {
    min-height: 420px;
    border-radius: var(--cev-radius);
    background: linear-gradient(135deg, #edf2f4, #d7e0e6);
}

.cev-single-main-image {
    aspect-ratio: 16 / 10;
    border-radius: var(--cev-radius);
    background: #e9eef2;
}

.cev-single-thumb {
    aspect-ratio: 4 / 3;
    border-radius: 6px;
    background: #e9eef2;
}

.cev-single-summary {
    position: sticky;
    top: 20px;
    padding: 22px;
    background: var(--cev-panel);
    border: 1px solid var(--cev-line);
    border-radius: var(--cev-radius);
    box-shadow: 0 12px 30px rgba(23, 33, 43, 0.08);
}

.cev-single-summary h1 {
    margin: 6px 0 14px;
    font-size: 32px;
    line-height: 1.15;
}

.cev-single-price {
    margin-bottom: 8px;
}

.cev-monthly {
    margin: 0 0 16px;
    color: var(--cev-muted);
    font-weight: 700;
}

.cev-cta-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 18px;
}

.cev-modal-open {
    overflow: hidden;
}

.cev-interest-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: grid;
    place-items: center;
    padding: 24px;
}

.cev-interest-modal[hidden] {
    display: none;
}

.cev-interest-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 31, 0.62);
    backdrop-filter: blur(4px);
}

.cev-interest-dialog {
    position: relative;
    width: min(560px, 100%);
    max-height: min(760px, calc(100vh - 48px));
    overflow: auto;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: var(--cev-radius);
    background: #fff;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.cev-interest-close {
    position: absolute;
    top: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--cev-line);
    border-radius: 999px;
    background: #fff;
    color: var(--cev-ink);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.cev-interest-dialog h2 {
    margin: 0 42px 8px 0;
    font-size: 30px;
    line-height: 1.1;
}

.cev-interest-lead {
    margin: 0 0 18px;
    color: var(--cev-muted);
}

.cev-interest-form {
    display: grid;
    gap: 14px;
}

.cev-interest-form label {
    display: grid;
    gap: 6px;
    margin: 0;
    color: var(--cev-ink);
    font-weight: 800;
}

.cev-interest-form label span {
    font-size: 13px;
}

.cev-interest-form input,
.cev-interest-form textarea {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid var(--cev-line);
    border-radius: 6px;
    background: #fff;
    color: var(--cev-ink);
    font: inherit;
    font-weight: 500;
}

.cev-interest-form textarea {
    resize: vertical;
}

.cev-interest-privacy {
    grid-template-columns: 18px minmax(0, 1fr);
    align-items: start;
    color: var(--cev-muted);
    font-weight: 500;
}

.cev-interest-privacy input {
    width: 18px;
    min-height: 18px;
    margin-top: 2px;
}

.cev-interest-privacy span {
    font-size: 13px;
    line-height: 1.45;
}

.cev-form-status {
    min-height: 20px;
    margin: -2px 0 0;
    color: var(--cev-muted);
    font-size: 14px;
    font-weight: 700;
}

.cev-form-status[data-type="success"] {
    color: var(--cev-green);
}

.cev-form-status[data-type="error"] {
    color: var(--cev-accent);
}

.cev-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) 72px;
    align-items: center;
    gap: 12px;
    padding: 28px;
    background: rgba(10, 15, 20, 0.88);
    backdrop-filter: blur(6px);
}

.cev-lightbox[hidden] {
    display: none;
}

.cev-lightbox-frame {
    display: grid;
    justify-items: center;
    gap: 14px;
    min-width: 0;
    margin: 0;
}

.cev-lightbox-frame img {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 132px);
    width: auto;
    height: auto;
    border-radius: var(--cev-radius);
    background: #fff;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
    object-fit: contain;
}

.cev-lightbox-frame figcaption {
    min-height: 20px;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    text-align: center;
}

.cev-lightbox-close,
.cev-lightbox-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    cursor: pointer;
    transition: background 160ms ease, transform 160ms ease;
}

.cev-lightbox-close:hover,
.cev-lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-1px);
}

.cev-lightbox-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    font-size: 28px;
    line-height: 1;
}

.cev-lightbox-nav {
    width: 54px;
    height: 54px;
    justify-self: center;
    font-size: 42px;
    line-height: 1;
}

.cev-lightbox-prev {
    grid-column: 1;
}

.cev-lightbox-next {
    grid-column: 3;
}

.cev-lightbox-frame {
    grid-column: 2;
}

.cev-section {
    margin: 34px 0;
}

.cev-section h2 {
    margin: 0 0 16px;
    font-size: 28px;
}

.cev-spec-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: hidden;
    margin: 0;
    border: 1px solid var(--cev-line);
    border-radius: var(--cev-radius);
    background: #fff;
}

.cev-spec-grid div {
    padding: 14px;
    background: #fff;
    border-right: 1px solid var(--cev-line);
    border-bottom: 1px solid var(--cev-line);
}

.cev-spec-grid div:nth-child(4n) {
    border-right: 0;
}

.cev-spec-grid div:nth-last-child(-n + 4) {
    border-bottom: 0;
}

.cev-spec-grid div:last-child {
    border-right: 0;
}

.cev-spec-grid dt {
    color: var(--cev-muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.cev-spec-grid dd {
    margin: 4px 0 0;
    color: var(--cev-ink);
    font-size: 16px;
    font-weight: 700;
}

.cev-content-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.cev-text-block {
    padding-top: 18px;
    border-top: 2px solid var(--cev-line);
}

.cev-text-block h3 {
    margin: 0 0 8px;
    font-size: 20px;
}

.cev-text-block p {
    margin: 0;
    color: var(--cev-muted);
}

.cev-notice {
    margin: 22px 0 0;
    color: var(--cev-muted);
    font-size: 13px;
}

.cev-media-section {
    display: grid;
    gap: 24px;
}

.cev-floorplans {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.cev-floorplans figure {
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--cev-line);
    border-radius: var(--cev-radius);
    background: #fff;
}

.cev-floorplans img {
    display: block;
    width: 100%;
    height: auto;
}

.cev-floorplan-link {
    background: #fff;
}

.cev-floorplans figcaption {
    padding: 10px 12px;
    color: var(--cev-muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.cev-video {
    overflow: hidden;
    border-radius: var(--cev-radius);
}

.cev-video iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
}

.cev-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 28px;
}

.cev-pagination a,
.cev-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
    padding: 0 12px;
    border: 1px solid var(--cev-line);
    border-radius: 6px;
    background: #fff;
    color: var(--cev-ink);
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
}

.cev-pagination a.is-active,
.cev-pagination .current,
.cev-pagination a:hover {
    border-color: var(--cev-accent);
    background: var(--cev-accent);
    color: #fff;
}

.cev-pagination .dots {
    border-color: transparent;
    background: transparent;
    color: var(--cev-muted);
}

.cev-blog-template {
    color: #232628;
}

.cev-blog-template .cev-template-inner {
    width: min(1500px, calc(100% - 64px));
    padding-top: 72px;
}

.cev-blog-breadcrumb {
    display: flex;
    gap: 9px;
    align-items: center;
    padding: 0 0 18px;
    margin: 0 0 56px;
    border-bottom: 1px solid #d9dde1;
    color: #9b9b9b;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.cev-blog-breadcrumb a {
    color: inherit;
    text-decoration: none;
}

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

.cev-blog-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 62px;
    align-items: start;
}

.cev-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 56px 34px;
}

.cev-blog-card {
    background: #fff;
}

.cev-blog-card-image {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 8.8;
    background: #e9edf1;
    color: #777;
    text-decoration: none;
}

.cev-blog-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 220ms ease;
}

.cev-blog-card-image span {
    display: grid;
    min-height: 100%;
    place-items: center;
    padding: 24px;
    text-align: center;
}

.cev-blog-card:hover .cev-blog-card-image img {
    transform: scale(1.03);
}

.cev-blog-card-body {
    min-height: 190px;
    padding: 0 46px 26px;
    border: 1px solid #d9dde1;
    border-top: 0;
}

.cev-blog-card h2 {
    min-height: 104px;
    margin: 0;
    padding-top: 13px;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: 0;
}

.cev-blog-card h2 a {
    color: #444;
    text-decoration: none;
}

.cev-blog-card h2 a:hover {
    color: var(--cev-accent);
}

.cev-blog-card-divider {
    height: 1px;
    margin: 0 0 16px;
    background: #d9dde1;
}

.cev-blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 26px;
    align-items: center;
    color: #8f8f8f;
    font-size: 15px;
    line-height: 1.55;
}

.cev-blog-meta span {
    display: inline-flex;
    gap: 8px;
    align-items: center;
}

.cev-blog-meta svg,
.cev-blog-search svg {
    width: 18px;
    height: 18px;
    fill: var(--cev-accent);
    flex: 0 0 auto;
}

.cev-blog-sidebar {
    display: grid;
    gap: 46px;
}

.cev-blog-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    height: 52px;
    margin: 0;
}

.cev-blog-search input {
    width: 100%;
    min-width: 0;
    height: 52px;
    padding: 0 22px;
    border: 0;
    background: #e8edf2;
    color: #232628;
    font-size: 18px;
    outline: 0;
}

.cev-blog-search input::placeholder {
    color: #777;
}

.cev-blog-search button {
    display: grid;
    width: 44px;
    height: 52px;
    place-items: center;
    border: 0;
    background: var(--cev-accent);
    cursor: pointer;
}

.cev-blog-search button svg {
    fill: #fff;
}

.cev-blog-widget {
    padding: 36px 0 46px;
    border-top: 1px solid #d9dde1;
    border-bottom: 1px solid #d9dde1;
}

.cev-blog-widget h2 {
    margin: 0 0 20px;
    color: #232628;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.15;
    text-transform: uppercase;
}

.cev-blog-widget ul {
    display: grid;
    gap: 17px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.cev-blog-widget a {
    color: #8a8a8a;
    font-size: 17px;
    line-height: 1.45;
    text-decoration: none;
}

.cev-blog-widget a:hover {
    color: var(--cev-accent);
}

.cev-blog-pagination {
    margin-top: 46px;
}

.cev-blog-empty {
    max-width: 700px;
    padding: 42px;
    border: 1px solid #d9dde1;
    background: #fff;
}

.cev-blog-empty h1 {
    margin: 0 0 10px;
    font-size: 34px;
}

.cev-blog-empty p {
    margin: 0 0 20px;
    color: var(--cev-muted);
}

.cev-blog-empty a {
    color: var(--cev-accent);
    font-weight: 800;
}

.cev-blog-single .cev-template-inner {
    padding-top: 32px;
}

.cev-blog-single-header h1 {
    max-width: 1060px;
    margin: 0 0 48px;
    color: #1f2328;
    font-size: clamp(38px, 4.2vw, 58px);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: 0;
}

.cev-blog-featured {
    margin: 0 0 58px;
}

.cev-blog-featured img {
    display: block;
    width: 100%;
    max-height: 690px;
    object-fit: cover;
}

.cev-blog-featured .cev-blog-meta {
    justify-content: space-between;
    padding: 18px 24px;
    background: #1f2326;
    color: #d8d8d8;
}

.cev-blog-content {
    color: #333;
    font-size: 18px;
    line-height: 1.7;
}

.cev-blog-content > * {
    max-width: 100%;
}

.cev-blog-content p {
    margin: 0 0 24px;
}

.cev-blog-content h2,
.cev-blog-content h3,
.cev-blog-content h4 {
    margin: 36px 0 16px;
    color: #232628;
    line-height: 1.25;
}

.cev-blog-content a {
    color: var(--cev-accent);
    font-weight: 700;
}

.cev-blog-content img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 1100px) {
    .cev-filters {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .cev-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cev-slider-track {
        grid-auto-columns: minmax(280px, calc((100% - 22px) / 2));
    }

    .cev-spec-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cev-spec-grid div:nth-child(4n) {
        border-right: 1px solid var(--cev-line);
    }

    .cev-spec-grid div:nth-child(2n) {
        border-right: 0;
    }

    .cev-spec-grid div:nth-last-child(-n + 4) {
        border-bottom: 1px solid var(--cev-line);
    }

    .cev-spec-grid div:nth-last-child(-n + 2) {
        border-bottom: 0;
    }

    .cev-blog-layout {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .cev-blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cev-blog-sidebar {
        max-width: none;
    }
}

@media (max-width: 760px) {
    .cev-grid,
    .cev-single-hero,
    .cev-content-columns,
    .cev-floorplans {
        grid-template-columns: 1fr;
    }

    .cev-slider-track {
        grid-template-columns: none;
        grid-auto-columns: minmax(82%, 1fr);
        padding-right: 18px;
    }

    .cev-slider-prev {
        left: 4px;
    }

    .cev-slider-next {
        right: 4px;
    }

    .cev-filter-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        min-height: 48px;
        margin: 0 0 12px;
        padding: 12px 14px;
        border: 1px solid var(--cev-line);
        border-radius: var(--cev-radius);
        background: #fff;
        color: var(--cev-ink);
        font-weight: 800;
        cursor: pointer;
    }

    .cev-filter-toggle::after {
        content: "";
        width: 9px;
        height: 9px;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: rotate(45deg);
        transition: transform 160ms ease;
    }

    .cev-filter-toggle strong {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 22px;
        height: 22px;
        margin-left: auto;
        margin-right: 12px;
        border-radius: 999px;
        background: var(--cev-accent);
        color: #fff;
        font-size: 12px;
    }

    .cev-listing.is-filter-open .cev-filter-toggle::after {
        transform: rotate(225deg);
    }

    .cev-filters {
        display: none;
        grid-template-columns: 1fr;
        margin-bottom: 18px;
    }

    .cev-listing.is-filter-open .cev-filters {
        display: grid;
    }

    .cev-card-bottom {
        align-items: stretch;
        flex-direction: column;
    }

    .cev-button {
        width: 100%;
    }

    .cev-single-summary {
        position: static;
    }

    .cev-single-summary h1 {
        font-size: 26px;
    }

    .cev-spec-grid {
        grid-template-columns: 1fr;
    }

    .cev-spec-grid div,
    .cev-spec-grid div:nth-child(2n),
    .cev-spec-grid div:nth-child(4n) {
        border-right: 0;
    }

    .cev-spec-grid div:nth-last-child(-n + 2) {
        border-bottom: 1px solid var(--cev-line);
    }

    .cev-spec-grid div:last-child {
        border-bottom: 0;
    }

    .cev-lightbox {
        grid-template-columns: 1fr 1fr;
        align-content: center;
        gap: 14px;
        padding: 18px;
    }

    .cev-lightbox-frame {
        grid-column: 1 / -1;
        grid-row: 1;
    }

    .cev-lightbox-frame img {
        max-height: calc(100vh - 152px);
    }

    .cev-lightbox-nav {
        grid-row: 2;
        width: 48px;
        height: 48px;
        font-size: 34px;
    }

    .cev-lightbox-prev {
        grid-column: 1;
        justify-self: end;
    }

    .cev-lightbox-next {
        grid-column: 2;
        justify-self: start;
    }

    .cev-lightbox-close {
        top: 12px;
        right: 12px;
    }

    .cev-blog-template .cev-template-inner {
        width: min(100% - 28px, 1500px);
        padding-top: 34px;
    }

    .cev-blog-breadcrumb {
        margin-bottom: 28px;
    }

    .cev-blog-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .cev-blog-card-body {
        min-height: 0;
        padding: 0 24px 22px;
    }

    .cev-blog-card h2 {
        min-height: 0;
        margin-bottom: 18px;
        font-size: 22px;
    }

    .cev-blog-single-header h1 {
        margin-bottom: 28px;
        font-size: 34px;
    }

    .cev-blog-featured {
        margin-bottom: 34px;
    }

    .cev-blog-featured .cev-blog-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .cev-blog-content {
        font-size: 17px;
    }
}
