/*
Theme Name:        IdGOD
Theme URI:         https://idsgod.com/
Author:            the ID God
Author URI:        https://idsgod.com/
Description:       Lightweight business theme with custom header, responsive navigation, and panel-based front page.
Version:           1.0.0
Requires at least: 6.0
Tested up to:      6.7
Requires PHP:      7.4
License:           GNU General Public License v2 or later
License URI:       http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:       mytheme
Tags:              custom-header, custom-logo, custom-menu, featured-images, translation-ready
*/

/* ---------- Base ---------- */
:root {
	--brand: #439322;
	--brand-contrast: #fff;
	--text: #333;
	--muted: #666;
	--border: #e2e2e2;
	--max-width: 1430px;
}

*,
*::before,
*::after { box-sizing: border-box; }

body {
	margin: 0;
	font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: 16px;
	line-height: 1.6;
	color: var(--text);
	background: #fff;
}

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

a { color: var(--brand); }
a:hover { color: #2f6b18; }

.screen-reader-text {
	border: 0;
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.skip-link:focus {
	background: #fff;
	clip-path: none;
	color: var(--text);
	display: block;
	font-size: 1em;
	height: auto;
	left: 5px;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* ---------- Header ---------- */

/* 1. Full-width banner image */
.custom-header img {
	display: block;
	width: 100%;
	height: auto;
}

/* 2. Title + tagline band (left-aligned) */
#pre-header {
	background: #fff;
	border-bottom: 1px solid var(--border);
	text-align: left;
}

#pre-header-core {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 24px 20px 22px;
	display: flex;
	align-items: center;
	justify-content: flex-start;
}

#pre-header-core .custom-logo-link {
	display: block;
	text-decoration: none;
	color: inherit;
}

#pre-header-core .site-title {
	margin: 0;
	font-size: 30px;
	line-height: 1.15;
	font-weight: 700;
	color: var(--text);
}

#pre-header-core .site-description {
	margin: 4px 0 0;
	font-size: 14px;
	font-weight: 400;
	color: var(--muted);
	letter-spacing: .02em;
}

/* 3. Navigation menu band */
#header {
	background: #f6f6f6;
	border-bottom: 1px solid var(--border);
}

#header-core {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 20px;
	display: flex;
	justify-content: center;
}

#header-links-inner ul.menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
}

#header-links-inner ul.menu > li > a {
	display: block;
	padding: 14px 14px;
	font-size: 15px;
	color: var(--text);
	text-decoration: none;
	transition: background .15s, color .15s;
}

#header-links-inner ul.menu > li > a:hover,
#header-links-inner ul.menu > li.current-menu-item > a {
	background: var(--brand);
	color: var(--brand-contrast);
}

/* Dropdowns */
#header-links-inner ul.menu li { position: relative; }

#header-links-inner ul.menu ul {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 999;
	min-width: 200px;
	margin: 0;
	padding: 6px 0;
	list-style: none;
	background: #fff;
	border: 1px solid var(--border);
	box-shadow: 0 4px 14px rgba(0, 0, 0, .08);
	display: none;
}

#header-links-inner ul.menu li:hover > ul { display: block; }

#header-links-inner ul.menu ul a {
	display: block;
	padding: 8px 16px;
	white-space: nowrap;
	text-decoration: none;
	color: var(--text);
}

#header-links-inner ul.menu ul a:hover {
	background: var(--brand);
	color: var(--brand-contrast);
}

/* Responsive toggle */
#header-responsive { display: none; }

.btn-navbar {
	display: inline-flex;
	flex-direction: column;
	gap: 4px;
	padding: 12px 10px;
	border: 1px solid var(--border);
	border-radius: 3px;
	text-decoration: none;
}

.btn-navbar .icon-bar {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--text);
}

.responsive-links ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.responsive-links ul a {
	display: block;
	padding: 12px 20px;
	border-top: 1px solid var(--border);
	text-decoration: none;
	color: var(--text);
}

