/* ==========================================================================
   DairyLink 子页面共享样式（供应商库 / 专家对话 / 资讯动态 / 研究报告）
   与首页 styles.css 设计语言统一：深蓝渐变页头 + 点阵纹理、eyebrow 小标签、
   大标题负字距、方形按钮、细线列表卡片、深蓝页脚。
   依赖 styles.css 中的设计变量（--navy/--blue/--aqua/--cream/--ink/--line）。
   ========================================================================== */

/* ---- 页面骨架 ---- */
.page-shell { background: var(--cream); min-height: 100vh; display: flex; flex-direction: column; }
.page-shell > .page-body { flex: 1; }

/* ---- 页头：仿首页 .library 深蓝渐变 + 点阵纹理 ---- */
.page-header { position: relative; overflow: hidden; isolation: isolate; color: white; background: linear-gradient(122deg, #063064, #021b43 62%, #04508a); padding: 72px 0 64px; }
.page-header::before { position: absolute; inset: 0; pointer-events: none; content: ""; background-image: radial-gradient(rgba(139, 225, 223, .22) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(90deg, black, transparent 78%); -webkit-mask-image: linear-gradient(90deg, black, transparent 78%); }
.page-header .container { width: min(1180px, calc(100% - 80px)); margin: 0 auto; position: relative; z-index: 1; }
.page-header .eyebrow--light { margin: 0 0 16px; }
.page-header h1 { margin: 0 0 14px; max-width: 760px; color: white; font-size: clamp(2.1rem, 4.3vw, 3.9rem); font-weight: 800; letter-spacing: -.065em; line-height: .98; }
.page-header h1 small { display: block; margin-top: 6px; font-size: .38em; font-weight: 700; letter-spacing: .02em; color: rgba(139, 225, 223, .9); }
.page-header .lead, .page-header > .container > p { margin: 0; max-width: 620px; color: rgba(255, 255, 255, .72); font-size: 1rem; line-height: 1.85; }

/* ---- 内容区 ---- */
.page-body { padding: 64px 0 96px; }
.page-body .container { width: min(1180px, calc(100% - 80px)); margin: 0 auto; }

/* ---- 筛选 tab：仿首页 .button 方形按钮语言 ---- */
.tab-bar { display: flex; gap: 10px; margin-bottom: 40px; flex-wrap: wrap; }
.tab-bar button { min-height: 42px; padding: 0 22px; border: 1px solid var(--line); background: white; color: var(--ink); border-radius: 0; font-size: .82rem; font-weight: 700; letter-spacing: .02em; transition: transform .25s ease, background-color .25s ease, border-color .25s ease, color .25s ease; }
.tab-bar button:hover { transform: translateY(-2px); border-color: var(--blue); color: var(--blue); }
.tab-bar button.active { color: white; background: var(--navy); border-color: var(--navy); }

/* ---- 空状态 ---- */
.empty-msg { margin: 0; text-align: center; padding: 70px 20px; color: #7d8ea3; font-size: .9rem; }

/* ---- 页脚：仿首页 footer 深蓝底 ---- */
.page-footer { margin-top: auto; padding: 28px 24px; background: var(--navy); text-align: center; color: rgba(255, 255, 255, .55); font-size: .74rem; }
.page-footer p { margin: 0; }
.page-footer a { color: rgba(255, 255, 255, .55); text-decoration: none; transition: color .2s ease; }
.page-footer a:hover { color: rgba(255, 255, 255, .85); }
.page-footer img { width: 16px; height: 16px; object-fit: contain; vertical-align: -3px; }

/* ---- 移动端 ---- */
@media (max-width: 760px) {
  .page-header { padding: 52px 0 48px; }
  .page-header .container, .page-body .container { width: calc(100% - 40px); }
  .page-body { padding: 44px 0 72px; }
}
