/* ===================================
   MILFORD HUNT - COMPLETE STYLESHEET
   Combines common.css, menu.css, and menu-mobile.css
   Using modern responsive design with @media queries
   =================================== */

/* ===================================
   BASE STYLES (All Devices)
   =================================== */

* {
	box-sizing: border-box;
}

html {
	height: auto;
    overflow-x: hidden;
}

body {
	background: #00390e center top;
	padding: 0;
	margin: 0;
	font-family: 'Inter', Arial, sans-serif;
	font-size: 12px;
	width: 100%;
	overflow-x: hidden;
	min-height: 100vh;
	overflow-y: hidden;
}

a > img {
	border: none;
}

#mainbg {
	margin: 0;
	padding: 45px 0 0 0;
	min-width: 970px;
	width: 100%;
	box-sizing: border-box;
}

#main-topborder {
	position: relative;
	margin: 0 auto;
	width: 970px;
	height: 41px;
	background: transparent url(../images/frame_top.png) no-repeat left top;
}

#headerlogo {
	position: absolute;
	top: 40px;
	left: 30px;
	background-image: url(../images/MilfordHuntLogo.png);
	background-repeat: no-repeat;
	width: 250px;
	margin-bottom: 0px;
	padding-top: 0px;
	height: auto !important;
	height: 120px;
	min-height: 120px;
	z-index: 100;
}

#main-header {
	position: relative;
	margin: 0 auto;
	width: 970px;
	height: 363px;
	min-height: 363px;
	padding: 0;
	text-align: center; /* IE-Win hack */
	background: transparent url(../images/frame_mid.png) repeat-y left top;
}

#main-container {
	position: relative;
	margin: -1px auto 0;
	padding: 0;
	width: 970px;
	background: transparent url(../images/frame_mid.png) repeat-y left top;
}

#main-content {
	width: 900px;
	margin: 0 auto;
	font-family: 'Inter', Arial, sans-serif;
	font-size: 15px;
	line-height: 1.7;
	color: #333;
}

#main-content h1 {
	font-family: 'Inter', Arial, sans-serif;
	font-size: 1.8rem;
	font-weight: 700;
	color: #ffffff;
	letter-spacing: -0.3px;
	margin: 0 0 16px;
	line-height: 1.25;
}

#main-content h2 {
	font-family: 'Inter', Arial, sans-serif;
	font-size: 1.35rem;
	font-weight: 600;
	color: #00390e;
	margin: 24px 0 10px;
	line-height: 1.3;
}

#main-content h3 {
	font-family: 'Inter', Arial, sans-serif;
	font-size: 1.15rem;
	font-weight: 600;
	color: #005a18;
	margin: 20px 0 8px;
	line-height: 1.3;
}

#main-content p {
	margin: 0 0 14px;
}

#main-content ul {
	padding-left: 22px;
	margin: 0 0 14px;
}

#main-content li {
	margin-bottom: 6px;
}

#main-content a {
	color: #005a18;
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: border-color 0.2s;
}

#main-content a:hover {
	border-bottom-color: #005a18;
}

#main-footer {
	margin: 0 auto;
	padding: 0;
	width: 970px;
	height: 41px;
	text-align: center;
	vertical-align: top;
	background: transparent url(../images/frame_bottom.png) no-repeat left top;
}

#mainbuttonbar {
	width: 920px;
	margin: 0;
	padding: 25px 20px 0px 25px;
}

#mod-top > .mod-search {
	float: right;
}

#main_menu {
	position: absolute;
	top: 60px;
	left: 255px;
	width: 680px;
	margin-bottom: 0px;
	padding-top: 1px;
	height: auto !important;
}

#banner_image {
	position: absolute;
	top: 60px;
	background-image: url(../images/Header%20v2.jpg);
	background-repeat: no-repeat;
	background-size: contain;
	width: 920px;
	margin-bottom: 0px;
	padding-top: 1px;
	height: 303px;
	min-height: 303px;
	z-index: 1;
}

#topbarfacebook-wrap {
	z-index: 2;
	display: inline-block;
	position: absolute;
	text-align: right;
	width: auto;
	top: 44px;
	right: 37px;
	vertical-align: middle;
}
.fb-icon-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: #00390e;
	border: 2px solid rgba(255,255,255,0.7);
	transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s cubic-bezier(.34,1.56,.64,1), box-shadow 0.3s ease;
}
.fb-icon-link:hover {
	background: #ffffff;
	border-color: #ffffff;
	transform: scale(1.3) rotate(-5deg);
	box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}
.fb-icon-link:active {
	transform: scale(0.85) rotate(0deg);
	transition: transform 0.1s ease;
	box-shadow: none;
}
.fb-icon {
	fill: #ffffff;
	transition: fill 0.3s ease;
}
.fb-icon-link:hover .fb-icon {
	fill: #00390e;
}

.imageright {
	margin-top: 10px;
	float: right;
	margin-left: 10px;
	margin-bottom: 10px;
}

.imageleft {
	margin-top: 10px;
	float: left;
	margin-right: 10px;
	margin-bottom: 10px;
}

#tooltip {
	position: absolute;
	z-index: 100000;
	border: 1px solid #111;
	background-color: #333;
	font-size: 8px;
	font-weight: normal;
	padding: 5px;
	color: #fff;
	opacity: 0.85;
	width: 200px;
}

/* jQuery UI tooltips above modals */
.ui-tooltip {
	z-index: 100000 !important;
}

#tooltip h3,
#tooltip div {
	margin: 0;
}

#dialog label {
	font-size: 10px;
	display: block;
}

#dialog input {
	display: block;
}

#dialog input.text {
	margin-bottom: 0px;
	width: 95%;
	padding: 0.4em;
}

#dialog fieldset {
	padding: 0;
	border: 0;
	margin-top: 10px;
}

.ui-dialog .ui-state-error {
	padding: 0.3em;
}

/* jQuery UI widget header - match site color scheme */
.ui-widget-header {
	background: #00390e !important;
	border-color: #002a00 !important;
	color: #ffffff !important;
}

.ui-widget.ui-widget-content {
	border: 2px solid #00390e !important;
}

.ui-state-active {
	background: #005015 !important;
	border-color: #00390e !important;
	color: #ffffff !important;
}

.validateTips {
	color: #ff0000;
	border: 1px solid transparent;
	padding: 0.3em;
	font-size: 12px;
	font-weight: bold;
}

#customform label {
	font-size: 10px;
	display: block;
}

#customform input {
	display: block;
}

#customform input.text {
	margin-bottom: 0px;
	width: 95%;
	padding: 0.4em;
}

#customform textarea {
	margin-bottom: 0px;
	width: 95%;
	padding: 0.4em;
}

/* buyer_quotes.php specific styles */
blockquote {
	font-family: 'Inter', Arial, sans-serif;
	width: 450px;
	margin: 0px auto;
	height: auto !important;
	min-height: 0 !important;
}

blockquote p {
	margin-bottom: 10px;
	font-style: italic;
	font-size: 18px;
	font-weight: bold;
}

blockquote cite {
	font-style: normal;
	display: block;
	text-align: right;
	text-transform: uppercase;
	font-size: 14px;
	font-weight: normal;
	font-family: 'Inter', Arial, sans-serif;
}

#quote_wrap {
	background: #d6e1d6 url(../images/quote-mark.png) no-repeat 20px 20px;
	margin: 40px 100px 40px 40px;
	padding: 20px 20px 20px 80px;
	border: 1px solid #004000;
}

#customform fieldset {
	padding: 0;
	border: 0;
	margin-top: 10px;
}

/* Easy Float Clearing */
.clearfix:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

/* Fix for login tab text wrapping */
.tab a.open,
.tab a.close {
	white-space: nowrap !important;
	width: auto !important;
	min-width: 130px !important;
}

/* ===================================
   TOP SLIDE PANEL / LOGIN STYLES
   =================================== */

/* Panel Tab/button */
.tab {
	background: url(../images/tab_b.png) repeat-x 0 0;
	height: 42px;
	position: relative;
	top: 0;
	z-index: 999;
}

.tab ul.login {
	display: block;
	position: relative;
	float: right;
	clear: right;
	height: 42px;
	width: auto;
	font-weight: bold;
	line-height: 42px;
	margin: 0;
	right: 150px;
	color: white;
	font-size: 80%;
	text-align: center;
}

.tab ul.login li.left {
	background: url(../images/tab_l.png) no-repeat left 0;
	height: 42px;
	width: 30px;
	padding: 0;
	margin: 0;
	display: block;
	float: left;
}

.tab ul.login li.right {
	background: url(../images/tab_r.png) no-repeat left 0;
	height: 42px;
	width: 30px;
	padding: 0;
	margin: 0;
	display: block;
	float: left;
}

.tab ul.login li {
	text-align: left;
	padding: 0 6px;
	display: block;
	float: left;
	height: 42px;
	background: url(../images/tab_m.png) repeat-x 0 0;
}

.tab ul.login li a {
	color: #15ADFF;
}

.tab ul.login li a:hover {
	color: white;
}

.tab .sep {
	color: #414141;
}

.tab a.open, .tab a.close {
	height: 20px;
	line-height: 20px !important;
	padding-left: 26px !important;
	cursor: pointer;
	display: block;
	width: 100px;
	position: relative;
	top: 11px;
}

.tab a.open::before,
.tab a.close::before {
	content: '';
	position: absolute;
	left: 2px;
	top: 2px;
	width: 16px;
	height: 16px;
	border: 1.5px solid #fff;
	border-radius: 50%;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 10px 10px;
	transition: all 0.25s ease;
}

.tab a.open::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cline x1='5' y1='1' x2='5' y2='9' stroke='white' stroke-width='1.8' stroke-linecap='round'/%3E%3Cline x1='1' y1='5' x2='9' y2='5' stroke='white' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
}

.tab a.close::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cline x1='1' y1='5' x2='9' y2='5' stroke='white' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
}

.tab a:hover.open::before,
.tab a:hover.close::before {
	background-color: rgba(138, 214, 138, 0.35);
	border-color: #8ad68a;
	transform: scale(1.2);
	box-shadow: 0 0 6px rgba(138, 214, 138, 0.5);
}

.tab a:active.open::before,
.tab a:active.close::before {
	transform: scale(0.95);
	box-shadow: 0 0 3px rgba(138, 214, 138, 0.3);
	transition: all 0.1s ease;
}

/* sliding panel */
#toppanel {
	position: absolute;
	top: 0;
	width: 100%;
	z-index: 999;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}

#panel {
	width: 100%;
	height: 240px;
	color: #c8dcc8;
	background: linear-gradient(180deg, #003a0e 0%, #004a12 50%, #004000 100%);
	overflow: hidden;
	position: relative;
	z-index: 3;
	display: none;
	font-family: 'Inter', Arial, sans-serif;
	font-size: 14px;
	line-height: 1.5;
}
#panel::before {
	content: '';
	position: absolute;
	top: -50%;
	left: -20%;
	width: 140%;
	height: 200%;
	background: radial-gradient(ellipse at 25% 30%, rgba(255,255,255,0.04) 0%, transparent 65%);
	pointer-events: none;
}

#panel h1 {
	font-family: 'Inter', Arial, sans-serif;
	font-size: 1.4em;
	font-weight: 700;
	padding: 5px 0 8px;
	margin: 0;
	color: white;
	letter-spacing: 0.3px;
}

#panel h2 {
	font-family: 'Inter', Arial, sans-serif;
	font-size: 1.1em;
	font-weight: 600;
	padding: 8px 0 5px;
	margin: 0;
	color: white;
}

#panel p {
	margin: 5px 0;
	padding: 0;
}

#panel a {
	text-decoration: none;
	color: #15ADFF;
}

#panel a:hover {
	color: white;
}

#panel a-lost-pwd {
	display: block;
	float: left;
}

#panel .content {
	width: 960px;
	margin: 0 auto;
	padding-top: 15px;
	text-align: left;
	font-size: 0.92em;
	font-family: 'Inter', Arial, sans-serif;
}

#panel .content .left {
	width: 280px;
	float: left;
	padding: 0 15px;
	opacity: 0;
	transform: translateY(12px);
	transition: opacity 0.4s ease, transform 0.4s ease;
}
#panel.panel-open .content .left {
	opacity: 1;
	transform: translateY(0);
}
#panel.panel-open .content .left:nth-child(1) { transition-delay: 0.08s; }
#panel.panel-open .content .left:nth-child(2) { transition-delay: 0.18s; }
#panel.panel-open .content .left:nth-child(3) { transition-delay: 0.28s; }

#panel .content .right {
	border-right: none;
}

#panel .content form {
	margin: 0 0 10px 0;
}

#panel .content label {
	float: left;
	padding-top: 8px;
	clear: both;
	width: 280px;
	display: block;
	color: #b8d0b8;
	font-size: 0.92em;
}

#panel .content input.field {
	border: 1px solid rgba(255,255,255,0.15);
	background: rgba(208,224,192,0.9);
	margin-right: 5px;
	margin-top: 4px;
	width: 200px;
	color: #002a00;
	height: 16px;
	padding: 4px 6px;
	border-radius: 4px;
	transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
	font-family: 'Inter', Arial, sans-serif;
}

#panel .content input:focus.field {
	background: #cefaa2;
	border-color: rgba(126,200,126,0.6);
	box-shadow: 0 0 0 3px rgba(126,200,126,0.2);
	outline: none;
}

/* BUTTONS */
/* Login and Register buttons */
#panel .content input.bt_login,
#panel .content input.bt_register {
	display: block;
	float: left;
	clear: left;
	height: 32px;
	line-height: 32px;
	text-align: center;
	cursor: pointer;
	border: none;
	font-weight: 700;
	font-family: 'Inter', Arial, sans-serif;
	font-size: 0.88em;
	letter-spacing: 0.4px;
	margin: 12px 0;
	padding: 0 24px;
	border-radius: 20px;
	transition: background 0.25s ease, transform 0.15s ease, box-shadow 0.25s ease;
}

#panel .content input.bt_login {
	background: linear-gradient(135deg, #8ad68a, #5aba5a);
	color: #002a00;
	box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
#panel .content input.bt_login:hover {
	background: linear-gradient(135deg, #9ce09c, #6ec86e);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}
#panel .content input.bt_login:active {
	transform: translateY(0);
	box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

#panel .content input.bt_register {
	color: white;
	background: linear-gradient(135deg, #2e9e4e, #1a7a3a);
	box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
#panel .content input.bt_register:hover {
	background: linear-gradient(135deg, #38ae58, #228a42);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}
#panel .content input.bt_register:active {
	transform: translateY(0);
	box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

/* Login/Register loading spinner */
.login-loading {
	display: inline-block;
	width: 22px;
	height: 22px;
	border: 3px solid rgba(255,255,255,0.3);
	border-top-color: #8ad68a;
	border-radius: 50%;
	animation: loginSpin 0.7s linear infinite;
	margin: 12px 0;
}
@keyframes loginSpin {
	to { transform: rotate(360deg); }
}

#panel .lost-pwd {
	display: none;
}

/* ===================================
   DESKTOP MENU STYLES
   =================================== */

ul.sdt_menu {
	margin: 0;
	padding: 0;
	list-style: none;
	font-family: "Myriad Pro", "Trebuchet MS", sans-serif;
	font-size: 14px;
	width: 680px;
}

ul.sdt_menu a {
	text-decoration: none;
	outline: none;
}

ul.sdt_menu li {
	float: left;
	width: 170px;
	height: 85px;
	position: relative;
	cursor: pointer;
}

ul.sdt_menu li > a {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 170px;
	height: 85px;
	z-index: 12;
	background: transparent url(../images/overlay.png) no-repeat bottom right;
	-moz-box-shadow: 0px 0px 2px #000 inset;
	-webkit-box-shadow: 0px 0px 2px #000 inset;
	box-shadow: 0px 0px 2px #000 inset;
}

ul.sdt_menu li a img {
	border: none;
	position: absolute;
	width: 0px;
	height: 0px;
	bottom: 0px;
	left: 85px;
	z-index: 100;
	-moz-box-shadow: 0px 0px 4px #000;
	-webkit-box-shadow: 0px 0px 4px #000;
	box-shadow: 0px 0px 4px #000;
}

ul.sdt_menu li span.sdt_wrap {
	position: absolute;
	top: 25px;
	left: 0px;
	width: 170px;
	height: 60px;
	z-index: 15;
}

ul.sdt_menu li span.sdt_active {
	position: absolute;
	background: #111;
	top: 85px;
	width: 170px;
	height: 0px;
	left: 0px;
	z-index: 14;
	-moz-box-shadow: 0px 0px 4px #000 inset;
	-webkit-box-shadow: 0px 0px 4px #000 inset;
	box-shadow: 0px 0px 4px #000 inset;
}

ul.sdt_menu li span span.sdt_link,
ul.sdt_menu li span span.sdt_descr,
ul.sdt_menu li div.sdt_box a {
	margin-left: 0px;
	text-transform: uppercase;
	text-shadow: 1px 1px 1px #000;
}

ul.sdt_menu li span span.sdt_link {
	color: #d4af37;
	font-size: 24px;
	float: center;
	clear: both;
}

ul.sdt_menu li span span.sdt_descr {
	clear: both;
	color: #ffffff;
	float: center;
	width: 155px; /* For dumbass IE7 */
	font-size: 10px;
	letter-spacing: 1px;
}

ul.sdt_menu li div.sdt_box {
	display: block;
	position: absolute;
	width: 170px;
	overflow: hidden;
	height: 170px;
	top: 85px;
	left: 0px;
	display: none;
	background: #000;
	z-index: 10;
}

ul.sdt_menu li div.sdt_box a {
	float: left;
	clear: both;
	line-height: 20px;
	margin-left: 10px;
	color: #d4af37;
}

ul.sdt_menu li div.sdt_box a:first-child {
	margin-top: 15px;
}

ul.sdt_menu li div.sdt_box a:hover {
	color: #fff;
}

/* ===================================
   MOBILE MENU STYLES
   =================================== */

/* Mobile Menu Container */
#menu-container {
	display: none; /* Hidden by default, shown on mobile */
	margin: 0;
	padding: 0;
	list-style: none;
	background: #4c4c4c;
}

/* Mobile user menu styling */
.mobile-user-info,
.mobile-login-section,
.mobile-admin-section,
.mobile-account-section,
.mobile-logout-section,
.mobile-divider {
	display: none; /* Hidden by default */
}

.mobile-user-info span {
	display: block;
	color: #8ad68a;
}

.mobile-login-section a,
.mobile-admin-section a,
.mobile-account-section a,
.mobile-logout-section a {
	display: block;
	padding: 12px 20px;
	color: #8ad68a !important;
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	background: #3a3a3a;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-login-section a:hover,
.mobile-admin-section a:hover,
.mobile-account-section a:hover,
.mobile-logout-section a:hover {
	background-color: #5a5a5a;
}

.mobile-divider {
	height: 2px;
	background: #8ad68a;
	margin: 5px 0;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
	display: none;
	position: fixed;
	top: 10px;
	right: 10px;
	z-index: 1000;
	background-color: #222222;
	border: none;
	padding: 10px 15px;
	cursor: pointer;
	border-radius: 4px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.mobile-menu-toggle span {
	display: block;
	width: 25px;
	height: 3px;
	background-color: #f5f5f5;
	margin: 5px 0;
	border-radius: 2px;
	transition: all 0.3s ease;
}

/* Hamburger animation when active */
.mobile-menu-toggle.active span:nth-child(1) {
	transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
	opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
	transform: rotate(-45deg) translate(6px, -6px);
}

/* ===================================
   RESPONSIVE BREAKPOINTS
   =================================== */

@media (max-width: 1000px) {
	/* Common Mobile Styles */
	html {
		width: 100%;
	}
	
	body {
		margin: 0;
		padding: 0;
		width: 100%;
		background-size: 100% auto;
	}
	
	#mainbg {
		padding: 55px 0 0 0 !important;
		min-width: 0 !important;
		width: 100% !important;
		min-height: 0;
	}

	#main-topborder {
		width: 95%;
		min-width: 0;
		background: #ffffff;
		padding-top: 10px;
		margin: 0 auto;
	}

	#headerlogo {
		position: relative;
		top: auto;
		left: auto;
		margin: 20px auto;
		display: block;
	}

	#main-header {
		width: 95%;
		background: #ffffff;
		height: auto;
		min-height: 0;
		padding: 0;
		margin: 0 auto;
	}

	#main-container {
		width: 95%;
		background: #ffffff;
		margin: 0 auto;
	}

	#main-content {
		width: 90%;
		margin: 0 auto;
	}

	#main-footer {
		width: 95%;
		background: #ffffff;
		height: auto;
		padding: 10px 0;
		margin: 0 auto;
	}

	#mainbuttonbar {
		width: 100%;
		margin: 0;
		padding: 50px 0px 0px 0px;
	}

	#banner_image {
		width: 100% !important;
		max-width: 100% !important;
		height: auto !important;
		min-height: 0 !important;
		position: relative !important;
		top: auto !important;
		left: auto !important;
		margin: 0 auto !important;
		background-size: cover !important;
		background-position: center !important;
		padding-top: 0 !important;
		padding-bottom: 33%;
	}

	#topbarfacebook-wrap {
		position: static;
		text-align: center;
		width: 100%;
		margin: 10px 0;
	}

	/* Hide Desktop Menu */
	ul.sdt_menu {
		display: none;
	}
	
	/* Make forms responsive */
	#customform {
		width: 95% !important;
		max-width: 600px;
		margin-left: auto !important;
		margin-right: auto !important;
		padding: 0 10px;
		box-sizing: border-box;
	}
	
	/* Make content divs responsive */
	center > div[style*="width"],
	div[style*="width:750px"] {
		width: 95% !important;
		max-width: 750px;
		padding: 0 10px;
		box-sizing: border-box;
	}
	
	/* Make floated images responsive */
	.imageright,
	.imageleft {
		float: none !important;
		display: block;
		margin: 15px auto !important;
		max-width: 100% !important;
		height: auto !important;
		width: 100% !important;
	}
	
	/* Make maps responsive */
	#mapid {
		width: 95% !important;
		max-width: 900px;
		height: 350px !important;
		margin: 0 auto;
	}
	
	/* Make blockquotes responsive (buyer_quotes.php) */
	blockquote {
		width: 95% !important;
		max-width: 450px;
	}

	/* Show Mobile Menu Toggle */
	.mobile-menu-toggle {
		display: block;
	}

	#menu-container {
		display: none;
		position: fixed;
		top: 50px;
		right: 0;
		width: 280px;
		max-height: calc(100vh - 60px);
		overflow-y: auto;
		background: #4c4c4c;
		box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.3);
		z-index: 999;
		padding: 10px 0;
		border-radius: 0 0 0 8px;
	}

	#menu-container.active {
		display: block;
		animation: slideIn 0.3s ease;
	}

	@keyframes slideIn {
		from {
			transform: translateX(100%);
		}
		to {
			transform: translateX(0);
		}
	}

	/* Top level menu items */
	#menu-container > li {
		position: relative;
	}

	#menu-container > li > a {
		display: block;
		padding: 12px 20px;
		color: #fff;
		text-decoration: none;
		font-size: 16px;
		font-weight: 500;
		transition: background-color 0.3s ease;
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	}

	#menu-container > li > a:hover {
		background-color: #5a5a5a;
	}

	/* Submenu styles */
	#menu-container ul {
		list-style: none;
		margin: 0;
		padding: 0;
		max-height: 0;
		overflow: hidden;
		background: #3a3a3a;
		transition: max-height 0.4s ease;
	}

	#menu-container li:hover > ul,
	#menu-container li.active > ul {
		max-height: 500px; /* Large enough for all menu items */
	}

	#menu-container ul li {
		border-bottom: 1px solid rgba(255, 255, 255, 0.05);
	}

	#menu-container ul li:last-child {
		border-bottom: none;
	}

	#menu-container ul a {
		display: block;
		padding: 10px 20px 10px 35px;
		color: #d0d0d0;
		text-decoration: none;
		font-size: 14px;
		transition: all 0.3s ease;
	}

	#menu-container ul a:hover {
		background-color: #ccc;
		color: #222;
		padding-left: 40px;
	}

	/* Dropdown indicator for parent items */
	#menu-container > li:not(.mobile-home):not(.mobile-divider)::after {
		content: '▼';
		position: absolute;
		right: 20px;
		top: 12px;
		color: #8ad68a;
		font-size: 12px;
		transition: transform 0.3s ease;
	}

	#menu-container > li:hover::after,
	#menu-container > li.active::after {
		transform: rotate(180deg);
	}

	/* HOME and divider have no dropdown indicator */
	#menu-container > li.mobile-home::after,
	#menu-container > li.mobile-divider::after {
		display: none;
	}

	/* Hide user/login groups between 700-1000px */
	.mobile-login-group,
	.mobile-user-group {
		display: none;
	}

	#quote_wrap {
		margin: 40px 20px 40px 20px;
	}

	
	/* Adjust panel for medium screens (700-1000px) */
	#panel .content {
		width: 95% !important;
	}
	
	#panel .content .left {
		padding: 0 0 !important;
		width: 210px !important;
	}
	
	#panel .content label {
		width: 180px !important;
	}

    #panel .content input.field {
        width: 180px !important;
    }

	/* Mobile menu overlay */
	.mobile-menu-overlay {
		display: none;
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: rgba(0, 0, 0, 0.5);
		z-index: 998;
	}

	.mobile-menu-overlay.active {
		display: block;
	}
}

