/* =============================================================================
   ZPE Project Group – Main Stylesheet
   ============================================================================= */

/* =============================================================================
   1. CSS Custom Properties
   ============================================================================= */
:root {
	--color-bg:           #000000;
	--color-text:         rgb(204, 247, 249);
	--color-link:         rgba(0, 255, 0, 1);
	--color-link-hover:   rgba(0, 255, 255, 1);
	--color-nav-text:     #ffffff;
	--color-nav-active:   rgba(0, 225, 0, 1);
	--color-nav-hover:    rgba(0, 255, 255, 1);
	--color-btn-bg:       #9fdde8;
	--color-btn-text:     #000000;
	--font-primary:       'Roboto', sans-serif;
	--container-width:    1200px;
	--container-padding:  0 1.5rem;
	--header-min-height:  140px;
	--header-overlay:     rgba(0, 0, 0, 0.45);
	--footer-overlay:     rgba(0, 0, 0, 0.6);
	--transition-base:    200ms ease;
	--side-margin:        100px;
}

/* =============================================================================
   2. Reset & Base
   ============================================================================= */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	font-size: 16px;
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	background-color: var(--color-bg);
	color: var(--color-text);
	font-family: var(--font-primary);
	font-weight: 400;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img,
video {
	max-width: 100%;
	height: auto;
	display: block;
}

/* =============================================================================
   3. Typography
   ============================================================================= */
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-primary);
	font-weight: 700;
	line-height: 1.25;
	color: var(--color-text);
	margin-bottom: 0.75em;
}

