/*
 * **********************************************************************
 * Teaching Page Styles
 *
 * Styles for the [teaching_page] shortcode.
 * Loaded only on the page with slug "teaching".
 *
 * @version  1.0.14
 * @updated  2026-06-16
 * **********************************************************************
 */

/* =============================================================================
   Shared utilities
   ============================================================================= */

.mah-teaching {
	font-family: inherit;
	color: inherit;
	border-radius: 20px;
	overflow: hidden;
}

.mah-teaching section {
	padding: 80px 24px;
}

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

.tc-hero {
	background-color: #2b7f4b;
	text-align: center;
	padding: 100px 24px;
}

.tc-hero__inner {
	max-width: 760px;
	margin: 0 auto;
}

.tc-hero__eyebrow {
	color: rgba(255, 255, 255, .75);
	font-size: .85rem;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	margin: 0 0 16px;
}

.tc-hero__title {
	color: #ffffff;
	font-size: clamp(2.2rem, 6vw, 3.6rem);
	font-weight: 800;
	line-height: 1.15;
	margin: 0 0 24px;
}

.tc-hero__lead {
	color: rgba(255, 255, 255, .88);
	font-size: 1.15rem;
	line-height: 1.75;
	margin: 0 0 36px;
}

.tc-hero__ctas {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
}

/* =============================================================================
   Buttons
   ============================================================================= */

.tc-btn {
	display: inline-block;
	padding: 14px 28px;
	border-radius: 6px;
	font-size: .95rem;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
}

.tc-btn--primary {
	background: var(--btn-secondary-bg);
	color: var(--btn-secondary-text);
	border: 2px solid var(--btn-secondary-bg);
}

.tc-btn--primary:hover {
	background: #e8f5ee;
	border-color: #e8f5ee;
	color: var(--btn-secondary-hover-text);
}

.tc-btn--primary:visited { color: var(--btn-secondary-visited); }

.tc-btn--secondary {
	background: transparent;
	color: var(--btn-clear-text);
	border: 2px solid var(--btn-clear-border);
}

.tc-btn--secondary:hover {
	background: rgba(255, 255, 255, .12);
	border-color: var(--btn-clear-border);
	color: var(--btn-clear-hover-text);
}

.tc-btn--secondary:visited { color: var(--btn-clear-visited); }

.tc-btn--white {
	background: var(--btn-secondary-bg);
	color: var(--btn-secondary-text);
	border: 2px solid var(--btn-secondary-bg);
}

.tc-btn--white:hover {
	background: #e8f5ee;
	border-color: #e8f5ee;
	color: var(--btn-secondary-hover-text);
}

.tc-btn--white:visited { color: var(--btn-secondary-visited); }

.tc-btn--outline {
	background: transparent;
	color: var(--btn-clear-text);
	border: 2px solid var(--btn-clear-border);
}

.tc-btn--outline:hover {
	background: rgba(255, 255, 255, .12);
	border-color: var(--btn-clear-border);
	color: var(--btn-clear-hover-text);
}

.tc-btn--outline:visited { color: var(--btn-clear-visited); }

.tc-btn--green {
	background: var(--btn-primary-bg);
	color: var(--btn-primary-text);
	border: 2px solid var(--btn-primary-border);
}

.tc-btn--green:visited {
	color: var(--btn-primary-visited);
}

.tc-btn--green:hover {
	background: #236640;
	border-color: #236640;
	color: var(--btn-primary-hover-text);
}

.tc-sessions__book {
	margin-top: 32px;
	margin-bottom: 32px;
	text-align: center;
}

/* =============================================================================
   Teacher
   ============================================================================= */

.tc-teacher {
	background: #ffffff;
	padding: 80px 24px;
}

.tc-teacher__inner {
	max-width: 900px;
	margin: 0 auto;
	display: flex;
	gap: 48px;
	align-items: flex-start;
}

.tc-teacher__photo-wrap {
	flex-shrink: 0;
}

