/* 涉外婚姻法律观察网 — 中国新闻网风格 */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { font: 15px/1.75 "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "SimSun", sans-serif; color: #222; background: #fff; }
a { color: #222; text-decoration: none; }
a:hover { color: #a87a12; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
.wrap { width: 1200px; max-width: 96%; margin: 0 auto; }
b { font-weight: 700; }

/* 顶部信息条 */
.topbar { background: #f6f6f6; border-bottom: 1px solid #e8e8e8; font-size: 12px; color: #777; }
.tb-in { display: flex; justify-content: space-between; padding: 5px 0; }
.tb-r b { color: #a87a12; }

/* 报头 */
.mast { background: #fff; }
.mast-in { display: flex; align-items: center; justify-content: space-between; padding: 18px 0 14px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-seal { width: 56px; height: 56px; background: #b8860b; color: #fff; font-size: 22px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; border-radius: 4px; letter-spacing: 2px;
  font-family: "SimHei", "Microsoft YaHei"; box-shadow: 2px 2px 0 #6d5a1a; }
.logo-txt b { display: block; font-size: 30px; color: #16233f; letter-spacing: 2px; font-family: "SimHei", "Microsoft YaHei", sans-serif; }
.logo-txt i { display: block; font-style: normal; font-size: 11px; color: #999; letter-spacing: 1px; text-transform: uppercase; }

/* 搜索框 */
.h-search { display: flex; width: 360px; max-width: 40%; }
.h-search input { flex: 1; border: 2px solid #16233f; border-right: 0; height: 38px; padding: 0 12px; font-size: 14px; outline: none; }
.h-search button { width: 78px; background: #16233f; color: #fff; border: 0; font-size: 15px; cursor: pointer; }
.h-search button:hover { background: #b8860b; }

/* 主导航 */
.mainnav { background: #16233f; }
.mainnav ul { display: flex; }
.mainnav li a { display: block; padding: 0 30px; line-height: 46px; color: #fff; font-size: 17px; font-weight: 700; }
.mainnav li a:hover, .mainnav li a.on { background: #b8860b; color: #fff; }

/* 栏目标题 */
.secbar { display: flex; align-items: baseline; justify-content: space-between; border-bottom: 2px solid #16233f; margin: 26px 0 14px; }
.secbar h2 { font-size: 21px; color: #101d36; padding: 0 0 8px 12px; border-left: 6px solid #a87a12; line-height: 1.2; }
.secbar .more { font-size: 13px; color: #999; }
.secbar .more:hover { color: #a87a12; }

/* 布局 */
.main-grid { display: grid; grid-template-columns: 1fr 320px; gap: 28px; margin-top: 20px; padding-bottom: 30px; }
.side-dual { display: grid; grid-template-columns: 320px 1fr; gap: 28px; margin: 20px auto 30px; }

/* 焦点区 */
.focus { display: grid; grid-template-columns: 460px 1fr; border: 1px solid #e6e0d4; background: #fff; box-shadow: 0 1px 4px rgba(16,29,54,.06); }
.focus-img { position: relative; display: block; overflow: hidden; }
.focus-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.focus-img:hover img { transform: scale(1.045); }
.focus-txt { padding: 22px 26px 18px; display: flex; flex-direction: column; }
.focus-txt h1 { font-size: 25px; line-height: 1.45; margin-bottom: 12px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.focus-txt h1 a { color: #a87a12; }
.focus-txt > p { color: #555; font-size: 14.5px; line-height: 1.8; margin-bottom: 12px; text-align: justify; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.focus-meta { display: flex; gap: 12px; align-items: center; color: #999; font-size: 13px; padding-bottom: 12px; border-bottom: 2px solid #101d36; }
.tag { background: #b8860b; color: #fff; font-size: 12px; padding: 2px 8px; border-radius: 2px; }
.focus-list { margin-top: auto; }
.focus-list li { border-top: 1px dotted #ddd; }
.focus-list li:first-child { border-top: 0; }
.focus-list li a { display: block; padding: 9px 0; font-size: 15.5px; font-weight: 700; }
.focus-list li a::before { content: "▪"; color: #16233f; margin-right: 8px; }

/* 图片新闻行 */
.pic-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; }
.pic-card { border: 1px solid #e6e0d4; background: #fff; transition: box-shadow .25s; }
.pic-card:hover { box-shadow: 0 3px 12px rgba(16,29,54,.14); }
.pic-card > a { display: block; overflow: hidden; }
.pic-card img { width: 100%; height: 172px; object-fit: cover; display: block; transition: transform .45s ease; }
.pic-card:hover img { transform: scale(1.05); }
.pic-card h3 { font-size: 15.5px; line-height: 1.55; margin: 0; padding: 10px 12px 4px; }
.pic-card time { display: block; color: #999; font-size: 12px; padding: 0 12px 12px; }

/* 新闻列表 */
.news-list li { padding: 10px 2px; border-bottom: 1px dotted #ddd; display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.news-list li a { font-size: 15.5px; flex: 1; }
.news-list li a:hover { color: #a87a12; }
.news-list li time, .news-list li span { color: #999; font-size: 13px; white-space: nowrap; }
.case-list li span { max-width: 46%; overflow: hidden; text-overflow: ellipsis; }
.law-list li b { color: #16233f; margin-right: 10px; }

/* 侧栏 */
.col-side .side-box { border: 1px solid #e6e0d4; margin-bottom: 22px; }
.side-box h3 { background: #f3eee2; color: #16233f; font-size: 16px; padding: 9px 14px; border-left: 4px solid #a87a12; }
.side-box ul, .side-box p { padding: 8px 14px; }
.side-contact ul li { display: flex; gap: 10px; padding: 7px 0; border-bottom: 1px dashed #e5e5e5; font-size: 13.5px; align-items: baseline; }
.side-contact span { color: #888; white-space: nowrap; }
.side-contact .tel { color: #a87a12; font-size: 17px; }
.side-contact a { color: #16233f; }
.side-note { color: #999; font-size: 12.5px; }
.side-qa li { padding: 8px 0; border-bottom: 1px dotted #e5e5e5; font-size: 14px; }
.side-qa li b { color: #a87a12; margin-right: 6px; }
.side-law li { padding: 6px 0; border-bottom: 1px dotted #e5e5e5; font-size: 13.5px; }
.side-law li b { color: #16233f; margin-right: 6px; }
.side-about p { color: #555; font-size: 13.5px; }
.side-btn { display: block; margin: 6px 14px 14px; text-align: center; background: #16233f; color: #fff; padding: 8px 0; border-radius: 3px; font-size: 14px; }
.side-btn:hover { background: #b8860b; color: #fff; }

/* 面包屑 */
.crumb { color: #999; font-size: 13px; padding: 14px 0 4px; }
.crumb a { color: #999; }
.crumb a:hover { color: #a87a12; }

/* 深度调查列表 */
.inv-card { display: grid; grid-template-columns: 300px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid #eee; }
.inv-thumb img { width: 300px; height: 190px; object-fit: cover; }
.inv-txt h2 { font-size: 19px; margin-bottom: 8px; }
.inv-txt h2 a:hover { color: #a87a12; }
.inv-txt p { color: #555; font-size: 14px; margin-bottom: 10px; }
.inv-meta { display: flex; gap: 14px; align-items: center; color: #999; font-size: 12.5px; }

/* 文章详情 */
.art { max-width: 860px; margin: 10px auto 30px; }
.art h1 { font-size: 28px; line-height: 1.45; color: #111; margin: 14px 0 10px; }
.art-meta { color: #999; font-size: 13px; padding-bottom: 14px; border-bottom: 1px solid #eee; display: flex; gap: 18px; flex-wrap: wrap; }
.art-fig { margin: 18px 0; }
.art-fig img { width: 100%; max-height: 460px; object-fit: cover; }
.art-fig figcaption { font-size: 12.5px; color: #999; padding: 6px 2px; background: #f7f7f7; text-align: center; }
.art h3 { font-size: 19px; color: #101d36; margin: 22px 0 8px; padding-left: 10px; border-left: 4px solid #a87a12; line-height: 1.4; }
.art p { margin: 12px 0; text-align: justify; font-size: 16px; line-height: 1.95; }
.art-warn { margin-top: 24px; background: #fdf6ec; border: 1px solid #f2ddb4; color: #8a6d3b; padding: 12px 16px; font-size: 13.5px; border-radius: 3px; }
.art-warn b { color: #a87a12; }
.case-nav { display: flex; justify-content: space-between; margin-top: 20px; }
.case-nav a { color: #16233f; font-size: 14px; }
.case-art .ci-cat { display: inline-block; margin-top: 12px; }

/* 法规页 */
.law-head { margin: 14px 0 6px; }
.law-head h1 { font-size: 26px; color: #101d36; }
.law-sub { color: #888; font-size: 13.5px; margin: 6px 0; }
.law-note { background: #f4efe4; border-left: 4px solid #16233f; padding: 10px 14px; color: #444; font-size: 14px; }
.law-h2 { font-size: 22px; color: #101d36; margin: 30px 0 12px; padding: 0 0 8px 12px; border-left: 6px solid #a87a12; border-bottom: 2px solid #16233f; }
.table-wrap { overflow-x: auto; }
.law-table { width: 100%; border-collapse: collapse; font-size: 13.5px; margin-bottom: 10px; }
.law-table th { background: #16233f; color: #fff; padding: 9px 10px; text-align: left; white-space: nowrap; }
.law-table td { border: 1px solid #e6e0d4; padding: 9px 10px; vertical-align: top; }
.law-table tbody tr:nth-child(even) { background: #faf8f2; }
.law-table .c-no { color: #a87a12; font-weight: 700; white-space: nowrap; }
.law-table .c-name { font-weight: 700; color: #101d36; min-width: 210px; }
.law-table a { color: #16233f; white-space: nowrap; }
/* 法规页 · 条文区（卡片化） */
.law-sec { background: #fff; border: 1px solid #e6e0d4; border-top: 3px solid #16233f; padding: 22px 26px 18px; margin: 22px 0; box-shadow: 0 1px 3px rgba(13,44,86,.05); }
.law-sec h2 { font-size: 20px; color: #101d36; margin: 0 0 14px; padding: 0 0 10px 12px; border-left: 6px solid #a87a12; border-bottom: 1px solid #e6e0d4; }
.law-body { margin-top: 0; }
.law-body h3 { display: block; font-size: 15.5px; font-weight: 700; color: #101d36; margin: 20px 0 10px; padding: 7px 12px; background: #f4efe4; border-left: 4px solid #a87a12; }
.law-body p { font-size: 14.5px; line-height: 1.9; color: #3d4655; margin: 9px 0; padding: 0 0 0 14px; border-left: 3px solid #ece6d9; text-align: justify; }
.law-body p.law-link { border-left: 4px solid #a87a12; background: #faf7ee; padding: 8px 12px; }
.law-body a { color: #16233f; word-break: break-all; }

/* 案例库 */
.case-tools { display: flex; gap: 10px; align-items: center; margin: 8px 0 16px; flex-wrap: wrap; }
.case-tools input { flex: 1; min-width: 240px; height: 38px; border: 1px solid #ccd; padding: 0 12px; font-size: 14px; outline: none; }
.case-tools input:focus { border-color: #16233f; }
.fbtn { height: 38px; padding: 0 18px; border: 1px solid #16233f; background: #fff; color: #16233f; cursor: pointer; font-size: 14px; border-radius: 2px; }
.fbtn.on, .fbtn:hover { background: #16233f; color: #fff; }
.ccount { color: #999; font-size: 13px; }
.case-biglist li { display: flex; justify-content: space-between; gap: 14px; padding: 13px 6px; border-bottom: 1px dotted #ddd; align-items: flex-start; }
.ci-main { flex: 1; }
.ci-main a { font-size: 16px; font-weight: 700; line-height: 1.5; }
.ci-main a:hover { color: #a87a12; }
.ci-meta { color: #999; font-size: 12.5px; margin: 3px 0; }
.ci-ex { color: #666; font-size: 13px; }
.ci-cat { flex-shrink: 0; font-size: 12px; padding: 2px 9px; border-radius: 2px; color: #fff; background: #16233f; }
.ci-cat.cat2 { background: #7a5a1f; }
.case-body p { text-indent: 2em; }
.case-body p:first-child, .case-body p:nth-child(2) { text-indent: 0; font-weight: 700; color: #101d36; }

/* 100问答 */
.qa-intro { color: #666; font-size: 14px; background: #f9f6ef; padding: 10px 14px; border-left: 4px solid #16233f; margin: 6px 0 12px; }
.qajump { font-size: 13px; color: #999; margin-bottom: 10px; }
.qajump a { display: inline-block; margin: 2px 4px; color: #16233f; }
.qa-item { border-bottom: 1px solid #eee; }
.qa-item summary { cursor: pointer; padding: 13px 4px; font-size: 16px; font-weight: 700; list-style: none; position: relative; padding-right: 30px; }
.qa-item summary::-webkit-details-marker { display: none; }
.qa-item summary::after { content: "+"; position: absolute; right: 8px; top: 10px; color: #a87a12; font-size: 20px; font-weight: 400; }
.qa-item[open] summary::after { content: "−"; }
.qa-item summary b { color: #a87a12; margin-right: 10px; }
.qa-item summary:hover { color: #a87a12; }
.qa-body { padding: 4px 16px 16px 42px; }
.qa-body p { margin: 9px 0; font-size: 14.5px; }
.qa-body p b { display: inline-block; background: #16233f; color: #fff; font-size: 12.5px; padding: 1px 8px; margin-right: 10px; border-radius: 2px; font-weight: 400; }
.qa-body p.qa-concl b { background: #b8860b; }
.qa-who { color: #999; font-size: 12.5px !important; }
.qa-who span { margin-right: 18px; }

/* 关于我们 */
.about-intro { margin: 16px 0 6px; padding: 22px 26px; border: 1px solid #e6e0d4; border-top: 3px solid #16233f; background: #fff; }
.about-intro h1 { font-size: 26px; color: #101d36; margin-bottom: 12px; }
.about-intro p { font-size: 14.5px; color: #444; margin-bottom: 10px; line-height: 1.9; text-align: justify; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.team-card { border: 1px solid #e6e0d4; padding: 16px 18px; border-top: 3px solid #16233f; }
.team-card h3 { font-size: 18px; color: #101d36; display: inline; margin-right: 8px; }
.team-card > span { color: #a87a12; font-size: 13px; }
.team-card p { font-size: 13.5px; color: #555; margin-top: 8px; }
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.c-item { border: 1px solid #e6e0d4; padding: 18px; text-align: center; }
.c-item h4 { color: #16233f; font-size: 15px; margin-bottom: 8px; }
.c-item p { font-size: 14px; color: #333; word-break: break-all; }
.c-item .tel-big { color: #a87a12; font-size: 21px; font-weight: 700; }
.contact-note { margin: 16px 0 40px; color: #888; font-size: 13.5px; background: #f7f7f7; padding: 12px 16px; }

/* 搜索结果页 */
.sr-item { padding: 14px 4px; border-bottom: 1px dotted #ddd; }
.sr-item h3 { font-size: 16.5px; }
.sr-item h3 a { color: #16233f; }
.sr-item h3 a:hover { color: #a87a12; }
.sr-item p { color: #666; font-size: 13.5px; margin-top: 4px; }
.sr-cat { display: inline-block; background: #f3eee2; color: #16233f; font-size: 12px; padding: 1px 8px; margin-right: 8px; border-radius: 2px; }

/* 页脚 */
.foot { background: #101d36; color: #d8d0c0; margin-top: 40px; padding: 30px 0 0; }
.foot-in { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.foot-brand b { display: block; color: #fff; font-size: 22px; margin-bottom: 6px; }
.foot-brand span { font-size: 13px; }
.foot-contact { display: grid; grid-template-columns: repeat(2, minmax(240px, auto)); gap: 6px 40px; font-size: 13.5px; }
.foot-contact b { display: inline-block; color: #c9a86a; width: 72px; }
.foot-contact a { color: #fff; }
.copyright { border-top: 1px solid rgba(255,255,255,.15); margin-top: 22px; padding: 14px 0 18px; font-size: 12.5px; color: #a39c8c; }

/* 响应式 */
@media (max-width: 900px) {
  .main-grid, .focus, .pic-row, .inv-card, .side-dual { grid-template-columns: 1fr; }
  .focus-img { height: 240px; }
  .h-search { display: none; }
  .mainnav ul { flex-wrap: wrap; }
  .mainnav li a { padding: 0 14px; font-size: 15px; }
  .team-grid, .contact-grid { grid-template-columns: 1fr 1fr; }
  .foot-contact { grid-template-columns: 1fr; }
}
