/* 关于我们 — 温和、清晰、主题变量适配 */
.about-page {
    --about-ease: cubic-bezier(0.22, 1, 0.36, 1);
    max-width: 880px;
    margin: 0 auto;
    padding: 0.5rem 0 3rem;
    color: var(--text-primary);
}

.about-page__hero {
    position: relative;
    margin: 0 0 1.75rem;
    overflow: hidden;
    border-radius: calc(var(--border-radius, 12px) + 4px);
    background: var(--bg-secondary);
    box-shadow: 0 1px 0 color-mix(in srgb, var(--border-primary) 80%, transparent);
}

.about-page__hero img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
}

.about-page__intro {
    text-align: center;
    margin: 0 0 2rem;
    padding: 0 0.5rem;
}

.about-page__eyebrow {
    display: inline-block;
    margin: 0 0 0.65rem;
    padding: 0.2rem 0.7rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--theme-color);
    background: color-mix(in srgb, var(--theme-color) 10%, transparent);
    border-radius: 999px;
}

.about-page__title {
    margin: 0 0 0.45rem;
    font-size: clamp(1.45rem, 3vw, 1.9rem);
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.35;
    color: var(--text-primary);
}

.about-page__subtitle {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--text-secondary);
}

.about-page__contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
    margin: 0 0 2.25rem;
}

.about-page__contact-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    min-width: 0;
    padding: 1.05rem 1.15rem;
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--border-radius, 12px);
    transition: border-color 0.2s var(--about-ease), box-shadow 0.2s var(--about-ease);
}

.about-page__contact-item:hover {
    border-color: color-mix(in srgb, var(--theme-color) 35%, var(--border-primary));
    box-shadow: 0 6px 20px color-mix(in srgb, var(--theme-color) 8%, transparent);
}

/* 图标用 CSS 画，避免 WP 编辑器删掉正文里的 SVG */
.about-page__contact-item::before {
    content: "";
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background-color: color-mix(in srgb, var(--theme-color) 12%, transparent);
}

.about-page__contact-item::after {
    content: "";
    position: absolute;
    left: 1.15rem;
    top: 1.05rem;
    width: 40px;
    height: 40px;
    background-color: var(--theme-color);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: 20px 20px;
    mask-size: 20px 20px;
}

.about-page__contact-item:nth-child(1)::after {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.81.36 1.6.7 2.35a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.75.34 1.54.57 2.35.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.81.36 1.6.7 2.35a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.75.34 1.54.57 2.35.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
}

.about-page__contact-item:nth-child(2)::after {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
}

.about-page__icon {
    display: none;
}

.about-page__contact-body {
    min-width: 0;
    flex: 1;
}

.about-page__label {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--text-muted);
}

.about-page__value {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.5;
    word-break: break-word;
    color: var(--text-primary);
}

.about-page__value a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
}

.about-page__value a:hover,
.about-page__value a:focus-visible {
    color: var(--theme-color);
    border-bottom-color: var(--theme-color);
    outline: none;
}

.about-page__section-head {
    margin: 0 0 1.1rem;
    text-align: center;
}

.about-page__qr-title {
    margin: 0 0 0.35rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.about-page__qr-desc {
    margin: 0;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.about-page__qr-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.15rem;
}

.about-page__qr-item {
    text-align: center;
    padding: 1.35rem 1rem 1.4rem;
    border: 1px solid var(--border-primary);
    border-radius: calc(var(--border-radius, 12px) + 2px);
    background: var(--bg-card);
    transition: transform 0.25s var(--about-ease), box-shadow 0.25s var(--about-ease), border-color 0.25s ease;
}

.about-page__qr-item:hover {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--theme-color) 28%, var(--border-primary));
    box-shadow: 0 10px 28px color-mix(in srgb, var(--theme-color) 10%, transparent);
}

.about-page__qr-item h3 {
    margin: 0 0 1rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.about-page__qr-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 200px;
    margin: 0 auto 0.9rem;
    padding: 12px;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid var(--border-primary);
    border-radius: 12px;
    box-shadow: 0 2px 8px color-mix(in srgb, #000 4%, transparent);
}

.about-page__qr-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
}

.about-page__qr-item p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

@media (prefers-reduced-motion: reduce) {
    .about-page__contact-item,
    .about-page__qr-item,
    .about-page__value a {
        transition: none;
    }

    .about-page__qr-item:hover {
        transform: none;
    }
}

@media (max-width: 640px) {
    .about-page {
        padding-bottom: 2rem;
    }

    .about-page__contact,
    .about-page__qr-grid {
        grid-template-columns: 1fr;
    }

    .about-page__qr-frame {
        width: 188px;
        height: 188px;
    }

    .about-page__contact-item {
        min-height: 44px;
    }
}
