/*
 * European Standards Velocity 3.0.0 native page system.
 *
 * This stylesheet is deliberately scoped to the native industry, About and legal
 * templates. It does not alter specialist application typography.
 */

/* Shared title strip for rich editorial pages. */
.esv-title-strip {
	position: relative;
	overflow: hidden;
	padding: clamp(2.6rem, 5.5vw, 4.8rem) 0;
	border-bottom: 1px solid var(--esv-slate-200);
	background:
		radial-gradient(circle at 88% 8%, rgba(7, 87, 200, 0.10), transparent 29%),
		linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.esv-title-strip::after {
	position: absolute;
	top: -7rem;
	right: -6rem;
	width: 24rem;
	height: 24rem;
	border-radius: 50%;
	background: rgba(7, 87, 200, 0.035);
	content: "";
	pointer-events: none;
}

.esv-title-strip__inner {
	position: relative;
	z-index: 1;
	max-width: 1060px;
}

.esv-title-strip .esv-breadcrumbs {
	margin-bottom: 1.2rem;
}

.esv-title-strip .esv-eyebrow {
	margin-bottom: 0.75rem;
}

.esv-title-strip h1 {
	max-width: 950px;
	margin: 0;
	font-size: clamp(2.45rem, 5.3vw, 4.75rem);
	letter-spacing: -0.045em;
}

.esv-rich-page-output {
	width: 100%;
	max-width: none;
	min-width: 0;
	margin: 0;
	overflow: clip;
}

.esv-rich-page-output > * {
	max-width: none;
}

/* Keep the original, complete classed About and Privacy designs responsive. */
.esv-rich-page-output .es-about,
.esv-rich-page-output .es-privacy-page {
	width: 100%;
	max-width: none;
	min-width: 0;
	margin-inline: auto;
}

.esv-rich-page-output style {
	display: none !important;
}

/* Remove the obsolete phone/address block from About even if a page cache preserves it. */
.esv-about-output .es-about__address {
	display: none !important;
}

.esv-about-output .es-about__hero h1 {
	max-width: 850px;
	margin: 0 0 18px !important;
	color: #ffffff !important;
	font-size: clamp(2.55rem, 5.5vw, 5.1rem) !important;
	font-weight: 850 !important;
	line-height: 0.99 !important;
	letter-spacing: -0.06em !important;
	text-shadow: 0 3px 24px rgba(0, 0, 0, 0.14);
}


/* Preserve white headings inside the About page's dark blue surfaces. */
.esv-about-output .es-about__panel-item h3,
.esv-about-output .es-about__independence h3,
.esv-about-output .es-about__contact h2,
.esv-about-output .es-about__contact h3 {
	color: #ffffff !important;
}

.esv-about-semantic-title {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

/* Industry guide hero. */
.esv-industry-page {
	background: #ffffff;
}

.esv-industry-hero {
	position: relative;
	overflow: hidden;
	padding: clamp(4rem, 7vw, 7rem) 0;
	background:
		radial-gradient(circle at 82% 18%, rgba(25, 115, 242, 0.38), transparent 28%),
		linear-gradient(135deg, #06172f 0%, #0a2e5b 54%, #0b54a7 100%);
	color: #ffffff;
}

.esv-industry-hero::before {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
	background-size: 54px 54px;
	mask-image: linear-gradient(90deg, transparent 0%, #000 45%, #000 100%);
	content: "";
	pointer-events: none;
}

.esv-industry-hero__grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(310px, 0.72fr);
	align-items: center;
	gap: clamp(2.5rem, 6vw, 6rem);
}

.esv-industry-hero .esv-breadcrumbs,
.esv-industry-hero .esv-breadcrumbs a {
	color: rgba(255,255,255,0.72);
}

.esv-industry-hero .esv-breadcrumbs li + li::before {
	color: rgba(255,255,255,0.38);
}

.esv-industry-hero .esv-eyebrow {
	color: #9ac8ff;
}

.esv-industry-hero h1 {
	max-width: 900px;
	margin-bottom: 1rem;
	color: #ffffff;
	font-size: clamp(2.55rem, 5.3vw, 5rem);
	letter-spacing: -0.05em;
}

.esv-industry-hero__lead {
	max-width: 830px;
	margin-bottom: 0;
	color: rgba(255,255,255,0.85);
	font-size: clamp(1.05rem, 1.7vw, 1.24rem);
	line-height: 1.72;
}

.esv-industry-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.6rem;
}

.esv-button--gold {
	border-color: #f7c84b;
	background: #f7c84b;
	color: #071b36;
}

.esv-button--gold:hover {
	border-color: #ffe082;
	background: #ffe082;
	color: #071b36;
}

.esv-button--outline-light {
	border-color: rgba(255,255,255,0.5);
	background: transparent;
	color: #ffffff;
}

.esv-button--outline-light:hover {
	border-color: #ffffff;
	background: rgba(255,255,255,0.10);
	color: #ffffff;
}

.esv-industry-hero__panel {
	padding: clamp(1.5rem, 3vw, 2.15rem);
	border: 1px solid rgba(255,255,255,0.22);
	border-radius: 22px;
	background: rgba(255,255,255,0.10);
	box-shadow: 0 28px 75px rgba(0,0,0,0.24);
	backdrop-filter: blur(12px);
}

.esv-industry-hero__icon {
	display: grid;
	width: 54px;
	height: 54px;
	margin-bottom: 1.1rem;
	place-items: center;
	border: 1px solid rgba(255,255,255,0.20);
	border-radius: 14px;
	background: rgba(255,255,255,0.10);
	font-size: 1.7rem;
}

.esv-industry-hero__panel-label {
	margin: 0 0 0.9rem;
	color: #ffd66d;
	font-size: 0.74rem;
	font-weight: 850;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.esv-industry-hero__panel ul {
	padding: 0;
	margin: 0;
	list-style: none;
}

.esv-industry-hero__panel li {
	display: grid;
	grid-template-columns: 88px minmax(0, 1fr);
	gap: 0.7rem;
	padding: 0.85rem 0;
	border-top: 1px solid rgba(255,255,255,0.16);
}

.esv-industry-hero__panel li:first-child {
	border-top: 0;
}

.esv-industry-hero__panel strong {
	color: #ffffff;
	font-size: 0.9rem;
}

.esv-industry-hero__panel span {
	color: rgba(255,255,255,0.76);
	font-size: 0.84rem;
	line-height: 1.55;
}

/* Industry guide body. */
.esv-industry-article {
	padding: clamp(3.8rem, 7vw, 7rem) 0;
	background: #ffffff;
}

.esv-industry-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 330px);
	align-items: start;
	gap: clamp(2.5rem, 5vw, 5rem);
}

.esv-industry-content {
	min-width: 0;
	max-width: 900px;
	color: #20324b;
	font-size: 1rem;
	line-height: 1.72;
}

.esv-industry-content > *:first-child {
	margin-top: 0;
}

.esv-industry-content h2 {
	margin: 2.3em 0 0.65em;
	color: var(--esv-navy-950);
	font-size: clamp(1.75rem, 3vw, 2.45rem);
	letter-spacing: -0.035em;
}

.esv-industry-content h2:first-child {
	margin-top: 0;
}

.esv-industry-content h3 {
	margin: 1.35em 0 0.55em;
	color: var(--esv-navy-950);
	font-size: clamp(1.08rem, 2vw, 1.33rem);
	letter-spacing: -0.015em;
}

.esv-industry-content p,
.esv-industry-content ul,
.esv-industry-content ol,
.esv-industry-content figure {
	margin-top: 0;
	margin-bottom: 1.25rem;
}

.esv-industry-content ul,
.esv-industry-content ol {
	padding-left: 1.35rem;
}

.esv-industry-content li + li {
	margin-top: 0.45rem;
}

/* Feature cards created with Gutenberg columns. */
.esv-industry-content .wp-block-columns {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
	margin: 1.75rem 0 2.2rem;
}

.esv-industry-content .wp-block-column {
	min-width: 0;
	padding: 1.2rem;
	border: 1px solid var(--esv-slate-200);
	border-radius: 14px;
	background: #ffffff;
	box-shadow: 0 8px 26px rgba(7,27,54,0.055);
}

.esv-industry-content .has-light-gray-2-background-color {
	padding: 0;
	background: transparent !important;
}

.esv-industry-content .wp-block-column > *:last-child {
	margin-bottom: 0;
}

.esv-industry-content .wp-block-column h3 {
	margin-top: 0;
	font-size: 1rem;
}

.esv-industry-content .wp-block-column p,
.esv-industry-content .wp-block-column li {
	color: var(--esv-slate-600);
	font-size: 0.9rem;
}

/* Standards tables. */
.esv-industry-content figure.wp-block-table {
	width: 100%;
	margin: 1.5rem 0 2.2rem;
	overflow-x: auto;
	border: 1px solid var(--esv-slate-200);
	border-radius: 14px;
	background: #ffffff;
	box-shadow: 0 8px 28px rgba(7,27,54,0.055);
	-webkit-overflow-scrolling: touch;
}

.esv-industry-content table {
	width: 100%;
	min-width: 680px;
	margin: 0;
	border-collapse: collapse;
	font-size: 0.91rem;
	line-height: 1.5;
}

.esv-industry-content th,
.esv-industry-content td {
	padding: 0.88rem 0.95rem;
	border: 0;
	border-bottom: 1px solid var(--esv-slate-200);
	text-align: left;
	vertical-align: top;
}

.esv-industry-content th {
	background: var(--esv-navy-950);
	color: #ffffff;
	font-size: 0.78rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.esv-industry-content tbody tr:nth-child(even) {
	background: var(--esv-slate-50);
}

.esv-industry-content tbody tr:last-child td {
	border-bottom: 0;
}

/* Benefit check lists. */
.esv-industry-content .is-style-checkmark {
	padding: 0;
	list-style: none;
}

.esv-industry-content .is-style-checkmark li {
	position: relative;
	padding: 0.75rem 0 0.75rem 2rem;
	border-bottom: 1px solid var(--esv-slate-200);
}

.esv-industry-content .is-style-checkmark li::before {
	position: absolute;
	top: 0.82rem;
	left: 0;
	display: grid;
	width: 1.25rem;
	height: 1.25rem;
	place-items: center;
	border-radius: 50%;
	background: #e6f8ef;
	color: #067647;
	content: "✓";
	font-size: 0.78rem;
	font-weight: 900;
}

/* Download or catalogue callout. */
.esv-industry-content .wp-block-group.has-border-color {
	padding: clamp(1.45rem, 3vw, 2rem) !important;
	margin: 2.2rem 0 !important;
	border: 1px solid #a9c9f5 !important;
	border-left: 5px solid var(--esv-blue-700) !important;
	border-radius: 15px;
	background: #f5f9ff !important;
}

.esv-industry-content .wp-block-group.has-border-color h2,
.esv-industry-content .wp-block-group.has-border-color h3 {
	margin-top: 0;
}

.esv-industry-content .wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
	margin: 1rem 0 0;
}

.esv-industry-content .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0.7rem 1rem;
	border-radius: 9px;
	background: var(--esv-blue-700);
	color: #ffffff;
	font-weight: 750;
	text-decoration: none;
}