h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.4rem,  3vw, 2rem);   }
h3 { font-size: clamp(1.2rem,  2.5vw, 1.6rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p, ul li, ol li {
	font-size: 1.125rem;
	margin-bottom: 1.25rem;
}

strong, b { font-weight: 700; }
em, i     { font-style: italic; }

blockquote {
	border-left: 4px solid var(--color-link);
	margin: 1.5rem 0;
	padding: 0.75rem 1.5rem;
	font-style: italic;
	color: var(--color-text);
	background: rgba(255, 255, 255, 0.04);
}

blockquote cite {
	display: block;
	margin-top: 0.5rem;
	font-style: normal;
	font-size: 0.875rem;
	opacity: 0.75;
}

ul, ol {
	padding-left: 1.5rem;
	margin-bottom: 1.25rem;
}

ul li,
ol li {
	margin-bottom: 0.35rem;
}

hr {
	border: none;
	border-top: 1px solid rgba(204, 247, 249, 0.15);
	margin: 2rem 0;
}

code {
	font-family: 'Courier New', Courier, monospace;
	background: rgba(255, 255, 255, 0.08);
	padding: 0.15em 0.4em;
	border-radius: 4px;
	font-size: 0.9em;
}

pre {
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(204, 247, 249, 0.1);
	border-radius: 6px;
	padding: 1.25rem;
	overflow-x: auto;
	margin-bottom: 1.25rem;
}

pre code {
	background: none;
	padding: 0;
	font-size: 0.875rem;
}

/* =============================================================================
   4. Links
   ============================================================================= */
a {
	color: var(--color-link);
	text-decoration: none;
	transition: color var(--transition-base);
}

a:hover,
a:focus {
	color: var(--color-link-hover);
	text-decoration: underline;
}

a:focus-visible {
	outline: 2px solid var(--color-link-hover);
	outline-offset: 3px;
	border-radius: 2px;
}

/* =============================================================================
   5. Buttons & Form Elements
   ============================================================================= */
button,
.button,
input[type="submit"],
input[type="button"],
input[type="reset"] {
	display: inline-block;
	border-radius: 20px;
	padding: 10px 24px;
	background-color: var(--color-btn-bg);
	color: var(--color-btn-text);
	font-family: var(--font-primary);
	font-size: 0.95rem;
	font-weight: 500;
	border: none;
	cursor: pointer;
	text-decoration: none;
	transition: background-color var(--transition-base), transform var(--transition-base);
	line-height: 1.4;
}

button:hover,
.button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
input[type="reset"]:hover {
	background-color: #b8eef5;
	color: var(--color-btn-text);
	transform: translateY(-1px);
	text-decoration: none;
}

button:focus-visible,
.button:focus-visible,
input[type="submit"]:focus-visible {
	outline: 2px solid var(--color-link-hover);
	outline-offset: 3px;
}

/* Inputs */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="number"],
textarea,
select {
	width: 100%;
	background-color: rgba(255, 255, 255, 0.06);
	color: var(--color-text);
	border: 1px solid rgba(204, 247, 249, 0.2);
	border-radius: 6px;
	padding: 0.6rem 0.9rem;
	font-family: var(--font-primary);
	font-size: 1rem;
	transition: border-color var(--transition-base);
	margin-bottom: 1rem;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus,
select:focus {
	outline: none;
	border-color: var(--color-link-hover);
}

textarea {
	resize: vertical;
	min-height: 130px;
}

label {
	display: block;
	margin-bottom: 0.3rem;
	font-weight: 500;
}

/* =============================================================================
   6. Layout
   ============================================================================= */
.container {
	max-width: var(--container-width);
	margin-left: auto;
	margin-right: auto;
	padding: var(--container-padding);
}

/* Site wrapper – full viewport height flex column */
#page {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

#content {
	flex: 1;
	padding-left: var(--side-margin);
	padding-right: var(--side-margin);
}

/* Standard two-column layout (content + sidebar) */
.content-area {
	width: 100%;
}

.content-sidebar-wrap {
	display: flex;
	gap: 2rem;
	/*padding: 3rem 0;*/
	align-items: flex-start;
}

.content-sidebar-wrap .content-area {
	flex: 1;
	min-width: 0;
}

.content-sidebar-wrap .widget-area {
	flex: 0 0 300px;
	width: 300px;
}

/* Full-width layout (no sidebar) */
.full-width .content-sidebar-wrap {
	display: block;
}

/* =============================================================================
   7. Skip Link
   ============================================================================= */
.skip-link {
	position: absolute;
	top: -100%;
	left: 1rem;
	z-index: 9999;
	padding: 0.6rem 1rem;
	background-color: var(--color-btn-bg);
	color: var(--color-btn-text);
	font-weight: 700;
	border-radius: 0 0 6px 6px;
	transition: top 0.1s;
}

.skip-link:focus {
	top: 0;
	color: var(--color-btn-text);
	text-decoration: none;
}

/* =============================================================================
   8. Header
   ============================================================================= */
.site-header {
	position: relative;
	min-height: var(--header-min-height);
	background-color: #0a0a0a;
}

/* With background image */
.site-header.has-header-bg {
	background-image: url('../images/header-bg.jpg');
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
}

/* Overlay to ensure text readability over the image */
.site-header.has-header-bg::before {
	content: '';
	position: absolute;
	inset: 0;
	background: var(--header-overlay);
	z-index: 0;
}

.header-inner {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: stretch; /* logo and right column fill the full header height */
	min-height: var(--header-min-height);
	padding: 0 var(--side-margin);
	max-width: var(--container-width);
	margin: 0 auto;
}

/* =============================================================================
   9. Site Logo & Header Right Column
   ============================================================================= */

/* Logo wrapper – vertically centred in the header */
.site-logo {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	padding: 1rem 1.5rem 1rem 0;
}

/* Link wrappers (default logo.png AND WP custom-logo-link) */
.site-logo-link,
.custom-logo-link {
	display: flex;
	align-items: center;
}

/* Logo image – sized down; keeps aspect ratio */
.default-logo,
.site-logo .custom-logo {
	height: 80px;
	width: auto;
	display: block;
}

/* Right-hand column: site title at top, nav at bottom */
.header-right {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	flex: 1;
	margin-top: 15px;
	padding: 1rem 0;
	min-width: 0;
}

/* Site title */
.site-branding {
	margin-left: 10px;
	line-height: 1;
}

.site-title-link {
	display: inline-block;
	font-size: 2.3rem;
	font-weight: 700;
	color: #ffffff;
	text-decoration: none;
	letter-spacing: 0.02em;
	line-height: 1.2;
}

.site-title-link:hover {
	color: var(--color-nav-hover);
	text-decoration: none;
}

/* =============================================================================
   10. Primary Navigation – Desktop
   ============================================================================= */
.primary-navigation {
	display: flex;
	align-items: center;
}

.primary-navigation .nav-menu {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem;
	margin: 0;
	padding: 0;
}

.primary-navigation .nav-menu li {
	position: relative;
}

.primary-navigation .nav-menu a {
	display: block;
	padding: 0.45rem 0.85rem;
	color: var(--color-nav-text);
	font-size: 0.95rem;
	font-weight: 500;
	letter-spacing: 0.02em;
	text-decoration: none;
	border-radius: 4px;
	transition: color var(--transition-base), background-color var(--transition-base);
}

.primary-navigation .nav-menu a:hover {
	color: var(--color-nav-hover);
	background-color: rgba(0, 255, 255, 0.08);
	text-decoration: none;
}

/* Active / current menu item */
.primary-navigation .nav-menu .current-menu-item > a,
.primary-navigation .nav-menu .current-menu-ancestor > a,
.primary-navigation .nav-menu .current_page_item > a,
.primary-navigation .nav-menu .current_page_ancestor > a {
	color: var(--color-nav-active);
}

/* Sub-menus (dropdowns) */
.primary-navigation .nav-menu .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 200px;
	background: #0f0f0f;
	border: 1px solid rgba(204, 247, 249, 0.12);
	border-radius: 6px;
	padding: 0.5rem 0;
	z-index: 100;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
	list-style: none;
}

