.site-main:has(.frontend-about) {
    width: 100%;
    margin: 0;
}

.site-main:has(.frontend-about) + .friend-links {
    display: none;
}

.frontend-about {
    width: 100%;
    margin: 0;
    padding: 0 0 72px;
    color: #333333;
    font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

.about-hero {
    position: relative;
    height: 153px;
    overflow: hidden;
    background: #dceaf0 url("/static/frontend/images/common/about-banner.png?v=20260830a") center / cover no-repeat;
}

.about-hero__decoration,
.about-hero__decoration::before,
.about-hero__decoration::after {
    position: absolute;
    content: "";
}

.about-hero__decoration {
    display: none;
}

.about-hero__decoration::before {
    top: -78px;
    right: 15%;
    width: 300px;
    height: 255px;
    background: linear-gradient(135deg, #91abb7 0 13%, #c5ad78 13% 72%, #998b72 72%);
    box-shadow: -28px 18px 0 rgba(53, 111, 143, .58);
    transform: rotate(-9deg);
}

.about-hero__decoration::after {
    top: -50px;
    right: 34%;
    width: 170px;
    height: 240px;
    background: linear-gradient(165deg, #d9e7ed 0 56%, #4f89a9 56% 73%, #c77570 73%);
    transform: rotate(10deg);
}

.about-hero__bar {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    width: 1200px;
    height: 48px;
    margin: 0 auto;
    color: #ffffff;
    background: rgba(48, 54, 57, .76);
}

.about-navigation ul {
    display: flex;
    align-items: center;
    height: 100%;
}

.about-navigation {
    min-width: 0;
}

.about-navigation__link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    height: 48px;
    padding: 0 22px;
    color: rgba(255, 255, 255, .92);
    font-size: 15px;
    white-space: nowrap;
}

.about-navigation__link:hover,
.about-navigation__link:focus-visible,
.about-navigation__link.is-active {
    color: #ffffff;
    background: #e20c16;
}

.about-main {
    width: 1200px;
    margin: 0 auto;
}

.about-content {
    width: 100%;
    margin-top: 20px;
    overflow: hidden;
    background: #ffffff;
    border-top: 4px solid #e9000f;
    border-radius: 8px;
    box-shadow: 0 8px 22px rgba(26, 55, 68, .07);
}

.about-introduction {
    min-height: 900px;
    padding: 62px 96px 72px;
}

.about-content__header {
    margin-bottom: 30px;
    text-align: center;
}

.about-content__header h1 {
    color: #000000;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.45;
}

.about-content__body {
    color: #000000;
    font-size: 18px;
    line-height: 34px;
}

.about-content__body > p {
    margin-bottom: 28px;
    text-align: justify;
    text-indent: 2em;
}

.about-contact-summary {
    margin-top: 36px;
}

.about-contact-summary p {
    margin-top: 20px;
    line-height: 34px;
}

.about-contact-summary p:first-child {
    margin-top: 0;
    color: #000000;
    font-weight: 600;
}

.about-cities-content {
    padding: 36px 32px 12px;
}

.frontend-about-cities {
    padding-bottom: 16px;
}

.city-index {
    padding-bottom: 34px;
}

.city-index ul {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 10px;
}

.city-index a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 48px;
    color: #333333;
    font-size: 15px;
    background: #f4f4f4;
    border: 1px solid #e7e7e7;
    border-radius: 6px;
}

.city-index a:hover,
.city-index a:focus-visible {
    color: #ffffff;
    background: #e20c16;
    border-color: #e20c16;
}

.city-directory {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    align-items: stretch;
    gap: 22px 20px;
}

.city-card {
    min-height: 0;
    padding: 24px 20px 20px;
    border: 1px solid #e5e5e5;
    border-radius: 7px;
    scroll-margin-top: 18px;
}

.city-card h2 {
    position: relative;
    margin-bottom: 14px;
    padding-left: 40px;
    color: #000000;
    font-size: 20px;
    font-weight: 600;
    line-height: 32px;
}

.city-card h2::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 32px;
    height: 32px;
    content: "";
    background: url("/static/frontend/images/common/about-building.png?v=20260830a") center / contain no-repeat;
}

.city-card dl {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    align-items: start;
    column-gap: 4px;
    row-gap: 12px;
    color: #000000;
    font-size: 16px;
    line-height: 28px;
}

.city-card dt {
    font-size: 0;
    line-height: 0;
}