@media (max-width: 780px) {
	#pre-header-core {
		padding: 18px 16px 16px;
		justify-content: flex-start;
	}
	#pre-header-core .site-title { font-size: 22px; }
	#pre-header-core .site-description { font-size: 13px; }

	#header-core {
		padding: 8px 16px;
		justify-content: flex-end;
	}

	#header-links { display: none; }
	#header-responsive { display: block; }
	.responsive-links.collapse:not(.in) { display: none; }
}

/* ---------- Content ---------- */
#content-core,
#main-core {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 20px;
}

/* ---------- Front page sections ---------- */
/* ---------- Hero slider ---------- */
.hero-slider {
	position: relative;
	overflow: hidden;
	background: #fff;
}

/* Grid-stack so the tallest slide defines height — no absolute-position collapse */
.hero-slides {
	display: grid;
}

.hero-slide {
	grid-area: 1 / 1;
	opacity: 0;
	transition: opacity .8s ease;
	pointer-events: none;
}

.hero-slide.is-active {
	opacity: 1;
	pointer-events: auto;
	z-index: 1;
}

.hero-slide a { display: block; }

.hero-slide img {
	display: block;
	width: 100%;
	height: auto;
}

/* Glass navigation buttons */
.hero-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, .45);
	background: rgba(255, 255, 255, .18);
	-webkit-backdrop-filter: blur(10px) saturate(140%);
	backdrop-filter: blur(10px) saturate(140%);
	box-shadow: 0 4px 18px rgba(0, 0, 0, .15);
	color: #fff;
	cursor: pointer;
	transition: background .2s, border-color .2s, transform .2s;
}

.hero-nav:hover,
.hero-nav:focus-visible {
	background: rgba(255, 255, 255, .35);
	border-color: rgba(255, 255, 255, .75);
	outline: none;
}

.hero-nav:active { transform: translateY(-50%) scale(.94); }

.hero-nav--prev { left: 20px; }
.hero-nav--next { right: 20px; }

.hero-nav svg {
	width: 22px;
	height: 22px;
	filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .35));
}

/* Dots */
.hero-dots {
	position: absolute;
	left: 50%;
	bottom: 18px;
	z-index: 3;
	transform: translateX(-50%);
	display: flex;
	gap: 10px;
	margin: 0;
	padding: 8px 12px;
	list-style: none;
	border-radius: 999px;
	background: rgba(255, 255, 255, .15);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, .35);
}

.hero-dots li { line-height: 0; }

.hero-dot {
	width: 10px;
	height: 10px;
	padding: 0;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, .85);
	background: transparent;
	cursor: pointer;
	transition: background .2s, transform .2s;
}

.hero-dot.is-active {
	background: #fff;
	transform: scale(1.2);
}

.hero-dot:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}

