/*
  Shared section styles for the redesigned pages (index.html, donate.html).
  Plain CSS so it works on older phones and browsers without a build step.
  Colors come from the club's navy and gold, with a warm off-white "paper" background.
*/

:root {
	--paper: #faf6ee;
	--paper-edge: #ece4d3;
	--ink: #1f2a37;
	--ink-soft: #3b4656;
	--heading: #012d5a;
	--gold: #fdc700;
	--gold-light: #ffdf5a;
	--gold-text: #7a4f00;
	--avocado: #4d7c2a;
}

/* ---------- Page frame ---------- */

.section-main {
	padding-top: 4.95rem;
	padding-bottom: 0;
	background: var(--paper);
	color: var(--ink);
	font-size: 1.125rem;
	line-height: 1.65;
}

.section-main p {
	margin: 0;
}

.section-main h1,
.section-main h2,
.section-main h3 {
	color: var(--heading);
	margin: 0;
	font-weight: 700;
}

.section-main + .site-footer {
	margin-top: 0;
}

.wrap {
	max-width: 68rem;
	margin-left: auto;
	margin-right: auto;
	padding-left: 1.25rem;
	padding-right: 1.25rem;
}

.wrap-narrow {
	max-width: 52rem;
}

.band {
	padding-top: 3.5rem;
	padding-bottom: 3.5rem;
}

.band-paper {
	background: var(--paper);
}

.band-white {
	background: #fff;
	border-top: 1px solid var(--paper-edge);
	border-bottom: 1px solid var(--paper-edge);
}

.band-navy {
	background: var(--heading);
	color: #fff;
}

/* ---------- Section headings ---------- */

.kicker {
	display: block;
	margin-bottom: 0.6rem !important;
	font-size: 0.95rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--gold-text);
}

.kicker::before {
	content: '';
	display: inline-block;
	width: 1.75rem;
	height: 3px;
	margin-right: 0.6rem;
	vertical-align: middle;
	background: var(--gold);
}

.band-navy .kicker {
	color: var(--gold);
}

.section-title {
	font-size: 2rem;
	line-height: 1.2;
	margin-bottom: 1rem !important;
}

.band-navy .section-title {
	color: #fff;
}

.sub-title {
	font-size: 1.4rem;
	line-height: 1.3;
	margin-bottom: 1.25rem !important;
}

.prose p + p {
	margin-top: 1rem;
}

.prose p {
	max-width: 40rem;
	color: var(--ink-soft);
}

.text-link {
	color: #0b4fa0;
	font-weight: 600;
	text-decoration: underline;
}

.text-link:hover {
	color: var(--heading);
}

/* ---------- Buttons ---------- */

.actions {
	margin-top: 1.75rem;
	margin-bottom: -0.75rem;
}

.actions > a {
	margin: 0 0.75rem 0.75rem 0;
}

.btn {
	display: inline-block;
	min-height: 3rem;
	padding: 0.7rem 1.35rem;
	border: 2px solid transparent;
	border-radius: 0.375rem;
	font-size: 1.05rem;
	font-weight: 600;
	line-height: 1.5;
	text-decoration: none;
	transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}

.btn i {
	margin-right: 0.45rem;
}

.btn-gold {
	background: var(--gold);
	color: var(--heading);
	font-weight: 700;
}

.btn-gold:hover {
	background: var(--gold-light);
}

.btn-solid {
	background: var(--heading);
	color: #fff;
}

.btn-solid:hover {
	background: #0b4fa0;
}

.btn-line {
	border-color: var(--heading);
	color: var(--heading);
	background: transparent;
}

.btn-line:hover {
	background: var(--heading);
	color: #fff;
}

.band-navy .btn-line {
	border-color: rgba(255, 255, 255, 0.75);
	color: #fff;
}

.band-navy .btn-line:hover {
	background: #fff;
	border-color: #fff;
	color: var(--heading);
}

.band-navy a:focus-visible,
.band-navy button:focus-visible {
	outline-color: var(--gold);
}

/* ---------- Hero ---------- */

.hero {
	padding-top: 2.5rem;
	padding-bottom: 3.5rem;
}

.hero-grid {
	display: block;
}

.hero-title {
	font-size: 2.4rem;
	line-height: 1.12;
	margin-bottom: 1.1rem !important;
}