.tc-teacher__photo {
	width: 160px;
	height: 160px;
	border-radius: 50%;
	background: linear-gradient(135deg, #2b7f4b 0%, #447A4F 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 20px rgba(43, 127, 75, .3);
}

.tc-teacher__photo img {
	width: 120px;
	height: 120px;
	border-radius: 50%;
	object-fit: cover;
	display: block;
}

.tc-teacher__label {
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: #2b7f4b;
	margin: 0 0 8px;
}

.tc-teacher__name {
	font-size: 2rem;
	font-weight: 700;
	margin: 0 0 20px;
	color: #1a2e22;
}

.tc-teacher__text {
	font-size: 1rem;
	line-height: 1.75;
	color: #444;
	margin: 0 0 14px;
}

.tc-teacher__contact {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 10px;
	color: #2b7f4b;
	font-weight: 600;
	text-decoration: none;
	font-size: .95rem;
}

.tc-teacher__contact:hover {
	text-decoration: underline;
}

.tc-teacher__contact svg {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
}

/* =============================================================================
   Sessions
   ============================================================================= */

.tc-sessions {
	background: #f0f8f3;
}

.tc-sessions__inner {
	max-width: 900px;
	margin: 0 auto;
	text-align: center;
}

.tc-sessions__heading {
	font-size: 2rem;
	font-weight: 700;
	color: #1a2e22;
	margin: 0 0 12px;
}

.tc-sessions__sub {
	font-size: 1.05rem;
	color: #555;
	line-height: 1.7;
	max-width: 640px;
	margin: 0 auto 48px;
}

.tc-sessions__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	text-align: left;
}

.tc-session-card {
	background: #ffffff;
	border-radius: 12px;
	padding: 36px 32px;
	box-shadow: 0 2px 16px rgba(0, 0, 0, .07);
	border-top: 4px solid #2b7f4b;
}

.tc-session-card__icons {
	display: flex;
	gap: 10px;
	margin-bottom: 20px;
}

.tc-session-card__icon {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 20px;
}

.tc-session-card__icons .tc-session-card__icon {
	margin-bottom: 0;
}

.tc-session-card__icon--sun {
	background: #fff8e1;
	color: #f59e0b;
}

.tc-session-card__icon--moon {
	background: #ede9fe;
	color: #7c3aed;
}

.tc-session-card__icon svg {
	width: 24px;
	height: 24px;
}

.tc-session-card__title {
	font-size: 1.25rem;
	font-weight: 700;
	color: #1a2e22;
	margin: 0 0 4px;
}

.tc-session-card__detail {
	font-size: .85rem;
	font-weight: 600;
	color: #2b7f4b;
	text-transform: uppercase;
	letter-spacing: .08em;
	margin: 0 0 20px;
}

.tc-session-card__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.tc-session-card__list li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: .95rem;
	color: #444;
}

.tc-session-card__list li::before {
	content: '';
	flex-shrink: 0;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #2b7f4b;
}

.tc-sessions__enrol {
	margin-top: 56px;
	font-size: .95rem;
	color: #555;
	line-height: 1.7;
}

.tc-sessions__enrol a {
	color: #2b7f4b;
	font-weight: 600;
}

/* =============================================================================
   Curriculum
   ============================================================================= */

.tc-curriculum {
	background: #ffffff;
}

.tc-curriculum__inner {
	max-width: 900px;
	margin: 0 auto;
	text-align: center;
}

.tc-curriculum__heading {
	font-size: 2rem;
	font-weight: 700;
	color: #1a2e22;
	margin: 0 0 48px;
}

.tc-curriculum__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 28px;
	text-align: left;
}

.tc-learn-card {
	padding: 32px 28px;
	border: 1.5px solid #e3ede7;
	border-radius: 10px;
	transition: box-shadow .2s ease, border-color .2s ease;
}

.tc-learn-card:hover {
	box-shadow: 0 4px 20px rgba(43, 127, 75, .1);
	border-color: #aad4b8;
}

