/* Naledi page styles */
/* Shared/base rules remain in style.css */

body.easterncape {
	margin: 0;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	background:
		radial-gradient(circle at 12% 10%, rgba(255, 255, 255, 0.22), transparent 42%),
		linear-gradient(165deg, #f3f7ff 0%, #e9f0ff 50%, #dbe5f7 100%);
	color: #1e2d44;
}

body.easterncape .hero {
	position: relative;
	overflow: hidden;
	background: linear-gradient(135deg, #1e3654 0%, #2a4a70 52%, #355f8d 100%);
	color: #fff;
	padding: 130px 75px 112px;
	border-bottom: 3px solid #9fc0e0;
	box-shadow: 0 8px 20px rgba(20, 40, 62, 0.28);
}

body.easterncape .hero::after {
	content: "";
	position: absolute;
	right: -42px;
	top: -30px;
	width: 166px;
	height: 166px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(188, 216, 242, 0.34), rgba(188, 216, 242, 0));
	pointer-events: none;
}

body.easterncape .hero h1 {
	margin: 0;
	font-size: clamp(1.7rem, 3vw, 2.25rem);
	letter-spacing: 0.3px;
	text-transform: uppercase;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.24);
}

body.easterncape .navbar {
	position: sticky;
	top: 0;
	z-index: 10;
	backdrop-filter: blur(6px);
	background: rgba(31, 61, 92, 0.93);
	border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

body.easterncape .navbar ul {
	flex-wrap: wrap;
	gap: 8px;
	padding-top: 8px;
	padding-bottom: 8px;
}

body.easterncape .navbar a {
	border: 1px solid rgba(255, 255, 255, 0.34);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	font-size: 0.9rem;
	font-weight: 600;
	transition: transform 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
}

body.easterncape .navbar a:hover {
	background: rgba(255, 255, 255, 0.21);
	border-color: rgba(255, 255, 255, 0.66);
	transform: translateY(-1px);
}

body.easterncape main {
	width: min(1040px, calc(100% - 24px));
	margin: 22px auto;
	display: grid;
	gap: 18px;
	flex: 1 0 auto;
}

body.easterncape main > h2 {
	margin: 0;
	color: #1f4f79;
	font-size: clamp(1.15rem, 3vw, 1.55rem);
}

body.easterncape main > ul {
	list-style: none;
	margin: 0;
	padding: 18px 16px;
	background: rgba(255, 255, 255, 0.94);
	border: 1px solid #cad8e8;
	border-radius: 14px;
	box-shadow: 0 10px 26px rgba(29, 64, 93, 0.12);
	display: grid;
	grid-template-columns: 1fr;
	gap: 10px;
}

body.easterncape main > ul li {
	background: linear-gradient(145deg, #fcfeff 0%, #edf4fb 100%);
	border: 1px solid #d5e2ee;
	border-radius: 10px;
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

body.easterncape main > ul li:hover {
	transform: translateY(-2px);
	border-color: #94b6d7;
	box-shadow: 0 8px 16px rgba(35, 78, 111, 0.14);
}

body.easterncape main > ul a {
	display: block;
	padding: 12px 14px;
	color: #1c4d76;
	text-decoration: none;
	font-weight: 600;
}

body.easterncape main > ul a:hover {
	color: #143752;
}

body.easterncape .province-content {
	margin: 0;
	background: rgba(255, 255, 255, 0.94);
	border: 1px solid #cad8e8;
	border-radius: 14px;
	box-shadow: 0 10px 26px rgba(29, 64, 93, 0.12);
	padding: 18px 16px;
}

body.easterncape .province-meta h2 {
	margin: 0 0 14px;
	color: #1f4f79;
	font-size: clamp(1.15rem, 3vw, 1.55rem);
}

body.easterncape .news-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
}

body.easterncape .news-list li {
	background: linear-gradient(145deg, #fcfeff 0%, #edf4fb 100%);
	border: 1px solid #d5e2ee;
	border-radius: 10px;
}

body.easterncape .news-list a {
	display: block;
	padding: 11px 12px;
	color: #1c4d76;
	text-decoration: none;
	font-weight: 600;
}

body.easterncape .news-list a:hover {
	color: #143752;
}

body.easterncape footer {
	margin-top: auto;
	background: #16344c;
	color: #dceaf5;
}

body.easterncape footer a,
body.easterncape .footer-links a {
	color: #abd6f4;
}

body.easterncape footer a:hover,
body.easterncape .footer-links a:hover {
	color: #fff;
}

@media (min-width: 700px) {
	body.easterncape main > ul,
	body.easterncape .province-content {
		padding: 22px 20px;
	}

	body.easterncape main > ul {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1020px) {
	body.easterncape .hero {
		padding-top: 64px;
		padding-bottom: 44px;
	}

	body.easterncape main > ul {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 740px) {
	body.easterncape .navbar ul {
		justify-content: flex-start;
	}
}
