/* FIP 复刻站正文版式组件（展览等栏目内页通用）
   设计语言与页头标语面板/语言切换器一致：主蓝 #1b0af0、深蓝 #1f4a8f、点缀黄 #ffb400
   后台「官网页面管理」编辑正文时可直接使用这些 class：
   .fip-sec 版式容器 / .fip-sec-intro 导语 / .fip-table 表格 / .fip-grid 卡片网格
   .fip-card 卡片 / .fip-ph-img 图片占位 / .fip-sec-note 筹备提示 */
.fip-sec {
    max-width: 1100px;
    margin: 0 auto;
    padding: 28px 16px 48px;
    color: #757575;
    line-height: 1.45;
    font-size: 14px;
}

/* 版式页的文章标题（fl-post-title）源站默认全宽贴左，与居中的正文容器不齐；
   约束到与 .fip-sec 相同的 1100px 居中容器。本文件先于源站 bundle CSS 加载，
   故用 .fl-post 父级选择器抬高优先级（同 header-tagline.css 的做法） */
.fl-post .fl-post-title {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
}

/* 导语卡片：浅蓝底 + 左侧深蓝竖线（同页头标语面板风格） */
.fip-sec-intro {
    margin-bottom: 28px;
    padding: 14px 18px;
    border-left: 3px solid #1f4a8f;
    border-radius: 2px 10px 10px 2px;
    background: rgba(31, 74, 143, .06);
    color: #1f4a8f;
}
.fip-sec-intro p { margin: 0; }

/* 区块标题：深蓝 + 黄色短线点缀 */
.fip-sec h2 {
    margin: 34px 0 18px;
    padding-bottom: 10px;
    position: relative;
    font-size: 26px;
    line-height: 1.4;
    color: #333;
    font-weight: 400;
}
.fip-sec h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 36px;
    height: 3px;
    background: #ffb400;
    border-radius: 2px;
}
.fip-sec h2:first-of-type { margin-top: 0; }
.fip-sec p { margin: 0 0 10px; }

/* 筹备提示 */
.fip-sec-note {
    margin-top: 30px;
    padding: 12px 16px;
    border: 1px dashed rgba(31, 74, 143, .45);
    border-radius: 8px;
    background: rgba(31, 74, 143, .04);
    color: #757575;
    font-size: 13px;
}

/* 表格（外层 wrap 保证小屏不横向溢出页面） */
.fip-table-wrap { overflow-x: auto; margin: 0 0 8px; }
.fip-table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    background: #fff;
}
.fip-table th {
    padding: 11px 14px;
    background: #1f4a8f;
    color: #fff;
    text-align: left;
    font-size: 14px;
    white-space: nowrap;
}
.fip-table td {
    padding: 11px 14px;
    border-bottom: 1px solid #e5e9f2;
    color: #757575;
}
.fip-table tbody tr:nth-child(even) { background: rgba(31, 74, 143, .035); }
.fip-table tbody tr:hover { background: rgba(27, 10, 240, .06); }
.fip-table .fip-muted { color: #9aa9c2; }

/* 图片卡片网格 */
.fip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 18px;
    margin: 0 0 8px;
}
.fip-card {
    background: #fff;
    border: 1px solid #e5e9f2;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow .2s, transform .2s;
}
.fip-card:hover {
    box-shadow: 0 6px 18px rgba(31, 74, 143, .16);
    transform: translateY(-2px);
}

/* 图片占位块（客户拿到真实邮品图后可直接换成 <img>） */
.fip-ph-img {
    aspect-ratio: 3 / 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: rgba(31, 74, 143, .05);
    border-bottom: 1px solid #e5e9f2;
    color: #8496b3;
    font-size: 13px;
}
.fip-ph-img::before { content: '🖼'; font-size: 26px; opacity: .55; }
.fip-card-cap {
    padding: 10px 14px 12px;
    color: #1f4a8f;
    font-size: 14px;
    font-weight: 700;
}
.fip-card-cap small {
    display: block;
    margin-top: 2px;
    color: #8496b3;
    font-weight: 400;
}

/* 总览页导航卡片：整卡为链接 */
a.fip-card-link { display: block; text-decoration: none; }
.fip-card-body {
    padding: 14px 16px;
    color: #1f4a8f;
    font-size: 14px;
    font-weight: 700;
}
.fip-card-body small {
    display: block;
    margin-top: 2px;
    color: #8496b3;
    font-size: 12.5px;
    font-weight: 400;
}

/* 联系人卡片（联系页模板） */
.fip-contact-card {
    padding: 20px 14px 16px;
    text-align: center;
}
.fip-contact-role {
    color: #8496b3;
    font-size: 12.5px;
    letter-spacing: .08em;
}
.fip-contact-name {
    margin: 7px 0 9px;
    color: #1f4a8f;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}
.fip-contact-mail {
    display: inline-block;
    color: #2b7bb9;
    font-size: 13px;
    word-break: break-all;
    text-decoration: none;
}
.fip-contact-mail:hover {
    color: #1f4a8f;
    text-decoration: none;
}
.fip-contact-mail::before { content: '✉ '; }

/* 信息行（地址等） */
.fip-info-box {
    padding: 14px 18px;
    background: rgba(31, 74, 143, .05);
    border-radius: 8px;
    color: #444;
}
.fip-info-box p { margin: 0 0 8px; }
.fip-info-box p:last-child { margin-bottom: 0; }

/* 响应式：手机 */
@media (max-width: 767px) {
    .fip-sec { padding: 20px 14px 40px; }
    .fl-post .fl-post-title { padding-left: 14px; padding-right: 14px; }
    .fip-sec h2 { font-size: 19px; }
    .fip-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
    .fip-card-cap, .fip-card-body { padding: 9px 12px 11px; }
}