/* Desktop - hide mobile menu completely */
@media (min-width: 1001px) {
	.mobile-menu-toggle,
	#menu-container,
	.mobile-menu-overlay {
		display: none !important;
	}
}

/* ===================================
   MOBILE SCREENS (max-width: 700px)
   =================================== */
@media (max-width: 700px) {
	/* Hide top tab menu on small screens */
	.tab {
		display: none !important;
		height: 0 !important;
		overflow: hidden !important;
	}
	
	/* Keep toppanel functional but hidden by default */
	#toppanel {
		top: -600px !important;
	}
	
	/* When panel is visible, show it properly */
	#toppanel.open {
		top: 0 !important;
	}
	
	#mainbg {
		padding-top: 20px !important;
	}
	
	/* Show user/login groups only below 700px */
	.mobile-login-group,
	.mobile-user-group {
		display: list-item !important;
	}
	
	/* Show user menu items below 700px */
	.mobile-user-info,
	.mobile-login-section,
	.mobile-admin-section,
	.mobile-account-section,
	.mobile-logout-section,
	.mobile-divider {
		display: block;
	}
	
	.mobile-user-info {
		background: #3a3a3a;
		padding: 15px 20px;
		border-bottom: 2px solid #8ad68a;
		color: #8ad68a;
		font-weight: bold;
		font-size: 14px;
	}
	
	/* Make forms responsive on small screens */
	#customform {
		width: 95% !important;
		max-width: 600px;
		margin-left: auto !important;
		margin-right: auto !important;
		padding: 0 10px;
		box-sizing: border-box;
	}
	
	#customform table {
		display: block !important;
		width: 100% !important;
	}
	
	#customform tbody,
	#customform tr {
		display: block !important;
		width: 100% !important;
	}
	
	#customform td {
		display: block !important;
		width: 100% !important;
		box-sizing: border-box;
		margin-bottom: 10px;
	}
	
	#customform input[type="text"],
	#customform input[type="password"] {
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box;
	}
	
	#customform label {
		display: block !important;
		margin-bottom: 5px;
	}
	
	/* Table responsive styles - convert to list/card layout */
	table.mh_table {
		border: none !important;
		font-size: 12x;
	}
	
	table.mh_table thead {
		display: none;
	}
	
	table.mh_table tbody,
	table.mh_table tr {
		display: block;
		width: 100%;
	}
	
	table.mh_table tbody tr {
		margin-bottom: 15px;
		border: none !important;
		padding: 10px;
		background: #d6e1d6 !important;
	}
	
	table.mh_table tbody tr:nth-child(odd) {
		background: #d6e1d6 !important;
	}
	
	table.mh_table tbody tr:nth-child(odd):hover td,
	table.mh_table tbody tr:nth-child(even):hover td {
		background: #d6e1d6 !important;
	}
	
	table.mh_table tbody tr:first-child td {
		border-top: none !important;
	}
	
	table.mh_table tbody tr:last-child td {
		border-bottom: none !important;
	}
	
	table.mh_table td {
		display: block;
		width: 100%;
		text-align: left;
		padding: 8px 5px;
		border: none !important;
		border-right: none !important;
		border-bottom: none !important;
		white-space: normal;
	}
	
	table.mh_table td:last-child {
		border-bottom: none !important;
		border-right: none !important;
	}
	
	table.mh_table thead th {
		border: none !important;
	}
	
	/* Add labels before each data cell */
	table.mh_table td:before {
		content: attr(data-label);
		font-weight: bold;
		display: inline-block;
		margin-right: 10px;
		color: #000;
	}
	
	table.mh_table td:nth-child(1):before {
		content: "First Name: ";
	}
	
	table.mh_table td:nth-child(2):before {
		content: "Last Name: ";
	}
	
	table.mh_table td:nth-child(3):before {
		content: "Role: ";
	}
	
	table.mh_table td:nth-child(4):before {
		content: "Email: ";
	}
}

/* ===================================
   TABLE STYLES
   =================================== */

table.mh_table{
	margin:0 auto;
	width:100%;
	border-collapse:separate;
	border-spacing:0;
	border:2px solid #fff;
	font-size:12px;
}

