/* Shared Forge Method styles. */
.forge-method-page .forge-method-eyebrow {
  box-sizing: border-box;
  display: flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.forge-method-final-cta .forge-method-eyebrow {
  margin-right: auto !important;
  margin-left: auto !important;
}

.forge-method-standard
  :is(
    .kt-adv-headingforge-method-standard-line-one,
    .kt-adv-headingforge-method-standard-line-two
  ),
.forge-method-readiness
  :is(
    .kt-adv-headingforge-method-readiness-one,
    .kt-adv-headingforge-method-readiness-two
  ),
.forge-method-final-cta
  :is(
    .kt-adv-headingforge-method-final-title,
    .kt-adv-headingforge-method-final-body
  ) {
  width: 100%;
  margin-right: auto !important;
  margin-left: auto !important;
}

.forge-method-final-cta .kb-btnsforge-method-final-buttons {
  width: 100%;
  justify-content: center;
}

@media (max-width: 1024px) {
  .forge-method-principle
    [class*="kb-row-layout-idfm-principle-"][class*="-title-row"]
    > .kt-row-column-wrap {
    grid-template-columns: max-content minmax(0, 1fr) !important;
  }
}

.editor-styles-wrapper .is-root-container > [data-type="kadence/rowlayout"]:has(.forge-method-page),
.editor-styles-wrapper .is-root-container > .wp-block-kadence-rowlayout.forge-method-page {
  width: 100% !important;
  max-width: none !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

.editor-styles-wrapper [data-type="kadence/advancedheading"]:has(.forge-method-page .forge-method-eyebrow),
.editor-styles-wrapper .forge-method-page [data-type="kadence/advancedheading"]:has(.forge-method-eyebrow) {
  width: fit-content !important;
  max-width: 100% !important;
  align-self: flex-start;
}

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

.editor-styles-wrapper .is-root-container > [data-type="kadence/rowlayout"]:has(.kb-row-id-forge-method-section),
.editor-styles-wrapper .is-root-container > .wp-block-kadence-rowlayout.kb-row-id-forge-method-section {
  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-forge-method-section) > .wp-block-kadence-rowlayout,
.editor-styles-wrapper .is-root-container > .wp-block-kadence-rowlayout.kb-row-id-forge-method-section {
  width: 100% !important;
}

.editor-styles-wrapper .kb-row-id-forge-method-section
  .wp-block-kadence-rowlayout:is(
    .kb-row-id-forge-method-intro-row,
    .kb-row-id-forge-method-cards-row-one,
    .kb-row-id-forge-method-cards-row-two,
    .kb-row-id-forge-method-closing-row
  ) {
  width: 100% !important;
  margin-inline: 0 !important;
}

.editor-styles-wrapper .is-tablet-preview
  .kt-layout-inner-wrap-idforge-method-cards-row-one,
.editor-styles-wrapper .is-tablet-preview
  .kt-layout-inner-wrap-idforge-method-cards-row-two {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.wp-block-kadence-image.kb-imageforge-method-intro-image .kb-is-ratio-image {
  padding-bottom: 76.246334%;
}

.kt-adv-headingforge-method-eyebrow,
.forge-method-number {
  width: fit-content;
  white-space: nowrap;
}

.editor-styles-wrapper
  [data-type="kadence/advancedheading"]:has(.kt-adv-headingforge-method-eyebrow) {
  width: fit-content !important;
  max-width: 100% !important;
  min-width: max-content;
  align-self: flex-start;
}

.editor-styles-wrapper
  [data-type="kadence/advancedheading"]:has(.kt-adv-headingforge-method-eyebrow)
  :is(
    .kadence-advancedheading-text,
    .kb-adv-heading-inner,
    .kt-adv-headingforge-method-eyebrow
  ) {
  box-sizing: border-box;
  width: fit-content !important;
  white-space: nowrap;
}

.editor-styles-wrapper
  .forge-method-cta
  .wp-block-kadence-singlebtn.kt-btn-width-type-fixed,
.editor-styles-wrapper
  .forge-method-cta
  [data-type="kadence/singlebtn"].kt-btn-width-type-fixed,
.editor-styles-wrapper .forge-method-cta .kt-btn-width-type-fixed {
  display: inline-flex;
  flex: 0 0 auto !important;
  max-width: 100%;
  align-items: stretch;
}

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

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

.wp-block-kadence-column.forge-method-card > .kt-inside-inner-col {
  overflow: hidden;
  border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.forge-method-cta .kt-button {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between !important;
  gap: 20px;
  line-height: 1.1 !important;
  max-width: 100%;
  white-space: nowrap;
}

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

@media (max-width: 767px) {
  .wp-block-kadence-column.forge-method-card > .kt-inside-inner-col {
    border-radius: 14px;
  }

  .forge-method-cta .kt-button {
    width: 100% !important;
    max-width: 320px;
    gap: 10px;
  }

  .forge-method-cta,
  .forge-method-cta .kt-btn-wrap {
    width: 100%;
    max-width: 320px;
  }

  .forge-method-cta .kt-button::after {
    width: 14px;
    height: 14px;
    flex-basis: 14px;
    font-size: 14px;
  }
}

@media (max-width: 360px) {
  .forge-method-cta .kt-button {
    gap: 6px;
    padding-right: 8px !important;
    padding-left: 8px !important;
  }

  .forge-method-cta .kt-button::after {
    width: 12px;
    height: 12px;
    flex-basis: 12px;
    font-size: 12px;
  }
}
