/**
 * Weekly bulletin.
 *
 * Screen: two columns on desktop, single column on mobile.
 * Print: tuned so a phone/desktop "Print" gives something close to the
 * paper bulletin the church hands out.
 */

.bulletin {
	--bulletin-navy: #06273e;
	--bulletin-accent: #e3582d;
	--bulletin-cream: #f5ead6;
	--bulletin-rule: #d9dee3;
	--bulletin-ink: #252121;

	color: var(--bulletin-ink);
	font-family: Poppins, sans-serif;
}

.bulletin__container {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 24px;
}

/* Masthead ------------------------------------------------------------ */

.bulletin__masthead {
	background: var(--bulletin-navy);
	color: #fff;
	padding: 52px 0 46px;
}

/* The theme sets text-align on headings and paragraphs, so centring is
   declared on each element rather than inherited from the masthead. */
.bulletin__masthead .bulletin__welcome,
.bulletin__masthead .bulletin__date,
.bulletin__masthead .bulletin__kicker,
.bulletin__masthead .bulletin__tagline {
	text-align: center;
}

.bulletin__welcome {
	text-transform: uppercase;
	letter-spacing: 0.24em;
	font-size: 12px;
	font-weight: 500;
	margin: 0 0 18px;
	opacity: 0.75;
	color: #fff;
}

.bulletin__date {
	font-family: "Libre Baskerville", Georgia, serif;
	font-weight: 700;
	font-size: clamp(34px, 6vw, 58px);
	line-height: 1.1;
	margin: 0;
	color: #fff;
}

.bulletin__kicker {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.34em;
	color: var(--bulletin-accent);
	margin: 14px 0 0;
}

.bulletin__tagline {
	font-family: "Libre Baskerville", Georgia, serif;
	font-style: italic;
	font-size: 15px;
	margin: 26px auto 0;
	max-width: 32em;
	opacity: 0.9;
	color: #fff;
}

/* Layout -------------------------------------------------------------- */

.bulletin__body {
	display: grid;
	grid-template-columns: 1.6fr 1fr;
	gap: 56px;
	padding-top: 52px;
	padding-bottom: 52px;
	align-items: start;
}

@media (max-width: 860px) {
	.bulletin__body {
		grid-template-columns: 1fr;
		gap: 36px;
	}
}

/* Announcements ------------------------------------------------------- */

.bulletin__announcement {
	padding-bottom: 26px;
	margin-bottom: 26px;
	border-bottom: 1px solid var(--bulletin-rule);
}

.bulletin__announcement:last-child {
	border-bottom: 0;
	margin-bottom: 0;
}

.bulletin__ann-heading {
	font-family: "Libre Baskerville", Georgia, serif;
	font-size: 21px;
	line-height: 1.3;
	color: var(--bulletin-navy);
	margin: 0 0 10px;
}

.bulletin__ann-heading.is-accent {
	color: var(--bulletin-accent);
}

.bulletin__ann-body p {
	margin: 0 0 10px;
	line-height: 1.65;
}

.bulletin__ann-body p:last-child {
	margin-bottom: 0;
}

.bulletin__ann-body a {
	color: var(--bulletin-accent);
	word-break: break-word;
}

/* Children's ministry ------------------------------------------------- */

.bulletin__section-title {
	font-family: "Libre Baskerville", Georgia, serif;
	font-size: 22px;
	color: var(--bulletin-navy);
	margin: 0 0 14px;
}

.bulletin__children {
	margin-top: 40px;
	background: #f7f9fb;
	border-left: 4px solid var(--bulletin-navy);
	padding: 26px 28px;
}

.bulletin__children-body p {
	margin: 0 0 10px;
	line-height: 1.6;
}

.bulletin__children-body ul {
	margin: 0 0 12px;
	padding-left: 20px;
}

.bulletin__children-body li {
	margin-bottom: 4px;
	line-height: 1.5;
}

/* Side panels --------------------------------------------------------- */

.bulletin__panel {
	margin-bottom: 30px;
	padding: 24px 26px;
	border-radius: 4px;
}

.bulletin__panel--glance,
.bulletin__panel--ahead {
	background: var(--bulletin-cream);
}

.bulletin__panel--contact {
	background: #f7f9fb;
	border: 1px solid var(--bulletin-rule);
}