table.mh_table thead th, table.mh_table td{ padding:3px 10px; border-right:2px solid #fff;}

table.mh_table thead th{
	font-weight:700;
	color:#000;
	background:#fff;
	background-image:linear-gradient(#000,#000);
	background-repeat:no-repeat;
	background-position:left bottom;
	background-size: calc(100% - 1px) 1px;
}

table.mh_table thead th:last-child{ border-right:0; background-size:100% 1px; }
table.mh_table td{ border-bottom: 2px solid #fff;}
table.mh_table td:last-child{ border-right:0; }
table.mh_table tbody tr:first-child td{ border-top:3px solid #fff; }
table.mh_table tbody tr:last-child td{ border-bottom:0; }
table.mh_table tbody tr:nth-child(odd){ background:#A8C5A8; }
table.mh_table tbody tr:nth-child(even){ background:#d6e1d6; }
table.mh_table tbody tr:nth-child(odd):hover td{ background:#E6FF99; }
table.mh_table tbody tr:nth-child(even):hover td{ background:#ECFFB3; }

/* ===================================
   ADMIN MENU TILES (Responsive)
   =================================== */

.admin-menu-container {
	width: 100%;
	max-width: 1200px;
	margin: 20px auto;
	padding: 0 20px;
}

.admin-menu-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 16px;
	margin-bottom: 40px;
}

.admin-menu-tile {
	background: linear-gradient(135deg, #00390e 0%, #005015 100%);
	border-radius: 10px;
	padding: 20px 16px;
	text-decoration: none;
	color: #ffffff;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	transition: all 0.3s ease;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	border: 2px solid #D6E1D6;
	min-height: 160px;
	position: relative;
	overflow: hidden;
}

.admin-menu-tile::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
	transition: left 0.5s ease;
}

.admin-menu-tile:hover::before {
	left: 100%;
}

.admin-menu-tile:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 15px rgba(0, 57, 14, 0.4);
	border-color: #D6E1D6;
	background: linear-gradient(135deg, #005015 0%, #3e4f3e 100%);
}

.admin-menu-tile:active {
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0, 57, 14, 0.3);
}

.admin-tile-icon {
	width: 48px;
	height: 48px;
	margin-bottom: 12px;
	color: #D6E1D6;
	position: relative;
	z-index: 1;
}

.admin-tile-icon svg {
	width: 100%;
	height: 100%;
	filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.admin-tile-title {
	font-size: 15px;
	font-weight: bold;
	margin-bottom: 8px;
	color: #ffffff;
	position: relative;
	z-index: 1;
}

.admin-tile-description {
	font-size: 13px;
	color: #d6e1d6;
	line-height: 1.4;
	position: relative;
	z-index: 1;
}

/* Badge counter on admin tiles */
.admin-tile-badge {
	position: absolute;
	top: -6px;
	right: -6px;
	background: #d32f2f;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	min-width: 20px;
	height: 20px;
	line-height: 20px;
	text-align: center;
	border-radius: 10px;
	padding: 0 5px;
	box-shadow: 0 2px 4px rgba(0,0,0,0.3);
	z-index: 2;
	font-family: 'Inter', Arial, sans-serif;
}

/* Contact form - logged-in banner */
.contact-logged-in-banner {
	background: #f0f7f0;
	border: 1px solid #b8d4b8;
	border-radius: 8px;
	padding: 12px 16px;
	margin-bottom: 16px;
	font-size: 14px;
	color: #00390e;
	font-family: 'Inter', Arial, sans-serif;
}
.contact-logged-in-banner strong { color: #00390e; }

/* Contact form - login prompt */
.contact-login-prompt {
	background: #fff8e1;
	border: 1px solid #f0e0a0;
	border-radius: 8px;
	padding: 12px 16px;
	margin-bottom: 16px;
	font-size: 13px;
	color: #5d4037;
	font-family: 'Inter', Arial, sans-serif;
}
.contact-login-prompt a {
	color: #00390e;
	font-weight: 600;
	text-decoration: underline;
}

/* Contact form - file upload dropzone */
.contact-dropzone {
	border: 2px dashed #b8d4b8;
	border-radius: 8px;
	padding: 24px;
	text-align: center;
	color: #888;
	font-size: 14px;
	transition: border-color 0.2s, background 0.2s;
	cursor: pointer;
	font-family: 'Inter', Arial, sans-serif;
}
.contact-dropzone:hover,
.contact-dropzone.dragover {
	border-color: #00390e;
	background: #f0f7f0;
}
.contact-dropzone-icon {
	font-size: 32px;
	margin-bottom: 8px;
	color: #00390e;
}
.contact-file-list {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin-top: 12px;
}
.contact-file-item {
	display: flex;
	align-items: center;
	gap: 8px;
	background: #f9fdf9;
	border: 1px solid #d6e1d6;
	border-radius: 6px;
	padding: 6px 10px;
	font-size: 12px;
	font-family: 'Inter', Arial, sans-serif;
}
.contact-file-thumb {
	width: 48px;
	height: 48px;
	object-fit: cover;
	border-radius: 4px;
	flex-shrink: 0;
}
.contact-file-remove {
	cursor: pointer;
	color: #d32f2f;
	font-weight: 700;
	font-size: 14px;
}
.contact-file-remove:hover { color: #b71c1c; }

/* Mobile responsiveness */
@media screen and (max-width: 768px) {
	.admin-menu-container {
		padding: 0 10px;
	}
	
	.admin-menu-grid {
		grid-template-columns: 1fr;
		gap: 15px;
	}
	
	.admin-menu-tile {
		padding: 25px 15px;
		min-height: 180px;
	}
	
	.admin-tile-icon {
		width: 56px;
		height: 56px;
		margin-bottom: 12px;
	}
	
	.admin-tile-title {
		font-size: 16px;
		margin-bottom: 8px;
	}
	
	.admin-tile-description {
		font-size: 12px;
	}
}

/* Tablet optimization */
@media screen and (min-width: 769px) and (max-width: 1024px) {
	.admin-menu-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* Desktop optimization */
@media screen and (min-width: 1025px) {
	.admin-menu-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

/* Large desktop */
@media screen and (min-width: 1400px) {
	.admin-menu-container {
		max-width: 1400px;
	}
}

/* ===================================
   GALLERY MODAL STYLES
   =================================== */

#gallery-modal-img {
	max-width: 100%;
	max-height: 70vh;
	margin: 0 auto;
	display: block;
	border-radius: 5px;
}

/* ===================================
   PAGINATION STYLES (General - used by events.php and data tables)
   =================================== */

.pagination {
	float: right;
	text-align: right;
}

.btn-prev,
.btn-next {
	height: 19px;
	float: left;
	cursor: pointer;
	color: #111 !important;
}

.btn-prev:hover,
.btn-next:hover {
	text-decoration: none !important;
}

.btn-prev.disabled,
.btn-next.disabled {
	color: #666 !important;
	cursor: default;
}

.btn-prev.enabled,
.btn-prev.disabled {
	padding-left: 23px;
}

.btn-next.enabled,
.btn-next.disabled {
	padding-right: 23px;
	margin-left: 10px;
}

.btn-prev.enabled {
	background: url(../images/back_enabled.png) no-repeat top left;
}

.btn-prev.enabled:hover {
	background: url(../images/back_enabled_hover.png) no-repeat top left;
}

.btn-prev.disabled {
	background: url(../images/back_disabled.png) no-repeat top left;
}

.btn-next.enabled {
	background: url(../images/forward_enabled.png) no-repeat top right;
}

.btn-next.enabled:hover {
	background: url(../images/forward_enabled_hover.png) no-repeat top right;
}

.btn-next.disabled {
	background: url(../images/forward_disabled.png) no-repeat top right;
}

.btn-prev a,
.btn-next a {
	text-decoration: none;
}

/* ===================================
   CUSTOM TABLE CONTROLS (mhDataTable)
   =================================== */

.mh-table-wrapper {
	margin: 5px 0;
}

.mh-table-controls {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 5px;
	padding: 10px 0;
	flex-wrap: nowrap;
	gap: 15px;
}

.mh-table-controls-left {
	display: flex;
	align-items: center;
	flex: 0 0 auto;
}

.mh-table-controls-right {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex: 1 1 auto;
}

.mh-page-size-label {
	font-size: 12px;
	color: #333;
	display: flex;
	align-items: center;
	gap: 5px;
	white-space: nowrap;
}

.mh-page-size-select {
	padding: 5px 10px;
	border: 1px solid #004000;
	border-radius: 4px;
	background: #ffffff;
	font-size: 12px;
	cursor: pointer;
	min-width: 60px;
}

.mh-page-size-select:focus {
	outline: none;
	border-color: #00390e;
	box-shadow: 0 0 3px rgba(0, 57, 14, 0.3);
}

.mh-search-label {
	font-size: 12px;
	color: #333;
	display: flex;
	align-items: center;
	gap: 8px;
	white-space: nowrap;
}

.mh-search-input {
	padding: 6px 12px;
	border: 1px solid #004000;
	border-radius: 4px;
	font-size: 12px;
	min-width: 200px;
	background: #ffffff;
}

.mh-search-input:focus {
	outline: none;
	border-color: #00390e;
	box-shadow: 0 0 3px rgba(0, 57, 14, 0.3);
}

.mh-search-input::placeholder {
	color: #999;
}

/* Table sorting arrows */
.mh_table thead th.sortable {
	cursor: pointer;
	user-select: none;
	position: relative;
	padding-right: 25px;
}

.mh_table thead th.sortable:hover {
	background: #005015;
	color: #ffffff;
}

.mh_table thead th .sort-icon {
	position: absolute;
	right: 8px;
	top: 50%;
	transform: translateY(-50%);
	width: 0;
	height: 0;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	opacity: 0.3;
}

.mh_table thead th .sort-icon::before {
	content: '';
	position: absolute;
	left: -4px;
	top: -8px;
	width: 0;
	height: 0;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-bottom: 5px solid #cefaa2;
}

.mh_table thead th .sort-icon::after {
	content: '';
	position: absolute;
	left: -4px;
	top: 3px;
	width: 0;
	height: 0;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 5px solid #cefaa2;
}

.mh_table thead th.sorted-asc .sort-icon::before {
	border-bottom-color: #ffffff;
	opacity: 1;
}

.mh_table thead th.sorted-desc .sort-icon::after {
	border-top-color: #ffffff;
	opacity: 1;
}

/* Pagination - matching events.php style */
.mh-table-pagination {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 5px;
	padding: 10px 0;
	flex-wrap: wrap;
	gap: 15px;
}

.mh-showing-text {
	font-size: 12px;
	color: #333;
}

.mh-pagination-buttons {
	float: right;
	text-align: right;
}

.mh-pagination-buttons .btn-prev,
.mh-pagination-buttons .btn-next {
	height: 19px;
	float: left;
	cursor: pointer;
	color: #111 !important;
	text-decoration: none;
	font-size: 12px;
}

.mh-pagination-buttons .btn-prev:hover,
.mh-pagination-buttons .btn-next:hover {
	text-decoration: none !important;
}

.mh-pagination-buttons .btn-prev.disabled,
.mh-pagination-buttons .btn-next.disabled {
	color: #666 !important;
	cursor: default;
}

.mh-pagination-buttons .btn-prev.enabled,
.mh-pagination-buttons .btn-prev.disabled {
	padding-left: 23px;
}

.mh-pagination-buttons .btn-next.enabled,
.mh-pagination-buttons .btn-next.disabled {
	padding-right: 23px;
	margin-left: 10px;
}

.mh-pagination-buttons .btn-prev.enabled {
	background: url(../images/back_enabled.png) no-repeat top left;
}

.mh-pagination-buttons .btn-prev.enabled:hover {
	background: url(../images/back_enabled_hover.png) no-repeat top left;
}

.mh-pagination-buttons .btn-prev.disabled {
	background: url(../images/back_disabled.png) no-repeat top left;
}

.mh-pagination-buttons .btn-next.enabled {
	background: url(../images/forward_enabled.png) no-repeat top right;
}

.mh-pagination-buttons .btn-next.enabled:hover {
	background: url(../images/forward_enabled_hover.png) no-repeat top right;
}

.mh-pagination-buttons .btn-next.disabled {
	background: url(../images/forward_disabled.png) no-repeat top right;
}

/* Make table clickable rows more obvious */
.mh_table tbody tr {
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.mh_table tbody tr:hover {
	opacity: 0.9;
}

/* Admin action buttons container */
.mh-admin-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 15px;
	flex-wrap: wrap;
}

/* Modern admin buttons — replaces jQuery UI button classes */
.mh-admin-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 18px;
	font-size: 13px;
	font-weight: 600;
	font-family: 'Inter', Arial, sans-serif;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	transition: background 0.15s, box-shadow 0.15s;
	white-space: nowrap;
	line-height: 1.4;
}
.mh-admin-btn svg { flex-shrink: 0; }
.mh-admin-btn-primary {
	background: linear-gradient(135deg, #00390e 0%, #005a18 100%);
	color: #fff;
}
.mh-admin-btn-primary:hover {
	background: linear-gradient(135deg, #005a18 0%, #1a7a3a 100%);
	box-shadow: 0 2px 6px rgba(0,57,14,0.25);
}
.mh-admin-btn-secondary {
	background: #f0f5ef;
	color: #00390e;
	border: 1px solid #c0d4c0;
}
.mh-admin-btn-secondary:hover {
	background: #e0ede0;
	border-color: #00390e;
}
.mh-admin-btn-sm {
	padding: 5px 12px;
	font-size: 12px;
}

/* Mobile responsive adjustments */
@media screen and (max-width: 768px) {
	.mh-table-controls {
		flex-direction: column;
		align-items: flex-start;
	}
	
	.mh-search-input {
		min-width: 100%;
		width: 100%;
	}
	
	.mh-table-pagination {
		flex-direction: column;
		align-items: flex-start;
	}
	
	.mh-pagination-buttons {
		width: 100%;
		justify-content: space-between;
	}
}

/* Stack admin action buttons vertically on mobile */
@media screen and (max-width: 700px) {
	.mh-admin-actions {
		flex-direction: column;
		align-items: stretch;
	}
	
	.mh-admin-actions button {
		width: 100%;
	}
}

/* Admin tab styling is handled by ID-based selectors in each page
   (#dm-tabs in adminDocument.php, #wa-tabs in adminWebsite.php) */

/* Common button */
.wa-btn {
	background: #00390e;
	color: #fff;
	border: none;
	padding: 6px 14px;
	border-radius: 4px;
	cursor: pointer;
	font-size: 13px;
	margin: 2px;
}
.wa-btn:hover {
	background: #005a16;
}
.wa-btn-danger {
	background: #b71c1c;
}
.wa-btn-danger:hover {
	background: #d32f2f;
}

/* Form styles in dialogs */
.wa-form label {
	display: block;
	margin-bottom: 10px;
	font-size: 13px;
	color: #333;
}
.wa-form input[type="text"],
.wa-form input[type="email"],
.wa-form input[type="number"],
.wa-form textarea {
	width: 100%;
	padding: 6px 8px;
	border: 1px solid #ccc;
	border-radius: 3px;
	font-size: 13px;
	box-sizing: border-box;
}
.wa-form textarea {
	font-family: monospace;
}

/* Board members table */
.wa-board-table {
	width: 100%;
}
.wa-board-table th {
	background: #00390e;
	color: #fff;
	padding: 8px 10px;
	text-align: left;
	font-size: 13px;
}
.wa-board-table td {
	padding: 6px 10px;
	font-size: 13px;
	border-bottom: 1px solid #e0e0e0;
}

/* FAQ admin table */
.wa-faq-table {
	width: 100%;
}
.wa-faq-table th {
	background: #00390e;
	color: #fff;
	padding: 8px 10px;
	text-align: left;
	font-size: 13px;
}
.wa-faq-table td {
	padding: 6px 10px;
	font-size: 13px;
	border-bottom: 1px solid #e0e0e0;
	vertical-align: top;
}
.wa-faq-question {
	max-width: 500px;
	word-wrap: break-word;
}
.wa-faq-answer-row td {
	background: #f9f9f9;
	border-left: 4px solid #00390e;
}
.wa-faq-answer-box {
	padding: 10px;
	font-size: 13px;
	line-height: 1.5;
}
.wa-faq-answer-text {
	margin: 8px 0;
	padding: 8px;
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 3px;
}

/* Mass mailing block */
.wa-mailing-block-section {
	padding: 10px;
}
.wa-mailing-block-warning {
	background: #fff3cd;
	border: 2px solid #ffc107;
	border-left: 6px solid #ff9800;
	color: #856404;
	padding: 15px 20px;
	border-radius: 4px;
	margin-bottom: 20px;
	font-size: 14px;
}
.wa-mailing-form {
	padding: 10px 0;
	font-size: 14px;
}
.wa-mailing-form label {
	cursor: pointer;
}
.wa-mailing-form input[type="email"] {
	padding: 6px 8px;
	border: 1px solid #ccc;
	border-radius: 3px;
	font-size: 13px;
}

/* Backup stub */
.wa-backup-stub {
	text-align: center;
	padding: 40px 20px;
	color: #666;
}

/* Mobile responsiveness for admin hub */
@media screen and (max-width: 768px) {
	#dm-tabs .ui-tabs-nav li a,
	#wa-tabs .ui-tabs-nav li a {
		font-size: 11px;
		padding: 6px 10px;
	}
	.wa-board-table th,
	.wa-board-table td,
	.wa-faq-table th,
	.wa-faq-table td {
		font-size: 12px;
		padding: 4px 6px;
	}
	.wa-faq-question {
		max-width: 200px;
	}
}

/* ============================================================
   Common Questions (FAQ) - Modern Redesign
   ============================================================ */
.faq-hero {
    background: linear-gradient(135deg, #00390e 0%, #006b1a 100%);
    color: #fff;
    padding: 40px 20px 30px;
    text-align: center;
    border-radius: 0 0 20px 20px;
    margin: -25px -10px 20px -10px;
}
.faq-hero h1 {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 2em;
    margin: 0 0 8px 0;
    font-weight: 700;
    letter-spacing: -0.5px;
}
.faq-hero .faq-subtitle {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 1em;
    font-style: italic;
    color: #b6d8b6;
    margin: 0 0 20px 0;
}
.faq-search-wrap {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}
.faq-search-wrap input[type="text"] {
    width: 100%;
    padding: 14px 48px 14px 20px;
    border: none;
    border-radius: 30px;
    font-size: 1em;
    outline: none;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
    box-sizing: border-box;
    transition: box-shadow 0.2s;
}
.faq-search-wrap input[type="text"]:focus {
    box-shadow: 0 4px 24px rgba(0,57,14,0.3);
}
.faq-search-wrap .faq-search-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #00390e;
    font-size: 1.2em;
    pointer-events: none;
}
.faq-search-wrap .faq-clear-btn {
    position: absolute;
    right: 44px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #999;
    font-size: 1.1em;
    cursor: pointer;
    display: none;
    padding: 4px;
}
.faq-search-wrap .faq-clear-btn:hover {
    color: #333;
}
.faq-count {
    text-align: center;
    color: #666;
    font-size: 0.9em;
    margin: 0 0 20px 0;
    min-height: 1.4em;
}
.faq-no-results {
    text-align: center;
    padding: 40px 20px;
    color: #888;
    font-size: 1.1em;
    display: none;
}
.faq-no-results svg {
    display: block;
    margin: 0 auto 12px;
    width: 48px;
    height: 48px;
    fill: #ccc;
}
.faq-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: box-shadow 0.2s, border-color 0.2s;
    background: #fff;
}
.faq-item:hover {
    box-shadow: 0 2px 12px rgba(0,57,14,0.08);
    border-color: #b3d4bc;
}
.faq-item.faq-open {
    border-color: #00390e;
    box-shadow: 0 2px 16px rgba(0,57,14,0.12);
}
.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    cursor: pointer;
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 600;
    font-size: 1.02em;
    color: #222;
    background: #fafffe;
    transition: background 0.15s;
    user-select: none;
    gap: 12px;
}
.faq-question:hover {
    background: #f0f9f2;
}
.faq-open .faq-question {
    background: #e8f5eb;
    color: #00390e;
}
.faq-chevron {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    transition: transform 0.25s ease;
    fill: #00390e;
}
.faq-open .faq-chevron {
    transform: rotate(180deg);
}
.faq-answer {
    display: none;
    padding: 0 20px 18px 20px;
    color: #444;
    font-family: 'Inter', Arial, sans-serif;
    line-height: 1.7;
    font-size: 0.97em;
}
.faq-answer p {
    margin: 10px 0 0 0;
}
.faq-answer a {
    color: #00390e;
    text-decoration: underline;
    word-break: break-word;
}
.faq-answer a:hover {
    color: #006b1a;
}
.faq-highlight {
    background: #fff3b0;
    border-radius: 2px;
    padding: 0 1px;
}

/* Category filter pills */
.faq-category-wrap {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 auto 8px;
    max-width: 800px;
    padding: 0 20px;
}
.faq-pill {
    display: inline-block;
    padding: 7px 18px;
    border-radius: 20px;
    border: 2px solid #00390e;
    background: transparent;
    color: #00390e;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 0.9em;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    user-select: none;
    white-space: nowrap;
}
.faq-pill:hover:not(.active) {
    background: #e8f5eb;
}
.faq-pill.active {
    background: #00390e;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,57,14,0.2);
}

/* Active item left accent */
.faq-item.faq-open {
    border-left: 4px solid #00390e;
}

/* Staggered entrance animation */
@keyframes faqFadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}
.faq-item.faq-entering {
    animation: faqFadeUp 0.35s ease forwards;
}

/* Responsive category pills */
@media (max-width: 700px) {
    .faq-category-wrap {
        gap: 6px;
        padding: 0 12px;
    }
    .faq-pill {
        padding: 5px 14px;
        font-size: 0.82em;
    }
}

/* Admin FAQ table modernization */
.admin-faq-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}
.admin-faq-table th {
    background: #00390e;
    color: #fff;
    padding: 10px 14px;
    text-align: left;
    font-weight: 600;
    font-size: 0.92em;
}
.admin-faq-table td {
    padding: 10px 14px;
    border-bottom: 1px solid #eee;
    vertical-align: top;
    font-size: 0.95em;
}
.admin-faq-table tr:last-child td {
    border-bottom: none;
}
.admin-faq-table tr:hover td {
    background: #f0f9f2;
}

/* ============================================================
   Document Icons (SVG-based)
   ============================================================ */
.doc-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    vertical-align: middle;
    margin-right: 6px;
    flex-shrink: 0;
}
.doc-icon-lg {
    width: 32px;
    height: 32px;
}

/* ============================================================
   Admin Dashboard: 4 tiles per row
   ============================================================ */
.admin-tiles {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-start;
}
.admin-tile {
    flex: 0 0 calc(25% - 12px);
    max-width: calc(25% - 12px);
    box-sizing: border-box;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 10px;
    text-align: center;
    background: #fff;
    transition: box-shadow 0.2s, transform 0.15s;
    cursor: pointer;
    text-decoration: none;
    color: #222;
}
.admin-tile:hover {
    box-shadow: 0 4px 16px rgba(0,57,14,0.12);
    transform: translateY(-2px);
    border-color: #00390e;
    text-decoration: none;
    color: #00390e;
}
.admin-tile .tile-icon {
    font-size: 1.8em;
    margin-bottom: 6px;
    display: block;
}
.admin-tile .tile-label {
    font-size: 0.88em;
    font-weight: 600;
    line-height: 1.3;
}
@media (max-width: 1000px) {
    .admin-tile {
        flex: 0 0 calc(33.333% - 12px);
        max-width: calc(33.333% - 12px);
    }
}
@media (max-width: 700px) {
    .admin-tile {
        flex: 0 0 calc(50% - 12px);
        max-width: calc(50% - 12px);
    }
    .faq-hero h1 {
        font-size: 1.5em;
    }
}
@media (max-width: 480px) {
    .admin-tile {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* ===================================
   ABOUT US PAGE
   =================================== */

/* -- Inter font (self-hosted) -- */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('fonts/Inter-Light.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/Inter-Regular.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('fonts/Inter-SemiBold.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/Inter-Bold.woff2') format('woff2');
}

/* -- Scroll-triggered animation base -- */
.about-animate {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(.22,1,.36,1), transform 0.7s cubic-bezier(.22,1,.36,1);
}
.about-animate.about-visible {
    opacity: 1;
    transform: translateY(0);
}

/* -- Hero Banner -- */
.about-hero {
    background: linear-gradient(135deg, #00390e 0%, #005a18 40%, #1a7a3a 100%);
    border-radius: 0 0 20px 20px;
    padding: 28px 32px 24px;
    margin: -28px -10px 22px -10px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 32px rgba(0, 57, 14, 0.25);
}
.about-hero::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -30%;
    width: 160%;
    height: 200%;
    background: radial-gradient(ellipse at 30% 20%, rgba(255,255,255,0.08) 0%, transparent 70%);
    pointer-events: none;
}
.about-hero-title {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 1.7em;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.18);
    position: relative;
}
.about-hero-subtitle {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 1em;
    font-style: italic;
    color: #b6d8b6;
    margin: 0;
}
.about-hero-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #7ec87e, #c8f0c8);
    border-radius: 3px;
    margin: 0 auto;
    position: relative;
}

/* -- Section Containers -- */
.about-section {
    margin-bottom: 18px;
    padding: 18px 24px;
    background: rgba(255,255,255,0.03);
    border-radius: 12px;
}
.about-section-alt {
    background: linear-gradient(180deg, rgba(214,225,214,0.15) 0%, rgba(255,255,255,0.03) 100%);
}

/* -- Section Headers -- */
.about-section-header {
    text-align: center;
    margin-bottom: 12px;
}
.about-section-icon {
    display: inline-block;
    font-size: 1.6em;
    margin-bottom: 2px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}
.about-section-title {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 1.4em;
    font-weight: 700;
    color: #003a10;
    margin: 0 0 4px;
    letter-spacing: 0.3px;
    position: relative;
    display: inline-block;
}
.about-section-title::after {
    content: "";
    display: block;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #00390e, #7ec87e);
    margin: 8px auto 0;
    border-radius: 2px;
}

/* -- Mission Cards -- */
.about-cards-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}
.about-card {
    flex: 1 1 260px;
    max-width: 320px;
    background: linear-gradient(170deg, #ffffff, #f1f8f1);
    border-radius: 12px;
    padding: 18px 18px 16px;
    box-shadow: 0 4px 20px rgba(0, 57, 14, 0.10), 0 1px 3px rgba(0,0,0,0.06);
    text-align: center;
    transition: transform 0.3s cubic-bezier(.22,1,.36,1), box-shadow 0.3s ease;
    border: 1px solid rgba(0, 57, 14, 0.08);
    position: relative;
    overflow: hidden;
}
.about-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00390e, #3aad4a, #00390e);
    border-radius: 12px 12px 0 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.about-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 57, 14, 0.18), 0 2px 6px rgba(0,0,0,0.08);
}
.about-card:hover::before {
    opacity: 1;
}
.about-card-icon {
    font-size: 1.7em;
    margin-bottom: 6px;
}
.about-card h3 {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 1.1em;
    color: #00390e;
    margin: 0 0 6px;
    font-weight: 700;
}
.about-card p {
    font-size: 0.95em;
    color: #3a3a3a;
    line-height: 1.5;
    margin: 0;
}
.about-card a {
    color: #00590e;
    text-decoration: underline;
    font-weight: 600;
}
.about-card a:hover {
    color: #007a18;
}

/* -- Contact Section -- */
.about-contact-intro {
    text-align: center;
    font-size: 0.98em;
    color: #444;
    margin-bottom: 14px;
    line-height: 1.6;
}
.about-contact-intro strong {
    color: #00390e;
}
.about-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    max-width: 820px;
    margin: 0 auto;
}
.about-contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #ffffff;
    border-radius: 10px;
    padding: 14px 14px;
    box-shadow: 0 2px 12px rgba(0, 57, 14, 0.08);
    border: 1px solid rgba(0, 57, 14, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    text-decoration: none;
    color: inherit;
    cursor: default;
}
a.about-contact-card {
    cursor: pointer;
}
a.about-contact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(0, 57, 14, 0.16);
    text-decoration: none;
    color: inherit;
}
.about-contact-icon {
    font-size: 1.6em;
    margin-bottom: 4px;
    background: linear-gradient(135deg, #00390e, #2a8a3a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.12));
}
.about-contact-label {
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 700;
    font-size: 0.95em;
    color: #00390e;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.about-contact-value {
    font-size: 0.92em;
    color: #3a3a3a;
    line-height: 1.55;
    word-break: break-word;
}
.about-contact-value small {
    color: #666;
}

/* -- Board of Directors -- */
.about-board-intro {
    text-align: center;
    font-size: 0.98em;
    color: #444;
    margin-bottom: 14px;
    line-height: 1.6;
}
.about-board-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(195px, 1fr));
    gap: 12px;
    max-width: 820px;
    margin: 0 auto;
}
.about-board-card {
    background: linear-gradient(170deg, #ffffff, #f4faf4);
    border-radius: 10px;
    padding: 16px 14px 14px;
    text-align: center;
    box-shadow: 0 3px 16px rgba(0, 57, 14, 0.09);
    border: 1px solid rgba(0, 57, 14, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    overflow: hidden;
}
.about-board-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 15%;
    right: 15%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00390e, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.about-board-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0, 57, 14, 0.16);
}
.about-board-card:hover::after {
    opacity: 1;
}
.about-board-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00390e, #1a7a3a);
    color: #ffffff;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 1em;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    box-shadow: 0 3px 10px rgba(0, 57, 14, 0.2);
    letter-spacing: 1px;
}
.about-board-name {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 1em;
    font-weight: 700;
    color: #00390e;
    margin-bottom: 4px;
}
.about-board-role {
    font-size: 0.85em;
    color: #5a7a5a;
    margin-bottom: 6px;
    font-style: italic;
}
.about-board-email img {
    max-width: 100%;
    height: auto;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}
.about-board-email img:hover {
    opacity: 1;
}

/* -- About Page Responsive -- */
@media (max-width: 768px) {
    .about-hero {
        padding: 22px 14px 18px;
        border-radius: 0 0 16px 16px;
    }
    .about-hero-title {
        font-size: 1.35em;
    }
    .about-hero-subtitle {
        font-size: 0.98em;
    }
    .about-section {
        padding: 14px 12px;
    }
    .about-cards-row {
        flex-direction: column;
        align-items: center;
    }
    .about-card {
        max-width: 100%;
    }
    .about-contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-board-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .about-hero {
        padding: 18px 12px 14px;
        border-radius: 0 0 12px 12px;
    }
    .about-hero-title {
        font-size: 1.15em;
    }
    .about-section-title {
        font-size: 1.25em;
    }
    .about-contact-grid {
        grid-template-columns: 1fr;
    }
    .about-board-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .about-board-card {
        padding: 18px 10px 16px;
    }
}

/* ================================================
   NEW HERE / RESOURCE GUIDE PAGE
   ================================================ */

