/* 采购公告 Hero Banner 样式 - 1920×700 深色文字左排版版本。
   容器高度分档（700 → 600 → 520 → 420 → 340）、内容块几何、主/副标题字号
   全站统一，由 main.css .nyocor-page-hero / .nyocor-hero-content /
   .nyocor-hero-title / .nyocor-hero-subtitle 控制（archive-procurement.php 已挂全局类）；
   本文件仅保留背景层与深色文字配色差异。
 *
 * 缩放方案（参照 page-careers.css 画布等比）：本文件仅存的一处承重尺寸
 * （副标题上移 -12px）同样转 calc(-12 × var(--u))；banner 高度/标题字号/面包屑
 * 均由 main.css .nyocor-page-hero 系列按 vw 等比接管，浏览器 Ctrl+滚轮缩放
 * （视口变化）时整页等比缩放，版式不变形。动画/配色/发丝线保留原样。
 */

/* Banner呼吸式缩放动画：缓慢放大后缓慢还原，循环播放 */
@keyframes heroBannerBreath {
	0%   { transform: scale(1); }
	50%  { transform: scale(1.08); }
	100% { transform: scale(1); }
}

/* 背景图：绝对定位铺满，cover 裁切跟随缩放 */
.procurement-hero .hero-banner {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	animation: heroBannerBreath 10s ease-in-out infinite;
	will-change: transform;
}

/* 用户系统开启"减少动态效果"时停用动画 */
@media (prefers-reduced-motion: reduce) {
	.procurement-hero .hero-banner {
		animation: none;
	}
}

/* 默认背景（未设置图片时的兜底） */
.procurement-hero .hero-banner:not([style*="background-image"]) {
	background: linear-gradient(135deg, #dce8f5 0%, #eef4fb 100%);
}

/* 标题/副标题字号与分档由 .nyocor-hero-title / .nyocor-hero-subtitle 提供，此处仅配色。
   2026-10 按需求改白字（banner 图为深色调），面包屑同步白色 */
.procurement-hero .hero-title,
.procurement-hero .hero-subtitle {
	color: #FFFFFF;
	word-wrap: break-word;
}

.procurement-hero .breadcrumb,
.procurement-hero .breadcrumb a,
.procurement-hero .breadcrumb .sep,
.procurement-hero .breadcrumb .current {
	color: #FFFFFF;
}

.procurement-hero .breadcrumb a:hover {
	color: rgba(255, 255, 255, 0.75);
}

.procurement-hero .hero-subtitle {
	/* 副标题上提贴紧主标题（12px @1920，随视口等比） */
	margin-top: calc(-12 * var(--u));
}

/* 面包屑：全站通用样式（main.css .breadcrumb），此处仅覆盖布局 ——
   钉在内容块底部（容器 bottom:20px 已保证距 banner 底 20px） */
.procurement-hero .breadcrumb {
	margin: auto 0 0;
}
