/* ==========================================================================
   Pankaj Yogpeeth: testimonial.css
   The testimonials page (testimonial.php), in the inner-page language set by
   the blog and Contact pages:
     1. a compact cover on the site's yoga artwork, with glass tiles that lead
        to the reviews at their source;
     2. the reviews wall (Elfsight) in a glass frame, with a sticky glass
        sidebar, on a soft mint field with the carved jali; a glass panel of
        source links stands in when the wall is not available;
     3. the journey behind the words: six moments on a thread that fills as
        the page scrolls;
     4. the courses behind the stories, by centre (internal links);
     5. questions students asked before joining.
   Behaviour: assets/js/testimonial.js.
   ========================================================================== */

.pyp-tm {
	--pyp-saffron-deep: #d9822b;
	--pyp-glass-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.66), rgba(255, 255, 255, 0.28));
	--pyp-glass-edge: 1px solid rgba(255, 255, 255, 0.75);
	--pyp-glass-blur: blur(18px) saturate(180%);
	--pyp-glass-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), inset 0 -1px 0 rgba(255, 255, 255, 0.2), 0 18px 36px -22px rgba(15, 59, 39, 0.45);
	--pyp-glass-shadow-lift: inset 0 1px 0 rgba(255, 255, 255, 0.9), inset 0 -1px 0 rgba(255, 255, 255, 0.2), 0 28px 48px -24px rgba(15, 59, 39, 0.55);
	--pyp-tile: linear-gradient(145deg, #2f8a4c, var(--pyp-forest));
	--pyp-tm-arch: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 130' preserveAspectRatio='none'%3E%3Cpath d='M0 130V30C0 20 16 14 30 9C40 5 46 3 50 0C54 3 60 5 70 9C84 14 100 20 100 30V121Q100 130 91 130H9Q0 130 0 121Z'/%3E%3C/svg%3E");
	color: var(--pyp-ink);
	font-family: var(--pyp-font-sans);
	background: #f4f9ef;
}

@media (min-width: 768px) {
	.pyp-tm { --pyp-gutter: 28px; }
}

/* Shared: Om eyebrow, headings with a green accent */
.pyp-tm-eyebrow {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font: 600 11px/1 var(--pyp-font-sans);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--pyp-green);
}

/* Om and the lotus are sacred symbols, so they alone take the saffron */
.pyp-tm-om { flex-shrink: 0; width: 18px; height: 18px; color: var(--pyp-saffron-deep); fill: currentColor; }

.pyp-tm :is(h1, h2) em {
	font-style: normal;
	color: var(--pyp-green);
	background: linear-gradient(100deg, #12512f 0%, #1d7044 40%, #2f8a4c 70%, #4a9e45 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.pyp-tm-head {
	display: grid;
	gap: 12px;
	margin-bottom: clamp(20px, 2.4vw, 32px);
}

.pyp-tm-head--center {
	justify-items: center;
	text-align: center;
}

.pyp-tm-title {
	margin: 0;
	font: 500 clamp(26px, 2.6vw, 40px)/1.12 var(--pyp-font-menu);
	letter-spacing: -0.015em;
	color: var(--pyp-forest);
	text-wrap: balance;
}

.pyp-tm-head__lede {
	max-width: 62ch;
	margin: 0;
	font-size: 15.5px;
	line-height: 1.65;
	color: var(--pyp-ink-soft);
	text-wrap: pretty;
}


/* 1. Compact cover
   ========================================================================== */
.pyp-tm-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding-block: clamp(20px, 2.4vw, 34px) clamp(24px, 2.8vw, 40px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.7);
}

.pyp-tm-hero__bg {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 40%;
}

.pyp-tm-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, rgba(248, 251, 244, 0.92) 0%, rgba(248, 251, 244, 0.7) 45%, rgba(248, 251, 244, 0.15) 100%);
}

.pyp-tm-hero__grid {
	display: grid;
	gap: 20px;
	align-items: center;
}

.pyp-tm-hero__copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	min-width: 0;
}

/* Breadcrumb on light glass */
.pyp-tm-crumbs ol {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	margin: 0 0 4px;
	padding: 4px;
	border: var(--pyp-glass-edge);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.55);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	box-shadow: inset 0 1px 0 #fff, 0 8px 18px -14px rgba(15, 59, 39, 0.4);
	list-style: none;
	font-size: 12.5px;
	font-weight: 500;
	line-height: 1;
}

.pyp-tm-crumbs li { display: inline-flex; align-items: center; min-width: 0; }