/* Mobile: smaller buttons, hide dots if too tight */
@media (max-width: 780px) {
	.hero-nav {
		width: 40px;
		height: 40px;
	}
	.hero-nav--prev { left: 12px; }
	.hero-nav--next { right: 12px; }

	.hero-dots { bottom: 12px; padding: 6px 10px; }
	.hero-dot { width: 8px; height: 8px; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
	.hero-slide { transition: none; }
	.hero-nav  { transition: none; }
}
/* Headline widget skeleton (SiteOrigin .sow-headline shape) */
.section--headline { padding: 50px 0 40px; }

.section--headline .panel-grid-cell {
	display: flex;
	flex-direction: column;
	gap: 36px;
}

.sow-headline-container {
	text-align: center;
}

.sow-headline {
	margin: 0 0 12px;
	font-size: 32px;
	line-height: 1.25;
	font-weight: 700;
	color: var(--text);
}

.sow-sub-headline {
	margin: 0;
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.65;
	color: var(--muted);
}

.sow-sub-headline a {
	color: inherit;
	text-decoration: none;
}

.sow-sub-headline a:hover {
	color: var(--brand);
	text-decoration: underline;
}

/* Divider under the second headline */
.decoration {
	position: relative;
	height: 28px;
	margin-top: 20px;
}

.decoration-inside {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 80px;
	height: 2px;
	background: var(--brand);
	transform: translate(-50%, -50%);
}

@media (max-width: 780px) {
	.section--headline .panel-grid-cell { gap: 28px; }
	.sow-headline { font-size: 24px; }
	.sow-sub-headline { font-size: 15px; }
}

/* Three-column feature grid (SiteOrigin .panel-grid shape) */
.section--features {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	padding: 20px 0 50px;
}

.section--features .panel-grid-cell {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.section--features .so-panel { margin: 0; }

.section--features .sow-image-container {
	text-align: center;
}

.section--features .sow-image-container img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0 auto;
	border-radius: 4px;
}

.section--features .sow-headline-container {
	text-align: center;
}

.section--features .sow-headline {
	margin: 0 0 8px;
	font-size: 18px;
	line-height: 1.3;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: var(--text);
}

.section--features .sow-sub-headline {
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
	color: var(--muted);
}

@media (max-width: 780px) {
	.section--features {
		grid-template-columns: 1fr;
		gap: 40px;
		padding: 10px 0 40px;
	}
}
/* Reviews section headline */
.section--reviews { padding: 50px 0 30px; }

.section--reviews .panel-grid-cell {
	display: flex;
	flex-direction: column;
}

.section--reviews .sow-headline-container { text-align: center; }

.section--reviews .sow-headline {
	margin: 0 0 12px;
	font-size: 32px;
	line-height: 1.25;
	font-weight: 700;
	color: var(--text);
}

.section--reviews .sow-sub-headline {
	margin: 0 auto;
	max-width: 900px;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.65;
	color: var(--muted);
}

/* ---------- Video testimonials row ---------- */
#slider_videos_preview {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	align-items: stretch;
	padding: 10px 0 60px;
}

#slider_videos_preview .panel-grid-cell,
#slider_videos_preview .so-panel {
	display: flex;
	flex-direction: column;
	margin: 0;
	min-width: 0;
}

/* The uniform frame — every video lives inside one of these */
#slider_videos_preview .video-frame {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #000;
	border-radius: 6px;
}

/* Force every wrapper mediaelement injects to fill the frame */
#slider_videos_preview .video-frame .wp-video,
#slider_videos_preview .video-frame .mejs-container,
#slider_videos_preview .video-frame .mejs-inner,
#slider_videos_preview .video-frame .mejs-mediaelement,
#slider_videos_preview .video-frame .mejs-mediaelement mediaelementwrapper,
#slider_videos_preview .video-frame .mejs-layers {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	max-width: 100%;
	min-width: 0 !important;
}

/* The actual <video> element */
#slider_videos_preview .video-frame video,
#slider_videos_preview .video-frame .wp-video-shortcode {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;      /* crop to fill — swap to `contain` to letterbox instead */
	object-position: center;
	background: #000;
}

/* Controls sit above the cropped video */
#slider_videos_preview .video-frame .mejs-controls {
	z-index: 5;
}

/* Poster / play overlay — keep it centered on the frame, not on the source file */
#slider_videos_preview .video-frame .mejs-overlay,
#slider_videos_preview .video-frame .mejs-poster {
	width: 100% !important;
	height: 100% !important;
	background-size: cover;
	background-position: center;
}

@media (max-width: 780px) {
	#slider_videos_preview {
		grid-template-columns: 1fr;
		gap: 20px;
		padding: 10px 0 40px;
	}
}
/* ==========================================================================
   Closing CTA section — pg-39-5
   Structure: headline widget (h1 + h3) stacked over a single-slide hero widget.
   ========================================================================== */

.section--cta {
	padding: 50px 0 60px;
}

