.aboutyb-section {
    position: relative;
    width: 100vw;
    height: 100vh;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: -8px;
    margin-bottom: -8px;
}

.aboutyb-section * {
    box-sizing: border-box;
}

.aboutyb-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
}

.aboutyb-bg img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    object-position: center;
    display: block;
}

.aboutyb-div1 {
    position: relative;
    z-index: 2;
    width: min(62vw, 820px);
    padding: clamp(3rem, 5vw, 5rem) clamp(2.5rem, 4vw, 4rem);
    margin: auto;
}

.aboutyb-asset {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
    z-index: -1;
    border-radius: 16px;
}

.aboutyb-content {
    display: flex;
    flex-direction: column;
    gap: clamp(1rem, 2vw, 1.4rem);
    align-items: center;
}

.aboutyb-div2 {
    margin: 0;
    font-family: "Playfair Display", serif;
    font-weight: 500;
    font-size: clamp(3rem, 3vw, 8rem);
    line-height: 1.2;
    color: #1a1a1a;
    text-align: center;
    width: 100%;
    margin-bottom: 2vh;
}

.aboutyb-div2 b {
    font-weight: 800;
}

.yb-highlight {
    font-style: italic;
    font-weight: 800;
    color: #b11212;
}

.aboutyb-div3 {
    display: flex;
    flex-direction: column;
    gap: clamp(0.6rem, 1.2vw, 1rem);
    width: 100%;
}

.aboutyb-div3 p {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(0.75rem, 1.1vw, 0.9rem);
    line-height: 1.7;
    color: #2b2b2b;
    text-align: left;
    font-weight: 500;
}

@media (min-width: 1024px) and (max-width: 1280px) and (pointer: fine) {
    .aboutyb-div1 {
        width: 48vw;
        padding: clamp(1.2rem, 2vw, 1.8rem);
    }

    .aboutyb-content {
        gap: 0.6rem;
    }

    .aboutyb-div2 {
        font-size: clamp(1.4rem, 2.4vw, 1.9rem);
        margin-bottom: 1vh;
    }

    .aboutyb-div3 {
        gap: 0.5rem;
    }

    .aboutyb-div3 p {
        font-size: clamp(0.72rem, 0.85vw, 0.82rem);
        line-height: 1.6;
    }
}

@media (min-width: 769px) and (max-width: 1024px) and (pointer: coarse) {
    .aboutyb-section {
        height: 100vh;
        min-height: 100vh;
        padding: 0;
    }

    .aboutyb-div1 {
        width: 82vw;
        padding: clamp(2.5rem, 5vw, 4.5rem);
    }

    .aboutyb-div2 {
        font-size: clamp(2.2rem, 5.5vw, 3.4rem);
    }

    .aboutyb-div3 p {
        font-size: clamp(1rem, 2.2vw, 1.3rem);
    }
}

@media (min-width: 769px) and (max-width: 1024px) and (pointer: coarse) and (max-height: 650px) {
    .aboutyb-div1 {
        width: 72vw;
        padding: clamp(1.2rem, 3vw, 2rem);
    }

    .aboutyb-content {
        gap: 0.5rem;
    }

    .aboutyb-div2 {
        font-size: clamp(1.4rem, 3.5vw, 2rem);
        margin-bottom: 1vh;
    }

    .aboutyb-div3 {
        gap: 0.4rem;
    }

    .aboutyb-div3 p {
        font-size: clamp(0.7rem, 1.4vw, 0.85rem);
        line-height: 1.5;
    }
}

@media (max-width: 768px) {
    .aboutyb-section {
        height: 100vh;
        min-height: 100vh;
        padding: 0;
        align-items: center;
    }

    .aboutyb-div1 {
        width: 88vw;
        padding: clamp(1.2rem, 5vw, 2rem);
        max-height: 80vh;
        overflow: hidden;
    }

    .aboutyb-content {
        gap: 0.8rem;
    }

    .aboutyb-div2 {
        font-size: clamp(1.8rem, 6vw, 9rem);
    }

    .aboutyb-div3 p {
        font-size: clamp(0.75rem, 3.2vw, 0.92rem);
    }
}
