/**
 * About Page Styles
 *
 * Content-forward layout with consistent 720px column
 * and accent background bands for visual contrast.
 *
 * @package CPDC_Sovereign_Debt_Hub
 * @since 0.1.0
 */

/* ==========================================================================
   SHARED COLUMN
   All sections share the same max-width for vertical alignment.
   ========================================================================== */

.about-intro__container,
.about-how__container,
.about-cpdc__container,
.about-feedback__container {
	width: 100%;
	max-width: 720px;
	margin-inline: auto;
	padding-inline: var(--wp--preset--spacing--md);
}

/* ==========================================================================
   1. HUB INTRODUCTION
   ========================================================================== */

.about-intro {
	padding-block-start: var(--wp--preset--spacing--2xl);
	padding-block-end: var(--wp--preset--spacing--xl);
	background-image: url('/wp-content/uploads/2026/03/hero-grenada.jpg');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	min-height: 280px;
	display: flex;
	align-items: center;
}

@media (min-width: 768px) {
	.about-intro {
		min-height: 360px;
	}
}

.about-intro__container {
	position: relative;
	z-index: 1;
}

/* Darken the shared glass overlay for the about hero — text sits centre-screen
   where the default gradient is at its lightest. */
.about-intro.sdh-hero-glass::before {
	background:
		linear-gradient(145deg,
			rgba(120, 200, 255, 0.18) 0%,
			rgba(180, 120, 255, 0.08) 30%,
			rgba(255, 180,  80, 0.05) 55%,
			rgba( 80, 200, 180, 0.08) 75%,
			rgba(120, 200, 255, 0.12) 100%
		),
		linear-gradient(180deg,
			rgba(0, 0, 0, 0.72)  0%,
			rgba(0, 0, 0, 0.72) 100%
		);
}

.about-intro__title {
	font-family: var(--wp--preset--font-family--heading-serif, 'Playfair Display', Georgia, serif);
	font-size: 2.25rem;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.01em;
	margin: 0;
}

.about-intro__rule {
	width: 48px;
	height: 3px;
	border-radius: 2px;
	margin-block-start: 0.75rem;
	margin-block-end: var(--wp--preset--spacing--lg);
}

.about-intro__text {
	font-size: 1.125rem;
	line-height: 1.75;
	margin-block: 0 var(--wp--preset--spacing--sm);
}

.about-intro__text:last-child {
	margin-block-end: 0;
}

/* ==========================================================================
   2. HOW THE HUB WORKS — accent background band
   ========================================================================== */

.about-how {
	padding-block: var(--wp--preset--spacing--xl);
}

.about-how__title {
	font-family: var(--wp--preset--font-family--heading-serif, 'Playfair Display', Georgia, serif);
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.01em;
	margin: 0 0 var(--wp--preset--spacing--md);
}

.about-how__item {
	margin-block-end: var(--wp--preset--spacing--md);
}

.about-how__item:last-child {
	margin-block-end: 0;
}

.about-how__label {
	font-family: var(--wp--preset--font-family--system-sans, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin: 0 0 0.5rem;
}

.about-how__text {
	font-size: 1rem;
	line-height: 1.7;
	margin: 0;
}

/* ==========================================================================
   3. ABOUT CPDC
   ========================================================================== */

.about-cpdc {
	padding-block: var(--wp--preset--spacing--xl);
}

.about-cpdc__title {
	font-family: var(--wp--preset--font-family--heading-serif, 'Playfair Display', Georgia, serif);
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.01em;
	margin: 0 0 var(--wp--preset--spacing--md);
}

.about-cpdc__text {
	font-size: 1.0625rem;
	line-height: 1.75;
	margin: 0 0 var(--wp--preset--spacing--md);
}

.about-cpdc__link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 1rem;
	font-weight: 500;
	text-decoration: none;
	border-bottom: 1px solid currentColor;
	padding-bottom: 2px;
	transition: opacity 0.3s ease;
}

.about-cpdc__link:hover,
.about-cpdc__link:focus-visible {
	opacity: 0.8;
}

/* ==========================================================================
   4. CONTACT / FEEDBACK — accent background band
   ========================================================================== */

.about-feedback {
	padding-block: var(--wp--preset--spacing--xl);
}

.about-feedback__title {
	font-family: var(--wp--preset--font-family--heading-serif, 'Playfair Display', Georgia, serif);
	font-size: 1.375rem;
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 0.75rem;
}

.about-feedback__text {
	font-size: 1rem;
	line-height: 1.7;
	margin: 0 0 var(--wp--preset--spacing--md);
}

.about-feedback__cta {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 2rem;
	font-size: 0.95rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-decoration: none;
	border-radius: 999px;
	transition: opacity 0.3s ease;
}

.about-feedback__cta:hover,
.about-feedback__cta:focus-visible {
	opacity: 0.85;
}

/* ==========================================================================
   OCEAN CURRENTS SKIN OVERRIDES
   ========================================================================== */

.skin-command-center .about-intro__rule {
	background-color: var(--cc-highlight);
}

.skin-command-center .about-intro__text {
	color: rgba(240, 242, 245, 0.9);
}

.skin-command-center .about-how {
	background: rgba(3, 68, 100, 0.6);
	border-top: 1px solid var(--cc-border-medium);
	border-bottom: 1px solid var(--cc-border-medium);
}

.skin-command-center .about-how__label {
	color: var(--cc-highlight);
}

.skin-command-center .about-how__text {
	color: rgba(240, 242, 245, 0.85);
}

.skin-command-center .about-cpdc__text {
	color: rgba(240, 242, 245, 0.9);
}

.skin-command-center .about-cpdc__link {
	color: var(--cc-accent);
	border-bottom-color: rgba(33, 158, 188, 0.3);
}

.skin-command-center .about-cpdc__link:hover,
.skin-command-center .about-cpdc__link:focus-visible {
	color: var(--cc-text);
}

.skin-command-center .about-feedback {
	background: rgba(3, 68, 100, 0.4);
	border-top: 1px solid var(--cc-border-medium);
}

.skin-command-center .about-feedback__text {
	color: rgba(240, 242, 245, 0.85);
}

.skin-command-center .about-feedback__cta {
	color: var(--cc-highlight);
	border: 1.5px solid var(--cc-highlight);
	background: transparent;
}

.skin-command-center .about-feedback__cta:hover,
.skin-command-center .about-feedback__cta:focus-visible {
	background: rgba(255, 183, 3, 0.1);
}