/* Hero */
.newhere-hero {
    background: linear-gradient(135deg, #00390e 0%, #005a18 50%, #1a7a3a 100%);
    color: #fff;
    text-align: center;
    padding: 28px 32px 24px;
    margin: -28px -10px 0 -10px;
    border-radius: 0 0 20px 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 32px rgba(0, 57, 14, 0.25);
}
.newhere-hero::before {
    content: '';
    position: absolute;
    top: -60%;
    left: -20%;
    width: 140%;
    height: 200%;
    background: radial-gradient(ellipse at 30% 20%, rgba(255,255,255,0.06) 0%, transparent 60%);
    pointer-events: none;
}
.newhere-hero-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.7em;
    font-weight: 700;
    margin: 0 0 8px;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.18);
    position: relative;
}
.newhere-hero-subtitle {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 1em;
    font-style: italic;
    color: #b6d8b6;
    margin: 0;
}
.newhere-hero-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #7ec87e, #c8f0c8);
    border-radius: 3px;
    margin: 0 auto;
    position: relative;
}

/* Welcome */
.newhere-welcome {
    max-width: 780px;
    margin: 28px auto 20px;
    padding: 0 8px;
    text-align: center;
}
.newhere-welcome p {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #333;
    margin: 0 0 12px;
}
.newhere-welcome a {
    color: #005a18;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}
.newhere-welcome a:hover {
    border-bottom-color: #005a18;
}

/* Filter pills */
.newhere-filter-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding: 0 8px;
    margin: 0 auto 28px;
    max-width: 820px;
}
.newhere-pill {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 7px 16px;
    border: 1.5px solid #c5d8c5;
    border-radius: 20px;
    background: #fff;
    color: #00390e;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.newhere-pill:hover {
    background: #e8f0e8;
    border-color: #00390e;
}
.newhere-pill.active {
    background: #00390e;
    color: #fff;
    border-color: #00390e;
}

/* Section container */
.newhere-sections {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 8px 32px;
}

/* Individual section */
.newhere-section {
    margin-bottom: 28px;
}
.newhere-section-header {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid #d6e1d6;
}
.newhere-sort-label {
    margin-left: auto;
    font-size: 0.75rem;
    font-style: italic;
    color: #aaa;
    font-weight: 400;
    white-space: nowrap;
    line-height: 1;
}
.newhere-section-icon {
    font-size: 1.5rem;
    line-height: 1;
}
.newhere-section-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #00390e;
    margin: 0;
    letter-spacing: -0.3px;
}

/* Link grid */
.newhere-link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}
.newhere-link-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    background: #f7faf7;
    border: 1px solid #dce8dc;
    border-radius: 10px;
    text-decoration: none;
    color: #1a3a1a;
    transition: all 0.2s ease;
    min-height: 44px;
}
.newhere-link-card:hover {
    background: #e6f0e6;
    border-color: #a0c4a0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,57,14,0.10);
}
.newhere-link-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
    width: 28px;
    text-align: center;
}
.newhere-link-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    font-weight: 500;
    line-height: 1.3;
}

/* Scroll animations */
.newhere-animate {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.newhere-animate.newhere-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .newhere-hero {
        padding: 22px 14px 18px;
        border-radius: 0 0 16px 16px;
    }
    .newhere-hero-title {
        font-size: 1.35em;
    }
    .newhere-hero-subtitle {
        font-size: 0.98em;
    }
    .newhere-link-grid {
        grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    }
    .newhere-filter-wrap {
        gap: 6px;
    }
    .newhere-pill {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
}
@media (max-width: 480px) {
    .newhere-hero {
        padding: 18px 12px 14px;
        border-radius: 0 0 12px 12px;
    }
    .newhere-hero-title {
        font-size: 1.15em;
    }
    .newhere-hero-subtitle {
        font-size: 0.9em;
    }
    .newhere-link-grid {
        grid-template-columns: 1fr;
    }
    .newhere-welcome p {
        font-size: 0.95rem;
    }
    .newhere-pill {
        font-size: 0.75rem;
        padding: 5px 10px;
    }
}

/* ================================================
   VISIT MILFORD PAGE (visit_milford.php)
   ================================================ */

/* Hero */
.visit-hero {
    background: linear-gradient(135deg, #00390e 0%, #005a18 40%, #1a7a3a 100%);
    color: #fff;
    text-align: center;
    padding: 28px 32px 24px;
    margin: -28px -10px 0 -10px;
    border-radius: 0 0 20px 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 32px rgba(0, 57, 14, 0.25);
}
.visit-hero::before {
    content: '';
    position: absolute;
    top: -60%;
    left: -20%;
    width: 140%;
    height: 200%;
    background: radial-gradient(ellipse at 70% 30%, rgba(255,255,255,0.07) 0%, transparent 60%);
    pointer-events: none;
}
.visit-hero-tagline {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    opacity: 0.7;
    margin: 0 0 6px;
    position: relative;
}
.visit-hero-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.7em;
    font-weight: 700;
    margin: 0 0 8px;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.18);
    position: relative;
}
.visit-hero-subtitle {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 1em;
    font-style: italic;
    color: #b6d8b6;
    margin: 0;
}
.visit-hero-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #7ec87e, #c8f0c8);
    border-radius: 3px;
    margin: 0 auto;
    position: relative;
}

/* Scroll animations */
.visit-animate {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}
.visit-animate.visit-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Intro story blocks */
.visit-intro {
    max-width: 860px;
    margin: 32px auto 0;
    padding: 0 8px;
}
.visit-story-block {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    margin-bottom: 32px;
}
.visit-story-block.reverse {
    flex-direction: row-reverse;
}
.visit-story-img {
    width: 340px;
    min-width: 240px;
    flex-shrink: 0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0,57,14,0.12);
}
.visit-story-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}
.visit-story-img:hover img {
    transform: scale(1.04);
}
.visit-story-text {
    flex: 1;
}
.visit-story-text h2 {
    font-family: 'Inter', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #00390e;
    margin: 0 0 10px;
    letter-spacing: -0.3px;
}
.visit-story-text p {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.75;
    color: #333;
    margin: 0 0 12px;
}

/* Fun facts ribbon */
.visit-facts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin: 8px -10px 32px;
    background: linear-gradient(135deg, #00390e, #005a18);
    border-radius: 14px;
    overflow: hidden;
    position: relative;
}
.visit-fact {
    text-align: center;
    padding: 24px 12px;
    color: #fff;
    position: relative;
}
.visit-fact:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255,255,255,0.15);
}
.visit-fact-number {
    font-family: 'Inter', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    display: block;
    line-height: 1.1;
}
.visit-fact-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 400;
    opacity: 0.8;
    display: block;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Getting Here section */
.visit-getting-here {
    max-width: 860px;
    margin: 0 auto 32px;
    padding: 0 8px;
}
.visit-getting-here h2 {
    font-family: 'Inter', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #00390e;
    margin: 0 0 12px;
    letter-spacing: -0.3px;
}
.visit-getting-here p {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.75;
    color: #333;
    margin: 0 0 14px;
}
.visit-transport-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 16px;
}
.visit-transport-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 18px 10px;
    background: #f2f7f2;
    border: 1px solid #dce8dc;
    border-radius: 12px;
    text-align: center;
    transition: all 0.25s ease;
}
.visit-transport-card:hover {
    background: #e6f0e6;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,57,14,0.10);
}
.visit-transport-icon {
    font-size: 1.8rem;
    line-height: 1;
}
.visit-transport-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    color: #00390e;
}
.visit-transport-detail {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    color: #666;
    line-height: 1.3;
}

/* Category sections (POI / Hotels / Restaurants) */
.visit-section {
    max-width: 860px;
    margin: 0 auto 36px;
    padding: 0 8px;
}
.visit-section-header {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #d6e1d6;
}
.visit-section-icon {
    font-size: 1.6rem;
    line-height: 1;
}
.visit-section-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #00390e;
    margin: 0;
    letter-spacing: -0.3px;
    flex: 1;
}
.visit-section-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    color: #aaa;
    font-style: italic;
    line-height: 1;
    white-space: nowrap;
}

/* POI Cards (larger, more visual) */
.visit-poi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 14px;
}
.visit-poi-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #f7faf7;
    border: 1px solid #dce8dc;
    border-radius: 12px;
    text-decoration: none;
    color: #1a3a1a;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}
.visit-poi-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #1a7a3a;
    border-radius: 4px 0 0 4px;
    opacity: 0;
    transition: opacity 0.25s;
}
.visit-poi-card:hover {
    background: #eaf3ea;
    border-color: #a0c4a0;
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0,57,14,0.10);
}
.visit-poi-card:hover::before {
    opacity: 1;
}
.visit-poi-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 36px;
    text-align: center;
}
.visit-poi-info {
    flex: 1;
    min-width: 0;
}
.visit-poi-name {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    display: block;
    line-height: 1.3;
}
.visit-poi-desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    color: #666;
    display: block;
    margin-top: 2px;
    line-height: 1.3;
}
.visit-poi-arrow {
    font-size: 0.9rem;
    color: #aaa;
    transition: color 0.2s, transform 0.2s;
    flex-shrink: 0;
}
.visit-poi-card:hover .visit-poi-arrow {
    color: #1a7a3a;
    transform: translateX(3px);
}

/* Hotel grid (compact cards with star rating) */
.visit-hotel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}
.visit-hotel-card {
    display: flex;
    flex-direction: column;
    padding: 14px 16px;
    background: #f7faf7;
    border: 1px solid #dce8dc;
    border-radius: 12px;
    text-decoration: none;
    color: #1a3a1a;
    transition: all 0.25s ease;
}
.visit-hotel-card:hover {
    background: #eaf3ea;
    border-color: #a0c4a0;
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0,57,14,0.10);
}
.visit-hotel-name {
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 4px;
}
.visit-hotel-stars {
    font-size: 0.7rem;
    color: #d4a017;
    letter-spacing: 1px;
}
.visit-hotel-type {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    color: #888;
    margin-top: 4px;
}

/* Restaurant grid (fun foodie cards) */
.visit-resto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}
.visit-resto-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: #f7faf7;
    border: 1px solid #dce8dc;
    border-radius: 10px;
    text-decoration: none;
    color: #1a3a1a;
    transition: all 0.2s ease;
}
.visit-resto-card:hover {
    background: #eaf3ea;
    border-color: #a0c4a0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,57,14,0.10);
}
.visit-resto-emoji {
    font-size: 1.3rem;
    flex-shrink: 0;
    width: 28px;
    text-align: center;
}
.visit-resto-name {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.3;
}

/* CTA banner */
.visit-cta {
    background: linear-gradient(135deg, #e8f0e8 0%, #d6e1d6 100%);
    border-radius: 14px;
    padding: 28px 24px;
    text-align: center;
    max-width: 860px;
    margin: 0 auto 32px;
}
.visit-cta h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #00390e;
    margin: 0 0 8px;
}
.visit-cta p {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #333;
    margin: 0 0 16px;
    line-height: 1.6;
}
.visit-cta-btn {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 10px 28px;
    background: #00390e;
    color: #fff !important;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}
.visit-cta-btn:hover {
    background: #005a18;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,57,14,0.2);
    color: #fff !important;
    border-bottom-color: transparent !important;
}

/* Responsive */
@media (max-width: 768px) {
    .visit-hero {
        padding: 22px 14px 18px;
        border-radius: 0 0 16px 16px;
    }
    .visit-hero-title {
        font-size: 1.35em;
    }
    .visit-hero-subtitle {
        font-size: 0.98em;
    }
    .visit-story-block,
    .visit-story-block.reverse {
        flex-direction: column;
    }
    .visit-story-img {
        width: 100%;
        min-width: unset;
    }
    .visit-facts {
        grid-template-columns: repeat(2, 1fr);
    }
    .visit-fact:nth-child(2)::after {
        display: none;
    }
    .visit-fact:nth-child(1)::after,
    .visit-fact:nth-child(3)::after {
        display: block;
    }
    .visit-transport-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .visit-poi-grid {
        grid-template-columns: 1fr;
    }
    .visit-hotel-grid {
        grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    }
}
@media (max-width: 480px) {
    .visit-hero {
        padding: 18px 12px 14px;
        border-radius: 0 0 12px 12px;
    }
    .visit-hero-tagline {
        font-size: 0.7rem;
        margin: 0 0 4px;
    }
    .visit-hero-title {
        font-size: 1.15em;
    }
    .visit-hero-subtitle {
        font-size: 0.9em;
    }
    .visit-facts {
        grid-template-columns: repeat(2, 1fr);
        margin-left: 0;
        margin-right: 0;
    }
    .visit-fact-number {
        font-size: 1.5rem;
    }
    .visit-transport-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .visit-hotel-grid {
        grid-template-columns: 1fr;
    }
    .visit-resto-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================================
   WHY MILFORD HUNT PAGE (buyer_why.php)
   ================================================ */

/* Hero */
.why-hero {
    background: linear-gradient(135deg, #00390e 0%, #005a18 40%, #1a7a3a 100%);
    color: #fff;
    text-align: center;
    padding: 28px 32px 24px;
    margin: -28px -10px 0 -10px;
    border-radius: 0 0 20px 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 32px rgba(0, 57, 14, 0.25);
}
.why-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 140%;
    height: 200%;
    background: radial-gradient(ellipse at 60% 25%, rgba(255,255,255,0.07) 0%, transparent 65%);
    pointer-events: none;
}
.why-hero-title {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 1.7em;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.18);
    position: relative;
}
.why-hero-subtitle {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 1em;
    font-style: italic;
    color: #b6d8b6;
    margin: 0;
}
.why-hero-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #7ec87e, #c8f0c8);
    border-radius: 3px;
    margin: 0 auto;
    position: relative;
}

/* Scroll animations */
.why-animate {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}
.why-animate.why-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Welcome intro */
.why-welcome {
    display: flex;
    gap: 28px;
    align-items: flex-start;
    margin: 28px 0 24px;
    padding: 0 4px;
}
.why-welcome-img {
    flex-shrink: 0;
    width: 300px;
}
.why-welcome-img img {
    width: 100%;
    height: auto;
    display: block;
}
.why-welcome-text {
    flex: 1;
}
.why-welcome-text h2 {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #00390e;
    margin: 0 0 12px;
}
.why-welcome-text p {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #333;
    margin: 0 0 12px;
}

/* Advantage cards */
.why-section {
    margin: 24px 0;
    padding: 0 4px;
}
.why-section-header {
    text-align: center;
    margin: 0 0 20px;
}
.why-section-icon {
    font-size: 1.6rem;
    display: block;
    margin: 0 0 4px;
}
.why-section-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #00390e;
    margin: 0;
}
.why-section-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #555;
    margin: 4px 0 0;
    font-weight: 300;
}
.why-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.why-card {
    background: #fff;
    border: 1px solid #d6e1d6;
    border-radius: 14px;
    padding: 22px 18px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.why-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,57,14,0.1);
}
.why-card-icon {
    font-size: 2rem;
    margin: 0 0 10px;
    display: block;
}
.why-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #00390e;
    margin: 0 0 8px;
}
.why-card p {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #444;
    margin: 0;
}

