/* ── bsb-about — direct port from about.css ─────────────────────────────── */

.bsb-about-wrapper {
    position:         relative;
    min-height:       100vh;
    width:            100vw;
    display:          flex;
    align-items:      center;
    background-color: #ffffff;
    overflow:         hidden;
}

/* ── Background image ────────────────────────────────────────────────────── */
.bsb-about-bg {
    position: absolute;
    top: 0;
    left: 0;
    width:  100%;
    height: 100%;
    z-index: 1;
}

.bsb-about-bg img {
    width:            100%;
    height:           100%;
    object-fit:       cover;
    object-position:  top center;
}

/* ── Container ───────────────────────────────────────────────────────────── */
.about-container {
    height:          100%;
    display:         flex;
    align-items:     center;
    z-index:         10;
    position:        relative;
    padding-top:     10rem;
    padding-bottom:  10rem;
}

/* Content side: right (default) */
.bsb-about--content-right .about-container {
    justify-content: flex-end;
}

/* Content side: left */
.bsb-about--content-left .about-container {
    justify-content: flex-start;
}

/* ── Text box ────────────────────────────────────────────────────────────── */
.bsb-about-content {
    width:       100%;
    max-width:   520px;
    color:       #000000;
    font-family: var(--bsb-font-primary);
}

.bsb-about--content-right .bsb-about-content { padding-right: 2rem; }
.bsb-about--content-left  .bsb-about-content { padding-left:  2rem; }

/* ── Word masking (set by JS) ────────────────────────────────────────────── */
.line-mask {
    display:        inline-block;
    vertical-align: top;
    overflow:       hidden;
    margin-right:   0.35em;
}

.line-inner {
    display:   block;
    transform: translateY(115%);
}

/* ── Paragraphs ──────────────────────────────────────────────────────────── */
.bsb-about-paragraph {
    font-size:     1.25rem;
    line-height:   1.6;
    margin-bottom: 2.5rem;
    font-weight:   400;
}

.bsb-about-paragraph:last-child {
    margin-bottom: 0;
}

.bsb-bold-paragraph {
    font-weight: 700;
    font-size:   1.25rem;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media ( max-width: 991px ) {
    .bsb-about-wrapper {
        flex-direction: column;
    }

    .bsb-about-bg {
        position: relative;
        height:   auto;
    }

    .about-container {
        padding:         4rem 20px;
        justify-content: flex-start !important;
    }

    .bsb-about-content {
        max-width:    100%;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}
