/* 11:11 MG Theme - minimal base. Elementor Site Settings (Global Colors / Fonts) override these. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	font-size: 1rem;
	line-height: 1.6;
	color: #1f2933;
	background: #fff;
	-webkit-font-smoothing: antialiased;
}
img, svg, video, iframe { max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; line-height: 1.25; }
p { margin: 0 0 1em; }
table { border-collapse: collapse; width: 100%; }
button, input, select, textarea { font: inherit; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); white-space: nowrap; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; width: auto; height: auto; z-index: 100000;
	top: 8px; left: 8px; padding: 12px 20px; background: #fff; color: #111; box-shadow: 0 2px 8px rgba(0,0,0,.2);
}

/* Layout */
.site-container, .site-main { width: 100%; max-width: 1140px; margin-inline: auto; padding-inline: 20px; }
.site-main { padding-block: 40px; }
.page-header { margin-bottom: 24px; }
.alignwide { max-width: 1340px; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }

/* Fallback header / footer */
.site-header__inner, .site-footer__inner {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 20px;
}
.site-title { font-size: 1.25rem; font-weight: 700; text-decoration: none; }
.custom-logo { display: block; max-height: 60px; width: auto; }
.site-navigation .menu, .footer-navigation .menu { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; list-style: none; }
.site-navigation a, .footer-navigation a { text-decoration: none; }
.site-navigation a:hover, .footer-navigation a:hover { text-decoration: underline; }
.site-navigation .sub-menu { display: none; }
.site-navigation li:hover > .sub-menu, .site-navigation li:focus-within > .sub-menu {
	display: block; position: absolute; margin: 0; padding: 8px 0; list-style: none; background: #fff; box-shadow: 0 4px 16px rgba(0,0,0,.1); z-index: 99;
}
.site-navigation .sub-menu a { display: block; padding: 6px 16px; }
.site-navigation li { position: relative; }
.site-footer { border-top: 1px solid #e5e7eb; font-size: .9rem; }
.site-footer__copy, .site-credit { margin: 0; }
.site-credit { width: 100%; font-size: .8rem; opacity: .7; }

/* Posts */
.post-card { margin-bottom: 40px; }
.post-card__thumb img { display: block; border-radius: 6px; margin-bottom: 12px; }
.post-card__title a { text-decoration: none; }
.pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.wp-caption, .wp-block-image figcaption { font-size: .875rem; }
.comment-list { padding-left: 0; list-style: none; }
.comment-list .children { list-style: none; }

/* Elementor: let full-width templates go edge to edge */
.elementor-template-full-width .site-main, .elementor-page .site-main { max-width: none; padding: 0; }
.elementor-page .page-header { max-width: 1140px; margin: 0 auto; padding: 40px 20px 0; }
