@font-face {
  font-family: "Bebas Neue";
  src: url("assets/fonts/BebasNeue-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

/*
 * Gutenberg wraps top-level blocks in an extra constrained container. Keep
 * the two Homepage sections at the width represented by their Kadence row
 * settings so Desktop/Tablet/Mobile previews use the actual preview canvas.
 * This affects the editor only; the live page continues to use Kadence's
 * generated frontend CSS.
 */
.editor-styles-wrapper .is-root-container > [data-type="kadence/rowlayout"]:has(.kb-row-id-forgehero),
.editor-styles-wrapper .is-root-container > .wp-block-kadence-rowlayout.kb-row-id-forgehero {
  width: 100% !important;
  max-width: none !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

.editor-styles-wrapper .is-root-container > [data-type="kadence/rowlayout"]:has(.kb-row-id-forgehero) > .wp-block-kadence-rowlayout,
.editor-styles-wrapper .is-root-container > .wp-block-kadence-rowlayout.kb-row-id-forgehero {
  width: 100% !important;
}

/* Gutenberg's Advanced Heading wrapper is full-width even when the saved
 * Kadence heading is content-sized. Keep the editor wrapper transparent to
 * the badge's existing responsive width and padding attributes. */
.editor-styles-wrapper [data-type="kadence/advancedheading"]:has(.forge-eyebrow) {
  width: fit-content !important;
  max-width: 100% !important;
  min-width: 0;
  align-self: flex-start;
}

.editor-styles-wrapper [data-type="kadence/advancedheading"]:has(.forge-eyebrow)
  :is(.kadence-advancedheading-text, .kb-adv-heading-inner, .forge-eyebrow) {
  box-sizing: border-box;
  width: fit-content !important;
  max-width: 100%;
}

/* Keep Gutenberg's button wrappers from stretching fixed-width Kadence
 * buttons. Width, padding, gaps and responsive collapse still come from the
 * block attributes. */
.editor-styles-wrapper
  .forge-hero-actions
  .wp-block-kadence-singlebtn.kt-btn-width-type-fixed,
.editor-styles-wrapper
  .forge-hero-actions
  [data-type="kadence/singlebtn"].kt-btn-width-type-fixed,
.editor-styles-wrapper .forge-hero-actions .kt-btn-width-type-fixed {
  display: inline-flex;
  flex: 0 0 auto !important;
  max-width: 100%;
  align-items: stretch;
}

.editor-styles-wrapper .forge-hero-actions
  :is(.tooltip-ref-wrap, .btn-inner-wrap) {
  display: flex;
  width: 100%;
  max-width: 100%;
}

.editor-styles-wrapper .forge-hero-actions .kt-button-text {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  text-align: left;
  white-space: nowrap;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/Inter-Variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

/*
 * Only details without equivalent Kadence controls live here. Layout,
 * spacing, typography, colors, backgrounds, borders, radii, sizing, and
 * responsive values are stored on the Gutenberg/Kadence blocks themselves.
 */
.forge-hero {
  box-sizing: border-box;
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow: hidden;
  color: #fff;
  background-color: #090909;
  font-family: "Inter", Arial, sans-serif;
}

.forge-hero-actions .kt-button {
  white-space: nowrap;
}

.forge-eyebrow {
  width: fit-content;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.forge-hero-actions .kt-button {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between !important;
  gap: 24px;
  line-height: 1.1 !important;
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease, filter 120ms ease, transform 180ms ease;
}

.forge-hero-actions .forge-primary-button:hover,
.forge-hero-actions .forge-primary-button:focus-visible {
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
  transform: translateY(-2px);
}

.forge-hero-actions .kt-button::after {
  content: "↗";
  display: inline-grid;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  place-items: center;
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
}

.forge-scroll-cue {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 20px;
}

.forge-scroll-cue::before {
  content: "↓";
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0;
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.forge-scroll-cue:hover::before {
  border-color: #fff;
  background: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
  color: #111;
  opacity: 0.7;
  transform: translateY(-2px);
}

/* Internal page Heroes reuse the Landing-page cue block. The Forge Method
 * copy wrapper keeps its existing content centered while the shared cue sits
 * at the intentional bottom edge of the Hero. */
.forge-method-hero-copy {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
}

.forge-method-hero-copy > .kt-inside-inner-col {
  display: flex;
  width: 100%;
  flex-direction: column;
  justify-content: center;
}

/* Shared final-CTA alignment standard. Normal typography and spacing remain
 * owned by the individual Kadence blocks. */
.forge-final-cta-content > .kt-inside-inner-col {
  align-items: center;
  text-align: center;
}

.forge-final-cta-content .forge-eyebrow-standard {
  align-self: center;
}

.forge-final-cta-content :is([data-kb-block*="-final-title"], [data-kb-block*="-final-body"]) {
  margin-right: auto !important;
  margin-left: auto !important;
  text-align: center !important;
}

.forge-final-cta-content .kb-buttons-wrap {
	justify-content: center !important;
}

@media (max-width: 767px) {
	:is(.forge-method-hero, .forge-training-hero) > .kt-row-column-wrap,
	.editor-styles-wrapper :is(.forge-method-hero, .forge-training-hero) > .kt-row-column-wrap {
		align-items: stretch;
		grid-auto-rows: 1fr !important;
	}

	:is(.forge-method-hero, .forge-training-hero) > .kt-row-column-wrap > .wp-block-kadence-column,
	.editor-styles-wrapper :is(.forge-method-hero, .forge-training-hero) > .kt-row-column-wrap > .wp-block-kadence-column {
		height: 100% !important;
	}

	:is(.forge-method-hero, .forge-training-hero) > .kt-row-column-wrap > .wp-block-kadence-column > .kt-inside-inner-col,
	.editor-styles-wrapper :is(.forge-method-hero, .forge-training-hero) > .kt-row-column-wrap > .wp-block-kadence-column > .kt-inside-inner-col {
		height: 100% !important;
	}
}

/* Keep decorative motion optional without changing the editable Kadence poster. */
@media (prefers-reduced-motion: reduce) {
  .forge-hero {
    background-image: url("/wp-content/uploads/2026/08/Training-Section-Main-Image.jpg") !important;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
  }

  .forge-hero > .kb-blocks-bg-video-container {
    display: none !important;
  }
}