.section--cta .panel-grid-cell {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

/* --------------------------------------------------------------------------
   Widget 1 — headline (panel-39-5-0-0)
   -------------------------------------------------------------------------- */

/* Fittext wrapper: prevent re-measure from collapsing the flex column */
.section--cta .so-widget-fittext-wrapper {
	width: 100%;
	min-width: 0;
}

.section--cta .sow-headline-container {
	text-align: center;
}

/* Inline style="font-size:32px" on the h1 governs size; CSS handles spacing/colour */
.section--cta .sow-headline {
	margin: 0 0 12px;
	line-height: 1.25;
	font-weight: 700;
	color: var(--text);
}

/* Inline style="font-size:16px" on the h3 governs size */
.section--cta .sow-sub-headline {
	margin: 0 auto;
	max-width: 900px;
	font-weight: 400;
	line-height: 1.65;
	color: var(--muted);
}

.section--cta .sow-sub-headline a {
	color: inherit;
	text-decoration: none;
}

.section--cta .sow-sub-headline a:hover {
	color: var(--brand);
	text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Widget 2 — hero / cover slide (panel-39-5-0-1)
   -------------------------------------------------------------------------- */

.section--cta .so-widget-sow-hero,
.section--cta .sow-slider-base {
	position: relative;
	width: 100%;
}

.section--cta .sow-slider-images {
	position: relative;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Single slide — no slider controls to style */
.section--cta .sow-slider-image {
	list-style: none;
	margin: 0;
	padding: 0;
}

.section--cta .sow-slider-image-cover {
	position: relative;
	overflow: hidden;
	background-color: #333;
	color: #fff;
}

/* --------------------------------------------------------------------------
   Overlay — matches SiteOrigin's own
   `.sow-slider-image-overlay.sow-slider-image-cover` rule
   opacity: 0.5 and background-image stay inline on the element
   -------------------------------------------------------------------------- */

.section--cta .sow-slider-image-overlay.sow-slider-image-cover {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	z-index: 1;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
}

/* --------------------------------------------------------------------------
   Content layer — sits above the overlay
   -------------------------------------------------------------------------- */

.section--cta .sow-slider-image-container {
	position: relative;
	z-index: 2;
	padding: 70px 20px;
	text-align: center;
}

.section--cta .sow-slider-image-wrapper {
	margin: 0 auto;
	max-width: 900px;
}

/* Inline style="font-size:32.3px" on the h2 governs size */
.section--cta .sow-slider-image-wrapper h2 {
	margin: 0 0 22px;
	line-height: 1.2;
	font-weight: 700;
	color: #fff;
}

/* --------------------------------------------------------------------------
   Button
   -------------------------------------------------------------------------- */

.section--cta .sow-hero-buttons {
	display: flex;
	justify-content: center;
}

.section--cta .so-widget-sow-button {
	display: inline-block;
}

.section--cta .ow-button-base {
	display: inline-block;
}

.section--cta .ow-button-align-center {
	text-align: center;
}

.section--cta .sowb-button {
	display: inline-block;
	padding: 14px 34px;
	border: 2px solid #fff;
	border-radius: 3px;
	color: #fff;
	font-size: 15px;
	line-height: 1;
	letter-spacing: .08em;
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color .2s ease, color .2s ease;
}

.section--cta .sowb-button:hover,
.section--cta .sowb-button:focus-visible {
	background-color: #fff;
	color: #333;
	outline: none;
}

.section--cta .sowb-button:focus-visible {
	box-shadow: 0 0 0 3px rgba(255, 255, 255, .45);
}

.section--cta .sowb-button span {
	display: inline-block;
}

/* Icon-placement modifier — no-op without an icon, kept for parity */
.section--cta .sowb-button.ow-icon-placement-left span {
	display: inline-block;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 780px) {
	.section--cta {
		padding: 30px 0 40px;
	}

	.section--cta .panel-grid-cell {
		gap: 22px;
	}

	.section--cta .sow-slider-image-container {
		padding: 50px 16px;
	}

	.section--cta .sow-slider-image-wrapper h2 {
		margin-bottom: 18px;
	}

	.section--cta .sowb-button {
		padding: 12px 26px;
		font-size: 14px;
	}
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	.section--cta .sowb-button {
		transition: none;
	}
}
/* ============================================================
 * FOOTER — complete styles
 * Covers: contact strip, sub-footer menu, copyright, mobile
 * ============================================================ */

footer#site-footer {
	background: #1a1a1a;
	color: #ccc;
	margin-top: 80px;
	display: block;
	width: 100%;
}

/* Optional: any widgets above the contact strip */
footer#site-footer .footer-widgets {
	background: #222;
	border-top: 1px solid #333;
	padding: 40px 20px;
}

footer#site-footer .footer-widgets-core {
	max-width: 1140px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 30px;
}

