* {
    box-sizing: border-box;
}

html {
    scroll-padding-top: 24px;
}

body {
    margin: 0;
    background: #f1f4f6;
    color: #202935;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.75;
    overflow-wrap: anywhere;
}

a {
    color: #08764c;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

a:hover {
    color: #064d32;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid #d78a00;
    outline-offset: 4px;
}

video {
    max-width: 100%;
    height: auto;
}

.skip-link {
    position: absolute;
    top: 8px;
    left: 12px;
    z-index: 10;
    padding: 10px 16px;
    background: #fff;
    transform: translateY(-180%);
}

.skip-link:focus {
    transform: translateY(0);
}

.mip-header {
    background: #111a24;
    color: #fff;
    border-top: 4px solid #40e49a;
}

.mip-header-main {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 24px;
    max-width: 1280px;
    min-height: 88px;
    margin: 0 auto;
    padding: 16px 24px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-size: 27px;
    font-weight: 800;
    letter-spacing: -0.8px;
    line-height: 1.3;
    text-decoration: none;
}

.logo strong {
    color: #67efaf;
}

.logo mip-img {
    display: block;
    width: 40px;
    height: 34px;
    flex-shrink: 0;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
}

.logo mip-img img {
    object-fit: contain;
}

.site-tagline {
    margin: 0;
    color: #b8c7d4;
    font-size: 12px;
    line-height: 1.5;
    max-width: 130px;
}

.mip-header a,
.footer a {
    color: #fff;
}

.mip-header a:hover,
.footer a:hover {
    color: #67efaf;
}

.platform-bar {
    background: #1b2937;
    border-top: 1px solid #2d3b48;
}

.platform-bar-main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 28px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 10px 24px;
    font-size: 12px;
}

.platform-label {
    color: #67efaf;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.mip-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: start;
    gap: 28px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 28px 24px 48px;
}

.mip-container,
.mip-about-info {
    min-width: 0;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    color: #596776;
    font-size: 12px;
    line-height: 1.6;
}

.breadcrumbs [aria-current="page"] {
    flex: 1;
    min-width: 0;
}

.mip-detail-main,
.widget {
    padding: 32px;
    border: 1px solid #dce3e8;
    border-radius: 8px;
    background: #fff;
}

.mip-about-info {
    padding-top: 38px;
}

h1,
h2,
h3,
h4 {
    margin: 0 0 16px;
    color: #111a24;
    font-weight: 750;
    line-height: 1.25;
}

h1 {
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    letter-spacing: -1px;
}

h2 {
    font-size: 1.5rem;
}

h3 {
    font-size: 1.2rem;
}

.article-category {
    display: inline-block;
    margin: 0 0 16px;
    padding: 3px 10px;
    border-left: 3px solid #08764c;
    background: #e9f8ef;
    color: #08764c;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.article-summary {
    margin: 18px 0 24px;
    color: #52606c;
    font-size: 18px;
    line-height: 1.6;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 20px;
    margin: 0;
    padding: 16px 0;
    border-top: 1px solid #e2e8ec;
    border-bottom: 1px solid #e2e8ec;
    color: #596776;
    font-size: 12px;
}

.mip-author a {
    font-weight: 700;
}

.article-image {
    margin: 24px 0 32px;
    background: #111a24;
    border-radius: 6px;
    overflow: hidden;
}

.article-image mip-img {
    display: block;
    width: 100%;
}

.article-image mip-img img {
    object-fit: contain;
}

.mip-detail-content {
    font-size: 17px;
    line-height: 1.85;
}

.mip-detail-content p {
    margin: 0 0 20px;
}

.mip-detail-content h2,
.mip-detail-content h3,
.mip-detail-content h4 {
    margin-top: 32px;
}

.mip-detail-content ul,
.mip-detail-content ol {
    margin: 0 0 24px;
    padding-left: 24px;
}

.mip-detail-content ul {
    list-style: disc;
}

.mip-detail-content ol {
    list-style: decimal;
}

.mip-detail-content li + li {
    margin-top: 8px;
}

.mip-detail-content img,
.mip-detail-content mip-img {
    max-width: 100%;
}

