/* =========================================================
   World's Aquarium — Main Stylesheet
   ========================================================= */

:root {
	--navy: #0d2b4e;
	--navy-dark: #081b30;
	--navy-soft: #2a4468;
	--teal: #2dd4bf;
	--teal-dark: #14b8a6;
	--teal-tint: #e3faf7;
	--light-bg: #eaf5f7;
	--text: #45525f;
	--text-dark: #16283d;
	--white: #ffffff;
	--border: #e3e9ee;
	--radius: 14px;
	--radius-lg: 22px;
	--container: 1200px;
	--font-heading: 'Poppins', sans-serif;
	--font-body: 'Inter', sans-serif;
	--shadow: 0 20px 45px rgba(13, 43, 78, 0.12);
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body {
	font-family: var(--font-body);
	color: var(--text);
	font-size: 16px;
	line-height: 1.7;
	background: var(--white);
	margin: 0;
	overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-heading);
	color: var(--text-dark);
	line-height: 1.25;
	margin: 0 0 0.6em;
}
p { margin: 0 0 1em; }
a { color: var(--teal-dark); transition: color 0.2s ease, opacity 0.2s ease; }
a:hover { color: var(--navy); }
ul { padding-left: 1.2em; }
.container {
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 24px;
}
.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px,1px,1px,1px);
	white-space: nowrap;
}
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--teal); color: #fff; padding: 10px 16px; z-index: 999; }
.skip-link:focus { left: 10px; top: 10px; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 14px;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	padding: 15px 28px;
	border-radius: 999px;
	border: 2px solid transparent;
	cursor: pointer;
	white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--teal); color: var(--navy-dark); }
.btn-primary:hover { background: var(--teal-dark); color: var(--navy-dark); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,0.65); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,0.12); color: #fff; }
.btn-donate {
	background: var(--teal);
	color: var(--navy-dark);
	border-radius: 999px;
	padding: 10px 20px;
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.btn-donate svg { width: 15px; height: 15px; }
.btn-donate:hover { background: var(--teal-dark); color: var(--navy-dark); }

/* ---------- Header ---------- */
.site-header {
	background: var(--white);
	position: relative;
	z-index: 100;
	border-bottom: 1px solid var(--border);
}
.site-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 14px 24px;
}
.site-branding { display: flex; align-items: center; }
.site-branding img { max-height: 60px; width: auto; }
.site-title-link { display: flex; flex-direction: column; }
.site-title {
	font-family: var(--font-heading);
	font-weight: 800;
	font-size: 22px;
	color: var(--navy);
}
.site-description { font-size: 11px; color: #8a97a6; letter-spacing: 0.02em; }

.main-navigation { flex: 1; display: flex; justify-content: center; }
.nav-menu {
	list-style: none;
	display: flex;
	align-items: center;
	gap: 28px;
	margin: 0;
	padding: 0;
}
.nav-menu > li { position: relative; }
.nav-menu > li > a {
	display: flex;
	align-items: center;
	gap: 5px;
	font-family: var(--font-heading);
	font-weight: 500;
	font-size: 14px;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--text-dark);
	padding: 10px 0;
}
.nav-menu > li.current-menu-item > a,
.nav-menu > li > a:hover { color: var(--teal-dark); }
.nav-menu > li.current-menu-item > a {
	border-bottom: 2px solid var(--teal);
}
.menu-item-has-children > a::after {
	content: '';
	width: 7px; height: 7px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg);
	margin-top: -4px;
}
.sub-menu {
	list-style: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	background: var(--white);
	box-shadow: var(--shadow);
	border-radius: 10px;
	padding: 10px 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: all 0.2s ease;
	z-index: 50;
}
.menu-item-has-children:hover > .sub-menu,
.menu-item-has-children.submenu-open > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.sub-menu li a {
	display: block;
	padding: 9px 20px;
	font-size: 14px;
	color: var(--text-dark);
	text-transform: none;
	font-weight: 400;
	font-family: var(--font-body);
}
.sub-menu li a:hover { color: var(--teal-dark); background: var(--teal-tint); }