/* FAQ microdata already visible in each sector guide. */
.esv-industry-content [itemtype="https://schema.org/FAQPage"] {
	display: grid;
	gap: 0.8rem;
	margin: 1.3rem 0 2rem;
}

.esv-industry-content [itemtype="https://schema.org/Question"] {
	padding: 1.15rem 1.25rem !important;
	margin: 0 !important;
	border: 1px solid var(--esv-slate-200);
	border-radius: 12px;
	background: #ffffff;
}

.esv-industry-content [itemtype="https://schema.org/Question"] h3 {
	margin: 0 0 0.45rem !important;
	font-size: 1.03rem !important;
}

.esv-industry-content [itemprop="acceptedAnswer"] p:last-child {
	margin-bottom: 0;
}

/* Cross-sector links. */
.esv-industry-content h2:last-of-type + p + .wp-block-columns,
.esv-industry-content hr + h2 + p + .wp-block-columns {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.esv-industry-content h2:last-of-type + p + .wp-block-columns .wp-block-column,
.esv-industry-content hr + h2 + p + .wp-block-columns .wp-block-column {
	padding: 1rem 1.1rem;
	box-shadow: none;
}

.esv-industry-content h2:last-of-type + p + .wp-block-columns a,
.esv-industry-content hr + h2 + p + .wp-block-columns a {
	font-weight: 700;
	text-decoration: none;
}

.esv-industry-content .wp-block-separator {
	height: 1px;
	margin: 2.8rem 0;
	border: 0;
	background: var(--esv-slate-200);
}

.esv-industry-content .wp-block-spacer {
	height: clamp(1rem, 2vw, 1.75rem) !important;
}

/* Sticky verification sidebar. */
.esv-industry-sidebar {
	position: sticky;
	top: calc(var(--esv-header-height) + var(--esv-admin-height) + 24px);
	display: grid;
	gap: 1rem;
	min-width: 0;
}

.esv-industry-sidebar__section {
	padding: 1.45rem;
	border: 1px solid var(--esv-slate-200);
	border-radius: 16px;
	background: var(--esv-slate-50);
}

.esv-industry-sidebar h2 {
	margin: 0 0 0.9rem;
	font-size: 1.25rem;
}

.esv-industry-sidebar p {
	color: var(--esv-slate-600);
	font-size: 0.9rem;
}

.esv-check-list {
	padding: 0;
	margin: 0;
	list-style: none;
}

.esv-check-list li {
	position: relative;
	padding: 0.62rem 0 0.62rem 1.65rem;
	border-top: 1px solid var(--esv-slate-200);
	color: var(--esv-slate-700);
	font-size: 0.88rem;
}

.esv-check-list li:first-child {
	border-top: 0;
}

.esv-check-list li::before {
	position: absolute;
	top: 0.72rem;
	left: 0;
	color: var(--esv-blue-700);
	content: "✓";
	font-weight: 900;
}

.esv-industry-sidebar__cta {
	border-color: #c4d9f7;
	background: linear-gradient(145deg, #f4f8ff, #ffffff);
}

.esv-industry-sidebar__cta .esv-button {
	width: 100%;
	margin-top: 0.2rem;
}

.esv-industry-disclaimer {
	padding: 1.15rem 0;
	border-top: 1px solid #f0d488;
	border-bottom: 1px solid #f0d488;
	background: #fff8dc;
}

.esv-industry-disclaimer__inner {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 0.65rem;
	color: #5e4a0f;
	font-size: 0.82rem;
}

.esv-industry-disclaimer__inner p {
	margin: 0;
}

/* Rich page fallbacks if legacy CSS is unavailable. */
.esv-rich-page-output .esv-rich-fallback {
	width: min(960px, calc(100% - 40px));
	padding: clamp(3rem, 6vw, 6rem) 0;
	margin-inline: auto;
}

.esv-legal-output .es-privacy-page {
	padding-bottom: clamp(3rem, 6vw, 6rem);
}

/* Large tablets and compact desktops. */
@media (max-width: 1080px) {
	.esv-industry-hero__grid,
	.esv-industry-layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.esv-industry-hero__panel {
		max-width: 720px;
	}

	.esv-industry-sidebar {
		position: static;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.esv-industry-content {
		max-width: none;
	}
}

/* Phones and small tablets. */
@media (max-width: 760px) {
	.esv-title-strip {
		padding: 2.4rem 0 2.8rem;
	}

	.esv-title-strip h1 {
		font-size: clamp(2.25rem, 12vw, 3.45rem);
	}

	.esv-industry-hero {
		padding: 3.25rem 0 4rem;
	}

	.esv-industry-hero h1 {
		font-size: clamp(2.35rem, 12vw, 3.65rem);
	}

	.esv-industry-hero__actions {
		display: grid;
	}

	.esv-industry-hero__actions .esv-button {
		width: 100%;
	}

	.esv-industry-hero__panel li {
		grid-template-columns: minmax(0, 1fr);
		gap: 0.12rem;
	}

	.esv-industry-article {
		padding: 3rem 0 4rem;
	}

	.esv-industry-sidebar {
		grid-template-columns: minmax(0, 1fr);
	}

	.esv-industry-content .wp-block-columns {
		grid-template-columns: minmax(0, 1fr);
	}

	.esv-industry-content h2:last-of-type + p + .wp-block-columns,
	.esv-industry-content hr + h2 + p + .wp-block-columns {
		grid-template-columns: minmax(0, 1fr);
	}

	.esv-industry-content table {
		min-width: 620px;
	}

	.esv-industry-disclaimer__inner {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 420px) {
	.esv-industry-hero__panel,
	.esv-industry-sidebar__section,
	.esv-industry-content .wp-block-column,
	.esv-industry-content [itemtype="https://schema.org/Question"] {
		padding: 1.1rem;
	}

	.esv-industry-content table {
		min-width: 580px;
		font-size: 0.84rem;
	}

	.esv-industry-content th,
	.esv-industry-content td {
		padding: 0.72rem;
	}
}

@media print {
	.esv-industry-hero {
		padding: 1.5rem 0;
		background: #ffffff !important;
		color: #000000;
	}

	.esv-industry-hero *,
	.esv-title-strip * {
		color: #000000 !important;
	}

	.esv-industry-hero__panel,
	.esv-industry-sidebar,
	.esv-industry-hero__actions,
	.esv-industry-disclaimer {
		display: none !important;
	}

	.esv-industry-layout {
		display: block;
	}

	.esv-industry-content figure.wp-block-table {
		overflow: visible;
		box-shadow: none;
	}

	.esv-industry-content table {
		min-width: 0;
	}
}


/* Integrated About hero: one designed introduction and one visible H1. */
.esv-about-page,
.esv-about-output {
	background: #ffffff;
}

.esv-about-output .es-about {
	padding-top: clamp(18px, 3vw, 36px);
}

@media (max-width: 720px) {
	.esv-about-output .es-about {
		width: min(100% - 20px, var(--es-about-container, 1180px));
		padding-top: 10px;
	}

	.esv-about-output .es-about__hero h1 {
		font-size: clamp(2.25rem, 12vw, 3.65rem) !important;
		line-height: 1.01 !important;
		letter-spacing: -0.052em !important;
	}
}
