/* Blog list and detail page refinements. */
.ALL-list-section {
    width: min(57rem, calc(100% - 24px));
    margin: 34px auto 16px;
    padding: 0 12px;
    text-align: left;
}

.ALL-list-section-kicker {
    margin: 0 0 8px;
    color: rgba(111, 79, 53, 0.78);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    line-height: 1.2;
    text-transform: uppercase;
}

.ALL-list-section-title {
    margin: 0;
    color: #29231d;
    font-size: clamp(1.55rem, 2.35vw, 2.2rem);
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.22;
}

.ALL-list-section-note {
    max-width: 42rem;
    margin: 8px 0 0;
    color: rgba(67, 56, 45, 0.72);
    font-size: 0.95rem;
    line-height: 1.7;
}

.ALL-list-heading {
    margin: 28px 16px 14px;
    color: #29231d;
    font-size: clamp(1.65rem, 3vw, 2.4rem) !important;
    line-height: 1.18;
}

.ALL-detail-image-card {
    height: clamp(340px, 54vh, 560px);
}

.ALL-detail-main-img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
}

.ALL-post-card {
    height: 303px !important;
    min-height: 303px !important;
    max-height: 303px !important;
}

.ALL-post-card .ALL-post-media,
.ALL-post-card .card-img,
.ALL-post-card .ALL-post-copy {
    height: 303px !important;
    min-height: 303px !important;
    max-height: 303px !important;
}

.ALL-post-card .ALL-post-card-img {
    display: block;
    width: 100%;
    height: 303px !important;
    min-height: 303px !important;
    max-height: 303px !important;
    object-fit: cover;
    object-position: center;
}

.ALL-post-card .card-body {
    display: flex;
    height: 100%;
    flex-direction: column;
    padding-top: 38px !important;
}

.ALL-post-card .ALL-post-title {
    min-height: 52px !important;
    max-height: 52px !important;
    margin-top: 4px !important;
    margin-bottom: 12px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.ALL-post-card .ALL-post-intro {
    min-width: 0 !important;
    min-height: 96px !important;
    max-height: 96px !important;
    margin-bottom: 12px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.ALL-post-card .ALL-green-btn {
    width: 150px;
    min-width: 150px;
    margin-top: auto !important;
}

.ALL-post-card .ALL-post-meta {
    max-width: 100px;
    margin: 8px 0 0;
}

.ALL-pagination {
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 0;
    padding: 0 16px;
}

.ALL-pagination .ALL-pagination-item {
    width: 120px;
    margin-left: 0 !important;
}

.ALL-pagination .ALL-pagination-link {
    width: 120px;
    min-width: 120px;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 252, 245, 0.72) !important;
}

.ALL-pagination .ALL-pagination-link.is-disabled {
    opacity: 0.48;
    cursor: default;
    pointer-events: none;
    filter: grayscale(0.2);
}

@media screen and (max-width: 767.98px) {
    .ALL-detail-image-card {
        height: clamp(250px, 60vw, 380px);
    }

    .ALL-post-card {
        height: 476px !important;
        min-height: 476px !important;
        max-height: 476px !important;
    }

    .ALL-post-card .ALL-post-media,
    .ALL-post-card .card-img,
    .ALL-post-card .ALL-post-card-img {
        height: 216px !important;
        min-height: 216px !important;
        max-height: 216px !important;
    }

    .ALL-post-card .ALL-post-copy,
    .ALL-post-card .card-body {
        height: 260px !important;
        min-height: 260px !important;
        max-height: 260px !important;
    }

    .ALL-post-card .card-body {
        padding-top: 22px !important;
    }

    .ALL-post-card .ALL-post-title {
        min-height: 44px !important;
        max-height: 44px !important;
    }

    .ALL-post-card .ALL-post-intro {
        min-height: 76px !important;
        max-height: 76px !important;
        -webkit-line-clamp: 3;
    }
}

@media screen and (max-width: 575.98px) {
    .ALL-list-section {
        width: calc(100% - 24px);
        margin-top: 24px;
        padding: 0;
    }

    .ALL-list-section-title,
    .ALL-list-heading {
        font-size: clamp(1.45rem, 8vw, 2rem) !important;
    }

    .ALL-pagination {
        gap: 12px;
    }

    .ALL-pagination .ALL-pagination-item,
    .ALL-pagination .ALL-pagination-link {
        width: min(148px, 42vw);
        min-width: 0;
    }
}
