/* Lodge 1392: details that theme.json can't express. */

:root {
	--lodge-radius: 10px;
	--lodge-ease: cubic-bezier(.2, .7, .2, 1);
}

body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

/* ---------- Eyebrow labels ---------- */
.is-style-eyebrow,
.lodge-eyebrow {
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--wp--preset--color--gold);
}

/* ---------- Header ---------- */
.lodge-topbar { font-size: var(--wp--preset--font-size--x-small); }
.lodge-topbar a { color: inherit; text-decoration: none; }
.lodge-topbar a:hover { color: var(--wp--preset--color--gold-light); }
@media (max-width: 781px) { .lodge-topbar { display: none !important; } }

.lodge-masthead { position: relative; z-index: 20; }
.lodge-masthead .wp-block-site-logo img,
.lodge-footer .wp-block-site-logo img {
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 0 0 2px var(--wp--preset--color--gold);
}
.lodge-brand { gap: 0.85rem !important; flex-wrap: nowrap !important; }
.lodge-brand-name { margin: 0 !important; }
.lodge-brand-name a { color: inherit; text-decoration: none; }
.lodge-brand-sub { margin: 0 !important; opacity: 0.8; }
.lodge-wordmark { line-height: 1.15; }

.lodge-masthead .wp-block-navigation .wp-block-navigation-item__content { padding: 0.35rem 0; }
.lodge-masthead .wp-block-navigation .wp-block-navigation-item > .wp-block-navigation-item__content:hover { color: var(--wp--preset--color--gold-light); }
.lodge-masthead .wp-block-navigation .current-menu-item > a { color: var(--wp--preset--color--gold-light); }
.lodge-masthead .wp-block-navigation__submenu-container {
	border: 0 !important;
	border-radius: var(--lodge-radius);
	box-shadow: var(--wp--preset--shadow--lift);
	padding: 0.5rem 0 !important;
	min-width: 240px !important;
}
.lodge-masthead .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: 0.5rem 1.1rem !important; }
.lodge-masthead .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: var(--wp--preset--color--sand); color: var(--wp--preset--color--navy) !important; }

/* Mobile menu overlay */
.lodge-masthead .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--wp--preset--color--navy-deep) !important;
	color: #fff !important;
	padding: 2rem 1.5rem;
}
.lodge-masthead .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container { box-shadow: none; background: transparent !important; color: inherit !important; padding-left: 1rem !important; }
.lodge-masthead .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { font-size: 1.125rem; }

@media (max-width: 599px) {
	.lodge-masthead .wp-block-site-logo img { width: 44px !important; height: 44px !important; }
	.lodge-brand-name { font-size: 1rem !important; }
	.lodge-masthead .lodge-join { display: none; }
}

