/**
 * SMM Schedule — розклад кафедри.
 */

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

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

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

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

.smm-sched__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 8px 0 22px;
}

.smm-sched__tab {
    padding: 8px 15px;
    border: 1px solid rgba(15, 41, 18, 0.14);
    border-radius: 999px;
    background: #fff;
    font-size: 12.5px;
    font-weight: 700;
    color: #25603c;
    cursor: pointer;
}

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

.smm-sched__panel {
    display: none;
}

.smm-sched__panel.is-active {
    display: block;
}

.smm-sched__title {
    margin: 0 0 12px;
    font-size: clamp(20px, 2.2vw, 26px);
    font-weight: 700;
    color: #25603c;
}

.smm-sched__week {
    margin: 22px 0 10px;
    padding: 6px 12px;
    display: inline-block;
    border-radius: 999px;
    background: #eef4ee;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #25603c;
}

.smm-sched__day {
    margin: 16px 0 10px;
    font-size: 16px;
    font-weight: 700;
    color: #16241b;
}

.smm-sched__table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 6px;
    font-size: 13.5px;
    line-height: 1.5;
    background: #fff;
}

.smm-sched__table th,
.smm-sched__table td {
    border: 1px solid rgba(15, 41, 18, 0.12);
    padding: 8px 10px;
    text-align: left;
    vertical-align: top;
}

.smm-sched__table thead th {
    background: #f4f8f4;
    font-size: 12px;
    font-weight: 700;
    color: #25603c;
    white-space: nowrap;
}

.smm-sched__pair {
    width: 56px;
    text-align: center !important;
    font-weight: 700;
    color: #7c8b82;
    background: #fbfcfb;
}

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

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

.smm-sched__empty {
    padding: 30px 0;
    font-size: 15px;
    color: #5f6f66;
}

@media (max-width: 720px) {
    .smm-sched {
        padding: 0 12px 40px;
    }

    .smm-sched__table {
        font-size: 12px;
    }

    .smm-sched__table th,
    .smm-sched__table td {
        padding: 6px;
    }
}

.smm-sched__h1 {
    margin: 0 0 10px;
    font-size: clamp(28px, 3.6vw, 40px);
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #25603c;
}

.smm-sched__lead {
    margin: 0 0 20px;
    max-width: 640px;
    font-size: 15px;
    line-height: 1.65;
    color: #5f6f66;
}
