/**
 * About page — mobile/tablet layout (max-width 991.98px).
 * Desktop banner/chairman/mission framing unchanged at ≥992px.
 */

@media (max-width: 991.98px) {
    /* --- Banner: full-frame photo; title over lower area with bottom gradient --- */
    .about-banner-shell {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .about-banner-shell__media {
        position: relative;
        width: 100%;
        line-height: 0;
    }

    .about-banner-shell__photo {
        display: block;
        width: 100%;
        max-width: 100%;
        height: auto;
        vertical-align: middle;
    }

    .about-banner-shell__shade {
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: linear-gradient(
            to top,
            rgba(15, 22, 38, 0.88) 0%,
            rgba(15, 22, 38, 0.45) 22%,
            rgba(15, 22, 38, 0.08) 45%,
            transparent 62%
        );
    }

    .about-banner-shell__head.about-banner.dlab-bnr-inr {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1;
        height: auto !important;
        min-height: 0 !important;
        padding: 0 0 0.85rem !important;
        margin: 0;
        background: none !important;
        background-image: none !important;
    }

    .about-banner-shell__head.overlay-black-middle::after {
        display: none;
    }

    .about-banner-shell__head.bg-pt {
        background-size: unset;
    }

    .about-banner-shell__head .container {
        padding-bottom: 0;
    }

    .about-banner .dlab-bnr-inr-entry {
        padding-bottom: 0;
    }

    .about-banner .dlab-bnr-inr-entry h1 {
        font-size: clamp(1.35rem, 5vw, 1.75rem);
        line-height: 1.25;
        margin-bottom: 0.35rem;
        text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
    }

    .about-banner-shell__head .breadcrumb-row a,
    .about-banner-shell__head .breadcrumb-row li {
        color: rgba(255, 255, 255, 0.92);
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
    }

    .sv-page-body .sv-story {
        gap: 1.25rem;
    }

    .sv-page-body .sv-story__figure {
        margin: 0;
        border-radius: 12px;
        overflow: hidden;
        max-height: min(52vw, 280px);
    }

    .sv-page-body .sv-story__figure img {
        display: block;
        width: 100%;
        height: auto;
        max-height: min(52vw, 280px);
        object-fit: cover;
        object-position: center center;
    }

    .sv-page-body .sv-chairman {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .sv-page-body .sv-chairman__inner {
        gap: 1.25rem;
    }

    /* Chairman card (suresh2.jpeg) — full portrait, no cover crop */
    .sv-page-body .sv-chairman__portrait {
        max-width: min(280px, 88vw);
        width: 100%;
        aspect-ratio: auto !important;
        height: auto !important;
        background: #fff;
    }

    .sv-page-body .sv-chairman__portrait img {
        display: block;
        width: 100% !important;
        height: auto !important;
        max-width: 100%;
        object-fit: contain !important;
        object-position: center top;
    }

    /* Mission visual (suresh.jpeg) — separate asset; do not shallow-crop portrait */
    .sv-page-body .sv-mission__visual {
        min-height: 0 !important;
        height: auto !important;
        margin: 0 auto 1rem;
        padding: 0 clamp(0.75rem, 4vw, 1.25rem);
        display: flex;
        justify-content: center;
        background: transparent;
    }

    .sv-page-body .sv-mission__visual img {
        display: block;
        width: auto !important;
        max-width: min(100%, 320px) !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        object-fit: contain !important;
        object-position: center top !important;
    }

    .sv-page-body .sv-capabilities__card-media img {
        width: 100%;
        height: auto;
        max-height: 240px;
        object-fit: contain;
        object-position: center;
    }
}

/* Desktop About banner (≥992px): cover band + overlay (unchanged) */
@media (min-width: 992px) {
    .about-banner-shell__media {
        position: relative;
    }

    .about-banner-shell__photo,
    .about-banner-shell__shade {
        display: none;
    }

    .about-banner-shell__head.about-banner.dlab-bnr-inr {
        position: relative;
        height: 650px !important;
        min-height: 650px !important;
        background-image: var(--about-banner-bg) !important;
        background-size: cover !important;
        background-position: center top !important;
        background-repeat: no-repeat !important;
        padding: 0 !important;
    }

    .about-banner-shell__head.overlay-black-middle::after {
        display: block;
    }
}