.site-header-actions { display: flex; align-items: center; gap: 16px; }
.social-links { display: flex; gap: 8px; }
.social-link {
	width: 32px; height: 32px;
	border-radius: 50%;
	background: var(--navy);
	color: #fff;
	display: flex; align-items: center; justify-content: center;
	font-size: 12px;
	font-weight: 700;
	font-family: var(--font-heading);
}
.social-link:hover { background: var(--teal-dark); color: #fff; }

.menu-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 6px;
}
.menu-toggle-bar { width: 24px; height: 2px; background: var(--navy); display: block; }

/* ---------- Hero ---------- */
.hero {
	position: relative;
	background: linear-gradient(120deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-soft) 100%);
	background-size: cover;
	background-position: center;
	color: #fff;
	padding-top: 90px;
}
.hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(100deg, rgba(6,20,38,0.92) 10%, rgba(8,27,48,0.72) 45%, rgba(8,27,48,0.25) 80%);
}
.hero-inner { position: relative; z-index: 2; padding: 70px 24px 90px; }
.hero-content { max-width: 640px; }
.hero-heading {
	font-size: clamp(32px, 5vw, 52px);
	font-weight: 800;
	color: #fff;
	margin-bottom: 20px;
}
.hero-heading .highlight { color: var(--teal); }
.hero-divider { width: 70px; height: 4px; background: var(--teal); border-radius: 2px; margin-bottom: 22px; }
.hero-text { color: rgba(255,255,255,0.85); font-size: 17px; max-width: 480px; margin-bottom: 32px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 16px; }