.hero-lede {
	max-width: 34rem;
	font-size: 1.25rem;
	line-height: 1.6;
	color: var(--ink-soft);
}

.hero-calendar-link {
	display: inline-block;
	margin-top: 1.25rem;
}

.hero-figure {
	position: relative;
	margin: 2.75rem 0.85rem 0 0;
}

.hero-photo {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 0.5rem;
	box-shadow: 0.85rem 0.85rem 0 var(--gold);
}

.hero-photo-wrap {
	position: relative;
}

.hero-slides {
	position: relative;
	overflow: hidden;
	border-radius: 0.5rem;
	background: #101828;
	box-shadow: 0.85rem 0.85rem 0 var(--gold);
}

.hero-slides .swiper-slide-img-wrap {
	height: 16rem;
}

.hero-meta {
	min-height: 4.5rem;
	padding-left: 6.25rem;
}

.hero-badge {
	position: absolute;
	z-index: 2;
	left: -0.5rem;
	bottom: -3.25rem;
	width: 6rem;
	height: 6rem;
	padding: 0.35rem;
	border-radius: 9999px;
	background: #fff;
	box-shadow: 0 4px 14px rgba(1, 45, 90, 0.25);
}

.hero-caption {
	margin-top: 1.35rem;
	font-size: 1rem;
	line-height: 1.45;
	font-style: italic;
	color: var(--ink-soft);
}

/* ---------- About ---------- */

.about-grid {
	display: block;
}

.about-intro .section-title {
	max-width: 18rem;
}

.officers {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr;
	grid-gap: 1rem;
	gap: 1rem;
}

.officer {
	display: flex;
	align-items: center;
	padding: 1rem;
	border: 1px solid var(--paper-edge);
	border-radius: 0.5rem;
	background: var(--paper);
}

.officer-photo {
	flex-shrink: 0;
	width: 4.5rem;
	height: 4.5rem;
	margin-right: 1rem;
	border-radius: 9999px;
	border: 3px solid var(--gold);
	background: #e5e7eb;
	color: #6a7282;
	font-size: 1.5rem;
	text-align: center;
	line-height: 4rem;
	overflow: hidden;
}

.officer-photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.officer-name {
	font-weight: 600;
	color: var(--ink);
	line-height: 1.35;
}

.officer-role {
	font-size: 1rem;
	line-height: 1.4;
	color: var(--ink-soft);
}

.officer > div {
	min-width: 0;
}

.officer-email {
	display: block;
	color: #0b4fa0;
	font-size: 1rem;
	line-height: 1.4;
	text-decoration: none;
	overflow-wrap: break-word;
}

.officer-email:hover,
.officer-email:focus-visible {
	text-decoration: underline;
}

.officer-email i {
	margin-right: 0.35rem;
	font-size: 0.85em;
}

.officer-email:hover {
	color: var(--heading);
}

.block-gap {
	margin-top: 3rem;
}

/* Photo slideshow (in the hero) */
.gallery .swiper-pagination {
	padding-top: 0.5rem;
	text-align: left;
}

.gallery .swiper-pagination-bullet {
	width: 0.7rem;
	height: 0.7rem;
	margin: 0 0.35rem !important;
	background: #8a94a6;
	opacity: 1;
}

.gallery .swiper-pagination-bullet-active {
	background: var(--gold-text) !important;
}

.gallery .swiper-button-prev,
.gallery .swiper-button-next {
	width: 2.75rem !important;
	height: 2.75rem !important;
	background: rgba(1, 45, 90, 0.75);
}

/* ---------- Volunteer ---------- */

.volunteer-grid {
	display: block;
}

.volunteer-copy p {
	max-width: 40rem;
	color: #e3ebf5;
	font-size: 1.2rem;
}

/* ---------- Meetings ---------- */

.notice {
	margin-bottom: 1.5rem;
	padding: 1rem 1.25rem;
	border-left: 5px solid var(--gold);
	border-radius: 0.375rem;
	background: #fff8d6;
	color: #4a3300;
}

.notice-title {
	font-weight: 700;
}

.meeting-grid {
	display: block;
}

.meeting-facts {
	margin: 0;
	padding: 0;
}

.meeting-fact {
	position: relative;
	min-height: 2.5rem;
	padding: 0.9rem 0 0.9rem 3.5rem;
	border-bottom: 1px solid var(--paper-edge);
}

