@charset "utf-8";
/* CSS Document */

.customPageList {
    width: 100%;
    display: block;
    padding: 20px 0;
    font-size: 0.95em;
    box-sizing: border-box;
}

.customPageList .ccm-block-page-list-header,
.customPageList .ccm-block-page-list-no-pages {
    width: 100%;
}

.customPageList .ccm-block-page-list-custom-list-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 22px;
    margin: 0 0 14px 0;
    padding: 18px;
    box-sizing: border-box;
    border-radius: 24px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.10);
    overflow: hidden;
    transition: all 0.25s ease;
}

.customPageList .ccm-block-page-list-custom-list-item:nth-of-type(3n + 1) {
    background-color: #bee9d6;
}

.customPageList .ccm-block-page-list-custom-list-item:nth-of-type(3n + 2) {
    background-color: #ffb6b0;
}

.customPageList .ccm-block-page-list-custom-list-item:nth-of-type(3n + 3) {
    background-color: #fff3b8;
}

.customPageList .ccm-block-page-list-custom-list-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(0,0,0,0.15);
}

.customPageList .ccm-block-page-list-custom-list-image {
    flex: 0 0 75px;
    width: 75px;
}

.customPageList .ccm-block-page-list-custom-list-image a {
    display: block;
    width: 100%;
    color: inherit;
    text-decoration: none;
}

.customPageList .ccm-block-page-list-custom-list-image img {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
    border-radius: 18px;
    box-shadow: 0 8px 18px rgba(0,0,0,0.14);
}

.customPageList .ccm-block-page-list-custom-list-content {
    flex: 1 1 auto;
    min-width: 0;
}

.customPageList .ccm-block-page-list-title {
    color: #323232;
    font-size: 1em;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 8px;
}

.customPageList .ccm-block-page-list-title a {
    color: #323232;
    text-decoration: none;
}

.customPageList .ccm-block-page-list-title a:hover {
    color: #5fa2a4;
}

.customPageList .ccm-block-page-list-date {
    color: #323232;
    font-size: 0.82em;
    line-height: 1.4;
    margin-bottom: 9px;
    font-weight: 700;
    opacity: 0.75;
}

.customPageList .ccm-block-page-list-description {
    color: #000000;
    font-size: 0.8em;
    line-height: 1.45;
    margin-bottom: 0;
}

.customPageList .ccm-block-page-list-title-link {
    margin-top: 14px;
}

.customPageList .ccm-block-page-list-title-link a {
    display: inline-block;
    padding: 10px 18px;
    color: #ffffff;
    font-size: 0.85em;
    font-weight: bold;
    line-height: 1;
    text-decoration: none;
    background: #5fa2a4;
    border-radius: 999px;
    box-shadow: 0 8px 18px rgba(95,162,164,0.28);
    transition: all 0.25s ease;
}

.customPageList .ccm-block-page-list-title-link a:hover {
    background: #4faf9f;
    transform: translateY(-2px);
}

@media screen and (max-width: 700px) {
    .customPageList .ccm-block-page-list-custom-list-item {
        align-items: flex-start;
        gap: 16px;
        padding: 16px;
        border-radius: 20px;
    }

    .customPageList .ccm-block-page-list-custom-list-image {
        flex: 0 0 96px;
        width: 96px;
    }

    .customPageList .ccm-block-page-list-custom-list-image img {
        border-radius: 14px;
    }

    .customPageList .ccm-block-page-list-title {
        font-size: 1.08em;
    }

    .customPageList .ccm-block-page-list-description {
        font-size: 0.9em;
        line-height: 1.35;
    }
}

@media screen and (max-width: 480px) {
    .customPageList .ccm-block-page-list-custom-list-item {
        flex-direction: column;
    }

    .customPageList .ccm-block-page-list-custom-list-image {
        width: 100%;
        flex: 0 0 auto;
    }

    .customPageList .ccm-block-page-list-custom-list-image img {
        width: 100%;
        max-height: 240px;
    }
}