/* ==========================================================================
   GEO 内容区块样式（内容摘要 / 精华摘录 / 常见问答）
   太阳雨官网 sunrain.com · metv75
   说明：met_ai 插件自身输出的裸 HTML 区块（section.met-geo-summary /
   section.met-geo-citations）已被模板层剥离并由本套样式统一接管，
   下面两条 display:none 仅作为兜底，防止后台开关被重新打开时出现重复区块。
   ========================================================================== */

/* ---- 兜底：隐藏插件直出的无样式区块（模板层已剥离，此处双保险） ---- */
section.met-geo-summary,
section.met-geo-citations {
    display: none !important;
}

/* ---- 卡片容器 ---- */
.met-geo-card {
    position: relative;
    margin: 24px 0;
    padding: 20px 24px 18px;
    background: #fdfaf9;
    border: 1px solid #f1e3e1;
    border-left: 4px solid #C8161E;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(200, 22, 30, .05);
    font-size: 15px;
}

.met-geo-card--summary {
    background: linear-gradient(180deg, #fdf6f5 0%, #fefcfc 100%);
}

/* ---- 区块标题 ---- */
.met-geo-card__hd {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 12px;
    padding: 0 0 10px;
    border-bottom: 1px dashed #ecdcd9;
}

.met-geo-card__hd h2 {
    margin: 0;
    padding: 0;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.4;
    color: #C8161E;
    letter-spacing: .5px;
}

.met-geo-card__tag {
    display: inline-block;
    padding: 2px 10px;
    font-size: 12px;
    line-height: 18px;
    font-weight: 400;
    color: #a5766f;
    background: #f7ecea;
    border-radius: 20px;
}

/* ---- 内容摘要 ---- */
.met-geo-summary__text {
    margin: 0;
    font-size: 15.5px;
    line-height: 1.95;
    color: #4b4b4b;
    text-align: justify;
    word-break: break-word;
}

/* ---- 精华摘录 ---- */
.met-geo-cites {
    margin: 0;
    padding: 0;
    list-style: none;
}

.met-geo-cites__item {
    margin: 0 0 14px;
    padding: 0 0 12px;
    border-bottom: 1px solid #f4ecea;
}

.met-geo-cites__item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

.met-geo-cites__label {
    display: inline-block;
    margin: 0 0 6px;
    padding: 3px 11px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.6;
    border-radius: 4px;
    border: 1px solid transparent;
}

.met-geo-cites__text {
    margin: 0;
    font-size: 15px;
    line-height: 1.9;
    color: #4b4b4b;
    text-align: justify;
    word-break: break-word;
}

/* 标签配色：按要点类型自动归类 */
.met-geo-cites__item--data .met-geo-cites__label {
    color: #C8161E;
    background: #fbeaea;
    border-color: #f2d1ce;
}

.met-geo-cites__item--idea .met-geo-cites__label {
    color: #a96400;
    background: #fdf3e3;
    border-color: #f0dcb6;
}

.met-geo-cites__item--view .met-geo-cites__label {
    color: #1f5c9e;
    background: #eaf2fb;
    border-color: #cfe0f3;
}

.met-geo-cites__item--tech .met-geo-cites__label {
    color: #137a52;
    background: #e9f6ef;
    border-color: #c7e7d7;
}

.met-geo-cites__item--other .met-geo-cites__label {
    color: #7a5a55;
    background: #f5efee;
    border-color: #e6dbd9;
}

/* ---- 常见问答 ---- */
.met-geo-faq {
    margin: 0;
}

.met-geo-faq__item {
    margin: 0 0 16px;
    padding: 0 0 14px;
    border-bottom: 1px solid #f4ecea;
}

.met-geo-faq__item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

.met-geo-faq__q {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0 0 8px;
    padding: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.6;
    color: #2f2f2f;
}

.met-geo-faq__q::before {
    content: "Q";
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    margin-top: 2px;
    border-radius: 50%;
    background: #C8161E;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 22px;
    text-align: center;
}

.met-geo-faq__a {
    margin: 0 0 0 30px;
    font-size: 14.5px;
    line-height: 1.9;
    color: #555;
    text-align: justify;
    word-break: break-word;
}

/* ---- 移动端 ---- */
@media screen and (max-width: 991px) {
    .met-geo-card {
        margin: 18px 0;
        padding: 16px 16px 14px;
    }

    .met-geo-card__hd h2 {
        font-size: 17px;
    }

    .met-geo-summary__text,
    .met-geo-cites__text {
        font-size: 14.5px;
        line-height: 1.85;
    }

    .met-geo-faq__q {
        font-size: 15px;
    }

    .met-geo-faq__a {
        margin-left: 0;
        font-size: 14px;
    }
}
