/* ==========================================================================
   Pankaj Yogpeeth: faq.css
   The FAQ page (faq.php), in the inner-page language of the blog, Contact
   and Testimonials pages:
     1. a compact cover on the site's yoga artwork, with four glass counters;
     2. the questions as grouped glass lists on a soft mint field with the
        carved jali, and a sticky glass sidebar (topics, a way to ask).
   On phones it reads like an app: the search and a row of topic chips pin
   under the navbar, the questions are inset grouped lists with chevrons,
   and the invitation to ask follows the last topic.
   Behaviour: assets/js/faq.js.
   ========================================================================== */

.pyp-fq {
	--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-tile: linear-gradient(145deg, #2f8a4c, var(--pyp-forest));
	--pyp-fq-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");
	/* Where a topic or answer lands when it is opened by a link */
	--pyp-fq-landing: calc(var(--pyp-navbar-h) + 24px);
	color: var(--pyp-ink);
	font-family: var(--pyp-font-sans);
	background: #f4f9ef;
	-webkit-tap-highlight-color: transparent;
}

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

.pyp-fq-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-fq-om { flex-shrink: 0; width: 18px; height: 18px; color: var(--pyp-saffron-deep); fill: currentColor; }

.pyp-fq :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;
}


/* 1. Compact cover
   ========================================================================== */
.pyp-fq-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-fq-hero__bg {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 40%;
}

.pyp-fq-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-fq-hero__grid {
	display: grid;
	gap: 20px;
	align-items: center;
}

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

.pyp-fq-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-fq-crumbs li { display: inline-flex; align-items: center; min-width: 0; }

.pyp-fq-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-fq-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-fq-crumbs a:hover { background: rgba(29, 112, 68, 0.08); color: var(--pyp-forest); }
.pyp-fq-crumbs [aria-current] span { color: var(--pyp-forest); font-weight: 600; }

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

.pyp-fq-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;
}

/* Counters: glass tiles */
.pyp-fq-counters {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pyp-fq-counters li {
	display: flex;
	align-items: center;
	gap: 12px;
	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);
}

.pyp-fq-counters__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-fq-counters li > span:last-child { display: grid; gap: 3px; min-width: 0; }

.pyp-fq-counters b {
	overflow: hidden;
	font: 500 clamp(18px, 1.5vw, 22px)/1.1 var(--pyp-font-menu);
	color: var(--pyp-forest);
	white-space: nowrap;
	text-overflow: ellipsis;
	font-variant-numeric: tabular-nums;
}

.pyp-fq-counters small {
	font: 600 10px/1 var(--pyp-font-sans);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--pyp-ink-soft);
}

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

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


/* 2. The field: questions and sidebar
   ========================================================================== */
.pyp-fq-field {
	position: relative;
	isolation: isolate;
	/* clip, not hidden: hidden would make a scroll container and unpin the phone toolbar */
	overflow: clip;
	padding-block: clamp(24px, 3vw, 44px) 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-fq-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-fq-field__glow {
	position: absolute;
	top: 10%;
	left: 26%;
	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-fq-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 16px;
}

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

/* The bar: search, and (on phones) the topic chips */
.pyp-fq-bar {
	display: grid;
	gap: 10px;
	margin-bottom: 10px;
}

.pyp-fq-search {
	position: relative;
	display: flex;
	align-items: center;
	margin: 0;
	padding: 6px;
	border: var(--pyp-glass-edge);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.78);
	-webkit-backdrop-filter: var(--pyp-glass-blur);
	backdrop-filter: var(--pyp-glass-blur);
	box-shadow: var(--pyp-glass-shadow);
	transition: box-shadow var(--pyp-dur) var(--pyp-ease-out);
}

.pyp-fq-search > .bi-search { position: absolute; left: 22px; color: var(--pyp-green); font-size: 16px; pointer-events: none; }

.pyp-fq-search input {
	flex: 1;
	min-width: 0;
	height: 46px;
	padding: 0 12px 0 44px;
	border: 0;
	background: transparent;
	color: var(--pyp-ink);
	font-size: 16px; /* 16px keeps iOS from zooming in on focus */
	outline: 0;
}

