/*
Theme Name:   Malachi Recruiting — Divi Child
Theme URI:    https://thedigitalknight.com/
Description:  Divi child theme for the Malachi Henderson scout profile. Presentation only — all recruiting data and logic live in the Malachi Recruiting Hub plugin, so this theme can be replaced without touching the recruiting history.
Author:       The Digital Knight
Template:     Divi
Version:      1.1.0
License:      GPL-2.0-or-later
Text Domain:  malachi-divi-child
*/

/* ---------------------------------------------------------------------------
   Standalone scout profile.

   A page a scout reaches from a cold email should not arrive wrapped in a blog.
   Divi's header, footer widgets, "Designed by Elegant Themes" credit and the
   default Facebook / X / RSS icons all belong to a site with other pages; this
   page has one job. Everything below is scoped to .mrh-standalone, so the rest
   of the site keeps its chrome untouched.
   --------------------------------------------------------------------------- */
.mrh-standalone #top-header,
.mrh-standalone #main-header,
.mrh-standalone .et_slide_in_menu_container,
.mrh-standalone #footer-widgets,
.mrh-standalone #et-footer-nav,
.mrh-standalone #footer-bottom,
.mrh-standalone .et_pb_scroll_top,
.mrh-standalone #main-content .container::before {
	display: none !important;
}

/* Divi reserves space for the fixed header it just stopped rendering. */
.mrh-standalone #page-container {
	padding-top: 0 !important;
	margin-top: 0 !important;
}

.mrh-standalone #main-footer { display: none !important; }

.mrh-standalone,
.mrh-standalone #page-container,
.mrh-standalone #et-main-area,
.mrh-standalone #main-content {
	background: #0B1017;
}

/* The profile owns its own gutters and full-bleed bands, so the theme's
   content column must not add a second set. */
.mrh-standalone #main-content .container,
.mrh-standalone #content-area {
	width: 100%;
	max-width: 1240px;
	padding: 0 24px;
}

.mrh-standalone #left-area {
	width: 100%;
	padding: 0;
}

.mrh-standalone .entry-content { padding-top: 0; }
.mrh-standalone .mrh-profile-article { margin: 0; }
.mrh-standalone .entry-title,
.mrh-standalone .et_post_meta_wrapper,
.mrh-standalone .post-meta,
.mrh-standalone #comment-wrap,
.mrh-standalone .comment-respond { display: none; }

/* Divi's link styling would fight the profile's palette. */
.mrh-standalone .mrh-site a { text-decoration: none; }

@media (max-width: 980px) {
	.mrh-standalone #main-content .container,
	.mrh-standalone #content-area { padding: 0 16px; }
}

/* ---------------------------------------------------------------------------
   Legacy class from 1.0.0 — kept so an existing page does not lose its layout
   if the body class filter is ever removed.
   --------------------------------------------------------------------------- */
.mrh-page-template #main-content .container,
.mrh-page-template #content-area {
	width: 100%;
	max-width: 1240px;
	padding: 0 24px;
}
.mrh-page-template #left-area { width: 100%; padding-right: 0; padding-bottom: 0; }
.mrh-page-template .entry-content { padding-top: 0; }
.mrh-page-template .mrh-site a { text-decoration: none; }