/* Comparison section */
.why-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 0 0 24px;
}
.why-compare-col {
    border-radius: 14px;
    padding: 22px 20px;
    position: relative;
}
.why-compare-col.why-col-yes {
    background: linear-gradient(135deg, #f0f9f0 0%, #e6f3e6 100%);
    border: 1.5px solid #7ec87e;
}
.why-compare-col.why-col-no {
    background: linear-gradient(135deg, #fdf5f5 0%, #f9ecec 100%);
    border: 1.5px solid #e0b0b0;
}
.why-compare-badge {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 4px 12px;
    border-radius: 20px;
    margin: 0 0 14px;
}
.why-col-yes .why-compare-badge {
    background: #00390e;
    color: #fff;
}
.why-col-no .why-compare-badge {
    background: #8b3a3a;
    color: #fff;
}
.why-compare-col h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 12px;
}
.why-col-yes h3 { color: #00390e; }
.why-col-no h3 { color: #6b2a2a; }
.why-compare-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.why-compare-list li {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #333;
    padding: 6px 0 6px 24px;
    position: relative;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.why-compare-list li:last-child {
    border-bottom: none;
}
.why-compare-list li::before {
    position: absolute;
    left: 0;
    top: 6px;
    font-size: 0.85rem;
}
.why-col-yes .why-compare-list li::before {
    content: '\2713';
    color: #1a7a3a;
    font-weight: 700;
}
.why-col-no .why-compare-list li::before {
    content: '\2717';
    color: #b04040;
    font-weight: 700;
}

/* Neighborhood highlight */
.why-highlight {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    background: #fff;
    padding: 22px 20px;
    margin: 0 0 24px;
}
.why-highlight-img {
    flex-shrink: 0;
    width: 260px;
}
.why-highlight-img img {
    width: 100%;
    height: auto;
    display: block;
}
.why-highlight-text {
    flex: 1;
}
.why-highlight-text h2 {
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #00390e;
    margin: 0 0 10px;
}
.why-highlight-text p {
    font-family: 'Inter', sans-serif;
    font-size: 0.93rem;
    line-height: 1.7;
    color: #333;
    margin: 0 0 10px;
}
.why-highlight-text p:last-child {
    margin: 0;
}

/* CTA banner */
.why-cta {
    background: linear-gradient(135deg, #f7faf7 0%, #eaf3ea 100%);
    border: 1.5px solid #d6e1d6;
    border-radius: 16px;
    padding: 28px 24px;
    text-align: center;
    margin: 0 0 20px;
}
.why-cta h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #00390e;
    margin: 0 0 8px;
}
.why-cta p {
    font-family: 'Inter', sans-serif;
    font-size: 0.93rem;
    color: #444;
    margin: 0 0 16px;
    line-height: 1.6;
}
.why-cta-links {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.why-cta-btn {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none !important;
    transition: all 0.2s ease;
    border-bottom: none !important;
}
.why-cta-btn.primary {
    background: #00390e;
    color: #fff !important;
}
.why-cta-btn.primary:hover {
    background: #005a18;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,57,14,0.2);
    color: #fff !important;
}
.why-cta-btn.secondary {
    background: #fff;
    color: #00390e !important;
    border: 1.5px solid #00390e !important;
}
.why-cta-btn.secondary:hover {
    background: #f0f9f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,57,14,0.1);
    color: #00390e !important;
}

/* Responsive */
@media (max-width: 768px) {
    .why-hero {
        padding: 22px 14px 18px;
        border-radius: 0 0 16px 16px;
    }
    .why-hero-title {
        font-size: 1.35em;
    }
    .why-hero-subtitle {
        font-size: 0.98em;
    }
    .why-welcome {
        flex-direction: column;
    }
    .why-welcome-img {
        width: 100%;
    }
    .why-cards {
        grid-template-columns: 1fr;
    }
    .why-compare {
        grid-template-columns: 1fr;
    }
    .why-highlight {
        flex-direction: column;
    }
    .why-highlight-img {
        width: 100%;
    }
}
@media (max-width: 480px) {
    .why-hero {
        padding: 18px 12px 14px;
        border-radius: 0 0 12px 12px;
    }
    .why-hero-title {
        font-size: 1.15em;
    }
    .why-hero-subtitle {
        font-size: 0.9em;
    }
    .why-cta-links {
        flex-direction: column;
        align-items: center;
    }
}

/* ================================================
   ABOUT MILFORD PAGE (buyer_milford.php)
   ================================================ */

/* Hero */
.milford-hero {
    background: linear-gradient(135deg, #00390e 0%, #005a18 40%, #1a7a3a 100%);
    color: #fff;
    text-align: center;
    padding: 28px 32px 24px;
    margin: -28px -10px 0 -10px;
    border-radius: 0 0 20px 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 32px rgba(0, 57, 14, 0.25);
}
.milford-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -25%;
    width: 150%;
    height: 200%;
    background: radial-gradient(ellipse at 40% 30%, rgba(255,255,255,0.07) 0%, transparent 65%);
    pointer-events: none;
}
.milford-hero-tagline {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    opacity: 0.7;
    margin: 0 0 6px;
    position: relative;
}
.milford-hero-title {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 1.7em;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.18);
    position: relative;
}
.milford-hero-subtitle {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 1em;
    font-style: italic;
    color: #b6d8b6;
    margin: 0;
}
.milford-hero-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #7ec87e, #c8f0c8);
    border-radius: 3px;
    margin: 0 auto;
    position: relative;
}

/* Scroll animations */
.milford-animate {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}
.milford-animate.milford-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Story blocks (alternating image + text) */
.milford-stories {
    margin: 24px 0 0;
    padding: 0 4px;
}
.milford-story {
    display: flex;
    gap: 24px;
    align-items: center;
    margin: 0 0 22px;
}
.milford-story.reverse {
    flex-direction: row-reverse;
}
.milford-story-img {
    flex-shrink: 0;
    width: 340px;
}
.milford-story-img img {
    width: 100%;
    height: auto;
    display: block;
}
.milford-story-text {
    flex: 1;
}
.milford-story-text h2 {
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #00390e;
    margin: 0 0 10px;
}
.milford-story-text p {
    font-family: 'Inter', sans-serif;
    font-size: 0.93rem;
    line-height: 1.7;
    color: #333;
    margin: 0 0 10px;
}
.milford-story-text p:last-child {
    margin: 0;
}

/* Photo mosaic strip */
.milford-mosaic {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin: 0 0 24px;
}
.milford-mosaic-item {
    text-align: center;
}
.milford-mosaic-item img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Quick facts strip */
.milford-facts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: linear-gradient(135deg, #00390e 0%, #005a18 50%, #1a7a3a 100%);
    border-radius: 14px;
    overflow: hidden;
    margin: 0 0 24px;
    position: relative;
}
.milford-fact {
    text-align: center;
    padding: 20px 12px;
    position: relative;
    color: #fff;
}
.milford-fact::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255,255,255,0.15);
}
.milford-fact:last-child::after {
    display: none;
}
.milford-fact-number {
    font-family: 'Inter', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    display: block;
    margin: 0 0 4px;
}
.milford-fact-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 400;
    display: block;
    opacity: 0.75;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Spotlight section (Oyster Festival) */
.milford-spotlight {
    background: #f7faf7;
    border: 1px solid #d6e1d6;
    border-radius: 14px;
    padding: 22px 20px;
    margin: 0 0 24px;
    display: flex;
    gap: 22px;
    align-items: flex-start;
}
.milford-spotlight-img {
    flex-shrink: 0;
    width: 280px;
}
.milford-spotlight-img img {
    width: 100%;
    height: auto;
    display: block;
}
.milford-spotlight-text {
    flex: 1;
}
.milford-spotlight-text h2 {
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #00390e;
    margin: 0 0 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.milford-spotlight-text p {
    font-family: 'Inter', sans-serif;
    font-size: 0.93rem;
    line-height: 1.7;
    color: #333;
    margin: 0 0 10px;
}
.milford-spotlight-text p:last-child {
    margin: 0;
}

/* CTA banner */
.milford-cta {
    background: linear-gradient(135deg, #f7faf7 0%, #eaf3ea 100%);
    border: 1.5px solid #d6e1d6;
    border-radius: 16px;
    padding: 28px 24px;
    text-align: center;
    margin: 0 0 20px;
}
.milford-cta h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #00390e;
    margin: 0 0 8px;
}
.milford-cta p {
    font-family: 'Inter', sans-serif;
    font-size: 0.93rem;
    color: #444;
    margin: 0 0 16px;
    line-height: 1.6;
}
.milford-cta-links {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.milford-cta-btn {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none !important;
    transition: all 0.2s ease;
    border-bottom: none !important;
}
.milford-cta-btn.primary {
    background: #00390e;
    color: #fff !important;
}
.milford-cta-btn.primary:hover {
    background: #005a18;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,57,14,0.2);
    color: #fff !important;
}
.milford-cta-btn.secondary {
    background: #fff;
    color: #00390e !important;
    border: 1.5px solid #00390e !important;
}
.milford-cta-btn.secondary:hover {
    background: #f0f9f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,57,14,0.1);
    color: #00390e !important;
}

/* Responsive */
@media (max-width: 768px) {
    .milford-hero {
        padding: 22px 14px 18px;
        border-radius: 0 0 16px 16px;
    }
    .milford-hero-title {
        font-size: 1.35em;
    }
    .milford-hero-subtitle {
        font-size: 0.98em;
    }
    .milford-story,
    .milford-story.reverse {
        flex-direction: column;
    }
    .milford-story-img {
        width: 100%;
    }
    .milford-mosaic {
        grid-template-columns: repeat(2, 1fr);
    }
    .milford-facts {
        grid-template-columns: repeat(2, 1fr);
    }
    .milford-fact:nth-child(2)::after {
        display: none;
    }
    .milford-spotlight {
        flex-direction: column;
    }
    .milford-spotlight-img {
        width: 100%;
    }
}
@media (max-width: 480px) {
    .milford-hero {
        padding: 18px 12px 14px;
        border-radius: 0 0 12px 12px;
    }
    .milford-hero-tagline {
        font-size: 0.7rem;
        margin: 0 0 4px;
    }
    .milford-hero-title {
        font-size: 1.15em;
    }
    .milford-hero-subtitle {
        font-size: 0.9em;
    }
    .milford-facts {
        grid-template-columns: repeat(2, 1fr);
    }
    .milford-fact-number {
        font-size: 1.3rem;
    }
    .milford-cta-links {
        flex-direction: column;
        align-items: center;
    }
}

/* =============================
   buyer_quotes.php  – .quotes-*
   ============================= */

/* Hero */
.quotes-hero {
    background: linear-gradient(135deg, #00390e 0%, #005a18 50%, #1a7a3a 100%);
    color: #fff;
    text-align: center;
    padding: 28px 32px 24px;
    margin: -28px -10px 0 -10px;
    border-radius: 0 0 20px 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 32px rgba(0,57,14,0.25);
}
.quotes-hero-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.7em;
    font-weight: 700;
    margin: 0 0 6px;
    letter-spacing: -0.5px;
}
.quotes-hero-subtitle {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 1em;
    font-style: italic;
    color: #b6d8b6;
    margin: 0;
}
.quotes-hero-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #7ec87e, #c8f0c8);
    margin: 14px auto 0;
    border-radius: 2px;
}

/* Intro text */
.quotes-intro {
    text-align: center;
    padding: 28px 20px 10px;
}
.quotes-intro p {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #444;
    max-width: 680px;
    margin: 0 auto;
}

/* Animation scaffolding */
.quotes-animate {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.quotes-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Quote cards grid */
.quotes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 14px 4px 24px;
}

/* Individual quote card */
.quotes-card {
    background: #fff;
    border: 1px solid #d6e1d6;
    border-radius: 14px;
    padding: 26px 24px 22px;
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.quotes-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0,57,14,0.10);
}

/* Big decorative quote mark */
.quotes-card::before {
    content: '\201C';
    font-family: Georgia, serif;
    font-size: 4rem;
    line-height: 1;
    color: #7ec87e;
    opacity: 0.35;
    position: absolute;
    top: 10px;
    left: 18px;
    pointer-events: none;
}

/* Quote text */
.quotes-card p {
    font-family: 'Inter', sans-serif;
    font-size: 0.93rem;
    line-height: 1.75;
    color: #333;
    margin: 0;
    padding-left: 28px;
    position: relative;
    font-style: italic;
}

/* Green accent bar on the left */
.quotes-card::after {
    content: '';
    position: absolute;
    left: 0;
    top: 18px;
    bottom: 18px;
    width: 4px;
    background: linear-gradient(180deg, #7ec87e, #00390e);
    border-radius: 0 3px 3px 0;
}

/* Attribution line */
.quotes-card-author {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    color: #00390e;
    margin: 14px 0 0;
    padding-left: 28px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Featured / highlighted card spans full width */
.quotes-card.featured {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #f0f9f0 0%, #e8f4e8 100%);
    border-color: #7ec87e;
}

/* Stagger animation delays */
.quotes-card:nth-child(1) { transition-delay: 0s; }
.quotes-card:nth-child(2) { transition-delay: 0.08s; }
.quotes-card:nth-child(3) { transition-delay: 0.16s; }
.quotes-card:nth-child(4) { transition-delay: 0.24s; }
.quotes-card:nth-child(5) { transition-delay: 0.32s; }
.quotes-card:nth-child(6) { transition-delay: 0.40s; }

/* CTA */
.quotes-cta {
    text-align: center;
    background: linear-gradient(135deg, #00390e 0%, #005a18 50%, #1a7a3a 100%);
    color: #fff;
    border-radius: 14px;
    padding: 28px 24px;
    margin: 0 0 24px;
    position: relative;
    overflow: hidden;
}
.quotes-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 25%, rgba(255,255,255,0.07) 0%, transparent 65%);
    pointer-events: none;
}
.quotes-cta h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff !important;
    margin: 0 0 6px;
    position: relative;
}
.quotes-cta p {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    opacity: 0.9;
    margin: 0 0 16px;
    position: relative;
}
.quotes-cta-links {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}
.quotes-cta-btn {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    display: inline-block;
}
.quotes-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.quotes-cta-btn.primary {
    background: #fff;
    color: #00390e !important;
    border-bottom-color: transparent !important;
}
.quotes-cta-btn.secondary {
    background: transparent;
    border: 1.5px solid rgba(255,255,255,0.5);
    color: #fff !important;
    border-bottom-color: rgba(255,255,255,0.5) !important;
}

/* Responsive – 768px */
@media (max-width: 768px) {
    .quotes-hero {
        padding: 22px 14px 18px;
        border-radius: 0 0 16px 16px;
    }
    .quotes-hero-title {
        font-size: 1.35em;
    }
    .quotes-hero-subtitle {
        font-size: 0.98em;
    }
    .quotes-grid {
        grid-template-columns: 1fr;
    }
    .quotes-card.featured {
        grid-column: auto;
    }
}
/* Responsive – 480px */
@media (max-width: 480px) {
    .quotes-hero {
        padding: 18px 12px 14px;
        border-radius: 0 0 12px 12px;
    }
    .quotes-hero-title {
        font-size: 1.15em;
    }
    .quotes-cta-links {
        flex-direction: column;
        align-items: center;
    }
}

/* =============================
   buyer_listing.php  – .listing-*
   ============================= */

/* Hero */
.listing-hero {
    background: linear-gradient(135deg, #00390e 0%, #005a18 50%, #1a7a3a 100%);
    color: #fff;
    text-align: center;
    padding: 28px 32px 24px;
    margin: -28px -10px 0 -10px;
    border-radius: 0 0 20px 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 32px rgba(0,57,14,0.25);
}
.listing-hero-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.7em;
    font-weight: 700;
    margin: 0 0 6px;
    letter-spacing: -0.5px;
}
.listing-hero-subtitle {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 1em;
    font-style: italic;
    color: #b6d8b6;
    margin: 0;
}
.listing-hero-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #7ec87e, #c8f0c8);
    margin: 14px auto 0;
    border-radius: 2px;
}

/* Animation */
.listing-animate {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.listing-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Main content card */
.listing-content {
    margin: 28px 0 24px;
    padding: 0 4px;
}
.listing-notice {
    background: #f7faf7;
    border: 1px solid #d6e1d6;
    border-radius: 14px;
    padding: 28px 28px 24px;
    display: flex;
    gap: 22px;
    align-items: flex-start;
}
.listing-notice-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #00390e, #1a7a3a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}
.listing-notice-body {
    flex: 1;
}
.listing-notice-body h2 {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #00390e;
    margin: 0 0 10px;
}
.listing-notice-body p {
    font-family: 'Inter', sans-serif;
    font-size: 0.93rem;
    line-height: 1.7;
    color: #444;
    margin: 0 0 10px;
}
.listing-notice-body p:last-child {
    margin: 0;
}

/* Quick links section */
.listing-resources {
    margin: 0 0 24px;
    padding: 0 4px;
}
.listing-resources h2 {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #00390e;
    text-align: center;
    margin: 0 0 16px;
}
.listing-resource-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.listing-resource-card {
    background: #fff;
    border: 1px solid #d6e1d6;
    border-radius: 14px;
    padding: 22px 18px;
    text-align: center;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: block;
}
.listing-resource-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,57,14,0.10);
}
.listing-resource-icon {
    font-size: 2rem;
    margin: 0 0 10px;
    display: block;
}
.listing-resource-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #00390e;
    margin: 0 0 6px;
}
.listing-resource-card p {
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    line-height: 1.5;
    color: #555;
    margin: 0;
}

/* External search links */
.listing-search {
    margin: 0 0 24px;
    padding: 0 4px;
}
.listing-search h2 {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #00390e;
    text-align: center;
    margin: 0 0 6px;
}
.listing-search-sub {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #666;
    text-align: center;
    margin: 0 0 16px;
}
.listing-search-links {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.listing-search-btn {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1.5px solid #d6e1d6;
    color: #00390e !important;
    border-bottom-color: #d6e1d6 !important;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.listing-search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0,57,14,0.10);
    border-color: #7ec87e;
    border-bottom-color: #7ec87e !important;
}

/* CTA */
.listing-cta {
    text-align: center;
    background: linear-gradient(135deg, #00390e 0%, #005a18 50%, #1a7a3a 100%);
    color: #fff;
    border-radius: 14px;
    padding: 28px 24px;
    margin: 0 0 24px;
    position: relative;
    overflow: hidden;
}
.listing-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 25%, rgba(255,255,255,0.07) 0%, transparent 65%);
    pointer-events: none;
}
.listing-cta h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff !important;
    margin: 0 0 6px;
    position: relative;
}
.listing-cta p {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    opacity: 0.9;
    margin: 0 0 16px;
    position: relative;
}
.listing-cta-links {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}
.listing-cta-btn {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    display: inline-block;
}
.listing-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.listing-cta-btn.primary {
    background: #fff;
    color: #00390e !important;
    border-bottom-color: transparent !important;
}
.listing-cta-btn.secondary {
    background: transparent;
    border: 1.5px solid rgba(255,255,255,0.5);
    color: #fff !important;
    border-bottom-color: rgba(255,255,255,0.5) !important;
}

/* Responsive – 768px */
@media (max-width: 768px) {
    .listing-hero {
        padding: 22px 14px 18px;
        border-radius: 0 0 16px 16px;
    }
    .listing-hero-title {
        font-size: 1.35em;
    }
    .listing-hero-subtitle {
        font-size: 0.98em;
    }
    .listing-notice {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .listing-resource-cards {
        grid-template-columns: 1fr;
    }
    .listing-search-links {
        flex-direction: column;
        align-items: center;
    }
}
/* Responsive – 480px */
@media (max-width: 480px) {
    .listing-hero {
        padding: 18px 12px 14px;
        border-radius: 0 0 12px 12px;
    }
    .listing-hero-title {
        font-size: 1.15em;
    }
    .listing-cta-links {
        flex-direction: column;
        align-items: center;
    }
}

/* =============================
   visit_locateus.php  – .locate-*
   ============================= */

/* Hero */
.locate-hero {
    background: linear-gradient(135deg, #00390e 0%, #005a18 50%, #1a7a3a 100%);
    color: #fff;
    text-align: center;
    padding: 28px 32px 24px;
    margin: -28px -10px 0 -10px;
    border-radius: 0 0 20px 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 32px rgba(0,57,14,0.25);
}
.locate-hero-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.7em;
    font-weight: 700;
    margin: 0 0 6px;
    letter-spacing: -0.5px;
}
.locate-hero-subtitle {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 1em;
    font-style: italic;
    color: #b6d8b6;
    margin: 0;
}
.locate-hero-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #7ec87e, #c8f0c8);
    margin: 14px auto 0;
    border-radius: 2px;
}

/* Animation */
.locate-animate {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.locate-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Intro text */
.locate-intro {
    text-align: center;
    padding: 24px 20px 6px;
    max-width: 720px;
    margin: 0 auto;
}
.locate-intro p {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #444;
}

/* Map section */
.locate-map-wrap {
    margin: 16px 0 24px;
    padding: 0 4px;
}
.locate-map-hint {
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    color: #00390e;
    background: #f0f9f0;
    border: 1px solid #d6e1d6;
    border-radius: 8px;
    padding: 8px 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 12px;
}
.locate-map-container {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,57,14,0.12);
    border: 1px solid #d6e1d6;
}
.locate-map-container #mapid {
    height: 400px;
    width: 100%;
}

/* Directions section */
.locate-directions {
    margin: 0 0 24px;
    padding: 0 4px;
}
.locate-directions-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #00390e;
    text-align: center;
    margin: 0 0 16px;
}

/* Direction cards as accordion */
.locate-route {
    background: #fff;
    border: 1px solid #d6e1d6;
    border-radius: 12px;
    margin: 0 0 10px;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}
.locate-route:hover {
    box-shadow: 0 4px 14px rgba(0,57,14,0.08);
}
.locate-route-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s;
}
.locate-route-header:hover {
    background: #f7faf7;
}
.locate-route-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}
.locate-route-name {
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    color: #00390e;
    flex: 1;
}
.locate-route-arrow {
    font-size: 0.8rem;
    color: #999;
    transition: transform 0.3s ease;
}
.locate-route.open .locate-route-arrow {
    transform: rotate(180deg);
}
.locate-route-body {
    display: none;
    padding: 0 18px 16px 48px;
}
.locate-route.open .locate-route-body {
    display: block;
}
.locate-route-body ol {
    margin: 0;
    padding: 0 0 0 18px;
}
.locate-route-body li {
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    line-height: 1.65;
    color: #444;
    padding: 3px 0;
}

/* CTA */
.locate-cta {
    text-align: center;
    background: linear-gradient(135deg, #00390e 0%, #005a18 50%, #1a7a3a 100%);
    color: #fff;
    border-radius: 14px;
    padding: 28px 24px;
    margin: 0 0 24px;
    position: relative;
    overflow: hidden;
}
.locate-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 25%, rgba(255,255,255,0.07) 0%, transparent 65%);
    pointer-events: none;
}
.locate-cta h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff !important;
    margin: 0 0 6px;
    position: relative;
}
.locate-cta p {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    opacity: 0.9;
    margin: 0 0 16px;
    position: relative;
}
.locate-cta-links {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}
.locate-cta-btn {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    display: inline-block;
}
.locate-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.locate-cta-btn.primary {
    background: #fff;
    color: #00390e !important;
    border-bottom-color: transparent !important;
}
.locate-cta-btn.secondary {
    background: transparent;
    border: 1.5px solid rgba(255,255,255,0.5);
    color: #fff !important;
    border-bottom-color: rgba(255,255,255,0.5) !important;
}

/* Responsive – 768px */
@media (max-width: 768px) {
    .locate-hero {
        padding: 22px 14px 18px;
        border-radius: 0 0 16px 16px;
    }
    .locate-hero-title {
        font-size: 1.35em;
    }
    .locate-hero-subtitle {
        font-size: 0.98em;
    }
    .locate-map-container #mapid {
        height: 300px;
    }
}
/* Responsive – 480px */
@media (max-width: 480px) {
    .locate-hero {
        padding: 18px 12px 14px;
        border-radius: 0 0 12px 12px;
    }
    .locate-hero-title {
        font-size: 1.15em;
    }
    .locate-map-container #mapid {
        height: 250px;
    }
    .locate-cta-links {
        flex-direction: column;
        align-items: center;
    }
}

/* ================================================
   PHOTO GALLERY PAGE (photos.php)
   ================================================ */

/* Hero */
.photos-hero {
    background: linear-gradient(135deg, #00390e 0%, #005a18 40%, #1a7a3a 100%);
    color: #fff;
    text-align: center;
    padding: 28px 32px 24px;
    margin: -28px -10px 0 -10px;
    border-radius: 0 0 20px 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 32px rgba(0, 57, 14, 0.25);
}
.photos-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 140%;
    height: 200%;
    background: radial-gradient(ellipse at 50% 30%, rgba(255,255,255,0.07) 0%, transparent 65%);
    pointer-events: none;
}
.photos-hero-title {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 1.7em;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.18);
    position: relative;
}
.photos-hero-subtitle {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 1em;
    font-style: italic;
    color: #b6d8b6;
    margin: 0;
}
.photos-hero-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #7ec87e, #c8f0c8);
    border-radius: 3px;
    margin: 0 auto;
    position: relative;
}

/* Scroll animations */
.photos-animate {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}
.photos-animate.photos-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Intro */
.photos-intro {
    text-align: center;
    padding: 24px 20px 6px;
    max-width: 720px;
    margin: 0 auto;
}
.photos-intro p {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #444;
}

