.sgla-pedagogy-mast {
    background: linear-gradient(123deg, #f7f3ec 0%, #fffdf9 100%);
}

.sgla-pedagogy-mast h1 {
    font-size: clamp(2rem, 4vw, 4.15rem);
    text-wrap: balance;
}

.sgla-pedagogy-mast .sgla-pedagogy-code,
.sgla-pedagogy-profile > span {
    color: #6d2336;
    font-weight: 700;
}

.sgla-pedagogy-profile {
    background: #fffdf9;
    border-top: 3px solid #b09966;
}

.sgla-pedagogy-profile h4 {
    overflow-wrap: anywhere;
}

.sgla-pedagogy-profiles .sgla-license-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 24px 0;
    max-width: 1120px;
}

.sgla-pedagogy-profiles[id],
.sgla-pedagogy #focus {
    scroll-margin-top: 120px;
}

.sgla-pedagogy-focus {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(14px, 2.4vw, 30px);
    margin-top: 22px;
}

.sgla-pedagogy-focus article {
    padding: clamp(18px, 2.6vw, 32px);
    border: 1px solid #e6dfd4;
    border-top: 3px solid #7a2639;
    border-radius: 14px;
    background: #fffefc;
}

.sgla-pedagogy-focus h3 {
    color: #132b51;
    margin: 0 0 .6em;
}

.sgla-pedagogy-focus p {
    margin: 0;
    line-height: 1.55;
}

.sgla-pedagogy-details {
    border-block: 1px solid #e6dfd4;
    background: #f7f3ec;
}

@media (max-width: 760px) {
    .sgla-pedagogy-focus,
    .sgla-pedagogy-profiles .sgla-license-cards {
        grid-template-columns: minmax(0, 1fr);
    }

    .sgla-pedagogy-mast .sgla-license-split {
        gap: 20px;
    }
}
