@charset "utf-8";

/* Stacked Page List */

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

.ccm-block-page-list-rss-feed {
    color: #b5121b;
    text-decoration: none;
    font-size: 1.1em;
}

.pageListWrapper {
    width: 100%;
    max-width: 900px;
    margin: 30px auto;
}

.pageListHeader {
    margin: 0 0 24px 0;
    color: #213f7d;
    font-size: 1.4em;
    font-weight: 700;
    line-height: 1.2;
}

.pageListThumbnailContainer {
    width: 100%;
    margin: 0 0 20px 0;
}

.pageListThumbnailContainer .thumbnail {
    display: flex;
    align-items: flex-start;
}

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

.pageListThumbnailContainer .thumbnail > a {
    flex: 0 0 115px;
    width: 115px;
    display: block;
}

.pageListThumbnailContainer .imageThumb {
    width: 100%;
    height: 100%;
    min-height: 155px;
    margin: 0;
    display: block;
    background: rgba(33,63,125,0.06);
}

.pageListThumbnailContainer .imageThumb img {
    width: 100%;
    height: 100%;
    min-height: 155px;
    display: block;
    object-fit: cover;
    border-radius: 0;
}

.pageListContent {
    flex: 1 1 auto;
    padding: 18px 20px;
    box-sizing: border-box;
    font-size: 0.85em;
    line-height: 1.5;
}

.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;
}

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

.pageListTitle {
    margin: 0 0 10px 0;
    padding: 0;
    color: #213f7d;
    font-size: 1em;
    font-weight: 700;
    line-height: 1.3;
}

.pageListTitle:hover {
    color: #eb3727;
}

.pageListDescription {
    margin: 0;
    padding: 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-block-page-list-no-pages {
    padding: 20px;
    background: rgba(33,63,125,0.06);
    color: #213f7d;
    text-align: center;
}

/* Pagination */

.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;
}

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.active {
    padding: 7px 12px;
    color: #fff;
    background: #213f7d;
    border-color: #213f7d;
}

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

/* Responsive */

@media only screen and (max-width: 700px) {
    .pageListThumbnailContainer .thumbnail {
        display: block;
    }

    .pageListThumbnailContainer .thumbnail > a {
        width: 100%;
    }

    .pageListThumbnailContainer .imageThumb,
    .pageListThumbnailContainer .imageThumb img {
        height: 180px;
        min-height: 180px;
    }

    .pageListContent {
        padding: 16px;
    }
}