/*
Theme Name:   WikiPress Child
Theme URI:    https://holsdb.com
Description:  HolsDB child theme for WikiPress — operational holiday, bank closure, and workday reference layouts.
Author:       HolsDB
Author URI:   https://holsdb.com
Template:     wikipress
Version:      1.2.0
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
License:      GNU General Public License v2 or later
License URI:  https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  wikipress-child
*/

/* ============================================================
   HolsDB Design Tokens (Operational Reference × Editorial)
   ============================================================ */
:root {
	--wikipress-primary: #1d4ed8;
	--wikipress-primary-hover: #1e40af;
	--wikipress-heading: #0f172a;
	--wikipress-text: #1e293b;
	--wikipress-text-light: #475569;
	--wikipress-border: #cbd5e1;
	--wikipress-border-light: #e2e8f0;
	--wikipress-bg: #ffffff;
	--wikipress-bg-off: #f8fafc;
	--wikipress-max-width: 1280px;
	--wikipress-content-max: 860px;

	--hols-navy: #0f172a;
	--hols-navy-soft: #1e293b;
	--hols-cobalt: #1d4ed8;
	--hols-cobalt-bg: #eff6ff;
	--hols-green: #047857;
	--hols-green-bg: #ecfdf5;
	--hols-amber: #b45309;
	--hols-amber-bg: #fffbeb;
	--hols-red: #b91c1c;
	--hols-red-bg: #fef2f2;
	--hols-surface: #ffffff;
	--hols-surface-alt: #f8fafc;
	--hols-border: #e2e8f0;
	--hols-radius: 10px;
	--hols-radius-sm: 6px;
	--hols-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
	--hols-shadow-md: 0 6px 20px rgba(15, 23, 42, 0.07);
}

/* ============================================================
   Global Polish & Full-Width Mode
   ============================================================ */
.site {
	box-shadow: 0 0 0 1px var(--hols-border);
}

.site-header {
	border-bottom: 1px solid var(--hols-border);
	background: rgba(255, 255, 255, 0.96);
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

/* ============================================================
   HolsDB Header & Primary Navigation
   ============================================================ */
.hols-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 10px 24px;
	max-width: var(--wikipress-max-width);
	margin: 0 auto;
	flex-wrap: nowrap;
}

.hols-brand-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none !important;
}

.hols-brand-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 8px;
	background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 100%);
	color: #ffffff;
	flex-shrink: 0;
	box-shadow: 0 2px 6px rgba(29, 78, 216, 0.25);
}

.hols-brand-text {
	display: flex;
	flex-direction: column;
	line-height: 1.15;
	font-family: var(--wikipress-font-ui);
}

.hols-brand-name {
	font-size: 1.18rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--hols-navy);
}

.hols-brand-tag {
	font-size: 0.69rem;
	font-weight: 600;
	color: #64748b;
	letter-spacing: 0.01em;
	white-space: nowrap;
}

.hols-main-nav {
	flex: 1;
	display: flex;
	justify-content: center;
	min-width: 0;
}

.hols-primary-menu {
	display: flex;
	align-items: center;
	gap: 2px;
	flex-wrap: nowrap;
}