/* Filter pills */
.photos-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 20px 20px;
}
.photos-pill {
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 7px 18px;
    border-radius: 20px;
    border: 1.5px solid #d6e1d6;
    background: #fff;
    color: #00390e;
    cursor: pointer;
    transition: all 0.25s ease;
    outline: none;
}
.photos-pill:hover {
    background: #f0f9f0;
    border-color: #1a7a3a;
}
.photos-pill.active {
    background: #00390e;
    color: #fff;
    border-color: #00390e;
    box-shadow: 0 2px 8px rgba(0,57,14,0.18);
}

/* Gallery grid */
.photos-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 0 4px;
    margin: 0 0 8px;
}
.photos-item {
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.4s ease;
    animation: photosPopIn 0.4s ease both;
}
.photos-item:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 28px rgba(0,57,14,0.18);
    z-index: 2;
}
.photos-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.photos-item:hover img {
    transform: scale(1.06);
}

/* Hover overlay */
.photos-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,57,14,0.85) 0%, rgba(0,57,14,0.2) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 16px 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.photos-item:hover .photos-overlay {
    opacity: 1;
}
.photos-overlay-icon {
    font-size: 1.8rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.7);
    opacity: 0;
    transition: all 0.3s ease 0.05s;
    filter: grayscale(1) brightness(10);
}
.photos-item:hover .photos-overlay-icon {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.9;
}
.photos-overlay-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    color: #fff;
    text-align: center;
    line-height: 1.4;
    transform: translateY(8px);
    transition: transform 0.3s ease 0.08s;
}
.photos-item:hover .photos-overlay-text {
    transform: translateY(0);
}

/* Hidden items (filter) */
.photos-item.photos-hidden {
    display: none;
}
.photos-item.photos-show {
    animation: photosPopIn 0.35s ease both;
}

@keyframes photosPopIn {
    from {
        opacity: 0;
        transform: scale(0.92);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Photo counter badge */
.photos-counter {
    text-align: center;
    padding: 6px 0 20px;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    color: #888;
}
.photos-counter-num {
    display: inline-block;
    background: #00390e;
    color: #fff;
    font-weight: 700;
    font-size: 0.78rem;
    width: 26px;
    height: 26px;
    line-height: 26px;
    border-radius: 50%;
    text-align: center;
    margin-right: 4px;
}

/* Lightbox */
.photos-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0,0,0,0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(6px);
}
.photos-lightbox.photos-lb-open {
    opacity: 1;
    visibility: visible;
}
.photos-lb-content {
    text-align: center;
    max-width: 90vw;
    max-height: 90vh;
    position: relative;
}
.photos-lb-content img {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.5);
    transition: opacity 0.25s ease;
}
.photos-lb-caption {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #fff;
    margin-top: 14px;
    font-weight: 400;
}
.photos-lb-counter {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.5);
    margin-top: 6px;
    letter-spacing: 1px;
}
.photos-lb-close,
.photos-lb-prev,
.photos-lb-next {
    position: absolute;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
}
.photos-lb-close {
    top: 18px;
    right: 22px;
    font-size: 2.2rem;
    opacity: 0.7;
    line-height: 1;
}
.photos-lb-close:hover {
    opacity: 1;
    transform: scale(1.15);
}
.photos-lb-prev,
.photos-lb-next {
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.4rem;
    opacity: 0.6;
    padding: 12px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.photos-lb-prev { left: 18px; }
.photos-lb-next { right: 18px; }
.photos-lb-prev:hover,
.photos-lb-next:hover {
    opacity: 1;
    background: rgba(255,255,255,0.15);
}

/* CTA banner */
.photos-cta {
    background: linear-gradient(135deg, #e8f0e8 0%, #d6e1d6 100%);
    border-radius: 14px;
    padding: 28px 24px;
    text-align: center;
    margin: 8px 0 20px;
}
.photos-cta h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #00390e !important;
    margin: 0 0 8px;
}
.photos-cta p {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #333;
    margin: 0 0 16px;
    line-height: 1.6;
}
.photos-cta-links {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.photos-cta-btn {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none !important;
    transition: all 0.2s ease;
    border-bottom: none !important;
}
.photos-cta-btn.primary {
    background: #00390e;
    color: #fff !important;
}
.photos-cta-btn.primary:hover {
    background: #005a18;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,57,14,0.2);
    color: #fff !important;
}
.photos-cta-btn.secondary {
    background: #fff;
    color: #00390e !important;
    border: 1.5px solid #00390e !important;
}
.photos-cta-btn.secondary:hover {
    background: #f0f9f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,57,14,0.1);
    color: #00390e !important;
}

/* Responsive */
@media (max-width: 768px) {
    .photos-hero {
        padding: 22px 14px 18px;
        border-radius: 0 0 16px 16px;
    }
    .photos-hero-title {
        font-size: 1.35em;
    }
    .photos-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .photos-lb-prev,
    .photos-lb-next {
        width: 40px;
        height: 40px;
        font-size: 1.6rem;
    }
    .photos-lb-prev { left: 8px; }
    .photos-lb-next { right: 8px; }
}
@media (max-width: 480px) {
    .photos-hero {
        padding: 18px 12px 14px;
        border-radius: 0 0 12px 12px;
    }
    .photos-hero-title {
        font-size: 1.15em;
    }
    .photos-gallery {
        grid-template-columns: 1fr;
    }
    .photos-cta-links {
        flex-direction: column;
        align-items: center;
    }
}


/* =====================================================
   MY ACCOUNT SETTINGS PAGE  (.acct-*)
   ===================================================== */

/* Hero */
.acct-hero {
    background: linear-gradient(135deg, #00390e 0%, #005a18 50%, #1a7a3a 100%);
    color: #fff;
    padding: 24px 32px 20px;
    border-radius: 0 0 20px 20px;
    text-align: center;
    margin: -28px -10px 8px -10px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 32px rgba(0, 57, 14, 0.25);
}
.acct-hero-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.7em;
    font-weight: 700;
    margin: 0 0 6px;
    color: #fff !important;
}
.acct-hero-subtitle {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 1em;
    font-style: italic;
    color: #b6d8b6;
    margin: 0;
}
.acct-hero-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.7), transparent);
    margin: 14px auto 0;
    border-radius: 2px;
}

/* Quick nav pills */
.acct-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 14px 16px 8px;
    max-width: 680px;
    margin: 0 auto;
}
.acct-nav-pill {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 20px;
    background: #e8f0e8;
    color: #00390e;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 1.5px solid transparent;
}
.acct-nav-pill:hover {
    background: #00390e;
    color: #fff !important;
    border-color: #00390e;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0,57,14,0.18);
    text-decoration: none;
}

/* Card sections */
.acct-card {
    max-width: 680px;
    margin: 12px auto;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    overflow: hidden;
    border: 1px solid #e2e8e2;
    transition: box-shadow 0.3s ease;
}
.acct-card:hover {
    box-shadow: 0 4px 20px rgba(0,57,14,0.10);
}
.acct-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: linear-gradient(135deg, #f0f5ef 0%, #e8f0e8 100%);
    cursor: pointer;
    user-select: none;
    transition: background 0.2s ease;
    border-bottom: 1px solid #d6e1d6;
}
.acct-card-header:hover {
    background: linear-gradient(135deg, #e8f0e8 0%, #d6e1d6 100%);
}
.acct-card-icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #00390e;
    border-radius: 9px;
}
.acct-card-icon svg {
    width: 20px;
    height: 20px;
    fill: #fff;
}
.acct-card-header-text {
    flex: 1;
}
.acct-card-header-text h2 {
    font-family: 'Inter', sans-serif;
    font-size: 1.1em;
    font-weight: 700;
    color: #00390e;
    margin: 0 0 2px;
}
.acct-card-header-text p {
    font-family: 'Inter', sans-serif;
    font-size: 0.82em;
    color: #5a7a5a;
    margin: 0;
    font-weight: 400;
}
.acct-card-toggle {
    font-size: 0.8em;
    color: #5a7a5a;
    transition: transform 0.3s ease;
}
.acct-card-collapsed .acct-card-toggle {
    transform: rotate(-90deg);
}

/* Card body (collapsible) */
.acct-card-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 20px;
}
.acct-card-body.open {
    max-height: 2000px;
    padding: 16px 20px 18px;
}

/* Form layout */
.acct-field-row {
    display: flex;
    gap: 14px;
    margin-bottom: 10px;
}
.acct-field {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.acct-field label {
    font-family: 'Inter', sans-serif;
    font-size: 0.82em;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
}
.acct-field input[type="text"],
.acct-field input[type="password"] {
    font-family: 'Inter', sans-serif;
    font-size: 0.92em;
    padding: 9px 12px;
    border: 1.5px solid #d0d8d0;
    border-radius: 8px;
    background: #fafcfa;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
    box-sizing: border-box;
}
.acct-field input[type="text"]:focus,
.acct-field input[type="password"]:focus {
    border-color: #1a7a3a;
    box-shadow: 0 0 0 3px rgba(26,122,58,0.10);
    outline: none;
    background: #fff;
}

/* Checkbox / toggle area */
.acct-field-checkbox {
    justify-content: flex-start;
}
.acct-toggle-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}
.acct-toggle-wrap input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #00390e;
    cursor: pointer;
}
.acct-toggle-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.78em;
    color: #666;
}

/* Toggle-switch (iOS-style) — used for Email & SMS opt-in */
.acct-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}
.acct-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.acct-switch .acct-switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #bbb;
    border-radius: 24px;
    transition: background-color .25s;
}
.acct-switch .acct-switch-slider::before {
    content: "";
    position: absolute;
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: #fff;
    border-radius: 50%;
    transition: transform .25s;
}
.acct-switch input:checked + .acct-switch-slider {
    background-color: #00390e;
}
.acct-switch input:checked + .acct-switch-slider::before {
    transform: translateX(20px);
}
.acct-switch input:focus + .acct-switch-slider {
    box-shadow: 0 0 2px #00390e;
}
.acct-switch input:disabled + .acct-switch-slider {
    background-color: #ddd;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Phone wrap (input + verify badge + button) */
.acct-phone-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}
.acct-phone-wrap input[type="text"] {
    flex: 1;
}

/* Phone divider label */
.acct-divider-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.88em;
    font-weight: 600;
    color: #00390e;
    margin: 12px 0 10px;
    padding-bottom: 4px;
    border-bottom: 1.5px solid #e2e8e2;
}

/* Verify badges */
.acct-verify-badge {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}
.acct-verify-btn {
    font-family: 'Inter', sans-serif;
    font-size: 0.72em;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 6px;
    border: 1.5px solid #1a7a3a;
    background: #e8f5e8;
    color: #00390e;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}
.acct-verify-btn:hover {
    background: #00390e;
    color: #fff;
}

/* Card action buttons */
.acct-card-actions {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #e8f0e8;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}
.acct-save-btn {
    font-family: 'Inter', sans-serif;
    font-size: 0.88em;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
}
.acct-save-btn.primary {
    background: linear-gradient(135deg, #00390e, #005a18);
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,57,14,0.18);
}
.acct-save-btn.primary .ui-icon {
    filter: brightness(0) invert(1);
}
.acct-save-btn.primary:hover {
    background: linear-gradient(135deg, #005a18, #1a7a3a);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0,57,14,0.25);
}
.acct-save-btn.secondary {
    background: #e8f0e8;
    color: #00390e;
    border: 1.5px solid #c0d8c0;
}
.acct-save-btn.secondary:hover {
    background: #d6e1d6;
    border-color: #00390e;
}

/* Linked accounts table */
.acct-linked-table table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Inter', sans-serif;
    font-size: 0.88em;
}
.acct-linked-table th {
    background: #f0f5ef;
    color: #00390e;
    font-weight: 600;
    text-align: left;
    padding: 10px 12px;
    border-bottom: 2px solid #d6e1d6;
}
.acct-linked-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #e8f0e8;
    color: #333;
}
.acct-linked-table tr:hover td {
    background: #f8fbf8;
}
.acct-loading {
    font-family: 'Inter', sans-serif;
    color: #888;
    font-style: italic;
    text-align: center;
    padding: 20px;
}

/* Password requirements box */
.acct-pwd-requirements {
    margin-top: 10px;
    padding: 10px 14px;
    background: #f0f5ef;
    border-left: 4px solid #00390e;
    border-radius: 0 8px 8px 0;
    font-family: 'Inter', sans-serif;
    font-size: 0.8em;
    color: #444;
}
.acct-pwd-requirements strong {
    color: #00390e;
}
.acct-pwd-requirements ul {
    margin: 6px 0 0 20px;
    padding: 0;
}
.acct-pwd-requirements li {
    margin-bottom: 3px;
}

/* Scroll reveal animation */
.acct-animate {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.acct-animate.acct-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Email change notice */
.acct-email-notice {
    font-family: 'Inter', sans-serif;
    font-size: 0.82em;
    color: #5a5a00;
    background: #fefce8;
    border: 1px solid #e5d88c;
    border-left: 4px solid #c5a700;
    border-radius: 0 8px 8px 0;
    padding: 10px 14px;
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    line-height: 1.5;
}

/* ---- Responsive ---- */
@media screen and (max-width: 768px) {
    .acct-hero {
        border-radius: 0 0 16px 16px;
        padding: 18px 16px 14px;
        margin: -28px -10px 6px -10px;
    }
    .acct-hero-title {
        font-size: 1.35em;
    }
    .acct-card {
        margin: 10px 10px;
        border-radius: 12px;
    }
    .acct-card-header {
        padding: 12px 14px;
        gap: 10px;
    }
    .acct-card-icon {
        width: 32px;
        height: 32px;
        border-radius: 7px;
    }
    .acct-card-icon svg {
        width: 17px;
        height: 17px;
    }
    .acct-card-body.open {
        padding: 14px 14px 16px;
    }
    .acct-field-row {
        flex-direction: column;
        gap: 10px;
    }
    .acct-nav {
        padding: 14px 10px 8px;
        gap: 8px;
    }
    .acct-nav-pill {
        font-size: 0.78em;
        padding: 6px 14px;
    }
    .acct-card-actions {
        justify-content: stretch;
    }
    .acct-save-btn {
        width: 100%;
        justify-content: center;
    }
}

@media screen and (max-width: 480px) {
    .acct-hero {
        border-radius: 0 0 12px 12px;
        padding: 14px 12px 12px;
        margin: -28px -10px 4px -10px;
    }
    .acct-hero-title {
        font-size: 1.15em;
    }
    .acct-card-header-text h2 {
        font-size: 0.95em;
    }
    .acct-card-header-text p {
        font-size: 0.75em;
    }
    .acct-phone-wrap {
        flex-wrap: wrap;
    }
}


/* =====================================================
   LOGIN PAGE  (.login-*)
   ===================================================== */

/* Hero */
.login-hero {
    background: linear-gradient(135deg, #00390e 0%, #005a18 50%, #1a7a3a 100%);
    color: #fff;
    padding: 24px 32px 20px;
    border-radius: 0 0 20px 20px;
    text-align: center;
    margin: -28px -10px 8px -10px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 32px rgba(0, 57, 14, 0.25);
}
.login-hero-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.7em;
    font-weight: 700;
    margin: 0 0 6px;
    color: #fff !important;
}
.login-hero-subtitle {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 1em;
    font-style: italic;
    color: #b6d8b6;
    margin: 0;
}
.login-hero-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.7), transparent);
    margin: 14px auto 0;
    border-radius: 2px;
}

/* Card */
.login-card {
    max-width: 460px;
    margin: 28px auto 40px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.04);
    overflow: hidden;
    border: 1px solid #e2e8e2;
}

/* Tabs */
.login-tabs {
    display: flex;
    background: #f0f5ef;
    border-bottom: 2px solid #d6e1d6;
}
.login-tab {
    flex: 1;
    font-family: 'Inter', sans-serif;
    font-size: 0.85em;
    font-weight: 600;
    padding: 14px 8px;
    border: none;
    background: transparent;
    color: #5a7a5a;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
}
.login-tab:hover {
    color: #00390e;
    background: rgba(0,57,14,0.04);
}
.login-tab.active {
    color: #00390e;
    background: #fff;
}
.login-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 20%;
    right: 20%;
    height: 3px;
    background: #00390e;
    border-radius: 3px 3px 0 0;
}

/* Panels */
.login-panel {
    display: none;
    padding: 28px 32px 32px;
}
.login-panel.active {
    display: block;
}
.login-panel-desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.88em;
    color: #555;
    margin: 0 0 20px;
    line-height: 1.6;
}

/* Feedback */
.login-feedback {
    font-family: 'Inter', sans-serif;
    font-size: 0.84em;
    padding: 0 32px;
    margin: 0;
    line-height: 1.5;
    min-height: 1.2em;
    transition: all 0.3s ease;
}
.login-feedback-error {
    color: #c62828;
    background: #fdecea;
    padding: 10px 32px;
    border-left: 3px solid #c62828;
}
.login-feedback-success {
    color: #1b5e20;
    background: #e8f5e9;
    padding: 10px 32px;
    border-left: 3px solid #1b5e20;
}

