/* Homepage study-programs strip (site_menu 387/388/390/448).
   Fully scoped (.stp-*) — replaces the legacy .stu-programs markup, whose
   cards were mostly dead space with only the title text clickable. */

.stp {
    background-color: #e02d43;
    padding: clamp(40px, 6vw, 78px) clamp(16px, 6vw, 110px);
}
.stp__grid {
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(16px, 2vw, 28px);
}
.stp__card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 34px;
    background: #fff;
    border-radius: 14px;
    padding: 30px 28px 26px;
    min-height: 218px;
    text-decoration: none;
    box-shadow: 0 6px 14px rgba(40, 8, 14, .16);
    transition: transform .25s ease, box-shadow .25s ease;
}
.stp__card:hover,
.stp__card:focus-visible {
    transform: translateY(-6px);
    box-shadow: 0 16px 30px rgba(40, 8, 14, .24);
    text-decoration: none;
}
.stp__title {
    color: #5a5a67;
    font-size: clamp(19px, 1.6vw, 23px);
    line-height: 1.35;
    margin: 0;
    position: relative;
    padding-bottom: 18px;
}
.stp__title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 54px;
    height: 4px;
    border-radius: 2px;
    background: #e02d43;
    transition: width .25s ease;
}
.stp__card:hover .stp__title::after { width: 86px; }
.stp__cta {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #e02d43;
    font-size: 15px;
}
.stp__cta svg {
    width: 22px;
    height: 22px;
    flex: none;
    transition: transform .25s ease;
}
.stp__card:hover .stp__cta svg { transform: translateX(6px); }

@media (max-width: 1100px) {
    .stp__grid { grid-template-columns: repeat(2, 1fr); }
    .stp__card { min-height: 176px; }
}
@media (max-width: 575px) {
    .stp__grid { grid-template-columns: 1fr; }
    .stp__card { min-height: 0; gap: 24px; }
}