.pyp-tm-crumbs li + li::before {
	content: '';
	width: 5px;
	height: 5px;
	margin: 0 5px 0 2px;
	border-top: 1.5px solid currentColor;
	border-right: 1.5px solid currentColor;
	color: rgba(15, 59, 39, 0.35);
	transform: rotate(45deg);
}

.pyp-tm-crumbs :is(a, span) {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 10px;
	border-radius: 999px;
	color: var(--pyp-ink-soft);
	white-space: nowrap;
	text-decoration: none;
	transition: background-color var(--pyp-dur-fast) var(--pyp-ease-out), color var(--pyp-dur-fast) var(--pyp-ease-out);
}

.pyp-tm-crumbs a:hover { background: rgba(29, 112, 68, 0.08); color: var(--pyp-forest); }
.pyp-tm-crumbs [aria-current] span { color: var(--pyp-forest); font-weight: 600; }

.pyp-tm-hero__title {
	margin: 0;
	font: 500 clamp(30px, 3.2vw, 48px)/1.08 var(--pyp-font-menu);
	letter-spacing: -0.015em;
	color: var(--pyp-forest);
	text-wrap: balance;
}

.pyp-tm-hero__lede {
	max-width: 60ch;
	margin: 0;
	font: 400 clamp(14.5px, 1.1vw, 16px)/1.6 var(--pyp-font-sans);
	color: var(--pyp-ink-soft);
	text-wrap: pretty;
}

/* Tiles: the reviews at their source, and an invitation to add one */
.pyp-tm-tiles {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pyp-tm-tile {
	display: flex;
	align-items: center;
	gap: 12px;
	height: 100%;
	min-width: 0;
	padding: 12px 14px 12px 12px;
	border: var(--pyp-glass-edge);
	border-radius: 18px;
	background: var(--pyp-glass-bg);
	-webkit-backdrop-filter: var(--pyp-glass-blur);
	backdrop-filter: var(--pyp-glass-blur);
	box-shadow: var(--pyp-glass-shadow);
	color: inherit;
	text-decoration: none;
	transition: transform 200ms var(--pyp-ease-out), box-shadow 300ms var(--pyp-ease-out);
}

.pyp-tm-tile__icon {
	display: grid;
	flex-shrink: 0;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 13px;
	background: var(--pyp-tile);
	box-shadow: 0 10px 18px -10px rgba(15, 59, 39, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.2);
	color: #fff;
	font-size: 19px;
}

.pyp-tm-tile--share .pyp-tm-tile__icon {
	background: linear-gradient(145deg, #e9a04f, #b8641c);
	box-shadow: 0 10px 18px -10px rgba(184, 100, 28, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.pyp-tm-tile__text { display: grid; flex: 1; gap: 4px; min-width: 0; }

.pyp-tm-tile__text b {
	overflow: hidden;
	font: 500 clamp(17px, 1.3vw, 20px)/1.1 var(--pyp-font-menu);
	color: var(--pyp-forest);
	white-space: nowrap;
	text-overflow: ellipsis;
}

.pyp-tm-tile__text small {
	overflow: hidden;
	font: 600 10px/1.2 var(--pyp-font-sans);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--pyp-ink-soft);
	white-space: nowrap;
	text-overflow: ellipsis;
}

.pyp-tm-tile__go {
	flex-shrink: 0;
	color: var(--pyp-green);
	font-size: 14px;
	transition: transform 300ms var(--pyp-ease-out);
}

.pyp-tm-tile:active { transform: scale(0.98); }

.pyp-tm-tile:focus-visible {
	outline: 2px solid var(--pyp-green);
	outline-offset: 2px;
}

@media (hover: hover) {
	.pyp-tm-tile:hover {
		color: inherit;
		box-shadow: var(--pyp-glass-shadow-lift);
		transform: translateY(-2px);
	}

	.pyp-tm-tile:hover .pyp-tm-tile__go { transform: translate(2px, -2px); }
	.pyp-tm-tile--share:hover .pyp-tm-tile__go { transform: translateY(2px); }
}

@media (min-width: 1100px) {
	.pyp-tm-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 540px); gap: 40px; }
}

@media (min-width: 1500px) {
	.pyp-tm-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 960px); }
	.pyp-tm-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}


/* 2. The field: the reviews wall and the sidebar
   ========================================================================== */
