/*
 * Styles for the sections added in V2.
 *
 * Built on the theme's existing custom properties rather than new hex values,
 * so if the palette is ever retuned in :root these sections follow it. Navy
 * (#003a70) carries structure, yellow (#fdec08) is used once per section as a
 * marker and nowhere else, because it is loud and stops working the moment it
 * is everywhere.
 */

/* ---------- Sectors ---------- */

.sov-sectors {
	padding: clamp(3.5rem, 8vw, 7rem) 0;
	background: var(--bg-color-light);
	color: var(--text-color);
}

.sov-sectors__intro {
	max-width: 62ch;
	margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.sov-sectors__title {
	font-size: clamp(1.75rem, 3.6vw, 2.75rem);
	line-height: 1.15;
	color: var(--primary-color);
	margin: 0 0 1rem;
}

.sov-sectors__lede {
	font-size: clamp(1rem, 1.4vw, 1.15rem);
	line-height: 1.65;
	margin: 0;
	color: var(--text-color);
}

/* Audiences: two statements, deliberately not cards. */
.sov-audiences {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
	gap: clamp(1.5rem, 4vw, 3rem);
	margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
	padding-bottom: clamp(2rem, 5vw, 3rem);
	border-bottom: 1px solid var(--border-color);
}

.sov-audience__title {
	font-size: 1.1rem;
	letter-spacing: 0.01em;
	color: var(--primary-color);
	margin: 0 0 0.6rem;
	padding-top: 0.75rem;
	border-top: 3px solid var(--accent-color);
	display: inline-block;
}

.sov-audience__body {
	margin: 0;
	line-height: 1.7;
	max-width: 46ch;
}

/* The nine sectors. A list, because that is what it is. */
.sov-sector-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
	gap: clamp(1.25rem, 3vw, 2.25rem);
}

.sov-sector {
	padding-left: 1.1rem;
	border-left: 2px solid rgba(0, 57, 112, 0.18);
	transition: border-color 0.25s ease;
}

.sov-sector:hover,
.sov-sector:focus-within {
	border-left-color: var(--accent-color);
}

.sov-sector__name {
	font-size: 1.05rem;
	line-height: 1.3;
	color: var(--primary-color);
	margin: 0 0 0.5rem;
}

.sov-sector__body {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.65;
	max-width: 40ch;
	color: var(--text-color);
}

.sov-sectors__cta {
	margin: clamp(2.5rem, 6vw, 4rem) 0 0;
}

/* ---------- News ---------- */

.sov-news {
	padding: clamp(3.5rem, 8vw, 7rem) 0;
	background: var(--bg-color);
}

.sov-news__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: clamp(1.75rem, 4vw, 3rem);
}

.sov-news__title {
	font-size: clamp(1.6rem, 3.2vw, 2.4rem);
	color: var(--primary-color);
	margin: 0;
}

.sov-news__all {
	color: var(--primary-color);
	font-weight: 600;
	text-decoration: none;
	border-bottom: 2px solid var(--accent-color);
	padding-bottom: 2px;
}

.sov-news__all:hover,
.sov-news__all:focus-visible {
	color: var(--accent-secondary);
}

.sov-news__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
	gap: clamp(1.5rem, 3vw, 2.5rem);
}

.sov-news__thumb {
	display: block;
	overflow: hidden;
	border-radius: var(--border-radius);
	margin-bottom: 1rem;
	aspect-ratio: 16 / 10;
	background: var(--bg-color-light);
}

.sov-news__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.sov-news__item:hover .sov-news__thumb img {
	transform: scale(1.03);
}

.sov-news__date {
	display: block;
	font-size: 0.8rem;
	letter-spacing: 0.02em;
	color: var(--text-color-muted);
	opacity: 0.75;
	margin-bottom: 0.4rem;
}

.sov-news__item-title {
	font-size: 1.1rem;
	line-height: 1.35;
	margin: 0 0 0.6rem;
}

.sov-news__item-title a {
	color: var(--primary-color);
	text-decoration: none;
}

.sov-news__item-title a:hover,
.sov-news__item-title a:focus-visible {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.sov-news__excerpt {
	margin: 0;
	font-size: 0.93rem;
	line-height: 1.65;
	max-width: 44ch;
}

/* ---------- LinkedIn ---------- */

.sov-linkedin {
	padding: clamp(3rem, 7vw, 6rem) 0;
	background: var(--primary-color);
	color: #fff;
}

.sov-linkedin__copy {
	max-width: 52ch;
}

.sov-linkedin__title {
	font-size: clamp(1.6rem, 3.2vw, 2.4rem);
	margin: 0 0 1rem;
	color: #fff;
}

.sov-linkedin__copy p {
	line-height: 1.7;
	margin: 0 0 1.75rem;
	color: rgba(255, 255, 255, 0.88);
}

.sov-linkedin .btn {
	background: var(--accent-color);
	color: var(--primary-color);
	font-weight: 700;
	border: none;
}

.sov-linkedin .btn:hover,
.sov-linkedin .btn:focus-visible {
	background: #fff;
	color: var(--primary-color);
}

/* ---------- Shared ---------- */

.sov-sectors a:focus-visible,
.sov-news a:focus-visible,
.sov-linkedin a:focus-visible {
	outline: 3px solid var(--accent-color);
	outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
	.sov-news__thumb img,
	.sov-sector {
		transition: none;
	}
	.sov-news__item:hover .sov-news__thumb img {
		transform: none;
	}
}

/* ---------- World map fallback ---------- */
/* Shown only if the mapping library fails to initialise. Self-contained: no
   external image, no third-party dependency. */

.world-map-fallback {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 100%;
	min-height: 320px;
	padding: clamp(1.5rem, 4vw, 3rem);
	background: var(--primary-color);
	border-radius: var(--border-radius);
	text-align: center;
}

.world-map-fallback__lead {
	color: rgba(255, 255, 255, 0.85);
	font-size: 0.95rem;
	letter-spacing: 0.02em;
	margin: 0 0 1.25rem;
}

.world-map-fallback__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem 0.75rem;
	max-width: 44rem;
}

.world-map-fallback__list li {
	color: #fff;
	font-weight: 600;
	font-size: clamp(0.9rem, 1.6vw, 1.05rem);
	padding: 0.3rem 0.75rem;
	border: 1px solid rgba(253, 236, 8, 0.45);
	border-radius: 999px;
}

/* Placeholder shown where a Customizer image has not been set yet. Deliberately
   plain and on-brand rather than a stock photo standing in for real work. */
.faq-image-fallback {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 320px;
	padding: 2rem;
	text-align: center;
	background: var(--bg-color-light);
	border: 1px dashed rgba(0, 57, 112, 0.25);
	border-radius: var(--border-radius);
	color: var(--primary-color);
	font-size: 0.9rem;
}