footer#site-footer .footer-widgets .widget {
	margin: 0;
}

footer#site-footer .footer-widgets .widget-title {
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	margin: 0 0 12px;
}

footer#site-footer .footer-widgets a {
	color: #bbb;
	text-decoration: none;
}

footer#site-footer .footer-widgets a:hover {
	color: #439322;
}

/* ── Contact strip ────────────────────────────────────────── */

.footer-contact {
	background: #1a1a1a;
	border-top: 3px solid #439322;
	border-bottom: 1px solid #2a2a2a;
	padding: 40px 20px;
	color: #ddd;
}

.footer-contact-core {
	max-width: 1140px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	flex-wrap: wrap;
}

.footer-contact-heading {
	flex: 1 1 260px;
	min-width: 0;
}

.footer-contact-heading h3 {
	color: #fff;
	font-size: 22px;
	font-weight: 700;
	margin: 0 0 8px;
	line-height: 1.3;
}

.footer-contact-heading p {
	color: #aaa;
	font-size: 13px;
	line-height: 1.5;
	margin: 0;
}

.footer-contact-links {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	flex: 0 1 auto;
}

/* Reuse .contact-item base — footer dark variant */
.footer-contact .contact-item {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 16px;
	background: #2a2a2a;
	border: 1px solid #3a3a3a;
	border-radius: 6px;
	text-decoration: none;
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
	transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.15s;
	white-space: nowrap;
}

.footer-contact .contact-item:hover,
.footer-contact .contact-item:focus {
	background: #333;
	border-color: #439322;
	color: #439322;
	transform: translateY(-1px);
	text-decoration: none;
}

.footer-contact .contact-item .contact-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #439322;
	color: #fff;
	flex-shrink: 0;
}

.footer-contact .contact-item.contact-whatsapp .contact-icon {
	background: #25d366;
}

.footer-contact .contact-item.contact-whatsapp:hover,
.footer-contact .contact-item.contact-whatsapp:focus {
	border-color: #25d366;
	color: #25d366;
}

.footer-contact .contact-item .contact-text {
	display: flex;
	flex-direction: column;
	line-height: 1.2;
}

.footer-contact .contact-item .contact-label {
	font-size: 10px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #999;
}

.footer-contact .contact-item:hover .contact-label,
.footer-contact .contact-item:focus .contact-label {
	color: inherit;
	opacity: 0.9;
}

.footer-contact .contact-item .contact-number {
	font-size: 13px;
	font-weight: 700;
	color: inherit;
}

/* ── Sub-footer: menu + copyright ─────────────────────────── */

#sub-footer {
	background: #111;
	padding: 30px 20px;
	border-top: 1px solid #2a2a2a;
}

#sub-footer-core {
	max-width: 1140px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	text-align: center;
}

/* Menu */
#footer-menu {
	width: 100%;
}

#footer-menu .menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 20px;
}

#footer-menu .menu li {
	margin: 0;
	padding: 0;
}

#footer-menu .menu li.menu-item {
	display: inline-block;
}

#footer-menu .menu li a {
	color: #bbb;
	text-decoration: none;
	font-size: 13px;
	font-weight: 500;
	padding: 4px 0;
	transition: color 0.15s;
	display: inline-block;
}

#footer-menu .menu li a:hover,
#footer-menu .menu li a:focus {
	color: #439322;
	text-decoration: none;
}

#footer-menu .menu li.current-menu-item a {
	color: #439322;
	font-weight: 700;
}

/* Copyright */
#sub-footer .copyright {
	color: #777;
	font-size: 12px;
	line-height: 1.7;
	max-width: 900px;
	margin: 0 auto;
	padding-top: 20px;
	border-top: 1px solid #222;
	width: 100%;
	text-align: center;
}

#sub-footer .copyright a {
	color: #439322;
	text-decoration: none;
}

