/* Presque Isle Yacht Club - site theme
   Load after Bootstrap 3 (includes/css.html). */

/* ---------- Design tokens ---------- */
:root {
	--navy:      #0b2545;
	--navy-2:    #13315c;
	--sea:       #1b7fa6;
	--sea-light: #e6f3f8;
	--sand:      #f5f7fa;
	--ink:       #1d2733;
	--muted:     #5b6b7c;
	--line:      #e2e8f0;
	--white:     #ffffff;
	--success:   #1f9d6b;
	--radius:    14px;
	--shadow:    0 10px 30px rgba(11, 37, 69, .08);
	--shadow-lg: 0 20px 50px rgba(11, 37, 69, .15);
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
/* Neutralise legacy custom.css rules (background photo, white text,
   body padding, 100vh height, heading shadows, 5em h1) */
html, body { height: auto; }
body {
	font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	background: var(--sand);
	color: var(--ink);
	font-size: 16px;
	line-height: 1.65;
	padding-top: 0;
	padding-bottom: 0;
	-webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: "Playfair Display", Georgia, serif; color: var(--navy); text-shadow: none; }
h1 { font-size: clamp(32px, 4.5vw, 48px); }
a { color: var(--sea); }
a:hover, a:focus { color: var(--navy-2); }

/* ---------- Navbar ---------- */
.navbar-default {
	background: rgba(11, 37, 69, .92);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	border: 0;
	box-shadow: 0 2px 20px rgba(0, 0, 0, .15);
	min-height: 64px;
}
.navbar-default .navbar-brand {
	font-family: "Playfair Display", Georgia, serif;
	font-weight: 700;
	font-size: 20px;
	color: #fff;
	height: 64px;
	line-height: 34px;
}
.navbar-default .navbar-brand:hover { color: #cfe8f3; }
.navbar-default .navbar-nav > li > a {
	color: rgba(255, 255, 255, .85);
	font-weight: 500;
	font-size: 15px;
	padding-top: 22px;
	padding-bottom: 22px;
	transition: color .2s;
}
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus { color: #fff; background: transparent; }
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus,
.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:hover,
.navbar-default .navbar-nav > .open > a:focus {
	color: #fff;
	background: rgba(255, 255, 255, .1);
}
.navbar-default .navbar-toggle { border-color: rgba(255, 255, 255, .4); margin-top: 15px; }
.navbar-default .navbar-toggle .icon-bar { background: #fff; }
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus { background: rgba(255, 255, 255, .1); }
.navbar-default .navbar-collapse { border-color: rgba(255, 255, 255, .1); }
.dropdown-menu {
	border: 0;
	border-radius: 10px;
	box-shadow: var(--shadow-lg);
	padding: 8px 0;
}
.dropdown-menu > li > a { padding: 8px 20px; color: var(--ink); }
.dropdown-menu > li > a:hover { background: var(--sea-light); color: var(--navy); }
.navbar-right-login { margin: 14px 0; padding: 0; list-style: none; }
.btn-login {
	background: #fff;
	color: var(--navy) !important;
	border: 0;
	border-radius: 999px;
	padding: 8px 18px;
	font-weight: 600;
	transition: transform .15s, box-shadow .15s;
}
.btn-login:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0, 0, 0, .2); }
/* custom.css collapses the menu below 1025px, so the mobile menu styles
   cover that whole range (Bootstrap only handles below 768px itself). */
@media (max-width: 1025px) {
	.navbar-default .navbar-collapse { max-height: calc(100vh - 64px); overflow-y: auto; }
	.navbar-default .navbar-nav .open .dropdown-menu {
		position: static; float: none; width: auto;
		background: transparent; box-shadow: none; border: 0; margin: 0; padding: 0 0 6px;
	}
	.navbar-default .navbar-nav .open .dropdown-menu > li > a { padding: 8px 15px 8px 30px; }
	.navbar-default .navbar-nav .open .dropdown-menu .divider { background: rgba(255, 255, 255, .15); }
	.navbar-default .navbar-nav .open .dropdown-menu > li > a { color: rgba(255, 255, 255, .85); }
	.navbar-default .navbar-nav .open .dropdown-menu > li > a:hover { color: #fff; background: transparent; }
	.navbar-default .navbar-nav > li > a { padding-top: 12px; padding-bottom: 12px; }
	.navbar-right-login { margin: 8px 15px 16px; }
}

/* ---------- Hero ---------- */
.hero {
	position: relative;
	min-height: 460px;
	display: flex;
	align-items: flex-end;
	padding: 140px 0 80px;
	background: var(--navy) center / cover no-repeat;
	color: #fff;
}
.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(11, 37, 69, .35) 0%, rgba(11, 37, 69, .85) 100%);
}
.hero .container { position: relative; }
.hero .eyebrow {
	display: inline-block;
	text-transform: uppercase;
	letter-spacing: .14em;
	font-size: 13px;
	font-weight: 600;
	background: rgba(255, 255, 255, .15);
	border: 1px solid rgba(255, 255, 255, .3);
	border-radius: 999px;
	padding: 6px 14px;
	margin-bottom: 18px;
}
.hero h1 {
	color: #fff;
	font-size: clamp(34px, 5vw, 58px);
	margin: 0 0 14px;
	line-height: 1.1;
}
.hero p.lead { color: rgba(255, 255, 255, .9); max-width: 620px; margin-bottom: 28px; }
.hero-actions .btn { margin: 0 10px 10px 0; }

/* Shorter header for pages without a big banner */
.hero-sm { min-height: 300px; padding: 120px 0 70px; }
.hero-sm::before { background: linear-gradient(180deg, rgba(11, 37, 69, .45) 0%, rgba(11, 37, 69, .85) 100%); }

/* ---------- Buttons ---------- */
.btn-pill {
	border-radius: 999px;
	padding: 12px 26px;
	font-weight: 600;
	border: 0;
	transition: transform .15s, box-shadow .15s, background .15s;
}
.btn-pill:hover { transform: translateY(-2px); }
.btn-sea { background: var(--sea); color: #fff; }
.btn-sea:hover, .btn-sea:focus { background: #16698a; color: #fff; box-shadow: 0 10px 24px rgba(27, 127, 166, .35); }
.btn-ghost { background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .5); }
.btn-ghost:hover, .btn-ghost:focus { background: #fff; color: var(--navy); }

/* ---------- Sections & cards ---------- */
.section { padding: 70px 0; }
.section-sm { padding: 40px 0; }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { font-size: clamp(28px, 3.5vw, 38px); margin: 0 0 10px; }
.section-title p { color: var(--muted); max-width: 620px; margin: 0 auto; }
.card {
	background: var(--white);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 36px;
}
@media (max-width: 767px) { .card { padding: 24px; } }

.overlap { margin-top: -60px; position: relative; z-index: 2; }

/* About + rate */
.about-text { font-size: 17px; }
.about-text p:last-child { margin-bottom: 0; }
.rate-card {
	background: linear-gradient(135deg, var(--navy) 0%, var(--sea) 100%);
	color: #fff;
	border-radius: var(--radius);
	padding: 32px;
	text-align: center;
	height: 100%;
	box-shadow: var(--shadow-lg);
}
.rate-card .label { text-transform: uppercase; letter-spacing: .12em; font-size: 12px; opacity: .85; }
.rate-card .price { font-family: "Playfair Display", Georgia, serif; font-size: 56px; font-weight: 700; line-height: 1.1; margin: 8px 0; }
.rate-card .unit { opacity: .9; font-size: 15px; }
.rate-card .btn { margin-top: 22px; }
@media (max-width: 991px) { .rate-card { margin-top: 24px; } }

/* Reservation steps */
.ways { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-bottom: 36px; }
.way {
	display: flex; align-items: center; gap: 12px;
	background: var(--sea-light);
	border-radius: 999px;
	padding: 10px 20px 10px 10px;
	color: var(--navy);
	font-weight: 500;
}
.way .icon {
	width: 38px; height: 38px; border-radius: 50%;
	background: var(--sea); color: #fff;
	display: inline-flex; align-items: center; justify-content: center;
}

/* ---------- Form ---------- */
.form-card { max-width: 900px; margin: 0 auto; }
.form-card fieldset { margin-bottom: 28px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.form-card fieldset:last-of-type { border-bottom: 0; }
.form-card legend {
	border: 0;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: .12em;
	font-weight: 600;
	color: var(--sea);
	margin-bottom: 18px;
}
.form-card label { font-weight: 600; font-size: 14px; color: var(--ink); margin-bottom: 6px; }
.form-card .help { font-weight: 400; color: var(--muted); font-size: 13px; }
.form-card .form-control {
	height: 48px;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: #fbfcfe;
	box-shadow: none;
	font-size: 15px;
	color: var(--ink);
	transition: border-color .15s, box-shadow .15s, background .15s;
}
.form-card textarea.form-control { height: auto; min-height: 130px; padding-top: 12px; resize: vertical; }
.form-card .form-control:focus {
	border-color: var(--sea);
	background: #fff;
	box-shadow: 0 0 0 4px rgba(27, 127, 166, .15);
	outline: 0;
}
.form-card .form-control::placeholder { color: #9aa8b6; }
.date-pair { display: flex; gap: 10px; }
.date-pair .form-control { flex: 1; }
.form-footer {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
	padding-top: 8px;
}
.btn-submit { background: var(--success); color: #fff; padding: 14px 36px; font-size: 16px; }
.btn-submit:hover, .btn-submit:focus { background: #188457; color: #fff; box-shadow: 0 10px 24px rgba(31, 157, 107, .35); }
.form-note { text-align: center; color: var(--muted); margin: 24px 0 0; }
.form-note i { color: var(--sea); margin-right: 6px; }
@media (max-width: 400px) { .g-recaptcha { transform: scale(.85); transform-origin: 0 0; } }

/* ---------- Contact ---------- */
.contact-card { padding: 0; overflow: hidden; }
.contact-card .row { margin: 0; display: flex; flex-wrap: wrap; }
.contact-card .map-col { padding: 0; min-height: 360px; }
.map-frame { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }
.contact-info { padding: 40px; }
.contact-info h2 { margin-top: 0; font-size: 30px; }
.contact-item { display: flex; gap: 16px; margin-bottom: 22px; }
.contact-item:last-child { margin-bottom: 0; }
.contact-item .icon {
	flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px;
	background: var(--sea-light); color: var(--sea);
	display: inline-flex; align-items: center; justify-content: center; font-size: 18px;
}
.contact-item .k { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.contact-item .v { color: var(--ink); font-weight: 500; word-break: break-word; }
.contact-item .v p { margin: 0; }
@media (max-width: 991px) {
	.contact-card .row { display: block; }
	.contact-info { padding: 28px; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .7); text-align: center; padding: 28px 0; font-size: 14px; }
.site-footer a { color: #fff; }

/* ---------- Home page ---------- */
.hero-home {
	min-height: 100vh;
	align-items: center;
	text-align: center;
	padding: 120px 0 100px;
}
.hero-home::before {
	background: linear-gradient(180deg, rgba(11, 37, 69, .55) 0%, rgba(11, 37, 69, .35) 45%, rgba(11, 37, 69, .85) 100%);
}
.hero-home h1 { font-size: clamp(38px, 7vw, 76px); }
.hero-home p.lead { margin-left: auto; margin-right: auto; font-size: clamp(18px, 2.2vw, 22px); }
.hero-logo {
	width: 110px; height: 110px; object-fit: contain;
	margin-bottom: 22px;
	filter: drop-shadow(0 8px 20px rgba(0, 0, 0, .35));
}
.scroll-cue {
	position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%);
	color: rgba(255, 255, 255, .8); font-size: 34px; line-height: 1;
	animation: piyc-bob 2s ease-in-out infinite;
}
.scroll-cue:hover, .scroll-cue:focus { color: #fff; }
@keyframes piyc-bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }
@media (prefers-reduced-motion: reduce) { .scroll-cue { animation: none; } html { scroll-behavior: auto; } }

.kicker {
	display: block; text-transform: uppercase; letter-spacing: .14em;
	font-size: 13px; font-weight: 600; color: var(--sea); margin-bottom: 10px;
}
.welcome { max-width: 760px; margin: 0 auto; text-align: center; }
.welcome h2 { font-size: clamp(28px, 3.5vw, 40px); margin: 0 0 20px; }
.welcome p { font-size: 18px; color: var(--muted); line-height: 1.8; }

.section-tint { background: #eaf1f7; }

/* Feature cards */
.feature-row { display: flex; flex-wrap: wrap; }
.feature-row > [class*="col-"] { display: flex; margin-bottom: 30px; }
.feature-card {
	background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
	overflow: hidden; width: 100%; display: flex; flex-direction: column;
	transition: transform .2s, box-shadow .2s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-img { display: block; width: 100%; height: 190px; object-fit: cover; background: var(--navy-2); }
.feature-body { padding: 0 28px 30px; text-align: center; flex: 1; display: flex; flex-direction: column; align-items: center; }
.feature-icon {
	width: 56px; height: 56px; border-radius: 50%; margin-top: -28px; margin-bottom: 14px;
	background: var(--sea); color: #fff; font-size: 22px;
	display: inline-flex; align-items: center; justify-content: center;
	box-shadow: 0 0 0 5px #fff;
}
.feature-body h3 { margin: 0 0 10px; font-size: 24px; }
.feature-body p { color: var(--muted); flex: 1; }
.feature-body .btn { margin-top: 10px; }
@media (max-width: 767px) { .feature-row { display: block; } }

/* Document lists (newsletters, flyers) */
.doc-card { height: 100%; margin-bottom: 30px; }
.doc-card h3 { margin: 0 0 18px; font-size: 24px; }
.doc-card h3 .fa { color: var(--sea); margin-right: 8px; }
.doc-list { list-style: none; margin: 0; padding: 0; }
.doc-list li + li { border-top: 1px solid var(--line); }
.doc-list a {
	display: flex; align-items: center; gap: 14px;
	padding: 13px 10px; color: var(--ink); font-weight: 500;
	border-radius: 8px; transition: background .15s, color .15s;
}
.doc-list a:hover, .doc-list a:focus { background: var(--sea-light); color: var(--navy); text-decoration: none; }
.doc-list a span { flex: 1; }
.doc-list .fa-file-text-o { color: var(--sea); font-size: 18px; }
.doc-list .fa-external-link { color: #9aa8b6; font-size: 13px; }
.doc-empty { color: var(--muted); font-style: italic; margin: 0; }

/* ---------- Long-form text (History and similar pages) ---------- */
.prose { max-width: 760px; margin: 0 auto; font-size: 18px; line-height: 1.8; color: #2c3a48; }
.prose p { margin: 0 0 1.2em; }
.prose p:last-child { margin-bottom: 0; }
.prose h2, .prose h3 { margin: 1.6em 0 .6em; }
.prose img { max-width: 100%; height: auto; border-radius: 10px; }
@media (max-width: 767px) { .prose { font-size: 17px; } }

/* ---------- "More about the club" links ---------- */
.about-links {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 16px;
}
.about-link {
	display: flex; align-items: center; gap: 14px;
	background: #fff; border-radius: 12px; box-shadow: var(--shadow);
	padding: 16px 18px; color: var(--ink); font-weight: 600;
	transition: transform .15s, box-shadow .15s, color .15s;
}
.about-link:hover, .about-link:focus { transform: translateY(-2px); box-shadow: var(--shadow-lg); color: var(--navy); text-decoration: none; }
.about-link .icon {
	flex: 0 0 40px; width: 40px; height: 40px; border-radius: 10px;
	background: var(--sea-light); color: var(--sea);
	display: inline-flex; align-items: center; justify-content: center;
}
.about-link .name { flex: 1; }
.about-link .arrow { color: #9aa8b6; font-size: 18px; transition: transform .15s; }
.about-link:hover .arrow { transform: translateX(3px); color: var(--sea); }

/* ---------- Photo grid of people (Officers, Past Commodores) ---------- */
.grid-note { text-align: center; color: var(--muted); font-size: 14px; margin: 0 0 28px; }
.grid-note .fa { color: var(--sea); margin-right: 4px; }
.people-grid {
	display: flex; flex-wrap: wrap; justify-content: center;
	gap: 28px 22px;
}
.person { margin: 0; text-align: center; width: 180px; }
.person-photo {
	position: relative; display: block;
	aspect-ratio: 2 / 3; max-width: 200px; margin: 0 auto 14px;
	border-radius: 12px; overflow: hidden;
	background: var(--sea-light);
	box-shadow: 0 6px 18px rgba(11, 37, 69, .12);
}
.person-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.person-photo .zoom {
	position: absolute; inset: 0;
	display: flex; align-items: center; justify-content: center;
	background: rgba(11, 37, 69, .45); color: #fff; font-size: 26px;
	opacity: 0; transition: opacity .2s;
}
.person-photo:hover img, .person-photo:focus img { transform: scale(1.05); }
.person-photo:hover .zoom, .person-photo:focus .zoom { opacity: 1; }
.person figcaption { line-height: 1.35; }
.person-role {
	display: block; font-size: 12px; font-weight: 600; letter-spacing: .1em;
	text-transform: uppercase; color: var(--sea); margin-bottom: 4px;
}
.person-name { display: block; font-weight: 600; color: var(--ink); font-size: 16px; }
.person-meta { display: block; font-size: 14px; color: var(--sea); font-weight: 600; margin-top: 3px; }
@media (max-width: 480px) {
	.people-grid { gap: 22px 14px; }
	.person { width: calc(50% - 7px); }
}

/* Empty state for lists with nothing to show */
.empty-state { text-align: center; padding: 30px 0; color: var(--muted); }
.empty-state .fa { font-size: 40px; color: #c3d3e0; margin-bottom: 12px; display: block; }
.empty-state p { margin: 0; font-size: 17px; }

/* ---------- Photo backdrop behind page content ----------
   Add class="photo-backdrop" to <main> and set the image inline:
   <main class="photo-backdrop" style="background-image: url('/files/...');"> */
.photo-backdrop {
	position: relative;
	background: var(--navy) center / cover no-repeat fixed;
	padding-bottom: 20px;
}
.photo-backdrop::before {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(11, 37, 69, .92) 0%, rgba(11, 37, 69, .72) 40%, rgba(11, 37, 69, .9) 100%);
}
.photo-backdrop > * { position: relative; }
/* iOS and many phones don't support fixed backgrounds well */
@media (max-width: 1025px) { .photo-backdrop { background-attachment: scroll; } }

.photo-backdrop .section-title h2 { color: #fff; }
.photo-backdrop .section-title p { color: rgba(255, 255, 255, .8); }

/* Frosted-glass card */
.photo-backdrop .card {
	background: rgba(255, 255, 255, .1);
	border: 1px solid rgba(255, 255, 255, .18);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
	color: #fff;
}
.photo-backdrop .grid-note { color: rgba(255, 255, 255, .75); }
.photo-backdrop .grid-note .fa { color: #7fd0ec; }
.photo-backdrop .person-name { color: #fff; }
.photo-backdrop .person-role,
.photo-backdrop .person-meta { color: #7fd0ec; }
.photo-backdrop .person-photo { box-shadow: 0 10px 26px rgba(0, 0, 0, .35); }
.photo-backdrop .empty-state, .photo-backdrop .empty-state p { color: rgba(255, 255, 255, .8); }
.photo-backdrop .empty-state .fa { color: rgba(255, 255, 255, .35); }
.photo-backdrop .prose { color: rgba(255, 255, 255, .92); }
.photo-backdrop .kicker { color: #7fd0ec; }

/* Keep the footer at the bottom of the window on short pages */
body { display: flex; flex-direction: column; min-height: 100vh; }
body > main { flex: 1 0 auto; }
body > .navbar-fixed-top { flex: none; }

/* ---------- Eisert Awards ---------- */
.award-intro { display: flex; gap: 44px; align-items: flex-start; }
.award-intro .prose { margin: 0; flex: 1; max-width: none; }
.award-portrait { flex: 0 0 220px; margin: 0; text-align: center; }
.award-portrait img {
	width: 220px; height: auto; display: block;
	border-radius: 12px;
	box-shadow: 0 14px 34px rgba(0, 0, 0, .35);
	border: 4px solid rgba(255, 255, 255, .9);
}
.award-portrait figcaption { margin-top: 12px; font-weight: 600; font-size: 15px; color: #7fd0ec; }
.award-title { margin-top: 0 !important; font-size: clamp(24px, 3vw, 32px); }
.photo-backdrop .award-title { color: #fff; }
@media (max-width: 767px) {
	.award-intro { flex-direction: column; align-items: center; gap: 24px; }
	.award-portrait { flex: none; }
	.award-portrait img { width: 180px; }
}

/* Recipient list: year + name */
.recipients {
	list-style: none; margin: 0 auto; padding: 0; max-width: 900px;
	display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px 20px;
}
.recipients li {
	display: flex; align-items: center; gap: 14px;
	padding: 12px 14px; border-radius: 10px;
	background: var(--sand);
}
.recipients .year {
	flex: 0 0 auto; min-width: 64px; text-align: center;
	font-weight: 700; font-size: 14px; letter-spacing: .04em;
	padding: 5px 10px; border-radius: 999px;
	background: var(--sea); color: #fff;
}
.recipients .name { font-weight: 500; color: var(--ink); }
.photo-backdrop .recipients li { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .1); }
.photo-backdrop .recipients .name { color: #fff; }

/* ---------- Photo gallery ---------- */
.gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
	gap: 14px;
}
.gallery-item {
	position: relative; display: block; overflow: hidden;
	aspect-ratio: 3 / 2; border-radius: 10px;
	background: rgba(255, 255, 255, .08);
	box-shadow: 0 8px 22px rgba(0, 0, 0, .25);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.gallery-item:hover img, .gallery-item:focus img { transform: scale(1.06); }
.gallery-caption {
	position: absolute; left: 0; right: 0; bottom: 0;
	padding: 26px 12px 10px;
	background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .75) 100%);
	color: #fff; font-size: 14px; font-weight: 500; line-height: 1.3;
	text-align: left;
}
@media (max-width: 480px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; } .gallery-caption { font-size: 12px; padding: 20px 8px 6px; } }

/* Full-screen photo viewer */
body.lb-open { overflow: hidden; }
.lightbox {
	position: fixed; inset: 0; z-index: 2000;
	background: rgba(5, 15, 30, .94);
	display: flex; align-items: center; justify-content: center;
	padding: 60px 70px;
}
.lightbox[hidden] { display: none; }
.lb-figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lb-img { max-width: 100%; max-height: calc(100vh - 160px); object-fit: contain; border-radius: 6px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.lb-caption { display: flex; gap: 16px; justify-content: space-between; width: 100%; color: rgba(255, 255, 255, .9); margin-top: 14px; font-size: 15px; }
.lb-count { color: rgba(255, 255, 255, .55); white-space: nowrap; }
.lb-btn {
	position: absolute; border: 0; cursor: pointer;
	width: 48px; height: 48px; border-radius: 50%;
	background: rgba(255, 255, 255, .12); color: #fff; font-size: 26px; line-height: 1;
	display: flex; align-items: center; justify-content: center;
	transition: background .15s;
}
.lb-btn:hover, .lb-btn:focus { background: rgba(255, 255, 255, .25); outline: 0; }
.lb-close { top: 16px; right: 16px; font-size: 20px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
@media (max-width: 767px) {
	.lightbox { padding: 60px 10px 80px; }
	.lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; }
	.lb-prev { left: calc(50% - 60px); }
	.lb-next { right: calc(50% - 60px); }
}

/* ---------- Burgees (flags shown whole, never cropped) ---------- */
.burgee-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
	gap: 18px;
}
.burgee-item {
	display: flex; flex-direction: column;
	background: #fff; border-radius: 12px; overflow: hidden;
	box-shadow: 0 8px 22px rgba(0, 0, 0, .25);
	color: var(--ink); text-decoration: none;
	transition: transform .2s, box-shadow .2s;
}
.burgee-item:hover, .burgee-item:focus { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(0, 0, 0, .35); text-decoration: none; color: var(--navy); }
.burgee-img {
	display: flex; align-items: center; justify-content: center;
	aspect-ratio: 3 / 2; padding: 16px;
	background: linear-gradient(180deg, #f7fafc 0%, #e9f0f6 100%);
}
.burgee-img img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .15)); }
.burgee-name {
	padding: 10px 12px 12px; text-align: center;
	font-size: 14px; font-weight: 600; line-height: 1.3;
	border-top: 1px solid var(--line);
}
@media (max-width: 480px) { .burgee-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

/* Links inside frosted-glass cards */
.photo-backdrop .card a:not(.btn) { color: #8fd8f2; text-decoration: underline; text-underline-offset: 2px; }
.photo-backdrop .card a:not(.btn):hover { color: #fff; }
.photo-backdrop .card .person-photo,
.photo-backdrop .card .gallery-item,
.photo-backdrop .card .burgee-item { text-decoration: none; }
.photo-backdrop .contact-item .v { color: #fff; }
.photo-backdrop .contact-item .k { color: rgba(255, 255, 255, .65); }
.photo-backdrop .contact-item .icon { background: rgba(255, 255, 255, .12); color: #8fd8f2; }

/* ---------- Join Us ---------- */
.join-layout { display: flex; gap: 40px; align-items: flex-start; }
.join-layout .prose { flex: 1; margin: 0; max-width: none; }
.join-contact {
	flex: 0 0 300px;
	padding: 26px; border-radius: 12px;
	background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
}
.join-contact h3 { margin: 0 0 20px; font-size: 22px; color: #fff; }
@media (max-width: 991px) {
	.join-layout { flex-direction: column; gap: 28px; }
	.join-contact { flex: none; width: 100%; }
}

/* Information cards */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.info-card { padding: 30px; }
.info-icon {
	width: 52px; height: 52px; border-radius: 14px;
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--sea); color: #fff; font-size: 22px; margin-bottom: 16px;
}
.info-card h3 { margin: 0 0 12px; font-size: 22px; }
.photo-backdrop .info-card h3 { color: #fff; }
.info-body { line-height: 1.7; }
.info-body p:last-child { margin-bottom: 0; }
.info-note { margin: 14px 0 0; font-size: 14px; font-style: italic; opacity: .8; }

/* Call-to-action band */
.cta-band {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
	padding: 34px 40px; border-radius: var(--radius);
	background: linear-gradient(135deg, var(--sea) 0%, var(--navy-2) 100%);
	box-shadow: var(--shadow-lg); color: #fff;
}
.cta-band h2 { color: #fff; margin: 0 0 6px; font-size: clamp(24px, 3vw, 32px); }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .85); }
.cta-band .btn-sea { background: #fff; color: var(--navy); }
.cta-band .btn-sea:hover, .cta-band .btn-sea:focus { background: var(--sea-light); color: var(--navy); }
@media (max-width: 767px) { .cta-band { padding: 26px; } }

/* ---------- Members Area gateway ---------- */
.gate-card { max-width: 620px; margin: 0 auto; text-align: center; padding: 46px 40px; }
.gate-icon {
	width: 76px; height: 76px; border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--sea); color: #fff; font-size: 32px;
	box-shadow: 0 0 0 8px rgba(27, 127, 166, .25);
	margin-bottom: 20px;
}
.gate-card h2 { margin: 0 0 10px; font-size: clamp(26px, 3.4vw, 34px); }
.photo-backdrop .gate-card h2 { color: #fff; }
.gate-note { font-size: 17px; opacity: .85; margin-bottom: 26px; }
.btn-lg-pill { padding: 15px 32px; font-size: 17px; }
.btn-lg-pill .fa { margin-left: 6px; }
.gate-help {
	display: flex; align-items: flex-start; justify-content: center; gap: 10px;
	margin-top: 32px; padding-top: 22px;
	border-top: 1px solid rgba(255, 255, 255, .15);
	font-size: 15px; opacity: .9; text-align: left;
}
.gate-help .fa { color: #8fd8f2; margin-top: 4px; }
.gate-help a { display: inline-block; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; vertical-align: bottom; }
@media (max-width: 767px) { .gate-card { padding: 34px 22px; } .btn-lg-pill { padding: 14px 22px; font-size: 16px; } }

/* Solid white card on a photo backdrop (for embedded content and lists) */
.photo-backdrop .card.card-solid {
	background: #fff; border: 0; color: var(--ink);
	-webkit-backdrop-filter: none; backdrop-filter: none;
	box-shadow: 0 20px 50px rgba(0, 0, 0, .3);
}
.photo-backdrop .card.card-solid h2,
.photo-backdrop .card.card-solid h3 { color: var(--navy); }
.photo-backdrop .card.card-solid a:not(.btn) { color: var(--sea); text-decoration: none; }
.photo-backdrop .card.card-solid a:not(.btn):hover { color: var(--navy); }
.photo-backdrop .card.card-solid .doc-list a { color: var(--ink); }
.photo-backdrop .card.card-solid .doc-list a:hover { color: var(--navy); }
.photo-backdrop .card.card-solid .doc-empty { color: var(--muted); }

/* ---------- Events & News ---------- */
.events-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; align-items: start; }
.events-docs { display: grid; gap: 24px; }
.events-docs .doc-card { margin-bottom: 0; }
@media (max-width: 991px) { .events-layout { grid-template-columns: 1fr; } }

.card-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; margin-bottom: 18px; }
.card-head h2 { margin: 0; font-size: 24px; }
.card-head h2 .fa { color: var(--sea); margin-right: 8px; }
.card-head-link { font-size: 14px; font-weight: 600; white-space: nowrap; }
.card-head-link .fa { font-size: 12px; margin-left: 4px; }

.calendar-card { padding: 28px; }
.calendar-frame { border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.calendar-frame iframe { display: block; width: 100%; height: 620px; border: 0; }
@media (max-width: 767px) { .calendar-card { padding: 18px; } .calendar-frame iframe { height: 520px; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.contact-tile { padding: 30px; }
.contact-tile-wide { grid-column: 1 / -1; }
.contact-tile h3 { margin: 0 0 8px; font-size: 22px; }
.photo-backdrop .contact-tile h3 { color: #fff; }
.tile-main { font-size: 18px; font-weight: 500; margin: 0; line-height: 1.6; overflow-wrap: anywhere; }
.tile-main .fa-external-link { font-size: 13px; opacity: .7; margin-left: 4px; }
.facebook-tile { display: block; text-decoration: none !important; color: inherit; transition: transform .2s, background .2s; }
.facebook-tile:hover, .facebook-tile:focus { transform: translateY(-3px); color: inherit; }
.photo-backdrop .facebook-tile:hover { background: rgba(255, 255, 255, .16); }
.facebook-tile .info-icon { background: #1877f2; }
@media (max-width: 991px) { .contact-grid { grid-template-columns: 1fr; } }

/* Warning notice */
.notice {
	display: flex; gap: 12px; align-items: flex-start;
	margin-top: 18px; padding: 14px 18px; border-radius: 10px;
	background: rgba(255, 196, 0, .14); border: 1px solid rgba(255, 196, 0, .45);
	color: #ffe7a3; font-size: 15px; line-height: 1.55;
}
.notice .fa { color: #ffc400; font-size: 18px; margin-top: 2px; }
.notice strong { color: #fff3cc; }
.card-solid .notice, .notice.notice-light { background: #fff8e1; border-color: #ffd54f; color: #6d4c00; }
.card-solid .notice strong, .notice.notice-light strong { color: #4a3300; }

/* ---------- Member Login ---------- */
.login-page { display: flex; align-items: center; padding: 120px 0 70px; }
.login-page > .container { flex: 0 1 auto; }
@media (max-width: 767px) { .login-page > .container { width: 100%; } }
.login-wrap { display: flex; gap: 60px; align-items: center; justify-content: space-between; }
.login-intro { flex: 1; color: #fff; max-width: 480px; }
.login-intro .eyebrow {
	display: inline-block; text-transform: uppercase; letter-spacing: .14em; font-size: 13px; font-weight: 600;
	background: rgba(255, 255, 255, .15); border: 1px solid rgba(255, 255, 255, .3);
	border-radius: 999px; padding: 6px 14px; margin-bottom: 18px;
}
.login-intro h1 { color: #fff; font-size: clamp(36px, 5vw, 54px); margin: 0 0 12px; line-height: 1.1; }
.login-intro .lead { color: rgba(255, 255, 255, .88); margin-bottom: 28px; }
.login-links { list-style: none; margin: 0; padding: 0; }
.login-links li + li { margin-top: 6px; }
.login-links a {
	display: inline-flex; align-items: center; gap: 12px;
	color: rgba(255, 255, 255, .9); font-weight: 500; padding: 6px 0;
}
.login-links a:hover, .login-links a:focus { color: #fff; text-decoration: none; }
.login-links .fa { width: 34px; height: 34px; border-radius: 10px; background: rgba(255, 255, 255, .12); display: inline-flex; align-items: center; justify-content: center; color: #8fd8f2; }
.login-links small { opacity: .7; }

.login-card { flex: 0 0 440px; padding: 40px; }
.login-card h2 { margin: 0 0 6px; font-size: 30px; }
.login-sub { color: var(--muted); margin-bottom: 24px; }
.login-form label { font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.input-icon { position: relative; }
.input-icon > .fa { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: #9aa8b6; pointer-events: none; }
.login-form .form-control {
	height: 50px; padding-left: 42px; border: 1px solid var(--line); border-radius: 10px;
	background: #fbfcfe; box-shadow: none; font-size: 16px;
	transition: border-color .15s, box-shadow .15s;
}
.login-form .form-control:focus { border-color: var(--sea); background: #fff; box-shadow: 0 0 0 4px rgba(27, 127, 166, .15); }
.login-form #mypassword { padding-right: 48px; }
.pw-toggle {
	position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
	width: 38px; height: 38px; border: 0; border-radius: 8px; background: transparent; color: #7b8a99;
}
.pw-toggle:hover, .pw-toggle:focus { background: var(--sea-light); color: var(--navy); outline: 0; }
.btn-block-pill { display: block; width: 100%; padding: 14px; font-size: 16px; margin-top: 8px; }
.btn-block-pill .fa { margin-left: 6px; }
.login-alert {
	display: flex; gap: 12px; align-items: flex-start;
	padding: 13px 16px; border-radius: 10px; margin-bottom: 20px;
	background: #fdecee; border: 1px solid #f5b5bd; color: #8a1c2b; font-size: 15px; line-height: 1.5;
}
.login-alert .fa { font-size: 18px; margin-top: 2px; color: #c62839; }
.photo-backdrop .card.card-solid .login-alert a { color: #8a1c2b; text-decoration: underline; }
.login-card noscript .notice { margin: 0 0 20px; }
.login-foot { text-align: center; margin: 20px 0 0; font-size: 14px; }
@media (max-width: 991px) {
	.login-wrap { flex-direction: column-reverse; gap: 36px; align-items: stretch; }
	.login-card { flex: none; width: 100%; max-width: 480px; margin: 0 auto; }
	.login-intro { max-width: 480px; margin: 0 auto; width: 100%; }
}
@media (max-width: 767px) { .login-page { padding: 96px 0 50px; } .login-card { padding: 28px 22px; } }
/* Login: lighter tint so the background photo shows through more */
.login-page::before { background: linear-gradient(90deg, rgba(11, 37, 69, .82) 0%, rgba(11, 37, 69, .45) 60%, rgba(11, 37, 69, .35) 100%); }
@media (max-width: 991px) { .login-page::before { background: linear-gradient(180deg, rgba(11, 37, 69, .55) 0%, rgba(11, 37, 69, .8) 100%); } }

/* ---------- Help / issue form ---------- */
.help-intro { margin: 0 0 28px; }
.help-intro a { font-weight: 600; }
.form-title { margin: 0 0 6px; font-size: clamp(26px, 3.2vw, 32px); }
.form-sub { color: var(--muted); margin-bottom: 26px; }
.form-note-light { color: rgba(255, 255, 255, .85); }
.form-note-light .fa { color: #8fd8f2; }

/* ---------- Registration ---------- */
.reg-steps { list-style: none; margin: 0 0 26px; padding: 0; }
.reg-steps li { display: flex; align-items: center; gap: 12px; color: rgba(255, 255, 255, .7); padding: 6px 0; }
.reg-steps li span {
	flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center;
	border: 2px solid rgba(255, 255, 255, .35); font-weight: 700; font-size: 14px;
}
.reg-steps li.current { color: #fff; font-weight: 600; }
.reg-steps li.current span { background: var(--sea); border-color: var(--sea); color: #fff; }
.reg-steps li.done span { background: rgba(255, 255, 255, .2); border-color: transparent; color: #fff; }
.field-help { font-size: 13px; color: var(--muted); margin: 6px 0 0; line-height: 1.5; }
.reg-next { margin-top: 16px; text-align: center; }
.pw-match.ok { color: var(--success); font-weight: 600; }
.pw-match.bad { color: #c62839; }
.reg-status { text-align: center; }
.reg-status h2 { margin: 0 0 12px; }
.reg-status p { color: #3c4a58; }
.reg-status .notice { text-align: left; margin: 18px 0 22px; }
.reg-status .btn-block-pill + .btn-block-pill { margin-top: 10px; }
.reg-icon {
	width: 70px; height: 70px; border-radius: 50%; margin-bottom: 18px;
	display: inline-flex; align-items: center; justify-content: center; font-size: 30px; color: #fff;
}
.reg-icon.ok { background: var(--success); box-shadow: 0 0 0 8px rgba(31, 157, 107, .15); }
.reg-icon.warn { background: #e0a100; box-shadow: 0 0 0 8px rgba(224, 161, 0, .15); }
.reg-icon.info { background: var(--sea); box-shadow: 0 0 0 8px rgba(27, 127, 166, .15); }
.btn-outline { background: #fff; color: var(--navy); border: 2px solid var(--line); }
.btn-outline:hover, .btn-outline:focus { border-color: var(--sea); color: var(--navy); }
.finish-card { max-width: 500px; margin: 0 auto; }

/* ---------- Sponsors (business cards shown whole, never cropped) ---------- */
.sponsor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.sponsor-item {
	display: flex; flex-direction: column;
	background: #fff; border-radius: 12px; overflow: hidden;
	box-shadow: 0 8px 22px rgba(0, 0, 0, .25);
	color: var(--ink); text-decoration: none !important;
	transition: transform .2s, box-shadow .2s;
}
a.sponsor-item:hover, a.sponsor-item:focus { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(0, 0, 0, .35); color: var(--navy); }
.sponsor-img {
	display: flex; align-items: center; justify-content: center;
	aspect-ratio: 350 / 205; padding: 14px;
	background: linear-gradient(180deg, #f7fafc 0%, #e9f0f6 100%);
}
.sponsor-img img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; border-radius: 4px; box-shadow: 0 3px 10px rgba(0, 0, 0, .12); }
.sponsor-body { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px 14px; border-top: 1px solid var(--line); }
.sponsor-name { font-weight: 600; font-size: 15px; line-height: 1.3; color: var(--ink); }
.sponsor-link { flex: none; font-size: 13px; font-weight: 600; color: var(--sea); white-space: nowrap; }
.sponsor-link .fa { font-size: 11px; margin-left: 3px; }
@media (max-width: 480px) { .sponsor-grid { grid-template-columns: 1fr; } }

/* ---------- 2FA code entry ---------- */
.login-form .code-input {
	height: 62px; padding-left: 16px; text-align: center;
	font-size: 30px; font-weight: 700; letter-spacing: .45em;
	font-variant-numeric: tabular-nums;
}
.login-form .code-input::placeholder { letter-spacing: .3em; color: #c3ccd6; }
.code-help { text-align: center; margin-top: 18px; }
.code-help .field-help { margin: 8px 0; }
.resend-form { margin: 4px 0; }
.link-btn {
	border: 0; background: none; padding: 6px 10px; border-radius: 8px;
	color: var(--sea); font-weight: 600; font-size: 14px; cursor: pointer;
}
.link-btn:hover, .link-btn:focus { background: var(--sea-light); color: var(--navy); outline: 0; }
.link-btn[disabled] { color: #9aa8b6; background: none; cursor: default; }
