/* ===== CaWrong 通用页脚样式 ===== */
/* 所有样式以 Ca 为前缀，避免冲突 */
/* 依赖字体：霞鹜文楷 (LXGW WenKai) */
@import url('https://cdnjs.cloudflare.com/ajax/libs/lxgw-wenkai-webfont/1.7.0/style.min.css');

.Ca-footer {
    width: 100%;
    background: transparent;
    font-family: 'LXGW WenKai', '华文楷体', 'KaiTi', '宋体', serif;
    color: #2e3b34;
    padding: 2rem 0 1.5rem 0;
    border-top: 1px solid #e2ebe4;
    margin-top: auto;
    box-sizing: border-box;
}

.Ca-footer * {
    box-sizing: border-box;
}

.Ca-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

/* 上部：左侧链接 + 右侧品牌 */
.Ca-footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 2rem 1rem;
}

/* 左侧链接组 */
.Ca-footer-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.Ca-footer-link {
    font-size: 1rem;
    font-weight: 340;
    color: #487a64;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: color 0.2s ease, border-color 0.2s ease;
    padding: 0.2rem 0;
    border-bottom: 1px solid transparent;
}

.Ca-footer-link:hover {
    color: #1d453b;
    border-bottom-color: #9bbdac;
}

/* 右侧品牌区域 (包含分隔符) */
.Ca-footer-brand {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

/* 分割线 - 调整为更深的水墨色 (#6a8f7c) */
.Ca-footer-divider {
    width: 1px;
    height: 28px;
    background: #6a8f7c;  /* 更深的水墨绿，如浓墨一笔 */
}

.Ca-brand-name {
    font-size: 1.5rem;
    font-weight: 400;
    color: #1c4237;
    letter-spacing: 1.5px;
    line-height: 1.2;
    text-shadow: 1px 1px 2px rgba(100, 120, 100, 0.1);
}

/* 下部：标语区域 */
.Ca-footer-bottom {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.5rem;
}

.Ca-slogan {
    font-size: 1rem;
    font-weight: 320;
    color: #5b8875;
    letter-spacing: 1.2px;
    font-style: normal;
    border-right: 1px solid #c2d9cb;  /* 保持较浅，与分割线区分层次 */
    padding-right: 1.5rem;
    line-height: 1.4;
}

/* 极窄屏幕适配 */
@media (max-width: 600px) {
    .Ca-footer-container {
        padding: 0 1.2rem;
    }
    .Ca-footer-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.2rem;
    }
    .Ca-footer-brand {
        align-self: flex-start;
    }
    .Ca-footer-bottom {
        justify-content: flex-start;
    }
    .Ca-slogan {
        border-right: none;
        border-left: 1px solid #c2d9cb;
        padding-left: 1rem;
        padding-right: 0;
    }
}

/* 可选水墨装饰 (不影响布局) */
.Ca-footer-ink {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle at 70% 70%, rgba(140, 170, 140, 0.04) 0%, transparent 70%);
    filter: blur(20px);
    pointer-events: none;
    z-index: -1;
}