#sub-footer .copyright a:hover,
#sub-footer .copyright a:focus {
	text-decoration: underline;
}

/* ── Responsive ──────────────────────────────────────────── */

@media (max-width: 900px) {
	.footer-contact-core {
		flex-direction: column;
		text-align: center;
	}

	.footer-contact-heading {
		flex: 1 1 100%;
		width: 100%;
	}

	.footer-contact-links {
		justify-content: center;
		width: 100%;
	}
}

@media (max-width: 600px) {
	.footer-contact {
		padding: 30px 16px;
	}

	.footer-contact-heading h3 {
		font-size: 18px;
	}

	.footer-contact-links {
		flex-direction: column;
		gap: 10px;
	}

	.footer-contact .contact-item {
		width: 100%;
		justify-content: center;
	}

	#sub-footer {
		padding: 25px 16px;
	}

	#footer-menu .menu {
		gap: 6px 14px;
	}

	#footer-menu .menu li a {
		font-size: 12px;
	}

	#sub-footer .copyright {
		font-size: 11px;
	}
}

@media (max-width: 400px) {
	#footer-menu .menu {
		flex-direction: column;
		gap: 4px;
	}

	#footer-menu .menu li a {
		padding: 6px 0;
	}

	#sub-footer .copyright {
		padding-top: 15px;
	}
}

/* ---------- WordPress core alignment ---------- */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin: 0 auto 1em; clear: both; }

/* ==========================================================================
   Blog — shared: page header, post grid, pagination
   ========================================================================== */

.page-header {
	margin: 0 auto 32px;
	padding: 20px 0 0;
	text-align: center;
}

.page-title {
	margin: 0;
	font-size: 36px;
	line-height: 1.2;
	font-weight: 700;
	color: var(--text);
}

.page-description {
	margin: 10px auto 0;
	max-width: 760px;
	font-size: 16px;
	color: var(--muted);
}

.page-description p { margin: 0; }

/* --- Post grid (home + archive) --- */
.post-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 30px;
	padding-bottom: 40px;
}

.post-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 6px;
	overflow: hidden;
	transition: box-shadow .2s ease, transform .2s ease;
}

.post-card:hover {
	box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
	transform: translateY(-2px);
}

.post-card-thumb {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #f2f2f2;
}

.post-card-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .35s ease;
}

.post-card:hover .post-card-thumb img {
	transform: scale(1.03);
}

.post-card-body {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 20px 22px 24px;
	flex: 1;
}

.post-card-title {
	margin: 0;
	font-size: 20px;
	line-height: 1.3;
	font-weight: 700;
}

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

.post-card-title a:hover {
	color: var(--brand);
}

.post-card-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 14px;
	font-size: 13px;
	color: var(--muted);
}

.post-card-cats a {
	color: var(--brand);
	text-decoration: none;
}

.post-card-cats a:hover { text-decoration: underline; }

.post-card-excerpt {
	font-size: 15px;
	color: var(--muted);
	flex: 1;
}

.post-card-excerpt p { margin: 0; }

.post-card-more {
	align-self: flex-start;
	font-size: 14px;
	font-weight: 600;
	color: var(--brand);
	text-decoration: none;
}

.post-card-more:hover { text-decoration: underline; }

/* --- Pagination --- */
.pagination,
.navigation.pagination {
	margin: 20px 0 60px;
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 12px;
	border: 1px solid var(--border);
	border-radius: 4px;
	color: var(--text);
	font-size: 14px;
	text-decoration: none;
	transition: background .15s, color .15s, border-color .15s;
}

.pagination .page-numbers:hover {
	background: #f6f6f6;
	border-color: #ccc;
}

.pagination .page-numbers.current {
	background: var(--brand);
	border-color: var(--brand);
	color: #fff;
}

.pagination .page-numbers.dots {
	border-color: transparent;
}

/* ==========================================================================
   Single post
   ========================================================================== */

.single-post {
	max-width: 800px;
	margin: 0 auto;
	padding: 20px 0 40px;
}

.entry-header {
	margin-bottom: 24px;
}