.hols-primary-menu > li > a {
	padding: 8px 11px;
	border-radius: 6px;
	font-size: 0.88rem;
	font-weight: 600;
	color: #334155;
	white-space: nowrap;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.hols-primary-menu > li > a::after {
	display: none;
}

.hols-primary-menu > li > a:hover,
.hols-primary-menu > li > a:focus,
.hols-primary-menu > li.current-menu-item > a,
.hols-primary-menu > li.current-menu-ancestor > a {
	background: var(--hols-cobalt-bg);
	color: var(--hols-cobalt);
}

.hols-primary-menu > li.menu-item-has-children > a::before {
	content: none;
}
.hols-primary-menu > li.menu-item-has-children > a {
	padding-right: 22px;
	position: relative;
}
.hols-primary-menu > li.menu-item-has-children > a::after {
	display: block;
	content: "";
	position: absolute;
	right: 9px;
	left: auto;
	bottom: auto;
	top: 50%;
	width: 5px;
	height: 5px;
	background: transparent;
	border-right: 1.7px solid currentColor;
	border-bottom: 1.7px solid currentColor;
	transform: translateY(-65%) rotate(45deg);
	opacity: 0.65;
}

.hols-primary-menu .sub-menu {
	min-width: 235px;
	padding: 6px;
	border-radius: 10px;
	border: 1px solid var(--hols-border);
	background: #ffffff;
	box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
	top: calc(100% + 4px);
}
/* Invisible hover bridge so cursor moves smoothly into submenu */
.hols-primary-menu .sub-menu::before {
	content: "";
	position: absolute;
	top: -8px;
	left: 0;
	right: 0;
	height: 8px;
}

.hols-primary-menu .sub-menu a {
	padding: 8px 12px;
	border-radius: 6px;
	font-size: 0.85rem;
	font-weight: 500;
	color: #1e293b;
}
.hols-primary-menu .sub-menu a::after {
	display: none;
}
.hols-primary-menu .sub-menu a:hover,
.hols-primary-menu .sub-menu a:focus {
	background: var(--hols-surface-alt);
	color: var(--hols-cobalt);
}

/* Header Right Action Cluster */
.hols-header-actions {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
}

.hols-header-search {
	margin-left: 0;
}

.hols-live-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 34px;
	padding: 0 11px;
	border-radius: 999px;
	background: var(--hols-green-bg);
	border: 1px solid #a7f3d0;
	color: var(--hols-green) !important;
	font-family: var(--wikipress-font-ui);
	font-size: 0.78rem;
	font-weight: 700;
	text-decoration: none !important;
	white-space: nowrap;
}
.hols-live-pill:hover {
	background: #d1fae5;
}

.hols-live-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #10b981;
	box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.22);
}

.hols-icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	padding: 0;
	border-radius: 7px;
	border: 1px solid var(--hols-border);
	background: #ffffff;
	color: #334155;
	cursor: pointer;
	transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}
.hols-icon-btn:hover {
	border-color: var(--hols-cobalt);
	color: var(--hols-cobalt);
	background: var(--hols-cobalt-bg);
}

.hols-search-popover {
	min-width: 320px;
	border-radius: 10px;
	border: 1px solid var(--hols-border);
	box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14);
	padding: 10px;
}

.hols-header-cta {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 34px;
	padding: 0 13px;
	border-radius: 7px;
	background: var(--hols-navy);
	color: #ffffff !important;
	font-family: var(--wikipress-font-ui);
	font-size: 0.82rem;
	font-weight: 600;
	text-decoration: none !important;
	white-space: nowrap;
	transition: background-color 0.15s ease;
}
.hols-header-cta:hover {
	background: var(--hols-cobalt);
}

/* ============================================================
   HolsDB Operational Footer
   ============================================================ */
.site-footer.hols-footer {
	background: #090e1a;
	color: #94a3b8;
	margin-top: 0;
	padding: 48px 0 28px;
	border-top: 1px solid rgba(148, 163, 184, 0.18);
	font-family: var(--wikipress-font-ui);
}

.site-footer.hols-footer::before {
	display: none;
}

.hols-footer-inner {
	max-width: var(--wikipress-max-width);
	margin: 0 auto;
	padding: 0 24px;
}

.hols-footer-grid {
	display: grid;
	grid-template-columns: 1.45fr 1fr 1.1fr 1.05fr;
	gap: 32px;
	padding-bottom: 32px;
	border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.hols-footer-brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: #ffffff !important;
	font-size: 1.2rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	text-decoration: none !important;
	margin-bottom: 12px;
}

.hols-brand-mark--footer {
	width: 32px;
	height: 32px;
	background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
}

.hols-footer-desc {
	font-size: 0.88rem;
	line-height: 1.6;
	color: #94a3b8;
	margin: 0 0 14px;
	max-width: 340px;
}

.hols-footer-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.hols-footer-chip {
	display: inline-block;
	padding: 3px 9px;
	border-radius: 999px;
	font-size: 0.74rem;
	font-weight: 600;
	color: #cbd5e1;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(148, 163, 184, 0.2);
}

