/* =========================================
   AIWD 2026 RESOURCE HUB - PAGE LAYOUT
   Hero: full width, existing grid background
   Library: gray sidebar + white content
========================================= */

.aiwd-resource-page {
  --aiwd-sidebar-width: 242px;
  --aiwd-content-padding: 2.5rem;
  --aiwd-header-offset: 100px;
  --aiwd-sidebar-bg: #f7f7f5;
  --aiwd-content-bg: #fff;
  --aiwd-divider: rgba(24, 23, 77, 0.14);
  width: 100%;
  min-width: 0;
}

.aiwd-resource-page,
.aiwd-resource-page *,
.aiwd-resource-page *::before,
.aiwd-resource-page *::after {
  box-sizing: border-box;
}

/* =========================================
   FULL-WIDTH HERO - GRID PATTERN PRESERVED
========================================= */

.aiwd-resource-hero-wrapper,
.aiwd-resource-hero-wrapper .section_aiwd-resources-hero {
  position: relative;
  width: 100%;
  min-width: 0;
  max-width: none;
}


.aiwd-resource-hero-wrapper .section_aiwd-resources-hero {
  border-bottom: 1px solid var(--aiwd-divider);
  
  /* Do not override background/background-image:
     the existing hero grid design is intentional. */
}

.aiwd-resource-hero-wrapper .section_aiwd-resources-hero .container-large {
  width: 100%;
  max-width: none;
}

.aiwd-resource-hero-wrapper .section_aiwd-resources-hero .padding-global {
  padding-left: calc(var(--aiwd-sidebar-width) + var(--aiwd-content-padding));
/*   padding-left:  var(--aiwd-content-padding)); */
  padding-right: var(--aiwd-content-padding);
}

