.boa-p-estudios .boa-p-section > .boa-container {
    box-sizing: border-box;
    max-width: 1000px;
    padding: 10px;
}

.boa-p-estudios .boa-p-page-title {
    line-height: 45px;
    margin: 0 0 12px;
}

.boa-p-estudios .boa-p-actions .boa-btn {
    padding: 7px 20px;
    font-size: 15px;
    line-height: 1;
}

.boa-p-estudios .boa-p-lead {
    margin: 20px 0 0;
}

.boa-p-estudios .boa-p-section + .boa-p-section {
    margin-top: 30px;
}

.boa-p-estudios .boa-p-section:nth-of-type(2) > .boa-container {
    columns: 2;
    column-gap: 30px;
}

.boa-p-estudios .boa-p-section:nth-of-type(2) > .boa-container > p + p {
    margin-top: 24px;
}

.boa-p-estudios .boa-p-section:nth-of-type(3) {
    margin-top: 42px;
    margin-bottom: 40px;
}

.boa-p-estudios .boa-p-section:nth-of-type(3) > .boa-container {
    max-width: 1210px;
    padding: 0;
}

.boa-p-estudios .boa-p-gallery {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: 0;
}

.boa-p-estudios .boa-p-gallery-row {
    display: grid;
    column-gap: 22px;
    align-items: start;
}

.boa-p-estudios .boa-p-gallery-row:nth-child(1) {
    grid-template-columns: 0.75fr 1.5fr;
}

.boa-p-estudios .boa-p-gallery-row:nth-child(2) {
    grid-template-columns: 1fr 1fr;
}

.boa-p-estudios .boa-p-gallery-row:nth-child(3) {
    grid-template-columns: 0.75fr 0.667fr 0.75fr;
}

.boa-p-estudios .boa-p-gallery-row:nth-child(4) {
    grid-template-columns: 1.219fr 1.004fr;
}

.boa-p-estudios .boa-p-gallery-item {
    flex: none;
    height: auto;
    min-width: 0;
    overflow: visible;
    margin: 0;
}

.boa-p-estudios .boa-p-gallery-item img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center center;
    border-radius: 3px;
}

.boa-p-estudios .boa-p-gallery-row:nth-child(1) > .boa-p-gallery-item:nth-child(1) img {
    aspect-ratio: 396 / 510;
}

.boa-p-estudios .boa-p-gallery-row:nth-child(1) > .boa-p-gallery-item:nth-child(2) img {
    aspect-ratio: 792 / 510;
}

.boa-p-estudios .boa-p-gallery-row:nth-child(2) > .boa-p-gallery-item img {
    aspect-ratio: 594 / 376;
}

.boa-p-estudios .boa-p-gallery-row:nth-child(3) > .boa-p-gallery-item:nth-child(1) img {
    aspect-ratio: 403.6 / 529;
}

.boa-p-estudios .boa-p-gallery-row:nth-child(3) > .boa-p-gallery-item:nth-child(2) img {
    aspect-ratio: 358.9 / 529;
}

.boa-p-estudios .boa-p-gallery-row:nth-child(3) > .boa-p-gallery-item:nth-child(3) img {
    aspect-ratio: 403.6 / 529;
}

.boa-p-estudios .boa-p-gallery-row:nth-child(4) > .boa-p-gallery-item:nth-child(1) img {
    aspect-ratio: 651 / 516;
}

.boa-p-estudios .boa-p-gallery-row:nth-child(4) > .boa-p-gallery-item:nth-child(2) img {
    aspect-ratio: 536.5 / 516;
}

.boa-p-estudios .boa-p-gallery-item figcaption {
    font-family: var(--boa-font, 'Roboto', Arial, sans-serif);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    color: #000;
    margin: 2px 0 0;
}

@media (max-width: 767px) {
    .boa-p-estudios .boa-p-section--first {
        margin-top: 50px;
    }

    .boa-p-estudios .boa-p-section > .boa-container {
        padding: 0 15px;
    }

    .boa-p-estudios .boa-p-section + .boa-p-section {
        margin-top: 50px;
    }

    .boa-p-estudios .boa-p-section:nth-of-type(2) > .boa-container {
        columns: 1;
    }

    .boa-p-estudios .boa-p-section:nth-of-type(3) {
        margin-top: 60px;
    }

    .boa-p-estudios .boa-p-section:nth-of-type(3) > .boa-container {
        max-width: 100%;
        padding: 0 22px;
    }

    .boa-p-estudios .boa-p-title {
        margin-bottom: 20px;
    }

    .boa-p-estudios .boa-p-actions .boa-btn {
        font-size: 18px;
    }

    .boa-p-estudios .boa-p-gallery,
    .boa-p-estudios .boa-p-gallery-row {
        gap: 10px;
    }

    .boa-p-estudios .boa-p-gallery-row {
        display: flex;
        flex-direction: column;
    }

    .boa-p-estudios .boa-p-gallery-item img {
        aspect-ratio: auto;
    }
}