.hols-footer-heading {
	margin: 0 0 12px;
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #f8fafc;
}

.hols-footer-links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 7px;
	font-size: 0.87rem;
}

.hols-footer-links a {
	color: #94a3b8;
	text-decoration: none;
	transition: color 0.15s ease;
}
.hols-footer-links a:hover,
.hols-footer-links a:focus {
	color: #ffffff;
	text-decoration: none;
}

.hols-footer-disclaimer {
	padding: 16px 0;
	border-bottom: 1px solid rgba(148, 163, 184, 0.12);
	font-size: 0.79rem;
	line-height: 1.55;
	color: #64748b;
}

.hols-footer-bottom {
	padding-top: 18px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 12px 24px;
	font-size: 0.82rem;
	color: #64748b;
}

.hols-footer-legal-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
}

.hols-footer-legal-list a {
	color: #94a3b8;
	text-decoration: none;
	font-size: 0.82rem;
}
.hols-footer-legal-list a:hover {
	color: #ffffff;
}

.holsdb-fullwidth .content-wrapper {
	display: block;
	max-width: var(--wikipress-max-width);
}

.holsdb-fullwidth .site-main {
	max-width: 1180px;
	margin: 0 auto;
	padding: 28px 32px 48px;
}

.holsdb-container {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 24px;
}

/* ============================================================
   Shared Badges, Pills, Buttons & Cards
   ============================================================ */
.hols-badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 2px 9px;
	border-radius: 999px;
	font-family: var(--wikipress-font-ui);
	font-size: 0.76rem;
	font-weight: 600;
	line-height: 1.5;
	white-space: nowrap;
}

