/* Pamana Tomasino Homepage — styles for the [pamana_home] shortcode. */

/* ---------- Make the page full width and hide the theme's own header, footer and title ---------- */
.pt-home-page #masthead,
.pt-home-page #colophon,
.pt-home-page .site-header,
.pt-home-page .site-footer,
.pt-home-page .entry-header,
.pt-home-page .ast-breadcrumbs-wrapper,
.pt-home-page #secondary { display: none !important; }

.pt-home-page .site-content > .ast-container,
.pt-home-page .site-content .ast-container,
.pt-home-page #primary,
.pt-home-page .site-main,
.pt-home-page article.page,
.pt-home-page .entry-content,
.pt-home-page .ast-article-single {
	max-width: none !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}
.pt-home-page .site-content > .ast-container { display: block !important; }
.pt-home-page .entry-content > .pt-home,
.pt-home-page .elementor-widget-shortcode .pt-home { max-width: none; }

/* ---------- Tokens ---------- */
.pt-home {
	--pt-maroon: #7A2E21;
	--pt-maroon-dark: #4A1B12;
	--pt-maroon-mid: #5C2519;
	--pt-gold: #FDBA12;
	--pt-cream: #FDF9E6;
	--pt-sand: #F6ECCB;
	--pt-line: #EADFB8;
	--pt-input: #C9B98A;
	--pt-ink: #2B1A14;
	--pt-ink-2: #3A2820;
	--pt-ink-3: #4F3A31;
	--pt-muted: #6B5248;
	--pt-light: #F4E6C8;
	--pt-green: #2F6B3F;
	--pt-serif: 'Cinzel', Georgia, serif;
	--pt-book: 'Lora', Georgia, serif;
	--pt-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

	font-family: var(--pt-sans);
	font-size: 16px;
	line-height: 1.6;
	color: var(--pt-ink);
	background: var(--pt-cream);
	overflow-x: hidden;
}
.pt-home *, .pt-home *::before, .pt-home *::after { box-sizing: border-box; }
.pt-home img { max-width: 100%; height: auto; display: block; }
.pt-home p { margin: 0; }
.pt-home h1, .pt-home h2, .pt-home h3 { margin: 0; padding: 0; text-transform: none; }
.pt-home a { color: var(--pt-maroon); }
.pt-home a:hover { color: #561E15; }
.pt-home a:focus-visible, .pt-home button:focus-visible { outline: 3px solid var(--pt-gold); outline-offset: 2px; }
.pt-home ul { margin: 0; }

/* ---------- Layout ---------- */
.pt-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.pt-stack { display: flex; flex-direction: column; gap: 40px; }
.pt-stack--lg { gap: 48px; }
.pt-col { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.pt-split { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.pt-split > * { flex: 1 1 420px; min-width: 0; }
.pt-split--top { align-items: flex-start; }
.pt-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.pt-head > .pt-col { max-width: 680px; }
.pt-grid { display: grid; gap: 24px; padding: 0; list-style: none; }
.pt-grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.pt-grid--cards { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.pt-grid--gallery { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.pt-grid--tiers { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.pt-grid--chips { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; flex: 2 1 520px; }

.pt-section { padding: 96px 0; }
.pt-section--flush { padding-top: 0; }
.pt-section--white { background: #fff; border-top: 1px solid var(--pt-line); border-bottom: 1px solid var(--pt-line); }

/* ---------- Type ---------- */
.pt-eyebrow { font-size: 14px; letter-spacing: 0.16em; text-transform: uppercase; color: #8C3B2B; font-weight: 600; }
.pt-eyebrow--gold { color: var(--pt-gold); }
.pt-home .pt-h2 { font-family: var(--pt-serif); font-weight: 600; font-size: clamp(30px, 4vw, 44px); line-height: 1.1; color: var(--pt-maroon); }
.pt-home .pt-h2--light { color: var(--pt-cream); }
.pt-home .pt-h2--sm { font-size: clamp(26px, 3vw, 32px); line-height: 1.2; }
.pt-home .pt-h3 { font-family: var(--pt-serif); font-weight: 600; font-size: 22px; color: var(--pt-maroon); }
.pt-prose { font-family: var(--pt-book); font-size: 19px; line-height: 1.7; color: var(--pt-ink-2); }
.pt-muted { font-size: 15px; color: var(--pt-muted); }

/* ---------- Buttons and pills ---------- */
.pt-home .pt-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 48px; padding: 12px 26px; border-radius: 999px;
	font-family: var(--pt-sans); font-weight: 600; font-size: 16px; line-height: 1.2;
	text-decoration: none; border: 1px solid transparent; align-self: flex-start;
}
.pt-home .pt-btn--sm { min-height: 44px; padding: 10px 20px; font-size: 15px; }
.pt-home .pt-btn--maroon { background: var(--pt-maroon); color: var(--pt-cream); }
.pt-home .pt-btn--maroon:hover { background: #63251A; color: var(--pt-cream); }
.pt-home .pt-btn--gold { background: var(--pt-gold); color: var(--pt-maroon-dark); }
.pt-home .pt-btn--gold:hover { background: #F2AE00; color: var(--pt-maroon-dark); }
.pt-home .pt-btn--ghost { color: var(--pt-cream); border-color: #C98C7E; }
.pt-home .pt-btn--ghost:hover { color: #fff; background: rgba(255,255,255,0.08); }
.pt-home .pt-btn--outline { color: var(--pt-cream); border-color: #7A4A3E; }
.pt-home .pt-btn--outline:hover { color: #fff; border-color: var(--pt-light); }
.pt-home .pt-btn--center { align-self: center; padding: 14px 30px; }

.pt-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pt-pill { font-size: 13px; font-weight: 600; line-height: 1.3; color: var(--pt-maroon); background: var(--pt-sand); padding: 5px 12px; border-radius: 999px; }
.pt-pill--maroon { color: var(--pt-cream); background: var(--pt-maroon); }
.pt-pill--green { color: var(--pt-cream); background: var(--pt-green); }

/* ---------- Staff bar (logged-in staff only) ---------- */
.pt-staffbar { background: var(--pt-ink); color: var(--pt-light); font-size: 14px; }
.pt-staffbar > .pt-wrap { max-width: 1360px; }
.pt-staffbar__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 16px; padding-top: 4px; padding-bottom: 4px; }
.pt-staffbar__label { font-weight: 600; letter-spacing: 0.04em; color: var(--pt-gold); }
.pt-staffbar__links { display: flex; flex-wrap: wrap; gap: 0 4px; }
.pt-home .pt-staffbar__links a { color: var(--pt-cream); text-decoration: none; padding: 10px; font-weight: 500; }
.pt-home .pt-staffbar__links a:hover { color: var(--pt-gold); text-decoration: underline; }

/* ---------- Header ---------- */
.pt-header { background: var(--pt-cream); border-bottom: 1px solid var(--pt-line); }
.pt-header__inner { padding-top: 14px; padding-bottom: 14px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.pt-home .pt-brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--pt-maroon); }
.pt-brand img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.pt-brand__text { display: flex; flex-direction: column; gap: 2px; font-size: 12px; color: var(--pt-muted); line-height: 1.35; }
.pt-brand__name { font-family: var(--pt-serif); font-weight: 700; font-size: 22px; line-height: 1.1; letter-spacing: 0.04em; color: var(--pt-maroon); }
.pt-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; }
.pt-home .pt-nav a:not(.pt-btn) { color: var(--pt-ink); text-decoration: none; padding: 12px 9px; font-size: 15px; font-weight: 500; }
.pt-header > .pt-wrap { max-width: 1360px; }
.pt-home .pt-nav a:not(.pt-btn):hover { color: var(--pt-maroon); }
.pt-nav .pt-btn { margin-left: 6px; }

/* ---------- Hero ---------- */
.pt-hero { background: var(--pt-maroon); color: var(--pt-cream); padding: 72px 0 88px; }
.pt-hero > .pt-wrap { max-width: 1360px; }
.pt-hero .pt-split { gap: 48px; }
.pt-hero .pt-split > .pt-hero__text { flex: 1 1 400px; display: flex; flex-direction: column; gap: 22px; }
.pt-hero .pt-split > .pt-hero__media { flex: 1.45 1 520px; }
.pt-home .pt-hero__title { font-family: var(--pt-serif); font-weight: 700; font-size: clamp(44px, 7vw, 72px); line-height: 1; letter-spacing: 0.02em; color: var(--pt-cream); }
.pt-hero__lead { font-size: 19px; line-height: 1.6; color: var(--pt-light); max-width: 540px; }
.pt-hero__motto { font-family: var(--pt-book); font-style: italic; font-size: 19px; line-height: 1.55; color: var(--pt-gold); max-width: 540px; }
.pt-actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 6px; }
.pt-hero__media { position: relative; }
.pt-hero__photo { width: 100%; height: clamp(380px, 40vw, 560px); object-fit: cover; border-radius: 24px; }
.pt-hero__seal { position: absolute; left: -28px; bottom: -28px; width: 120px; height: 120px; border-radius: 50%; border: 6px solid var(--pt-maroon); object-fit: cover; }

/* ---------- Stats ---------- */
.pt-stats { background: var(--pt-sand); padding: 40px 0; }
.pt-stats__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 24px; }
.pt-stat { display: flex; flex-direction: column; gap: 4px; }
.pt-stat__num { font-family: var(--pt-serif); font-weight: 700; font-size: 40px; line-height: 1.1; color: var(--pt-maroon); }
.pt-stat__label { font-size: 15px; color: var(--pt-ink-3); }

/* ---------- About ---------- */
.pt-about__photo { width: 100%; height: 360px; object-fit: cover; border-radius: 24px; }
.pt-panel { background: #fff; border: 1px solid var(--pt-line); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 12px; color: var(--pt-ink-3); }
.pt-panel ul { padding-left: 20px; line-height: 1.8; }
.pt-panel--cream { background: var(--pt-sand); border-color: var(--pt-sand); color: var(--pt-ink-2); }

/* ---------- Activity cards ---------- */
.pt-card { background: var(--pt-cream); border: 1px solid var(--pt-line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; }
.pt-card__media { display: block; }
.pt-card__media img, .pt-figure > img { width: 100%; height: 230px; object-fit: cover; }
.pt-card__placeholder { height: 230px; background: var(--pt-sand); display: flex; align-items: center; justify-content: center; }
.pt-card__placeholder img { width: 88px; height: 88px; border-radius: 50%; opacity: 0.85; }
.pt-card__body { padding: 22px 26px 28px; display: flex; flex-direction: column; gap: 10px; }
.pt-home .pt-card__title { font-family: var(--pt-book); font-weight: 500; font-size: 23px; line-height: 1.25; }
.pt-home .pt-card__title a { color: var(--pt-ink); text-decoration: none; }
.pt-home .pt-card__title a:hover { color: var(--pt-maroon); text-decoration: underline; }
.pt-card__text { font-size: 15px; line-height: 1.65; color: var(--pt-ink-3); }

/* ---------- PamanaLikha ---------- */
.pt-band { background: var(--pt-maroon-dark); color: var(--pt-cream); border-radius: 24px; padding: 52px 44px; display: flex; flex-wrap: wrap; gap: 40px 56px; align-items: center; }
.pt-band__text { flex: 1 1 440px; gap: 18px; }
.pt-band__text p { font-size: 17px; line-height: 1.65; color: var(--pt-light); }
.pt-rules { flex: 1 1 340px; min-width: 0; list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.pt-rules li { display: flex; gap: 12px; background: var(--pt-maroon-mid); border-radius: 14px; padding: 16px 18px; font-size: 15px; line-height: 1.5; color: var(--pt-light); }
.pt-rules svg { flex: 0 0 auto; color: var(--pt-gold); margin-top: 1px; }

.pt-home .pt-figure { background: #fff; border: 1px solid var(--pt-line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: var(--pt-ink); }
.pt-home .pt-figure:hover { border-color: var(--pt-input); color: var(--pt-ink); }
.pt-figure > img, .pt-figure > .pt-card__placeholder { height: 280px; }
.pt-figure__cap { padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 10px; }
.pt-figure__title { font-family: var(--pt-book); font-size: 23px; font-weight: 500; line-height: 1.25; }
.pt-figure__meta { font-size: 14px; font-weight: 600; color: var(--pt-maroon); }

/* ---------- Team ---------- */
.pt-team-block { display: flex; flex-direction: column; gap: 16px; }
.pt-home .pt-team-block dl, .pt-home .pt-team-block dd { margin: 0; }

/* Officers: one row of five on wide screens, wrapping down to one column */
.pt-officers { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.pt-officer { background: #fff; border: 1px solid var(--pt-line); border-top: 3px solid var(--pt-maroon); border-radius: 16px; padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.pt-officer__role { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #8C3B2B; }
.pt-officer__name { font-family: var(--pt-book); font-size: 19px; font-weight: 500; line-height: 1.3; color: var(--pt-ink); }

/* Board of Trustees: compact numbered grid */
.pt-team-block.pt-panel { padding: 26px 28px; }
.pt-trustees { list-style: none; margin: 0; padding: 0; counter-reset: pt-trustee; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0 32px; }
.pt-trustees li { counter-increment: pt-trustee; display: flex; align-items: baseline; gap: 12px; padding: 10px 0; border-bottom: 1px solid #E8DBB0; font-size: 16px; line-height: 1.4; color: var(--pt-ink-2); }
.pt-trustees li::before { content: counter(pt-trustee); flex: 0 0 18px; font-family: var(--pt-serif); font-weight: 700; font-size: 15px; color: var(--pt-maroon); }

/* Committees: two columns on desktop, one on phones */
.pt-committees { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.pt-committee { background: #fff; border: 1px solid var(--pt-line); border-radius: 18px; padding: 22px 24px; display: flex; flex-direction: column; gap: 14px; }
.pt-home .pt-committee__name { margin: 0; font-family: var(--pt-book); font-size: 21px; font-weight: 500; line-height: 1.3; color: var(--pt-maroon); padding-bottom: 12px; border-bottom: 1px solid var(--pt-line); }
.pt-committee__list { display: flex; flex-direction: column; gap: 10px; }
.pt-committee__row { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; align-items: baseline; }
.pt-committee__row dt { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--pt-muted); }
.pt-committee__head { font-size: 16px; font-weight: 600; color: var(--pt-ink); }
.pt-committee__row ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: 15px; line-height: 1.5; color: var(--pt-ink-3); }

/* ---------- Contact ---------- */
.pt-home .pt-contact__address { font-style: normal; font-size: 16px; line-height: 1.6; color: var(--pt-ink-2); padding-left: 14px; border-left: 3px solid var(--pt-gold); }
.pt-contacts { display: flex; flex-direction: column; gap: 16px; }
.pt-contact-card { background: #fff; border: 1px solid var(--pt-line); border-radius: 20px; padding: 24px 28px; display: flex; flex-direction: column; gap: 8px; }
.pt-home .pt-contact-card__label { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #8C3B2B; }
.pt-home .pt-contact-card__email { align-self: flex-start; font-family: var(--pt-book); font-size: 22px; font-weight: 500; line-height: 1.3; padding: 4px 0; word-break: break-word; }
.pt-contact-card__for { margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--pt-line); font-size: 13px; font-weight: 600; color: var(--pt-muted); }
.pt-contact-card ul { margin: 0; padding-left: 20px; font-size: 15px; line-height: 1.7; color: var(--pt-ink-3); }

/* ---------- Membership ---------- */
.pt-join { background: var(--pt-maroon); color: var(--pt-cream); padding: 88px 0; }
.pt-join .pt-head p { font-size: 17px; line-height: 1.6; color: var(--pt-light); }
.pt-tier { background: var(--pt-maroon-mid); border-radius: 18px; padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.pt-tier__name { font-family: var(--pt-book); font-size: 22px; font-weight: 500; }
.pt-tier p { font-size: 15px; line-height: 1.6; color: var(--pt-light); }

/* ---------- Affiliations ---------- */
.pt-grid--chips li { background: #fff; border: 1px solid var(--pt-line); border-radius: 14px; padding: 16px 18px; font-size: 15px; line-height: 1.5; color: var(--pt-ink-2); }
.pt-split--top > .pt-h2 { flex: 1 1 280px; }

/* ---------- Verify ---------- */
.pt-verify { background: var(--pt-sand); border-radius: 24px; padding: 52px 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 32px 40px; }
.pt-verify > .pt-col { flex: 1 1 340px; }
.pt-verify > .pt-col p { font-size: 17px; line-height: 1.6; color: var(--pt-ink-3); }
.pt-verify > .pt-col .pt-verify__note { font-size: 14px; color: var(--pt-muted); }
.pt-verify__form { flex: 1 1 420px; min-width: 0; }

/* Certificate search result, shown under the search box */
.pt-verify__result { flex: 1 1 100%; min-width: 0; background: #fff; border: 2px solid var(--pt-green); border-radius: 20px; padding: 24px 28px; overflow-x: auto; color: var(--pt-ink); }
.pt-verify__result::before { content: "Search result"; display: block; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pt-green); margin-bottom: 12px; }
.pt-verify__result table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 0; border: 0; }
.pt-verify__result th, .pt-verify__result td { text-align: left; padding: 12px 14px; border: 0; border-bottom: 1px solid var(--pt-line); vertical-align: middle; background: transparent; }
.pt-verify__result th { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--pt-muted); font-weight: 600; }
.pt-verify__result tr:last-child td { border-bottom: 0; }
.pt-home .pt-verify__result a { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 20px; border-radius: 999px; background: var(--pt-maroon); color: var(--pt-cream); font-weight: 600; text-decoration: none; }
.pt-home .pt-verify__result a:hover { background: #63251A; color: var(--pt-cream); }

/* ---------- Formidable form styling inside the homepage ---------- */
.pt-form .frm_forms { margin: 0 !important; max-width: none !important; }
.pt-form .frm_forms .frm_form_fields > fieldset { border: 0 !important; padding: 0 !important; margin: 0 !important; }
.pt-form .frm_form_title, .pt-form .frm_description { display: none; }
.pt-form .frm_forms .frm_primary_label { font-family: var(--pt-sans) !important; font-size: 15px !important; font-weight: 600 !important; color: var(--pt-ink) !important; padding-bottom: 6px !important; }
.pt-form .frm_forms input[type="text"],
.pt-form .frm_forms input[type="email"],
.pt-form .frm_forms input[type="tel"],
.pt-form .frm_forms input[type="search"],
.pt-form .frm_forms select,
.pt-form .frm_forms textarea {
	width: 100% !important;
	min-height: 50px;
	padding: 12px 16px !important;
	border-radius: 12px !important;
	border: 1px solid var(--pt-input) !important;
	background: var(--pt-cream) !important;
	color: var(--pt-ink) !important;
	font-family: var(--pt-sans) !important;
	font-size: 16px !important;
	box-shadow: none !important;
}
.pt-form .frm_forms input:focus, .pt-form .frm_forms textarea:focus, .pt-form .frm_forms select:focus { border-color: var(--pt-maroon) !important; outline: 2px solid rgba(122,46,33,0.25) !important; }
.pt-verify .frm_forms input[type="text"] { background: #fff !important; }
.pt-form .frm_forms .frm_submit { margin-top: 8px; }
.pt-form .frm_forms .frm_submit button,
.pt-form .frm_forms .frm_submit input[type="submit"],
.pt-form .frm_forms .frm_button_submit {
	min-height: 52px !important;
	padding: 0 32px !important;
	border-radius: 999px !important;
	border: 0 !important;
	background: var(--pt-maroon) !important;
	color: var(--pt-cream) !important;
	font-family: var(--pt-sans) !important;
	font-weight: 600 !important;
	font-size: 16px !important;
	box-shadow: none !important;
	cursor: pointer;
}
.pt-form .frm_forms .frm_submit button:hover,
.pt-form .frm_forms .frm_button_submit:hover { background: #63251A !important; }
.pt-form .frm_message, .pt-form .frm_error_style { border-radius: 12px; }

/* ---------- Footer ---------- */
.pt-footer { background: var(--pt-maroon-dark); color: #E8D6C4; padding: 56px 0 40px; font-size: 15px; }
.pt-footer .pt-stack { gap: 32px; }
.pt-footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.pt-brand--footer { flex: 1 1 320px; color: #E8D6C4; }
.pt-brand--footer img { width: 72px; height: 72px; }
.pt-brand--footer .pt-brand__text { font-size: 14px; color: #E8D6C4; }
.pt-brand--footer .pt-brand__name { color: var(--pt-cream); font-size: 22px; }
.pt-footer__contact { flex: 1 1 240px; gap: 8px; }
.pt-footer__contact strong { color: var(--pt-cream); }
.pt-home .pt-footer a:not(.pt-btn) { color: #F4D27A; }
.pt-footer__links { flex: 1 1 220px; gap: 10px; align-items: flex-start; }
.pt-footer__links a:not(.pt-btn) { padding: 10px 0; }
.pt-footer__legal { font-size: 13px; border-top: 1px solid #6A3328; padding-top: 20px; }

/* ---------- Upcoming event ---------- */
.pt-section--upcoming { padding: 72px 0 0; }
.pt-upcoming { background: #fff; border: 1px solid var(--pt-line); border-radius: 24px; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; }
.pt-upcoming__media { flex: 1 1 460px; min-width: 0; align-self: stretch; display: flex; align-items: center; justify-content: center; background: var(--pt-sand); }
.pt-upcoming__media img { width: 100%; height: auto; max-height: 460px; object-fit: contain; }
.pt-upcoming__text { flex: 1 1 380px; padding: 40px; gap: 16px; }
.pt-upcoming__badge { align-self: flex-start; }
.pt-upcoming__lead { font-size: 18px; line-height: 1.6; color: var(--pt-ink-3); }

/* ---------- Photo galleries inside posts ---------- */
.pt-article .wp-block-gallery { gap: 12px; margin-top: 1.5em; }
.pt-article .wp-block-gallery .wp-block-image img { border-radius: 14px; object-fit: cover; }
.pt-article .wp-block-gallery figcaption.blocks-gallery-caption { text-align: left; }

/* ---------- Post pages and "View all" lists ---------- */
body.pt-section-page { margin: 0; background: #FDF9E6; }
.pt-pagehero { background: var(--pt-maroon); color: var(--pt-cream); padding: 48px 0 64px; }
.pt-pagehero__inner { gap: 16px; max-width: 900px; }
.pt-home .pt-pagehero__title { font-family: var(--pt-serif); font-weight: 700; font-size: clamp(34px, 5vw, 56px); line-height: 1.08; letter-spacing: 0.01em; color: var(--pt-cream); }
.pt-pagehero__lead, .pt-pagehero__lead p { font-size: 18px; line-height: 1.6; color: var(--pt-light); max-width: 720px; margin: 0; }
.pt-home .pt-backlink { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 8px 0; color: #F4D27A; font-weight: 600; font-size: 15px; text-decoration: none; }
.pt-home .pt-backlink:hover { color: #fff; }
.pt-pill--gold { background: var(--pt-gold); color: var(--pt-maroon-dark); }
.pt-pill--outline { background: transparent; color: var(--pt-cream); border: 1px solid #C98C7E; }
.pt-section--page { padding: 56px 0 88px; }
.pt-pagehero--slim { padding: 40px 0 48px; }
.pt-home .pt-btn--outline-dark { color: var(--pt-maroon); border-color: var(--pt-input); background: #fff; }
.pt-home .pt-btn--outline-dark:hover { border-color: var(--pt-maroon); color: var(--pt-maroon); }

/* Regular pages: wide content (tables, staff lists) can use the full width */
.pt-article--page table { width: 100%; border-collapse: collapse; font-size: 15px; background: #fff; border-radius: 14px; overflow: hidden; }
.pt-article--page th, .pt-article--page td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--pt-line); vertical-align: top; }
.pt-article--page th { background: var(--pt-sand); color: var(--pt-ink); font-weight: 600; }
.pt-article--page .frm_forms, .pt-article--page .frm-show-form { max-width: 760px; }
.pt-article--page > div:has(> table) { overflow-x: auto; }

.pt-article__feature { margin: 0; }
.pt-article__feature img { width: 100%; max-height: 560px; object-fit: cover; border-radius: 24px; }
.pt-article { font-size: 17px; line-height: 1.75; color: var(--pt-ink-2); }
.pt-article > p, .pt-article > ul, .pt-article > ol, .pt-article > h2, .pt-article > h3, .pt-article > h4, .pt-article > blockquote { max-width: 760px; }
.pt-article > * + * { margin-top: 1.1em; }
.pt-article p { margin: 0; }
.pt-home .pt-article h2 { font-family: var(--pt-serif); font-weight: 600; font-size: 30px; line-height: 1.2; color: var(--pt-maroon); margin-top: 1.6em; }
.pt-home .pt-article h3 { font-family: var(--pt-book); font-weight: 500; font-size: 23px; line-height: 1.3; color: var(--pt-ink); margin-top: 1.4em; }
.pt-article ul, .pt-article ol { padding-left: 22px; }
.pt-article img { height: auto; border-radius: 16px; }
.pt-article figure { margin-left: 0; margin-right: 0; }
.pt-article figcaption { font-size: 14px; color: var(--pt-muted); margin-top: 8px; }
.pt-article blockquote { margin-left: 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--pt-gold); font-family: var(--pt-book); font-style: italic; }
.pt-article .pt-entries { margin-top: 0; }

.pt-home .pt-pagination ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; border: 0; background: transparent; }
.pt-pagination li { margin: 0; }
.pt-home .pt-pagination li > .page-numbers { min-width: 44px; height: 44px; padding: 0 16px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid var(--pt-line); background: #fff; color: var(--pt-maroon); font-weight: 600; text-decoration: none; }
.pt-home .pt-pagination li > .page-numbers.current { background: var(--pt-maroon); border-color: var(--pt-maroon); color: var(--pt-cream); }
.pt-home .pt-pagination li > .page-numbers.dots { border: 0; background: transparent; }

/* ---------- Editor-only hint ---------- */
.pt-hint { background: #FFF7D6; border: 1px dashed #C9A100; border-radius: 12px; padding: 16px 18px; font-size: 15px; color: #4A3B00; }

/* ---------- Small screens ---------- */
@media (max-width: 720px) {
	.pt-section { padding: 64px 0; }
	.pt-section--flush { padding-top: 0; }
	.pt-hero { padding: 48px 0 64px; }
	.pt-hero__photo { height: 280px; }
	.pt-hero__seal { width: 84px; height: 84px; left: 12px; bottom: -24px; border-width: 4px; }
	.pt-band, .pt-verify { padding: 36px 22px; }
	.pt-join { padding: 64px 0; }
	.pt-grid--cards, .pt-grid--gallery, .pt-grid--2, .pt-committees { grid-template-columns: 1fr; }
	.pt-team-block.pt-panel, .pt-contact-card { padding: 22px 20px; }
	.pt-home .pt-contact-card__email { font-size: 19px; }
	.pt-nav { gap: 0; }
	.pt-home .pt-nav a:not(.pt-btn) { padding: 10px 8px; font-size: 14px; }
}