.pyp-fq-search input::placeholder { color: rgba(15, 59, 39, 0.45); }
.pyp-fq-search input::-webkit-search-cancel-button { display: none; }

.pyp-fq-search:focus-within { box-shadow: 0 0 0 3px rgba(29, 112, 68, 0.16), var(--pyp-glass-shadow); }

.pyp-fq-search__clear {
	display: grid;
	flex: none;
	place-items: center;
	width: 38px;
	height: 38px;
	border: 0;
	border-radius: 50%;
	background: rgba(29, 112, 68, 0.09);
	color: var(--pyp-forest);
	font-size: 13px;
	cursor: pointer;
}

.pyp-fq-search__clear[hidden] { display: none; }

/* Topic chips: a sideways row (phones and tablets only) */
.pyp-fq-chips {
	display: none;
	gap: 8px;
	margin-inline: calc(-1 * var(--pyp-gutter));
	padding: 2px var(--pyp-gutter) 4px;
	overflow-x: auto;
	scrollbar-width: none;
	scroll-snap-type: x proximity;
	scroll-padding-inline: var(--pyp-gutter);
	overscroll-behavior-x: contain;
}

.pyp-fq-chips::-webkit-scrollbar { display: none; }

.pyp-fq-chip {
	display: inline-flex;
	flex: none;
	align-items: center;
	gap: 7px;
	padding: 9px 14px 9px 11px;
	border: var(--pyp-glass-edge);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.72);
	box-shadow: 0 8px 18px -14px rgba(15, 59, 39, 0.5);
	color: var(--pyp-forest);
	font: 500 14px/1 var(--pyp-font-menu);
	white-space: nowrap;
	text-decoration: none;
	scroll-snap-align: start;
	transition: background-color var(--pyp-dur-fast) var(--pyp-ease-out), color var(--pyp-dur-fast) var(--pyp-ease-out), box-shadow var(--pyp-dur) var(--pyp-ease-out);
}

.pyp-fq-chip .bi { color: var(--pyp-green); font-size: 14px; }

.pyp-fq-chip[aria-current="true"] {
	border-color: transparent;
	background: var(--pyp-tile);
	box-shadow: 0 10px 20px -12px rgba(15, 59, 39, 0.75);
	color: #fff;
}

.pyp-fq-chip[aria-current="true"] .bi { color: #c8e6a0; }
.pyp-fq-chip.is-empty { opacity: 0.45; }

.pyp-fq-status {
	margin: 0 0 18px !important;
	padding: 0 6px;
	color: var(--pyp-ink-soft);
	font-size: 13px;
	font-weight: 500;
}

.pyp-fq-status b { color: var(--pyp-forest); }

/* A topic: a small heading, then its questions as one grouped list */
.pyp-fq-topic {
	scroll-margin-top: var(--pyp-fq-landing);
}

.pyp-fq-topic + .pyp-fq-topic { margin-top: clamp(22px, 2.4vw, 32px); }
.pyp-fq-topic[hidden] { display: none; }

.pyp-fq-topic__head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 10px;
	padding-inline: 4px;
}

.pyp-fq-topic__icon {
	display: grid;
	flex-shrink: 0;
	place-items: center;
	width: 40px;
	height: 40px;
	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: 17px;
}

.pyp-fq-topic__title {
	flex: 1;
	min-width: 0;
	margin: 0;
	font: 500 clamp(20px, 1.7vw, 24px)/1.2 var(--pyp-font-menu);
	letter-spacing: -0.01em;
	color: var(--pyp-forest);
}

.pyp-fq-topic__count {
	display: grid;
	place-items: center;
	min-width: 30px;
	height: 26px;
	padding: 0 9px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.75);
	color: var(--pyp-green);
	font-size: 12px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

.pyp-fq-list {
	overflow: hidden;
	border: var(--pyp-glass-edge);
	border-radius: 24px;
	background: linear-gradient(150deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.6));
	-webkit-backdrop-filter: var(--pyp-glass-blur);
	backdrop-filter: var(--pyp-glass-blur);
	box-shadow: var(--pyp-glass-shadow);
}

/* A question: a row with a chevron; open, it grows to hold the answer */
.pyp-fq-qa {
	position: relative;
	scroll-margin-top: var(--pyp-fq-landing);
	transition: background-color var(--pyp-dur) var(--pyp-ease-out);
}

