/* ============================================================
   THE "NUCLEAR" RESET FOR MILTON (ALL LEVELS)
   ============================================================ */

/* 1. KILL HEADER & FOOTER ON ALL MILTON RELATED PAGES */
/* This targets the specific page ID 238 and any page within the Milton hierarchy */
.page-id-238 #masthead, .page-id-238 .site-header,
.page-id-238 #colophon, .page-id-238 .site-footer,
.page-id-238 .menu-button-container,
[class*="parent-pageid-"] #masthead, 
[class*="parent-pageid-185"] .site-header,
[class*="parent-pageid-233"] .site-header {
    display: none !important;
    height: 0 !important;
    visibility: hidden !important;
}

/* 2. FORCE OFF-WHITE BACKGROUND (Eliminate full white) */
/* We target every structural container of the Twenty Twenty-One theme */
html, 
body.page-id-238,
body.page-id-238 #page,
body.page-id-238 #content,
body.page-id-238 .site-main,
.page-id-238 article,
[class*="parent-pageid-"] #page,
[class*="parent-pageid-"] #content {
    background-color: #FAF9F6 !important;
}

/* 3. MILTON BRANDING (Petrolio & Garamond) */
.page-id-238 h1, .page-id-238 h2, .page-id-238 h3,
.page-id-238 .entry-title,
[class*="parent-pageid-"] h1, [class*="parent-pageid-"] h2, [class*="parent-pageid-"] h3 {
    font-family: "EB Garamond", Georgia, serif !important;
    color: #005F6B !important;
    font-weight: 500 !important;
}

.page-id-238 a, [class*="parent-pageid-"] a {
    color: #005F6B !important;
    text-decoration: underline;
}

.page-id-238 strong, [class*="parent-pageid-"] strong {
    color: #B7410E !important;
}

/* 4. REMOVE THE TOP GAP & TITLES */
.page-id-238 .site-main, .page-id-238 .entry-content, .page-id-238 .entry-header {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Hide the duplicate title created by WordPress */
.page-id-238 .entry-header {
    display: none !important;
}

/* Fix for Twenty Twenty-One specific spacing */
.page-id-238 .site-main > article > .entry-content {
    padding-top: 0 !important;
    margin-top: 0 !important;
}