/*
Theme Name: Lake Ronkonkoma Heritage Association
Theme URI: https://lake-ronkonkoma-heritage.billyzangerle.chatgpt.site/
Author: Double Stack Web Design
Description: A custom production theme for the Lake Ronkonkoma Heritage Association.
Version: 1.3.4
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: lrha
*/

:root {
	--navy: #062f4f;
	--navy-deep: #031f35;
	--navy-soft: #0d466e;
	--gold: #d6a334;
	--gold-light: #f1cf79;
	--cream: #f5efdf;
	--paper: #fbf8ef;
	--ink: #1b2a34;
	--muted: #61707a;
	--line: #d8cfb9;
	--white: #fffdf8;
	--radius: 4px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Source Sans 3", Arial, sans-serif; font-size: 17px; }
::selection { background: var(--gold-light); color: var(--navy-deep); }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
img { max-width: 100%; height: auto; }
main { min-height: 60vh; }
.site-container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
h1, h2, h3, .footer-title, .brand strong { font-family: "Cormorant Garamond", Georgia, serif; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(3rem, 6vw, 5.75rem); line-height: .92; letter-spacing: -.035em; }
h2 { font-size: clamp(2.25rem, 4vw, 3.5rem); line-height: 1; letter-spacing: -.02em; }
h3 { font-size: 1.8rem; line-height: 1.1; }
p { line-height: 1.7; }
.skip-link { position: fixed; left: 12px; top: -100px; z-index: 9999; background: white; color: var(--navy); padding: 12px 16px; }
.skip-link:focus { top: 12px; }
.screen-reader-text { clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute; width: 1px; white-space: nowrap; }

.utility-bar { background: var(--navy-deep); color: #dce9ef; font-size: .79rem; letter-spacing: .05em; }
.utility-inner { min-height: 34px; display: flex; justify-content: space-between; align-items: center; }
.utility-inner a { color: var(--gold-light); font-weight: 700; text-transform: uppercase; }
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 12px #08263b10; }
.admin-bar .site-header { top: 32px; }
.nav-shell { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 260px; }
.brand > img { width: 58px; height: 58px; flex: 0 0 58px; object-fit: cover; border-radius: 50%; display: block; }
.brand-copy { display: flex; flex-direction: column; }
.brand strong { color: var(--navy); font-size: 1.22rem; line-height: 1; white-space: nowrap; }
.brand small { color: #8b6415; text-transform: uppercase; letter-spacing: .12em; font-size: .7rem; font-weight: 800; margin-top: 6px; white-space: nowrap; }
.primary-navigation { margin-left: auto; }
.primary-menu { display: flex; align-items: center; gap: 21px; list-style: none; padding: 0; margin: 0; }
.primary-menu a { position: relative; color: #2f4756; font-size: .86rem; font-weight: 700; padding: 35px 0 34px; white-space: nowrap; }
.primary-menu a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 24px; height: 2px; background: var(--gold); transition: right .2s ease; }
.primary-menu a:hover::after, .primary-menu .current-menu-item a::after { right: 0; }
.menu-button { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; }
.menu-button span { display: block; height: 2px; margin: 5px 0; background: var(--navy); }

.hero-section, .page-hero { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(135deg, var(--navy-deep), var(--navy) 58%, #0a456d); color: var(--white); }
.hero-section h1, .page-hero h1, .support-callout h2, .sidebar-card h2, .calendar-header h2 { color: var(--white); }
.hero-section::after, .page-hero::after { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(circle at 75% 30%, #3c739550, transparent 35%); }
.paper-grain { position: absolute; inset: 0; z-index: -1; opacity: .16; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E"); }
.hero-grid { min-height: 650px; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 50px; padding-block: 70px; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow { color: var(--gold-light); font-size: .76rem; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; margin-bottom: 18px; }
.eyebrow-dark { color: #8b6415; }
.hero-copy h1 { max-width: 760px; }
.hero-lede { max-width: 650px; color: #e2edf2; font-size: 1.18rem; margin: 24px 0 32px; }
.hero-emblem { position: relative; display: grid; place-items: center; }
.hero-emblem::before { content: ""; position: absolute; width: 80%; aspect-ratio: 1; border-radius: 50%; background: #f1cf7916; box-shadow: 0 0 90px #eab84a20; }
.hero-emblem img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; border-radius: 50%; filter: drop-shadow(0 22px 30px #00111caa); position: relative; }
.button-row { display: flex; gap: 14px; flex-wrap: wrap; }
.button { min-height: 48px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid transparent; border-radius: var(--radius); font-weight: 800; transition: transform .2s ease, background .2s ease, border .2s ease; cursor: pointer; }
.button:hover { transform: translateY(-2px); }
.button-gold { background: var(--gold); color: var(--navy-deep); box-shadow: 0 8px 25px #0003; }
.button-gold:hover { background: var(--gold-light); }
.button-outline-light { border-color: #ffffff80; color: white; }
.button-outline-light:hover { background: #ffffff12; border-color: white; }
.button-navy { background: var(--navy); color: white; }

.welcome-band { background: var(--gold); padding: 38px 0; color: var(--navy-deep); }
.welcome-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: center; }
.welcome-grid h2 { margin-bottom: 0; font-size: clamp(2rem, 3vw, 3rem); }
.welcome-grid p:last-child { margin: 0; font-size: 1.03rem; }
.section { padding-block: 100px; }
.section-cream { background: var(--cream); border-block: 1px solid var(--line); }
.section-heading { max-width: 720px; margin-bottom: 45px; }
.section-heading.centered { text-align: center; margin-inline: auto; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature-card { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--gold); padding: 34px; box-shadow: 0 15px 50px #122e4010; }
.feature-card h3 { color: var(--navy); margin: 20px 0 12px; }
.feature-card p { color: var(--muted); min-height: 112px; }
.feature-card a, .text-link { display: inline-flex; align-items: center; gap: 8px; color: #845d0c; font-weight: 800; }
.icon-seal { width: 52px; height: 52px; display: grid; place-items: center; background: var(--navy); color: var(--gold-light); border-radius: 50%; box-shadow: 0 0 0 4px var(--cream), 0 0 0 5px var(--gold); font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.5rem; font-weight: 700; }
.split-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.historical-frame { background: #d8ccb0; padding: 14px; transform: rotate(-1deg); box-shadow: 0 22px 40px #4b3b201c; }
.frame-inner { min-height: 350px; display: grid; place-items: center; align-content: center; text-align: center; padding: 50px; color: #e9dfca; border: 1px solid #cbbd9b; background: linear-gradient(#0c3c5bde, #082a43ee), linear-gradient(45deg, transparent 48%, #ffffff08 49%, #ffffff08 51%, transparent 52%); }
.frame-inner p { max-width: 320px; margin: 18px 0 0; }
.frame-icon, .large-symbol { display: block; color: var(--gold); font-size: 2.7rem; line-height: 1; }
.split-copy > p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; }
.support-callout { background: var(--navy); color: white; padding: 55px 0; border-top: 5px solid var(--gold); }
.support-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; }
.support-inner h2 { font-size: clamp(2rem, 3vw, 3rem); margin: 0; }
.support-inner .eyebrow { margin-bottom: 9px; }
.support-description { max-width: 72ch; margin: 18px 0 0; line-height: 1.7; }
.callout-icon { color: var(--gold-light); font-size: 2.5rem; }

.page-hero-inner { padding-block: 92px; max-width: 920px; margin-inline: auto; }
.page-hero h1 { font-size: clamp(3rem, 5vw, 4.8rem); margin-bottom: 20px; }
.page-hero p:last-child { max-width: 680px; color: #dbe8ee; font-size: 1.12rem; }
.content-grid { display: grid; grid-template-columns: 1.4fr .6fr; gap: 70px; }
.prose h2 { color: var(--navy); margin-top: 40px; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: #4d5d67; font-size: 1.05rem; }
.editor-content { margin-top: 48px; padding-top: 35px; border-top: 1px solid var(--line); }
.sidebar-card { background: var(--navy); color: white; padding: 32px; border-top: 5px solid var(--gold); height: fit-content; }
.sidebar-card h2 { font-size: 2rem; }
.sidebar-card p { color: #d9e5ea; }
.sidebar-note { margin-top: 24px; }
.detail-list { list-style: none; padding: 0; margin: 0; }
.detail-list li { padding: 15px 0; border-bottom: 1px solid #ffffff24; display: flex; gap: 10px; align-items: flex-start; }
.detail-list li > span:first-child { color: var(--gold-light); }

.empty-state { border: 1px dashed #aa9d82; background: #fffdf8; padding: 52px; text-align: center; }
.empty-state .large-symbol, .calendar-empty .large-symbol { margin-bottom: 16px; }
.empty-state h2 { color: var(--navy); font-size: 2.25rem; }
.calendar-shell { border: 1px solid var(--line); background: white; }
.calendar-header { padding: 22px 26px; background: var(--navy); color: white; display: flex; justify-content: space-between; align-items: center; }
.calendar-header h2 { font-size: 2rem; margin: 0; }
.calendar-header span { color: var(--gold-light); }
.calendar-empty { padding: 70px 30px; text-align: center; color: var(--muted); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-placeholder { min-height: 260px; border: 1px solid var(--line); background: linear-gradient(145deg, #e1d6be, #f9f4e6); display: grid; place-items: center; text-align: center; padding: 30px; color: #79694b; }
.gallery-placeholder:nth-child(2n) { background: linear-gradient(145deg, #b8c7cc, #edf2f2); }
.gallery-placeholder .large-symbol { margin: 0 auto 12px; }
.gallery-placeholder h2 { font-size: 1.8rem; }

.form-card { background: white; border: 1px solid var(--line); padding: 38px; box-shadow: 0 15px 50px #122e400c; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { color: var(--navy); font-weight: 800; font-size: .9rem; }
.field input, .field textarea, .field select { width: 100%; border: 1px solid #b9b19e; border-radius: 2px; background: #fffefa; padding: 12px 13px; color: var(--ink); }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 3px solid #d6a33435; border-color: var(--gold); }
.form-actions { grid-column: 1 / -1; display: flex; justify-content: flex-start; align-items: center; gap: 16px; margin-top: 8px; }
.prototype-note { color: var(--muted); font-size: .88rem; }
.archive-callout { margin-top: 70px; }
.membership-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.membership-card { border: 1px solid var(--line); background: white; padding: 34px; display: flex; flex-direction: column; }
.membership-card.featured { border: 3px solid var(--gold); transform: translateY(-8px); }
.membership-card h2 { color: var(--navy); font-size: 2rem; }
.membership-card .price { font-family: "Cormorant Garamond", Georgia, serif; font-size: 2.8rem; color: #845d0c; font-weight: 700; }
.membership-card ul { padding-left: 0; list-style: none; color: var(--muted); flex: 1; }
.membership-card li { margin-bottom: 10px; }
.membership-card li span { color: #845d0c; font-weight: 800; }
.gold-symbol { color: #a6781a; margin: 0 auto 18px; }
.notice { padding: 18px 20px; border-left: 4px solid var(--gold); background: #f7edcf; color: #604916; }
.search-bar { display: flex; gap: 10px; margin-bottom: 28px; }
.search-bar input { flex: 1; min-height: 50px; border: 1px solid #a89e89; padding: 0 16px; background: white; }
.marker-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: end; margin-bottom: 42px; }
.marker-intro h2 { color: var(--navy); margin-bottom: 0; }
.marker-intro > p { color: var(--muted); margin-bottom: 0; }
.marker-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.marker-card { background: white; border: 1px solid var(--line); box-shadow: 0 14px 40px #122e400e; }
.marker-photo { min-height: 190px; display: grid; place-items: center; align-content: center; gap: 10px; background: linear-gradient(145deg, #0b4165, #052944); color: #d9c180; border-bottom: 4px solid var(--gold); }
.marker-photo span:last-child { font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.marker-copy { padding: 26px; }
.marker-copy h2 { color: var(--navy); font-size: 1.75rem; }
.marker-copy > p:last-child { color: var(--muted); margin-bottom: 0; }
.marker-number { color: #8b6415; font-size: .72rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 9px; }

.site-footer { background: #031c2e; color: #c9d8df; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr 1fr; gap: 65px; padding-block: 65px; }
.footer-title { color: white; font-size: 2rem; line-height: 1; margin-bottom: 15px; }
.footer-grid h2 { color: var(--gold-light); font-family: "Source Sans 3", Arial, sans-serif; font-size: .76rem; letter-spacing: .15em; text-transform: uppercase; }
.footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-grid a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid #ffffff1c; padding: 18px 0; font-size: .78rem; color: #8ba1ad; }
.footer-bottom .site-container { display: flex; justify-content: space-between; gap: 20px; }

@media (max-width: 1460px) {
	.primary-menu { gap: 14px; }
	.primary-menu a { font-size: .8rem; }
	.brand { min-width: 235px; }
	.menu-button { display: block; margin-left: auto; }
	.primary-navigation { display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0; background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 16px 30px #08263b1a; }
	.primary-navigation.is-open { display: block; }
	.primary-menu { display: grid; gap: 0; width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 10px 0 22px; }
	.primary-menu a { display: block; padding: 13px 10px; border-bottom: 1px solid var(--line); color: var(--navy); font-size: 1rem; }
	.primary-menu a::after { display: none; }
}

@media (max-width: 1024px) {
	.admin-bar .site-header { top: 46px; }
	.hero-grid { grid-template-columns: 1fr; text-align: center; padding-block: 65px; }
	.hero-copy { display: flex; flex-direction: column; align-items: center; }
	.hero-emblem img { max-width: 670px; }
	.feature-grid, .membership-grid { grid-template-columns: repeat(2, 1fr); }
	.feature-card p { min-height: auto; }
	.membership-card.featured { transform: none; }
}

@media (max-width: 760px) {
	.site-container { width: min(100% - 28px, 1180px); }
	.utility-inner span { display: none; }
	.utility-inner { justify-content: flex-end; }
	.nav-shell { min-height: 76px; }
	.brand { min-width: 0; }
	.brand > img { width: 48px; height: 48px; flex-basis: 48px; }
	.brand strong { font-size: 1rem; }
	.brand small { font-size: .58rem; }
	.hero-grid { min-height: auto; gap: 28px; }
	.hero-emblem { order: -1; }
	.hero-emblem img { max-width: 420px; }
	.welcome-grid, .split-feature, .content-grid, .marker-intro { grid-template-columns: 1fr; gap: 35px; }
	.section { padding-block: 72px; }
	.support-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
	.gallery-grid, .feature-grid, .membership-grid, .marker-grid { grid-template-columns: 1fr; }
	.form-grid { grid-template-columns: 1fr; }
	.field.full, .form-actions { grid-column: auto; }
	.form-actions { align-items: flex-start; flex-direction: column; }
	.form-card { padding: 25px 20px; }
	.search-bar { flex-direction: column; }
	.footer-grid { grid-template-columns: 1fr; gap: 35px; }
	.footer-bottom .site-container { flex-direction: column; }
}

@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}
.lrha-detail-image { display:block; max-width:100%; width:auto; max-height:750px; object-fit:contain; margin:24px 0; }
.lrha-detail-content { overflow-wrap:anywhere; }
.lrha-detail-content video, .lrha-detail-content iframe { max-width:100%; }

@media (max-width: 1460px) {
	.primary-navigation .primary-menu a { white-space: normal; overflow-wrap: break-word; }
}

/* Historic places */
.heritage-map {height:440px;border:1px solid #cbbd9c;border-radius:12px;background:#e8e4d6;z-index:0;margin:22px 0;}
.place-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:36px 0;}
.place-card {border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--paper);display:flex;flex-direction:column;}
.place-card img {width:100%;height:220px;object-fit:cover;}
.place-art {min-height:170px;display:grid;place-items:center;background:var(--navy);color:var(--gold);font-family:serif;font-size:42px;border-bottom:5px solid var(--gold);}
.place-copy {padding:26px;flex:1;display:flex;flex-direction:column;align-items:flex-start;}
.place-copy h3 {font-size:1.7rem;line-height:1.15;margin:12px 0;}
.place-copy .text-link {margin-top:auto;padding-top:18px;}
.place-tag {font-size:.75rem;text-transform:uppercase;letter-spacing:.1em;color:#775a16;font-weight:700;}
.place-layout {display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);gap:44px;align-items:start;}
.place-facts {background:var(--paper);border:1px solid var(--line);border-top:5px solid var(--gold);padding:28px;border-radius:8px;}
.place-facts dl {margin:0;} .place-facts dt {font-weight:700;margin-top:18px;} .place-facts dd {margin:4px 0 0;overflow-wrap:anywhere;}
.place-layout img {max-width:100%;height:auto;border-radius:12px;}
.banner-coming {max-width:850px;margin:auto;text-align:center;border:1px solid var(--line);border-top:5px solid var(--gold);padding:60px 28px;border-radius:12px;background:var(--paper);}
.banner-coming h2 {font-size:clamp(2rem,5vw,3.2rem);} .banner-coming .button {margin-top:20px;}
@media(max-width:900px){.place-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.place-layout{grid-template-columns:1fr;}}
@media(max-width:600px){.place-grid{grid-template-columns:1fr;}.heritage-map{height:340px;}}

.hero-logo-fallback {position:relative;text-align:center;border:2px solid var(--gold);padding:48px 24px;color:var(--gold);border-radius:12px;}
.hero-logo-fallback p {font-family:"Cormorant Garamond",serif;font-size:clamp(2rem,4vw,4rem);line-height:1.1;margin:0 0 16px;}
.hero-logo-fallback span {text-transform:uppercase;letter-spacing:.14em;}