.primary-navigation .nav-menu li:hover > .sub-menu,
.primary-navigation .nav-menu li:focus-within > .sub-menu {
	display: block;
}

.primary-navigation .nav-menu .sub-menu a {
	padding: 0.5rem 1rem;
	border-radius: 0;
	font-size: 0.9rem;
}

/* =============================================================================
   11. Mobile Navigation Toggle
   ============================================================================= */
.nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: space-between;
	width: 26px;
	height: 20px;
	background: transparent;
	border: none;
	border-radius: 0;
	padding: 0;
	cursor: pointer;
}

.nav-toggle-icon {
	display: flex;
	flex-direction: column;
	gap: 5px;
	pointer-events: none;
}

.nav-toggle-icon span {
	display: block;
	height: 2px;
	width: 26px;
	background-color: #ffffff;
	border-radius: 2px;
	transition: transform var(--transition-base), opacity var(--transition-base);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(2) {
	opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* =============================================================================
   12. Footer
   ============================================================================= */
.site-footer {
	position: relative;
	background-color: #0a0a0a;
	margin-top: auto;
}

/* With background image */
.site-footer.has-footer-bg {
	background-image: url('../images/footer-bg.jpg');
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
}

/* Overlay */
.site-footer.has-footer-bg::before {
	content: '';
	position: absolute;
	inset: 0;
	background: var(--footer-overlay);
	z-index: 0;
}

.footer-inner {
	position: relative;
	z-index: 1;
	padding: 3rem var(--side-margin) 2rem;
}

/* Footer widgets grid */
.footer-widgets {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 2rem;
	margin-bottom: 2.5rem;
}

.footer-widget-title {
	font-size: 1rem;
	font-weight: 700;
	color: #ffffff;
	margin-bottom: 1rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

/* Footer bottom bar */
.footer-bottom {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 0.75rem;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(204, 247, 249, 0.1);
}

.footer-copyright {
	margin: 0;
	margin-top: 2.5rem; /* nudge down slightly */
	font-size: 0.875rem;
	opacity: 0.75;
	text-align: center;
}

/* Footer menu */
.footer-menu {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.25rem;
	margin: 0;
	padding: 0;
}

.footer-menu a {
	font-size: 0.875rem;
	color: var(--color-text);
	opacity: 0.75;
	transition: opacity var(--transition-base), color var(--transition-base);
	text-decoration: none;
}

.footer-menu a:hover {
	color: var(--color-link-hover);
	opacity: 1;
	text-decoration: none;
}

/* =============================================================================
   13. Sidebar / Widgets
   ============================================================================= */
.widget-area {
	font-size: 0.925rem;
}

.widget {
	margin-bottom: 2rem;
}

.widget-title {
	font-size: 1rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	margin-bottom: 0.85rem;
	padding-bottom: 0.5rem;
	border-bottom: 2px solid var(--color-link);
}

.widget ul {
	list-style: none;
	padding: 0;
}

.widget ul li {
	padding: 0.3rem 0;
	border-bottom: 1px solid rgba(204, 247, 249, 0.08);
}

.widget ul li:last-child {
	border-bottom: none;
}

/* =============================================================================
   14. Posts – Loop (Index / Archive)
   ============================================================================= */
.post-list {
	list-style: none;
	padding: 0;
}

.post-card {
	margin-bottom: 2.5rem;
	padding-bottom: 2.5rem;
	border-bottom: 1px solid rgba(204, 247, 249, 0.1);
}

.post-card:last-child {
	border-bottom: none;
}

.post-thumbnail {
	margin-bottom: 1.25rem;
	border-radius: 8px;
	overflow: hidden;
}

.post-thumbnail img {
	width: 100%;
	height: auto;
	transition: transform 0.3s ease;
}

.post-thumbnail:hover img {
	transform: scale(1.02);
}

.post-card .entry-title {
	font-size: 1.5rem;
	margin-bottom: 0.5rem;
}

.post-card .entry-title a {
	color: var(--color-text);
	text-decoration: none;
	transition: color var(--transition-base);
}

.post-card .entry-title a:hover {
	color: var(--color-link-hover);
	text-decoration: none;
}

/* =============================================================================
   15. Post Meta
   ============================================================================= */
.post-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1rem;
	font-size: 0.85rem;
	opacity: 0.7;
	margin-bottom: 1rem;
}

.post-meta a {
	color: inherit;
}

.post-meta a:hover {
	color: var(--color-link-hover);
	text-decoration: none;
}

.post-meta span {
	display: flex;
	align-items: center;
	gap: 0.25rem;
}

/* =============================================================================
   16. Single Post
   ============================================================================= */
.entry-header {
	margin-bottom: 2rem;
}

.entry-footer {
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(204, 247, 249, 0.1);
	font-size: 0.875rem;
	opacity: 0.75;
}

.entry-content {
	max-width: 100%;
}

.entry-content > * + * {
	margin-top: 1.25rem;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	margin-top: 2rem;
}

/* Post navigation */
.post-navigation {
	margin-top: 2.5rem;
	padding-top: 2rem;
	border-top: 1px solid rgba(204, 247, 249, 0.1);
}

.post-navigation .nav-links {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
	flex: 1;
}

.post-navigation .nav-next {
	text-align: right;
}

.post-navigation .nav-subtitle {
	display: block;
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	opacity: 0.6;
	margin-bottom: 0.25rem;
}

.post-navigation .nav-title {
	font-size: 0.95rem;
	font-weight: 500;
}

/* Featured image */
.post-featured-image {
	margin-bottom: 2rem;
	border-radius: 8px;
	overflow: hidden;
}

.post-featured-image img {
	width: 100%;
	height: auto;
}

/* =============================================================================
   17. Page Templates
   ============================================================================= */
.page-header {
	margin-bottom: 2rem;
}

.page-title {
	font-size: clamp(1.5rem, 3.5vw, 2.25rem);
}

/* =============================================================================
   18. Pagination
   ============================================================================= */
.pagination,
.nav-links {
	margin-top: 2.5rem;
}

.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.25rem;
	height: 2.25rem;
	padding: 0 0.5rem;
	margin: 0 0.2rem;
	border-radius: 6px;
	color: var(--color-text);
	background: rgba(255, 255, 255, 0.06);
	text-decoration: none;
	font-size: 0.9rem;
	transition: background-color var(--transition-base), color var(--transition-base);
}

.page-numbers:hover {
	background: rgba(0, 255, 255, 0.12);
	color: var(--color-link-hover);
	text-decoration: none;
}

.page-numbers.current {
	background: var(--color-btn-bg);
	color: var(--color-btn-text);
}

/* =============================================================================
   19. Comments
   ============================================================================= */
.comments-area {
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid rgba(204, 247, 249, 0.1);
}

.comments-title {
	font-size: 1.25rem;
	margin-bottom: 1.5rem;
}

.comment-list {
	list-style: none;
	padding: 0;
}

.comment {
	padding: 1.25rem;
	margin-bottom: 1rem;
	background: rgba(255, 255, 255, 0.04);
	border-radius: 8px;
	border-left: 3px solid rgba(204, 247, 249, 0.15);
}

.comment.bypostauthor {
	border-left-color: var(--color-link);
}

.comment-meta {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 0.75rem;
}

.comment-author .fn {
	font-weight: 600;
}

.comment-metadata {
	font-size: 0.8rem;
	opacity: 0.6;
}

.children {
	list-style: none;
	padding-left: 2rem;
	margin-top: 1rem;
}

.comment-reply-link {
	font-size: 0.85rem;
}

.comment-form label {
	display: block;
	margin-bottom: 0.3rem;
	font-size: 0.9rem;
}

/* =============================================================================
   20. Search
   ============================================================================= */
.search-form {
	display: flex;
	gap: 0.5rem;
	margin-bottom: 1.5rem;
}

.search-form input[type="search"] {
	flex: 1;
	margin-bottom: 0;
}

.search-form .search-submit {
	flex-shrink: 0;
}

.search-no-results .page-content {
	padding: 2rem 0;
}

/* =============================================================================
   21. 404
   ============================================================================= */
.error-404 .page-content {
	padding: 2rem 0;
}

/* =============================================================================
   22. WordPress Core Classes
   ============================================================================= */
.alignleft  { float: left;  margin-right: 1.5rem; margin-bottom: 1rem; }
.alignright { float: right; margin-left: 1.5rem;  margin-bottom: 1rem; }
.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1rem;
}
.alignwide  { margin-left: -2rem; margin-right: -2rem; }

