.topics{
    .topics_list{
        margin: 0 0 30px 0;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 40px 24px;
    }
    .topics_item{
        padding: 12px 0 0 0;
        position: relative;
        z-index: 99;
    }
    .category{
        padding: 5px 10px;
        font-size: 14px;
        color: var(--color-white);
        line-height: 1;
        display: inline-block;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 100;
    }
    .category.news{
        background: var(--brand-subcolor);
    }
    .category.event{
        background: var(--brand-color);
    }
    figure{
        width: 100%;
        margin: 0 0 5px 0;
        aspect-ratio: 4 / 3;
        background: var(--color-gray-light);
        overflow: hidden;
    }
    figure img{
        width: 100%;
        height: 100%;
        display: block;
        object-fit: contain;
        transition: transform 0.5s ease;
    }
    .topics_item a:hover figure img{
        transform: scale(1.15);
    }

    .button-more{
        width: 250px;
        margin: 0 auto;
        padding: 15px 0;
        color: var(--color-white);
        font-weight: 500;
        text-align: center;
        line-height: 1;
        border: solid 2px var(--brand-color);
        border-radius: 50vh;
        background: var(--brand-color);
        display: block;
        transition:
        color 0.25s ease,
        background 0.25s ease;
    }

    .button-more:hover{
        color: var(--brand-color);
        background: var(--color-white);
    }
}


.article{
    width: 960px;
    padding: 40px;
    margin: 0 auto 50px;
    border-radius: 30px;
    background: var(--color-white);

    .category{
        padding: 2px 10px;
        font-size: 14px;
        color: var(--color-white);
        text-align: center;
        line-height: 1;
    }
    .category.news{
        background: var(--brand-subcolor);
    }
    .category.event{
        background: var(--brand-color);
    }
    .title{
        margin: 0 0 5px 0;
        color: var(--color-gray-dark);
        font-size: 24px;
        font-weight: 700;
    }
    .text{
        margin: 0 0 15px 0;
    }
    .date{
        margin: 0 0 30px 0;
        color: var(--color-gray);
        font-weight: 500;
        text-align: right;
    }
    .text-right{
        text-align: right;
        display: block;
    }
    .text-center{
        text-align: center;
        display: block;
    }
    .subtitle{
        margin: 0 0 10px 0;
        padding: 2px 5px;
        font-size: 1.35em;
        color: #666666;
        font-weight: 600;
        background-color: var(--color-page-head);
    }
    .dlist{
        width: 80%;
        margin: 20px auto;
        font-weight: 500;
        display: flex;
        align-items: stretch;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
    .dlist dt,
    .dlist dd{
        padding: 10px 20px;
    }
    .dlist dt{
        width: 190px;
        margin: 0 2px 0 0;
        text-align: center;
        background: var(--color-blue-light);
    }
    .dlist dd{
        width: calc(100% - 192px);
        background: var(--background-color);
    }
    .dlist dt:not(:last-of-type),
    .dlist dd:not(:last-of-type){
        margin-bottom: 2px;
    }
    .figure-small{
        width: 40%;
        margin: 20px auto;
    }
    .figure-middle{
        width: 60%;
        margin: 20px auto;
    }
    .figure-large{
        width: 80%;
        margin: 20px auto;
    }
    .figcaption{
        font-size: 14px;
    }
    .video {
        width: 80%;
        margin: 20px auto;
        aspect-ratio: 16 / 9;

        iframe {
            width: 100%;
            height: 100%;
        }
    }
}
.btn-back{
    margin-bottom: 50px;
}
.btn-back a{
    font-weight: 400;
    border-color: var(--color-gray);
    border-width: 1px;
    background: var(--color-gray);
}
.btn-back a:hover{
    color: var(--color-gray);
    background: var(--background-color);
}

@media screen and (max-width: 1024px) {
    .topics{
        .topics_list{
            grid-template-columns: repeat(3, 1fr);
        }
    }
    .article{
        width: 90%;
        max-width: 800px;
        padding-left: 30px;
        padding-right: 30px;

        .title{
            font-size: 22px;
        }

        .dlist{
            width: 100%;
            max-width: 650px;
        }
    }
}

@media screen and (max-width: 800px) {
    .topics{
        .topics_list{
            grid-template-columns: repeat(2, minmax(0, 300px));
            justify-content: center;
        }
    }
}

@media screen and (max-width: 600px) {
    .topics{
        .topics_list{
            grid-template-columns: repeat(1, 1fr);
            gap: 30px;
        }
        .topics_item{
            padding-top: 0;
        }
        .topics_item,
        .topics_item a{
            width: 100%;
            display: flex;
        }
        figure{
            width: 140px;
            margin-bottom: 0;
            margin-right: 10px;
            flex-shrink: 0;
        }
        .category{
            font-size: 12px;
            top: 0;
            left: 150px;
        }
        .title{
            margin: 30px 0 0 0;
        }
    }
    .article{
        padding-left: 20px;
        padding-right: 20px;

        .dlist{
            width: 100%;
            flex-direction: column;
            align-items: center;
        }
        .dlist dt,
        .dlist dd{
            width: 100%;
        }
        .dlist dt{
            margin-right: 0;
        }
        .dlist dt:not(:last-of-type),
        .dlist dd:not(:last-of-type){
            margin-bottom: 0;
        }
        .figure-small{
            width: 70%;
        }
        .figure-middle{
            width: 85%;
        }
        .figure-large{
            width: 100%;
        }
        .figcaption{
            font-size: 13px;
        }
        .video{
            width: 100%;
        }
    }
}