/* Homepage activity cards use the same row even when descriptions have different heights. */
#contents .top-exhi-area > .top-exhi {
    max-width: 100%;
}
#contents .top-exhi .top-exhi-entry-area {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 24px;
}
#contents .top-exhi .exhi-entry {
    float: none;
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 0;
}
#contents .top-exhi .exhi-entry > a {
    display: grid;
    grid-template-columns: minmax(0, 42fr) minmax(0, 58fr);
    align-items: start;
    gap: 5%;
}
#contents .top-exhi .exhi-entry .photo,
#contents .top-exhi .exhi-entry .text {
    float: none;
    width: auto;
    min-width: 0;
    margin: 0;
}
#contents .top-exhi .exhi-entry .photo img {
    display: block;
    width: 100%;
    max-width: 270px;
    height: auto;
}
@media screen and (max-width: 768px) {
    #contents .top-exhi .top-exhi-entry-area {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }
    #contents .top-exhi .exhi-entry > a {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4%;
    }
    #contents .top-exhi .exhi-entry .photo img {
        max-width: 100%;
    }
}
@media screen and (min-width: 769px) and (max-width: 1100px) {
    #contents .top-exhi-area > .top-exhi {
        max-width: calc(100vw - 140px);
        margin-left: 0;
    }
}