.mip-detail-content blockquote {
    margin: 28px 0;
    padding: 20px 24px;
    border-left: 4px solid #08764c;
    background: #edf7f1;
}

.mip-detail-content blockquote p:last-child {
    margin-bottom: 0;
}

.mip-detail-content pre {
    overflow-x: auto;
    padding: 16px;
    background: #f1f4f6;
    font-size: 14px;
    overflow-wrap: normal;
}

.mip-detail-content table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 15px;
}

.mip-detail-content th,
.mip-detail-content td {
    padding: 10px 12px;
    border: 1px solid #dce3e8;
    text-align: left;
}

.mip-detail-content th {
    background: #edf7f1;
}

.related-articles {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 3px solid #08764c;
}

.related-articles h2 {
    margin-top: 0;
    margin-bottom: 8px;
}

.related-articles .section-intro {
    margin-bottom: 20px;
    color: #596776;
    font-size: 14px;
}

.related-articles ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.related-articles li + li {
    margin: 0;
}

.related-articles a {
    display: block;
    height: 100%;
    padding: 16px;
    border: 1px solid #dce3e8;
    border-radius: 6px;
    background: #f5f8fa;
    color: #202935;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.6;
    text-decoration: none;
}

.related-articles a:hover {
    border-color: #08764c;
    color: #08764c;
}

.widget {
    margin-bottom: 24px;
    padding: 24px;
}

.widget-kicker {
    margin: 0 0 6px;
    color: #08764c;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.widget h2 {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 2px solid #08764c;
    font-size: 1.25rem;
}

.widget ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.widget li + li {
    border-top: 1px solid #e2e8ec;
}

.widget li a {
    display: block;
    padding: 14px 0;
    color: #202935;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.6;
    text-decoration: none;
}

.widget li a:hover {
    color: #08764c;
}

.portal-card {
    background: #142b25;
    border-color: #142b25;
    color: #d2e5dc;
}

.portal-card h2 {
    border: 0;
    padding: 0;
    color: #fff;
    font-size: 1.5rem;
}

.portal-card p {
    margin: 0 0 16px;
    font-size: 14px;
}

.portal-card a {
    display: inline-block;
    padding: 6px 0;
    color: #86f2b9;
    font-size: 14px;
    font-weight: 700;
}

.mkcomments:empty {
    display: none;
}

.footer {
    padding: 36px 24px 20px;
    border-top: 4px solid #40e49a;
    background: #111a24;
    color: #c1cdd7;
    font-size: 13px;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: start;
    flex-wrap: wrap;
    gap: 24px;
    max-width: 1232px;
    margin: 0 auto 28px;
}

.footer-about {
    max-width: 440px;
}

.footer h2 {
    color: #67efaf;
    font-size: 22px;
}

.footer p {
    margin: 0;
}

.footer nav a {
    display: inline-block;
    padding: 8px 0;
}

.copyright {
    max-width: 1232px;
    margin: 0 auto !important;
    padding-top: 20px;
    border-top: 1px solid #2d3b48;
    font-size: 12px;
}

@media (max-width: 960px) {
    .site-tagline {
        display: none;
    }

    .mip-wrap {
        grid-template-columns: minmax(0, 1fr);
    }

    .mip-about-info {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
        gap: 24px;
        padding-top: 0;
    }

    .widget {
        margin-bottom: 0;
    }
}

@media (max-width: 600px) {
    .mip-header-main {
        padding: 16px;
    }

    .platform-bar-main {
        gap: 8px 20px;
        padding: 10px 16px;
    }

    .mip-wrap {
        padding: 20px 12px 32px;
        gap: 24px;
    }

    .mip-detail-main,
    .widget {
        padding: 24px 18px;
    }

    h1 {
        letter-spacing: -0.5px;
    }

    .article-summary {
        font-size: 17px;
    }

    .article-meta {
        flex-direction: column;
    }

    .article-image {
        margin: 24px 0;
    }

    .mip-detail-content {
        font-size: 16px;
    }

    .related-articles ul,
    .mip-about-info {
        grid-template-columns: minmax(0, 1fr);
    }

    .footer {
        padding: 28px 18px 20px;
    }
}
