/*
Theme Name: Monks Cleaning
Theme URI: https://warmonks.com/
Author: Warmonks
Author URI: https://warmonks.com/
Description: A custom Elementor-compatible WordPress theme for professional cleaning service websites.
Version: 1.0.2
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: monks-cleaning
Tags: custom-logo, custom-menu, featured-images, full-width-template, threaded-comments, translation-ready
*/

/* =====================================================================
   Base styles — intentionally minimal so Elementor layouts and the
   section styles (assets/css/*.css) stay in control of the design.
   ===================================================================== */

:root {
	--mc-green: #177a3a;
	--mc-navy: #0f1e2e;
	--mc-text: #253445;
	--mc-muted: #5d6b7a;
	--mc-line: #e4e9ee;
	--mc-font-heading: "Outfit", "Segoe UI", system-ui, -apple-system, sans-serif;
	--mc-font-body: "DM Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
	--mc-content-width: 1200px;
}

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: #ffffff;
	color: var(--mc-text);
	font-family: var(--mc-font-body);
	font-size: 17px;
	line-height: 1.6;
	overflow-x: hidden;
}

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

a {
	color: var(--mc-green);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--mc-font-heading);
	color: var(--mc-navy);
	line-height: 1.2;
}

/* WebP <picture> wrapper added around existing <img> tags (monks_cleaning_picture()):
   generates no box, so the image keeps its original place in the parent's layout. */
picture.monks-picture {
	display: contents;
}

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

.skip-link:focus {
	position: fixed;
	top: 8px;
	left: 8px;
	z-index: 100001;
	width: auto;
	height: auto;
	clip: auto;
	padding: 12px 18px;
	background: #ffffff;
	color: var(--mc-navy);
	border-radius: 8px;
	box-shadow: 0 6px 18px rgba(15, 30, 46, 0.2);
}

/* =====================================================================
   Fallback content layout (used by index / single / page templates
   when a page is NOT built with Elementor)
   ===================================================================== */
.mc-site-main {
	display: block;
}

.mc-content-container {
	width: 100%;
	max-width: var(--mc-content-width);
	margin: 0 auto;
	padding: clamp(40px, 6vw, 80px) clamp(16px, 3vw, 32px);
	box-sizing: border-box;
}

.mc-entry + .mc-entry {
	margin-top: 56px;
	padding-top: 56px;
	border-top: 1px solid var(--mc-line);
}

.mc-entry-title {
	margin: 0 0 12px;
	font-size: clamp(28px, 3vw, 42px);
}

.mc-entry-title a {
	color: inherit;
	text-decoration: none;
}

.mc-entry-meta {
	margin-bottom: 20px;
	color: var(--mc-muted);
	font-size: 15px;
}

.mc-entry-thumbnail img {
	display: block;
	width: 100%;
	border-radius: 14px;
	margin-bottom: 24px;
}

.mc-pagination {
	margin-top: 48px;
}

/* Elementor pages handle their own width */
.mc-elementor-content {
	display: block;
}

/* Gutenberg alignment helpers */
.alignwide {
	max-width: 1400px;
}

.alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
}