/* ---------- Hero ---------- */
.lodge-hero { position: relative; overflow: hidden; isolation: isolate; }
.lodge-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(ellipse 60% 80% at 85% 40%, rgba(201,162,75,0.16), transparent 60%),
		radial-gradient(ellipse 50% 60% at 0% 100%, rgba(36,64,110,0.6), transparent 70%);
}
.lodge-hero::after {
	/* faint checkered floor along the bottom edge */
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 90px;
	z-index: -1;
	opacity: 0.07;
	background-image: conic-gradient(#fff 25%, transparent 0 50%, #fff 0 75%, transparent 0);
	background-size: 30px 30px;
	mask-image: linear-gradient(to top, #000, transparent);
	-webkit-mask-image: linear-gradient(to top, #000, transparent);
}
.lodge-hero h1 { color: #fff; text-wrap: balance; }
.lodge-hero-seal img {
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 0 0 4px var(--wp--preset--color--gold), 0 0 0 14px rgba(201,162,75,0.18), 0 30px 60px rgba(0,0,0,0.45);
	aspect-ratio: 1;
	object-fit: cover;
}
@media (max-width: 781px) {
	.lodge-hero-seal { display: none; }
}

/* Outline button style on dark backgrounds */
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent;
	border: 1.5px solid currentColor;
	color: inherit;
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background: rgba(255,255,255,0.08);
}

/* ---------- Meeting cards ---------- */
.lodge-meetings { position: relative; z-index: 2; }
.lodge-card {
	border-radius: var(--lodge-radius);
	box-shadow: var(--wp--preset--shadow--card);
	height: 100%;
}
.lodge-card h3 { margin-top: 0.25rem; }
.lodge-meetings .wp-block-column { display: flex; flex-direction: column; }
.lodge-meetings .lodge-card { flex: 1; }

/* ---------- News cards ---------- */
.lodge-news-grid .wp-block-post-template { gap: clamp(1.25rem, 2.5vw, 2rem) !important; }
.lodge-news-card {
	position: relative;
	height: 100%;
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: var(--lodge-radius);
	box-shadow: var(--wp--preset--shadow--card);
	overflow: hidden;
	transition: transform .25s var(--lodge-ease), box-shadow .25s var(--lodge-ease);
}
.lodge-news-card:hover { transform: translateY(-3px); box-shadow: var(--wp--preset--shadow--lift); }
.lodge-news-card .wp-block-post-featured-image { margin: 0; border-radius: 0; background: var(--wp--preset--color--sand); }
.lodge-news-card .wp-block-post-featured-image img { border-radius: 0; transition: transform .5s var(--lodge-ease); }
.lodge-news-card:hover .wp-block-post-featured-image img { transform: scale(1.03); }
.lodge-news-card .wp-block-post-featured-image:empty,
.lodge-news-card .wp-block-post-featured-image:not(:has(img)) { display: none; }
.lodge-news-body { flex: 1; }
.lodge-news-card .wp-block-post-title { margin: 0; text-wrap: balance; }
/* Whole card is clickable via the title link */
.lodge-news-card .wp-block-post-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.lodge-news-card .wp-block-post-title a:focus-visible { outline: none; }
.lodge-news-card:has(.wp-block-post-title a:focus-visible) { outline: 2px solid var(--wp--preset--color--navy-soft); outline-offset: 3px; }
.lodge-news-card .wp-block-post-excerpt__more-text { display: none; }
.lodge-news-card .wp-block-post-excerpt { margin: 0; }
.lodge-news-card .wp-block-post-excerpt__excerpt { margin: 0; }
/* Cards without a photo get a navy band with the seal mark */
.lodge-news-card:not(:has(.wp-block-post-featured-image img))::before {
	content: "";
	display: block;
	aspect-ratio: 3 / 2;
	background: var(--wp--preset--gradient--navy-fade);
	background-image: url("../images/seal.svg"), var(--wp--preset--gradient--navy-fade);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 30%, cover;
}

.wp-block-query-pagination { font-weight: 600; }
.wp-block-query-pagination a { text-decoration: none; }
.wp-block-query-pagination-numbers .current {
	background: var(--wp--preset--color--navy);
	color: #fff;
	border-radius: 999px;
	padding: 0.2rem 0.65rem;
}

/* ---------- Worshipful Master quote ---------- */
.lodge-wm-quote { border: 0 !important; padding: 0 !important; }
.lodge-wm-quote p { font-size: clamp(1.25rem, 2.4vw, 1.75rem); line-height: 1.5; color: var(--wp--preset--color--navy); }
.lodge-wm-quote cite { font-family: var(--wp--preset--font-family--body); font-style: normal; font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--slate); }
.lodge-ornament { color: var(--wp--preset--color--gold); font-size: 1.5rem; line-height: 1; margin: 0 !important; }

/* ---------- Simple Calendar ---------- */
.lodge-events .simcal-calendar { margin: 0; }
.lodge-events .simcal-calendar-head,
.lodge-events .simcal-nav { display: none !important; }
.simcal-default-calendar-list dl.simcal-events-list-container { margin: 0; }
.simcal-default-calendar-list .simcal-day-label {
	background: none !important;
	color: var(--wp--preset--color--gold) !important;
	border: 0 !important;
	padding: 0 !important;
	margin: 1.1rem 0 0.35rem !important;
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.simcal-default-calendar-list .simcal-day-label:first-child { margin-top: 0 !important; }
.simcal-default-calendar-list .simcal-day-label span { background: none !important; color: inherit !important; border: 0 !important; padding: 0 !important; }
.simcal-default-calendar-list dd.simcal-day { margin: 0 !important; padding: 0 !important; border: 0 !important; }
.simcal-default-calendar-list ul.simcal-events { margin: 0 !important; padding: 0 !important; list-style: none; }
.simcal-default-calendar-list li.simcal-event {
	padding: 0.7rem 0 !important;
	margin: 0 !important;
	border-bottom: 1px solid var(--wp--preset--color--line);
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.45;
}
.simcal-default-calendar-list li.simcal-event strong,
.simcal-default-calendar-list .simcal-event-title { color: var(--wp--preset--color--navy); font-weight: 600; }
.simcal-default-calendar-list .simcal-event-details { color: var(--wp--preset--color--slate); }
.simcal-default-calendar-list .simcal-event-details p { margin: 0; }
/* Our own lodge's events stand out */
.simcal-default-calendar-list li.simcal-event.lodge-own { border-left: 3px solid var(--wp--preset--color--gold); padding-left: 0.75rem !important; }
.lodge-events .lodge-hidden { display: none !important; }

/* ---------- MailPoet ---------- */
.lodge-newsletter .mailpoet_form { padding: 0 !important; background: transparent !important; }
.lodge-newsletter .mailpoet_form form { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: stretch; }
.lodge-newsletter .mailpoet_paragraph { margin: 0 !important; flex: 1 1 220px; }
.lodge-newsletter .mailpoet_paragraph:has(.mailpoet_submit) { flex: 0 0 auto; }
.lodge-newsletter .mailpoet_paragraph:not(:has(input)) { flex-basis: 100%; font-size: var(--wp--preset--font-size--x-small); opacity: 0.8; }
.lodge-newsletter input.mailpoet_text,
.lodge-newsletter input[type="email"],
.lodge-newsletter input[type="text"] {
	width: 100% !important;
	padding: 0.8rem 1.1rem !important;
	border-radius: 999px !important;
	border: 1.5px solid var(--wp--preset--color--line) !important;
	background: #fff !important;
	color: var(--wp--preset--color--ink) !important;
	font: inherit !important;
}
.lodge-newsletter input.mailpoet_submit,
.lodge-newsletter input[type="submit"] {
	padding: 0.8rem 1.6rem !important;
	border-radius: 999px !important;
	border: 0 !important;
	background: var(--wp--preset--color--gold) !important;
	color: var(--wp--preset--color--navy-deep) !important;
	font: 600 var(--wp--preset--font-size--small) / 1 var(--wp--preset--font-family--body) !important;
	cursor: pointer;
	width: auto !important;
}
.lodge-newsletter input[type="submit"]:hover { background: var(--wp--preset--color--gold-light) !important; }

/* ---------- Footer ---------- */
.lodge-footer a { color: inherit; text-decoration: none; }
.lodge-footer a:hover { color: var(--wp--preset--color--gold-light); text-decoration: underline; }
.lodge-footer .lodge-footer-links { list-style: none; padding: 0; margin: 0; }
.lodge-footer .lodge-footer-links li { margin: 0 0 0.45rem; }
.lodge-footer h2 { color: var(--wp--preset--color--gold); }

/* ---------- Single posts and pages ---------- */
.lodge-page-head { border-bottom: 1px solid var(--wp--preset--color--line); }
.entry-content > * + h2, .entry-content > * + h3 { margin-top: 2.25rem; }
.wp-block-post-content img { height: auto; }
.wp-block-post-navigation-link a { text-decoration: none; font-weight: 600; }

/* Content Views grids inside pages pick up the card look */
.pt-cv-wrapper .pt-cv-content-item { background: #fff; border-radius: var(--lodge-radius); box-shadow: var(--wp--preset--shadow--card); overflow: hidden; padding: 0 0 1rem !important; }
.pt-cv-wrapper .pt-cv-title a { color: var(--wp--preset--color--navy) !important; font-family: var(--wp--preset--font-family--heading); }
.pt-cv-wrapper .pt-cv-readmore { background: var(--wp--preset--color--navy) !important; border: 0 !important; border-radius: 999px !important; }

/* Search form */
.wp-block-search__input { border-radius: 999px; border: 1.5px solid var(--wp--preset--color--line); padding: 0.7rem 1.1rem; }
.wp-block-search__button { border-radius: 999px; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
	.lodge-news-card, .lodge-news-card img { transition: none !important; }
	.lodge-news-card:hover { transform: none; }
}

/* Sections butt up against each other; spacing comes from each section. */
.wp-site-blocks > * + * { margin-block-start: 0; }
.wp-site-blocks > header, .wp-site-blocks > footer { margin: 0; }
.lodge-masthead { border-bottom: 1px solid rgba(201,162,75,0.28); }
.lodge-footer .lodge-footer-links { margin-top: var(--wp--style--block-gap, 1.25rem) !important; }

/* ---------- Footer signup cards ---------- */
.lodge-signup {
	height: 100%;
	border-radius: var(--lodge-radius);
	background: rgba(255,255,255,0.04);
	border: 1px solid rgba(201,162,75,0.28);
}
.lodge-signup h2 { margin: 0 !important; }
.lodge-signups .wp-block-column { display: flex; flex-direction: column; }
.lodge-signups .lodge-signup { flex: 1; }
/* MailPoet forms bring their own image, headings and text; the card supplies those. */
.lodge-newsletter .mailpoet_form img,
.lodge-newsletter .mailpoet_form figure,
.lodge-newsletter .mailpoet_form h1,
.lodge-newsletter .mailpoet_form h2,
.lodge-newsletter .mailpoet_form h3,
.lodge-newsletter .mailpoet_form .mailpoet_form_image,
.lodge-newsletter .mailpoet_form .mailpoet_form_heading,
.lodge-newsletter .mailpoet_form .mailpoet_form_paragraph { display: none !important; }
.lodge-newsletter .mailpoet_form .mailpoet_form_columns,
.lodge-newsletter .mailpoet_form .mailpoet_form_column { display: block !important; margin: 0 !important; padding: 0 !important; flex: none !important; width: 100% !important; }
.lodge-newsletter .mailpoet_form form { margin-top: 0.75rem !important; }
.lodge-newsletter .mailpoet_message { font-size: var(--wp--preset--font-size--small); }
.lodge-newsletter .mailpoet_validate_success { color: var(--wp--preset--color--gold-light) !important; }
.lodge-newsletter .mailpoet_paragraph:not(:has(input)) { display: none; }

/* ---------- Worshipful Master photo ---------- */
.lodge-wm-photo { margin: 0 auto; max-width: 240px; }
.lodge-wm-photo img {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	object-position: center top;
	border-radius: 50%;
	box-shadow: 0 0 0 4px var(--wp--preset--color--ivory), 0 0 0 6px var(--wp--preset--color--gold), var(--wp--preset--shadow--lift);
}
.lodge-wm .lodge-wm-quote p { font-size: clamp(1.15rem, 2vw, 1.5rem); }
@media (max-width: 781px) { .lodge-wm .wp-block-column { text-align: center; } .lodge-wm-photo { max-width: 180px; } }

/* ---------- Author box ---------- */
.lodge-author-box {
	background: #fff;
	border-radius: var(--lodge-radius);
	box-shadow: var(--wp--preset--shadow--card);
	padding: clamp(1.25rem, 3vw, 2rem);
	gap: 1.25rem;
	align-items: flex-start;
}
.lodge-author-box .wp-block-post-author__avatar img { border-radius: 50%; box-shadow: 0 0 0 3px var(--wp--preset--color--gold); }
.lodge-author-box .wp-block-post-author__name { font-family: var(--wp--preset--font-family--heading); font-size: var(--wp--preset--font-size--large); font-weight: 600; color: var(--wp--preset--color--navy); margin-bottom: 0.4rem; }
.lodge-author-box .wp-block-post-author__bio { color: var(--wp--preset--color--slate); font-size: var(--wp--preset--font-size--small); line-height: 1.65; margin: 0; }
.lodge-author-box .wp-block-post-author__byline { display: none; }

/* Smaller news cards */
.lodge-news-card .wp-block-post-date { font-size: 0.72rem; }
.lodge-news-card:not(:has(.wp-block-post-featured-image img))::before { aspect-ratio: 16 / 9; }

/* Keep the header on one line on laptop-width screens */
.lodge-masthead .wp-block-navigation { --navigation-layout-gap: 1.25rem; gap: 1.25rem !important; }
.lodge-masthead .wp-block-navigation__container { gap: 1.25rem !important; }
.lodge-masthead .lodge-join .wp-block-button__link { white-space: nowrap; }
@media (max-width: 1100px) {
	.lodge-masthead .wp-block-navigation__container { gap: 1rem !important; }
	.lodge-masthead .wp-block-navigation { font-size: 0.875rem !important; }
	.lodge-brand-name { font-size: 1.05rem !important; }
}
.lodge-newsletter input { box-sizing: border-box; }

/* Tablet and small laptop: use the menu button instead of a wrapping menu. */
@media (min-width: 600px) and (max-width: 1180px) {
	.lodge-masthead .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex !important; }
	.lodge-masthead .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none !important; }
}

/* Footer signup cards: email on one line, full-width button under it. */
.lodge-signup .lodge-newsletter .mailpoet_form form { flex-direction: column; flex-wrap: nowrap; }
.lodge-signup .lodge-newsletter .mailpoet_paragraph,
.lodge-signup .lodge-newsletter .mailpoet_paragraph:has(.mailpoet_submit) { flex: 0 0 auto; width: 100%; min-width: 0; }
.lodge-signup .lodge-newsletter input.mailpoet_submit,
.lodge-signup .lodge-newsletter input[type="submit"] { width: 100% !important; }

/* ---------- v1.2: calendar side column ---------- */
.lodge-side-stack { display: flex; flex-direction: column; gap: var(--wp--preset--spacing--40); }
.lodge-side-stack > .lodge-card { height: auto; margin: 0 !important; }
.lodge-mini-card { border: 1px solid var(--wp--preset--color--line); box-shadow: none; }
.lodge-mini-card h3, .lodge-mini-card p { margin: 0 !important; }
.lodge-mini-card .lodge-mini-link { margin-top: 0.4rem !important; font-weight: 600; }
.lodge-mini-card .lodge-mini-link a { color: var(--wp--preset--color--navy); text-decoration: none; }
.lodge-mini-card .lodge-mini-link a:hover { color: var(--wp--preset--color--gold); }
.lodge-mini-card:has(.lodge-mini-link a:hover) { border-color: var(--wp--preset--color--gold); }
.simcal-calendar .simcal-edit-link, .simcal-calendar a[href*="post.php"] { display: none !important; }

/* ---------- v1.2: Education Talks band ---------- */
.lodge-talks-logo-col { flex-grow: 0 !important; }
.lodge-talks-logo { margin: 0; }
.lodge-talks-logo img {
	width: 120px; height: 120px; object-fit: cover; display: block;
	border-radius: 50%;
	box-shadow: 0 0 0 3px var(--wp--preset--color--gold), 0 8px 20px rgba(13,24,40,0.15);
}
.lodge-latest-talk { margin: 0.5rem 0 0 !important; font-size: var(--wp--preset--font-size--small); }
.lodge-latest-talk span { color: var(--wp--preset--color--slate); }
.lodge-latest-talk a { color: var(--wp--preset--color--navy); font-weight: 600; }
@media (max-width: 781px) { .lodge-talks-logo-col { flex-basis: auto !important; } .lodge-talks-logo img { width: 96px; height: 96px; } }

/* ---------- v1.2: compact homepage news tiles ---------- */
.lodge-news-compact .wp-block-post-template { gap: 1rem !important; }
.lodge-news-compact .wp-block-post-title { font-size: 0.95rem !important; line-height: 1.3; }
.lodge-news-compact .wp-block-post-date { font-size: 0.68rem; }
.lodge-news-compact .lodge-news-card:not(:has(.wp-block-post-featured-image img))::before { aspect-ratio: 3 / 2; }

/* ---------- v1.2: shorter footer signups ---------- */
.lodge-signup .lodge-newsletter .mailpoet_form form { flex-direction: row; flex-wrap: wrap; align-items: center; }
.lodge-signup .lodge-newsletter .mailpoet_paragraph { flex: 1 1 200px; width: auto; min-width: 0; }
.lodge-signup .lodge-newsletter .mailpoet_paragraph:has(.mailpoet_submit) { flex: 0 0 auto; width: auto; }
.lodge-signup .lodge-newsletter input.mailpoet_submit,
.lodge-signup .lodge-newsletter input[type="submit"] { width: auto !important; white-space: nowrap; }
.lodge-signup .lodge-newsletter .mailpoet_form_loading { display: none; }
.lodge-signup { height: auto; }
.lodge-signups .lodge-signup { flex: 1; }
.lodge-footer-legal a, footer .has-x-small-font-size a { color: var(--wp--preset--color--gold-light); }
.lodge-newsletter .mailpoet_spacer, .lodge-newsletter .mailpoet_hp_email_label { display: none !important; }
@media (min-width: 600px) and (max-width: 1099px) { .lodge-news-compact .wp-block-post-template { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
@media (max-width: 599px) { .lodge-news-compact .wp-block-post-template { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 0.75rem !important; } }
@media (max-width: 781px) { .lodge-talks-logo-col ~ .wp-block-column .wp-block-buttons { justify-content: flex-start !important; } }

/* ---------- v1.3: featured images on single posts ---------- */
/* Keep the whole picture but cap its height, so it no longer fills the screen. */
.single-post .wp-block-post-featured-image { text-align: center; }
.single-post .wp-block-post-featured-image img {
	width: auto !important; max-width: 100%; max-height: 420px;
	object-fit: contain; margin-inline: auto; display: block;
}

/* ---------- v1.3: the Worshipful Master's welcome letter ---------- */
.lodge-wm-letter article > .wp-block-group:first-child { justify-content: center; }
.lodge-wm-letter .wp-block-post-title { text-align: center; font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 0; }
.lodge-wm-letter .wp-block-post-title::before {
	content: "A message from the East"; display: block; margin-bottom: 0.6rem;
	font-family: var(--wp--preset--font-family--display); font-size: 0.8rem; letter-spacing: 0.22em;
	text-transform: uppercase; color: var(--wp--preset--color--gold);
}
.lodge-wm-letter .wp-block-post-featured-image { margin: var(--wp--preset--spacing--40) auto !important; }
.lodge-wm-letter .wp-block-post-featured-image img {
	width: 120px !important; height: 120px !important; max-height: none; object-fit: cover;
	border-radius: 50%; background: #fff;
	box-shadow: 0 0 0 3px var(--wp--preset--color--gold), 0 0 0 9px rgba(201,162,75,0.15);
}
.lodge-wm-letter .entry-content {
	position: relative;
	background: #fff;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 6px;
	box-shadow: 0 18px 40px rgba(13,24,40,0.08);
	padding: clamp(1.75rem, 5vw, 3.75rem) clamp(1.25rem, 6vw, 4rem);
	font-size: 1.06rem; line-height: 1.8; color: var(--wp--preset--color--ink);
}
.lodge-wm-letter .entry-content::before {
	content: ""; position: absolute; inset: 10px; pointer-events: none;
	border: 1px solid rgba(201,162,75,0.45); border-radius: 3px;
}
.lodge-wm-letter .entry-content > hr,
.lodge-wm-letter .entry-content > .underline,
.lodge-wm-letter .entry-content > p:empty,
.lodge-wm-letter .entry-content .extra-hatom-entry-title { display: none; }
.lodge-wm-letter .entry-content > h3:first-of-type {
	text-align: center; margin: 0 0 1.75rem;
	font-family: var(--wp--preset--font-family--display); font-weight: 600;
	font-size: 1rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--wp--preset--color--navy);
}
.lodge-wm-letter .entry-content > h3:first-of-type::after {
	content: "✦"; display: block; margin-top: 0.75rem; font-size: 0.8rem; letter-spacing: 0; color: var(--wp--preset--color--gold);
}
.lodge-wm-letter .entry-content > h3:first-of-type + p {
	font-family: var(--wp--preset--font-family--heading); font-style: italic; font-size: 1.25rem;
}
.lodge-wm-letter .entry-content > h3:first-of-type + p + p::first-letter {
	float: left; font-family: var(--wp--preset--font-family--heading); font-size: 3.6em; line-height: 0.85;
	padding: 0.08em 0.12em 0 0; color: var(--wp--preset--color--gold);
}
/* Closing, photo and signature */
.lodge-wm-letter .entry-content .wp-block-image:has(+ .has-text-align-right) { margin: 1.5rem 0 0; }
.lodge-wm-letter .entry-content .wp-block-image:has(+ .has-text-align-right) figure { margin: 0 0 0 1.5rem; }
.lodge-wm-letter .entry-content .wp-block-image:has(+ .has-text-align-right) img {
	width: 130px !important; height: 130px !important; object-fit: cover; object-position: top;
	border-radius: 50%; box-shadow: 0 0 0 3px var(--wp--preset--color--gold), 0 10px 24px rgba(13,24,40,0.15);
}
.lodge-wm-letter .entry-content .has-text-align-right { margin: 0.25rem 0 0; font-style: italic; color: var(--wp--preset--color--slate); }
.lodge-wm-letter .entry-content .has-text-align-right strong {
	display: inline-block; margin-top: 0.4rem; font-style: normal;
	font-family: var(--wp--preset--font-family--heading); font-size: 1.45rem; font-weight: 600; color: var(--wp--preset--color--navy);
}
/* The meeting details after the signature become a quiet footnote. */
.lodge-wm-letter .entry-content .has-text-align-right + p:not(.has-text-align-right) {
	clear: both; margin-top: 2.5rem; padding-top: 1.25rem;
	border-top: 1px solid var(--wp--preset--color--line);
	text-align: center; font-size: 0.9rem; line-height: 1.7; color: var(--wp--preset--color--slate);
}
.lodge-wm-letter .lodge-author-box { display: none; }
@media (max-width: 600px) {
	.lodge-wm-letter .entry-content::before { inset: 6px; }
	.lodge-wm-letter .entry-content .wp-block-image:has(+ .has-text-align-right) img { width: 100px !important; height: 100px !important; }
}
.lodge-wm-letter .wp-block-post-terms { display: none; }
.lodge-wm-letter .entry-content > h3:first-of-type + p + p::first-letter { padding-right: 0.2em; }
