/*
 * @kanway-css-index
 * 文件: css/about/about-awards.css
 * 层级: 关于我们
 * 引用页面: about-awards.html
 * 依赖: contact.css
 * 修改指引: .about-awards-* 资质荣誉
 * 索引: css/00-样式文件索引.css
 */
/* Qualifications & Honors — architecture from about_z (pp-ry + ry-2) */

.about-awards-page {
    padding: 0 0 72px;
}

.about-awards-title {
    text-align: center;
    margin: 40px auto 36px;
    max-width: 760px;
}

.about-awards-title h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px;
}

.about-awards-title span {
    display: inline-block;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.12em;
    color: #6c757d;
    margin-top: 12px;
    padding: 0 72px;
    position: relative;
}

.about-awards-title span::before,
.about-awards-title span::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 52px;
    height: 1px;
    background: #adb5bd;
}

.about-awards-title span::before {
    left: 0;
}

.about-awards-title span::after {
    right: 0;
}

.about-awards-featured ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px 20px;
    margin: 0;
    padding: 0;
}

.about-awards-featured li {
    position: relative;
    border: 1px solid #1d5198;
    box-sizing: border-box;
    padding: 22px 16px 52px;
    background: #fff;
    transition: box-shadow 0.25s;
}

.about-awards-featured li:hover {
    box-shadow: 0 8px 24px rgba(29, 81, 152, 0.12);
}

.about-awards-featured li img {
    display: block;
    width: 100%;
    height: auto;
    min-height: 200px;
    object-fit: contain;
    margin: 0 auto;
    background: #f8f9fb;
}

.about-awards-featured li p {
    position: absolute;
    z-index: 2;
    left: 10%;
    bottom: 18px;
    width: 80%;
    margin: 0;
    text-align: center;
    line-height: 1.35;
    padding: 8px 10px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: #1d5198;
    border-radius: 4px;
}

.about-awards-grid ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px 18px;
    margin: 8px 0 0;
    padding: 0;
}

.about-awards-grid li {
    position: relative;
    border: 1px solid #1d5198;
    box-sizing: border-box;
    padding: 20px 14px 48px;
    background: #fff;
    transition: box-shadow 0.25s;
}

.about-awards-grid li:hover {
    box-shadow: 0 8px 24px rgba(29, 81, 152, 0.12);
}

.about-awards-grid li img {
    display: block;
    width: 100%;
    height: auto;
    min-height: 260px;
    object-fit: contain;
    margin: 0 auto;
    background: #f8f9fb;
}

.about-awards-grid li p {
    position: absolute;
    z-index: 2;
    left: 10%;
    bottom: 16px;
    width: 80%;
    margin: 0;
    text-align: center;
    line-height: 1.35;
    padding: 7px 8px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    background: #1d5198;
    border-radius: 4px;
}

@media (max-width: 1100px) {
    .about-awards-featured ul {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-awards-grid ul {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .about-awards-featured ul,
    .about-awards-grid ul {
        grid-template-columns: 1fr;
    }

    .about-awards-title span {
        padding: 0 48px;
    }

    .about-awards-title span::before,
    .about-awards-title span::after {
        width: 36px;
    }
}
