/* Pilgrim Journal page — [pilgrim_journal]. From the Journal design.
   "html body" prefixes keep these over Elementor's site-wide heading, link and image styles. */

.pgj { display: grid; gap: 80px; }
.pgj-head { margin-bottom: 32px; }
.pgj-head .pg-eyebrow { margin-bottom: 12px; }
html body .pgj-head .pg-section-title { margin: 0; }

/* Cards */
.pgj-card { display: flex; flex-direction: column; margin: 0; background: var(--pg-sand, #EBE8E1); }
.pgj-card__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: linear-gradient(135deg, #8C5A48, #2A1F1A); }
html body .pgj-card__media img, .pgj-card__ph { position: absolute; inset: 0; margin: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform .6s ease; }
.pgj-card:hover .pgj-card__media img { transform: scale(1.03); }
.pgj-card__body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 18px 20px 22px; }
.pgj-card__cat { margin: 0 0 8px; font-size: 10px; font-weight: 500; letter-spacing: .25em; text-transform: uppercase; color: var(--pg-black, #0F1512); }
html body .pgj-card__title { margin: 0 0 8px; font-family: var(--pg-serif, 'Cormorant Garamond', serif); font-size: 24px; font-weight: 500; line-height: 1.15; letter-spacing: 0; text-transform: none; }
html body .pgj-card__title a { color: var(--pg-black, #0F1512); text-decoration: none; }
html body .pgj-card__title a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.pgj-card__excerpt { margin: 0 0 14px; font-size: 14px; line-height: 1.55; color: var(--pg-muted, #4A4A44); }
.pgj-card__meta { margin: 0 0 16px; font-size: 12px; letter-spacing: .05em; color: var(--pg-muted, #4A4A44); }
html body .pgj-card__more { margin-top: auto; font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--pg-black, #0F1512); text-decoration: none; }
html body .pgj-card__more:hover { color: var(--pg-push, #B34A55); }
.pgj-card__more span { display: inline-block; transition: transform .2s ease; }
.pgj-card__more:hover span { transform: translateX(3px); }

/* Featured: large lead + up to two beside it */
.pgj-featured__grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 24px; }
.pgj-featured--1 .pgj-featured__grid { grid-template-columns: 1fr; }
.pgj-featured__side { display: grid; grid-auto-rows: 1fr; gap: 24px; }
.pgj-card--lead .pgj-card__media { aspect-ratio: 16 / 10; }
.pgj-card--lead .pgj-card__body { padding: 32px 36px 36px; }
html body .pgj-card--lead .pgj-card__title { font-size: clamp(32px, 3.4vw, 44px); line-height: 1.05; margin-bottom: 14px; }
.pgj-card--lead .pgj-card__excerpt { max-width: 560px; font-size: 16px; }
.pgj-card--side .pgj-card__media { aspect-ratio: 16 / 9; }
html body .pgj-card--side .pgj-card__title { font-size: 26px; margin-bottom: 14px; }
/* Only one featured: picture and words side by side */
.pgj-featured--1 .pgj-card--lead { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.pgj-featured--1 .pgj-card--lead .pgj-card__media { aspect-ratio: auto; min-height: 440px; }
.pgj-featured--1 .pgj-card--lead .pgj-card__body { justify-content: center; padding: 48px; }

/* Recent journals */
.pgj-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 20px; }

/* Bottom row: More articles · quote · subscribe */
.pgj-bottom { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.pgj-bottom--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pgj-bottom--1 { grid-template-columns: 1fr; }

.pgj-more .pg-eyebrow { margin: 0 0 12px; }
.pgj-more ul { margin: 0; padding: 0; list-style: none; border-bottom: 1px solid rgba(15, 21, 18, .16); }
.pgj-more li { margin: 0; border-top: 1px solid rgba(15, 21, 18, .16); }
html body .pgj-more li a { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; font-size: 15px; line-height: 1.4; color: var(--pg-black, #0F1512); text-decoration: none; }
html body .pgj-more li a:hover span:first-child { text-decoration: underline; text-underline-offset: 4px; }
.pgj-more__arrow { flex: none; transition: transform .2s ease; }
.pgj-more li a:hover .pgj-more__arrow { transform: translateX(3px); color: var(--pg-push, #B34A55); }
html body .pgj-more__all { display: inline-block; margin-top: 16px; font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--pg-black, #0F1512); text-decoration: none; }

.pgj-quote { display: flex; flex-direction: column; justify-content: center; margin: 0; padding: 48px 40px; background: var(--pg-deep-green, #14231C); color: var(--pg-white, #fff); text-align: center; }
.pgj-quote blockquote { margin: 0; padding: 0; border: 0; }
html body .pgj-quote p { margin: 0; font-family: var(--pg-serif, 'Cormorant Garamond', serif); font-size: 30px; font-weight: 500; line-height: 1.2; color: inherit; }
.pgj-quote figcaption { margin-top: 18px; font-size: 11px; letter-spacing: .25em; text-transform: uppercase; color: rgba(255, 255, 255, .75); }

.pgj-sub { padding: 40px 36px; background: var(--pg-blush, #EFC5C5); color: var(--pg-black, #0F1512); }
.pgj-sub .pg-eyebrow { margin: 0 0 12px; color: inherit; }
html body .pgj-sub__title { margin: 0 0 12px; font-family: var(--pg-serif, 'Cormorant Garamond', serif); font-size: 32px; font-weight: 500; line-height: 1.1; letter-spacing: 0; text-transform: none; color: inherit; }
.pgj-sub__text { margin: 0 0 20px; font-size: 15px; line-height: 1.55; }
.pgj-sub__label { display: block; margin: 0 0 6px; font-size: 12px; }
.pgj-sub__row { display: flex; flex-wrap: wrap; gap: 8px; }
html body .pgj-sub__row input { flex: 1 1 180px; min-width: 0; min-height: 46px; margin: 0; padding: 12px 14px; border: 1px solid transparent; border-radius: 0; background: #fff; color: var(--pg-black, #0F1512); font: inherit; font-size: 15px; }
.pgj-sub__row input:focus { outline: 2px solid var(--pg-black, #0F1512); outline-offset: 1px; }
.pgj-sub__row input[aria-invalid="true"] { border-color: #8A1F1F; }
html body .pgj-sub__btn { flex: none; min-height: 46px; margin: 0; padding: 0 22px; border: 0; border-radius: 0; background: var(--pg-deep-green, #14231C); color: #fff; font-family: var(--pg-sans, 'Jost', sans-serif); font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; cursor: pointer; }
html body .pgj-sub__btn:hover, html body .pgj-sub__btn:focus-visible { background: var(--pg-black, #0F1512); color: #fff; }
.pgj-sub__btn[disabled] { opacity: .6; cursor: progress; }
.pgj-sub__msg { min-height: 1em; margin: 8px 0 0; font-size: 13px; font-weight: 500; color: #8A1F1F; }
.pgj-sub__msg:empty { margin: 0; }
.pgj-sub__small { margin: 10px 0 0; font-size: 12px; line-height: 1.5; color: rgba(15, 21, 18, .75); }
.pgj-sub__done { margin: 0; padding: 14px 16px; background: rgba(255, 255, 255, .55); font-size: 15px; }
.pgj-sub__actions { margin: 4px 0 0; }
.pgj-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 1024px) {
	.pgj-featured__grid { grid-template-columns: 1fr; }
	.pgj-featured__side { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; }
	.pgj-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pgj-bottom, .pgj-bottom--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pgj-bottom--3 .pgj-sub { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
	.pgj { gap: 56px; }
	.pgj-grid, .pgj-featured__side, .pgj-bottom, .pgj-bottom--2, .pgj-bottom--3 { grid-template-columns: 1fr; }
	.pgj-featured--1 .pgj-card--lead { grid-template-columns: 1fr; }
	.pgj-featured--1 .pgj-card--lead .pgj-card__media { min-height: 0; aspect-ratio: 4 / 3; }
	.pgj-card--lead .pgj-card__body, .pgj-featured--1 .pgj-card--lead .pgj-card__body { padding: 24px 20px 26px; }
	.pgj-quote { padding: 40px 24px; }
	html body .pgj-quote p { font-size: 26px; }
	.pgj-sub { padding: 32px 22px; }
}
@media (prefers-reduced-motion: reduce) {
	html body .pgj-card__media img, .pgj-card__more span, .pgj-more__arrow { transition: none; }
}
