/**
 * SMM Programs — освітні програми кафедри.
 */

body.page-id-4061 .col-lg-8.offset-lg-2 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
    margin-left: 0;
}

body.page-id-4061 .single-post-content__title {
    display: none;
}

.smm-prog {
    max-width: 1060px;
    margin: 0 auto;
    padding: 0 24px 56px;
    font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #16241b;
    text-align: left;
}

.smm-prog *,
.smm-prog *::before,
.smm-prog *::after {
    box-sizing: border-box;
}

.smm-prog__hero {
    margin-bottom: 26px;
    padding: 32px 34px 28px;
    border-radius: 22px;
    background:
        radial-gradient(900px 300px at 6% -30%, rgba(71, 143, 41, 0.2), transparent 70%),
        linear-gradient(160deg, #12301c 0%, #25603c 62%, #2f7147 100%);
    color: #fff;
}

.smm-prog__eyebrow {
    margin: 0 0 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

.smm-prog__title {
    margin: 0 0 12px;
    font-size: clamp(30px, 4.4vw, 44px);
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff;
}

.smm-prog__lead {
    margin: 0;
    max-width: 620px;
    font-size: 15.5px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.85);
}

.smm-prog__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.smm-prog__stats li {
    display: flex;
    flex-direction: column-reverse;
    gap: 2px;
    margin: 0;
    list-style: none;
}

.smm-prog__stats b {
    font-size: 26px;
    line-height: 1;
}

.smm-prog__stats span {
    font-size: 10.5px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
}

.smm-prog__toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.smm-prog__chip {
    padding: 8px 16px;
    border: 1px solid rgba(15, 41, 18, 0.14);
    border-radius: 999px;
    background: #fff;
    font-size: 12.5px;
    font-weight: 600;
    color: #25603c;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.smm-prog__chip:hover {
    border-color: #25603c;
}

.smm-prog__chip.is-active {
    background: #25603c;
    border-color: #25603c;
    color: #fff;
}

.smm-prog__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.smm-prog__card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 22px 22px 20px;
    border: 1px solid rgba(15, 41, 18, 0.12);
    border-radius: 18px;
    background: #fff;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.smm-prog__card:hover {
    transform: translateY(-3px);
    border-color: rgba(37, 96, 60, 0.35);
    box-shadow: 0 18px 34px -26px rgba(15, 41, 18, 0.5);
}

.smm-prog__card.is-hidden {
    display: none;
}

.smm-prog__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.smm-prog__code {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #7c8b82;
}

.smm-prog__level {
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.smm-prog__level_bachelor {
    background: #eef4ee;
    color: #25603c;
}

.smm-prog__level_master {
    background: #e7eef6;
    color: #1f4a7a;
}

.smm-prog__name {
    margin: 0;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 700;
    color: #16241b;
}

.smm-prog__meta {
    margin: 0;
    font-size: 12.5px;
    line-height: 1.5;
    color: #7c8b82;
}

.smm-prog__status {
    color: #478f29;
    font-weight: 700;
}

.smm-prog__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 10px;
}

.smm-prog__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1px solid rgba(37, 96, 60, 0.28);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #25603c;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.smm-prog__link:hover {
    background: #25603c;
    border-color: #25603c;
    color: #fff;
}

.smm-prog__note {
    margin: 26px 0 0;
    padding-top: 16px;
    border-top: 1px solid rgba(15, 41, 18, 0.12);
    font-size: 13px;
    line-height: 1.6;
    color: #7c8b82;
}

.smm-prog__note a {
    color: #25603c;
    border-bottom: 1px solid rgba(37, 96, 60, 0.3);
}

@media (max-width: 760px) {
    .smm-prog {
        padding: 0 16px 40px;
    }

    .smm-prog__hero {
        padding: 24px 20px 22px;
        border-radius: 18px;
    }

    .smm-prog__grid {
        grid-template-columns: 1fr;
    }
}
