.about-frame {
    position: relative;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 0.4rem;
    isolation: isolate;
    overflow: hidden;
}

.about-panel {
    position: relative;
    z-index: 1;
    width: min(560px, 42vw);
    min-height: min(620px, 60vh);
    padding: 1.35rem 1.5rem 5.1rem;
    border: 1px solid #8a8a8a;
    background: #d7d7d7;
    box-shadow: inset 1px 1px 0 #f7f7f7, inset -1px -1px 0 #b3b3b3;
    justify-self: center;
    align-self: start;
    margin-top: 0.7rem;
}

.about-text h2,
.about-text h3,
.about-text p,
.about-text li,
.about-text ul {
    color: #111111;
    opacity: 1;
}

.about-text h2 {
    margin-bottom: 0.5rem;
    font-size: 1.6rem;
    font-weight: 700;
}

.about-text h3 {
    margin-top: 1.4rem;
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.about-text p,
.about-text li {
    font-size: 0.95rem;
    line-height: 1.5;
}

.about-text ul {
    margin-left: 1.2rem;
    margin-bottom: 0.5rem;
}

.about-text a {
    color: #003399;
    text-decoration: underline;
}

.about-text a:hover,
.about-text a:focus-visible {
    color: #001f66;
}


@media (max-width: 900px) {
    .about-frame {
        height: auto;
    }

    .about-panel {
        width: min(420px, 100%);
        min-height: auto;
        padding: 1rem 1rem 4.5rem;
    }


}
