/* ==========================================================================
   Single Insights Template Styles (Matching Live Morae React / Next.js Design)
   ========================================================================== */

/* Main Content Grid Wrapper matching Live React .content-grid */
.insight-single-wrapper.content-grid {
  --side-padding: clamp(1rem, -0.408rem + 6.009vw, 5rem);
  --breakout-size: 0rem;
  --gutter: clamp(1.5rem, 1.25rem + 0.625vw, 1.6667vw);
  display: grid;
  grid-template-columns:
    [full-width-start] var(--side-padding)
    [breakout-start] var(--breakout-size)
    [content-start] minmax(0, 1fr)
    [content-end] var(--breakout-size)
    [breakout-end] var(--side-padding)
    [full-width-end];
  width: 100%;
  max-width: 1920px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box;
  overflow-x: clip;
}

/* Children default to content column */
.insight-single-wrapper.content-grid > :not(.insight-hero-section, .morae-card-section, .col-full-width, .\!col-full-width, .m__hero-insights-section, .m__hero-insights) {
  grid-column: content;
}

.insight-single-wrapper.content-grid > .morae-card-section,
.insight-single-wrapper.content-grid > .m__hero-insights-section,
.insight-single-wrapper.content-grid > .col-full-width,
.insight-single-wrapper.content-grid > .\!col-full-width {
  grid-column: full-width !important;
  width: 100% !important;
}

.insight-single-wrapper .morae-card-section .morae-container,
.insight-single-wrapper .morae-card-section .morae-card-container {
  height: auto !important;
}

/* ==========================================================================
   Hero Section Container
   ========================================================================== */
.insight-single-wrapper.content-grid > .insight-hero-section {
  grid-column: full-width;
  display: grid;
  grid-template-columns: inherit;
  position: relative;
  width: 100%;
  padding-top: clamp(2.5625rem, 1.8115rem + 3.2044vw, 4.375rem);
  padding-bottom: clamp(2.5625rem, 1.8115rem + 3.2044vw, 4.375rem);
  box-sizing: border-box;
  background-color: #ffffff;
  color: #262626;
}

.insight-hero-inner {
  grid-column: content;
  display: grid;
  grid-template-columns: 1fr;
  column-gap: var(--gutter, 1.5rem);
  row-gap: 2rem;
  box-sizing: border-box;
}

@media (min-width: 1024px) {
  .insight-hero-inner {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }
}

/* Left Column Layout */
.insight-hero-left {
  grid-column: span 1;
}

@media (min-width: 1024px) {
  .insight-hero-left {
    grid-column: span 6 / span 6;
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-template-rows: auto 1fr;
    column-gap: var(--gutter, 1.5rem);
  }
  .insight-hero-left > .lg\:col-span-5 {
    grid-column: span 5 / span 5 !important;
  }
  .insight-hero-left > .lg\:col-span-6 {
    grid-column: span 6 / span 6 !important;
  }
}

/* Screen reader only utility to visually hide accessibility elements */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border-width: 0 !important;
}

