.about-img {
    position: relative;
    width: 100%;
    display: block;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 240px; /* fallback on small screens */
    overflow: hidden; /* required for zoom crop */
}

/* Put the background on a transformable layer */
.about-img::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1);
    transition: transform 300ms ease;
    will-change: transform;
    z-index: 0;
}

.about-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.15);
    z-index: 1;
}

@media (min-width: 992px) {
    .about-img.tall { height: 820px; } /* 400 + 400 + 20px gap */
}

/* Hover zoom */
.about-img:hover::before {
    transform: scale(1.05);
}

.about-content {
    position: absolute;
    left: 16px;
    bottom: 16px;
    z-index: 2;
    color: #fff;
    max-width: 70%;
}

.about-title {
    color: #fff;
    letter-spacing: .5px;
    font-size: 36px;
    font-weight: 700;
    text-shadow: 0 2px 6px rgba(0,0,0,.35);
}

.about-sub {
    margin-top: 6px;
    font-size: 15px;
    letter-spacing: .2px;
    text-shadow: 0 2px 6px rgba(0,0,0,.35);
}

.about-launch {
    margin-top: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px !important;
    background: transparent !important;
    border: 1px solid #fff !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    transition: all 0.2s ease !important;
    text-align: center;
    line-height: 1 !important;
}

.about-launch:hover {
    background-color: #fff !important;
    color: #000 !important;
}

/* About section responsive spacing */
.about-section-container {
    padding-left: 30px;
    padding-right: 30px;
}

.about-row {
    margin-left: 0;
    margin-right: 0;
}

.about-col-left {
    padding-right: 3px;
}

.about-col-right {
    padding-left: 0;
}

.about-nested-row {
    margin-left: 3px;
    margin-right: 0;
}

.about-row-top {
    margin-bottom: 12px;
}

.about-row-bottom {
    margin-top: 0;
}

/* Mobile adjustments */
@media (max-width: 991px) {
    /* Adjust slider background position to show more left side of image */
    .inspiro-slider .slide {
        background-position: 65% 20% !important;
    }
    
    .about-section-container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .about-col-left,
    .about-col-right {
        padding-left: 0;
        padding-right: 0;
        margin-bottom: 10px;
    }

    .about-nested-row {
        margin-left: 0;
        margin-right: 0;
    }

    .about-nested-row > .col-lg-12 {
        padding-left: 0;
        padding-right: 0;
    }

    .about-row-top {
        margin-bottom: 10px;
    }

    .about-row-bottom {
        margin-top: 0;
    }

    .about-img,
    .about-img.tall {
        height: 300px !important;
        min-height: 300px !important;
    }

    .about-content {
        left: 16px;
        bottom: 16px;
        max-width: 85%;
    }

    .about-title { font-size: 26px; }
}