/* Fields */
.login-field {
    margin-bottom: 18px;
}
.login-field label {
    font-family: 'Inter', sans-serif;
    font-size: 0.82em;
    font-weight: 600;
    color: #333;
    display: block;
    margin-bottom: 6px;
}
.login-input-wrap {
    display: flex;
    align-items: center;
    border: 1.5px solid #d0d8d0;
    border-radius: 10px;
    background: #fafcfa;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}
.login-input-wrap:focus-within {
    border-color: #1a7a3a;
    box-shadow: 0 0 0 3px rgba(26,122,58,0.12);
    background: #fff;
}
.login-input-icon {
    padding: 0 4px 0 14px;
    font-size: 1em;
    color: #999;
    flex-shrink: 0;
    line-height: 1;
}
.login-input-wrap input {
    flex: 1;
    font-family: 'Inter', sans-serif;
    font-size: 0.94em;
    padding: 11px 14px 11px 8px;
    border: none;
    background: transparent;
    outline: none;
    color: #222;
    width: 100%;
}
.login-input-wrap input::placeholder {
    color: #aaa;
    font-weight: 400;
}

/* Remember me */
.login-remember {
    margin-bottom: 20px;
}
.login-remember label {
    font-family: 'Inter', sans-serif;
    font-size: 0.82em;
    color: #555;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}
.login-remember input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #00390e;
    cursor: pointer;
}

/* Submit buttons */
.login-submit-btn {
    width: 100%;
    font-family: 'Inter', sans-serif;
    font-size: 0.95em;
    font-weight: 700;
    padding: 13px 20px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s ease;
    background: linear-gradient(135deg, #00390e, #005a18);
    color: #fff;
    box-shadow: 0 2px 10px rgba(0,57,14,0.18);
    letter-spacing: 0.02em;
}
.login-submit-btn:hover {
    background: linear-gradient(135deg, #005a18, #1a7a3a);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0,57,14,0.28);
}
.login-submit-btn:active {
    transform: translateY(0);
}
.login-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Reset password button - distinct color */
.login-btn-reset {
    background: linear-gradient(135deg, #b45309, #d97706);
    box-shadow: 0 2px 10px rgba(180,83,9,0.18);
}
.login-btn-reset:hover {
    background: linear-gradient(135deg, #d97706, #f59e0b);
    box-shadow: 0 4px 16px rgba(180,83,9,0.28);
}

/* Register button - slightly different shade */
.login-btn-register {
    background: linear-gradient(135deg, #1a5276, #2471a3);
    box-shadow: 0 2px 10px rgba(26,82,118,0.18);
}
.login-btn-register:hover {
    background: linear-gradient(135deg, #2471a3, #2e86c1);
    box-shadow: 0 4px 16px rgba(26,82,118,0.28);
}

/* Alt action link */
.login-alt-action {
    font-family: 'Inter', sans-serif;
    font-size: 0.82em;
    color: #777;
    text-align: center;
    margin: 20px 0 0;
}
.login-alt-action a {
    color: #00390e;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}
.login-alt-action a:hover {
    color: #1a7a3a;
    text-decoration: underline;
}

/* Scroll reveal */
.login-animate {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.login-animate.login-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---- Responsive ---- */
@media screen and (max-width: 768px) {
    .login-hero {
        border-radius: 0 0 16px 16px;
        padding: 18px 16px 14px;
        margin: -28px -10px 6px -10px;
    }
    .login-hero-title {
        font-size: 1.35em;
    }
    .login-card {
        margin: 20px 12px 30px;
        border-radius: 14px;
    }
    .login-panel {
        padding: 22px 20px 26px;
    }
    .login-feedback {
        padding: 0 20px;
    }
    .login-feedback-error,
    .login-feedback-success {
        padding: 10px 20px;
    }
}

@media screen and (max-width: 480px) {
    .login-hero {
        border-radius: 0 0 12px 12px;
        padding: 14px 12px 12px;
        margin: -28px -10px 4px -10px;
    }
    .login-hero-title {
        font-size: 1.15em;
    }
    .login-tab {
        font-size: 0.76em;
        padding: 12px 4px;
    }
    .login-panel {
        padding: 18px 16px 22px;
    }
}

/* Login Modal Overlay (used by showLoginDialog on mobile / restricted pages) */
.login-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    animation: loginModalFadeIn 0.25s ease;
}
@keyframes loginModalFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
.login-modal-card {
    position: relative;
    width: 100%;
    max-width: 440px;
    max-height: 90vh;
    overflow-y: auto;
    margin: 0;
    animation: loginModalSlideUp 0.3s ease;
}
@keyframes loginModalSlideUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
.login-modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    z-index: 10;
    background: none;
    border: none;
    font-size: 1.5em;
    color: #888;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s ease, color 0.2s ease;
    line-height: 1;
}
.login-modal-close:hover {
    background: rgba(0,0,0,0.08);
    color: #333;
}


/* =====================================================
   ADMIN MODAL SYSTEM  (.mh-modal-*)
   ===================================================== */

/* Overlay */
.mh-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 32px 16px;
    overflow-y: auto;
    animation: mhModalFadeIn 0.2s ease;
}
@keyframes mhModalFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Modal container */
.mh-modal {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 64px);
    width: 100%;
    margin-top: 0;
    margin-bottom: auto;
    flex-shrink: 0;
    animation: mhModalSlideUp 0.25s ease;
}
@keyframes mhModalSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Size variants */
.mh-modal-sm  { max-width: 460px;  }
.mh-modal-md  { max-width: 640px;  }
.mh-modal-lg  { max-width: 880px;  }
.mh-modal-xl  { max-width: 1060px; }
.mh-modal-full { max-width: 90vw;  }

/* Header */
.mh-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    border-bottom: 1px solid #e0e0e0;
    background: #f0f5ef;
    border-radius: 12px 12px 0 0;
    flex-shrink: 0;
}
.mh-modal-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.05em;
    font-weight: 700;
    color: #00390e;
    margin: 0;
}
.mh-modal-close {
    background: none;
    border: none;
    font-size: 1.4em;
    color: #888;
    cursor: pointer;
    width: 32px; height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s, color 0.2s;
    line-height: 1;
    flex-shrink: 0;
}
.mh-modal-close:hover {
    background: rgba(0,0,0,0.08);
    color: #333;
}

/* Body */
.mh-modal-body {
    padding: 24px;
    overflow-y: auto;
    flex: 1;
}
.mh-modal-body label {
    font-family: 'Inter', sans-serif;
    font-size: 0.82em;
    font-weight: 600;
    color: #333;
    display: block;
    margin: 12px 0 4px;
}
.mh-modal-body label:first-child {
    margin-top: 0;
}
.mh-modal-body input[type="text"],
.mh-modal-body input[type="email"],
.mh-modal-body input[type="number"],
.mh-modal-body input[type="date"],
.mh-modal-body input[type="password"],
.mh-modal-body textarea,
.mh-modal-body select {
    font-family: 'Inter', sans-serif;
    font-size: 0.92em;
    padding: 9px 12px;
    border: 1.5px solid #d0d8d0;
    border-radius: 8px;
    background: #fafcfa;
    color: #222;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}
.mh-modal-body input[type="text"]:focus,
.mh-modal-body input[type="email"]:focus,
.mh-modal-body input[type="number"]:focus,
.mh-modal-body input[type="date"]:focus,
.mh-modal-body input[type="password"]:focus,
.mh-modal-body textarea:focus,
.mh-modal-body select:focus {
    border-color: #1a7a3a;
    box-shadow: 0 0 0 3px rgba(26,122,58,0.12);
    background: #fff;
}
.mh-modal-body .ui-state-error {
    border-color: #c62828 !important;
    box-shadow: 0 0 0 3px rgba(198,40,40,0.12) !important;
}
.mh-modal-body .mh-modal-msg {
    font-family: 'Inter', sans-serif;
    font-size: 0.92em;
    line-height: 1.6;
    color: #333;
}
.mh-modal-body .mh-modal-msg strong {
    color: #00390e;
}
.mh-modal-body .mh-modal-icon-error {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}
.mh-modal-body .mh-modal-icon-error svg {
    flex-shrink: 0;
}

/* Footer */
.mh-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 14px 24px;
    border-top: 1px solid #e0e0e0;
    background: #f0f5ef;
    border-radius: 0 0 12px 12px;
    flex-shrink: 0;
    flex-wrap: wrap;
}
.mh-modal-footer-left {
    justify-content: space-between;
}

/* Modal Buttons */
.mh-modal-btn {
    font-family: 'Inter', sans-serif;
    font-size: 0.85em;
    font-weight: 600;
    padding: 9px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.mh-modal-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.mh-modal-btn-primary {
    background: linear-gradient(135deg, #00390e, #005a18);
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,57,14,0.15);
}
.mh-modal-btn-primary:hover:not(:disabled) {
    background: linear-gradient(135deg, #005a18, #1a7a3a);
    box-shadow: 0 3px 12px rgba(0,57,14,0.25);
}
.mh-modal-btn-danger {
    background: #c62828;
    color: #fff;
}
.mh-modal-btn-danger:hover:not(:disabled) {
    background: #e53935;
}
.mh-modal-btn-secondary {
    background: #e8ede8;
    color: #333;
}
.mh-modal-btn-secondary:hover:not(:disabled) {
    background: #d0d8d0;
}
.mh-modal-btn-warning {
    background: #e65100;
    color: #fff;
}
.mh-modal-btn-warning:hover:not(:disabled) {
    background: #f57c00;
}

/* ── Admin Tabs (following login tab pattern) ── */
.admin-tabs {
    display: flex;
    align-items: stretch;
    background: #f0f5ef;
    border-bottom: 2px solid #d6e1d6;
    border-radius: 10px 10px 0 0;
    overflow-x: auto;
}
.admin-tab {
    font-family: 'Inter', sans-serif;
    font-size: 0.85em;
    font-weight: 600;
    padding: 12px 20px;
    margin: 0;
    border: none;
    background: transparent;
    color: #5a7a5a;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    white-space: nowrap;
    box-sizing: border-box;
}
.admin-tab:hover {
    color: #00390e;
    background: rgba(0,57,14,0.04);
}
.admin-tab.active {
    color: #00390e;
    background: #fff;
}
.admin-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20%;
    right: 20%;
    height: 3px;
    background: #00390e;
    border-radius: 3px 3px 0 0;
}
.admin-panel {
    display: none;
    padding: 20px 10px;
}
.admin-panel.active {
    display: block;
}

/* Responsive admin modal */
@media screen and (max-width: 768px) {
    .mh-modal {
        max-width: 100% !important;
        border-radius: 10px;
        max-height: 95vh;
    }
    .mh-modal-header {
        padding: 12px 16px;
        border-radius: 10px 10px 0 0;
    }
    .mh-modal-body {
        padding: 16px;
    }
    .mh-modal-footer {
        padding: 12px 16px;
        border-radius: 0 0 10px 10px;
    }
    .admin-tab {
        font-size: 0.78em;
        padding: 10px 12px;
    }
}


/* =====================================================
   DOCUMENTS PAGE  (.docs-*)
   ===================================================== */

/* Hero */
.docs-hero {
    background: linear-gradient(135deg, #00390e 0%, #005a18 50%, #1a7a3a 100%);
    color: #fff;
    padding: 28px 32px 24px;
    border-radius: 0 0 20px 20px;
    text-align: center;
    margin: -28px -10px 12px -10px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 32px rgba(0, 57, 14, 0.25);
}
.docs-hero-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.7em;
    font-weight: 700;
    margin: 0 0 6px;
    color: #fff !important;
}
.docs-hero-subtitle {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 1em;
    font-style: italic;
    color: #b6d8b6;
    margin: 0;
}
.docs-hero-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.7), transparent);
    margin: 12px auto 18px;
    border-radius: 2px;
}

/* Search bar in hero */
.docs-search-wrap {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}
.docs-search-wrap input[type="text"] {
    width: 100%;
    padding: 13px 48px 13px 20px;
    border: none;
    border-radius: 30px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95em;
    outline: none;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
    box-sizing: border-box;
    transition: box-shadow 0.2s;
    color: #222;
}
.docs-search-wrap input[type="text"]::placeholder {
    color: #999;
}
.docs-search-wrap input[type="text"]:focus {
    box-shadow: 0 4px 24px rgba(0,57,14,0.3);
}
.docs-search-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #00390e;
    pointer-events: none;
}
.docs-clear-btn {
    position: absolute;
    right: 44px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #999;
    font-size: 1.2em;
    cursor: pointer;
    display: none;
    padding: 4px;
}
.docs-clear-btn:hover {
    color: #333;
}

/* Result count */
.docs-count {
    text-align: center;
    color: #666;
    font-family: 'Inter', sans-serif;
    font-size: 0.88em;
    margin: 0 0 14px;
    min-height: 1.3em;
}

/* No results */
.docs-no-results {
    text-align: center;
    padding: 36px 20px;
    color: #888;
    font-family: 'Inter', sans-serif;
    font-size: 1em;
    display: none;
}
.docs-no-results svg {
    display: block;
    margin: 0 auto 10px;
}

/* Section accordion */
.docs-section {
    margin-bottom: 6px;
}
.docs-section-header {
    background: linear-gradient(135deg, #00390e, #005a18);
    color: #fff;
    padding: 12px 18px;
    cursor: pointer;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95em;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.docs-section-header:hover {
    background: linear-gradient(135deg, #005a18, #1a7a3a);
    box-shadow: 0 2px 8px rgba(0,57,14,0.15);
}
.docs-section-header .docs-toggle {
    font-size: 14px;
    transition: transform 0.3s;
    opacity: 0.7;
}
.docs-section-header.open .docs-toggle {
    transform: rotate(90deg);
}
.docs-section-body {
    display: none;
    padding: 4px 4px 6px;
}

/* Count badge */
.docs-count-badge {
    background: rgba(255,255,255,0.25);
    padding: 2px 9px;
    border-radius: 10px;
    font-size: 0.78em;
    font-weight: 500;
    margin-left: 8px;
}

/* Sub-section */
.docs-subsection {
    margin: 3px 0;
}
.docs-subsection-header {
    background: #e8f5e9;
    color: #00390e;
    padding: 10px 16px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 0.88em;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-left: 4px solid #00390e;
    border-radius: 0 6px 6px 0;
    transition: background 0.2s;
}
.docs-subsection-header:hover {
    background: #c8e6c9;
}
.docs-subsection-header .docs-toggle {
    font-size: 13px;
    transition: transform 0.3s;
    opacity: 0.6;
}
.docs-subsection-header.open .docs-toggle {
    transform: rotate(90deg);
}
.docs-subsection-header .docs-count-badge {
    background: rgba(0,57,14,0.1);
    color: #00390e;
}
.docs-subsection-body {
    display: none;
    padding: 4px 0 6px 20px;
}
.docs-subcat-label {
    font-size: 0.85em;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 8px 0 2px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 4px;
}

/* Document list items */
.docs-item {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    border-bottom: 1px solid #f0f0f0;
    font-family: 'Inter', sans-serif;
    font-size: 0.9em;
    transition: background 0.15s;
    border-radius: 4px;
}
.docs-item:last-child {
    border-bottom: none;
}
.docs-item:hover {
    background: #f8fbf8;
}
.docs-icon {
    margin-right: 12px;
    flex-shrink: 0;
    line-height: 0;
}
.docs-info {
    flex: 1;
    min-width: 0;
}
.docs-title a {
    color: #00390e;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92em;
}
.docs-title a:hover {
    text-decoration: underline;
    color: #1a7a3a;
}
.docs-meta {
    font-size: 0.78em;
    color: #888;
    margin-top: 2px;
}
.docs-actions {
    flex-shrink: 0;
    margin-left: 12px;
    display: flex;
    gap: 6px;
}
.docs-action-btn {
    font-family: 'Inter', sans-serif;
    font-size: 0.78em;
    font-weight: 600;
    color: #00390e !important;
    text-decoration: none;
    padding: 5px 12px;
    border: 1px solid #d0d8d0 !important;
    border-radius: 6px;
    transition: all 0.2s;
    background: #fff;
    display: inline-block;
    line-height: 1.3;
    box-sizing: border-box;
}
.docs-action-btn:hover {
    background: #00390e;
    color: #fff !important;
    border-color: #00390e !important;
    text-decoration: none !important;
}

/* ---- Responsive ---- */
@media screen and (max-width: 768px) {
    .docs-hero {
        border-radius: 0 0 16px 16px;
        padding: 22px 16px 18px;
        margin: -28px -10px 10px -10px;
    }
    .docs-hero-title {
        font-size: 1.35em;
    }
    .docs-search-wrap {
        max-width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .docs-hero {
        border-radius: 0 0 12px 12px;
        padding: 18px 12px 14px;
        margin: -28px -10px 8px -10px;
    }
    .docs-hero-title {
        font-size: 1.15em;
    }
    .docs-item {
        flex-wrap: wrap;
    }
    .docs-actions {
        width: 100%;
        margin-left: 36px;
        margin-top: 6px;
    }
}

/* ===================================================================
   CONTACT US PAGE  (.contact-*)
   =================================================================== */

/* Hero */
.contact-hero {
    background: linear-gradient(135deg, #00390e 0%, #005a18 60%, #1a7a3a 100%);
    border-radius: 0 0 20px 20px;
    padding: 28px 32px 24px;
    margin: -28px -10px 28px -10px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 32px rgba(0,57,14,0.25);
}
.contact-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}
.contact-hero-title {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 1.7em;
    font-weight: 700;
    color: #fff;
    margin: 0 0 6px 0;
    letter-spacing: 0.5px;
}
.contact-hero-subtitle {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 1em;
    font-style: italic;
    color: #b6d8b6;
    margin: 0;
}
.contact-hero-divider {
    height: 3px;
    width: 60px;
    margin: 14px auto 0;
    border-radius: 2px;
    background: linear-gradient(90deg, #1a7a3a, #43b85c);
}

/* Info Cards Row */
.contact-info-row {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 0 auto 28px;
    max-width: 750px;
}
.contact-info-card {
    flex: 1;
    background: #f6faf6;
    border: 1px solid #d6e1d6;
    border-radius: 14px;
    padding: 22px 16px;
    text-align: center;
    transition: box-shadow 0.25s, transform 0.25s;
}
.contact-info-card:hover {
    box-shadow: 0 6px 24px rgba(0,57,14,0.13);
    transform: translateY(-3px);
}
.contact-info-icon {
    margin-bottom: 10px;
}
.contact-info-label {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 0.8em;
    font-weight: 600;
    color: #00390e;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}
.contact-info-value {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 0.9em;
    color: #444;
}

/* Form Card */
.contact-wrapper {
    max-width: 750px;
    margin: 0 auto;
    padding: 0 0 30px;
}
.contact-card {
    background: #fff;
    border: 1px solid #d6e1d6;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,57,14,0.07);
}
.contact-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 24px;
    background: linear-gradient(135deg, #00390e, #005a18);
    color: #fff;
}
.contact-card-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 10px;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact-card-title {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 1.15em;
    font-weight: 700;
    color: #fff !important;
    margin: 0 0 2px;
}
.contact-card-desc {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 0.85em;
    color: #b6d8b6;
    margin: 0;
}
.contact-card-body {
    padding: 28px 28px 24px;
}

/* Field Layout */
.contact-field-row {
    display: flex;
    gap: 20px;
    margin-bottom: 0;
}
.contact-field-row--half .contact-field {
    flex: 1;
}
.contact-field {
    margin-bottom: 18px;
}
.contact-field label {
    display: block;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 0.85em;
    font-weight: 600;
    color: #1a3a1a;
    margin-bottom: 6px;
}
.contact-required {
    color: #c0392b;
    font-weight: 700;
}

/* Input Wrappers with Icons */
.contact-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.contact-input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 1;
}
.contact-input-icon--textarea {
    top: 16px;
    transform: none;
}
.contact-input-wrap input,
.contact-input-wrap select,
.contact-input-wrap textarea {
    width: 100%;
    padding: 10px 14px 10px 40px;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 0.92em;
    color: #222;
    border: 1.5px solid #c5d5c5;
    border-radius: 10px;
    background: #fafcfa;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}
.contact-input-wrap input:focus,
.contact-input-wrap select:focus,
.contact-input-wrap textarea:focus {
    border-color: #1a7a3a;
    box-shadow: 0 0 0 3px rgba(26,122,58,0.12);
    background: #fff;
}
.contact-input-wrap input.ui-state-error,
.contact-input-wrap textarea.ui-state-error {
    border-color: #c0392b;
    box-shadow: 0 0 0 3px rgba(192,57,43,0.10);
}
.contact-input-wrap textarea {
    resize: vertical;
    min-height: 100px;
}
.contact-input-wrap--select select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 34px;
}

/* Feedback Messages */
.contact-feedback {
    display: none;
    padding: 12px 16px;
    border-radius: 10px;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 0.9em;
    font-weight: 500;
    margin-bottom: 16px;
}
.contact-feedback--visible {
    display: block;
}
.contact-feedback--success {
    background: #e8f5e9;
    border: 1px solid #43a047;
    color: #2e7d32;
}
.contact-feedback--error {
    background: #fef2f2;
    border: 1px solid #ef5350;
    color: #c62828;
}

/* Actions Row */
.contact-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 4px;
}
.contact-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 0.95em;
    font-weight: 600;
    color: #fff !important;
    background: linear-gradient(135deg, #00390e, #005a18);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.25s, box-shadow 0.25s, transform 0.15s;
    box-shadow: 0 3px 12px rgba(0,57,14,0.18);
    text-decoration: none !important;
}
.contact-submit-btn:hover {
    background: linear-gradient(135deg, #005a18, #1a7a3a);
    box-shadow: 0 5px 20px rgba(0,57,14,0.28);
    transform: translateY(-1px);
}
.contact-submit-btn:active {
    transform: translateY(0);
}
.contact-submit-btn[disabled] {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}
.contact-btn--loading {
    position: relative;
}
.contact-btn--loading::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: contactSpin 0.6s linear infinite;
    margin-left: 6px;
}
@keyframes contactSpin {
    to { transform: rotate(360deg); }
}
.contact-required-note {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 0.8em;
    color: #888;
}

/* Scroll Reveal */
.contact-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.4,0,0.2,1), transform 0.6s cubic-bezier(0.4,0,0.2,1);
}
.contact-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media screen and (max-width: 768px) {
    .contact-hero {
        border-radius: 0 0 16px 16px;
        padding: 22px 18px 18px;
    }
    .contact-info-row {
        flex-direction: column;
        gap: 12px;
    }
    .contact-field-row--half {
        flex-direction: column;
        gap: 0;
    }
    .contact-card-body {
        padding: 20px 18px 18px;
    }
    .contact-card-header {
        padding: 16px 18px;
    }
}

@media screen and (max-width: 480px) {
    .contact-hero {
        border-radius: 0 0 12px 12px;
        padding: 18px 12px 14px;
        margin: -28px -10px 16px -10px;
    }
    .contact-hero-title {
        font-size: 1.3em;
    }
    .contact-card-body {
        padding: 16px 14px 14px;
    }
    .contact-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .contact-submit-btn {
        justify-content: center;
    }
    .contact-required-note {
        text-align: center;
    }
}

/* ===================================================================
   EVENTS PAGE STYLES (.event-*)
   =================================================================== */

/* --- Hero Banner (list view) --- */
.event-hero {
    background: linear-gradient(135deg, #00390e 0%, #005a18 60%, #1a7a3a 100%);
    border-radius: 0 0 20px 20px;
    padding: 28px 32px 24px;
    margin: -28px -10px 28px -10px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 32px rgba(0,57,14,0.25);
}
.event-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}
.event-hero-title {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 1.7em;
    font-weight: 700;
    color: #fff;
    margin: 0 0 6px 0;
    letter-spacing: 0.5px;
}
.event-hero-subtitle {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 1em;
    font-style: italic;
    color: #b6d8b6;
    margin: 0;
}
.event-hero-venue {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 0.9em;
    color: rgba(255,255,255,0.8);
    margin: 6px 0 0 0;
}
.event-hero-venue a {
    color: #b6d8b6 !important;
    text-decoration: underline !important;
}
.event-hero-divider {
    height: 3px;
    width: 60px;
    margin: 14px auto 0;
    border-radius: 2px;
    background: linear-gradient(90deg, #1a7a3a, #43b85c);
}

/* --- Toggle Links --- */
.event-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
}
.event-toggle-link {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #1a7a3a !important;
    text-decoration: none !important;
    transition: color 0.2s;
}
.event-toggle-link:hover {
    color: #00390e !important;
    text-decoration: underline !important;
}
.event-toggle-active {
    color: #00390e !important;
    text-decoration: underline !important;
    font-weight: 700;
}
.event-toggle-sep {
    color: #aaa;
    font-size: 14px;
    user-select: none;
}

/* --- Bar List --- */
.event-bar-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 32px;
}
.event-bar {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #00390e 0%, #005a18 60%, #1a7a3a 100%);
    border-radius: 10px;
    padding: 16px 20px;
    text-decoration: none !important;
    color: #fff !important;
    box-shadow: 0 2px 12px rgba(0,57,14,0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}
.event-bar:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0,57,14,0.22);
}
.event-bar-date {
    min-width: 56px;
    text-align: center;
    padding-right: 18px;
    margin-right: 18px;
    border-right: 2px solid rgba(255,255,255,0.3);
    flex-shrink: 0;
}
.event-bar-day {
    display: block;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 2em;
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
}
.event-bar-month {
    display: block;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 0.85em;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: rgba(255,255,255,0.8);
}
.event-bar-year {
    display: block;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 0.7em;
    font-weight: 400;
    color: rgba(255,255,255,0.55);
    margin-top: 1px;
}
.event-bar-content {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}
.event-bar-title {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 1.1em;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: uppercase;
}
.event-bar-sub {
    font-size: 0.85em;
    color: rgba(255,255,255,0.8);
    margin-top: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: uppercase;
}
.event-bar-thumb {
    margin-left: 16px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    opacity: 0.9;
}
.event-bar-thumb img {
    display: block;
    height: 70px;
    width: auto;
    border-radius: 6px;
}

