@charset "utf-8";

.rssWrapper {
    text-align: right;
    margin-bottom: 10px;
}

.listHeader {
    flex: 0 0 100%;
    width: 100%;
    margin: 0 0 24px 0;
    color: #213f7d;
    font-size: 1.6em;
    font-weight: 700;
    line-height: 1.2;
    text-align: left;
}

.thumbnailWrapper {
    width: 100%;
    margin: 30px auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
    line-height: 1.45;
}

.thumbnailContainer {
    flex: 0 1 calc((100% - 90px) / 6);
    max-width: calc((100% - 90px) / 6);
    min-width: 150px;
    margin: 0;
    display: block;
    box-sizing: border-box;
    background: transparent;
    color: #363636;
    border: none;
    text-align: left;
}

.thumbnail {
    height: 100%;
    min-height: 0;
    padding: 0;
    font-size: 0.8em;
    border: solid 1px rgba(33,63,125,0.14);
    background: rgba(255,255,255,0.88);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.thumbnail:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.thumbnail a {
    color: inherit;
    text-decoration: none;
}

.thumbnail .imageThumb {
    width: 100%;
    display: block;
    margin: 0;
    text-align: center;
    background: rgba(33,63,125,0.06);
}

.thumbnail img {
    width: 100%;
    height: 190px;
    display: block;
    object-fit: cover;
    border-radius: 0;
}

.pagelistContent {
    padding: 16px;
}

.pagelistDate {
    margin: 0 0 8px 0;
    padding: 0;
    color: #b5121b;
    font-family: "Source Serif Pro", serif;
    font-size: 0.9em;
    font-style: italic;
    background-image: none;
}

.pagelistTitle {
    padding: 0;
    margin: 0 0 10px 0;
    color: #213f7d;
    font-size: 0.9em;
    font-weight: 700;
    line-height: 1.25;
    text-align: left;
}

.pagelistTitle:hover {
    color: #eb3727;
}

.pagelistDescription {
    padding: 0;
    margin: 0;
    color: #444;
    font-size: 0.95em;
    line-height: 1.55;
}

.pagelistAltLink {
    display: inline-block;
    margin-top: 14px;
    padding: 7px 12px;
    color: #fff;
    background: rgba(33,63,125,0.9);
    font-size: 0.85em;
    font-weight: 600;
    text-decoration: none;
}

.ccm-pagination-wrapper {
    margin-top: 30px;
    text-align: center;
}

ul.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
    text-align: center;
}

li.page-item {
    display: inline-block;
    margin: 0;
    border: solid 1px rgba(33,63,125,0.18);
    background: #fff;
}

li.page-item a {
    display: block;
    padding: 7px 12px;
    color: #213f7d;
    text-decoration: none;
}

li.page-item a:hover {
    background: rgba(33,63,125,0.08);
}

li.page-item.prev span {
    display: block;
    padding: 7px 12px;
}

li.page-item.active {
    padding: 7px 12px;
    color: #fff;
    background: #213f7d;
    border-color: #213f7d;
}

li.page-item.active .visually-hidden {
    display: none !important;
}

@media only screen and (max-width: 1100px) {
    .thumbnailContainer {
        flex-basis: calc((100% - 72px) / 5);
        max-width: calc((100% - 72px) / 5);
    }
}

@media only screen and (max-width: 900px) {
    .thumbnailContainer {
        flex-basis: calc((100% - 54px) / 4);
        max-width: calc((100% - 54px) / 4);
    }
}

@media only screen and (max-width: 700px) {
    .thumbnailContainer {
        flex-basis: calc((100% - 36px) / 3);
        max-width: calc((100% - 36px) / 3);
    }

    .listHeader {
        font-size: 1.35em;
    }
}

@media only screen and (max-width: 520px) {
    .thumbnailWrapper {
        gap: 18px;
        margin: 20px auto;
    }

    .thumbnailContainer {
        flex-basis: calc((100% - 18px) / 2);
        max-width: calc((100% - 18px) / 2);
        min-width: 0;
    }

    .thumbnail img {
        height: 140px;
    }
}

@media only screen and (max-width: 380px) {
    .thumbnailContainer {
        flex-basis: 100%;
        max-width: 100%;
    }
}