.pyp-tm-field {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding-block: clamp(28px, 3.4vw, 52px) clamp(48px, 6vw, 88px);
	background:
		radial-gradient(50% 40% at 100% 0%, rgba(156, 207, 104, 0.3), transparent 70%),
		radial-gradient(45% 35% at 0% 60%, rgba(156, 207, 104, 0.22), transparent 70%),
		linear-gradient(180deg, #f6f9f1 0%, #eef5e7 50%, #f6f9f1 100%);
}

.pyp-tm-jali {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	fill: none;
	stroke: rgba(29, 112, 68, 0.07);
	stroke-width: 1;
	pointer-events: none;
}

.pyp-tm-field__glow {
	position: absolute;
	top: 12%;
	left: 28%;
	z-index: -1;
	width: 560px;
	height: 560px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(200, 230, 160, 0.55), transparent 65%);
	filter: blur(30px);
	pointer-events: none;
}

.pyp-tm-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 16px;
}

.pyp-tm-main { min-width: 0; }

/* The wall: the reviews in a frosted frame */
.pyp-tm-wall {
	position: relative;
	padding: clamp(12px, 1.6vw, 22px);
	border: var(--pyp-glass-edge);
	border-radius: 28px;
	background: linear-gradient(150deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.5));
	-webkit-backdrop-filter: var(--pyp-glass-blur);
	backdrop-filter: var(--pyp-glass-blur);
	box-shadow: var(--pyp-glass-shadow);
}

.pyp-tm-wall__live {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 12px;
	padding: 7px 12px;
	border-radius: 999px;
	background: rgba(29, 112, 68, 0.07);
	color: var(--pyp-forest);
	font-size: 12.5px;
	font-weight: 600;
}

.pyp-tm-dot {
	position: relative;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #3fb46a;
}

.pyp-tm-dot::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: inherit;
	animation: pyp-tm-ping 2.4s var(--pyp-ease-out) infinite;
}

@keyframes pyp-tm-ping {
	0% { opacity: 0.7; transform: scale(1); }
	70%, 100% { opacity: 0; transform: scale(3); }
}

.pyp-tm-wall__reviews {
	position: relative;
	min-height: 420px; /* holds the space while the reviews load */
	border-radius: 18px;
}

.pyp-tm-wall.is-loaded .pyp-tm-wall__reviews { min-height: 0; }

/* While the reviews load: a soft shimmer */
.pyp-tm-wall:not(.is-loaded) .pyp-tm-wall__reviews {
	background: linear-gradient(100deg, rgba(29, 112, 68, 0.04) 30%, rgba(29, 112, 68, 0.09) 50%, rgba(29, 112, 68, 0.04) 70%) 0 0 / 300% 100%;
	animation: pyp-tm-shimmer 1.6s linear infinite;
}

@keyframes pyp-tm-shimmer {
	to { background-position: -150% 0; }
}

.pyp-tm-wall[hidden],
.pyp-tm-away[hidden] { display: none; }

/* When the wall is away: the reviews at their source */
.pyp-tm-away {
	display: grid;
	justify-items: center;
	gap: 10px;
	padding: clamp(28px, 3.4vw, 48px) clamp(16px, 3vw, 40px);
	border: var(--pyp-glass-edge);
	border-radius: 28px;
	background:
		radial-gradient(70% 60% at 50% 0%, rgba(200, 230, 160, 0.5), transparent 70%),
		var(--pyp-glass-bg);
	-webkit-backdrop-filter: var(--pyp-glass-blur);
	backdrop-filter: var(--pyp-glass-blur);
	box-shadow: var(--pyp-glass-shadow);
	text-align: center;
}

