/* =========================================================
   FONTS
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Lora:wght@400;500;600;700&display=swap');


/* =========================================================
   BASE TYPOGRAPHY + COLORS
   ========================================================= */

body {
  font-family: 'Inter', sans-serif !important;
  font-size: 16px;
  line-height: 1.6;
  color: #1A1A1A;
  background-color: #FAFAFA;
}

/* Paragraphs */
p {
  color: #4A4A4A;
}


/* =========================================================
   HEADINGS
   ========================================================= */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Lora', serif !important;
  text-transform: none !important;
  color: #1E2A4A !important;
  line-height: 1.2 !important;
}

html body h1,
html body .entry-title,
html body .wp-block-heading h1,
html body .wp-block-post-title,
html body .cover h1 {
  font-size: 62px !important;
  font-weight: 600 !important;
  letter-spacing: -1px !important;
  line-height: 1.1 !important;
  margin-top: 0 !important;
}

h2 {
  font-size: 32px !important;
  font-weight: 600 !important;
  letter-spacing: -0.5px;
}

h3 {
  font-size: 24px !important;
  font-weight: 600 !important;
}


/* =========================================================
   LINKS
   ========================================================= */

a {
  color: #D6452D;
  text-decoration: none;
}

a:hover {
  color: #B93A25;
}


/* =========================================================
   BUTTONS (FINAL GLOBAL BASE)
   ========================================================= */

button,
.wp-block-button__link {
  background-color: #D6452D !important;
  background: #D6452D !important;
  color: #ffffff !important;
  border-radius: 6px;
  padding: 12px 20px;
  font-weight: 600;
  border: none;
  transition: all 0.2s ease;
  opacity: 1 !important;
  filter: none !important;
  box-shadow: none !important;
  mix-blend-mode: normal !important;
}

/* hover */
button:hover,
.wp-block-button__link:hover {
  background-color: #B93A25 !important;
  background: #B93A25 !important;
  transform: translateY(-1px);
  opacity: 1 !important;
  filter: none !important;
}


/* =========================================================
   FINAL BUTTON HARD FIX (/HOME - REMOVE ALL GREY EFFECTS)
   ========================================================= */

body.home .wp-block-button,
body.home .wp-block-button__link,
body.home .wp-block-buttons,
body.home .entry-content {
  opacity: 1 !important;
  filter: none !important;
  mix-blend-mode: normal !important;
}

body.home .wp-block-button__link {
  background: #D6452D !important;
  background-color: #D6452D !important;
  background-image: none !important;
  box-shadow: none !important;
  color: #ffffff !important;
  text-shadow: none !important;
}

body.home .wp-block-button__link::before,
body.home .wp-block-button__link::after {
  display: none !important;
  content: none !important;
  background: transparent !important;
}


/* hover consistency */
body.home .wp-block-button__link:hover {
  background: #B93A25 !important;
  opacity: 1 !important;
  filter: none !important;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.site-header {
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #EAEAEA;
  position: relative !important;
  z-index: 1;
}


/* =========================================================
   HOMEPAGE (/HOME MATCHES /MENU LAYOUT)
   ========================================================= */

body.home .site-content,
body.home .site-main,
body.home .entry-content {
  max-width: 1100px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 40px !important;
  padding-right: 40px !important;
  box-sizing: border-box !important;
}

/* typography consistency */
body.home .entry-content {
  font-size: 16px !important;
  line-height: 1.6 !important;
}

/* heading consistency */
body.home h1 {
  font-size: 62px !important;
  line-height: 1.1 !important;
}

body.home h2 {
  font-size: 32px !important;
}

body.home h3 {
  font-size: 24px !important;
}

/* block containment */
body.home .wp-block-group,
body.home .wp-block-cover,
body.home .wp-block-columns,
body.home .wp-block-media-text,
body.home .alignfull {
  max-width: 1100px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}


/* =========================================================
   LAYOUT FIXES
   ========================================================= */

body.page .site-content {
  padding-top: 40px !important;
}

body.page .site-main {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.single-featured-image-header,
.wp-custom-header,
.custom-header,
.header-image {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}


/* =========================================================
   FOOTER CLEANUP
   ========================================================= */

.site-info {
  display: none !important;
}


/* =========================================================
   SOCIAL / EXTRAS REMOVAL
   ========================================================= */

.sharedaddy,
.sd-sharing,
.sd-block,
.jetpack-sharing-buttons,
.jetpack-social-navigation,
.jp-relatedposts,
.entry-content .sharedaddy,
.like-button,
.wp-block-jetpack-likes {
  display: none !important;
}


/* =========================================================
   RESPONSIVE TYPOGRAPHY
   ========================================================= */

@media (max-width: 768px) {

  body {
    font-size: 15px;
  }

  html body h1,
  html body .entry-title,
  html body .wp-block-post-title {
    font-size: 40px !important;
  }

  h2 {
    font-size: 26px !important;
  }
}


/* =========================================================
   DESKTOP SPACING
   ========================================================= */

@media (min-width: 1024px) {
  body.page .site-content {
    padding-top: 90px !important;
  }
}

/* =========================================================
  /* =========================================================
   FINAL FIX: REMOVE ALL THEME TITLES (KEEP ONLY YOUR H1)
   ========================================================= */

/* Kill ALL possible theme-generated titles */
.site-header .entry-title,
.site-header .page-title,
.site-header h1,
.page-header .entry-title,
.page-header .page-title,
.wp-block-post-title,
.wp-block-query-title {
  display: none !important;
}

/* Remove WordPress template titles outside content */
body.page .entry-title,
body.page .page-title {
  display: none !important;
}

/* Ensure ONLY content H1 remains */
.site-main h1,
.entry-content h1,
body.page .wp-block-heading h1 {
  display: block !important;
}

/* Extra safety: remove title spacing that remains after hiding */
.page-header,
.entry-header {
  margin: 0 !important;
  padding: 0 !important;
  height: auto !important;
}