.about-list {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    padding: 5rem 7.5rem;
    width: 100%;
}

.about-box {
    align-items: stretch;
    display: flex;
    gap: 2.5rem;
    max-width: 62.5rem;
    width: 100%;
}

.about-box:nth-child(odd) {
    margin-right: auto;
}

.about-box:nth-child(even) {
    flex-direction: row-reverse;
    margin-left: auto;
}

.about-img {
    align-self: center;
    flex: 0 0 25rem;
    height: 25rem;
    object-fit: cover;
}

.about-content {
    background-color: #5e1300;
    border-radius: 0.3125rem;
    box-shadow: 0.5rem 0.5rem 0 0 #72200048;
    box-sizing: border-box;
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    min-width: 0;
    padding: 1.5rem 1.25rem;
}

.about-heading {
    color: #ffbb00;
    font-family: Verdana, sans-serif;
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
}

.about-text {
    color: #ffffff;
    font-family: Verdana, sans-serif;
    font-size: 1.125rem;
    line-height: 1.5;
}

@media (max-width: 767px) {
    .about-list {
        padding: 2.5rem 1.5rem;
        gap: 3.5rem;
    }

    .about-box,
    .about-box:nth-child(even) {
        flex-direction: column;
        margin: 0;
        max-width: 100%;
    }

    .about-img {
        flex: 0 0 auto;
        height: auto;
        object-fit: contain;
        order: 2;
        width: 100%;
    }

    .about-content {
        order: 1;
    }
}
