/* Pilgrim FAQs — the design's "Good to know / Questions, answered." section.
   [pilgrim_faq category="memberships"] */

.pgf-head { margin-bottom: 32px; }
.pgf-head .pg-eyebrow { margin-bottom: 12px; }
html body .pgf-head .pg-section-title { margin: 0; }

.pgf-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 0 48px; align-items: start; }
.pgf--list .pgf-list { grid-template-columns: 1fr; }

.pgf-item { margin: 0 0 32px; border-top: 2px solid var(--pg-black, #0F1512); }
.pgf--list .pgf-item { margin: 0; border-top-width: 1px; border-top-color: rgba(15, 21, 18, .25); }
.pgf--list .pgf-item:first-child { border-top: 2px solid var(--pg-black, #0F1512); }
.pgf--list .pgf-item:last-child { border-bottom: 1px solid rgba(15, 21, 18, .25); }

.pgf-q {
	display: flex; align-items: flex-start; justify-content: space-between; gap: 20px;
	padding: 16px 0 8px; cursor: pointer; list-style: none;
	font-family: var(--pg-serif, 'Cormorant Garamond', serif); font-size: 26px; font-weight: 500; line-height: 1.2;
	color: var(--pg-black, #0F1512);
}
.pgf--list .pgf-q { padding: 20px 0; }
.pgf-q::-webkit-details-marker { display: none; }
.pgf-q::marker { content: ''; }
.pgf-q:focus-visible { outline: 2px solid var(--pg-push, #B34A55); outline-offset: 4px; }

/* Plus that turns into a minus */
.pgf-q__icon { position: relative; flex: none; width: 18px; height: 18px; margin-top: 8px; }
.pgf-q__icon::before, .pgf-q__icon::after {
	content: ''; position: absolute; left: 0; top: 8.5px; width: 18px; height: 1.5px;
	background: currentColor; transition: transform .3s ease, opacity .3s ease;
}
.pgf-q__icon::after { transform: rotate(90deg); }
.pgf-item[open] .pgf-q__icon::after { transform: rotate(90deg) scaleX(0); opacity: 0; }
.pgf-q:hover .pgf-q__icon { color: var(--pg-push, #B34A55); }

.pgf-a { padding: 0 38px 8px 0; font-size: 15px; line-height: 1.65; color: var(--pg-muted, #4A4A44); }
.pgf--list .pgf-a { padding-bottom: 24px; max-width: 760px; }
.pgf-a > :first-child { margin-top: 0; }
.pgf-a > :last-child { margin-bottom: 0; }
.pgf-a a { color: var(--pg-black, #0F1512); text-decoration: underline; text-underline-offset: 3px; }
.pgf-item[open] .pgf-a { animation: pgf-in .35s ease; }
@keyframes pgf-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

.pgf-empty { padding: 24px; background: var(--pg-sand, #EBE8E1); }

@media (max-width: 767px) {
	.pgf-q { font-size: 23px; }
	.pgf-a { padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
	.pgf-item[open] .pgf-a { animation: none; }
	.pgf-q__icon::before, .pgf-q__icon::after { transition: none; }
}