.hols-badge--blue { background: var(--hols-cobalt-bg); color: var(--hols-cobalt); border: 1px solid #bfdbfe; }
.hols-badge--green { background: var(--hols-green-bg); color: var(--hols-green); border: 1px solid #a7f3d0; }
.hols-badge--amber { background: var(--hols-amber-bg); color: var(--hols-amber); border: 1px solid #fde68a; }
.hols-badge--red { background: var(--hols-red-bg); color: var(--hols-red); border: 1px solid #fecaca; }
.hols-badge--slate { background: #f1f5f9; color: #334155; border: 1px solid #cbd5e1; }

.hols-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 9px 16px;
	border-radius: var(--hols-radius-sm);
	font-family: var(--wikipress-font-ui);
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none !important;
	border: 1px solid transparent;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
}

.hols-btn--primary {
	background: var(--hols-cobalt);
	color: #ffffff !important;
}
.hols-btn--primary:hover {
	background: #1e40af;
}

.hols-btn--dark {
	background: var(--hols-navy);
	color: #ffffff !important;
}
.hols-btn--dark:hover {
	background: var(--hols-navy-soft);
}

.hols-btn--outline {
	background: #ffffff;
	color: var(--hols-navy) !important;
	border-color: var(--wikipress-border);
}
.hols-btn--outline:hover {
	border-color: var(--hols-cobalt);
	color: var(--hols-cobalt) !important;
	background: var(--hols-cobalt-bg);
}

.hols-section {
	padding: 40px 0;
	border-bottom: 1px solid var(--hols-border);
}
.hols-section--alt {
	background: var(--hols-surface-alt);
}
.hols-section--dark {
	background: var(--hols-navy);
	color: #e2e8f0;
	border-bottom: 0;
}

.hols-section-head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: 12px;
	margin-bottom: 22px;
}
.hols-section-head h2 {
	margin: 0;
	border: 0;
	padding: 0;
	font-size: 1.45rem;
	font-weight: 700;
	color: var(--hols-navy);
	letter-spacing: -0.015em;
}
.hols-section-head p {
	margin: 4px 0 0;
	font-family: var(--wikipress-font-ui);
	font-size: 0.94rem;
	color: var(--wikipress-text-light);
}
.hols-section--dark .hols-section-head h2 { color: #ffffff; }
.hols-section--dark .hols-section-head p { color: #94a3b8; }

.hols-card {
	background: var(--hols-surface);
	border: 1px solid var(--hols-border);
	border-radius: var(--hols-radius);
	padding: 20px;
	box-shadow: var(--hols-shadow-sm);
	transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.hols-card:hover {
	border-color: #93c5fd;
	box-shadow: var(--hols-shadow-md);
}

/* ============================================================
   Front Page — Operational Dashboard Hero & Live Ticker
   ============================================================ */
.hols-hero {
	background: linear-gradient(135deg, #0f172a 0%, #172554 55%, #1e3a8a 100%);
	color: #f8fafc;
	padding: 44px 0 36px;
}

.hols-hero-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--wikipress-font-ui);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #93c5fd;
	margin-bottom: 12px;
}

.hols-hero h1 {
	margin: 0 0 12px;
	padding: 0;
	border: 0;
	color: #ffffff;
	font-size: clamp(1.85rem, 3.2vw, 2.55rem);
	font-weight: 800;
	line-height: 1.18;
	letter-spacing: -0.02em;
	max-width: 820px;
}

.hols-hero-sub {
	margin: 0 0 24px;
	max-width: 720px;
	font-family: var(--wikipress-font-ui);
	font-size: 1.03rem;
	line-height: 1.6;
	color: #cbd5e1;
}

/* Quick Lookup Bar */
.hols-lookup-bar {
	display: grid;
	grid-template-columns: 1.4fr 0.7fr 1.3fr auto;
	gap: 10px;
	background: rgba(255, 255, 255, 0.98);
	padding: 12px;
	border-radius: var(--hols-radius);
	box-shadow: 0 12px 30px rgba(2, 6, 23, 0.28);
	margin-bottom: 22px;
}

.hols-lookup-field {
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.hols-lookup-field label {
	font-family: var(--wikipress-font-ui);
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #475569;
}
.hols-lookup-field select {
	height: 40px;
	padding: 0 10px;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	font-family: var(--wikipress-font-ui);
	font-size: 0.92rem;
	color: #0f172a;
	background: #ffffff;
}
.hols-lookup-submit {
	align-self: end;
	height: 40px;
	padding: 0 22px;
	background: var(--hols-cobalt);
	color: #ffffff;
	border: 0;
	border-radius: 6px;
	font-family: var(--wikipress-font-ui);
	font-size: 0.92rem;
	font-weight: 700;
	cursor: pointer;
	white-space: nowrap;
}
.hols-lookup-submit:hover {
	background: #1e40af;
}

/* Live Closed Today Ticker */
.hols-ticker {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
	padding: 12px 16px;
	border-radius: var(--hols-radius-sm);
	background: rgba(15, 23, 42, 0.55);
	border: 1px solid rgba(148, 163, 184, 0.28);
	font-family: var(--wikipress-font-ui);
	font-size: 0.87rem;
}

.hols-ticker-label {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-weight: 700;
	color: #ffffff;
	white-space: nowrap;
}
.hols-ticker-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #10b981;
	box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
}
.hols-ticker-items {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	flex: 1;
	align-items: center;
}
.hols-ticker-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 3px 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	color: #f1f5f9;
	font-size: 0.82rem;
}
.hols-ticker-link {
	color: #93c5fd !important;
	font-weight: 600;
	white-space: nowrap;
}

/* ============================================================
   Front Page — Grids (Tools, Regions, Disruptions, Silos, Trust)
   ============================================================ */
.hols-tools-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}
.hols-tools-secondary {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	margin-top: 18px;
}
.hols-tool-card {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 12px;
}
.hols-tool-card h3 {
	margin: 6px 0 6px;
	font-size: 1.08rem;
	font-weight: 700;
	color: var(--hols-navy);
}
.hols-tool-card p {
	margin: 0;
	font-family: var(--wikipress-font-ui);
	font-size: 0.9rem;
	line-height: 1.55;
	color: var(--wikipress-text-light);
}
.hols-tool-card-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding-top: 12px;
	border-top: 1px solid var(--hols-border);
	font-family: var(--wikipress-font-ui);
	font-size: 0.85rem;
	font-weight: 600;
}

/* Regions Grid */
.hols-region-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
	gap: 16px;
}
.hols-region-card h3 {
	margin: 0 0 12px;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--hols-border);
	font-size: 1rem;
	font-weight: 700;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.hols-country-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 7px;
	font-family: var(--wikipress-font-ui);
	font-size: 0.9rem;
}
.hols-country-list li {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 8px;
}
.hols-country-meta {
	font-size: 0.78rem;
	color: var(--wikipress-text-light);
	white-space: nowrap;
}