.entry-cats {
	font-size: 13px;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--brand);
	margin-bottom: 8px;
}

.entry-cats a {
	color: var(--brand);
	text-decoration: none;
}

.entry-cats a:hover { text-decoration: underline; }

.entry-title {
	margin: 0 0 14px;
	font-size: 38px;
	line-height: 1.2;
	font-weight: 700;
	color: var(--text);
}

.entry-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 16px;
	font-size: 14px;
	color: var(--muted);
}

.entry-meta a {
	color: var(--text);
	text-decoration: none;
}

.entry-meta a:hover { color: var(--brand); }

.entry-thumb {
	margin: 0 0 30px;
	border-radius: 6px;
	overflow: hidden;
}

.entry-thumb img {
	width: 100%;
	height: auto;
	display: block;
}

.entry-content {
	font-size: 17px;
	line-height: 1.75;
	color: var(--text);
}

.entry-content > * + * { margin-top: 1.2em; }

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	margin-top: 2em;
	line-height: 1.3;
	color: var(--text);
}

.entry-content h2 { font-size: 28px; }
.entry-content h3 { font-size: 22px; }
.entry-content h4 { font-size: 18px; }

.entry-content a {
	color: var(--brand);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.entry-content blockquote {
	margin: 1.6em 0;
	padding: 12px 22px;
	border-left: 4px solid var(--brand);
	background: #f8f8f8;
	font-style: italic;
	color: #555;
}

.entry-content img { border-radius: 4px; }

.entry-content code {
	padding: 2px 6px;
	background: #f2f2f2;
	border-radius: 3px;
	font-size: .92em;
}

.entry-content pre {
	padding: 16px 20px;
	background: #2d2d2d;
	color: #f0f0f0;
	border-radius: 4px;
	overflow: auto;
	font-size: 14px;
}

.entry-content pre code { background: transparent; padding: 0; }

.page-links {
	margin-top: 24px;
	font-size: 14px;
	color: var(--muted);
}

.entry-footer {
	margin-top: 32px;
	padding-top: 20px;
	border-top: 1px solid var(--border);
	font-size: 14px;
}

.entry-tags-label {
	font-weight: 600;
	margin-right: 6px;
}

.entry-tags a {
	display: inline-block;
	padding: 4px 10px;
	margin: 0 4px 4px 0;
	background: #f2f2f2;
	border-radius: 999px;
	color: var(--text);
	text-decoration: none;
	font-size: 13px;
}

.entry-tags a:hover {
	background: var(--brand);
	color: #fff;
}

/* --- Prev / next navigation --- */
.post-navigation {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	max-width: 800px;
	margin: 40px auto;
	padding: 20px 0;
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
}

.post-navigation a {
	color: var(--text);
	text-decoration: none;
	font-size: 15px;
}

.post-navigation a:hover { color: var(--brand); }

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

/* ==========================================================================
   Comments
   ========================================================================== */

.comments-area {
	max-width: 800px;
	margin: 40px auto 60px;
	padding: 0;
}

.comments-title,
.comment-reply-title {
	margin: 0 0 20px;
	font-size: 22px;
	font-weight: 700;
	color: var(--text);
}

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

.comment-list ol.children {
	list-style: none;
	margin: 0;
	padding-left: 32px;
}

.comment-body {
	padding: 18px 0;
	border-bottom: 1px solid var(--border);
}

.comment-list > li:last-child > .comment-body { border-bottom: none; }

.comment-author {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 600;
	color: var(--text);
}

.comment-author .avatar {
	border-radius: 50%;
}

.comment-metadata {
	margin: 4px 0 10px;
	font-size: 13px;
	color: var(--muted);
}

.comment-metadata a {
	color: var(--muted);
	text-decoration: none;
}

.comment-content {
	font-size: 15px;
	color: var(--text);
}

.reply { margin-top: 8px; }

.comment-reply-link {
	font-size: 13px;
	color: var(--brand);
	text-decoration: none;
}

.comment-reply-link:hover { text-decoration: underline; }

.comment-form {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.comment-form p { margin: 0; width: 100%; }

.comment-form label {
	display: block;
	margin-bottom: 4px;
	font-size: 14px;
	font-weight: 600;
	color: var(--text);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid var(--border);
	border-radius: 4px;
	font: inherit;
	font-size: 15px;
	background: #fff;
}

.comment-form input:focus,
.comment-form textarea:focus {
	outline: none;
	border-color: var(--brand);
	box-shadow: 0 0 0 3px rgba(67, 147, 34, .15);
}

.comment-form .form-submit { margin-top: 4px; }

.comment-form input[type="submit"] {
	padding: 12px 28px;
	border: none;
	border-radius: 4px;
	background: var(--brand);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background .15s;
}

.comment-form input[type="submit"]:hover {
	background: #2f6b18;
}

/* ==========================================================================
   Blog responsive
   ========================================================================== */

@media (max-width: 780px) {
	.page-title { font-size: 28px; }
	.entry-title { font-size: 28px; }
	.entry-content { font-size: 16px; }

	.post-navigation {
		grid-template-columns: 1fr;
		gap: 12px;
	}

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

	.comment-list ol.children { padding-left: 18px; }
}
/* ============================================================
 * Pre-header with contact info
 * ============================================================ */

.pre-header-flex {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 20px;
	padding: 15px 0;
}

.pre-header-brand {
	flex: 0 1 auto;
	text-decoration: none;
}

.pre-header-brand .site-title {
	margin: 0;
	font-size: 28px;
	font-weight: 700;
	color: #222;
}

.pre-header-brand .site-description {
	margin: 4px 0 0;
	font-size: 13px;
	color: #888;
}

/* Contact links */
.pre-header-contact {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.contact-item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	background: #f5f5f5;
	border: 1px solid #e5e5e5;
	border-radius: 4px;
	text-decoration: none;
	color: #222;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
	transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.contact-item:hover,
.contact-item:focus {
	background: #fff;
	border-color: #439322;
	color: #439322;
	text-decoration: none;
}

.contact-item .contact-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #439322;
	color: #fff;
	flex-shrink: 0;
}

.contact-item.contact-whatsapp .contact-icon {
	background: #25d366;
}

.contact-item.contact-whatsapp:hover,
.contact-item.contact-whatsapp:focus {
	border-color: #25d366;
	color: #128c7e;
}

.contact-item .contact-text {
	display: flex;
	flex-direction: column;
	line-height: 1.2;
}

.contact-item .contact-label {
	font-size: 10px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #888;
}

.contact-item:hover .contact-label,
.contact-item:focus .contact-label {
	color: inherit;
	opacity: 0.85;
}

.contact-item .contact-number {
	font-size: 13px;
	font-weight: 700;
	color: inherit;
}

/* Mobile: stack the contact items */
@media (max-width: 991px) {
	.pre-header-flex {
		flex-direction: column;
		text-align: center;
	}

	.pre-header-contact {
		justify-content: center;
		width: 100%;
	}
}

@media (max-width: 480px) {
	.pre-header-contact {
		flex-direction: column;
		width: 100%;
	}

	.contact-item {
		width: 100%;
		justify-content: center;
	}
}

#pg-300-2 .panel-grid-cell {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
}

#pg-300-2 .panel-grid-cell > .so-panel.widget_sow-image {
	flex: 1 1 calc(33% - 20px);
	max-width: 220px;
	text-align: center;
}

#pg-300-2 .so-widget-image {
	max-width: 100%;
	height: auto;
	display: inline-block;
}

#pg-300-2 .widget-title {
	margin-top: 10px;
	font-size: 13px;
	line-height: 1.4;
	color: #444;
	font-weight: 500;
	text-align: center;
}

@media (max-width: 768px) {
	#pg-300-2 .panel-grid-cell > .so-panel.widget_sow-image {
		flex: 1 1 calc(50% - 20px);
	}
}

@media (max-width: 480px) {
	#pg-300-2 .panel-grid-cell > .so-panel.widget_sow-image {
		flex: 1 1 100%;
	}
}