.mvc-education-page,
.mvc-education-page * {
    box-sizing: border-box;
}

.mvc-education-page {
    width: 100%;
    background: #f6f8f6;
    padding: 56px 20px 72px;
}

.mvc-education-shell {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
}

.mvc-education-article {
    width: 100%;
    margin: 0;
    background: #ffffff;
    border: 1px solid #e6ece8;
    border-radius: 24px;
    box-shadow: 0 18px 55px rgba(21, 64, 45, 0.08);
    overflow: hidden;
}

.mvc-education-hero {
    max-width: 900px;
    margin: 0 auto;
    padding: 54px 56px 28px;
    text-align: center;
}

.mvc-education-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
}

.mvc-education-category {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 12px;
    border: 1px solid #dfe9e2;
    border-radius: 999px;
    background: #f3f8f4;
    color: #1d5a3f;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.02em;
}

.mvc-education-title {
    margin: 0;
    color: #163d2c;
    font-size: clamp(32px, 4.1vw, 52px);
    line-height: 1.1;
    letter-spacing: -0.035em;
    font-weight: 750;
}

.mvc-education-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 18px;
    color: #718078;
    font-size: 13px;
    line-height: 1.5;
}

.mvc-meta-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #aebbb4;
}

.mvc-education-featured {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 34px 12px;
}

.mvc-education-featured img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 560px;
    object-fit: cover;
    border-radius: 18px;
}

.mvc-education-content {
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
    padding: 28px 56px 52px;
    color: #3f4b45;
    font-size: 17px;
    line-height: 1.82;
}

.mvc-education-content > *:first-child {
    margin-top: 0;
}

.mvc-education-content > *:last-child {
    margin-bottom: 0;
}

.mvc-education-content p {
    margin: 0 0 1.25em;
}

.mvc-education-content h2,
.mvc-education-content h3,
.mvc-education-content h4 {
    color: #173f2d;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.mvc-education-content h2 {
    margin: 2.05em 0 0.72em;
    font-size: clamp(25px, 3vw, 32px);
}

.mvc-education-content h3 {
    margin: 1.8em 0 0.65em;
    font-size: 23px;
}

.mvc-education-content h4 {
    margin: 1.6em 0 0.6em;
    font-size: 19px;
}

.mvc-education-content ul,
.mvc-education-content ol {
    margin: 0 0 1.4em;
    padding-left: 1.45em;
}

.mvc-education-content li {
    margin: 0.42em 0;
    padding-left: 0.18em;
}

.mvc-education-content a {
    color: #167044;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.mvc-education-content strong {
    color: #24382f;
}

.mvc-education-content blockquote {
    margin: 1.8em 0;
    padding: 20px 24px;
    border-left: 4px solid #c5a64b;
    border-radius: 0 14px 14px 0;
    background: #faf8f0;
    color: #425047;
}

.mvc-education-content img {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
}

.mvc-education-content figure {
    margin: 1.6em 0;
}

.mvc-education-content figcaption {
    margin-top: 8px;
    color: #7b8982;
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
}

.mvc-education-content iframe,
.mvc-education-content video {
    max-width: 100%;
    border-radius: 14px;
}

.mvc-education-content .wp-block-embed,
.mvc-education-content .wp-block-video {
    margin: 1.8em 0;
}

.mvc-education-content .wp-block-embed__wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 16px;
    background: #0f1713;
}

.mvc-education-content .wp-block-embed__wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.mvc-education-content table {
    width: 100%;
    margin: 1.6em 0;
    border-collapse: collapse;
    overflow: hidden;
    border-radius: 12px;
    font-size: 15px;
}

.mvc-education-content th,
.mvc-education-content td {
    padding: 12px 14px;
    border: 1px solid #e4eae6;
    text-align: left;
    vertical-align: top;
}

.mvc-education-content th {
    background: #f2f6f3;
    color: #244536;
}

.mvc-education-footer {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 56px 54px;
}

.mvc-education-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 10px 16px;
    border: 1px solid #dce6df;
    border-radius: 12px;
    background: #f6faf7;
    color: #1d5a3f;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: transform .18s ease, background-color .18s ease, border-color .18s ease;
}

.mvc-education-back:hover,
.mvc-education-back:focus {
    transform: translateY(-1px);
    border-color: #cbdcd0;
    background: #eef6f0;
    color: #164832;
}

@media (max-width: 782px) {
    .mvc-education-page {
        padding: 28px 14px 48px;
    }

    .mvc-education-article {
        border-radius: 18px;
    }

    .mvc-education-hero {
        padding: 34px 22px 22px;
    }

    .mvc-education-featured {
        padding: 0 16px 4px;
    }

    .mvc-education-featured img {
        border-radius: 14px;
    }

    .mvc-education-content {
        padding: 24px 22px 38px;
        font-size: 16px;
        line-height: 1.75;
    }

    .mvc-education-footer {
        padding: 0 22px 36px;
    }
}

@media (max-width: 480px) {
    .mvc-education-page {
        padding-left: 10px;
        padding-right: 10px;
    }

    .mvc-education-title {
        font-size: 30px;
    }

    .mvc-education-content {
        padding-left: 18px;
        padding-right: 18px;
    }

    .mvc-education-footer {
        padding-left: 18px;
        padding-right: 18px;
    }
}