.aiwd-resource-hero-wrapper .section_aiwd-resources-hero .padding-section-large {
  padding-top: 3rem;
/*   padding-bottom: 3rem; */
}
.aiwd-resource-layout-content {
    padding-bottom: 4rem;
}
/* Neutralize inherited multi-column layouts in hero only. */
.aiwd-resource-hero-wrapper .section_aiwd-resources-hero :is(.layout1_component, .header1_component) {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.aiwd-resource-hero-wrapper .section_aiwd-resources-hero :is(.layout1_content, .header1_content) {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.aiwd-resource-hero-wrapper .section_aiwd-resources-hero :is(.layout1_content-right, .header1_content-left) {
  grid-column: 1;
  grid-row: auto;
  width: 100%;
  min-width: 0;
  max-width: none;
  margin: 0;
  padding: 0;
}

.aiwd-resource-hero-wrapper .section_aiwd-resources-hero .layout1_component {
  margin-bottom: 1rem;
}

.aiwd-resource-hero-wrapper .section_aiwd-resources-hero :is(.aiwd-resources-hero-tag, .aiwd-resources-hero-title, .aiwd-resources-hero-description) {
  margin-left: 0;
}

.aiwd-resource-hero-wrapper .section_aiwd-resources-hero .aiwd-resources-hero-content {
  width: 100%;
  max-width: none;
  min-width: 0;
  margin-top: 0;
}

.aiwd-resource-hero-wrapper .section_aiwd-resources-hero .aiwd-resources-hero-description {
  max-width: 42rem;
}

/* =========================================
   TWO-COLUMN RESOURCE LIBRARY
========================================= */

.aiwd-resource-layout {
  display: grid;
  grid-template-columns: var(--aiwd-sidebar-width) minmax(0, 1fr);
  align-items: stretch;
  width: 100%;
  min-width: 0;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  background: var(--aiwd-content-bg);
  background-image: none;
}

/* Left: light-gray sidebar, no grid lines. */
.aiwd-resource-layout-sidebar {
  position: relative;
  width: 100%;
  min-width: 0;
  background: var(--aiwd-sidebar-bg);
  background-image: none;
  border-right: 1px solid var(--aiwd-divider);
}

.aiwd-resource-layout-sidebar .resource-hub-sidebar {
  position: sticky;
  top: var(--aiwd-header-offset);
  width: 100%;
  min-width: 0;
  max-height: calc(100dvh - var(--aiwd-header-offset));
  padding: 2rem 1.25rem;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--aiwd-sidebar-bg);
  background-image: none;
}

/* Right: plain white, no grid lines. */
.aiwd-resource-layout-content,
.aiwd-resource-sections {
  width: 100%;
  min-width: 0;
  max-width: none;
  background: var(--aiwd-content-bg);
  background-image: none !important;
}

.aiwd-resource-layout-content .container-large {
  width: 100%;
  min-width: 0;
  max-width: none;
}

.aiwd-resource-layout-content .padding-global {
  padding-left: var(--aiwd-content-padding);
  padding-right: var(--aiwd-content-padding);
}

/* Remove theme grid textures only inside the listing area. */
.aiwd-resource-layout-content :is(section, .padding-global, .container-large),
.aiwd-resource-layout-content::before,
.aiwd-resource-layout-content::after,
.aiwd-resource-sections::before,
.aiwd-resource-sections::after {
  background-image: none !important;
}

.aiwd-resource-sections > :is(.section_core-resources, .section_pioneer-stories, .section_certified-ai-workflows, .section_industry-insights) {
  width: 100%;
  min-width: 0;
  background-color: var(--aiwd-content-bg);
  background-image: none !important;
}

/* =========================================
   RESOURCE SECTION SPACING
========================================= */

.aiwd-resource-sections .section_core-resources :is(.padding-section-medium, .padding-section-large) {
  padding-top: 2.5rem;
  padding-bottom: 2rem;
}

.aiwd-resource-sections :is(.section_pioneer-stories, .section_certified-ai-workflows, .section_industry-insights) :is(.padding-section-medium, .padding-section-large) {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

#resource-library,
#Core-resources,
#Pioneer-stories,
#Certified-AI-Workflows,
#Industry-Insights {
  scroll-margin-top: calc(var(--aiwd-header-offset) + 1rem);
}

/* =========================================
   RESOURCE CARD GRIDS
   Don't disturb data-view="list".
========================================= */

.aiwd-resource-sections :is(.core-resources-grid, .pioneer-stories-grid) {
  width: 100%;
  min-width: 0;
}

.aiwd-resource-sections :is(.core-resources-grid, .pioneer-stories-grid):not([data-view="list"]) {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.25rem;
}

.aiwd-resource-sections :is(.core-resources-grid, .pioneer-stories-grid)[data-view="list"] {
  grid-template-columns: minmax(0, 1fr);
}

.aiwd-resource-sections :is(.core-resources-card, .pioneer-stories-card) {
  min-width: 0;
  max-width: 100%;
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 1270px) {
  .aiwd-resource-page {
    --aiwd-sidebar-width: 200px;
    --aiwd-content-padding: 1.5rem;
    --aiwd-header-offset: 85px;
  }

  .aiwd-resource-hero-wrapper .section_aiwd-resources-hero .padding-section-large {
    padding-top: 2.5rem;
/*     padding-bottom: 2.5rem; */
  }

  .aiwd-resource-layout-sidebar .resource-hub-sidebar {
    padding: 1.5rem 1rem;
  }

  .aiwd-resource-sections :is(.core-resources-grid, .pioneer-stories-grid):not([data-view="list"]) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* =========================================
   MOBILE - HERO, STICKY COLLAPSIBLE SIDEBAR,
   THEN RESOURCE CARDS
========================================= */

@media (max-width: 767px) {
  .aiwd-resource-page {
    --aiwd-content-padding: 1rem;
    --aiwd-header-offset: 76px;
  }

  .aiwd-resource-hero-wrapper .section_aiwd-resources-hero .padding-global {
    padding-left: var(--aiwd-content-padding);
    padding-right: var(--aiwd-content-padding);
  }

  .aiwd-resource-hero-wrapper .section_aiwd-resources-hero .padding-section-large {
    padding-top: 2rem;
/*     padding-bottom: 2rem; */
  }

  .aiwd-resource-layout {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .aiwd-resource-layout-sidebar {
    position: sticky;
    top: var(--aiwd-header-offset);
    z-index: 100;
    flex: 0 0 auto;
    align-self: stretch;
    border-right: 0;
    border-bottom: 1px solid var(--aiwd-divider);
  }

  .aiwd-resource-layout-sidebar .resource-hub-sidebar {
    position: relative;
    top: auto;
    max-height: none;
    padding: 0.75rem 1rem;
    overflow: visible;
  }

  .aiwd-resource-layout-sidebar .resource-hub-sidebar-toggle {
    display: flex;
  }

  .aiwd-resource-layout-sidebar .resource-hub-sidebar-panel {
    display: none;
  }

  .aiwd-resource-layout-sidebar .resource-hub-sidebar.is-open .resource-hub-sidebar-panel {
    display: block;
    max-height: calc(100dvh - var(--aiwd-header-offset) - 5rem);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .aiwd-resource-sections :is(.section_core-resources, .section_pioneer-stories, .section_certified-ai-workflows, .section_industry-insights) :is(.padding-section-medium, .padding-section-large) {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .aiwd-resource-sections :is(.core-resources-grid, .pioneer-stories-grid):not([data-view="list"]) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  #resource-library,
  #Core-resources,
  #Pioneer-stories,
  #Certified-AI-Workflows,
  #Industry-Insights {
    scroll-margin-top: calc(var(--aiwd-header-offset) + 5rem);
  }
}

@media (max-width: 380px) {
  .aiwd-resource-page {
    --aiwd-content-padding: 0.875rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .aiwd-resource-page *,
  .aiwd-resource-page *::before,
  .aiwd-resource-page *::after {
    scroll-behavior: auto;
  }
}


/* =========================================
   AIWD RESOURCE HUB
   GRID LINES ONLY ON HERO
========================================= */

/* White background for the library */

.aiwd-resource-page .aiwd-resource-layout,
.aiwd-resource-page .aiwd-resource-layout-content,
.aiwd-resource-page .aiwd-resource-sections,
.aiwd-resource-page .aiwd-resource-layout-content section {
  background-color: #fff !important;
  background-image: none !important;
  background: #fff !important;
}

/* Remove grid patterns from theme wrappers */

.aiwd-resource-page .aiwd-resource-layout-content
.padding-global,
.aiwd-resource-page .aiwd-resource-layout-content
.container-large,
.aiwd-resource-page .aiwd-resource-layout-content
.padding-section-large,
.aiwd-resource-page .aiwd-resource-layout-content
.padding-section-medium {
  background-image: none !important;
}

/* Remove background grid overlays */

.aiwd-resource-page .aiwd-resource-layout-content::before,
.aiwd-resource-page .aiwd-resource-layout-content::after,
.aiwd-resource-page .aiwd-resource-sections::before,
.aiwd-resource-page .aiwd-resource-sections::after,
.aiwd-resource-page .aiwd-resource-layout-content
section::before,
.aiwd-resource-page .aiwd-resource-layout-content
section::after {
  background-image: none !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}

/* Remove grid overlays added by theme utility classes */

.aiwd-resource-page .aiwd-resource-layout-content
[class*="grid-bg"]::before,
.aiwd-resource-page .aiwd-resource-layout-content
[class*="grid-bg"]::after,
.aiwd-resource-page .aiwd-resource-layout-content
[class*="bg-grid"]::before,
.aiwd-resource-page .aiwd-resource-layout-content
[class*="bg-grid"]::after {
  background: none !important;
  content: none !important;
}

/* Keep the sidebar light gray */

.aiwd-resource-page .aiwd-resource-layout-sidebar,
.aiwd-resource-page .aiwd-resource-layout-sidebar
.resource-hub-sidebar {
  background: #f7f7f5 !important;
  background-image: none !important;
}

/* Keep the Hero grid pattern.
   Do not override its background image. */

.aiwd-resource-page .aiwd-resource-hero-wrapper,
.aiwd-resource-page .aiwd-resource-hero-wrapper
.section_aiwd-resources-hero {
  background-color: #f7f7f5;
}


/* =========================================
   AIWD RESOURCE HUB - CARD REVEAL
========================================= */

/* Applies to all resource card modules */

.aiwd-resource-sections [data-resource-card] {
  --resource-card-delay: 0ms;
}

/* Only animate cards that JS marks as entering */

.aiwd-resource-sections [data-resource-card].is-card-entering {
  animation: aiwd-card-reveal 420ms cubic-bezier(
    0.22, 1, 0.36, 1
  ) both;

  animation-delay: var(--resource-card-delay);
}

@keyframes aiwd-card-reveal {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Loading progress line above the grid */

.aiwd-resource-sections [data-resource-grid-loading] {
  position: relative;
}

.aiwd-resource-sections [data-resource-grid-loading]::before {
  content: "";
  position: absolute;
  top: -0.5rem;
  left: 0;

  width: 35%;
  height: 2px;

  background: #4f4bff;
  border-radius: 100px;

  animation: aiwd-loading-line 750ms ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes aiwd-loading-line {
  from {
    left: 0;
    opacity: 0.4;
  }

  to {
    left: 65%;
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .aiwd-resource-sections [data-resource-card].is-card-entering {
    animation: none;
  }

  .aiwd-resource-sections [data-resource-grid-loading]::before {
    animation: none;
    display: none;
  }
}

/* =========================================
   RESOURCE CARD REVEAL ANIMATION
========================================= */

.aiwd-resource-sections
[data-resource-card].is-card-entering {
  animation: aiwd-card-reveal 420ms
    cubic-bezier(0.22, 1, 0.36, 1) both;

  animation-delay:
    var(--resource-card-delay, 0ms);
}


/* =========================================
   RESOURCE CARDS - SOFT FADE IN
========================================= */

.aiwd-resource-sections
[data-resource-card].is-card-entering {
  animation: aiwd-card-reveal 850ms
    cubic-bezier(0.22, 1, 0.36, 1) both;

  animation-delay:
    var(--resource-card-delay, 0ms);

  backface-visibility: hidden;
}

@keyframes aiwd-card-reveal {
  0% {
    opacity: 0;
    transform: translateY(6px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Respect reduced-motion settings */

@media (prefers-reduced-motion: reduce) {
  .aiwd-resource-sections
  [data-resource-card].is-card-entering {
    animation: none;
  }
}


/* =========================================
   HUBSPOT DND RESOURCE CONTENT FIX
========================================= */

/* Preserve two-column layout */

.aiwd-resource-page .aiwd-resource-layout {
  display: grid;
  grid-template-columns:
    var(--aiwd-sidebar-width)
    minmax(0, 1fr);

  align-items: stretch;
}

/* Keep sidebar visible */

.aiwd-resource-page
.aiwd-resource-layout-sidebar {
  display: block;
  min-width: 0;
  background-color: #f7f7f5;
}

/* Right content */

.aiwd-resource-page
.aiwd-resource-layout-content,
.aiwd-resource-page
.aiwd-resource-sections,
.aiwd-resource-page
.aiwd-resource-dnd-area {
  width: 100%;
  min-width: 0;
  max-width: none;

  background-color: #fff;
  background-image: none;
}

/* Reset HubSpot DND container width */

.aiwd-resource-page
.aiwd-resource-dnd-area .dnd-section {
  width: 100%;
  max-width: none;
  min-width: 0;

  margin-left: 0;
  margin-right: 0;

  padding: 0;

  background-color: #fff;
  background-image: none;
}

/* Let card listing modules fill content */

.aiwd-resource-page
.aiwd-resource-dnd-area .row-fluid {
  width: 100%;
  max-width: none;
  min-width: 0;
}

/* Avoid extra horizontal DND gutters */

.aiwd-resource-page
.aiwd-resource-dnd-area .dnd-column,
.aiwd-resource-page
.aiwd-resource-dnd-area .dnd-row {
  min-width: 0;
}

/* Do not remove the resource module's
   own card spacing and section padding */

/* =========================================
   DESKTOP SIDEBAR
========================================= */

@media screen and (min-width: 1025px) {

  .aiwd-resource-page
  .aiwd-resource-layout-sidebar
  .resource-hub-sidebar-panel {
    display: block !important;
  }

}

/* =========================================
   MOBILE
========================================= */

@media screen and (max-width: 767px) {

  .aiwd-resource-page .aiwd-resource-layout {
    display: flex;
    flex-direction: column;
  }

  .aiwd-resource-page
  .aiwd-resource-layout-sidebar {
    position: sticky;
    top: var(--aiwd-header-offset, 76px);
    z-index: 100;

    width: 100%;
    border-right: 0;
    border-bottom:
      1px solid rgba(24, 23, 77, 0.14);
  }

  .aiwd-resource-page
  .aiwd-resource-layout-content {
    width: 100%;
    min-width: 0;
  }

  .aiwd-resource-page
  .aiwd-resource-dnd-area .dnd-section {
    padding: 0;
  }

}

/* =========================================
   TABLET (768px-1024px) - STICKY COLLAPSIBLE SIDEBAR
   Same stacked pattern as mobile, keeps tablet card grid
========================================= */

$1
  .aiwd-resource-page .aiwd-resource-layout {
    display: flex;
    flex-direction: column;
  }

  .aiwd-resource-page .aiwd-resource-layout-sidebar {
    border-bottom: 1px solid rgba(24, 23, 77, 0.14);
    border-right: 0;
    position: sticky;
    top: var(--aiwd-header-offset, 85px);
    width: 100%;
    z-index: 100;
  }

  .aiwd-resource-page .aiwd-resource-layout-content {
    min-width: 0;
    width: 100%;
  }

  .aiwd-resource-page .aiwd-resource-dnd-area .dnd-section {
    padding: 0;
  }
.aiwd-resource-hero-wrapper .section_aiwd-resources-hero .padding-global {
    padding-left: var(--aiwd-content-padding);
    padding-right: var(--aiwd-content-padding);
  }

  .aiwd-resource-layout {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .aiwd-resource-layout-sidebar {
    position: sticky;
    top: var(--aiwd-header-offset);
    z-index: 100;
    flex: 0 0 auto;
    align-self: stretch;
    border-right: 0;
    border-bottom: 1px solid var(--aiwd-divider);
  }

  .aiwd-resource-layout-sidebar .resource-hub-sidebar {
    position: relative;
    top: auto;
    max-height: none;
    padding: 0.75rem 1.5rem;
    overflow: visible;
  }

  .aiwd-resource-layout-sidebar .resource-hub-sidebar-toggle {
    display: flex;
  }

  .aiwd-resource-layout-sidebar .resource-hub-sidebar-panel {
    display: none;
  }

  .aiwd-resource-layout-sidebar .resource-hub-sidebar.is-open .resource-hub-sidebar-panel {
    display: block;
    max-height: calc(100dvh - var(--aiwd-header-offset) - 5rem);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  #resource-library,
  #Core-resources,
  #Pioneer-stories,
  #Certified-AI-Workflows,
  #Industry-Insights {
    scroll-margin-top: calc(var(--aiwd-header-offset) + 5rem);
  }

}

/* =========================================
   SHARED UNLOCK POPUP (card listing groups)
========================================= */

.aiwd-resource-page .core-resources-card-link[data-aiwd-resource-link]:not([href]) {
  cursor: pointer;
}

body.aiwd-unlock-open {
  overflow: hidden;
}

.aiwd-unlock-modal[hidden] {
  display: none !important;
}

.aiwd-unlock-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483600; /* above the fixed site header */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: rgba(24, 23, 77, 0.45);
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.aiwd-unlock-modal.is-open {
  opacity: 1;
}

.aiwd-unlock-modal__dialog {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: 540px;
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 2.5rem 2rem 2rem;
  overflow-y: auto;
  overflow-x: hidden;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 24px 64px rgba(24, 23, 77, 0.25);
  color: #18174d;
  transform: translateY(12px);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.aiwd-unlock-modal.is-open .aiwd-unlock-modal__dialog {
  transform: translateY(0);
  opacity: 1;
}

.aiwd-unlock-modal__dialog:focus {
  outline: none;
}

.aiwd-unlock-modal__close {
  position: absolute;
  top: 0.875rem;
  right: 0.875rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.aiwd-unlock-modal__close:hover {
  background: rgba(24, 23, 77, 0.08);
}

.aiwd-unlock-modal__close:focus-visible {
  outline: 2px solid #4f4bff;
  outline-offset: 2px;
}

.aiwd-unlock-modal__title {
  margin: 0 0 0.75rem;
  text-align: center;
}

.aiwd-unlock-modal__gradient {
  background: linear-gradient(90deg, #5b3df5 0%, #e0409a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.aiwd-unlock-modal__text {
  margin: 0 0 1.5rem;
  text-align: center;
}

/* HubSpot form inside the popup */

.aiwd-unlock-modal__form form {
  margin: 0;
}

.aiwd-unlock-modal__form fieldset {
  max-width: none !important;
  margin: 0;
  padding: 0;
  border: 0;
}

.aiwd-unlock-modal__form .hs-form-field {
  margin: 0 0 0.75rem;
}

.aiwd-unlock-modal__form .hs-form-field > label:not(.hs-error-msg) {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.aiwd-unlock-modal__form .input {
  margin: 0 !important;
}

.aiwd-unlock-modal__form .hs-input:not([type="checkbox"]):not([type="radio"]) {
  box-sizing: border-box;
  width: 100% !important;
  min-height: 3rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(24, 23, 77, 0.18);
  border-radius: 0.625rem;
  background: #fff;
  font-family: inherit;
  font-size: 1rem;
  color: #18174d;
}

.aiwd-unlock-modal__form .hs-input:focus {
  outline: none;
  border-color: #4b3ef0;
  box-shadow: 0 0 0 3px rgba(75, 62, 240, 0.18);
}

.aiwd-unlock-modal__form .hs-error-msgs {
  margin: 0.375rem 0 0;
  padding: 0;
  list-style: none;
  display: none;
}

.aiwd-unlock-modal__form .hs-error-msg {
  font-size: 0.8125rem;
  color: #c0262d;
}

.aiwd-unlock-modal__form .hs_submit .actions {
  margin: 1.25rem 0 0;
  padding: 0;
}

.aiwd-unlock-modal__form .hs-button {
  display: block;
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 1.5rem;
  border: 0;
  border-radius: 0.625rem;
  background: #4b3ef0;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
}

.aiwd-unlock-modal__form .hs-button:hover {
  background: #3a2fd0;
}

.aiwd-unlock-modal__form .hs-button:focus-visible {
  outline: 2px solid #4f4bff;
  outline-offset: 3px;
}

.aiwd-unlock-modal__form .submitted-message {
  text-align: center;
}

@media screen and (max-width: 480px) {

  .aiwd-unlock-modal__dialog {
    padding: 2.25rem 1.25rem 1.5rem;
  }

}

@media (prefers-reduced-motion: reduce) {

  .aiwd-unlock-modal,
  .aiwd-unlock-modal__dialog {
    transition: none;
    transform: none;
  }

}