/* Pilgrim memberships — from the Memberships page design.
   "html body" prefixes keep these over Elementor's site-wide heading and image styles. */

.pgm { display: grid; gap: 72px; }
.pgm-empty { padding: 24px; background: var(--pg-sand, #EBE8E1); }

/* Tags */
.pgm-tag {
	display: inline-block; align-self: flex-start;
	padding: 4px 10px; margin: 0 0 8px;
	background: var(--pg-blush, #EFC5C5); color: var(--pg-black, #0F1512);
	font-family: var(--pg-sans, 'Jost', sans-serif); font-size: 10px; font-weight: 500; letter-spacing: .2em; line-height: 1.6; text-transform: uppercase;
}
.pgm-tag--inline { margin: 0 0 0 10px; vertical-align: middle; }

/* Featured panel */
.pgm-feat { display: grid; grid-template-columns: minmax(300px, 1fr) minmax(320px, 1fr); min-height: 460px; background: var(--pg-sand, #EBE8E1); }
.pgm-feat + .pgm-feat { margin-top: -48px; }
.pgm-feat--noimg { grid-template-columns: 1fr; min-height: 0; }
.pgm-feat__img { position: relative; min-height: 320px; overflow: hidden; }
html body .pgm-feat__img img { position: absolute; inset: 0; margin: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.pgm-feat__body { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 6px; padding: 56px; }
html body .pgm-feat__name {
	margin: 8px 0 6px;
	font-family: var(--pg-serif, 'Cormorant Garamond', serif); font-size: 44px; font-weight: 500; line-height: 1.05; letter-spacing: 0; text-transform: none;
	color: var(--pg-black, #0F1512);
}
.pgm-feat__price { margin: 0; font-family: var(--pg-serif, 'Cormorant Garamond', serif); font-size: 140px; font-weight: 500; line-height: .9; }
.pgm-feat__price sup { position: relative; top: 14px; margin-right: 4px; font-size: 48px; vertical-align: top; }
.pgm-feat__price small, .pgm-card__price small, .pgm-row__price small {
	font-family: var(--pg-sans, 'Jost', sans-serif); font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
}
.pgm-feat__price small { margin-left: 10px; vertical-align: middle; }
.pgm-feat__summary { max-width: 380px; margin: 8px 0 0; color: var(--pg-muted, #4A4A44); }
.pgm-feat .pgm-ticks { max-width: 420px; margin-top: 12px; }
.pgm-pillars { display: flex; flex-wrap: wrap; gap: 20px; margin: 16px 0 24px; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; }
.pgm-pillars span { display: inline-flex; align-items: center; gap: 8px; }
.pgm-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; }
.pgm-dot--push { background: var(--pg-push, #B34A55); }
.pgm-dot--practice { background: var(--pg-practice, #C9A63E); }
.pgm-dot--pause { background: var(--pg-pause, #4E6B56); }
.pgm-feat .pg-btn { margin-top: 8px; }

/* Section heading row */
.pgm-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
html body .pgm-head .pg-section-title { margin: 0; }
.pgm-head .pg-eyebrow { margin-bottom: 12px; }
.pgm-head__intro { max-width: 380px; margin: 0; color: var(--pg-muted, #4A4A44); }

/* Ticked dot points */
.pgm-ticks { margin: 8px 0 20px; padding: 0; list-style: none; font-size: 14px; color: var(--pg-muted, #4A4A44); }
.pgm-ticks li { position: relative; margin: 0; padding: 6px 0 6px 24px; border-top: 1px solid rgba(15, 21, 18, .13); }
.pgm-ticks li::before { content: ''; position: absolute; left: 2px; top: 11px; width: 6px; height: 10px; border: solid var(--pg-pause, #4E6B56); border-width: 0 2px 2px 0; transform: rotate(40deg); }

/* Large cards */
.pgm-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.pgm-card { display: flex; flex-direction: column; margin: 0; background: var(--pg-sand, #EBE8E1); }
.pgm-card__img { position: relative; height: 240px; overflow: hidden; background: linear-gradient(135deg, #8C5A48, #2A1F1A); }
.pgm-card__img.is-empty { height: auto; min-height: 0; padding: 20px 20px 0; background: none; }
html body .pgm-card__img img { position: absolute; inset: 0; margin: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.pgm-card__img .pgm-tag { position: absolute; top: 20px; left: 20px; margin: 0; }
.pgm-card__img.is-empty .pgm-tag { position: static; }
.pgm-card__body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 8px; padding: 32px; }
html body .pgm-card__name {
	margin: 0;
	font-family: var(--pg-serif, 'Cormorant Garamond', serif); font-size: 38px; font-weight: 500; line-height: 1.1; letter-spacing: 0; text-transform: none;
	color: var(--pg-black, #0F1512);
}
.pgm-card__price { margin: 0; font-family: var(--pg-serif, 'Cormorant Garamond', serif); font-size: 64px; font-weight: 500; line-height: 1; }
.pgm-card__price small { margin-left: 8px; }
.pgm-card__summary { margin: 4px 0 16px; font-size: 14px; color: var(--pg-muted, #4A4A44); }
.pgm-card .pgm-ticks { width: 100%; }
.pgm-card__btn { margin-top: auto; }

/* List rows */
.pgm-rows { margin: 0; padding: 0; list-style: none; }
.pgm-row {
	display: grid; grid-template-columns: 1.1fr 1.6fr auto auto; align-items: center; gap: 28px;
	margin: 0; padding: 28px 0;
	border-top: 1px solid rgba(15, 21, 18, .2);
}
.pgm-row:last-child { border-bottom: 1px solid rgba(15, 21, 18, .2); }
html body .pgm-row__name {
	margin: 0;
	font-family: var(--pg-serif, 'Cormorant Garamond', serif); font-size: 34px; font-weight: 500; line-height: 1.1; letter-spacing: 0; text-transform: none;
	color: var(--pg-black, #0F1512);
}
.pgm-row__summary { margin: 0; font-size: 14px; color: var(--pg-muted, #4A4A44); }
.pgm-row__price { margin: 0; font-family: var(--pg-serif, 'Cormorant Garamond', serif); font-size: 44px; font-weight: 500; line-height: 1; text-align: right; white-space: nowrap; }
.pgm-row__price small { display: block; margin-top: 6px; font-size: 11px; }
.pgm-row__btn { white-space: nowrap; }

@media (max-width: 960px) {
	.pgm-row { grid-template-columns: 1fr auto; gap: 12px 24px; }
	.pgm-row__summary { grid-column: 1 / -1; grid-row: 2; }
	.pgm-row__price { grid-column: 2; grid-row: 1; }
	.pgm-row__btn { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 860px) {
	.pgm-feat { grid-template-columns: 1fr; min-height: 0; }
	.pgm-feat__img { min-height: 260px; }
	.pgm-feat__body { padding: 32px 24px; }
	.pgm-feat__price { font-size: 96px; }
	.pgm-feat__price sup { font-size: 36px; top: 8px; }
}
@media (max-width: 767px) {
	.pgm { gap: 56px; }
	.pgm-card__body { padding: 24px; }
	html body .pgm-card__name { font-size: 32px; }
	.pgm-card__price { font-size: 52px; }
	html body .pgm-row__name { font-size: 28px; }
	.pgm-row__price { font-size: 36px; text-align: left; }
	.pgm-row { grid-template-columns: 1fr; }
	.pgm-row__price { grid-column: auto; grid-row: auto; }
}

/* Rows line up from one row to the next */
@media (min-width: 961px) {
	.pgm-row { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.6fr) 150px 170px; }
	.pgm-row__btn { justify-self: end; }
}

/* Everything else: each membership is its own #eae8e1 block, with space between */
.pgm-rows { display: grid; gap: 20px; }
html body .pgm-row { padding: 32px 36px; border: 0; background: #eae8e1; }
html body .pgm-row:last-child { border: 0; }
.pgm-cards { gap: 32px; }
.pgm-card { background: #eae8e1; }
@media (max-width: 767px) {
	.pgm-rows { gap: 16px; }
	html body .pgm-row { padding: 24px; }
	.pgm-cards { gap: 20px; }
}
