/* =============================================
   HEADER: HIDE TEXT SITE TITLE
   (site uses image logo; text name is redundant)
   ============================================= */
.site-title-container,
#header .site-title-container {
  display: none;
}

/* =============================================
   PAGE TITLE / ENTRY-HEADER SUPPRESSION
   =============================================
   Hides the Blocksy-generated entry-header on standard pages.
   SAFE: Blocksy Page Title is disabled in theme settings; all pages
   use their own in-content H1. Does NOT affect H1s inside
   entry-content. */
.page-template-default .entry-header,
.page .entry-header {
  display: none !important;
}

/* Hides Blocksy duplicate page title when a custom hero block is present */
.rh-hero-block ~ .entry-header,
.page .entry-header .page-title {
  display: none;
}

/* =============================================
   HOME / FULL-WIDTH PAGE LAYOUT
   =============================================
   Removes default top padding on full-width containers so hero blocks
   sit flush to the header. */
.home .ct-container-full,
.page .ct-container-full {
  padding-top: 0;
}

.home .entry-header {
  display: none;
}

/* Removes vertical spacing on full-width page containers */
.page .ct-container-full[data-vertical-spacing] {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Restore breathing room for first content element on non-hero pages */
.page .ct-container-full .entry-content > p:first-child,
.page .ct-container-full .entry-content > h1:first-child,
.page .ct-container-full .entry-content > h2:first-child {
  margin-top: 40px;
}

/* Restore bottom padding for pages that need it */
.page .ct-container-full[data-vertical-spacing] .entry-content > :last-child {
  margin-bottom: 60px;
}

/* =============================================
   GUTENBERG BUTTON COLOR: REMAP LUMINOUS VIVID ORANGE
   =============================================
   Buttons set to "Luminous Vivid Orange" in the block editor
   are remapped to the site's sea green palette color.
   This avoids editing every button individually. */
:root {
  --wp--preset--color--luminous-vivid-orange: var(--theme-palette-color-9);
}
/* =============================================
   FOOTER WIDGET TITLE COLOR
   =============================================
   Overrides the heading color variable for footer widget titles,
   allowing them to inherit the footer widget text color instead of
   the global heading color. This ensures proper contrast against
   the dark footer background. */
.ct-footer .widget-title {
  color: var(--theme-text-color);
}

/* ================================================
 *    FONT DISPLAY: SWAP
 *    Override Montserrat font-display from 'fallback'
 *    to 'swap' to improve FCP (PageSpeed Insight fix)
 *    ================================================ */
@font-face {
	  font-family: 'Montserrat';
	  font-display: swap;
}
}