.pyp-tm-away__mark,
.pyp-tm-invite__mark {
	display: grid;
	place-items: center;
	width: 44px;
	height: 54px;
	padding-top: 6px;
	background: linear-gradient(180deg, #2f8a4c 0%, #1d7044 55%, #12512f 100%);
	-webkit-mask: var(--pyp-tm-arch) center / 100% 100% no-repeat;
	mask: var(--pyp-tm-arch) center / 100% 100% no-repeat;
}

.pyp-tm-away__mark svg,
.pyp-tm-invite__mark svg { width: 22px; height: 22px; color: #fff; fill: currentColor; }

.pyp-tm-away__title {
	margin: 4px 0 0;
	font: 500 clamp(22px, 2vw, 28px)/1.2 var(--pyp-font-menu);
	color: var(--pyp-forest);
	text-wrap: balance;
}

.pyp-tm-away__text {
	max-width: 52ch;
	margin: 0 0 10px;
	color: var(--pyp-ink-soft);
	font-size: 15px;
	line-height: 1.6;
}

.pyp-tm-sources {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pyp-tm-source {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	grid-template-areas:
		"icon text go"
		"icon stars go";
	align-items: center;
	column-gap: 12px;
	row-gap: 4px;
	height: 100%;
	padding: 14px;
	border: 1px solid rgba(255, 255, 255, 0.95);
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.8);
	box-shadow: 0 14px 30px -22px rgba(15, 59, 39, 0.6);
	color: inherit;
	text-align: left;
	text-decoration: none;
	transition: transform 200ms var(--pyp-ease-out), box-shadow 300ms var(--pyp-ease-out);
}

.pyp-tm-source__icon {
	grid-area: icon;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 14px;
	background: var(--pyp-tile);
	color: #fff;
	font-size: 19px;
}

.pyp-tm-source__text { grid-area: text; display: grid; gap: 2px; min-width: 0; }
.pyp-tm-source__text small { color: var(--pyp-ink-soft); font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.pyp-tm-source__text b { overflow: hidden; color: var(--pyp-forest); font: 500 16px/1.2 var(--pyp-font-menu); white-space: nowrap; text-overflow: ellipsis; }
.pyp-tm-source__stars { grid-area: stars; display: flex; gap: 2px; color: #e9a04f; font-size: 11px; }
.pyp-tm-source__go { grid-area: go; color: var(--pyp-green); transition: transform 300ms var(--pyp-ease-out); }

@media (hover: hover) {
	.pyp-tm-source:hover { color: inherit; transform: translateY(-2px); box-shadow: 0 20px 36px -22px rgba(15, 59, 39, 0.65); }
	.pyp-tm-source:hover .pyp-tm-source__go { transform: translate(2px, -2px); }
}

/* Sidebar: glass panels */
.pyp-tm-panel {
	padding: 18px;
	border: var(--pyp-glass-edge);
	border-radius: 22px;
	background: var(--pyp-glass-bg);
	-webkit-backdrop-filter: var(--pyp-glass-blur);
	backdrop-filter: var(--pyp-glass-blur);
	box-shadow: var(--pyp-glass-shadow);
}

.pyp-tm-panel__title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 12px;
	font: 600 11px/1 var(--pyp-font-sans);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--pyp-green);
}

.pyp-tm-panel__title .bi { font-size: 15px; }

/* Source links: rows */
.pyp-tm-links { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }

.pyp-tm-links a {
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr) auto;
	align-items: center;
	gap: 10px;
	padding: 8px 10px 8px 8px;
	border-radius: 14px;
	color: var(--pyp-ink-soft);
	font-size: 14px;
	text-decoration: none;
	transition: background-color var(--pyp-dur-fast) var(--pyp-ease-out);
}

.pyp-tm-links a > .bi:first-child {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 11px;
	background: rgba(29, 112, 68, 0.09);
	color: var(--pyp-green);
	font-size: 15px;
}

.pyp-tm-links a > .bi:last-child { color: var(--pyp-green); font-size: 12px; }
.pyp-tm-links b { color: var(--pyp-forest); font: 500 15px/1.2 var(--pyp-font-menu); }
.pyp-tm-links a:hover { background: rgba(255, 255, 255, 0.7); color: var(--pyp-ink-soft); }

/* Share: leave a review */
.pyp-tm-share {
	background:
		radial-gradient(120% 80% at 100% 0%, rgba(217, 130, 43, 0.12), transparent 60%),
		var(--pyp-glass-bg);
}

.pyp-tm-share__title,
.pyp-tm-invite__title {
	margin: 0 0 6px;
	font: 500 20px/1.25 var(--pyp-font-menu);
	color: var(--pyp-forest);
}

.pyp-tm-share__text,
.pyp-tm-invite__text {
	margin: 0 0 14px;
	font-size: 14px;
	line-height: 1.55;
	color: var(--pyp-ink-soft);
}

.pyp-tm-share__actions { display: flex; flex-wrap: wrap; gap: 8px; }

.pyp-tm-chip {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 8px 12px;
	border: 1px solid rgba(255, 255, 255, 0.85);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.75);
	box-shadow: 0 8px 18px -14px rgba(15, 59, 39, 0.5);
	color: var(--pyp-forest);
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	transition: transform 160ms var(--pyp-ease-out), background-color var(--pyp-dur-fast) var(--pyp-ease-out);
}