.pyp-fq-qa[hidden] { display: none; }

/* Hairline between rows, inset like an app's list */
.pyp-fq-qa + .pyp-fq-qa::before {
	content: '';
	position: absolute;
	top: 0;
	right: 18px;
	left: 18px;
	height: 1px;
	background: rgba(15, 59, 39, 0.08);
}

.pyp-fq-qa[open] { background: rgba(255, 255, 255, 0.75); }
.pyp-fq-qa.is-target { animation: pyp-fq-found 1.6s var(--pyp-ease-out); }

@keyframes pyp-fq-found {
	0%, 30% { background: rgba(200, 230, 160, 0.55); }
}

.pyp-fq-qa summary {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 14px;
	min-height: 58px;
	padding: 14px 16px 14px 20px;
	list-style: none;
	cursor: pointer;
	transition: background-color var(--pyp-dur-fast) var(--pyp-ease-out);
}

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

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

@media (hover: hover) {
	.pyp-fq-qa:not([open]) summary:hover { background: rgba(255, 255, 255, 0.6); }
}

.pyp-fq-qa summary:active { background: rgba(29, 112, 68, 0.06); }

.pyp-fq-qa__q {
	color: var(--pyp-forest);
	font: 500 16.5px/1.4 var(--pyp-font-menu);
	text-wrap: pretty;
}

.pyp-fq-qa__chev {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: rgba(29, 112, 68, 0.08);
	color: var(--pyp-green);
	font-size: 13px;
	transition: transform 300ms var(--pyp-ease-out), background-color var(--pyp-dur) var(--pyp-ease-out), color var(--pyp-dur) var(--pyp-ease-out);
}

.pyp-fq-qa[open] .pyp-fq-qa__chev {
	background: var(--pyp-tile);
	color: #fff;
	transform: rotate(180deg);
}

.pyp-fq-qa__body {
	padding: 0 20px 18px;
	animation: pyp-fq-open 320ms var(--pyp-ease-out);
}

@keyframes pyp-fq-open {
	from { opacity: 0; transform: translateY(-4px); }
}

.pyp-fq-qa__a {
	max-width: 70ch;
	margin: 0 !important;
	color: var(--pyp-ink-soft);
	font-size: 15.5px;
	line-height: 1.7;
}

/* Search matches */
.pyp-fq mark {
	padding: 0;
	border-radius: 3px;
	box-shadow: 0 0 0 1px rgba(233, 160, 79, 0.28);
	background: rgba(233, 160, 79, 0.28);
	color: inherit;
}

.pyp-fq-qa__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 14px;
}

.pyp-fq-qa__actions a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 12px;
	border-radius: 999px;
	background: rgba(29, 112, 68, 0.07);
	color: var(--pyp-forest);
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	transition: background-color var(--pyp-dur-fast) var(--pyp-ease-out), transform 160ms var(--pyp-ease-out);
}

.pyp-fq-qa__actions .bi { color: var(--pyp-green); font-size: 14px; }
.pyp-fq-qa__actions a:hover { background: rgba(29, 112, 68, 0.13); color: var(--pyp-forest); }
.pyp-fq-qa__actions a:active { transform: scale(0.97); }

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

/* Nothing matches */
.pyp-fq-empty {
	display: grid;
	justify-items: center;
	gap: 8px;
	padding: clamp(28px, 4vw, 48px) 20px;
	border: var(--pyp-glass-edge);
	border-radius: 24px;
	background: 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-fq-empty[hidden] { display: none; }

.pyp-fq-empty__icon {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: 18px;
	background: linear-gradient(145deg, #e9a04f, #b8641c);
	color: #fff;
	font-size: 24px;
}

.pyp-fq-empty__title { margin: 6px 0 0; font: 500 22px/1.2 var(--pyp-font-menu); color: var(--pyp-forest); }
.pyp-fq-empty__text { margin: 0 0 8px !important; color: var(--pyp-ink-soft); font-size: 15px; }

/* Sidebar panels */
.pyp-fq-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-fq-panel__title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 10px !important;
	font: 600 11px/1 var(--pyp-font-sans);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--pyp-green);
}

.pyp-fq-panel__title .bi { font-size: 14px; }

