/**
 * 相册列表：按分类别名 #album-list-{unique_id} 区分布局
 * certificate → 参考 dental-implant-lab.com/37741
 * customer    → 参考 dental-implant-lab.com/37025 (Testimonials)
 */

/* 通用：相册页 Hero */
body.page-album-certificate .lanyun-section-ryeubvj5 > .lanyun-widget-container,
body.page-album-testimonials .lanyun-section-ryeubvj5 > .lanyun-widget-container,
body.page-album-service .lanyun-section-ryeubvj5 > .lanyun-widget-container,
body.page-album-default .lanyun-section-ryeubvj5 > .lanyun-widget-container {
    background-color: rgba(35, 70, 170, 1) !important;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

body.page-album-certificate .lanyun-section-8ht5dij2 .lanyun-headline,
body.page-album-testimonials .lanyun-section-8ht5dij2 .lanyun-headline,
body.page-album-service .lanyun-section-8ht5dij2 .lanyun-headline,
body.page-album-default .lanyun-section-8ht5dij2 .lanyun-headline {
    font-size: 28px;
    line-height: 2;
    text-align: center;
    color: rgba(255, 255, 255, 1) !important;
}

body.page-album-certificate .lanyun-section-w9w5dqau > .lanyun-widget-container,
body.page-album-testimonials .lanyun-section-w9w5dqau > .lanyun-widget-container,
body.page-album-service .lanyun-section-w9w5dqau > .lanyun-widget-container,
body.page-album-default .lanyun-section-w9w5dqau > .lanyun-widget-container {
    text-align: center;
}

body.page-album-certificate .lanyun-section-w9w5dqau .lanyun-crumbs-content,
body.page-album-certificate .lanyun-section-w9w5dqau .lanyun-current-title,
body.page-album-certificate .lanyun-section-w9w5dqau .lanyun-decollator,
body.page-album-testimonials .lanyun-section-w9w5dqau .lanyun-crumbs-content,
body.page-album-testimonials .lanyun-section-w9w5dqau .lanyun-current-title,
body.page-album-testimonials .lanyun-section-w9w5dqau .lanyun-decollator,
body.page-album-service .lanyun-section-w9w5dqau .lanyun-crumbs-content,
body.page-album-service .lanyun-section-w9w5dqau .lanyun-current-title,
body.page-album-service .lanyun-section-w9w5dqau .lanyun-decollator {
    color: rgba(255, 255, 255, 1) !important;
}

body.page-album-certificate .lanyun-section-albumbody > .lanyun-widget-container,
body.page-album-testimonials .lanyun-section-albumbody > .lanyun-widget-container,
body.page-album-service .lanyun-section-albumbody > .lanyun-widget-container,
body.page-album-default .lanyun-section-albumbody > .lanyun-widget-container {
    margin: 40px auto 60px;
    padding: 0 20px;
    max-width: 1366px;
    box-sizing: border-box;
}

body.page-album-testimonials .lanyun-section-albumbody > .lanyun-widget-container,
body.page-album-testimonials .lanyun-section-albumgallery > .lanyun-widget-container {
    background-color: rgba(255, 255, 255, 1);
}

/* ---------- Certificate（资质证书，仅标题 + 大图） ---------- */
#album-list-certificate.lanyun-gallery-wrap,
#album-list-certificate .lanyun-gallery-wrap {
    margin: 0;
    padding: 0;
}

#album-list-certificate .lanyun-gallery-item > a {
    display: block;
    text-decoration: none;
    color: inherit;
}

#album-list-certificate .lanyun-row-img-wrap {
    width: 100%;
}

#album-list-certificate .lanyun-row-img {
    padding-bottom: 130%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    background-color: rgba(255, 255, 255, 1);
    border: 1px solid rgba(232, 232, 232, 1);
}

#album-list-certificate .lanyun-gallery-text {
    text-align: center;
    padding: 12px 8px 0;
}

#album-list-certificate .lanyun-text-title {
    font-size: 18px;
    font-weight: 600;
    color: rgba(51, 51, 51, 1);
}

#album-list-certificate .lanyun-text-desc {
    display: none;
}

/* ---------- Customer / Testimonials（参考 37025：无卡片框、图标+文案居中） ---------- */
#album-list-customer .album-gallery-grid--testimonials,
#album-list-customer .album-gallery-grid--testimonials.lanyun-gallery-wrap,
#album-list-testimonials .album-gallery-grid--testimonials,
#album-list-testimonials .album-gallery-grid--testimonials.lanyun-gallery-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    margin: 0 -24px;
    padding: 8px 0 24px;
    list-style: none;
}