.feature-bar {
	position: relative;
	z-index: 3;
	margin-top: -70px;
	background: var(--white);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	padding: 40px 10px;
}
.feature-item {
	display: flex;
	gap: 16px;
	padding: 10px 26px;
	border-right: 1px solid var(--border);
}
.feature-item:last-child { border-right: none; }
.feature-icon {
	flex-shrink: 0;
	width: 46px; height: 46px;
	border-radius: 12px;
	background: var(--teal-tint);
	color: var(--teal-dark);
	display: flex; align-items: center; justify-content: center;
}
.feature-icon svg { width: 24px; height: 24px; }
.feature-copy h3 { font-size: 16px; margin-bottom: 6px; color: var(--navy); }
.feature-copy p { font-size: 13.5px; color: #7b8794; margin: 0; }

/* ---------- Mission ---------- */
.mission-section { background: var(--light-bg); padding: 130px 0 90px; }
.mission-inner {
	display: grid;
	grid-template-columns: 0.9fr 1fr 0.8fr;
	gap: 50px;
	align-items: center;
}
.mission-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.eyebrow {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.12em;
	color: var(--teal-dark);
	text-transform: uppercase;
	margin: 0 0 10px;
}
.eyebrow-divider { width: 46px; height: 3px; background: var(--teal); border-radius: 2px; margin-bottom: 18px; }
.eyebrow-divider.centered { margin-left: auto; margin-right: auto; }
.mission-copy h2 { font-size: 32px; color: var(--navy); }
.mission-text { color: var(--text); margin-bottom: 26px; }

.mission-stats { display: flex; flex-direction: column; gap: 26px; }
.stat-item { display: flex; align-items: center; gap: 16px; }
.stat-icon {
	width: 54px; height: 54px;
	border-radius: 50%;
	background: var(--teal-tint);
	color: var(--teal-dark);
	display: flex; align-items: center; justify-content: center;
	flex-shrink: 0;
}
.stat-icon svg { width: 24px; height: 24px; }
.stat-copy { display: flex; flex-direction: column; }
.stat-number { font-family: var(--font-heading); font-weight: 800; font-size: 26px; color: var(--navy); }
.stat-label { font-size: 13.5px; color: #7b8794; }

/* ---------- Blog section (front page) ---------- */
.blog-section { padding: 90px 0; background: var(--white); }
.section-heading-row {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 24px;
	margin-bottom: 44px;
	padding-bottom: 28px;
	border-bottom: 1px solid var(--border);
}
.section-heading-text .eyebrow { margin-bottom: 8px; }
.section-heading-text h2 { font-size: 30px; color: var(--navy); margin: 0; }
.view-all-link {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--navy);
	padding-bottom: 6px;
}
.view-all-link:hover { color: var(--teal-dark); }
.view-all-link .arrow-badge {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--light-bg);
	color: var(--navy-soft);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.view-all-link .arrow-badge svg { width: 16px; height: 16px; }
.view-all-link:hover .arrow-badge { background: var(--teal); color: var(--navy-dark); transform: translateX(3px); }

.blog-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
}
.blog-card {
	background: var(--white);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: 0 12px 30px rgba(13,43,78,0.08);
	border: 1px solid var(--border);
	display: flex;
	flex-direction: column;
}
.blog-card-media { position: relative; display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--light-bg); }
.blog-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.blog-card:hover .blog-card-media img { transform: scale(1.06); }
.blog-card-media-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--teal); }
.blog-card-media-placeholder svg { width: 40px; height: 40px; }
.entry-category-badge {
	position: absolute; top: 14px; left: 14px;
	background: var(--teal);
	color: var(--navy-dark);
	font-family: var(--font-heading);
	font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
	padding: 5px 12px; border-radius: 999px;
}
.blog-card-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.blog-card-meta { font-size: 12.5px; color: #93a0ac; text-transform: uppercase; letter-spacing: 0.03em; }
.blog-card-title { font-size: 19px; margin: 0; }
.blog-card-title a { color: var(--navy); }
.blog-card-title a:hover { color: var(--teal-dark); }
.blog-card-excerpt { font-size: 14.5px; color: var(--text); flex: 1; }
.blog-card-excerpt p { margin: 0; }
.blog-card-link { font-family: var(--font-heading); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.03em; display: inline-flex; align-items: center; gap: 6px; color: var(--teal-dark); margin-top: auto; }
.blog-card-link svg { width: 14px; height: 14px; }

/* ---------- Pagination (front-page Latest Stories + archive/blog listings) ---------- */
.blog-pagination,
.pagination.navigation {
	margin-top: 44px;
	display: flex;
	justify-content: center;
}
.blog-pagination ul.page-numbers,
.pagination .nav-links {
	list-style: none;
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 0;
}
.page-numbers,
.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border-radius: 999px;
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 14px;
	color: var(--navy);
	background: var(--light-bg);
}
a.page-numbers:hover { background: var(--teal-tint); color: var(--teal-dark); }
.page-numbers.current { background: var(--teal); color: var(--navy-dark); }
.page-numbers.dots { background: transparent; }

