/*
 * **********************************************************************
 * Start Learning Page Styles
 *
 * Styles for the .mah-start-learning wp:html block (page ID 16).
 * Loaded only on that page via functions.php.
 *
 * @version  1.1.1
 * @updated  2026-06-16
 * **********************************************************************
 */

/* =============================================================================
   Hero
   ============================================================================= */

.mah-start-learning .sl-hero {
	background-color: #2b7f4b;
	padding: 80px 40px;
	text-align: center;
}

.mah-start-learning .sl-hero__title {
	color: #ffffff;
	font-size: clamp(2rem, 5vw, 3.2rem);
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 20px;
}

.mah-start-learning .sl-hero__lead {
	color: rgba(255, 255, 255, 0.88);
	font-size: 1.15rem;
	line-height: 1.7;
	max-width: 720px;
	margin: 0 auto;
}

/* =============================================================================
   Topic nav bar
   ============================================================================= */

.mah-start-learning .sl-nav {
	background-color: #1a3a2a;
	padding: 20px 40px;
	text-align: center;
}

.mah-start-learning .sl-nav__links {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mah-start-learning .sl-nav__link {
	color: rgba(255, 255, 255, 0.65);
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-decoration: none;
	padding: 0 14px;
	transition: color 0.15s ease;
}

.mah-start-learning .sl-nav__link:hover {
	color: #ffff00;
}

.mah-start-learning .sl-nav__sep {
	color: rgba(255, 255, 255, 0.35);
	font-size: 0.82rem;
	user-select: none;
}

/* =============================================================================
   Shared content section layout
   ============================================================================= */

/* ── Section shells ───────────────────────────────────────────────────────── */

.mah-start-learning .sl-section {
	padding: 72px 40px;
}

.mah-start-learning .sl-section--ivory  { background-color: #f8f4ee; }
.mah-start-learning .sl-section--white  { background-color: #ffffff; }
.mah-start-learning .sl-section--dark   { background-color: #1a3a2a; }
.mah-start-learning .sl-section--green  { background-color: #2b7f4b; }

/* ── Two-column flex layout ───────────────────────────────────────────────── */

.mah-start-learning .sl-layout {
	max-width: 1100px;
	margin: 0 auto;
	display: flex;
	gap: 60px;
	align-items: flex-start;
	flex-wrap: wrap;
}

/* ── Sidebar (section label) ──────────────────────────────────────────────── */

.mah-start-learning .sl-sidebar {
	flex: 0 0 220px;
	min-width: 180px;
}

.mah-start-learning .sl-sidebar__icon {
	font-size: 3.5rem;
	line-height: 1;
	margin: 0 0 12px;
}

.mah-start-learning .sl-sidebar__title {
	font-size: 2rem;
	font-weight: 700;
	margin: 0 0 8px;
}

/* Title colour variants */
.mah-start-learning .sl-section--ivory  .sl-sidebar__title,
.mah-start-learning .sl-section--white  .sl-sidebar__title { color: #2b7f4b; }
.mah-start-learning .sl-section--dark   .sl-sidebar__title { color: #7ecf9b; }
.mah-start-learning .sl-section--green  .sl-sidebar__title { color: #ffffff; }

.mah-start-learning .sl-sidebar__num {
	font-size: 0.82rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin: 0;
}

/* Label colour variants */
.mah-start-learning .sl-section--ivory  .sl-sidebar__num,
.mah-start-learning .sl-section--white  .sl-sidebar__num { color: #777; }
.mah-start-learning .sl-section--dark   .sl-sidebar__num { color: rgba(255, 255, 255, 0.45); }
.mah-start-learning .sl-section--green  .sl-sidebar__num { color: rgba(255, 255, 255, 0.5); }

/* ── Content area ─────────────────────────────────────────────────────────── */

.mah-start-learning .sl-content {
	flex: 1;
	min-width: 260px;
}

/* Intro paragraph */
.mah-start-learning .sl-intro {
	font-size: 1.05rem;
	line-height: 1.75;
}

.mah-start-learning .sl-section--ivory  .sl-intro,
.mah-start-learning .sl-section--white  .sl-intro { color: #2c2c2c; margin: 0 0 28px; }
.mah-start-learning .sl-section--dark   .sl-intro { color: rgba(255, 255, 255, 0.88); margin: 0 0 28px; }
.mah-start-learning .sl-section--green  .sl-intro { color: rgba(255, 255, 255, 0.88); margin: 0 0 28px; }

/* =============================================================================
   Tile grid (section 1)
   ============================================================================= */

.mah-start-learning .sl-tile-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.mah-start-learning .sl-tile-card {
	background: #ffffff;
	padding: 20px;
	border-top: 3px solid #2b7f4b;
}

.mah-start-learning .sl-tile-card--red {
	border-top-color: #c0392b;
}

.mah-start-learning .sl-tile-card__title {
	color: #1a3a2a;
	font-size: 1rem;
	font-weight: 700;
	margin: 0 0 8px;
}

.mah-start-learning .sl-tile-card__body {
	color: #444;
	font-size: 0.9rem;
	line-height: 1.6;
	margin: 0;
}

/* =============================================================================
   Callout boxes — light background (sections 2, 4, 6)
   ============================================================================= */

.mah-start-learning .sl-callout {
	background: #f8f4ee;
	padding: 24px 28px;
	border-left: 4px solid #2b7f4b;
	margin-bottom: 20px;
}

.mah-start-learning .sl-callout:last-child {
	margin-bottom: 0;
}

.mah-start-learning .sl-callout__title {
	color: #1a3a2a;
	font-size: 1rem;
	font-weight: 700;
	margin: 0 0 10px;
}

.mah-start-learning .sl-callout__body {
	color: #333;
	font-size: 0.95rem;
	line-height: 1.7;
	margin: 0;
}

/* =============================================================================
   Charleston — dark section cards and courtesy callout
   ============================================================================= */

.mah-start-learning .sl-pass-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-bottom: 20px;
}

.mah-start-learning .sl-pass-card {
	background: rgba(255, 255, 255, 0.07);
	padding: 24px;
	border-radius: 4px;
}

.mah-start-learning .sl-pass-card__title {
	color: #7ecf9b;
	font-size: 0.95rem;
	font-weight: 700;
	margin: 0 0 10px;
}

.mah-start-learning .sl-pass-card__body {
	color: rgba(255, 255, 255, 0.78);
	font-size: 0.9rem;
	line-height: 1.65;
	margin: 0;
}

.mah-start-learning .sl-courtesy {
	background: rgba(126, 207, 155, 0.12);
	padding: 24px 28px;
	border-left: 3px solid #7ecf9b;
	margin-bottom: 20px;
}

.mah-start-learning .sl-courtesy__title {
	color: #7ecf9b;
	font-size: 0.95rem;
	font-weight: 700;
	margin: 0 0 10px;
}

.mah-start-learning .sl-courtesy__body {
	color: rgba(255, 255, 255, 0.78);
	font-size: 0.9rem;
	line-height: 1.65;
	margin: 0;
}

.mah-start-learning .sl-tip {
	color: rgba(255, 255, 255, 0.5);
	font-size: 0.88rem;
	line-height: 1.6;
	margin: 0;
}

/* =============================================================================
   Joker panels (section 4)
   ============================================================================= */

.mah-start-learning .sl-panel {
	background: #ffffff;
	padding: 24px 28px;
	border-top: 3px solid #2b7f4b;
	margin-bottom: 20px;
}

.mah-start-learning .sl-panel:last-child {
	margin-bottom: 0;
}

.mah-start-learning .sl-panel--red {
	border-top-color: #c0392b;
}

.mah-start-learning .sl-panel__title {
	color: #1a3a2a;
	font-size: 1rem;
	font-weight: 700;
	margin: 0 0 10px;
}

.mah-start-learning .sl-panel__body,
.mah-start-learning .sl-panel__list {
	color: #333;
	font-size: 0.92rem;
	line-height: 1.7;
	margin: 0;
}

.mah-start-learning .sl-panel__list {
	padding-left: 1.4em;
}

/* =============================================================================
   Exposure type cards (section 5)
   ============================================================================= */

.mah-start-learning .sl-type-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin-bottom: 24px;
}

.mah-start-learning .sl-type-card {
	background: rgba(0, 0, 0, 0.2);
	padding: 22px;
}

.mah-start-learning .sl-type-card__title {
	color: #ffffff;
	font-size: 0.95rem;
	font-weight: 700;
	margin: 0 0 8px;
}

.mah-start-learning .sl-type-card__body {
	color: rgba(255, 255, 255, 0.78);
	font-size: 0.88rem;
	line-height: 1.6;
	margin: 0;
}

.mah-start-learning .sl-rules-box {
	background: rgba(255, 255, 255, 0.1);
	padding: 24px 28px;
}

.mah-start-learning .sl-rules-box__title {
	color: #ffffff;
	font-size: 0.95rem;
	font-weight: 700;
	margin: 0 0 12px;
}

.mah-start-learning .sl-rules-box__list {
	color: rgba(255, 255, 255, 0.82);
	font-size: 0.92rem;
	line-height: 1.7;
	margin: 0;
	padding-left: 1.4em;
}

/* =============================================================================
   Reading the card panels (section 6)
   ============================================================================= */

.mah-start-learning .sl-info-panel {
	background: #f8f4ee;
	padding: 28px 32px;
	border-top: 3px solid #2b7f4b;
	margin-bottom: 20px;
}

.mah-start-learning .sl-info-panel:last-child {
	margin-bottom: 0;
}

.mah-start-learning .sl-info-panel--scroll {
	overflow-x: auto;
}

.mah-start-learning .sl-info-panel__title {
	color: #1a3a2a;
	font-size: 1rem;
	font-weight: 700;
	margin: 0 0 14px;
}

.mah-start-learning .sl-info-panel__intro {
	color: #333;
	font-size: 0.92rem;
	line-height: 1.7;
	margin: 0 0 10px;
}

.mah-start-learning .sl-info-panel__list {
	color: #333;
	font-size: 0.92rem;
	line-height: 1.7;
	margin: 0;
	padding-left: 1.4em;
}

/* ── Shorthand reference table ────────────────────────────────────────────── */

.mah-start-learning .sl-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9rem;
}

.mah-start-learning .sl-table thead tr {
	background: #1a3a2a;
	color: #ffffff;
}

.mah-start-learning .sl-table th {
	padding: 8px 14px;
	text-align: left;
	font-weight: 600;
}

.mah-start-learning .sl-table td {
	padding: 8px 14px;
}

.mah-start-learning .sl-table tbody tr:nth-child(odd)  { background: #ffffff; }
.mah-start-learning .sl-table tbody tr:nth-child(even) { background: #f8f4ee; }

/* =============================================================================
   CTA
   ============================================================================= */

.mah-start-learning .sl-cta {
	background-color: #1a3a2a;
	padding: 80px 40px;
	text-align: center;
}

.mah-start-learning .sl-cta__title {
	color: #ffffff;
	font-size: clamp(1.6rem, 4vw, 2.4rem);
	font-weight: 700;
	line-height: 1.25;
	margin: 0 0 16px;
}

.mah-start-learning .sl-cta__lead {
	color: rgba(255, 255, 255, 0.8);
	font-size: 1.05rem;
	line-height: 1.7;
	max-width: 600px;
	margin: 0 auto 36px;
}

.mah-start-learning .sl-cta__buttons {
	display: flex;
	gap: 16px;
	justify-content: center;
	flex-wrap: wrap;
}

.mah-start-learning .sl-cta__btn {
	display: inline-block;
	text-decoration: none;
	font-size: 1rem;
	font-weight: 600;
	padding: 14px 32px;
	border-radius: 4px;
}

.mah-start-learning .sl-cta__btn--primary {
	background: var(--btn-primary-bg);
	color: var(--btn-primary-text);
}

.mah-start-learning .sl-cta__btn--primary:hover   { color: var(--btn-primary-hover-text); }
.mah-start-learning .sl-cta__btn--primary:visited { color: var(--btn-primary-visited); }

.mah-start-learning .sl-cta__btn--outline {
	background: transparent;
	color: var(--btn-clear-text);
	border: 1px solid var(--btn-clear-border);
}

.mah-start-learning .sl-cta__btn--outline:hover   { color: var(--btn-clear-hover-text); }
.mah-start-learning .sl-cta__btn--outline:visited { color: var(--btn-clear-visited); }

/* =============================================================================
   Responsive
   ============================================================================= */

@media (max-width: 700px) {
	.mah-start-learning .sl-tile-grid,
	.mah-start-learning .sl-pass-grid {
		grid-template-columns: 1fr;
	}

	.mah-start-learning .sl-type-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 480px) {
	.mah-start-learning .sl-type-grid {
		grid-template-columns: 1fr;
	}
}
