/* GKG Pathways Accordion — all selectors scoped under .gkg-pw-grid
   to prevent any collision with Divi or theme styles. Colors/layout
   come from CSS variables set in wp_head based on the Style Settings
   admin page (see gkg-pathways-accordion.php), so this file rarely
   needs manual edits. */

.gkg-pw-grid {
	--gkg-pw-accent: #2563eb;
	--gkg-pw-accent-text: #ffffff;
	--gkg-pw-bg: #ffffff;
	--gkg-pw-bg-detail: #f6f7f7;
	--gkg-pw-border: #dcdcde;
	--gkg-pw-text: #1d2327;
	--gkg-pw-text-muted: #646970;
	--gkg-pw-radius: 10px;
	--gkg-pw-gap: 24px;

	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--gkg-pw-gap);
	max-width: 1100px;
	margin: 2em auto;
	font-family: inherit;
	box-sizing: border-box;
}

.gkg-pw-grid * {
	box-sizing: border-box;
}

.gkg-pw-card {
	border: 1px solid var(--gkg-pw-border);
	border-radius: var(--gkg-pw-radius);
	background: var(--gkg-pw-bg);
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.gkg-pw-card-top {
	padding: 24px 24px 20px;
}

.gkg-pw-icon {
	width: 28px;
	height: 28px;
	color: var(--gkg-pw-accent);
	margin-bottom: 12px;
	display: block;
}

.gkg-pw-icon-sm {
	width: 15px;
	height: 15px;
	margin-bottom: 0;
	color: var(--gkg-pw-text-muted);
	flex-shrink: 0;
}

.gkg-pw-name {
	margin: 0 0 6px;
	font-size: 19px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--gkg-pw-text);
}

.gkg-pw-audience,
.gkg-pw-commitment {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0 0 6px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--gkg-pw-text-muted);
}

.gkg-pw-tagline {
	margin: 10px 0 12px;
	font-size: 15px;
	font-style: italic;
	color: var(--gkg-pw-text);
}

.gkg-pw-overview {
	margin: 0 0 20px;
	font-size: 14px;
	line-height: 1.6;
	color: var(--gkg-pw-text-muted);
}

.gkg-pw-overview p,
.gkg-pw-detail-text p {
	margin: 0 0 0.8em;
}

.gkg-pw-overview p:last-child,
.gkg-pw-detail-text p:last-child {
	margin-bottom: 0;
}

.gkg-pw-overview ul,
.gkg-pw-overview ol,
.gkg-pw-detail-text ul,
.gkg-pw-detail-text ol {
	margin: 0 0 0.8em;
	padding-left: 1.3em;
}

.gkg-pw-overview li,
.gkg-pw-detail-text li {
	margin-bottom: 0.3em;
}

.gkg-pw-overview strong,
.gkg-pw-detail-text strong {
	font-weight: 700;
	color: var(--gkg-pw-text);
}

.gkg-pw-overview em,
.gkg-pw-detail-text em {
	font-style: italic;
}

.gkg-pw-detail-text a {
	color: var(--gkg-pw-accent);
}

.gkg-pw-detail-text blockquote {
	margin: 0 0 0.8em;
	padding-left: 12px;
	border-left: 3px solid var(--gkg-pw-border);
	color: var(--gkg-pw-text-muted);
}

.gkg-pw-toggle {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: none;
	border: none;
	padding: 0;
	font-size: 14px;
	font-weight: 700;
	color: var(--gkg-pw-accent);
	cursor: pointer;
}

.gkg-pw-toggle:focus-visible {
	outline: 2px solid var(--gkg-pw-accent);
	outline-offset: 3px;
}

.gkg-pw-chevron {
	width: 14px;
	height: 14px;
	transition: transform 0.2s ease;
}

.gkg-pw-toggle[aria-expanded="true"] .gkg-pw-chevron {
	transform: rotate(180deg);
}

.gkg-pw-detail {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.28s ease;
	background: var(--gkg-pw-bg-detail);
	border-top: 0px solid var(--gkg-pw-border);
}

.gkg-pw-card.is-open .gkg-pw-detail {
	border-top-width: 1px;
}

.gkg-pw-detail-inner {
	padding: 20px 24px 24px;
}

.gkg-pw-detail-text {
	margin: 0 0 20px;
	font-size: 14px;
	line-height: 1.7;
	color: var(--gkg-pw-text);
}

.gkg-pw-cta-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.gkg-pw-cta {
	display: inline-block;
	padding: 10px 20px;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	line-height: 1.4;
	border: 1.5px solid var(--gkg-pw-accent);
	transition: opacity 0.15s ease;
}

.gkg-pw-cta:hover {
	opacity: 0.85;
}

.gkg-pw-cta-primary {
	background: var(--gkg-pw-accent);
	color: var(--gkg-pw-accent-text);
}

.gkg-pw-cta-secondary {
	background: transparent;
	color: var(--gkg-pw-accent);
}