.wp-caption {
	max-width: 100%;
	margin-bottom: 1rem;
}

.wp-caption-text {
	font-size: 0.85rem;
	opacity: 0.65;
	text-align: center;
	margin-top: 0.4rem;
}

.gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 0.75rem;
}

.gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 4px;
}

/* Accessibility */
.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

/* No background images override */
.no-bg-images .site-header {
	background-image: none !important;
}
.no-bg-images .site-header::before {
	display: none !important;
}
.no-bg-images .site-footer {
	background-image: none !important;
}
.no-bg-images .site-footer::before {
	display: none !important;
}

/* =============================================================================
   23. Utilities
   ============================================================================= */
.text-center  { text-align: center; }
.text-right   { text-align: right; }
.mb-0         { margin-bottom: 0 !important; }
.mt-auto      { margin-top: auto; }
.clearfix::after {
	content: '';
	display: table;
	clear: both;
}

/* =============================================================================
   24. Scroll To Top
   ============================================================================= */
#scroll-to-top {
	position: fixed;
	bottom: 2rem;
	right: 2rem;
	z-index: 999;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	background-color: var(--color-btn-bg);
	color: var(--color-btn-text);
	border: none;
	border-radius: 50%;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
	padding: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity var(--transition-base), visibility var(--transition-base), background-color var(--transition-base), transform var(--transition-base);
}