.pyp-fq-topics ul { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }

.pyp-fq-topics a {
	display: grid;
	grid-template-columns: 30px minmax(0, 1fr) auto;
	align-items: center;
	gap: 10px;
	padding: 7px 8px 7px 6px;
	border-radius: 14px;
	color: var(--pyp-forest);
	font: 500 14.5px/1.25 var(--pyp-font-menu);
	text-decoration: none;
	transition: background-color var(--pyp-dur-fast) var(--pyp-ease-out), color var(--pyp-dur-fast) var(--pyp-ease-out);
}

.pyp-fq-topics a > .bi {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 10px;
	background: rgba(29, 112, 68, 0.08);
	color: var(--pyp-green);
	font-size: 14px;
	transition: background var(--pyp-dur) var(--pyp-ease-out), color var(--pyp-dur) var(--pyp-ease-out);
}

.pyp-fq-topics b {
	min-width: 26px;
	padding: 5px 7px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.7);
	color: var(--pyp-green);
	font: 600 11.5px/1 var(--pyp-font-sans);
	text-align: center;
	font-variant-numeric: tabular-nums;
}

.pyp-fq-topics a:hover { background: rgba(255, 255, 255, 0.7); color: var(--pyp-forest); }

.pyp-fq-topics a[aria-current="true"] {
	background: #fff;
	box-shadow: 0 10px 22px -16px rgba(15, 59, 39, 0.6);
}

