.cms-feature-slider .carousel-item img {
    max-height: 480px;
    object-fit: cover;
}
.cms-feature-slider .carousel-caption {
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.55));
    left: 0;
    right: 0;
    bottom: 0;
    padding: 2rem 1.5rem 1.25rem;
    text-align: left;
}
.cms-feature-slider .carousel-caption h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}
.cms-tabs-block .nav-tabs .nav-link {
    font-weight: 600;
    color: #475569;
}
.cms-tabs-block .nav-tabs .nav-link.active {
    color: #4e73df;
}
.cms-accordion .accordion-button {
    font-weight: 600;
}
.cms-page-builder-zone .cms-feature-slider,
.cms-page-builder-zone .cms-tabs-block,
.cms-page-builder-zone .cms-accordion,
.cms-page-builder-zone .cms-content-feed {
    margin-bottom: 1.5rem;
}
.cms-feed-card-img,
.cms-feed-card-media .card-img-top {
    height: 180px;
    object-fit: cover;
    width: 100%;
}
.cms-feed-audio-cover {
    height: 120px;
    min-height: 120px;
}
.cms-feed-audio-play {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.92);
    color: #4e73df;
}
.cms-feed-slider-wrap {
    padding: 0 2.25rem;
}
.cms-feed-nav {
    color: #4e73df;
    width: 2rem;
    height: 2rem;
    margin-top: 0;
    top: 42%;
}
.cms-feed-nav::after {
    font-size: 1rem;
}
.cms-feed-card-title {
    font-size: 1rem;
    line-height: 1.35;
}
.cms-content-feed-placeholder {
    font-size: 0.95rem;
}

/* Editor canvas — match live grid and image behaviour */
.gjs-dashed .row,
body .row {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    --bs-gutter-x: 1.5rem;
    margin-right: calc(-0.5 * var(--bs-gutter-x));
    margin-left: calc(-0.5 * var(--bs-gutter-x));
}

.gjs-dashed .row > *,
body .row > * {
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
    padding-right: calc(var(--bs-gutter-x) * 0.5);
    padding-left: calc(var(--bs-gutter-x) * 0.5);
    flex-shrink: 0;
}

.gjs-dashed .row > *:not([class*="col-"]):not([style*="width"]),
body .row > *:not([class*="col-"]):not([style*="width"]) {
    width: 100%;
}

.gjs-dashed .row > [style*="width"],
body .row > [style*="width"] {
    flex: 0 0 auto !important;
}

.gjs-dashed .row img:not([style*="width"]):not([style*="height"]),
body .row img:not([style*="width"]):not([style*="height"]) {
    max-width: 100%;
    width: auto;
    height: auto;
    display: block;
}

.gjs-dashed .row > [class*="col-"],
.gjs-dashed .row > div[style*="width"],
body .row > [class*="col-"],
body .row > div[style*="width"] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}