.meeting-fact:first-child {
	padding-top: 0;
}

.meeting-fact-icon {
	position: absolute;
	left: 0;
	top: 0.9rem;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 9999px;
	background: #fff;
	border: 1px solid var(--paper-edge);
	color: var(--heading);
	text-align: center;
	line-height: 2.35rem;
}

.meeting-fact dt {
	font-size: 0.95rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--gold-text);
}

.meeting-fact dd {
	margin: 0;
	color: var(--ink);
}

.meeting-fact:first-child .meeting-fact-icon {
	top: 0;
}

.fine {
	display: block;
	margin-top: 0.25rem;
	font-size: 1rem;
	color: var(--ink-soft);
}

.next-meeting {
	margin-top: 1.5rem;
	padding: 1rem 1.25rem;
	border-radius: 0.5rem;
	background: var(--heading);
	color: #fff;
	font-size: 1.2rem;
	font-weight: 600;
}

.next-meeting i {
	margin-right: 0.6rem;
	color: var(--gold);
}

.next-meeting[hidden] {
	display: none;
}

.map-frame {
	margin-top: 2rem;
	border: 1px solid var(--paper-edge);
	border-radius: 0.5rem;
	overflow: hidden;
	background: #fff;
}

.map-frame iframe {
	display: block;
	width: 100%;
	height: 18rem;
	border: 0;
}

.minutes-toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	min-height: 3.25rem;
	margin-top: 2.5rem;
	padding: 0.85rem 1.25rem;
	border: 1px solid var(--paper-edge);
	border-radius: 0.5rem;
	background: #fff;
	color: var(--heading);
	font-family: inherit;
	font-size: 1.1rem;
	font-weight: 600;
	text-align: left;
	cursor: pointer;
	transition: background-color 150ms ease;
}

.minutes-toggle:hover {
	background: #f3efe5;
}

.minutes-toggle-icon {
	margin-right: 0.6rem;
}

.minutes-inner {
	padding-top: 1.5rem;
	padding-bottom: 0.5rem;
}

.minutes-note {
	margin-top: 2rem !important;
	padding-top: 1rem;
	border-top: 1px solid var(--paper-edge);
	font-size: 1rem;
	color: var(--ink-soft);
}

/* ---------- Lions International ---------- */

.lci-grid {
	display: block;
}

.lci-logo {
	display: none;
}

.causes {
	list-style: none;
	margin: 1.25rem 0 1.5rem;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-gap: 0.5rem 1.5rem;
	gap: 0.5rem 1.5rem;
}

.causes li {
	position: relative;
	padding-left: 1.25rem;
	color: var(--ink);
}

.causes li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.65em;
	width: 0.5rem;
	height: 0.5rem;
	background: var(--gold);
	transform: rotate(45deg);
}

.portal {
	margin-top: 3rem;
	padding: 1.5rem;
	border: 1px solid var(--paper-edge);
	border-radius: 0.5rem;
	background: var(--paper);
}

.portal .sub-title {
	margin-bottom: 0.4rem !important;
}

.portal .actions {
	margin-top: 1rem;
}

/* ---------- Wider screens ---------- */

@media (min-width: 640px) {
	.officers {
		grid-template-columns: 1fr 1fr;
	}

	.causes {
		grid-template-columns: repeat(4, auto);
		justify-content: start;
	}

	.portal {
		display: flex;
		align-items: center;
		justify-content: space-between;
	}

	.portal .actions {
		margin: 0 0 0 1.5rem;
		flex-shrink: 0;
	}

	.portal .actions > a {
		margin: 0;
	}
}

@media (min-width: 768px) {
	.band {
		padding-top: 4.5rem;
		padding-bottom: 4.5rem;
	}

	.hero {
		padding-top: 3.5rem;
		padding-bottom: 4.5rem;
	}

	.hero-title {
		font-size: 3.1rem;
	}

	.hero-slides .swiper-slide-img-wrap {
		height: 22rem;
	}

	.section-title {
		font-size: 2.35rem;
	}

	.map-frame iframe {
		height: 100%;
		min-height: 20rem;
	}

	.lci-grid {
		display: flex;
		align-items: flex-start;
	}

	.lci-logo {
		display: block;
		flex-shrink: 0;
		width: 9rem;
		height: auto;
		margin-right: 2.5rem;
	}
}

