.smtwn-cb {
    position: relative;
    display: block;
    clear: both;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 45px 0 0;
}
.smtwn-cb .row {
    margin-left: -15px;
    margin-right: -15px;
}
.smtwn-cb .col-md-4,
.smtwn-cb .col-md-6,
.smtwn-cb .col-sm-6 {
    margin-bottom: 30px;
}
.smtwn-cb-card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    aspect-ratio: 4 / 3;
    background: transparent;
}
.smtwn-cb-card h4 {
    text-align: left !important;
}
.smtwn-cb-card--small h4 {
    font-size: 20px !important;
}
.smtwn-cb-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}
.smtwn-cb-card:hover img {
    transform: scale(1.03);
}
.smtwn-cb-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to top,
            rgba(0,0,0,0.82) 0%,
            rgba(0,0,0,0.50) 45%,
            rgba(0,0,0,0.22) 100%
        );
}
.smtwn-cb-card--small .smtwn-cb-overlay {
    background:
        linear-gradient(
            to top,
            rgba(0,0,0,.95) 0%,
            rgba(0,0,0,0.65) 45%,
            rgba(0,0,0,0.28) 100%
        );
}
.smtwn-cb-badge {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
    padding: 12px 20px;
    background: #c00700;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.smtwn-cb-badge-brown {
    background: #9a7a54;
}
.smtwn-cb-badge-grey {
    background: #8a8a8a;
}
.smtwn-cb-content {
    position: absolute;
    left: 30px;
    right: 30px;
    bottom: 28px;
    z-index: 2;
}
.smtwn-cb-content h4 {
    margin: 0 0 14px;
    font-size: 26px;
    color: #fff;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.45);
}
.smtwn-cb-content p {
    font-size: 15px;
    margin: 0 0 24px;
    color: rgba(255,255,255,0.92);
    text-shadow: 1px 1px 8px rgba(0,0,0,0.4);
}
.smtwn-cb-card:hover .smtwn-cb-button {
    background: #fff;
    color: #222;
    text-decoration: none;
}
@media (max-width: 1200px) and (min-width: 992px) {
    .smtwn-cb-card {
        aspect-ratio: 1 / 1;
    }
}
@media (max-width: 991px) {
    .smtwn-cb-title {
        font-size: 40px;
        margin-bottom: 40px;
    }
    .smtwn-cb-content {
        left: 24px;
        right: 24px;
        bottom: 24px;
    }
    .smtwn-cb-content h4 {
        font-size: 30px;
    }
    .smtwn-cb-content p {
        font-size: 15px;
        margin-bottom: 20px;
    }
}
@media (max-width: 767px) {
    .smtwn-cb {
    position: relative;
    display: block;
    clear: both;
        padding: 70px 0;
    }
    .smtwn-cb .col-md-4,
    .smtwn-cb .col-sm-6 {
        width: 100%;
        float: none;
    }
    .smtwn-cb-card {
        aspect-ratio: 4 / 3;
    }
    .smtwn-cb-content {
        left: 22px;
        right: 22px;
        bottom: 22px;
    }
    .smtwn-cb-content h4 {
        font-size: 30px;
    }
    .smtwn-cb-content p {
        font-size: 15px;
        margin-bottom: 18px;
    }
    .smtwn-cb-button {
        padding: 12px 18px;
        font-size: 12px;
    }
}

.smtwn-cb::before,
.smtwn-cb::after {
    display: table;
    content: "";
}
.smtwn-cb::after {
    clear: both;
}
.smtwn-cb + .smtwn-cb {
    margin-top: 0;
    padding-top: 0;
}
