body[for="html-export"] {
    background-color: #fbfcf6;
}

body[for="html-export"] .markdown-preview > h1 {
    margin-bottom: 0.35em;
    padding-bottom: 0.45em;
    border-bottom: 4px solid rgb(238, 248, 178);
    color: #29332f;
}

body[for="html-export"] .markdown-preview > h2 {
    margin-top: 1.8em;
    margin-bottom: 0.8em;
    color: #36433e;
}

#index_contents {
    margin: 0;
}

.index_section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 230px;
    gap: 30px;
    align-items: start;
    margin-bottom: 30px;
    padding: 28px 30px;
    border: 1px solid #e2e8c9;
    border-left: 8px solid #b8cd58;
    border-radius: 14px;
    background-color: #fff;
    box-shadow: 0 8px 22px rgba(62, 74, 43, 0.08);
}

.index_section_content {
    min-width: 0;
}

.index_section h3 {
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e8ecd8;
    color: #33402f;
    font-size: 1.35em;
}

.index_section > .index_section_content > ul {
    margin: 0;
    padding-left: 1.4em;
}

.index_section > .index_section_content > ul > li {
    margin-bottom: 16px;
    color: #46514d;
    font-weight: 600;
}

.index_section > .index_section_content > ul > li:last-child {
    margin-bottom: 0;
}

.index_section ul ul {
    margin-top: 6px;
    padding-left: 1.4em;
}

.index_section ul ul li {
    margin: 3px 0;
    font-weight: 400;
}

.index_section a {
    display: inline-block;
    padding: 3px 7px;
    border-radius: 5px;
    color: #527000;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.index_section a:hover {
    color: #304700;
    background-color: #f1f7ce;
}

.index_section a:focus-visible {
    outline: 3px solid rgba(149, 174, 48, 0.35);
    outline-offset: 2px;
}

.index_section_image {
    align-self: center;
    width: 100%;
    margin-top: 0;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(54, 65, 38, 0.1);
}

.index_section_game {
    border-left-color: #86b8a0;
}

.index_section_discord {
    border-left-color: #9994d8;
}

@media screen and (max-width: 700px) {
    body[for="html-export"] .markdown-preview > h1 {
        font-size: 1.8em;
    }

    .index_section {
        display: block;
        margin-bottom: 20px;
        padding: 22px 20px;
        border-left-width: 6px;
    }

    .index_section_image {
        display: none;
    }
}
