@import url('https://fonts.googleapis.com/css?family=Poppins:400,400i,500,500i,600,600i,700,700i,800,800i,900,900i&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');

:root {
	--navy: #061b33;
	--navy2: #0b2745;
	--gold: #c99a3c;
	--cream: #f7f3ec;
	--text: #142033;
	--muted: #6f7c8d;
	--white: #fff;
	--line: #e4e8ee;
}

/* --- Inline Administrative Editor Tools Inputs Styles --- */
.url-input {
	display: block;
	width: 100%;
	max-width: 220px;
	margin-top: 6px;
	padding: 5px 8px !important;
	font-size: 11px !important;
	border-radius: 3px;
	border: 1px solid rgba(255, 255, 255, 0.3);
	background: rgba(255, 255, 255, 0.15);
	color: #fff;
}
.url-input.dark-theme {
	background: rgba(0, 0, 0, 0.4);
	color: #fff;
	border: 1px solid rgba(0, 0, 0, 0.2);
}
.url-input.style-muted {
	background: #f4f6f9;
	color: var(--text);
	border: 1px solid var(--line);
	margin: 10px auto 0;
}
.editor-button-wrapper {
	display: inline-block;
	vertical-align: top;
}

/* Base resets mapped to all active blocks individually */
.wp-block-monument-hero, .wp-block-monument-services, .wp-block-monument-expertise,
.wp-block-monument-contact, .wp-block-monument-stats, .wp-block-monument-testimonials,
.wp-block-monument-blog, .wp-block-monument-cta {
	box-sizing: border-box;
	font-family: "Poppins", sans-serif;
	color: var(--text);
	line-height: 1.7;
}

.wp-block-monument-hero *, .wp-block-monument-services *, .wp-block-monument-expertise *,
.wp-block-monument-contact *, .wp-block-monument-stats *, .wp-block-monument-testimonials *,
.wp-block-monument-blog *, .wp-block-monument-cta * {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

/* Container Layout System */
.container {
	width: min(1180px, 92%);
	margin: auto;
}
.section { padding: 90px 0; }
.cream { background: var(--cream); }
.muted { color: var(--muted); }

.eyebrow {
	color: var(--gold);
	text-transform: uppercase;
	letter-spacing: 3px;
	font-size: 12px;
	font-weight: 300;
	margin-bottom: 14px;
}
h2 {
	font-size: clamp(36px, 4vw, 58px);
	line-height: 1.08;
	margin-bottom: 22px;
}
h2 span, h1 span { color: var(--gold); }

/* Buttons framework */
.btn {
	display: inline-block;
	border: 0;
	border-radius: 4px;
	padding: 13px 21px;
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	cursor: pointer;
	text-decoration: none;
}
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-outline { border: 1px solid rgba(255, 255, 255, .55); color: #fff; }
.card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 12px;
	box-shadow: 0 16px 40px rgba(0, 0, 0, .08);
}

/* 1. Hero Block */
.hero {
	min-height: 680px;
	padding-block-end: 100px;
	color: #fff;
	/* Removed the hardcoded background URL string so JavaScript can inject your chosen upload */
	background-size: cover;
	background-position: center;
}
.hero-grid { min-height: 680px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.hero h1 { font-size: clamp(42px, 6vw, 60px); line-height: 1.3; font-weight: 600; margin-bottom: 24px; }
.hero p.hero-desc { max-width: 610px; color: #e8eef6; }
.hero-buttons { display: grid; grid-auto-flow: column; justify-content: start; gap: 14px; margin-top: 28px; }

/* 2. Overlap Card Grid */
.overlap { margin-top: -85px; position: relative; z-index: 5; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-card { text-align: center; padding: 35px 25px; }
.service-card svg { width: 56px; height: 56px; margin: 0 auto 18px; fill: none; stroke: var(--gold); stroke-width: 1.6; }
.service-card h3 { font-size: 23px; line-height: 1.2; margin-bottom: 12px; }

/* 3. Expertise Grid */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.image-card { border-radius: 16px; overflow: hidden; position: relative; box-shadow: 0 20px 50px rgba(0, 0, 0, .12); }
.image-card img { height: 450px; width: 100%; object-fit: cover; }
.feature-strip { position: absolute; left: 28px; right: 28px; bottom: 24px; background: var(--navy); color: #fff; border-radius: 10px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 23px; font-size: 13px; }
.feature-strip strong { color: var(--gold); }

/* 4. Contact Block */
.contact-grid { display: grid; grid-template-columns: 1fr .85fr; gap: 65px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.full { grid-column: 1 / -1; }
input, select, textarea { width: 100%; padding: 15px; border: 1px solid #d9e0e8; background: #fff; }
textarea { min-height: 140px; }
.contact-card { padding: 50px; background: #fff; border-radius: 14px; box-shadow: 0 18px 45px rgba(0, 0, 0, .08); }
.contact-card ul { list-style: none; margin-top: 20px; }
.contact-card li { margin-bottom: 12px; color: var(--muted); }

/* 5. Metrics Strip */
.stats { background: var(--navy); color: #fff; padding: 38px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; gap: 22px; }
.stats strong { font-size: 44px; color: var(--gold); display: block; }

/* 6. Testimonials */
.testimonial-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.quote-card { padding: 38px; }
.quote { font-size: 42px; color: var(--gold); line-height: 1; }

/* 7. Blog Feed */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card { overflow: hidden; }
.blog-card img { height: 260px; width: 100%; object-fit: cover; }
.card-body { padding: 26px; }
.card-body h3 { font-size: 24px; line-height: 1.3; margin-bottom: 9px; }

/* 8. Call To Action Layout */
.cta { background: linear-gradient(rgba(6, 27, 51, .93), rgba(6, 27, 51, .93)), url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1600&q=80') center/cover; color: #fff; padding: 75px 0; }
.cta-grid { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; }

/* Responsive Media rules queries mapping */
@media (max-width: 980px) {
	.hero-grid, .split, .contact-grid, .cta-grid { grid-template-columns: 1fr; }
	.service-grid, .blog-grid, .stats-grid, .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
	.feature-strip { position: static; border-radius: 0; grid-template-columns: 1fr; }
	.hero, .hero-grid { min-height: 590px; }
}
@media (max-width: 640px) {
	.service-grid, .blog-grid, .stats-grid, .testimonial-grid, .form-grid { grid-template-columns: 1fr; }
	.section { padding: 60px 0; }
	.hero-buttons { grid-auto-flow: row; }
	.contact-card { padding: 30px; }
}


/* Fixed Custom Administration Button Parameters for Media Selection Uploader */
.modular-media-upload-btn {
	background: #061b33 !important;
	color: #fff !important;
	border: 1px solid #c99a3c !important;
	padding: 8px 14px !important;
	font-size: 12px !important;
	font-weight: bold !important;
	text-transform: uppercase !important;
	border-radius: 4px !important;
	cursor: pointer !important;
	transition: background 0.2s ease !important;
}
.modular-media-upload-btn:hover {
	background: #c99a3c !important;
	color: #061b33 !important;
}
.gutenberg-media-upload-container {
	background: #ffffff;
	padding: 10px;
	border: 1px dashed #cbd6e2;
	border-radius: 8px;
	margin-bottom: 15px;
}