.pyp-tm-chip .bi { color: var(--pyp-green); }
.pyp-tm-chip:hover { background: #fff; color: var(--pyp-forest); }
.pyp-tm-chip:active { transform: scale(0.97); }

/* Invitation: the arch and lotus, a single Sanskrit word, one call to action */
.pyp-tm-invite {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	background:
		radial-gradient(120% 80% at 100% 0%, rgba(200, 230, 160, 0.55), transparent 60%),
		var(--pyp-glass-bg);
}

.pyp-tm-invite__verse {
	margin: 4px 0 0;
	font: italic 400 15px/1 Georgia, 'Times New Roman', serif;
	letter-spacing: 0.04em;
	color: var(--pyp-green);
}

.pyp-tm-invite__text { margin-bottom: 6px; }

.pyp-tm-invite__actions { display: flex; align-items: center; gap: 8px; }

/* Button: a forest pill ending in a leaf-green circle */
.pyp-tm-btn {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	height: 46px;
	padding: 0 5px 0 20px;
	border-radius: 999px;
	background: var(--pyp-tile);
	box-shadow: 0 12px 24px -12px rgba(15, 59, 39, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.18);
	color: #fff;
	font: 500 15px/1 var(--pyp-font-menu);
	text-decoration: none;
	transition: transform 160ms var(--pyp-ease-out), box-shadow 200ms ease;
}

.pyp-tm-btn .bi {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #c8e6a0;
	color: var(--pyp-forest);
	font-size: 15px;
	transition: transform 300ms var(--pyp-ease-out), background-color 200ms ease;
}

.pyp-tm-btn:hover { color: #fff; box-shadow: 0 16px 30px -12px rgba(15, 59, 39, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.18); }
.pyp-tm-btn:hover .bi { background: #fff; transform: rotate(-45deg); }
.pyp-tm-btn:active { transform: scale(0.97); }

.pyp-tm-wa {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border: 1px solid rgba(255, 255, 255, 0.9);
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 10px 20px -14px rgba(15, 59, 39, 0.6);
	color: #1da851;
	font-size: 20px;
	text-decoration: none;
	transition: transform 160ms var(--pyp-ease-out);
}

.pyp-tm-wa:hover { color: #1da851; transform: translateY(-2px); }

:is(.pyp-tm-btn, .pyp-tm-wa, .pyp-tm-chip, .pyp-tm-links a, .pyp-tm-source):focus-visible {
	outline: 2px solid var(--pyp-green);
	outline-offset: 2px;
}

/* Desktop: two columns; the sidebar sticks via Canvas's sticky-sidebar-wrap (no CSS sticky here) */
@media (min-width: 992px) {
	.pyp-tm-layout {
		grid-template-columns: minmax(0, 1fr) clamp(290px, 24vw, 350px);
		column-gap: clamp(28px, 3vw, 48px);
		align-items: start;
	}

	.pyp-tm-side { display: block; }
	.pyp-tm-panel + .pyp-tm-panel { margin-top: 16px; }
}

/* Below 992px the sidebar's panels follow the wall as separate items */
@media (max-width: 991.98px) {
	.pyp-tm-side,
	.pyp-tm-side > .scwStickySidebar { display: contents; }

	.pyp-tm-sources { grid-template-columns: minmax(0, 1fr); }
}


/* 3. The journey behind the words
   ========================================================================== */
.pyp-tm-journey {
	--pyp-tm-fill: 0;
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding-block: clamp(56px, 6vw, 96px);
	background:
		radial-gradient(60% 50% at 50% 0%, rgba(255, 255, 255, 0.9), transparent 70%),
		radial-gradient(45% 55% at 100% 100%, rgba(217, 130, 43, 0.08), transparent 70%),
		linear-gradient(180deg, #fff 0%, #f6faf2 100%);
}

.pyp-tm-journey__mandala {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: -1;
	width: 980px;
	height: 980px;
	margin: -490px 0 0 -490px;
	color: rgba(29, 112, 68, 0.04);
	fill: currentColor;
	animation: pyp-tm-turn 240s linear infinite;
	pointer-events: none;
}

@keyframes pyp-tm-turn {
	to { transform: rotate(360deg); }
}

.pyp-tm-journey.is-offscreen .pyp-tm-journey__mandala { animation-play-state: paused; }

.pyp-tm-moments {
	position: relative;
	display: grid;
	gap: clamp(14px, 1.6vw, 22px);
	max-width: 1080px;
	margin: clamp(10px, 1.6vw, 24px) auto 0;
	padding: 0;
	list-style: none;
}

/* The thread down the middle: dashed, filled in saffron to green as the page scrolls */
.pyp-tm-moments::before,
.pyp-tm-moments::after {
	content: '';
	position: absolute;
	top: 32px;
	bottom: 32px;
	left: 50%;
	width: 2px;
	margin-left: -1px;
	border-radius: 2px;
}

.pyp-tm-moments::before {
	background: repeating-linear-gradient(180deg, rgba(29, 112, 68, 0.3) 0 7px, transparent 7px 14px);
}

.pyp-tm-moments::after {
	background: linear-gradient(180deg, var(--pyp-saffron-deep), var(--pyp-green));
	transform: scaleY(var(--pyp-tm-fill));
	transform-origin: 50% 0;
}

.pyp-tm-moment {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr);
	align-items: center;
}

.pyp-tm-moment__node {
	position: relative;
	z-index: 1;
	grid-column: 2;
	grid-row: 1;
	justify-self: center;
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: radial-gradient(circle at 35% 30%, #fff, #e6f2dc 75%);
	box-shadow: 8px 10px 20px -12px rgba(15, 59, 39, 0.45), inset 0 1px 0 #fff, 0 0 0 6px #fff;
	color: var(--pyp-green);
	font-size: 22px;
	transition: background 500ms var(--pyp-ease-out), color 500ms var(--pyp-ease-out), box-shadow 500ms var(--pyp-ease-out);
}

.pyp-tm-moment.is-in .pyp-tm-moment__node {
	background: var(--pyp-tile);
	box-shadow: 0 14px 26px -12px rgba(15, 59, 39, 0.8), 0 0 0 6px #fff, 0 0 0 12px rgba(156, 207, 104, 0.25);
	color: #fff;
}

.pyp-tm-moment__card {
	grid-row: 1;
	grid-column: 1;
	padding: 20px 22px;
	border: var(--pyp-glass-edge);
	border-radius: 24px;
	background: linear-gradient(150deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.62));
	-webkit-backdrop-filter: var(--pyp-glass-blur);
	backdrop-filter: var(--pyp-glass-blur);
	box-shadow: var(--pyp-glass-shadow);
	text-align: right;
}

.pyp-tm-moment:nth-child(even) .pyp-tm-moment__card {
	grid-column: 3;
	text-align: left;
}

.pyp-tm-moment__when {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 8px !important;
	color: var(--pyp-green);
	font: 600 11px/1 var(--pyp-font-sans);
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.pyp-tm-moment__when span {
	color: var(--pyp-saffron-deep);
	font-variant-numeric: tabular-nums;
}

.pyp-tm-moment__title {
	margin: 0 0 6px;
	font: 500 clamp(19px, 1.6vw, 23px)/1.25 var(--pyp-font-menu);
	color: var(--pyp-forest);
}

.pyp-tm-moment__text {
	margin: 0 !important;
	color: var(--pyp-ink-soft);
	font-size: 15px;
	line-height: 1.6;
}

/* Each moment drifts in as it reaches the screen (only once the script is running) */
.pyp-tm-journey.is-armed .pyp-tm-moment__card {
	opacity: 0;
	transform: translateX(-18px);
	transition: opacity 700ms var(--pyp-ease-out), transform 800ms var(--pyp-ease-out);
}

.pyp-tm-journey.is-armed .pyp-tm-moment:nth-child(even) .pyp-tm-moment__card { transform: translateX(18px); }

.pyp-tm-journey.is-armed .pyp-tm-moment.is-in .pyp-tm-moment__card {
	opacity: 1;
	transform: none;
}


/* 4. The courses behind the stories
   ========================================================================== */
.pyp-tm-courses {
	padding-block: clamp(52px, 5.4vw, 88px);
	background:
		radial-gradient(45% 60% at 0% 20%, rgba(156, 207, 104, 0.2), transparent 70%),
		linear-gradient(180deg, #f6faf2 0%, #eef5e7 100%);
}

.pyp-tm-places {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(14px, 1.6vw, 24px);
}

.pyp-tm-place {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 20px;
	border: var(--pyp-glass-edge);
	border-radius: 26px;
	background: var(--pyp-glass-bg);
	-webkit-backdrop-filter: var(--pyp-glass-blur);
	backdrop-filter: var(--pyp-glass-blur);
	box-shadow: var(--pyp-glass-shadow);
}

.pyp-tm-place__head {
	display: flex;
	align-items: center;
	gap: 12px;
}

.pyp-tm-place__icon {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 15px;
	background: var(--pyp-tile);
	box-shadow: 0 10px 20px -10px rgba(15, 59, 39, 0.75);
	color: #fff;
	font-size: 20px;
}

.pyp-tm-place__name {
	margin: 0;
	font: 500 24px/1.1 var(--pyp-font-menu);
	color: var(--pyp-forest);
}

.pyp-tm-place__region {
	margin: 3px 0 0 !important;
	color: var(--pyp-ink-soft);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.pyp-tm-place__line {
	margin: 0 !important;
	color: var(--pyp-ink-soft);
	font-size: 14.5px;
	line-height: 1.55;
}

.pyp-tm-place__courses {
	display: grid;
	gap: 6px;
	margin: 4px 0 0;
	padding: 0;
	list-style: none;
}

.pyp-tm-place__courses a {
	display: grid;
	grid-template-columns: 50px minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
	padding: 8px 12px 8px 8px;
	border: 1px solid rgba(255, 255, 255, 0.9);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.72);
	color: var(--pyp-forest);
	text-decoration: none;
	transition: background-color var(--pyp-dur-fast) var(--pyp-ease-out), box-shadow 300ms var(--pyp-ease-out), transform 160ms var(--pyp-ease-out);
}

.pyp-tm-place__badge {
	display: flex;
	align-items: baseline;
	justify-content: center;
	padding-top: 11px;
	height: 38px;
	border-radius: 12px;
	background: rgba(29, 112, 68, 0.09);
	color: var(--pyp-green);
	font: 600 15px/1 var(--pyp-font-menu);
	font-variant-numeric: tabular-nums;
}

.pyp-tm-place__badge small { margin-left: 1px; font-size: 10px; font-weight: 600; }
.pyp-tm-place__badge.is-word { align-items: center; padding-top: 0; color: var(--pyp-saffron-deep); font-size: 17px; }

.pyp-tm-place__course { font: 500 15.5px/1.3 var(--pyp-font-menu); }

.pyp-tm-place__courses a > .bi {
	color: var(--pyp-green);
	font-size: 13px;
	transition: transform 300ms var(--pyp-ease-out);
}

.pyp-tm-place__courses a:focus-visible {
	outline: 2px solid var(--pyp-green);
	outline-offset: 2px;
}

@media (hover: hover) {
	.pyp-tm-place__courses a:hover {
		background: #fff;
		box-shadow: 0 12px 24px -18px rgba(15, 59, 39, 0.6);
		color: var(--pyp-forest);
	}

	.pyp-tm-place__courses a:hover > .bi { transform: translateX(3px); }
}


/* 5. Questions students asked before joining
   ========================================================================== */
.pyp-tm-faq {
	padding-block: clamp(52px, 5.4vw, 88px);
	background:
		radial-gradient(40% 50% at 100% 0%, rgba(217, 130, 43, 0.06), transparent 70%),
		linear-gradient(180deg, #fff 0%, #f5f9f1 100%);
}

.pyp-tm-faq__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-items: start;
	gap: clamp(14px, 1.6vw, 24px);
}

.pyp-tm-faq__group { display: grid; gap: 8px; }

.pyp-tm-faq__label {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 4px !important;
	color: var(--pyp-forest);
	font: 500 19px/1.2 var(--pyp-font-menu);
}

.pyp-tm-faq__label span {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 12px;
	background: var(--pyp-tile);
	color: #fff;
	font-size: 16px;
}

.pyp-tm-qa {
	border: 1px solid rgba(15, 59, 39, 0.08);
	border-radius: 18px;
	background: #fff;
	transition: border-color var(--pyp-dur) var(--pyp-ease-out), box-shadow var(--pyp-dur) var(--pyp-ease-out);
}

.pyp-tm-qa[open] {
	border-color: rgba(29, 112, 68, 0.25);
	background: linear-gradient(180deg, #fff, #f7fbf4);
	box-shadow: 0 20px 40px -30px rgba(15, 59, 39, 0.5);
}

.pyp-tm-qa summary {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
	padding: 14px 14px 14px 16px;
	color: var(--pyp-forest);
	font: 500 16px/1.35 var(--pyp-font-menu);
	list-style: none;
	cursor: pointer;
}

.pyp-tm-qa summary::-webkit-details-marker { display: none; }

.pyp-tm-qa summary:focus-visible {
	border-radius: 18px;
	outline: 2px solid var(--pyp-green);
	outline-offset: 2px;
}

.pyp-tm-qa__icon {
	position: relative;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--pyp-surface);
	box-shadow: var(--pyp-neu-raised);
	transition: background-color var(--pyp-dur) var(--pyp-ease-out), transform var(--pyp-dur) var(--pyp-ease-out);
}

.pyp-tm-qa__icon::before,
.pyp-tm-qa__icon::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 10px;
	height: 2px;
	margin: -1px 0 0 -5px;
	border-radius: 2px;
	background: var(--pyp-green);
	transition: transform var(--pyp-dur) var(--pyp-ease-out), background-color var(--pyp-dur) var(--pyp-ease-out);
}

.pyp-tm-qa__icon::after { transform: rotate(90deg); }

.pyp-tm-qa[open] .pyp-tm-qa__icon {
	background: var(--pyp-green);
	box-shadow: var(--pyp-glow-green);
	transform: rotate(180deg);
}

.pyp-tm-qa[open] .pyp-tm-qa__icon::before,
.pyp-tm-qa[open] .pyp-tm-qa__icon::after { background: #fff; }

.pyp-tm-qa[open] .pyp-tm-qa__icon::after { transform: rotate(0deg); }

.pyp-tm-qa > p {
	margin: 0 !important;
	padding: 0 16px 16px;
	color: var(--pyp-ink-soft);
	font-size: 14.5px;
	line-height: 1.65;
}

.pyp-tm-faq__more {
	display: flex;
	justify-content: center;
	margin: clamp(24px, 2.6vw, 36px) 0 0 !important;
}

.pyp-tm-faq__more a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 14px 12px 20px;
	border-radius: 999px;
	background: rgba(29, 112, 68, 0.08);
	color: var(--pyp-forest);
	font: 500 15.5px/1 var(--pyp-font-menu);
	text-decoration: none;
	transition: background-color var(--pyp-dur-fast) var(--pyp-ease-out);
}

.pyp-tm-faq__more .bi {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #fff;
	color: var(--pyp-green);
	transition: transform 300ms var(--pyp-ease-out);
}

.pyp-tm-faq__more a:hover { background: rgba(29, 112, 68, 0.13); color: var(--pyp-forest); }
.pyp-tm-faq__more a:hover .bi { transform: translateX(3px); }


/* 6. Tablets, phones and preferences
   ========================================================================== */
@media (max-width: 1099.98px) {
	.pyp-tm-places,
	.pyp-tm-faq__grid { grid-template-columns: minmax(0, 1fr); }

	.pyp-tm-places { max-width: 680px; margin-inline: auto; }
}

@media (max-width: 767.98px) {
	.pyp-tm-hero::before { background: linear-gradient(180deg, rgba(248, 251, 244, 0.92), rgba(248, 251, 244, 0.75)); }
	.pyp-tm-tile { padding: 10px; gap: 10px; }
	.pyp-tm-tile__icon { width: 38px; height: 38px; border-radius: 11px; font-size: 16px; }
	.pyp-tm-tile__go { display: none; }
	.pyp-tm-tile__text :is(b, small) { white-space: normal; }
	.pyp-tm-tile__text b { font-size: 16px; }
	.pyp-tm-tile__text small { font-size: 9.5px; letter-spacing: 0.1em; }

	.pyp-tm-wall { padding: 8px; border-radius: 22px; }
	.pyp-tm-wall__live { margin: 6px 0 10px 6px; }

	/* The journey: one column, the thread on the left */
	.pyp-tm-moments::before,
	.pyp-tm-moments::after { left: 27px; }

	.pyp-tm-moment { grid-template-columns: 56px minmax(0, 1fr); column-gap: 12px; align-items: start; }
	.pyp-tm-moment__node { grid-column: 1; width: 52px; height: 52px; font-size: 20px; }

	.pyp-tm-moment__card,
	.pyp-tm-moment:nth-child(even) .pyp-tm-moment__card {
		grid-column: 2;
		padding: 16px 18px;
		border-radius: 20px;
		text-align: left;
	}

	.pyp-tm-journey.is-armed .pyp-tm-moment__card,
	.pyp-tm-journey.is-armed .pyp-tm-moment:nth-child(even) .pyp-tm-moment__card { transform: translateY(14px); }

	.pyp-tm-place { padding: 16px; border-radius: 22px; }
	.pyp-tm-invite__actions { width: 100%; }
	.pyp-tm-btn { flex: 1; justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
	.pyp-tm-dot::after,
	.pyp-tm-journey__mandala,
	.pyp-tm-wall:not(.is-loaded) .pyp-tm-wall__reviews { animation: none; }

	.pyp-tm-journey.is-armed .pyp-tm-moment__card,
	.pyp-tm-journey.is-armed .pyp-tm-moment:nth-child(even) .pyp-tm-moment__card {
		transform: none;
		transition-property: opacity;
		transition-duration: 300ms;
	}

	.pyp-tm-moments::after { transition: none; }
}

@media (prefers-reduced-transparency: reduce) {
	.pyp-tm-tile,
	.pyp-tm-wall,
	.pyp-tm-away,
	.pyp-tm-panel,
	.pyp-tm-moment__card,
	.pyp-tm-place {
		background: #fff;
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
	}
}