/* ---------- Species grid (Marine Life CPT) ---------- */
.species-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 26px;
	padding: 60px 0;
}
.species-card { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: #fff; }
.species-card-media { display: block; aspect-ratio: 1/1; background: var(--light-bg); overflow: hidden; }
.species-card-media img { width: 100%; height: 100%; object-fit: cover; }
.species-card-body { padding: 18px; }
.species-card-title { font-size: 16px; margin-bottom: 4px; }
.species-card-title a { color: var(--navy); }
.species-card-habitat { font-size: 12px; color: var(--teal-dark); text-transform: uppercase; letter-spacing: 0.03em; font-weight: 600; }
.species-card-excerpt { font-size: 13.5px; }
.species-single-media { border-radius: var(--radius-lg); overflow: hidden; margin: 30px 0; }
.species-habitats { display: flex; gap: 8px; margin-bottom: 20px; }
.habitat-badge { background: var(--teal-tint); color: var(--teal-dark); font-size: 12px; font-weight: 600; padding: 6px 14px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.03em; }

/* ---------- Inner pages ---------- */
.page-banner { background: linear-gradient(120deg, var(--navy-dark), var(--navy)); padding: 60px 0 44px; color: #fff; }
.page-banner-title { color: #fff; font-size: 32px; margin-bottom: 10px; }
.breadcrumb { font-size: 13.5px; color: rgba(255,255,255,0.7); }
.breadcrumb a { color: rgba(255,255,255,0.85); }
.breadcrumb a:hover { color: var(--teal); }
.breadcrumb .sep { margin: 0 8px; }
.archive-description { color: rgba(255,255,255,0.8); margin-top: 10px; max-width: 640px; }

.page-content-wrap { padding: 60px 0 90px; max-width: 860px; }
.content-with-sidebar { display: grid; grid-template-columns: 1fr 320px; gap: 50px; padding: 60px 0 90px; align-items: start; }
.primary-column { min-width: 0; }

.entry-content { font-size: 16px; color: var(--text); }
.entry-content h2, .entry-content h3 { color: var(--navy); margin-top: 1.4em; }
.entry-content img { border-radius: var(--radius); margin: 1em 0; }
.entry-content blockquote {
	border-left: 4px solid var(--teal);
	background: var(--teal-tint);
	padding: 18px 22px;
	border-radius: 0 10px 10px 0;
	font-style: italic;
	color: var(--navy);
}
.entry-media { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 26px; }
.entry-meta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 20px; font-size: 13.5px; color: #8a97a6; }
.entry-tags { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 13.5px; }
.entry-tags a { background: var(--light-bg); padding: 5px 12px; border-radius: 999px; margin-right: 6px; display: inline-block; margin-bottom: 6px; }

.post-navigation { border-top: 1px solid var(--border); margin-top: 40px; padding-top: 24px; display: flex; justify-content: space-between; gap: 20px; }
.post-navigation .nav-links { display: flex; justify-content: space-between; width: 100%; gap: 20px; }
.post-navigation a { display: block; }
.post-navigation .nav-label { display: block; font-size: 12px; text-transform: uppercase; color: #93a0ac; letter-spacing: 0.04em; margin-bottom: 4px; }
.post-navigation .nav-title { color: var(--navy); font-weight: 600; }

/* ---------- Sidebar widgets ---------- */
.widget-area .widget {
	margin-bottom: 28px;
	background: var(--light-bg);
	padding: 26px;
	border-radius: var(--radius);
}
.widget-area .widget:last-child { margin-bottom: 0; }
.widget-title {
	font-size: 16px;
	color: var(--navy);
	margin: 0 0 18px;
	padding-bottom: 14px;
	border-bottom: 2px solid var(--teal);
	display: inline-block;
}

/* Generic lists: Recent Posts, Archives, Categories, Pages, Meta, RSS */
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget ul ul { padding-left: 16px; margin-top: 8px; }
.widget li {
	padding: 11px 0;
	border-bottom: 1px solid var(--border);
	font-size: 14.5px;
	line-height: 1.4;
}
.widget li:last-child { border-bottom: none; padding-bottom: 0; }
.widget li:first-child { padding-top: 0; }
.widget a { color: var(--text-dark); }
.widget a:hover { color: var(--teal-dark); }

/* Recent Posts widget: post date shown as a muted sub-line */
.widget_recent_entries .post-date {
	display: block;
	font-size: 12px;
	color: #93a0ac;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	margin-top: 3px;
}

/* Recent Comments widget: soften the "Commenter on Post Title" line */
.widget_recent_comments ul li { padding: 12px 0; }
.widget_recent_comments a.url { font-weight: 600; color: var(--navy); }
.widget_recent_comments a.url:hover { color: var(--teal-dark); }

/* Categories / Archives: show item counts as a soft pill on the right */
.widget_categories li, .widget_archive li {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
}

/* Calendar widget */
.widget_calendar table { width: 100%; border-collapse: collapse; font-size: 13px; }
.widget_calendar caption { font-weight: 600; color: var(--navy); padding-bottom: 10px; text-align: left; }
.widget_calendar th, .widget_calendar td { text-align: center; padding: 6px 2px; }
.widget_calendar th { color: #93a0ac; font-weight: 600; font-size: 11px; text-transform: uppercase; }
.widget_calendar td#today { background: var(--teal); border-radius: 6px; color: var(--navy-dark); font-weight: 700; }
.widget_calendar a { color: var(--teal-dark); font-weight: 600; }
.widget_calendar nav.calendar-nav { display: flex; justify-content: space-between; font-size: 12.5px; margin-top: 8px; }

/* Tag cloud */
.tagcloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tagcloud a {
	font-size: 13px !important;
	background: var(--white);
	color: var(--navy) !important;
	padding: 6px 14px;
	border-radius: 999px;
	border: 1px solid var(--border);
	line-height: 1.4;
}
.tagcloud a:hover { background: var(--teal); color: var(--navy-dark) !important; border-color: var(--teal); }

/* Search widget */
.widget_search .search-form,
.widget_product_search form { display: flex; }
.widget_search .search-field { flex: 1; padding: 12px 16px; border: 1px solid var(--border); border-radius: 999px 0 0 999px; font-family: var(--font-body); }
.widget_search .search-submit {
	background: var(--teal); color: var(--navy-dark); border: none;
	padding: 0 18px; border-radius: 0 999px 999px 0; cursor: pointer;
	display: flex; align-items: center; justify-content: center;
}

/* Text / Custom HTML widget */
.widget_text, .widget_custom_html { font-size: 14.5px; }
.widget_text img, .widget_custom_html img { border-radius: 10px; }
.widget_text p:last-child, .widget_custom_html p:last-child { margin-bottom: 0; }

/* RSS widget */
.widget_rss li { padding: 12px 0; }
.widget_rss .rss-widget-title { font-weight: 600; display: block; margin-bottom: 4px; }
.widget_rss .rss-date { display: block; font-size: 12px; color: #93a0ac; margin-bottom: 4px; }
.widget_rss cite { font-size: 12.5px; color: #93a0ac; }

/* Recent Posts / Archive thumbnails, if a plugin adds them */
.widget img { max-width: 100%; border-radius: 8px; }

/* ---------- Comments ---------- */
.comments-area { margin-top: 50px; padding-top: 40px; border-top: 1px solid var(--border); }
.comments-title { font-size: 22px; color: var(--navy); }
.comment-list { list-style: none; padding: 0; }
.comment-list .children { list-style: none; padding-left: 30px; }
.comment-body { border-bottom: 1px solid var(--border); padding: 20px 0; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid var(--border);
	border-radius: 10px;
	font-family: var(--font-body);
	margin-bottom: 16px;
}

/* ---------- Search form / 404 ---------- */
.wa-search-form { display: flex; max-width: 480px; margin-top: 20px; }
.wa-search-form .search-field {
	flex: 1;
	padding: 14px 20px;
	border-radius: 999px 0 0 999px;
	border: none;
	font-family: var(--font-body);
}
.wa-search-form .search-submit {
	background: var(--teal);
	color: var(--navy-dark);
	border: none;
	padding: 0 22px;
	border-radius: 0 999px 999px 0;
	cursor: pointer;
	display: flex; align-items: center;
}
.wa-search-form .search-submit svg { width: 18px; height: 18px; }

.error-404 { text-align: center; padding: 110px 24px; }
.error-code { font-size: 90px; color: var(--teal); font-weight: 800; margin-bottom: 0; }
.error-404 .wa-search-form { margin: 24px auto; }
.error-404 .btn { margin-top: 16px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,0.75); }
.footer-top {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 40px;
	padding: 70px 24px 50px;
}
.footer-col .widget-title, .footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.footer-brand-name { color: #fff; font-family: var(--font-heading); font-weight: 800; font-size: 24px; margin-bottom: 6px; }
.footer-tagline { color: var(--teal); font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 16px; }
.footer-about p { font-size: 14px; color: rgba(255,255,255,0.65); }
.footer-social { margin-top: 16px; }
.footer-menu, .widget ul { list-style: none; margin: 0; padding: 0; }
.footer-menu li, .footer-col .widget ul li { margin-bottom: 10px; }
.footer-menu a, .footer-col a { color: rgba(255,255,255,0.7); font-size: 14.5px; }
.footer-menu a:hover, .footer-col a:hover { color: var(--teal); }
.footer-col .widget { background: transparent; padding: 0; margin-bottom: 0; }
.footer-col .widget li { border-bottom-color: rgba(255,255,255,0.12); }
.footer-col .widget li:last-child { border-bottom: none; padding-bottom: 0; }
.footer-col .tagcloud a { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.85) !important; border-color: rgba(255,255,255,0.15); }
.footer-col .tagcloud a:hover { background: var(--teal); color: var(--navy-dark) !important; }
.footer-col .widget_search .search-field { background: #fff; }
.footer-col .widget_calendar caption, .footer-col .widget_calendar a { color: var(--teal); }
.footer-col .widget_calendar th { color: rgba(255,255,255,0.5); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; padding: 20px 24px; font-size: 13px; color: rgba(255,255,255,0.55); }
.footer-legal-nav { list-style: none; display: flex; gap: 20px; margin: 0; padding: 0; }
.footer-legal-nav a { color: rgba(255,255,255,0.55); font-size: 13px; }
.footer-legal-nav a:hover { color: var(--teal); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
	.mission-inner { grid-template-columns: 1fr 1fr; }
	.mission-stats { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; justify-content: space-between; }
	.species-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 960px) {
	.feature-bar { grid-template-columns: repeat(2, 1fr); }
	.feature-item { border-right: none; border-bottom: 1px solid var(--border); padding-bottom: 24px; margin-bottom: 10px; }
	.blog-grid { grid-template-columns: repeat(2, 1fr); }
	.footer-top { grid-template-columns: repeat(2, 1fr); }
	.footer-about { grid-column: 1 / -1; }
}

@media (max-width: 880px) {
	.section-heading-row { flex-direction: column; align-items: flex-start; gap: 14px; }
	.menu-toggle { display: flex; }
	.main-navigation {
		position: absolute;
		top: 100%; left: 0; right: 0;
		background: var(--white);
		box-shadow: var(--shadow);
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.3s ease;
	}
	.main-navigation.is-open { max-height: 80vh; overflow-y: auto; }
	.nav-menu { flex-direction: column; align-items: flex-start; gap: 0; width: 100%; padding: 10px 24px 20px; }
	.nav-menu > li { width: 100%; }
	.nav-menu > li > a { width: 100%; padding: 14px 0; justify-content: space-between; }
	.sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; display: none; padding-left: 14px; }
	.menu-item-has-children.submenu-open .sub-menu { display: block; }
	.site-header-actions { gap: 10px; }
	.content-with-sidebar { grid-template-columns: 1fr; }
	.mission-copy, .mission-media { grid-column: 1 / -1; }
	.mission-inner { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
	.hero-inner { padding: 40px 24px 60px; }
	.feature-bar { grid-template-columns: 1fr; margin-top: -40px; }
	.blog-grid { grid-template-columns: 1fr; }
	.species-grid { grid-template-columns: repeat(2, 1fr); }
	.footer-top { grid-template-columns: repeat(2, 1fr); gap: 30px 24px; }
	.footer-about { grid-column: 1 / -1; }
	.hero-buttons { flex-direction: column; align-items: stretch; }
}
