/*
Theme Name: Make Sure You Go To Heaven Freedom Theme V2
Theme URI: https://makesureyougotoheaven.com/
Author: ChatGPT
Description: A controlled full-width WordPress theme for MakeSureYouGoToHeaven.com with one global header, one global footer, clean landing pages, no wrapper bands, no forced duplicate featured images, and no title overlays.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: msgth-freedom
*/

:root {
  --msgth-navy: #071527;
  --msgth-blue: #0f3a63;
  --msgth-gold: #f3c96b;
  --msgth-gold-dark: #c9972d;
  --msgth-cream: #fff8ea;
  --msgth-paper: #ffffff;
  --msgth-text: #172033;
  --msgth-muted: #5d6878;
  --msgth-line: rgba(15, 58, 99, 0.16);
  --msgth-shadow: 0 18px 50px rgba(7, 21, 39, 0.12);
  --msgth-radius: 22px;
  --msgth-width: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: linear-gradient(180deg, #fff8ea 0%, #ffffff 44%, #eef6ff 100%);
  color: var(--msgth-text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1.68;
}
img { max-width: 100%; height: auto; }
a { color: #0c4f89; text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: #07345c; }
.skip-link { position: absolute; left: -999px; top: 10px; background: #fff; padding: 10px 14px; z-index: 999; }
.skip-link:focus { left: 10px; }

.msgth-container { width: min(var(--msgth-width), calc(100% - 36px)); margin-inline: auto; }
.msgth-header {
  background: rgba(7, 21, 39, 0.96);
  color: #ffffff;
  border-bottom: 1px solid rgba(243, 201, 107, 0.35);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
}
.admin-bar .msgth-header { top: 32px; }
.msgth-nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 22px;
  justify-content: space-between;
}
.msgth-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-size: clamp(20px, 2vw, 28px);
}
.msgth-brand-mark {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, #fff4cc 0%, var(--msgth-gold) 45%, var(--msgth-gold-dark) 100%);
  color: var(--msgth-navy);
  font-size: 24px;
  box-shadow: 0 0 0 5px rgba(243, 201, 107, 0.12);
  flex: 0 0 auto;
}
.msgth-brand small {
  display: block;
  margin-top: 2px;
  color: rgba(255,255,255,0.78);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.msgth-primary-nav { flex: 1 1 auto; }
.msgth-menu, .msgth-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
  justify-content: center;
}
.msgth-menu a {
  display: inline-flex;
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}
.msgth-menu a:hover,
.msgth-menu .current-menu-item > a,
.msgth-menu .current_page_item > a { background: rgba(255,255,255,0.1); color: #ffffff; }
.msgth-nav-cta, .msgth-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  background: linear-gradient(135deg, #ffe28d, #f3c96b 55%, #d9a53d);
  color: #071527 !important;
  text-decoration: none;
  font-weight: 900;
  line-height: 1.1;
  box-shadow: 0 12px 28px rgba(243, 201, 107, 0.25);
  white-space: nowrap;
}
.msgth-button.secondary { background: #ffffff; color: #071527 !important; box-shadow: 0 12px 28px rgba(7, 21, 39, 0.12); }
.msgth-button.dark { background: var(--msgth-navy); color: #ffffff !important; }

.site-main { min-height: 60vh; margin: 0; padding: 0; }
.site-main > *:first-child { margin-top: 0; }
.site-main > *:last-child { margin-bottom: 0; }
.msgth-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(circle at 70% 18%, rgba(243,201,107,0.32), transparent 28%),
    linear-gradient(135deg, rgba(7,21,39,0.97), rgba(15,58,99,0.96));
  padding: clamp(62px, 9vw, 116px) 0;
}
.msgth-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, #000, transparent 78%);
}
.msgth-hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.msgth-eyebrow {
  display: inline-flex;
  color: #ffe28d;
  background: rgba(243,201,107,0.12);
  border: 1px solid rgba(243,201,107,0.32);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.msgth-hero h1, .msgth-page-title {
  margin: 18px 0 16px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}
.msgth-hero p { color: rgba(255,255,255,0.88); font-size: clamp(19px, 2.2vw, 24px); max-width: 700px; }
.msgth-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.msgth-hero-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.17);
  border-radius: var(--msgth-radius);
  padding: clamp(22px, 3vw, 34px);
  box-shadow: var(--msgth-shadow);
}
.msgth-hero-card h2 { margin: 0 0 10px; color: #ffe28d; font-size: clamp(26px, 3vw, 36px); line-height: 1.1; }
.msgth-hero-card p { font-size: 17px; }

.msgth-section { padding: clamp(48px, 7vw, 86px) 0; }
.msgth-section.compact { padding: 42px 0; }
.msgth-section-title { max-width: 820px; margin: 0 auto 34px; text-align: center; }
.msgth-section-title h2 { margin: 0 0 12px; color: var(--msgth-navy); font-size: clamp(31px, 4vw, 48px); line-height: 1.08; letter-spacing: -0.035em; }
.msgth-section-title p { margin: 0; color: var(--msgth-muted); font-size: 19px; }
.msgth-grid { display: grid; gap: 22px; }
.msgth-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.msgth-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.msgth-card {
  background: var(--msgth-paper);
  border: 1px solid var(--msgth-line);
  border-radius: var(--msgth-radius);
  padding: clamp(22px, 3vw, 32px);
  box-shadow: 0 10px 35px rgba(7,21,39,0.08);
}
.msgth-card h3 { margin: 0 0 8px; color: var(--msgth-navy); font-size: 25px; line-height: 1.15; }
.msgth-card p { margin-top: 0; color: #344054; }
.msgth-card a:not(.msgth-button) { font-weight: 800; }
.msgth-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: #eef6ff;
  color: var(--msgth-blue);
  font-weight: 900;
}
.msgth-callout {
  background: linear-gradient(135deg, var(--msgth-navy), var(--msgth-blue));
  color: #ffffff;
  border-radius: calc(var(--msgth-radius) + 8px);
  padding: clamp(30px, 5vw, 58px);
  box-shadow: var(--msgth-shadow);
  overflow: hidden;
}
.msgth-callout h2 { margin: 0 0 12px; font-size: clamp(31px, 4vw, 50px); line-height: 1.08; letter-spacing: -0.035em; }
.msgth-callout p { color: rgba(255,255,255,0.86); max-width: 760px; }

.msgth-page-shell {
  width: min(960px, calc(100% - 36px));
  margin: clamp(36px, 6vw, 72px) auto;
  background: rgba(255,255,255,0.94);
  border: 1px solid var(--msgth-line);
  border-radius: calc(var(--msgth-radius) + 6px);
  box-shadow: 0 18px 55px rgba(7,21,39,0.1);
  padding: clamp(28px, 5vw, 60px);
}
.msgth-page-shell h1:first-child { margin-top: 0; }
.msgth-page-shell h1 { color: var(--msgth-navy); font-size: clamp(36px, 5vw, 58px); line-height: 1.05; letter-spacing: -0.04em; }
.msgth-page-shell h2 { color: var(--msgth-navy); margin-top: 42px; font-size: clamp(27px, 3vw, 38px); line-height: 1.15; letter-spacing: -0.025em; }
.msgth-page-shell h3 { color: var(--msgth-blue); margin-top: 30px; font-size: 24px; }
.msgth-page-shell p { margin: 0 0 1.05em; }
.msgth-page-shell ul, .msgth-page-shell ol { padding-left: 1.25em; }
.msgth-page-shell blockquote {
  margin: 28px 0;
  padding: 18px 22px;
  border-left: 5px solid var(--msgth-gold);
  background: #fff8ea;
  color: #253044;
  border-radius: 0 16px 16px 0;
}
.msgth-page-shell .wp-block-image { margin: 28px 0; }
.msgth-page-shell .wp-block-button__link { border-radius: 999px; font-weight: 900; padding: 13px 21px; }
.msgth-page-shell .has-text-color { color: inherit; }
.msgth-page-shell table { width: 100%; border-collapse: collapse; overflow: hidden; }
.msgth-page-shell td, .msgth-page-shell th { border: 1px solid var(--msgth-line); padding: 12px; vertical-align: top; }
.msgth-page-shell th { background: #eef6ff; color: var(--msgth-navy); text-align: left; }

.msgth-wide-shell { width: min(var(--msgth-width), calc(100% - 36px)); margin: clamp(36px, 6vw, 72px) auto; }
.msgth-landing-shell { width: 100%; max-width: none; margin: 0; padding: 0; background: transparent; }
.msgth-landing-shell > *:first-child { margin-top: 0 !important; }
.msgth-landing-shell > *:last-child { margin-bottom: 0 !important; }
.msgth-landing-shell .entry-content,
.msgth-landing-shell .wp-block-post-content,
.msgth-landing-shell .wp-block-html { margin: 0 !important; padding: 0 !important; max-width: none !important; }
.msgth-post-meta { color: var(--msgth-muted); font-size: 15px; margin: -8px 0 24px; }
.msgth-featured-image { margin: 0 0 28px; border-radius: 22px; overflow: hidden; box-shadow: 0 12px 35px rgba(7,21,39,0.1); }

.msgth-footer { background: #071527; color: rgba(255,255,255,0.82); padding: 44px 0; margin-top: 0; }
.msgth-footer-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 24px; align-items: start; }
.msgth-footer h2, .msgth-footer h3 { color: #ffffff; margin-top: 0; }
.msgth-footer a { color: #ffe28d; }
.msgth-footer-links { display: flex; flex-wrap: wrap; gap: 10px 16px; justify-content: flex-end; }
.msgth-footer-links a { font-weight: 800; text-decoration: none; }
.msgth-copyright { margin-top: 24px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.12); font-size: 14px; color: rgba(255,255,255,0.65); }


/* Remove block-theme style gaps around full custom landing pages. */
body .msgth-landing-shell,
body .msgth-landing-shell .wp-block-html,
body .msgth-landing-shell .wp-block-group,
body .msgth-landing-shell .entry-content {
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}

@media (max-width: 920px) {
  .msgth-nav-wrap { align-items: flex-start; flex-direction: column; padding: 14px 0; }
  .msgth-primary-nav { width: 100%; }
  .msgth-menu, .msgth-menu ul { justify-content: flex-start; }
  .msgth-nav-cta { align-self: stretch; }
  .msgth-hero-inner, .msgth-grid.three, .msgth-grid.two, .msgth-footer-grid { grid-template-columns: 1fr; }
  .msgth-footer-links { justify-content: flex-start; }
  .admin-bar .msgth-header { top: 0; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .msgth-container, .msgth-page-shell, .msgth-wide-shell { width: min(100% - 24px, var(--msgth-width)); }
  .msgth-hero { padding: 48px 0; }
  .msgth-menu a { padding: 7px 9px; font-size: 13px; }
}