/* Typography & Left Elements (Matching Live Next.js Computed Scales) */
.insight-hero-tag {
  color: var(--primary, #ff3700) !important;
  font-size: clamp(1.125rem, 1.0732rem + 0.220994vw, 1.25rem) !important;
  line-height: clamp(1.6875rem, 1.60981rem + 0.331492vw, 1.875rem) !important;
  font-weight: 500 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.insight-hero-title {
  color: #262626 !important;
  font-family: var(--morae-font, 'IBM Plex Sans', sans-serif);
  font-size: clamp(1.9375rem, 1.52314rem + 1.76796vw, 2.9375rem) !important;
  line-height: clamp(2.5rem, 1.93025rem + 2.43094vw, 3.875rem) !important;
  font-weight: 400 !important;
  letter-spacing: 0em;
  margin: 0 !important;
}

.insight-hero-summary-box {
  margin-top: var(--spacing-3xl, clamp(2.5625rem, 1.811464rem + 3.20442vw, 4.375rem)) !important;
  border-left: 2px solid var(--primary, #ff3700) !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.insight-hero-summary {
  font-size: clamp(1.125rem, 1.081rem + 0.1878vw, 1.25rem) !important;
  line-height: 1.5 !important;
  color: #262626 !important;
  padding-left: var(--spacing-lg, clamp(1.5rem, 1.370511rem + 0.552486vw, 1.8125rem)) !important;
}

.insight-hero-summary p {
  margin: 0 0 0.75rem 0;
  line-height: inherit;
  color: inherit;
  font-size: inherit;
}
.insight-hero-summary p:last-child {
  margin-bottom: 0;
}

.insight-hero-byline {
  margin-top: var(--spacing-lg, clamp(1.5rem, 1.370511rem + 0.552486vw, 1.8125rem)) !important;
  padding-left: var(--spacing-lg, clamp(1.5rem, 1.370511rem + 0.552486vw, 1.8125rem)) !important;
  font-size: clamp(0.9375rem, 0.90009rem + 0.15962vw, 1.04375rem) !important;
  line-height: 1.5 !important;
  color: #6e6e6e !important;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5ch;
}

.insight-hero-byline p {
  margin: 0;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

.insight-hero-social {
  padding-left: var(--spacing-lg, clamp(1.5rem, 1.370511rem + 0.552486vw, 1.8125rem)) !important;
  margin-top: 1.6em;
}

.insight-hero-social ul {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.insight-hero-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4em;
  height: 2.4em;
  border-radius: 9999px;
  border: 1px solid #d9d4cc;
  color: #6e6e6e;
  transition: all 0.15s ease;
  text-decoration: none !important;
}
.insight-hero-social a svg{
  width: 1em !important;
  height: 1em !important;
  font-size: 1.2em;
}
.insight-hero-social a:hover {
  background-color: #ede9e3;
  color: #101010;
  border-color: #ede9e3;
}

/* ==========================================================================
   Right Column (White Papers & Checklists Floating Resource Card)
   ========================================================================== */
.insight-hero-card-col {
  position: relative;
  width: 100%;
}

@media (min-width: 1024px) {
  .insight-hero-card-col {
    grid-column-start: 7;
    grid-column-end: span 6;
    width: 50vw;
    /* Explicit clamp matching Live React lg:-mt-4xl to prevent header menu overlap */
    margin-top: calc(clamp(3.0625rem, 1.922997rem + 4.861878vw, 5.8125rem) * -1) !important;
    z-index: 10;
  }
}

.insight-hero-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: clamp(1.5rem, 1.25rem + 1vw, 2.5rem);
  box-sizing: border-box;
}

/* Card Themes */
.insight-hero-card.natural,
.insight-hero-card.morae-theme-natural {
  background-color: #f5f2ef !important;
  color: #101010 !important;
}

.insight-hero-card.dark,
.insight-hero-card.morae-theme-dark {
  background-color: #101010 !important;
  color: #ffffff !important;
}

.insight-hero-card.light,
.insight-hero-card.morae-theme-light {
  background-color: #ffffff !important;
  color: #101010 !important;
  border: 1px solid #ede5de;
}

/* Card Image (Matching Live pt-xl px-base) */
.insight-hero-card-image {
  padding-top: clamp(1.75rem, 1.465124rem + 1.21547vw, 2.4375rem) !important;
  padding-left: clamp(1rem, 0.85rem + 0.5vw, 1.5rem) !important;
  padding-right: clamp(1rem, 0.85rem + 0.5vw, 1.5rem) !important;
}

.insight-hero-card-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Card Form Container */
.insight-hero-card-form-wrap {
  padding-left: clamp(1.5rem, 1.25rem + 1.5vw, 3.25rem);
  padding-right: clamp(1.5rem, 1.25rem + 1.5vw, 3.25rem);
  margin-top: 1.5rem;
}

/* Form Grid */
.insight-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 1rem;
  column-gap: var(--gutter, 1.5rem);
  list-style: none;
  margin: 0 0 1.25rem 0;
  padding: 0;
}

@media (min-width: 1280px) {
  .insight-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.insight-form-grid li.col-span-full {
  grid-column: 1 / -1;
}

/* Floating Input Styling */
.insight-form-field {
  position: relative;
  width: 100%;
}

.insight-form-field label {
  position: absolute;
  left: 1em;
  right: 2.6em;
  top: 1.1em;
  font-size: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
  color: #767676;
  pointer-events: none;
  transition: all 0.2s cubic-bezier(0, 0, 0.2, 1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  z-index: 2;
  margin: 0;
}

.insight-form-field .input-box {
  position: relative;
  background-color: #ffffff;
  box-sizing: border-box;
}

.insight-hero-card.natural .insight-form-field .input-box {
  background-color: #ffffff;
}

.insight-hero-card.dark .insight-form-field .input-box,
.insight-hero-video-action-col.dark .insight-form-field .input-box {
  background-color: #1a1a1a;
}

.insight-form-field input {
  width: 100%;
  height: 3.5em;
  padding: 1.375em 1em 0.5em 1em;
  background-color: transparent !important;
  border: 1px solid #ffffff !important;
  border-bottom: 2px solid #8c8c8c !important;
  font-size: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
  color: #262626;
  outline: none;
  box-sizing: border-box;
  border-radius: 0;
  transition: border-color 0.2s ease;
}

.insight-hero-card.dark .insight-form-field input,
.insight-hero-video-action-col.dark .insight-form-field input {
  border-color: #333333 !important;
  border-bottom-color: #555555 !important;
  color: #ffffff;
}

.insight-hero-card.dark .insight-form-field label,
.insight-hero-video-action-col.dark .insight-form-field label {
  color: #a0a0a0;
}

/* Focus and Floating Label States */
.insight-form-field:focus-within label,
.insight-form-field input:not(:placeholder-shown) ~ label,
.insight-form-field.is-filled label {
  top: 0.357em !important;
  font-size: 0.72rem !important;
  left: 1.15em !important;
  color: var(--primary-accessible, #e03100) !important;
  font-weight: 500 !important;
}

.insight-form-field input:focus {
  border-bottom-color: var(--primary-accessible, #e03100) !important;
}

.field-error {
  color: #e03100;
  font-size: 0.75rem;
  margin-top: 0.25rem;
  display: block;
}

/* Submit & Download Button */
.download-button,
.insight-btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 3.3533em;
  padding: 0 1em;
  background-color: var(--primary-accessible, #e03100);
  background-image: linear-gradient(to right, #ff3700, #e03100);
  color: #ffffff !important;
  font-weight: 500;
  font-size: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
  border: 1px solid var(--primary-accessible, #e03100);
  border-radius: 0;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none !important;
  box-sizing: border-box;
}

.download-button:hover,
.insight-btn-submit:hover {
  background-color: #b82800;
  background-image: none;
  border-color: #b82800;
  color: #ffffff !important;
}

.ajax-loader {
  border: 3px solid #f3f3f3;
  border-top: 3px solid var(--primary-accessible, #e03100);
  border-radius: 50%;
  width: 24px;
  height: 24px;
  animation: spin 1s linear infinite;
  display: inline-block;
  margin-top: 0.75rem;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ==========================================================================
   Article / Webinar Edge Media Wrap
   ========================================================================== */
.case-study-hero-media-wrap {
  background-color: #ede9e3;
  overflow: hidden !important;
  position: relative;
}

@media (max-width: 1023.98px) {
  .case-study-hero-media-wrap {
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    position: relative !important;
    margin-top: clamp(2rem, 1.5rem + 2vw, 3rem) !important;
    overflow: hidden !important;
  }
}

@media (min-width: 1024px) {
  .case-study-hero-media-wrap {
    width: 43.2639vw !important;
    position: absolute !important;
    right: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    height: 100% !important;
  }
}

.case-study-hero-media-wrap img,
.case-study-hero-image {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
}

/* ==========================================================================
   Video Hero Header Layout
   ========================================================================== */
.insight-hero-video-left {
  grid-column: span 1;
}

/* Hero Video Action Column (Form + Download above Social) */
.insight-hero-video-action-col {
  width: 100%;
  margin-top: 1.6em;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-left: var(--spacing-lg, clamp(1.5rem, 1.370511rem + 0.552486vw, 1.8125rem)) !important;
  box-sizing: border-box !important;
}

.insight-hero-video-action-col .insight-hero-video-form-wrap {
  width: 100%;
}

.insight-hero-video-action-col .insight-hero-social {
  grid-column: auto !important;
  display: flex !important;
  justify-content: flex-start !important;
  align-items: center !important;
  width: 100% !important;
  margin-top: 1.5rem !important;
  padding-left: 0 !important;
}

.insight-hero-video-action-col .insight-hero-social nav {
  width: 100%;
  display: flex;
  justify-content: flex-start;
}

@media (min-width: 1024px) {
  .insight-hero-video-left,
  .insight-hero-inner > .lg\:col-span-12 {
    grid-column: 1 / -1 !important;
    display: grid !important;
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
    grid-template-rows: auto 1fr !important;
    column-gap: var(--gutter, 1.5rem) !important;
  }

  .insight-hero-video-title-box,
  .insight-hero-inner .lg\:col-span-7 {
    grid-column: span 7 / span 7 !important;
  }

  .insight-hero-video-summary-box,
  .insight-hero-inner .lg\:col-span-12 .lg\:col-span-12 {
    grid-column: 1 / -1 !important;
  }

  .insight-hero-video-summary-box .insight-hero-summary-box {
    display: grid !important;
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
    column-gap: var(--gutter, 1.5rem) !important;
  }




  .insight-hero-video-summary-box .insight-hero-video-action-col {
    grid-column: 7 / span 6 !important;
    grid-row: 1 / span 2 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    width: 100% !important;
    margin-top: 0 !important;
    padding-left: 0 !important;
  }

  .insight-hero-video-action-col .insight-hero-social {
    grid-column: auto !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: flex-end !important;
    width: 100% !important;
    margin-top: 1.5rem !important;
    padding-left: 0 !important;
  }

  .insight-hero-video-action-col .insight-hero-social nav {
    width: 100%;
    display: flex;
    justify-content: flex-end;
  }

  .insight-hero-video-summary-box .insight-header {
    grid-column: span 6 / span 6 !important;
  }

  .insight-hero-video-summary-box .insight-hero-byline {
    grid-column: 1 / span 6 !important;
  }

  .insight-hero-video-summary-box .insight-hero-social {
    grid-column: 8 / span 5 !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: flex-end !important;
    margin-top: 1.6em !important;
  }
}

/* ==========================================================================
   Featured Video Section (Matching Live Next.js Design)
   ========================================================================== */
.insight-featured-video-wrapper {
  grid-column: content !important;
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  position: relative !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 0 !important;
}

.insight-featured-video-wrapper .video-responsive-wrap {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
  background-color: #000000;
}

.insight-featured-video-wrapper iframe {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
}

.insight-featured-video-wrapper .simple-block-video {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

.insight-featured-video-wrapper .simple-video-figcaption {
  display: none !important;
}

/* Featured Image Section Below Hero (Matching Video Layout) */
.insight-featured-image-wrapper {
  grid-column: content !important;
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  position: relative !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}

.insight-featured-image-wrapper img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

/* ==========================================================================
   Body Grid Layout (Cols 1-2: TOC/Authors, Cols 3-10: Content, Cols 11-12: Sidebar)
   ========================================================================== */
.case-study-body-grid {
  display: grid !important;
  grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
  row-gap: clamp(3rem, 2rem + 4vw, 6rem) !important;
  column-gap: var(--gutter, clamp(1.5rem, 1.25rem + 0.625vw, 1.6667vw)) !important;
  padding-top: clamp(3.0625rem, 1.923rem + 4.862vw, 5.8125rem) !important;
  padding-bottom: clamp(3.0625rem, 1.923rem + 4.862vw, 5.8125rem) !important;
  box-sizing: border-box !important;
  width: 100% !important;
}

@media (min-width: 768px) {
  .case-study-body-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
  }
}

.case-study-main-col {
  display: grid !important;
  grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
  column-gap: var(--gutter, clamp(1.5rem, 1.25rem + 0.625vw, 1.6667vw)) !important;
  grid-column: span 1 !important;
}

@media (min-width: 768px) {
  .case-study-main-col {
    grid-column: span 10 !important;
    grid-template-columns: repeat(10, minmax(0, 1fr)) !important;
  }
}

/* Left Column (Sticky TOC & Authors) */
.case-study-toc-col {
  position: relative !important;
  grid-column: span 1 !important;
}

@media (min-width: 768px) {
  .case-study-toc-col {
    grid-column: 1 / span 2 !important;
    grid-row-start: 1 !important;
  }

  .case-study-toc-sticky {
    /* position: sticky !important; */
    top: 0 !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
  }
}

/* Middle Content Column */
.case-study-content-col {
  grid-column: span 1 !important;
  display: grid !important;
  grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
  row-gap: var(--spacing-lg, clamp(1.5rem, 1.370511rem + 0.552486vw, 1.8125rem)) !important;
  align-content: start !important;
}

@media (min-width: 768px) {
  .case-study-content-col {
    grid-column: 3 / span 8 !important;
    grid-row-start: 1 !important;
    grid-template-columns: repeat(8, minmax(0, 1fr)) !important;
    column-gap: var(--gutter, clamp(1.5rem, 1.25rem + 0.625vw, 1.6667vw)) !important;
    align-content: start !important;
  }
}

.case-study-content-col > .case-study-prose-block,
.case-study-content-col > .case-study-quote-figure,
.case-study-content-col > .case-study-image-figure,
.case-study-content-col > .case-study-video-figure,
.case-study-content-col > .case-study-authors-contributors,
.case-study-content-col > .simple-block-actions {
  grid-column: 1 / -1 !important;
}

@media (min-width: 768px) {
  .case-study-content-col > .case-study-prose-block,
  .case-study-content-col > .case-study-quote-figure,
  .case-study-content-col > .case-study-image-figure,
  .case-study-content-col > .case-study-video-figure,
  .case-study-content-col > .case-study-authors-contributors,
  .case-study-content-col > .simple-block-actions {
    grid-column: 2 / span 6 !important;
  }

  /* WordPress ID Content Layout Overrides */
  .case-study-main-col.wp-id-main-full {
    grid-column: 1 / span 12 !important;
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
  }

  .case-study-content-col.wp-id-full-width {
    grid-column: 1 / span 12 !important;
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
  }

  .case-study-content-col.wp-id-start-left {
    grid-column: 1 / span 10 !important;
    grid-template-columns: repeat(10, minmax(0, 1fr)) !important;
  }

  .case-study-content-col.wp-id-extend-right {
    grid-column: 3 / span 10 !important;
    grid-template-columns: repeat(10, minmax(0, 1fr)) !important;
  }

  .case-study-content-col.wp-id-full-width > *,
  .case-study-content-col.wp-id-start-left > *,
  .case-study-content-col.wp-id-extend-right > * {
    grid-column: 1 / -1 !important;
  }
}

/* Right Sidebar (Related Solutions & More On This Topic) */
.case-study-sidebar-right {
  grid-column: span 1 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: clamp(2.5rem, 2rem + 2vw, 4rem) !important;
}

@media (min-width: 768px) {
  .case-study-sidebar-right {
    grid-column: 11 / span 2 !important;
    grid-row-start: 1 !important;
  }
}

/* ==========================================================================
   Downloadable Resource in Left Column (Figure & Download Now Button)
   ========================================================================== */
.case-study-download-resource {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  display: block !important;
}

.case-study-document-image-wrap {
  position: relative !important;
  aspect-ratio: 197 / 279 !important;
  width: 100% !important;
  overflow: hidden !important;
  background-color: #ede9e3;
}

.case-study-hero-document-image {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.case-study-download-resource figcaption {
  margin-top: var(--spacing-xs, clamp(0.875rem, 0.8491rem + 0.1105vw, 0.9375rem)) !important;
  width: 100% !important;
}

.case-study-hero-document-link {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 2.8798em !important;
  padding: 0 0.8639em !important;
  background-color: #e03100 !important;
  color: #ffffff !important;
  font-family: var(--morae-font, 'IBM Plex Sans', sans-serif) !important;
  font-size: clamp(0.78125rem, 0.75066rem + 0.130516vw, 0.868125rem) !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  text-decoration: none !important;
  border: 0.07199em solid #e03100 !important;
  border-radius: 0px !important;
  cursor: pointer !important;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
}

.case-study-hero-document-link:hover {
  background-color: #b82800 !important;
  border-color: #b82800 !important;
  color: #ffffff !important;
  text-decoration: none !important;
}

.case-study-download-resource + .case-study-authors-section {
  margin-top: var(--spacing-3xl, clamp(2rem, 1.5rem + 1.5vw, 3rem)) !important;
}

/* ==========================================================================
   Authors Section (Matching Live Morae Computed Scales & User Reference)
   ========================================================================== */
.case-study-authors-section {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  border-top: 1px solid #ede5de !important;
  padding-top: var(--spacing-xs, clamp(0.875rem, 0.8491rem + 0.1105vw, 0.9375rem)) !important;
  gap: clamp(1rem, 0.8rem + 0.5vw, 1.5rem) !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.case-study-authors-section h2 {
  font-family: var(--morae-font, 'IBM Plex Sans', sans-serif) !important;
  font-size: clamp(0.9375rem, 0.885704rem + 0.220994vw, 1.0625rem) !important;
  line-height: 1.5 !important;
  font-weight: 400 !important;
  color: #6e6e6e !important;
  text-align: center !important;
  margin: 0 !important;
  padding: 0 !important;
}

.case-study-authors-list {
  width: 100% !important;
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: clamp(1.25rem, 1rem + 0.5vw, 1.75rem) !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.case-study-authors-list li {
  width: 100% !important;
  flex-basis: 100% !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.case-study-author-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  width: 100% !important;
}

.author-avatar-wrap {
  position: relative !important;
  width: 88px !important;
  height: 88px !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: 9999px !important;
  overflow: hidden !important;
  border: 2px solid #ede5de !important;
  box-sizing: border-box !important;
  margin: 0 auto !important;
  background-color: #ede9e3;
  flex-shrink: 0 !important;
}

.author-avatar-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
  border-radius: 9999px !important;
}

.case-study-author-card a,
.case-study-author-link {
  text-decoration: none !important;
  color: inherit !important;
  display: block !important;
}

.case-study-author-card a:hover,
.case-study-author-link:hover {
  text-decoration: none !important;
}

.case-study-author-card h3,
.case-study-author-link h3 {
  font-size: clamp(0.9375rem, 0.9rem + 0.15vw, 1.04375rem) !important;
  line-height: 1.4 !important;
  font-weight: 500 !important;
  color: #262626 !important;
  margin: 0.5em 0 0 0 !important;
  text-align: center !important;
  text-decoration: none !important;
  transition: color 0.15s ease, text-decoration 0.15s ease !important;
}

.case-study-author-card p,
.case-study-author-link p {
  font-size: clamp(0.8125rem, 0.78rem + 0.1vw, 0.875rem) !important;
  line-height: 1.4 !important;
  color: #6e6e6e !important;
  margin: 0.2em 0 0 0 !important;
  text-align: center !important;
  text-decoration: none !important;
  transition: color 0.15s ease, text-decoration 0.15s ease !important;
}

.case-study-author-card a:hover h3,
.case-study-author-link:hover h3,
.case-study-author-card a:hover p,
.case-study-author-link:hover p {
  color: var(--primary, #ff3700) !important;
  text-decoration: underline !important;
}

.author-linkedin-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #6e6e6e !important;
  margin-top: 0.4em !important;
  transition: color 0.15s ease !important;
  text-decoration: none !important;
}

.author-linkedin-link:hover {
  color: var(--primary, #ff3700) !important;
}

.author-linkedin-link svg {
  width: 0.8em !important;
  height: 0.8em !important;
  fill: #a1a1a1 !important;
}

.case-study-hero-author-link {
  font-size: 0.75rem !important;
  color: #262626 !important;
  text-decoration: underline !important;
  text-underline-offset: 0.125em !important;
  margin-top: 0.25rem !important;
  transition: color 0.15s ease !important;
}

.case-study-hero-author-link:hover {
  color: var(--primary, #ff3700) !important;
}

/* ==========================================================================
   Right Sidebar Sections (Related Solutions & More On This Topic)
   ========================================================================== */
.case-study-sidebar-section {
  border-top: 1px solid #ede5de !important;
  padding-top: var(--spacing-xs, clamp(0.875rem, 0.8491rem + 0.1105vw, 0.9375rem)) !important;
  display: flex !important;
  flex-direction: column !important;
  box-sizing: border-box !important;
}

.case-study-sidebar-heading {
  font-family: var(--morae-font, 'IBM Plex Sans', sans-serif) !important;
  font-size: clamp(0.9375rem, 0.885704rem + 0.220994vw, 1.0625rem) ;
  line-height: 1.5 !important;
  font-weight: 500 !important;
  color: #6e6e6e !important;
  margin: 0 !important;
  padding: 0 !important;
}

.case-study-solutions-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.9em !important;
  margin-top: 0.9em !important;
  list-style: none !important;
  padding: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-bottom: 0 !important;
}

.case-study-solutions-list li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.case-study-solution-link {
  font-size: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem) ;
  line-height: 1.5 !important;
  color: #262626 !important;
  text-decoration: underline !important;
  text-underline-offset: 0.125em !important;
  text-decoration-color: #262626 !important;
  transition: all 0.15s ease !important;
}

.case-study-solution-link:hover {
  color: var(--primary, #ff3700) !important;
  text-decoration-color: var(--primary, #ff3700) !important;
}

/* ==========================================================================
   Podcast Sidebar Box (Speaking of Changing Legal)
   ========================================================================== */
.case-study-podcast-box {
  border-top: 0.1em solid var(--primary, #ff3700) !important;
  padding-top: var(--spacing-xs, clamp(0.875rem, 0.8491rem + 0.1105vw, 0.9375rem)) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: var(--spacing-xs, clamp(0.875rem, 0.8491rem + 0.1105vw, 0.9375rem)) !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.case-study-podcast-box h4 {
  font-family: var(--morae-font, 'IBM Plex Sans', sans-serif) !important;
  font-size: clamp(0.9375rem, 0.885704rem + 0.220994vw, 1.0625rem) !important;
  line-height: 1.5 !important;
  font-weight: 500 !important;
  color: #262626 !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
}

.case-study-podcast-box .aspect-square {
  aspect-ratio: 1 / 1 !important;
  width: 100% !important;
  border-radius: 0px !important;
  overflow: hidden !important;
  position: relative !important;
}

.case-study-podcast-artwork {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.case-study-podcast-box p {
  font-family: var(--morae-font, 'IBM Plex Sans', sans-serif) !important;
  font-size: clamp(0.8125rem, 0.78rem + 0.15vw, 0.875rem) !important;
  line-height: 1.5 !important;
  color: #262626 !important;
  margin: 0 !important;
}

.case-study-podcast-links {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.4em !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.case-study-podcast-links li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.case-study-podcast-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 2.2em !important;
  height: 2.2em !important;
  border-radius: 9999px !important;
  border: 1px solid #d9d4cc !important;
  color: #6e6e6e !important;
  transition: all 0.15s ease !important;
  text-decoration: none !important;
}

.case-study-podcast-link:hover {
  background-color: #f7f5f2 !important;
  color: var(--primary, #ff3700) !important;
  border-color: var(--primary, #ff3700) !important;
}

.case-study-podcast-link svg {
  width: 1.15em !important;
  height: 1.15em !important;
  fill: currentColor !important;
}

/* ==========================================================================
   Article Content Blocks & Prose Typography
   ========================================================================== */
.case-study-prose-block {
  font-family: var(--morae-font, 'IBM Plex Sans', sans-serif);
  color: #262626;
  font-size: clamp(1.125rem, 1.081rem + 0.1878vw, 1.25rem);
  line-height: 1.5;
}

.case-study-prose-block h2,
.case-study-prose-block h3,
.case-study-prose-block h4 {
  color: #262626 !important;
  font-weight: 500 !important;
  letter-spacing: 0em;
  margin-top: 0.5em !important;
  margin-bottom: 1em !important;
}

.case-study-prose-block h2 {
  font-size: clamp(1.5rem, 1.35rem + 0.75vw, 1.875rem) !important;
  line-height: 1.3 !important;
}

.case-study-prose-block h3 {
  font-size: clamp(1.375rem, 1.25rem + 0.625vw, 1.66875rem) !important;
  line-height: 1.4 !important;
}

.case-study-prose-block h4 {
  font-size: clamp(1.125rem, 1.05rem + 0.375vw, 1.3125rem) !important;
  line-height: 1.4 !important;
}

.case-study-prose-block p {
  font-size: inherit !important;
  line-height: 1.5 !important;
  color: #262626 !important;
  margin: 0 0 1.25em 0 !important;
}

.case-study-prose-block p:last-child {
  margin-bottom: 0 !important;
}

.case-study-prose-block ul {
  list-style-type: disc !important;
  padding-left: 1.5rem !important;
  margin: 0 0 1.25em 0 !important;
}

.case-study-prose-block ol {
  list-style-type: decimal !important;
  padding-left: 1.5rem !important;
  margin: 0 0 1.25em 0 !important;
}

.case-study-prose-block li {
  font-size: inherit !important;
  line-height: 1.5 !important;
  color: #262626 !important;
  margin-top: 0.5em !important;
  margin-bottom: 0 !important;
}

.case-study-prose-block strong {
  font-weight: 700 !important;
  color: #262626 ;
}
.link-color{
  color: #ff0000 !important;
}
.link-color strong{
  color: #ff0000 !important;
  text-decoration-color:#ff0000 !important ;
}
.link-color a {
  text-decoration-color: #ff0000 !important;
}
.case-study-prose-block a {
  color: #262626 ;
  text-decoration: underline !important;
  text-underline-offset: 0.125em !important;
  /* text-decoration-color: #262626 !important; */
  transition: all 0.15s ease !important;
}

.case-study-prose-block a:hover {
  color: var(--primary, #ff3700) !important;
  text-decoration-color: var(--primary, #ff3700) !important;
}

/* ==========================================================================
   Image Block in Body Content (.case-study-image-figure)
   ========================================================================== */
.case-study-image-figure {
  position: relative !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  aspect-ratio: auto !important;
  overflow: visible !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  margin-top: clamp(1.5rem, 3vw, 2.5rem) !important;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem) !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

.case-study-body-image,
.case-study-image-figure img {
  max-width: 100% !important;
  width: auto !important;
  height: auto !important;
  max-height: none !important;
  display: block !important;
  object-fit: contain !important;
  object-position: center center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  border-radius: 2px !important;
}

.case-study-image-caption {
  width: 100% !important;
  margin-top: 0.75rem !important;
  margin-bottom: 0 !important;
  font-family: var(--morae-font, 'IBM Plex Sans', sans-serif) !important;
  font-size: clamp(0.78125rem, 0.75066rem + 0.130516vw, 0.868125rem) !important;
  line-height: 1.4 !important;
  color: var(--foreground-muted, #737373) !important;
  text-align: center !important;
}

/* Author bio at the end of article */
.case-study-authors-contributors {
  margin-top: calc(var(--spacing-xl, clamp(2rem, 1.5rem + 1.5vw, 3rem)) - var(--spacing-lg, clamp(1.5rem, 1.370511rem + 0.552486vw, 1.8125rem))) !important;
  padding: 0 !important;
}

.case-study-authors-contributors hr {
  display: none !important;
}

.case-study-author-contributor {
  border-top: 1px solid #ede5de !important;
  padding-top: var(--spacing-xs, clamp(0.875rem, 0.8491rem + 0.1105vw, 0.9375rem)) !important;
}

.case-study-author-contributor-info {
  font-size: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem) !important;
  line-height: 1.5 !important;
  color: #6e6e6e !important;
}

.case-study-author-contributor-info p {
  margin: 0 !important;
  color: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
}

.case-study-author-contributor-info a {
  color: #6e6e6e !important;
  text-decoration: none !important;
  font-weight: inherit !important;
  transition: all 0.15s ease !important;
}

.case-study-author-contributor-info a:hover {
  color: var(--primary, #ff3700) !important;
  text-decoration: underline !important;
}

.case-study-author-contributor-info strong,
.case-study-author-contributor-info a strong {
  font-weight: 500 !important;
  color: #6e6e6e !important;
  transition: color 0.15s ease !important;
}

.case-study-author-contributor-info a:hover strong {
  color: var(--primary, #ff3700) !important;
}

/* ==========================================================================
   Strict 90rem Responsive CSS Scaling (>= 1440px / min-width: 90rem)
   Matches Live React 2xl Breakpoint
   ========================================================================== */
@media (min-width: 90rem), (min-width: 1440px) {
  .insight-single-wrapper.content-grid {
    --side-padding: 5.5556vw;
    --gutter: 1.6667vw;
    max-width: none;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .mt-base{
   padding-top: 1.5278vw;
  }
  .insight-single-wrapper.content-grid > .insight-hero-section {
    padding-top: 4.8611vw !important;
    padding-bottom: 4.8611vw !important;
  }

  .insight-hero-inner {
    column-gap: 1.6667vw !important;
  }

  .insight-hero-tag {
    font-size: 1.3889vw !important;
    line-height: 1.5 !important;
    margin: 0 !important;
  }

  .insight-hero-title {
    font-size: 3.28958vw !important;
    line-height: 1.3 !important;
    margin: 0 !important;
  }

  .insight-hero-summary-box {
    margin-top: 4.8611vw !important;
    border-left-width: 2px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .insight-hero-summary {
    font-size: 1.38899vw !important;
    line-height: 1.5 !important;
    padding-left: 2.0139vw !important;
  }

  .insight-hero-summary p {
    font-size: inherit !important;
    line-height: inherit !important;
  }

  .insight-hero-byline {
    margin-top: 2.0139vw !important;
    padding-left: 2.0139vw !important;
    font-size: 1.15972vw !important;
    line-height: 1.5 !important;
  }

  .insight-hero-social {
    padding-left: 2.0139vw !important;
    margin-top: 2.2222vw !important;
  }

  .insight-hero-video-summary-box .insight-hero-video-action-col {
    grid-column: 7 / span 6 !important;
    grid-row: 1 / span 2 !important;
  }

  .insight-hero-video-action-col .insight-hero-social {
    padding-left: 0 !important;
    margin-top: 1.5vw !important;
  }

  .insight-hero-card-col {
    margin-top: -6.4583vw !important;
    width: 50vw !important;
  }

  .insight-hero-card {
    padding-bottom: 2.2222vw !important;
  }

  .insight-hero-card-image {
    padding-top: 2.7083vw !important;
    padding-left: 1.5278vw !important;
    padding-right: 1.5278vw !important;
  }

  .insight-hero-card-form-wrap {
    padding-left: 3.6111vw !important;
    padding-right:3.6111vw !important;
    margin-top: 2.7083vw !important;
  }

  .insight-form-grid {
    column-gap: 1.6667vw !important;
    row-gap: 1.1111vw !important;
  }

  .insight-form-field label {
    font-size: 1.15972vw !important;
  }

  .insight-form-field input {
    font-size: 1.15972vw !important;
    height: 3.5em !important;
  }

  .download-button,
  .insight-btn-submit {
    font-size: 1.15972vw !important;
    height: 3.3533em !important;
  }

  .insight-featured-video-wrapper {
    aspect-ratio: 16 / 9 !important;
  }

  .case-study-body-grid {
    padding-top: 6.4583vw !important;
    padding-bottom: 6.4583vw !important;
    column-gap: 1.6667vw !important;
    row-gap: 4.8611vw !important;
  }

  .case-study-main-col {
    column-gap: 1.6667vw !important;
  }

  .case-study-content-col {
    column-gap: 1.6667vw !important;
    row-gap: 0vw !important;
    align-content: start !important;
  }

  .case-study-download-resource figcaption {
    margin-top: 1.0417vw !important;
  }

  .case-study-hero-document-link {
    font-size: clamp(0.868125rem, 0.96458vw, 1.25rem) !important;
  }

  .case-study-authors-contributors {
    margin-top: calc(2.7083vw - 2.2222vw) !important;
    padding: 2.7083vw !important;
    padding-left: 0px !important;
  }

  .case-study-author-contributor {
    padding-top: 1.0417vw !important;
  }

  .case-study-sidebar-right {
    gap: 3.5vw !important;
  }

  .case-study-authors-section {
    padding-top: 1.0417vw !important;
    gap: 1.3889vw !important;
  }

  .case-study-podcast-box {
    padding-top: 1.0417vw !important;
    gap: 1.0417vw !important;
  }

  .case-study-authors-section h2,
  .case-study-podcast-box h4,
  .case-study-sidebar-heading {
    font-size: 1.1111vw !important;
    line-height: 1.5 !important;
  }

  .author-avatar-wrap {
    width: 6.1111vw !important;
    height: 6.1111vw !important;
    border-width: 0.1389vw !important;
  }

  .case-study-author-card h3 {
    font-size: 1.1597vw !important;
    font-weight: 400 !important;
  }

  .case-study-author-card p {
    font-size: 0.9653vw !important;
  }

  .case-study-solution-link {
    font-size: 1.0417vw !important;
  }

  .case-study-prose-block {
    font-size: 1.3889vw !important;
  }

  .case-study-prose-block h2 {
    font-size:2.4680556vw !important;
    font-weight: 400 !important;
  }

  .case-study-prose-block h3 {
    font-size: 1.8542vw !important;
  }

  .case-study-prose-block h4 {
    font-size: 1.4583vw !important;
  }

  .case-study-author-contributor-info {
    font-size: 1.0417vw !important;
  }

  .case-study-hero-media-wrap {
    width: 43.2639vw !important;
  }
    .m__hero-insights p:first-child {
    font-size: 1.38899vw !important;
      line-height: 1.5 !important;
    }
}

/* ==========================================================================
   CTA Module Section (Matches Live React .m__subscribe.bg-darkgray)
   ========================================================================== */
.case-study-content-col > .morae-cta-module-section,
.morae-cta-module-section {
  grid-column: 1 / -1 !important;
  width: 100vw !important;
  position: relative !important;
  left: 50% !important;
  right: 50% !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  background-color: #252525 !important;
  color: #ffffff !important;
  box-sizing: border-box !important;
  margin-top: clamp(2.5rem, 2rem + 2vw, 4rem) !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

/* Fallback for non-centered content columns (e.g. wp-id-start-left or wp-id-extend-right) before dynamic JS alignment */
.case-study-content-col.wp-id-start-left > .morae-cta-module-section,
.case-study-content-col.wp-id-extend-right > .morae-cta-module-section {
  left: 0 !important;
  right: auto !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

.morae-cta-module-section .container {
  width: 100% !important;
  max-width: 1920px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
  padding-left: 32px !important;
  padding-right: 32px !important;
}

@media (max-width: 1023px) {
  .morae-cta-module-section .container {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}

@media (max-width: 639px) {
  .morae-cta-module-section .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

.morae-cta-module-section .text-purewhite {
  color: #ffffff !important;
  position: relative !important;
  padding-top: clamp(4rem, 3.25rem + 2.5vw, 6rem) !important;
  padding-bottom: clamp(4.5rem, 3.5rem + 3vw, 7rem) !important;
  width: 100% !important;
  box-sizing: border-box !important;
  z-index: 50 !important;
}

.morae-cta-module-section .text-wpThemeH2-D,
.morae-cta-module-section h3 {
  font-family: var(--morae-font, '__IBM_Plex_Sans_0ed695', 'IBM Plex Sans', sans-serif) !important;
  font-weight: 400 !important;
  color: #ffffff !important;
  margin-top: 1.25rem !important;
  margin-bottom: 1.25rem !important;
  font-size: clamp(1.625rem, 1.25rem + 1.25vw, 2.96167rem) !important;
  line-height: 1.4 !important;
  text-align: left !important;
}

@media (min-width: 1920px) {
  .morae-cta-module-section .text-wpThemeH2-D,
  .morae-cta-module-section h3 {
    font-size: 2.468vw !important;
    line-height: 1.4 !important;
  }
}

.morae-cta-module-section .text-wpThemeH4-D {
  color: #ffffff !important;
  max-width: 690px !important;
  font-family: var(--morae-font, '__IBM_Plex_Sans_0ed695', 'IBM Plex Sans', sans-serif) !important;
  font-weight: 500 !important;
  font-size: clamp(1.125rem, 1.05rem + 0.25vw, 1.25rem) !important;
  line-height: 1.5 !important;
  text-align: left !important;
}

@media (min-width: 1920px) {
  .morae-cta-module-section .text-wpThemeH4-D {
    font-size: 1.3889vw !important;
    line-height: 1.5 !important;
  }
}

.morae-cta-module-section .text-wpThemeH4-D p {
  color: #ffffff !important;
  margin: 0 !important;
  font-family: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
  font-weight: inherit !important;
}

.morae-cta-module-section a.simple-post-cta-btn,
.morae-cta-module-section .morae-btn-primary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  white-space: nowrap !important;
  position: relative !important;
  z-index: 0 !important;
  height: 3.3533em !important;
  padding: 0 1em !important;
  gap: 1.67665em !important;
  margin-top: 3.5rem !important;
  margin-bottom: 0 !important;
  font-family: var(--morae-font, '__IBM_Plex_Sans_0ed695', 'IBM Plex Sans', sans-serif) !important;
  font-size: clamp(0.9375rem, 0.9001rem + 0.1596vw, 1.04375rem) !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  color: #ffffff !important;
  background-color: #e03100 !important;
  border: 0.05988024em solid #e03100 !important;
  border-radius: 0 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  width: fit-content !important;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1) !important;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease !important;
}

@media (min-width: 1920px) {
  .morae-cta-module-section a.simple-post-cta-btn,
  .morae-cta-module-section .morae-btn-primary {
    font-size: 1.1597vw !important;
  }
}

.morae-cta-module-section a.simple-post-cta-btn::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background-image: linear-gradient(90deg, #e03100, #c32b00) !important;
  z-index: -10 !important;
  transition: opacity 0.15s ease !important;
  opacity: 1 !important;
}

.morae-cta-module-section a.simple-post-cta-btn:hover::before {
  opacity: 0 !important;
}

.morae-cta-module-section a.simple-post-cta-btn svg {
  width: 1em !important;
  height: 1em !important;
  fill: currentColor !important;
  display: inline-block !important;
  vertical-align: middle !important;
  flex-shrink: 0 !important;
}

/* CTA Image Wrap */
.morae-cta-module-section .morae-cta-image-wrap {
  position: absolute !important;
  right: 0 !important;
  bottom: 0 !important;
  top: 0 !important;
  height: 100% !important;
  z-index: 10 !important;
  pointer-events: none !important;
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
  overflow: hidden !important;
}

.morae-cta-module-section .morae-cta-image-wrap img {
  height: 100% !important;
  width: auto !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: right center !important;
  display: block !important;
}

@media (max-width: 639px) {
  .morae-cta-module-section .morae-cta-image-wrap {
    top: auto !important;
    bottom: -10rem !important;
    height: 100% !important;
    opacity: 0.5 !important;
  }
}

/* ==========================================================================
   WordPress Migrated Insight Hero Banner (.m__hero-insights)
   Matches Live Morae React / Next.js Design
   ========================================================================== */
.m__hero-insights-section {
  grid-column: full-width !important;
  width: 100% !important;
  background-color: #ffffff;
  color: #262626;
  position: relative;
  box-sizing: border-box;
}

.insight-single-wrapper.content-grid > .m__hero-insights-section,
.insight-single-wrapper.content-grid > .m__hero-insights,
.col-full-width,
.\!col-full-width {
  grid-column: full-width !important;
  width: 100% !important;
}

.m__hero-insights {
  position: relative;
  width: 100%;
  color: #262626;
  background-color: #ffffff;
  box-sizing: border-box;
}

.m__hero-insights .container,
.m__hero-insights-section .container,
.m__hero-insights .morae-container,
.m__hero-insights-section .morae-container,
.insight-hero-media-wrap .container,
.insight-hero-media-wrap .morae-container {
  width: 100% !important;
  max-width: 1920px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: var(--morae-side-padding) !important;
  padding-right: var(--morae-side-padding) !important;
  box-sizing: border-box !important;
  text-align: left !important;
}

.m__hero-insights .container,
.m__hero-insights .morae-container {
  padding-top: 5rem; /* pt-20 = 80px */
  padding-bottom: 2.5rem; /* pb-10 = 40px */
}

.insight-hero-media-wrap {
  width: 100%;
  position: relative;
  box-sizing: border-box;
}

.insight-hero-media-wrap .mx-auto.pb-4.w-full {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 1rem !important;
}

.insight-hero-media-wrap img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 0;
}

.m__hero-insights p:first-child {
  font-family: inherit;
  font-size: clamp(1.125rem, 1.081rem + 0.1878vw, 1.25rem);
  line-height: 1.5;
  font-weight: 400;
  color: #262626;
  margin: 0;
}

.m__hero-insights h2.sm\:text-wpThemeH2-D,
.m__hero-insights .sm\:text-wpThemeH2-D {
  font-family: inherit;
  font-size: clamp(1.625rem, 1.3660220994475138rem + 1.1049723756906076vw, 2.25rem);
  line-height: clamp(2.25rem, 1.8874309392265194rem + 1.5469613259668509vw, 3.125rem);
  font-weight: 400;
  color: #262626;
  max-width: 1000px;
  margin-top: 1.25rem !important; /* mt-5 = 20px */
  margin-bottom: 0;
}

@media (min-width: 1440px) {
  .m__hero-insights h2.sm\:text-wpThemeH2-D,
  .m__hero-insights .sm\:text-wpThemeH2-D {
    font-size: 2.4680556vw;
    line-height: 1.4;
  }
}

.m__hero-insights .cptDate {
  font-family: inherit;
  font-size: clamp(1.125rem, 1.081rem + 0.1878vw, 1.25rem);
  line-height: 1.5;
  font-weight: 400;
  color: #262626;
  margin-top: 1rem; /* mt-4 = 16px */
  margin-bottom: 0;
}

.m__hero-insights .cptDateRow {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-top: 1rem !important; /* mt-4 = 16px */
  width: 100% !important;
  box-sizing: border-box !important;
}

.m__hero-insights .cptDateRow .cptDate {
  font-family: inherit;
  font-size: clamp(1.125rem, 1.081rem + 0.1878vw, 1.25rem);
  line-height: 1.5;
  font-weight: 400;
  color: #262626;
  margin: 0 !important;
}

.m__hero-insights .cptDateRow .insight-hero-social {
  padding-left: 0 !important;
  margin-top: 0 !important;
  margin-left: auto !important;
}

.m__hero-insights .cptDateRow .insight-hero-social nav {
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
}

.m__hero-insights .cptDateRow .insight-hero-social ul {
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.m__hero-insights .cptDateRow .insight-hero-social a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 2.25em !important;
  height: 2.25em !important;
  border-radius: 9999px !important;
  border: 1px solid #d9d4cc !important;
  color: #6e6e6e !important;
  transition: all 0.15s ease !important;
  text-decoration: none !important;
  background-color: transparent !important;
}

.m__hero-insights .cptDateRow .insight-hero-social a svg {
  width: 1.1em !important;
  height: 1.1em !important;
  fill: currentColor !important;
}

.m__hero-insights .cptDateRow .insight-hero-social a:hover {
  background-color: #ede9e3 !important;
  color: #101010 !important;
  border-color: #ede9e3 !important;
}

.m__hero-insights .cptSolutions {
  display: flex !important;
  flex-direction: row !important;
  margin-top: 1rem !important; /* mt-4 = 16px */
  padding-top: 2rem !important; /* pt-8 = 32px */
}

.m__hero-insights .cptSolutions .lg\:pr-40 {
  padding-right: 2.5rem;
}

@media (min-width: 640px) {
  .m__hero-insights .cptSolutions .sm\:pr-20 {
    padding-right: 5rem;
  }
}

@media (min-width: 1024px) {
  .m__hero-insights .cptSolutions .lg\:pr-40 {
    padding-right: 10rem;
  }
}

.m__hero-insights .cptSolutions h4.lg\:text-wpThemeH4-D,
.m__hero-insights .cptSolutions .lg\:text-wpThemeH4-D {
  font-family: inherit;
  font-size: clamp(1.125rem, 1.0732044198895028rem + 0.22099447513812157vw, 1.25rem);
  line-height: clamp(1.6875rem, 1.6098066298342542rem + 0.3314917127071823vw, 1.875rem);
  font-weight: 500;
  color: #262626;
  margin: 0;
}

@media (min-width: 1024px) {
  .m__hero-insights .cptSolutions h4.lg\:text-wpThemeH4-D,
  .m__hero-insights .cptSolutions .lg\:text-wpThemeH4-D {
    font-size: 1.3889vw;
    line-height: 1.5;
  }
}

.m__hero-insights .cptSolutions .text-orange {
  color: rgb(255 105 0) !important;
  margin-top: 0.5rem !important; /* mt-2 = 8px */
}