.tc-learn-card__icon {
	font-size: 2.2rem;
	margin-bottom: 16px;
	line-height: 1;
}

.tc-learn-card__title {
	font-size: 1.1rem;
	font-weight: 700;
	color: #1a2e22;
	margin: 0 0 10px;
}

.tc-learn-card p {
	font-size: .95rem;
	line-height: 1.7;
	color: #555;
	margin: 0;
}

/* =============================================================================
   Gallery
   ============================================================================= */

.tc-gallery {
	background: #f5faf7;
}

.tc-gallery__inner {
	max-width: 960px;
	margin: 0 auto;
	text-align: center;
}

.tc-gallery__heading {
	font-size: 2rem;
	font-weight: 700;
	color: #1a2e22;
	margin: 0 0 40px;
}

.tc-gallery__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.tc-gallery__item {
	margin: 0;
	text-align: left;
}

.tc-gallery__item img,
.tc-gallery__placeholder {
	width: 100%;
	aspect-ratio: 4 / 3;
	border-radius: 8px;
	object-fit: cover;
	display: block;
}

.tc-gallery__placeholder {
	background-color: #c8e6d4;
	background-size: 40px 40px;
	background-position: center;
	background-repeat: no-repeat;
	position: relative;
}

.tc-gallery__placeholder::after {
	content: '📷';
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2.5rem;
	opacity: .4;
}

.tc-gallery__placeholder--1 { background-color: #b8ddc8; }
.tc-gallery__placeholder--2 { background-color: #9ecfb2; }
.tc-gallery__placeholder--3 { background-color: #aad4b8; }

.tc-gallery__item figcaption {
	font-size: .82rem;
	color: #666;
	margin-top: 8px;
	padding: 0 4px;
	text-align: center;
}

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

/* =============================================================================
   Testimonials
   ============================================================================= */

.tc-testimonials {
	padding: 80px 24px;
}

.tc-testimonials__inner {
	max-width: 960px;
	margin: 0 auto;
	text-align: center;
}

.tc-testimonials__heading {
	font-size: 2rem;
	font-weight: 700;
	color: #1a2e22;
	margin: 0 0 40px;
}

.tc-testimonials__grid {
	display: grid;
	grid-template-columns: repeat( 3, 1fr );
	gap: 1.5rem;
	text-align: left;
}

@media ( max-width: 768px ) {
	.tc-testimonials__grid {
		grid-template-columns: 1fr;
	}
}

.tc-quote {
	background: #ffffff;
	border-radius: 10px;
	box-shadow: 0 2px 16px rgba( 0, 0, 0, 0.07 );
	padding: 1.75rem;
	margin: 0;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.tc-quote__text {
	font-size: 0.98rem;
	line-height: 1.75;
	color: #374151;
	font-style: italic;
	margin: 0 0 1.25rem;
}

.tc-quote__footer {
	border-top: 1px solid #e5e7eb;
	padding-top: 0.85rem;
}

.tc-quote__name {
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #2b7f4b;
	font-style: normal;
}

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

.tc-cta {
	background: #2b7f4b;
	text-align: center;
}

.tc-cta__inner {
	max-width: 680px;
	margin: 0 auto;
}

.tc-cta__heading {
	font-size: 2.2rem;
	font-weight: 700;
	color: #ffffff;
	margin: 0 0 16px;
}

.tc-cta__text {
	font-size: 1.05rem;
	color: rgba(255, 255, 255, .85);
	line-height: 1.75;
	margin: 0 0 36px;
}

.tc-cta__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
}

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

@media ( max-width: 700px ) {
	.tc-teacher__inner {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.tc-teacher__contact {
		justify-content: center;
	}

	.tc-sessions__grid,
	.tc-curriculum__grid {
		grid-template-columns: 1fr;
	}

	.tc-gallery__grid {
		grid-template-columns: 1fr;
	}

	.mah-teaching section {
		padding: 56px 20px;
	}
}