.bulletin__panel-title {
	font-family: Poppins, sans-serif;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color: var(--bulletin-navy);
	margin: 0 0 16px;
	padding-bottom: 10px;
	border-bottom: 2px solid rgba(6, 39, 62, 0.18);
}

.bulletin__glance {
	margin: 0;
}

.bulletin__glance dt {
	font-weight: 700;
	color: var(--bulletin-navy);
	font-size: 15px;
}

.bulletin__glance dd {
	margin: 0 0 14px;
	font-size: 15px;
	line-height: 1.45;
}

.bulletin__glance dd:last-child {
	margin-bottom: 0;
}

.bulletin__ahead {
	list-style: none;
	margin: 0;
	padding: 0;
}

.bulletin__ahead li {
	display: flex;
	gap: 12px;
	padding: 7px 0;
	border-bottom: 1px dotted rgba(6, 39, 62, 0.25);
	font-size: 14px;
	line-height: 1.4;
}

.bulletin__ahead li:last-child {
	border-bottom: 0;
}

.bulletin__ahead-date {
	flex: 0 0 5.5em;
	font-weight: 700;
	color: var(--bulletin-accent);
}

/* Contacts ------------------------------------------------------------ */

.bulletin__contacts {
	list-style: none;
	margin: 0 0 20px;
	padding: 0;
}

.bulletin__contacts li {
	margin-bottom: 10px;
	font-size: 14px;
	line-height: 1.4;
}

.bulletin__contacts strong {
	display: block;
	color: var(--bulletin-navy);
}

.bulletin__contacts span {
	font-size: 13px;
	opacity: 0.8;
}

.bulletin__contact-block {
	margin-bottom: 18px;
}

.bulletin__contact-block:last-child {
	margin-bottom: 0;
}

.bulletin__contact-block h3 {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: var(--bulletin-accent);
	margin: 0 0 5px;
}

.bulletin__contact-block p {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
}

.bulletin__contact-block a {
	color: var(--bulletin-navy);
	word-break: break-word;
}

/* Footer -------------------------------------------------------------- */

.bulletin__footer {
	background: var(--bulletin-navy);
	color: #fff;
	padding: 32px 0;
	text-align: center;
}

.bulletin__actions {
	margin: 0;
	display: flex;
	gap: 18px;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
}

/* The theme's secondary button is dark-on-light, which disappears against
   the navy footer. Invert it here. */
.bulletin__footer .bulletin__actions .button,
.bulletin__footer .bulletin__actions .button__secondary {
	color: #fff;
	border-color: #fff;
	background: transparent;
}

.bulletin__footer .bulletin__actions .button:hover,
.bulletin__footer .bulletin__actions .button:focus,
.bulletin__footer .bulletin__actions .button__secondary:hover,
.bulletin__footer .bulletin__actions .button__secondary:focus {
	color: var(--bulletin-navy);
	background: #fff;
	border-color: #fff;
}

/* Print --------------------------------------------------------------- */

@media print {
	.main-header,
	.site-footer,
	.mmenu,
	#mmenu,
	.bulletin__actions,
	#wpadminbar {
		display: none !important;
	}

	/* The theme's boilerplate print styles append every href in brackets,
	   which is unreadable on a handout. */
	.bulletin a[href]:after {
		content: "" !important;
	}

	.bulletin {
		font-size: 10.5pt;
	}

	.bulletin__masthead,
	.bulletin__footer {
		background: #fff !important;
		color: #000 !important;
		padding: 0 0 12pt;
		border-bottom: 2pt solid #000;
	}

	.bulletin__date,
	.bulletin__welcome,
	.bulletin__tagline,
	.bulletin__kicker {
		color: #000 !important;
		opacity: 1;
	}

	.bulletin__body {
		display: block;
		padding: 12pt 0 0;
	}

	.bulletin__panel {
		background: none !important;
		border: 1pt solid #999;
		break-inside: avoid;
		page-break-inside: avoid;
		margin-bottom: 10pt;
	}

	.bulletin__announcement {
		break-inside: avoid;
		page-break-inside: avoid;
	}

	.bulletin__children {
		background: none !important;
		break-inside: avoid;
	}

	.bulletin__container {
		max-width: none;
		padding: 0;
	}
}