#scroll-to-top.is-visible {
	opacity: 1;
	visibility: visible;
}

#scroll-to-top:hover {
	background-color: #b8eef5;
	transform: translateY(-2px);
}

#scroll-to-top:focus-visible {
	outline: 2px solid var(--color-link-hover);
	outline-offset: 3px;
}

/* =============================================================================
   25. Divi Overrides
   ============================================================================= */
/* Divi Editor Black Background */
.et-fb .et_pb_section {
    background-color: black!important;
}

/* Divi Reduce Navigation Margin */
.primary-navigation .nav-menu li { 
	margin-bottom: 0rem!important; 
}

/* Fix tab content overflow */
.et_pb_tab_content table {
	width: auto!important;
}

/* =============================================================================
   26. Media Queries – Responsive
   ============================================================================= */

/* ── Tablet (≤ 1024px) ───────────────────────────────────────────────────── */
@media (max-width: 1024px) {
	.content-sidebar-wrap .widget-area {
		flex: 0 0 260px;
		width: 260px;
	}
}

/* ── Mobile (≤ 768px) ────────────────────────────────────────────────────── */
@media (max-width: 768px) {
	/* Reset 100px side margins to 0 on mobile */
	#content {
		padding-left: 0;
		padding-right: 0;
	}

	.footer-inner {
		padding-left: 0;
		padding-right: 0;
	}

	/* Header */
	.header-inner {
		padding: 0 1.25rem;
		min-height: 70px;
	}

	.site-header,
	.site-header.has-header-bg {
		min-height: 70px;
	}

	/* Logo */
	.site-logo {
		padding: 0.75rem 1rem 0.75rem 0;
	}

	.default-logo,
	.site-logo .custom-logo {
		height: 40px;
	}

	/* Right column: row on mobile (title left, toggle right) */
	.header-right {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		padding: 0.75rem 0;
	}

	.site-title-link {
		font-size: 1.1rem;
	}

	/* Show hamburger button */
	.nav-toggle {
		display: flex;
	}

	/* Full-screen overlay menu */
	.site-header {
		position: relative;
		z-index: 998;
	}

	.primary-navigation {
		position: static;
	}

	.primary-navigation .nav-menu {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100vh;
		display: flex;
		flex-direction: column;
		justify-content: flex-start;
		align-items: stretch;
		gap: 0;
		background: rgba(10, 10, 10, 0.97);
		padding: 5rem 0 2rem;
		overflow-y: auto;
		z-index: 997;
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transition: opacity 0.25s ease, visibility 0.25s ease;
	}

	.primary-navigation .nav-menu.is-open {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
	}

	.primary-navigation .nav-menu > li {
		width: 100%;
		border-bottom: 1px solid rgba(204, 247, 249, 0.08);
	}

	.primary-navigation .nav-menu > li:first-child {
		border-top: 1px solid rgba(204, 247, 249, 0.08);
	}

	.primary-navigation .nav-menu a {
		display: block;
		width: 100%;
		padding: 0.45rem 1rem!important;
		font-size: 1rem!important;
		border-radius: 0;
	}

	/* Sub-menu in mobile */
	.primary-navigation .nav-menu .sub-menu {
		position: static;
		display: flex;
		flex-direction: column;
		box-shadow: none;
		border: none;
		border-radius: 0;
		padding-left: 0;
		background: rgba(255, 255, 255, 0.04);
	}

	.primary-navigation .nav-menu .sub-menu a {
		padding: 1rem 3rem;
		font-size: 1rem;
	}

	/* Prevent background scroll when overlay is open */
	body.menu-open {
		overflow: hidden;
	}

	/* Content layout */
	.content-sidebar-wrap {
		flex-direction: column;
		/* padding: 2rem 0; */
	}

	.content-sidebar-wrap .widget-area {
		flex: none;
		width: 100%;
	}

	/* Footer (already column + centered in base styles, nothing to override) */
}

/* ── Small phones (≤ 480px) ──────────────────────────────────────────────── */
@media (max-width: 480px) {
	:root {
		--container-padding: 0 1rem;
	}

	.footer-widgets {
		grid-template-columns: 1fr;
	}

	.post-navigation .nav-links {
		flex-direction: column;
	}

	.post-navigation .nav-next {
		text-align: left;
	}
}