:root {
    --custom-color: #a92427;
}

body {
    color: #525252;
    background: #f3f5f7;
}

.nav-link.active {
    color: var(--custom-color) !important;
}

.nav-link:hover {
    color: var(--custom-color);
}

#mainer {
    min-height: 700px;
}

#main {
    padding-top: 20px;
    padding-bottom: 20px;
}

.category_item {
    margin-bottom: 30px;
    padding: 0 50px;

    .category_desc {
        background-color: var(--custom-color);
        padding: 0;

        .category_title {
            width: 2em;
            word-break: break-all;
            margin: auto;
            font-size: 24px;
        }

        .category_href {
            text-decoration: none;
            color: white;
        }
    }

    .category_articles {
        box-shadow: 0 0 12px rgba(0, 0, 0, .08);
        background-color: white;
        padding: 0;

        .article_item {
            padding: 15px 25px;
            margin-bottom: 0;
            border-left: none;
        }
    }
}

.category_item.flex-row {
    .category_articles {
        border-right: 4px solid var(--custom-color);
    }
}

.category_item.flex-row-reverse {
    .category_articles {
        border-left: 4px solid var(--custom-color);
    }
}

.category_title {
    background-color: var(--custom-color);
    color: white;
    font-size: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.article_list {
    padding-left: 0;
    margin-bottom: 0;

    .article_item {
        background-color: white;
        list-style: none;
        padding: 15px 20px;
        margin-bottom: 20px;
        border-left: 4px solid var(--custom-color);

        &:last-child {
            margin-bottom: 0;
        }

        .article_title {
            text-decoration: none;
            color: #525252;
        }

        .article_title:hover {
            color: var(--custom-color);
        }

        .article_date {
            float: right;
            color: var(--custom-color);
            font-size: 14px;
        }
    }
}

.article_detail {
    background-color: white;
    padding: 20px;

    a {
        text-decoration: none;
        color: var(--custom-color);
    }

    .article_title {
        margin-top: 20px;
        padding: 10px;
        text-align: center;

        h4 {
            font-weight: bold;
        }

        span {
            color: gray;
            font-size: 14px;
        }
    }

    .article_content {
        margin-top: 20px;
        padding: 10px;
    }
}

#footer {
    background: #ffffff;
    padding-top: 20px;
    padding-bottom: 20px;
    text-align: center;

    a {
        text-decoration: none;
        color: var(--custom-color);
    }
}