.pyp-fq-topics a[aria-current="true"] > .bi { background: var(--pyp-tile); color: #fff; }
.pyp-fq-topics a.is-empty { opacity: 0.45; }

.pyp-fq-topics a:focus-visible {
	outline: 2px solid var(--pyp-green);
	outline-offset: 1px;
}

/* Invitation: the arch and lotus, a single Sanskrit word, ways to ask */
.pyp-fq-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-fq-invite__mark {
	display: grid;
	place-items: center;
	width: 40px;
	height: 48px;
	padding-top: 6px;
	background: linear-gradient(180deg, #2f8a4c 0%, #1d7044 55%, #12512f 100%);
	-webkit-mask: var(--pyp-fq-arch) center / 100% 100% no-repeat;
	mask: var(--pyp-fq-arch) center / 100% 100% no-repeat;
}

.pyp-fq-invite__mark svg { width: 20px; height: 20px; color: #fff; fill: currentColor; }

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

.pyp-fq-invite__title { margin: 0; font: 500 20px/1.25 var(--pyp-font-menu); color: var(--pyp-forest); }
.pyp-fq-invite__text { margin: 0 0 6px !important; font-size: 14px; line-height: 1.55; color: var(--pyp-ink-soft); }

.pyp-fq-invite__ways {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 6px;
	width: 100%;
	margin-top: 4px;
}

.pyp-fq-invite__ways a {
	display: grid;
	justify-items: center;
	gap: 4px;
	padding: 10px 4px;
	border: 1px solid rgba(255, 255, 255, 0.85);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.65);
	color: var(--pyp-forest);
	font-size: 12px;
	font-weight: 600;
	text-decoration: none;
	transition: background-color var(--pyp-dur-fast) var(--pyp-ease-out), transform 160ms var(--pyp-ease-out);
}

.pyp-fq-invite__ways .bi { color: var(--pyp-green); font-size: 18px; }
.pyp-fq-invite__ways .bi-whatsapp { color: #1da851; }
.pyp-fq-invite__ways a:hover { background: #fff; color: var(--pyp-forest); }
.pyp-fq-invite__ways a:active { transform: scale(0.96); }

/* Button: a forest pill ending in a leaf-green circle */
.pyp-fq-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-fq-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-fq-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-fq-btn:hover .bi { background: #fff; transform: rotate(-45deg); }
.pyp-fq-btn:active { transform: scale(0.97); }

:is(.pyp-fq-btn, .pyp-fq-chip, .pyp-fq-invite__ways a, .pyp-fq-search__clear):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-fq-layout {
		grid-template-columns: minmax(0, 1fr) clamp(290px, 24vw, 340px);
		column-gap: clamp(28px, 3vw, 48px);
		align-items: start;
	}

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


/* 3. Tablets and phones: an app-like reading
   ========================================================================== */
@media (max-width: 991.98px) {
	/* The sidebar's topic list gives way to the chips; its invitation follows the questions */
	.pyp-fq-side,
	.pyp-fq-side > .scwStickySidebar { display: contents; }

	.pyp-fq-topics { display: none; }
	.pyp-fq-invite { margin-top: 12px; }
	.pyp-fq-invite .pyp-fq-btn { align-self: stretch; justify-content: space-between; }

	.pyp-fq-chips { display: flex; }

	/* The toolbar: search and topics, pinned under the navbar on frosted glass, edge to edge */
	.pyp-fq-bar {
		position: sticky;
		top: var(--pyp-navbar-h);
		z-index: 20;
		gap: 8px;
		margin: calc(-1 * clamp(24px, 3vw, 44px)) calc(-1 * var(--pyp-gutter)) 8px;
		padding: 12px var(--pyp-gutter) 8px;
		background: rgba(244, 249, 239, 0.82);
		-webkit-backdrop-filter: blur(18px) saturate(180%);
		backdrop-filter: blur(18px) saturate(180%);
		transition: box-shadow var(--pyp-dur) var(--pyp-ease-out);
	}

	.pyp-fq-bar.is-stuck { box-shadow: 0 1px 0 rgba(15, 59, 39, 0.08), 0 12px 24px -20px rgba(15, 59, 39, 0.45); }

	.pyp-fq-search { box-shadow: inset 0 1px 0 #fff, 0 8px 18px -14px rgba(15, 59, 39, 0.45); }
	.pyp-fq-search input { height: 42px; }

	/* Opened by a link, a topic or answer lands below the toolbar */
	.pyp-fq { --pyp-fq-landing: calc(var(--pyp-navbar-h) + 128px); }
}

@media (max-width: 767.98px) {
	.pyp-fq-hero { padding-block: 16px 20px; }
	.pyp-fq-hero::before { background: linear-gradient(180deg, rgba(248, 251, 244, 0.92), rgba(248, 251, 244, 0.78)); }
	.pyp-fq-hero__grid { gap: 14px; }
	.pyp-fq-hero__lede { font-size: 14.5px; }

	/* Counters: one sideways row of compact glass pills */
	.pyp-fq-counters {
		display: flex;
		gap: 8px;
		margin-inline: calc(-1 * var(--pyp-gutter));
		padding: 2px var(--pyp-gutter) 4px;
		overflow-x: auto;
		scrollbar-width: none;
	}

	.pyp-fq-counters::-webkit-scrollbar { display: none; }
	.pyp-fq-counters li { flex: none; gap: 9px; padding: 8px 14px 8px 8px; border-radius: 16px; }
	.pyp-fq-counters__icon { width: 34px; height: 34px; border-radius: 11px; font-size: 15px; }
	.pyp-fq-counters b { font-size: 17px; }
	.pyp-fq-counters small { font-size: 9.5px; letter-spacing: 0.12em; }

	.pyp-fq-topic__head { margin-bottom: 8px; padding-inline: 2px; }
	.pyp-fq-topic__icon { width: 34px; height: 34px; border-radius: 11px; font-size: 15px; }
	.pyp-fq-topic__title { font-size: 19px; }

	.pyp-fq-list { border-radius: 20px; }
	.pyp-fq-qa summary { min-height: 56px; padding: 13px 14px 13px 16px; gap: 12px; }
	.pyp-fq-qa + .pyp-fq-qa::before { left: 16px; right: 16px; }
	.pyp-fq-qa__q { font-size: 16px; }
	.pyp-fq-qa__chev { width: 28px; height: 28px; font-size: 12px; }
	.pyp-fq-qa__body { padding: 0 16px 16px; }
	.pyp-fq-qa__a { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
	.pyp-fq-qa__body,
	.pyp-fq-qa.is-target { animation: none; }
	.pyp-fq-qa__chev,
	.pyp-fq-btn .bi { transition: none; }
}

@media (prefers-reduced-transparency: reduce) {
	.pyp-fq-counters li,
	.pyp-fq-search,
	.pyp-fq-list,
	.pyp-fq-panel,
	.pyp-fq-empty,
	.pyp-fq-bar {
		background: #fff;
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
	}
}