/* Data Tables (Disruptions, Country/Market Schedules) */
.hols-table-wrap {
	overflow-x: auto;
	border: 1px solid var(--hols-border);
	border-radius: var(--hols-radius);
	background: #ffffff;
}
.hols-table {
	width: 100%;
	border-collapse: collapse;
	font-family: var(--wikipress-font-ui);
	font-size: 0.9rem;
}
.hols-table th {
	text-align: left;
	padding: 11px 14px;
	background: #f1f5f9;
	color: var(--hols-navy);
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	border-bottom: 1px solid var(--hols-border);
	white-space: nowrap;
}
.hols-table td {
	padding: 11px 14px;
	border-bottom: 1px solid var(--hols-border);
	vertical-align: middle;
	color: var(--wikipress-text);
}
.hols-table tbody tr:last-child td {
	border-bottom: 0;
}
.hols-table tbody tr:hover {
	background: #f8fafc;
}

/* Silo Showcase Cards */
.hols-silo-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}
.hols-silo-card h3 {
	margin: 0 0 6px;
	font-size: 1.05rem;
	font-weight: 700;
}
.hols-silo-card p {
	margin: 0 0 12px;
	font-family: var(--wikipress-font-ui);
	font-size: 0.89rem;
	line-height: 1.55;
	color: var(--wikipress-text-light);
}

/* Trust & KPI Strip */
.hols-kpi-row {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
	margin-bottom: 22px;
}
.hols-kpi-box {
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(148, 163, 184, 0.22);
	border-radius: var(--hols-radius-sm);
	padding: 16px;
	font-family: var(--wikipress-font-ui);
}
.hols-kpi-num {
	display: block;
	font-size: 1.65rem;
	font-weight: 800;
	color: #ffffff;
	line-height: 1.15;
}
.hols-kpi-lbl {
	display: block;
	font-size: 0.8rem;
	color: #94a3b8;
	margin-top: 4px;
}
.hols-trust-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.hols-trust-actions .hols-btn--outline {
	background: rgba(255, 255, 255, 0.07);
	color: #f8fafc !important;
	border-color: rgba(148, 163, 184, 0.35);
}
.hols-trust-actions .hols-btn--outline:hover {
	background: rgba(255, 255, 255, 0.16);
	border-color: #93c5fd;
}

/* ============================================================
   Archive Headers, Filter Pills & Card Grids
   ============================================================ */
.hols-archive-hero {
	background: var(--hols-surface-alt);
	border: 1px solid var(--hols-border);
	border-radius: var(--hols-radius);
	padding: 24px 26px;
	margin-bottom: 24px;
}
.hols-archive-hero h1 {
	margin: 6px 0 8px;
	padding: 0;
	border: 0;
	font-size: 1.85rem;
	font-weight: 800;
	color: var(--hols-navy);
}
.hols-archive-hero p,
.hols-archive-hero .archive-description {
	margin: 0;
	font-family: var(--wikipress-font-ui);
	font-size: 0.98rem;
	color: var(--wikipress-text-light);
	max-width: 780px;
}

.hols-pill-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 16px 0 24px;
}
.hols-pill-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border-radius: 999px;
	border: 1px solid var(--wikipress-border);
	background: #ffffff;
	color: var(--hols-navy) !important;
	font-family: var(--wikipress-font-ui);
	font-size: 0.84rem;
	font-weight: 600;
	text-decoration: none !important;
}
.hols-pill-link:hover,
.hols-pill-link.is-active {
	background: var(--hols-cobalt);
	border-color: var(--hols-cobalt);
	color: #ffffff !important;
}