/* --- Type Badge (used in detail hero) --- */
.event-type-badge {
    display: inline-block;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    background: rgba(255,255,255,0.2);
    color: #fff;
    backdrop-filter: blur(4px);
    letter-spacing: 0.3px;
}

/* --- Empty state --- */
.event-empty {
    text-align: center;
    padding: 60px 20px;
    color: #888;
}
.event-empty-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

/* --- Pagination --- */
.event-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin: 20px 0 32px;
}
.event-page-btn {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 6px;
    background: #f0f7f0;
    color: #00390e !important;
    text-decoration: none !important;
    border: 1px solid #d6e1d6 !important;
    transition: background 0.2s;
}
.event-page-btn:hover {
    background: #d6e1d6;
}
.event-page-info {
    font-size: 13px;
    color: #888;
}

/* --- Detail Hero --- */
.event-detail-hero {
    background: linear-gradient(135deg, #00390e 0%, #005a18 60%, #1a7a3a 100%);
    border-radius: 0 0 20px 20px;
    margin: -28px -10px 0 -10px;
    position: relative;
    overflow: hidden;
    min-height: 180px;
}
.event-detail-hero-overlay {
    padding: 40px 32px 28px;
    min-height: inherit;
    display: flex;
    align-items: flex-end;
}
.event-detail-hero-content {
    text-align: left;
    width: 100%;
}
.event-detail-title {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 2em;
    font-weight: 700;
    color: #fff;
    margin: 8px 0 6px 0;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* --- Detail Body --- */
.event-detail-body {
    max-width: 800px;
    margin: 0 auto;
    padding: 28px 0;
}

/* Detail Header Image (standalone) */
.event-detail-image {
    margin-bottom: 24px;
    text-align: center;
}
.event-detail-image img {
    max-width: 100%;
    max-height: 500px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Info bar */
.event-info-bar {
    display: flex;
    gap: 32px;
    padding: 20px 24px;
    background: #f5faf5;
    border-radius: 10px;
    border: 1px solid #d6e1d6;
    margin-bottom: 24px;
}
.event-info-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.event-info-icon {
    font-size: 24px;
    line-height: 1;
}
.event-info-item strong {
    display: block;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 14px;
    color: #00390e;
}
.event-info-item div {
    font-size: 13px;
    color: #555;
}
.event-info-item a {
    color: #005a18 !important;
}

/* Description */
.event-description {
    font-size: 15px;
    line-height: 1.75;
    color: #333;
    margin-bottom: 28px;
}
.event-description p {
    margin: 0 0 12px 0;
}
.event-description ul,
.event-description ol {
    padding-left: 24px;
    margin: 0 0 12px 0;
}
.event-description a {
    color: #005a18 !important;
    text-decoration: underline;
}

/* Sections */
.event-section {
    margin-bottom: 28px;
}
.event-login-notice {
    background: #f0f7f1;
    border: 1px solid #c3d9c6;
    border-left: 4px solid #00390e;
    border-radius: 6px;
    padding: 14px 18px;
    color: #2d4a33;
    font-size: 0.97em;
    line-height: 1.5;
}
.event-login-notice a {
    color: #00390e;
    font-weight: 600;
    text-decoration: underline;
}
.event-login-notice a:hover {
    color: #005a18;
}
.event-login-notice-inline {
    font-size: 0.92em;
    color: #5a7a5e;
}
.event-login-notice-inline a {
    color: #00390e;
    font-weight: 600;
    text-decoration: underline;
}
.event-login-notice-inline a:hover {
    color: #005a18;
}
.event-section-title {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 1.15em;
    font-weight: 700;
    color: #00390e;
    margin: 0 0 14px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #d6e1d6;
}

/* Document links */
.event-doc-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.event-doc-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #f5faf5;
    border: 1px solid #d6e1d6 !important;
    border-radius: 6px;
    text-decoration: none !important;
    color: #00390e !important;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s;
}
.event-doc-link:hover {
    background: #e0f0e5;
}
.event-doc-icon {
    font-size: 18px;
}

/* Photo Gallery */
.event-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.event-gallery-thumb {
    border-radius: 6px;
    overflow: hidden;
    display: block;
    background: #f0f0f0;
    transition: transform 0.2s, box-shadow 0.2s;
}
.event-gallery-thumb:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.event-gallery-thumb img {
    height: 140px;
    width: auto;
    display: block;
}

/* Registration button */
.event-register-btn {
    display: inline-block;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 15px;
    font-weight: 600;
    padding: 12px 32px;
    background: linear-gradient(135deg, #00390e 0%, #006b1d 100%);
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 8px;
    border: none !important;
    transition: background 0.2s, transform 0.15s;
}
.event-register-btn:hover {
    background: linear-gradient(135deg, #004d13 0%, #008522 100%);
    transform: translateY(-1px);
}

/* Back link */
.event-back-link {
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid #e8f0e8;
    font-size: 14px;
}
.event-back-link a {
    color: #005a18 !important;
    text-decoration: none !important;
}
.event-back-link a:hover {
    text-decoration: underline !important;
}

/* --- Lightbox --- */
.event-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
}
.event-lb-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.88);
    cursor: pointer;
}
.event-lb-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.event-lb-img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}
.event-lb-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    line-height: 1;
}
.event-lb-close:hover { color: #ff6b6b; }
.event-lb-prev,
.event-lb-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    padding: 12px 16px;
    border-radius: 6px;
    transition: background 0.2s;
    z-index: 2;
}
.event-lb-prev { left: 20px; }
.event-lb-next { right: 20px; }
.event-lb-prev:hover,
.event-lb-next:hover {
    background: rgba(255,255,255,0.3);
}
.event-lb-counter {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    font-family: 'Inter', Arial, sans-serif;
}

/* --- Scroll Animations --- */
.event-animate {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.event-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1000px) {
    .event-bar-thumb {
        display: none;
    }
}
@media (max-width: 768px) {
    .event-hero {
        padding: 24px 20px 20px;
        margin: -28px -10px 20px -10px;
    }
    .event-detail-hero {
        margin: -28px -10px 0 -10px;
    }
    .event-detail-title {
        font-size: 1.5em;
    }
    .event-info-bar {
        flex-direction: column;
        gap: 16px;
    }
    .event-gallery-thumb img {
        height: 100px;
    }
    .event-bar-title {
        font-size: 1em;
    }
}
@media (max-width: 700px) {
    .event-hero-title {
        font-size: 1.3em;
    }
    .event-detail-hero-overlay {
        padding: 24px 16px 20px;
    }
    .event-detail-body {
        padding: 20px 0;
    }
    .event-bar {
        padding: 12px 14px;
    }
    .event-bar-date {
        min-width: 44px;
        padding-right: 12px;
        margin-right: 12px;
    }
    .event-bar-day {
        font-size: 1.6em;
    }
    .event-lb-prev,
    .event-lb-next {
        font-size: 24px;
        padding: 8px 12px;
    }
}


/* ================================================================
   HOMEPAGE - Modern Redesign
   ================================================================ */

/* Hero Section */
.home-hero {
    background: linear-gradient(135deg, #00390e 0%, #005a18 40%, #1a7a3a 100%);
    border-radius: 0 0 20px 20px;
    padding: 28px 32px 24px;
    margin: -28px -10px 22px -10px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 32px rgba(0, 57, 14, 0.25);
    color: #ffffff;
}
.home-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -30%;
    width: 160%;
    height: 200%;
    background: radial-gradient(ellipse at 30% 20%, rgba(255,255,255,0.08) 0%, transparent 70%);
    pointer-events: none;
}
.home-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}
.home-hero .home-hero-title {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 1.7em;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.18);
    position: relative;
}
.home-hero .home-hero-tagline {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 1em;
    font-style: italic;
    color: #b6d8b6;
    line-height: 1.6;
    margin: 0 0 12px;
}
.home-hero-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #7ec87e, #c8f0c8);
    border-radius: 3px;
    margin: 0 auto;
    position: relative;
}

/* Home Sections */
.home-section {
    padding: 36px 32px;
    max-width: 970px;
    margin: 0 auto;
}
.home-section-alt {
    background: #f8faf8;
}
.home-section-full {
    max-width: none;
}
.home-section-inner {
    max-width: 970px;
    margin: 0 auto;
}
.home-section-title {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 1.6em;
    font-weight: 700;
    color: #00390e;
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.home-section-title .home-section-icon {
    font-size: 1.2em;
}
.home-section-subtitle {
    font-size: 0.95em;
    color: #666;
    margin: 0 0 28px;
}
.home-view-all {
    display: inline-block;
    margin-top: 20px;
    color: #00390e;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95em;
    transition: color 0.2s;
}
.home-view-all:hover {
    color: #005a1a;
    text-decoration: underline;
}
.home-view-all::after {
    content: ' \2192';
}

/* About snippet on homepage */
.home-about {
    display: flex;
    gap: 40px;
    align-items: stretch;
}
.home-about-text {
    flex: 1;
    font-size: 0.95em;
    line-height: 1.75;
    color: #444;
}
.home-about-lead {
    font-size: 1.08em;
    color: #222;
    font-weight: 500;
    line-height: 1.7;
}
.home-about-text p {
    margin: 0 0 14px;
}

/* Photo collage */
.home-about-collage {
    flex-shrink: 0;
    width: 340px;
    position: relative;
    min-height: 280px;
}
.home-about-photo {
    position: absolute;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 4px 16px rgba(0,57,14,0.12);
    border: 3px solid #fff;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.home-about-photo:hover {
    transform: scale(1.04) rotate(0deg) !important;
    box-shadow: 0 8px 28px rgba(0,57,14,0.22);
    z-index: 3;
}
.home-about-photo-main {
    width: 100%;
    height: auto;
    top: 0;
    left: 0;
    z-index: 2;
    transform: rotate(-2deg);
    border: none;
    box-shadow: none;
    object-fit: cover;
}
.home-about-photo-main:hover {
    box-shadow: none;
    border: none;
}
.home-about-photo-secondary {
    width: 200px;
    height: 155px;
    bottom: 20px;
    right: 0;
    z-index: 1;
    transform: rotate(3deg);
}
.home-about-photo-tertiary {
    width: 150px;
    height: 115px;
    bottom: 0;
    left: 20px;
    z-index: 0;
    transform: rotate(-1deg);
    opacity: 0.92;
}

/* Feature cards row */
.home-about-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 2px solid #e8f0e8;
}
.home-about-feature {
    text-align: center;
    padding: 22px 14px 18px;
    background: #f6faf6;
    border-radius: 10px;
    border: 1px solid #d6e8d6;
    transition: all 0.3s ease;
}
.home-about-feature:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0,57,14,0.1);
    border-color: #00390e;
    background: #fff;
}
.home-about-feature-icon {
    font-size: 1.8em;
    margin-bottom: 8px;
}
.home-about-feature-title {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 0.95em;
    font-weight: 700;
    color: #00390e;
    margin-bottom: 5px;
}
.home-about-feature-desc {
    font-size: 0.82em;
    color: #666;
    line-height: 1.4;
}

/* Upcoming Events on Homepage (reuses event-bar styling) */
.home-events-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.home-event-empty {
    text-align: center;
    color: #888;
    font-size: 0.95em;
    padding: 30px 20px;
    background: #f5f5f5;
    border-radius: 8px;
}

/* Blog Tiles on Homepage */
.home-blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.home-blog-tile {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #e8efe8;
}
.home-blog-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,57,14,0.15);
}
.home-blog-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    background: linear-gradient(135deg, #e8efe8 0%, #d6e1d6 100%);
}
.home-blog-img-placeholder {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e8efe8 0%, #d6e1d6 100%);
    font-size: 48px;
    color: #00390e;
    opacity: 0.3;
}
.home-blog-body {
    padding: 20px;
}
.home-blog-date {
    font-size: 0.8em;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}
.home-blog-title {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 1.15em;
    font-weight: 700;
    color: #00390e;
    margin: 0 0 8px;
    line-height: 1.3;
}
.home-blog-excerpt {
    font-size: 0.9em;
    color: #555;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.home-blog-content {
    font-size: 0.9em;
    color: #333;
    line-height: 1.7;
    overflow: hidden;
}
.home-blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 10px 0;
}
.home-blog-content p {
    margin: 0 0 12px;
}
.home-blog-readmore {
    display: inline-block;
    margin-top: 12px;
    padding: 0;
    background: none;
    border: none;
    color: #00390e;
    font-weight: 600;
    font-size: 0.88em;
    cursor: pointer;
    transition: color 0.2s;
}
.home-blog-readmore:hover {
    color: #005a1a;
    text-decoration: underline;
}
.home-blog-readmore::after {
    content: ' \203A';
    font-size: 1.2em;
}
.home-blog-tile-expanded .home-blog-readmore::after {
    content: ' \2039';
}

/* Homepage scroll animation */
.home-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.home-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Community Highlights Strip */
.home-highlights {
    display: flex;
    justify-content: center;
    gap: 0;
    background: linear-gradient(135deg, #002e0b 0%, #00490f 100%);
    padding: 0;
    flex-wrap: wrap;
}
.home-highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 28px;
    color: rgba(255,255,255,0.92);
    font-size: 0.9em;
    font-weight: 500;
    letter-spacing: 0.3px;
    position: relative;
}
.home-highlight-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 25%;
    height: 50%;
    width: 1px;
    background: rgba(255,255,255,0.2);
}
.home-highlight-icon {
    font-size: 1.4em;
}
.home-highlight-label {
    white-space: nowrap;
}

/* Quick Links Grid */
.home-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.home-link-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 20px 24px;
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid #d6e1d6;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.home-link-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,57,14,0.12);
    border-color: #00390e;
}
.home-link-icon {
    font-size: 2em;
    margin-bottom: 10px;
}
.home-link-title {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 1em;
    font-weight: 700;
    color: #00390e;
    margin-bottom: 6px;
}
.home-link-desc {
    font-size: 0.82em;
    color: #666;
    line-height: 1.4;
}

/* Homepage responsive */
@media (max-width: 1000px) {
    .home-hero .home-hero-title {
        font-size: 1.5em;
    }
    .home-about-collage {
        width: 280px;
        min-height: 290px;
    }
    .home-about-photo-main {
        width: 100%;
        height: auto;
    }
    .home-about-photo-secondary {
        width: 170px;
        height: 130px;
    }
    .home-about-photo-tertiary {
        width: 130px;
        height: 100px;
    }
    .home-about-features {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .home-hero {
        padding: 22px 18px 20px;
    }
    .home-hero .home-hero-title {
        font-size: 1.3em;
    }
    .home-section {
        padding: 36px 20px;
    }
    .home-about {
        flex-direction: column;
    }
    .home-about-collage {
        width: 100%;
        min-height: 260px;
    }
    .home-about-photo-main {
        width: 100%;
        height: auto;
    }
    .home-about-photo-secondary {
        width: 50%;
        height: 145px;
    }
    .home-about-photo-tertiary {
        width: 38%;
        height: 110px;
    }
    .home-blog-grid {
        grid-template-columns: 1fr;
    }
    .home-blog-img,
    .home-blog-img-placeholder {
        height: 160px;
    }
    .home-links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .home-link-card {
        padding: 20px 14px 18px;
    }
    .home-link-icon {
        font-size: 1.6em;
    }
}
@media (max-width: 700px) {
    .home-hero .home-hero-title {
        font-size: 1.15em;
        letter-spacing: 0.5px;
    }
    .home-hero .home-hero-tagline {
        font-size: 0.85em;
    }
    .home-section-title {
        font-size: 1.3em;
    }
    .home-about-features {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .home-links-grid {
        grid-template-columns: 1fr;
    }
}

/* Hide reCAPTCHA v3 badge (attribution in footer per Google TOS) */
.grecaptcha-badge { visibility: hidden !important; }

/* ===== Notification Bell ===== */
.notif-bell-wrap {
    display: inline-block;
    position: relative;
    vertical-align: middle;
    cursor: pointer;
    margin-left: 2px;
}
.notif-bell-wrap svg {
    width: 16px; height: 16px;
    fill: #d0e0c0;
    vertical-align: middle;
    transition: fill 0.2s;
}
.notif-bell-wrap:hover svg {
    fill: #fff;
}
.notif-dropdown {
    display: none;
    position: absolute;
    top: 32px;
    right: -40px;
    width: 320px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.22);
    z-index: 1001;
    overflow: hidden;
    font-weight: normal;
    text-align: left;
}
.notif-dropdown.open { display: block; }
.notif-dropdown-title {
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    background: #00390e;
    border-bottom: 1px solid #e8e8e8;
    letter-spacing: 0.3px;
}
.notif-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 1px 16px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.15s;
    text-decoration: none;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
}
.notif-item:hover { background: #f4faf4; }
.notif-item:last-child { border-bottom: none; }
.notif-item-date {
    flex-shrink: 0;
    font-size: 12px;
    color: #888;
}
.notif-item-subject {
    font-size: 13px;
    font-weight: 600;
    color: #222;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}
.notif-empty {
    padding: 24px 16px;
    text-align: center;
    color: #999;
    font-size: 13px;
}
.notif-loading {
    padding: 24px 16px;
    text-align: center;
    color: #999;
    font-size: 13px;
}

/* Mobile bell item in mobile menu */
.mobile-notif-link {
    color: #8ad68a !important;
    display: flex !important;
    align-items: center;
    gap: 8px;
}
.mobile-notif-link svg {
    width: 14px; height: 14px;
    fill: #8ad68a;
    flex-shrink: 0;
}

/* Hide desktop bell below 700px (mobile menu takes over) */
@media (max-width: 700px) {
    .notif-bell-wrap { display: none !important; }
}