#album-list-customer .album-gallery-grid--testimonials > .lanyun-gallery-item,
#album-list-testimonials .album-gallery-grid--testimonials > .lanyun-gallery-item,
#album-list-customer .album-gallery-grid--testimonials > .lanyun-gallery-item.lanyun-row-item,
#album-list-testimonials .album-gallery-grid--testimonials > .lanyun-gallery-item.lanyun-row-item {
    width: 33.3333%;
    padding: 0 24px 48px;
    margin: 0;
    border: none;
    background: transparent;
    box-shadow: none;
    box-sizing: border-box;
    float: none !important;
    clear: none !important;
}

#album-list-customer .album-gallery-grid--testimonials .lanyun-gallery-item > a,
#album-list-testimonials .album-gallery-grid--testimonials .lanyun-gallery-item > a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    text-decoration: none;
    color: rgba(51, 51, 51, 1);
    cursor: default;
    height: 100%;
    pointer-events: none;
}

#album-list-customer .album-gallery-grid--testimonials .lanyun-row-img-wrap,
#album-list-testimonials .album-gallery-grid--testimonials .lanyun-row-img-wrap {
    width: 96px;
    height: 96px;
    max-width: 100%;
    margin: 0 auto;
    flex-shrink: 0;
}

#album-list-customer .album-gallery-grid--testimonials .lanyun-row-img,
#album-list-testimonials .album-gallery-grid--testimonials .lanyun-row-img {
    width: 100%;
    height: 100%;
    padding-bottom: 0 !important;
    min-height: 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}

#album-list-customer .album-gallery-grid--testimonials .lanyun-gallery-text,
#album-list-testimonials .album-gallery-grid--testimonials .lanyun-gallery-text {
    width: 100%;
    text-align: center;
    padding: 18px 0 0;
}

#album-list-customer .album-gallery-grid--testimonials .lanyun-text-title,
#album-list-testimonials .album-gallery-grid--testimonials .lanyun-text-title {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    color: rgba(51, 51, 51, 1);
    margin: 0 0 10px;
}

#album-list-customer .album-gallery-grid--testimonials .lanyun-text-desc,
#album-list-testimonials .album-gallery-grid--testimonials .lanyun-text-desc,
#album-list-customer .album-gallery-grid--testimonials .lanyun-text-desc p,
#album-list-testimonials .album-gallery-grid--testimonials .lanyun-text-desc p {
    font-size: 18px;
    font-weight: 400;
    line-height: 2;
    color: rgba(51, 51, 51, 1);
    text-align: center;
    margin: 0;
}

@media (max-width: 1024px) {
    #album-list-customer .album-gallery-grid--testimonials > .lanyun-gallery-item,
    #album-list-testimonials .album-gallery-grid--testimonials > .lanyun-gallery-item {
        width: 50%;
    }
}

@media (max-width: 767px) {
    #album-list-customer .album-gallery-grid--testimonials,
    #album-list-testimonials .album-gallery-grid--testimonials {
        margin: 0 -12px;
    }
    #album-list-customer .album-gallery-grid--testimonials > .lanyun-gallery-item,
    #album-list-testimonials .album-gallery-grid--testimonials > .lanyun-gallery-item {
        width: 100%;
        padding: 0 12px 36px;
    }
    #album-list-customer .album-gallery-grid--testimonials .lanyun-text-title,
    #album-list-testimonials .album-gallery-grid--testimonials .lanyun-text-title,
    #album-list-customer .album-gallery-grid--testimonials .lanyun-text-desc,
    #album-list-testimonials .album-gallery-grid--testimonials .lanyun-text-desc {
        font-size: 16px;
    }
}

/* ---------- Service（服务展示，常规网格） ---------- */
#album-list-service .lanyun-row-img {
    padding-bottom: 75%;
    background-size: cover;
    background-position: center center;
}

#album-list-service .lanyun-gallery-text {
    text-align: center;
    padding: 10px 6px 0;
}

#album-list-service .lanyun-text-title {
    font-size: 16px;
    font-weight: 600;
}

#album-list-service .lanyun-text-desc {
    display: none;
}

@media (max-width: 767px) {
    body.page-album-certificate .lanyun-section-8ht5dij2 .lanyun-headline,
    body.page-album-testimonials .lanyun-section-8ht5dij2 .lanyun-headline {
        font-size: 24px;
    }
    body.page-album-certificate .lanyun-section-albumbody > .lanyun-widget-container,
    body.page-album-testimonials .lanyun-section-albumbody > .lanyun-widget-container {
        margin: 24px auto 40px;
        padding: 0 16px;
    }
}