.city-card dt::before {
    display: block;
    width: 24px;
    height: 24px;
    margin-top: 2px;
    content: "";
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.city-card dt:nth-of-type(1)::before {
    background-image: url("/static/frontend/images/common/about-location.png?v=20260830a");
}

.city-card dt:nth-of-type(2)::before {
    background-image: url("/static/frontend/images/common/about-phone.png?v=20260830a");
}

.city-card dt:nth-of-type(3)::before {
    background-image: url("/static/frontend/images/common/about-postal.png?v=20260830a");
}

.city-card dt:nth-of-type(1),
.city-card dd:nth-of-type(1) {
    order: 1;
}

.city-card dt:nth-of-type(3),
.city-card dd:nth-of-type(3) {
    order: 2;
}

.city-card dt:nth-of-type(2),
.city-card dd:nth-of-type(2) {
    order: 3;
}

.city-card dd {
    min-width: 0;
}

.city-card dd:nth-of-type(3)::before {
    content: "邮编：";
}

.city-card dd:nth-of-type(2)::before {
    content: "电话：";
}

.about-contact-content {
    min-height: 700px;
    padding: 30px 48px 64px;
    color: #000000;
}

.contact-directory {
    display: flex;
    flex-direction: column;
}

.contact-card {
    padding: 0 0 34px;
}

.contact-card + .contact-card {
    padding-top: 8px;
}

.contact-card h2 {
    margin-bottom: 10px;
    color: #000000;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.7;
}

.contact-card dl {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    color: #000000;
    font-size: 16px;
    line-height: 2;
}

.contact-card dd {
    min-width: 0;
    overflow-wrap: anywhere;
}

@media (max-width: 1248px) {
    .about-hero__bar,
    .about-main {
        width: auto;
        margin-right: 24px;
        margin-left: 24px;
    }
}

@media (max-width: 900px) {
    .about-introduction {
        min-height: 0;
        padding: 48px 42px 56px;
    }

    .about-content__body {
        font-size: 16px;
    }

    .city-directory {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .frontend-about {
        padding-bottom: 38px;
    }

    .about-hero {
        height: 142px;
    }

    .about-hero__bar {
        right: 12px;
        left: 12px;
        display: block;
        width: auto;
        height: 48px;
        margin: 0;
    }

    .about-navigation {
        overflow-x: auto;
    }

    .about-navigation ul {
        display: grid;
        grid-template-columns: repeat(3, minmax(100px, 1fr));
        width: max-content;
        min-width: 100%;
    }

    .about-navigation__link {
        min-width: 100px;
        height: 48px;
        padding: 0 14px;
        font-size: 14px;
    }

    .about-main {
        width: auto;
        margin-right: 12px;
        margin-left: 12px;
    }

    .about-content {
        margin-top: 12px;
    }

    .about-introduction {
        padding: 30px 20px 38px;
    }

    .about-content__header {
        margin-bottom: 22px;
    }

    .about-content__header h1 {
        font-size: 24px;
    }

    .about-content__body {
        font-size: 15px;
        line-height: 1.95;
    }

    .about-content__body > p {
        margin-bottom: 20px;
        text-indent: 2em;
    }

    .about-contact-summary {
        margin-top: 28px;
    }

    .about-contact-summary p {
        margin-top: 12px;
    }

    .about-cities-content {
        padding: 20px 16px 12px;
    }

    .frontend-about-cities {
        padding-bottom: 16px;
    }

    .city-index {
        padding-bottom: 18px;
    }

    .city-index ul {
        gap: 8px;
    }

    .city-index a {
        width: auto;
        min-width: 58px;
        height: 36px;
        padding: 0 12px;
        font-size: 14px;
    }

    .city-directory {
        grid-template-columns: minmax(0, 1fr);
        grid-auto-rows: auto;
        gap: 12px;
    }

    .city-card {
        min-height: 0;
        padding: 20px 16px 18px;
    }

    .city-card h2 {
        padding-left: 36px;
        font-size: 18px;
        line-height: 28px;
    }

    .city-card h2::before {
        width: 28px;
        height: 28px;
    }

    .city-card dl {
        font-size: 15px;
        line-height: 26px;
    }

    .about-contact-content {
        min-height: 0;
        padding: 24px 20px 34px;
    }

    .contact-card {
        padding-bottom: 26px;
    }

    .contact-card h2 {
        font-size: 20px;
    }

    .contact-card dl {
        grid-template-columns: minmax(0, 1fr);
        font-size: 15px;
        line-height: 1.8;
    }

    .contact-card dt {
        margin-top: 4px;
        font-weight: 600;
    }
}