@media (min-width: 960px) {
	.hero-grid {
		display: flex;
		align-items: center;
	}

	.hero-text {
		flex: 1 1 50%;
		width: 50%;
		min-width: 0;
		padding-right: 3.5rem;
	}

	.hero-figure {
		flex: 1 1 50%;
		width: 50%;
		min-width: 0;
		margin-top: 0;
	}

	.about-grid {
		display: flex;
		align-items: flex-start;
	}

	.about-intro {
		flex: 0 0 30%;
		padding-right: 2.5rem;
	}

	.about-body {
		flex: 1 1 70%;
		padding-top: 2.1rem;
	}

	.volunteer-grid {
		display: flex;
		align-items: flex-start;
	}

	.volunteer-head {
		flex: 0 0 30%;
		padding-right: 2.5rem;
	}

	.volunteer-copy {
		flex: 1 1 70%;
		padding-top: 2.1rem;
	}

	.meeting-grid {
		display: flex;
		align-items: stretch;
	}

	.meeting-info {
		flex: 1 1 45%;
		padding-right: 2.5rem;
	}

	.map-frame {
		flex: 1 1 55%;
		margin-top: 0;
	}
}

/* ---------- Dine to Donate page ---------- */

.d2d {
	text-align: center;
}

.d2d .kicker::after {
	content: '';
	display: inline-block;
	width: 1.75rem;
	height: 3px;
	margin-left: 0.6rem;
	vertical-align: middle;
	background: var(--gold);
}

.d2d-date {
	font-family: 'Lora', serif;
	font-size: 1.4rem;
	font-weight: 700;
	color: var(--gold-text);
}

.d2d-copy {
	margin: 0.5rem auto 2rem !important;
	max-width: 34rem;
	color: var(--ink-soft);
}

.d2d-flyer {
	display: block;
	max-width: 40rem;
	margin: 0 auto;
}

.d2d-flyer img {
	display: block;
	width: 100%;
	height: auto;
	border: 1px solid var(--paper-edge);
	border-radius: 0.5rem;
	box-shadow: 0.85rem 0.85rem 0 var(--gold);
}

.d2d .actions {
	margin-top: 2.25rem;
}

/* ---------- Join Us: what being a member looks like ---------- */

.join-path {
	margin-top: 2.5rem;
	padding-top: 2rem;
	border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.join-path-title {
	margin-bottom: 1.75rem !important;
	font-size: 1.4rem;
	color: #fff !important;
}

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

/* Phones: a vertical line with a dot for each step. */
.join-step {
	position: relative;
	padding: 0 0 1.75rem 4.5rem;
	min-height: 3.5rem;
}

.join-step::before {
	content: '';
	position: absolute;
	left: 1.6rem;
	top: 3.25rem;
	bottom: 0;
	width: 3px;
	background: var(--gold);
	opacity: 0.6;
}

.join-step:last-child {
	padding-bottom: 0;
}

.join-step:last-child::before {
	display: none;
}

.join-dot {
	position: absolute;
	left: 0;
	top: 0;
	width: 3.25rem;
	height: 3.25rem;
	border-radius: 9999px;
	background: var(--gold);
	color: var(--heading);
	font-size: 1.25rem;
	line-height: 3.25rem;
	text-align: center;
}

.join-step-title {
	margin: 0.4rem 0 0.35rem !important;
	font-size: 1.25rem;
	color: #fff !important;
}

.join-step p {
	color: #e3ebf5;
	font-size: 1.05rem;
	line-height: 1.55;
}

.join-actions {
	margin-top: 2.25rem;
}

/* Wider screens: four steps in a row joined by a horizontal line. */
@media (min-width: 768px) {
	.join-steps {
		display: grid;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		grid-gap: 1.5rem;
		gap: 1.5rem;
	}

	.join-step {
		padding: 4.25rem 0 0;
		text-align: center;
	}

	.join-step::before {
		left: 50%;
		right: auto;
		top: 1.6rem;
		bottom: auto;
		width: calc(100% + 1.5rem);
		height: 3px;
	}

	.join-dot {
		left: 50%;
		margin-left: -1.625rem;
	}

	.join-step-title {
		margin-top: 0 !important;
	}

	.join-actions {
		text-align: center;
	}

	.join-actions > a {
		margin: 0 0.4rem 0.75rem;
	}
}