.hols-archive-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	margin-bottom: 28px;
}
.hols-archive-grid--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hols-entry-card {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 12px;
	background: #ffffff;
	border: 1px solid var(--hols-border);
	border-radius: var(--hols-radius);
	padding: 20px;
	box-shadow: var(--hols-shadow-sm);
}
.hols-entry-card:hover {
	border-color: #93c5fd;
	box-shadow: var(--hols-shadow-md);
}
.hols-entry-card h2 {
	margin: 8px 0 8px;
	padding: 0;
	border: 0;
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1.35;
}
.hols-entry-card h2 a {
	color: var(--hols-navy);
}
.hols-entry-card h2 a:hover {
	color: var(--hols-cobalt);
}
.hols-entry-excerpt {
	font-family: var(--wikipress-font-ui);
	font-size: 0.9rem;
	line-height: 1.55;
	color: var(--wikipress-text-light);
}
.hols-entry-excerpt p {
	margin: 0;
}
.hols-entry-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	font-family: var(--wikipress-font-ui);
	font-size: 0.8rem;
	color: var(--wikipress-text-light);
	padding-top: 10px;
	border-top: 1px solid var(--hols-border);
}

/* ============================================================
   Single Posts, CPT Hubs & Pages
   ============================================================ */
.hols-single-header {
	padding-bottom: 18px;
	margin-bottom: 22px;
	border-bottom: 1px solid var(--hols-border);
}
.hols-single-header h1 {
	margin: 8px 0 10px;
	padding: 0;
	border: 0;
	font-size: clamp(1.65rem, 2.6vw, 2.2rem);
	font-weight: 800;
	line-height: 1.22;
	color: var(--hols-navy);
}
.hols-meta-strip {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 14px;
	font-family: var(--wikipress-font-ui);
	font-size: 0.85rem;
	color: var(--wikipress-text-light);
}

.hols-entity-kpis {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 12px;
	margin: 18px 0 24px;
}
.hols-entity-kpi {
	background: var(--hols-surface-alt);
	border: 1px solid var(--hols-border);
	border-radius: var(--hols-radius-sm);
	padding: 12px 14px;
	font-family: var(--wikipress-font-ui);
}
.hols-entity-kpi-lbl {
	display: block;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--wikipress-text-light);
}
.hols-entity-kpi-val {
	display: block;
	font-size: 1rem;
	font-weight: 700;
	color: var(--hols-navy);
	margin-top: 3px;
}

.hols-lateral-bar {
	margin: 28px 0;
	padding: 18px 20px;
	background: var(--hols-cobalt-bg);
	border: 1px solid #bfdbfe;
	border-radius: var(--hols-radius);
	font-family: var(--wikipress-font-ui);
}
.hols-lateral-bar h3 {
	margin: 0 0 10px;
	font-size: 0.96rem;
	font-weight: 700;
	color: var(--hols-navy);
}
.hols-lateral-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.hols-trust-note {
	margin-top: 28px;
	padding: 16px 18px;
	background: var(--hols-surface-alt);
	border: 1px solid var(--hols-border);
	border-left: 4px solid var(--hols-cobalt);
	border-radius: var(--hols-radius-sm);
	font-family: var(--wikipress-font-ui);
	font-size: 0.87rem;
	color: var(--wikipress-text-light);
}

/* Tool Single Header & Switcher */
.hols-tool-hero {
	background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
	border: 1px solid #bfdbfe;
	border-radius: var(--hols-radius);
	padding: 22px 26px;
	margin-bottom: 24px;
}
.hols-tool-hero h1 {
	margin: 6px 0 8px;
	padding: 0;
	border: 0;
	font-size: 1.9rem;
	font-weight: 800;
	color: var(--hols-navy);
}
.hols-tool-hero p {
	margin: 0 0 12px;
	font-family: var(--wikipress-font-ui);
	font-size: 0.98rem;
	color: var(--wikipress-text-light);
}

/* Editorial Lead & Page Polish */
.article-body .lead {
	font-size: 1.1rem;
	line-height: 1.65;
	color: #334155;
	border-left: 3px solid var(--hols-cobalt);
	padding-left: 16px;
	margin-bottom: 22px;
}

/* Sidebar Operational Styling */
.sidebar-section .widget {
	border-bottom: 1px solid var(--hols-border);
	padding-bottom: 16px;
	margin-bottom: 16px;
}
.sidebar-section .widget-title {
	font-size: 0.82rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--hols-navy);
}
.hols-sidebar-nav {
	list-style: none;
	margin: 0;
	padding: 0;
	font-family: var(--wikipress-font-ui);
	font-size: 0.88rem;
}
.hols-sidebar-nav li {
	margin-bottom: 6px;
}

/* ============================================================
   404 Recovery Layout
   ============================================================ */
.hols-404-wrap {
	max-width: 960px;
	margin: 12px auto 32px;
}
.hols-404-hero {
	text-align: center;
	padding: 36px 24px;
	background: var(--hols-surface-alt);
	border: 1px solid var(--hols-border);
	border-radius: var(--hols-radius);
	margin-bottom: 28px;
}
.hols-404-code {
	display: inline-block;
	font-family: var(--wikipress-font-ui);
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--hols-red);
	background: var(--hols-red-bg);
	border: 1px solid #fecaca;
	padding: 4px 12px;
	border-radius: 999px;
	margin-bottom: 10px;
}
.hols-404-hero h1 {
	margin: 4px 0 10px;
	border: 0;
	padding: 0;
	font-size: 2rem;
	font-weight: 800;
}
.hols-404-hero p {
	max-width: 560px;
	margin: 0 auto 20px;
	font-family: var(--wikipress-font-ui);
	color: var(--wikipress-text-light);
}
.hols-404-search {
	max-width: 480px;
	margin: 0 auto;
}

/* ============================================================
   Responsive Breakpoints
   ============================================================ */
@media (max-width: 1080px) {
	.hols-brand-tag,
	.hols-live-pill {
		display: none;
	}
}

@media (max-width: 960px) {
	.hols-footer-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.hols-lookup-bar {
		grid-template-columns: 1fr 1fr;
	}
	.hols-lookup-submit {
		grid-column: 1 / -1;
	}
	.hols-tools-grid,
	.hols-silo-grid,
	.hols-archive-grid--3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.hols-kpi-row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 768px) {
	.hols-header-inner {
		padding: 10px 16px;
		gap: 10px;
	}
	.hols-main-nav {
		order: 3;
		flex: 0 0 auto;
	}
	.hols-header-actions {
		margin-left: auto;
	}
	.hols-header-cta span {
		display: none;
	}
	.hols-header-cta {
		padding: 0 9px;
	}
	.hols-primary-menu {
		display: none;
		flex-direction: column;
		align-items: stretch;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: #ffffff;
		border-bottom: 1px solid var(--hols-border);
		padding: 10px 16px 14px;
		box-shadow: 0 12px 24px rgba(15, 23, 42, 0.1);
		z-index: 99;
	}
	.hols-primary-menu.is-active {
		display: flex;
	}
	.hols-primary-menu .sub-menu {
		position: static;
		box-shadow: none;
		border: 0;
		border-left: 2px solid var(--hols-border);
		border-radius: 0;
		margin-left: 12px;
		padding: 4px 0 4px 8px;
	}
}

@media (max-width: 680px) {
	.hols-footer-grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}
	.hols-footer-bottom {
		flex-direction: column;
		align-items: flex-start;
	}
	.holsdb-fullwidth .site-main {
		padding: 18px 16px 36px;
	}
	.hols-lookup-bar,
	.hols-tools-grid,
	.hols-tools-secondary,
	.hols-silo-grid,
	.hols-archive-grid,
	.hols-archive-grid--3 {
		grid-template-columns: 1fr;
	}
	.hols-archive-hero,
	.hols-tool-hero {
		padding: 18px;
	}
}
