/* ===== Brand tokens (from Theme Settings) ===== */
:root {
  --aa-red: #fe1449;
  --aa-low-blue: #456df1;
  --aa-mid-blue: #06065c;
  --aa-black: #161616;
  --aa-light-grey: #f0f0f0;
  --aa-jet-silver: #dcdcdc;
  --aa-dark-grey: #8e8e93;
  --aa-white: #ffffff;
  --aa-font: 'Figtree', Arial, sans-serif;
  --aa-container: 1320px;
  --aa-gutter: 60px;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--aa-font);
  font-size: 16px;
  line-height: 1.4;
  color: var(--aa-black);
  background: var(--aa-white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--aa-low-blue); }
p { margin: 0 0 1em; }

/* ===== HubSpot drag-and-drop reset ===== */
.dnd-section { padding: 0 !important; }
.dnd-section > .row-fluid { max-width: none; }
.row-fluid { width: 100%; }

/* ===== Layout ===== */
.aa-container {
  width: 100%;
  max-width: calc(var(--aa-container) + (var(--aa-gutter) * 2));
  margin: 0 auto;
  padding: 0 var(--aa-gutter);
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 { margin: 0 0 0.5em; font-family: var(--aa-font); }
.aa-h1, h1 { font-size: 60px; font-weight: 300; line-height: 1; letter-spacing: -0.6px; }
.aa-h2, h2 { font-size: 40px; font-weight: 300; line-height: 1.1; }
.aa-h3, h3 { font-size: 30px; font-weight: 400; line-height: 1.1; letter-spacing: -0.3px; }
.aa-h4, h4 { font-size: 22px; font-weight: 400; line-height: 1.2; letter-spacing: -0.22px; }
.aa-h5, h5 { font-size: 13px; font-weight: 700; line-height: 1.3; letter-spacing: 1.04px; text-transform: uppercase; }
.aa-small { font-size: 14px; }
.aa-blue { color: var(--aa-low-blue); }
.aa-grey { color: var(--aa-dark-grey); }

/* ===== Buttons ===== */
.aa-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px 12px 34px;
  border: 0;
  border-radius: 100px;
  background: var(--aa-red);
  color: var(--aa-white);
  font-family: var(--aa-font);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: opacity .2s ease;
}
.aa-btn:hover, .aa-btn:focus { opacity: .85; color: var(--aa-white); }
.aa-btn svg { width: 18px; height: 18px; }

/* ===== Tablet ===== */
@media (max-width: 1024px) {
  :root { --aa-gutter: 32px; }
  .aa-h1, h1 { font-size: 48px; }
  .aa-h2, h2 { font-size: 34px; }
  .aa-h3, h3 { font-size: 26px; }
}

/* ===== Mobile ===== */
@media (max-width: 767px) {
  :root { --aa-gutter: 20px; }
  .aa-h1, h1 { font-size: 38px; }
  .aa-h2, h2 { font-size: 28px; }
  .aa-h3, h3 { font-size: 22px; }
  .aa-h4, h4 { font-size: 19px; }
}

/* =========================================================
   PAGE SECTIONS (rich text blocks)
   ========================================================= */
.hs_cos_wrapper_type_rich_text { display: block; }
.aa-section { padding: 0 var(--aa-gutter); }
.aa-wrap { max-width: 1320px; margin: 0 auto; }

.aa-eyebrow { margin: 0 0 20px; font-size: 13px; font-weight: 700; line-height: 1.3; letter-spacing: 1.04px; text-transform: uppercase; color: var(--aa-black); }

/* ----- Intro ----- */
.aa-intro { text-align: center; }
.aa-intro__title { margin: 0 0 20px; font-size: 60px; font-weight: 300; line-height: 1; letter-spacing: -0.6px; color: var(--aa-low-blue); }
.aa-intro__text { max-width: 874px; margin: 0 auto 26px; }
.aa-intro__text p { margin: 0 0 22px; }
.aa-intro__text p:last-child { margin-bottom: 0; }
.aa-video { position: relative; max-width: 924px; margin: 0 auto; aspect-ratio: 924 / 499; border-radius: 20px; overflow: hidden; background: #000; }
.aa-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.aa-statement { max-width: 822px; margin: 52px auto 0; font-size: 40px; font-weight: 300; line-height: 1.1; color: var(--aa-dark-grey); text-align: center; }
.aa-arrow-down { display: block; width: 25px; height: 25px; margin: 39px auto 38px; color: var(--aa-black); }

/* ----- Form card top (blue bar + grey panel) ----- */
.aa-formcard { max-width: 924px; margin: 0 auto; background: var(--aa-low-blue); border: 1px solid rgba(255,255,255,.5); border-bottom: 0; border-radius: 20px 20px 0 0; }
.aa-formcard__bar { display: flex; align-items: center; justify-content: space-between; padding: 18px 27px 16px; color: #fff; }
.aa-formcard__label { font-size: 13px; font-weight: 700; letter-spacing: 1.04px; text-transform: uppercase; }
.aa-formcard__bar svg { width: 22px; height: 22px; }
.aa-formcard__body { padding: 32px 48px 8px; background: var(--aa-light-grey); border-radius: 20px 20px 0 0; }
.aa-formcard__title { margin: 0 0 10px; font-size: 40px; font-weight: 300; line-height: 1.1; color: var(--aa-black); }
.aa-formcard__body p { margin: 0; }

/* Form module directly after a form card becomes the card's grey body */
.dnd-section:has(.aa-formcard) + .dnd-section .hs_cos_wrapper_type_form,
.row-fluid-wrapper:has(.aa-formcard) + .row-fluid-wrapper .hs_cos_wrapper_type_form {
  display: block; max-width: 924px; margin: 0 auto; padding: 16px 48px 48px;
  background: var(--aa-light-grey); border-radius: 0 0 20px 20px;
}
.dnd-section:has(.aa-formcard) + .dnd-section,
.row-fluid-wrapper:has(.aa-formcard) + .row-fluid-wrapper { padding: 0 var(--aa-gutter) !important; }

/* ----- HubSpot form fields (legacy + new forms) ----- */
.hs_cos_wrapper_type_form { display: block; font-family: var(--aa-font); }
.hs_cos_wrapper_type_form fieldset { max-width: none !important; }
.hs_cos_wrapper_type_form .hs-form-field,
.hs_cos_wrapper_type_form .hsfc-Field { margin-bottom: 16px; }
.hs_cos_wrapper_type_form label,
.hs_cos_wrapper_type_form .hsfc-FieldLabel { display: block; margin-bottom: 8px; font-size: 16px; font-weight: 600; color: var(--aa-black); }
.hs_cos_wrapper_type_form .hs-form-required,
.hs_cos_wrapper_type_form .hsfc-FieldLabel__RequiredIndicator { color: var(--aa-red); }
.hs_cos_wrapper_type_form .input { margin-right: 0 !important; }
.hs_cos_wrapper_type_form input[type="text"],
.hs_cos_wrapper_type_form input[type="email"],
.hs_cos_wrapper_type_form input[type="tel"],
.hs_cos_wrapper_type_form input[type="number"],
.hs_cos_wrapper_type_form input[type="date"],
.hs_cos_wrapper_type_form select,
.hs_cos_wrapper_type_form textarea,
.hs_cos_wrapper_type_form .hsfc-TextInput,
.hs_cos_wrapper_type_form .hsfc-DropdownInput input,
.hs_cos_wrapper_type_form .hsfc-TextareaInput {
  width: 100% !important; height: 48px; padding: 13px 16px;
  font-family: var(--aa-font); font-size: 16px; color: var(--aa-black);
  background: #fff; border: 1px solid var(--aa-low-blue); border-radius: 10px;
  box-shadow: none; outline: none; -webkit-appearance: none; appearance: none;
}
.hs_cos_wrapper_type_form textarea,
.hs_cos_wrapper_type_form .hsfc-TextareaInput { height: 120px; resize: vertical; }
.hs_cos_wrapper_type_form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23161616' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px;
}
.hs_cos_wrapper_type_form input:focus,
.hs_cos_wrapper_type_form select:focus,
.hs_cos_wrapper_type_form textarea:focus { border-width: 2px; box-shadow: 0 0 0 3px rgba(69,109,241,.2); }
.hs_cos_wrapper_type_form ::placeholder { color: rgba(22,22,22,.5); }
.hs_cos_wrapper_type_form .form-columns-2 { display: flex; gap: 28px; }
.hs_cos_wrapper_type_form .form-columns-2 .hs-form-field { flex: 1; width: auto !important; float: none !important; }
.hs_cos_wrapper_type_form .inputs-list { list-style: none; margin: 0; padding: 0; }
.hs_cos_wrapper_type_form input[type="checkbox"],
.hs_cos_wrapper_type_form input[type="radio"] { width: 20px; height: 20px; margin: 0 10px 0 0; vertical-align: middle; accent-color: var(--aa-low-blue); }
.hs_cos_wrapper_type_form .hs-form-booleancheckbox-display,
.hs_cos_wrapper_type_form .hs-form-checkbox-display { display: flex; align-items: flex-start; font-weight: 600; }
.hs_cos_wrapper_type_form .legal-consent-container,
.hs_cos_wrapper_type_form .hs-richtext,
.hs_cos_wrapper_type_form .hsfc-RichText { font-size: 16px; line-height: 1.4; font-weight: 400; color: var(--aa-black); }
.hs_cos_wrapper_type_form .hs-error-msgs { list-style: none; margin: 6px 0 0; padding: 0; }
.hs_cos_wrapper_type_form .hs-error-msg { font-size: 14px; font-weight: 400; color: var(--aa-red); }
.hs_cos_wrapper_type_form .hs-button,
.hs_cos_wrapper_type_form input[type="submit"],
.hs_cos_wrapper_type_form .hsfc-Button {
  min-width: 248px; margin-top: 12px; padding: 13px 34px;
  font-family: var(--aa-font); font-size: 16px; font-weight: 500; color: #fff !important;
  background: var(--aa-red) !important; border: 0 !important; border-radius: 100px !important;
  cursor: pointer; transition: opacity .2s ease;
}
.hs_cos_wrapper_type_form .hs-button:hover,
.hs_cos_wrapper_type_form .hsfc-Button:hover { opacity: .85; }

/* ----- Course info ----- */
.aa-course { margin: 35px auto 0; text-align: center; }
.aa-course__title { margin: 0 0 35px; font-size: 40px; font-weight: 300; line-height: 1.1; color: var(--aa-dark-grey); }
.aa-course__text { max-width: 874px; margin: 0 auto 35px; }
.aa-course__text p { margin: 0 0 22px; }
.aa-course__text p:last-child { margin-bottom: 0; }

/* ----- Cards ----- */
.aa-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1320px; margin: 0 auto; }
.aa-card { display: flex; flex-direction: column; justify-content: space-between; min-height: 183px; padding: 20px 28px 22px; color: var(--aa-black); text-decoration: none; background: var(--aa-jet-silver); border: 1px solid #fff; border-radius: 10px; }
.aa-card--blue { color: #fff; background: var(--aa-low-blue); border-color: rgba(255,255,255,.5); }
.aa-card__icon { width: auto; height: 58px; }
.aa-card__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-top: 14px; }
.aa-card__title { margin: 0; max-width: 340px; font-size: 30px; font-weight: 400; line-height: 1.1; letter-spacing: -0.3px; }
.aa-card__foot svg { flex-shrink: 0; width: 24px; height: 24px; margin-bottom: 6px; }

/* ----- Next steps ----- */
.aa-steps { margin-top: 40px; padding: 49px var(--aa-gutter) 68px; background: var(--aa-light-grey); }
.aa-steps__title { margin: 0 0 34px; font-size: 60px; font-weight: 300; line-height: 1; letter-spacing: -0.6px; }
.aa-steps__sub { margin: 0; }
.aa-steps__grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 22px; row-gap: 64px; margin-top: 65px; }
.aa-step__title { margin: 0; padding-bottom: 14px; font-size: 22px; font-weight: 400; line-height: 1.2; letter-spacing: -0.22px; border-bottom: 1px solid var(--aa-red); }
.aa-step p { margin: 24px 0 0; }
.aa-step a { color: var(--aa-low-blue); }

/* ----- Testimonials ----- */
.aa-testi { display: flex; margin-top: 40px; padding-left: max(var(--aa-gutter), calc((100% - 1320px) / 2)); }
.aa-testi__intro { display: flex; flex: 0 0 497px; flex-direction: column; padding-top: 48px; }
.aa-testi__title { margin: 0; max-width: 430px; font-size: 60px; font-weight: 300; line-height: 1; letter-spacing: -0.6px; }
.aa-testi__nav { display: flex; gap: 12px; margin-top: auto; }
.aa-testi__nav button { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 38px; padding: 0; color: var(--aa-black); background: var(--aa-jet-silver); border: 0; border-radius: 100px; cursor: pointer; }
.aa-testi__nav button:hover { background: #cfcfcf; }
.aa-testi__nav svg { width: 22px; height: 22px; }
.aa-testi__track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding-right: var(--aa-gutter); }
.aa-testi__track::-webkit-scrollbar { display: none; }
.aa-tcard { display: flex; flex: 0 0 426px; flex-direction: column; min-height: 490px; padding: 50px 40px 40px; color: #fff; text-transform: uppercase; background: var(--aa-low-blue); border: 1px solid rgba(255,255,255,.5); border-radius: 20px; scroll-snap-align: start; }
.aa-tcard__title { min-height: 132px; margin: 0 0 20px; font-size: 30px; font-weight: 400; line-height: 1.1; letter-spacing: -0.3px; }
.aa-tcard__quote { margin: 0; font-size: 16px; line-height: 1.4; }
.aa-tcard__name { margin: auto 0 0; padding-top: 24px; font-size: 13px; font-weight: 700; letter-spacing: 1.04px; }

/* ----- FAQ ----- */
.aa-faq { max-width: 1320px; margin: 112px auto 0; }
.aa-faq__title { margin: 0 0 40px; font-size: 40px; font-weight: 300; line-height: 1.1; color: var(--aa-dark-grey); }
.aa-faq details { margin-bottom: 12px; background: var(--aa-light-grey); border-radius: 10px; }
.aa-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 92px; padding: 16px 22px 16px 28px; font-size: 22px; line-height: 1.2; letter-spacing: -0.22px; color: #000; list-style: none; cursor: pointer; }
.aa-faq summary::-webkit-details-marker { display: none; }
.aa-faq summary svg { flex-shrink: 0; width: 24px; height: 24px; transition: transform .2s ease; }
.aa-faq details[open] summary svg { transform: rotate(45deg); }
.aa-faq__a { max-width: 1100px; padding: 0 28px 28px; }
.aa-faq__a p { margin: 0; }

/* ----- Ticker ----- */
.aa-ticker { margin: 79px 0 40px; overflow: hidden; white-space: nowrap; }
.aa-ticker__track { display: inline-flex; gap: 80px; animation: aa-marquee 30s linear infinite; }
.aa-ticker__track span { font-size: 120px; font-weight: 600; line-height: 1; letter-spacing: 2.4px; text-transform: uppercase; color: var(--aa-jet-silver); opacity: .75; }
@keyframes aa-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .aa-ticker__track { animation: none; } }

/* ----- Tablet ----- */
@media (max-width: 1024px) {
  .aa-intro__title, .aa-steps__title, .aa-testi__title { font-size: 48px; }
  .aa-statement, .aa-course__title, .aa-faq__title, .aa-formcard__title { font-size: 32px; }
  .aa-cards { grid-template-columns: repeat(2, 1fr); }
  .aa-card__title { font-size: 26px; }
  .aa-testi { flex-direction: column; gap: 32px; }
  .aa-testi__intro { flex: none; padding-top: 0; padding-right: var(--aa-gutter); }
  .aa-testi__nav { margin-top: 24px; }
  .aa-faq { margin-top: 80px; }
  .aa-ticker__track span { font-size: 88px; }
}

/* ----- Mobile ----- */
@media (max-width: 767px) {
  .aa-intro__title, .aa-steps__title, .aa-testi__title { font-size: 36px; }
  .aa-statement, .aa-course__title, .aa-faq__title, .aa-formcard__title { font-size: 28px; }
  .aa-video { border-radius: 12px; }
  .aa-formcard__bar { padding: 16px 20px; }
  .aa-formcard__body { padding: 24px 20px 8px; }
  .dnd-section:has(.aa-formcard) + .dnd-section .hs_cos_wrapper_type_form,
  .row-fluid-wrapper:has(.aa-formcard) + .row-fluid-wrapper .hs_cos_wrapper_type_form { padding: 12px 20px 32px; }
  .hs_cos_wrapper_type_form .form-columns-2 { flex-direction: column; gap: 0; }
  .hs_cos_wrapper_type_form .hs-button,
  .hs_cos_wrapper_type_form .hsfc-Button { width: 100%; min-width: 0; }
  .aa-cards { grid-template-columns: 1fr; }
  .aa-card { min-height: 150px; }
  .aa-card__title { font-size: 24px; }
  .aa-steps { padding: 40px var(--aa-gutter) 48px; }
  .aa-steps__title { margin-bottom: 16px; }
  .aa-steps__grid { grid-template-columns: 1fr; row-gap: 36px; margin-top: 36px; }
  .aa-tcard { flex-basis: 85%; min-height: 420px; padding: 36px 28px 28px; }
  .aa-tcard__title { min-height: 0; font-size: 24px; }
  .aa-faq summary { min-height: 72px; padding: 14px 18px 14px 20px; font-size: 18px; }
  .aa-faq__a { padding: 0 20px 20px; }
  .aa-ticker { margin-top: 56px; }
  .aa-ticker__track span { font-size: 56px; }
}

/* ----- Video fix: override HubSpot's embed wrapper ----- */
.aa-video { aspect-ratio: 16 / 9; }
.aa-video .hs-responsive-embed-wrapper,
.aa-video .hs-responsive-embed-inner-wrapper,
.aa-video .hs-embed-wrapper,
.aa-video .hs-embed-content-wrapper,
.aa-video .hs-responsive-embed,
.aa-video p {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.aa-video iframe {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
}

/* ----- Form card fix: blue only on the top bar ----- */
.aa-formcard { background: transparent; border: 0; }
.aa-formcard__bar {
  position: relative;
  z-index: 0;
  margin-bottom: -20px;
  padding-bottom: 36px;
  background: var(--aa-low-blue);
  border-radius: 20px 20px 0 0;
}
.aa-formcard__body { position: relative; z-index: 1; }

/* ----- Hero heading: keep clear of the photo on mobile ----- */
@media (max-width: 767px) {
  .aa-hero .aa-hero__heading {
    top: 96px;
    max-width: 170px;
    font-size: 38px;
  }
}

/* ----- Card fix: natural icon size, left-aligned text ----- */
.aa-cards { text-align: left; }
.aa-card__icon {
  align-self: flex-start;
  width: auto !important;
  height: 58px !important;
  max-width: none;
}

/* ----- Video edge fix: remove faint black border ----- */
.aa-video {
  background: transparent;
  isolation: isolate;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}
.aa-video iframe {
  inset: -1px !important;
  width: calc(100% + 2px) !important;
  height: calc(100% + 2px) !important;
}

/* =========================================================
   BVLOS ADDITIONS
   ========================================================= */

/* ----- Available intakes panel (Wisenet embed) ----- */
.aa-panel { max-width: 924px; margin: 0 auto; }
.aa-panel__bar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: -20px; padding: 18px 27px 36px;
  color: #fff; background: var(--aa-low-blue); border-radius: 20px 20px 0 0;
}
.aa-panel__label { font-size: 13px; font-weight: 700; letter-spacing: 1.04px; text-transform: uppercase; }
.aa-panel__bar svg { width: 22px; height: 22px; }
.aa-panel__body { position: relative; z-index: 1; overflow: hidden; background: var(--aa-light-grey); border-radius: 20px; }
.aa-panel__body iframe { display: block; width: 100% !important; height: 1000px; border: 0; }
.aa-panel__body .hs-embed-wrapper,
.aa-panel__body .hs-embed-content-wrapper,
.aa-panel__body p { margin: 0 !important; max-width: none !important; width: 100% !important; }

/* ----- Course info list (Program Overview) ----- */
.aa-course__overview { font-weight: 600; }
.aa-course__text ul { margin: 0 0 22px; padding: 0; list-style-position: inside; }
.aa-course__text li { margin-bottom: 4px; }

/* ----- Full-width form on white (BVLOS enquiry form) ----- */
.dnd-section:has(.hs_cos_wrapper_type_form),
.row-fluid-wrapper:has(.hs_cos_wrapper_type_form) { padding: 0 var(--aa-gutter) !important; }
.hs_cos_wrapper_type_form { max-width: 1320px; margin: 0 auto; }

/* ----- Cards section when it starts a block ----- */
.aa-cards-section { margin-top: 48px; }

/* ----- BVLOS hero heading on mobile (longer heading) ----- */
@media (max-width: 767px) {
  .aa-hero:has(img[src*="BVLOS"]) .aa-hero__heading { max-width: 230px; font-size: 30px; }
  .aa-panel__bar { padding: 16px 20px 36px; }
  .aa-panel__body iframe { height: 900px; }
}

/* ----- Fix: keep hero full width; space the forms only ----- */
.dnd-section:has(.hs_cos_wrapper_type_form),
.row-fluid-wrapper:has(.hs_cos_wrapper_type_form) { padding: 0 !important; }

/* Full-width form (BVLOS) */
.hs_cos_wrapper_type_form {
  box-sizing: border-box;
  max-width: calc(1320px + (var(--aa-gutter) * 2));
  padding-left: var(--aa-gutter);
  padding-right: var(--aa-gutter);
}

/* Form inside the grey card (STL) */
.dnd-section:has(.aa-formcard) + .dnd-section .hs_cos_wrapper_type_form,
.row-fluid-wrapper:has(.aa-formcard) + .row-fluid-wrapper .hs_cos_wrapper_type_form {
  max-width: min(924px, calc(100% - (var(--aa-gutter) * 2)));
  padding: 16px 48px 48px;
}
@media (max-width: 767px) {
  .dnd-section:has(.aa-formcard) + .dnd-section .hs_cos_wrapper_type_form,
  .row-fluid-wrapper:has(.aa-formcard) + .row-fluid-wrapper
  
  /* ----- Fix: keep hero full width; space the forms only ----- */
.dnd-section:has(.hs_cos_wrapper_type_form),
.row-fluid-wrapper:has(.hs_cos_wrapper_type_form) { padding: 0 !important; }

/* Full-width form (BVLOS) */
.hs_cos_wrapper_type_form {
  box-sizing: border-box;
  max-width: calc(1320px + (var(--aa-gutter) * 2));
  padding-left: var(--aa-gutter);
  padding-right: var(--aa-gutter);
}

/* Form inside the grey card (STL) */
.dnd-section:has(.aa-formcard) + .dnd-section .hs_cos_wrapper_type_form,
.row-fluid-wrapper:has(.aa-formcard) + .row-fluid-wrapper .hs_cos_wrapper_type_form {
  max-width: min(924px, calc(100% - (var(--aa-gutter) * 2)));
  padding: 16px 48px 48px;
}
@media (max-width: 767px) {
  .dnd-section:has(.aa-formcard) + .dnd-section .hs_cos_wrapper_type_form,
  .row-fluid-wrapper:has(.aa-formcard) + .row-fluid-wrapper .hs_cos_wrapper_type_form { padding: 12px 20px 32px; }
}
  
  /* ----- BVLOS fixes: form column gaps, course info list ----- */

/* Gap between form columns (2- and 3-column rows) */
.hs_cos_wrapper_type_form .form-columns-3 { display: flex; gap: 12px; }
.hs_cos_wrapper_type_form .form-columns-3 .hs-form-field { flex: 1; width: auto !important; float: none !important; }
.hs_cos_wrapper_type_form .hsfc-Row { gap: 12px; }
@media (max-width: 767px) {
  .hs_cos_wrapper_type_form .form-columns-3 { flex-direction: column; gap: 0; }
}

/* Course info: wider text, centred bullets, regular-weight labels (BVLOS only) */
.aa-course:has(.aa-course__overview) .aa-course__text { max-width: 1309px; }
.aa-course__text ul { list-style-position: inside !important; padding-left: 0 !important; margin-left: 0 !important; }
.aa-course__text li { text-align: center; }
.aa-course__text li strong { font-weight: 400; }
  
  /* ----- Form fix: force gaps between columns (overrides HubSpot form styles) ----- */
.hs_cos_wrapper_type_form form fieldset {
  display: flex !important;
  gap: 12px;
  max-width: none !important;
  margin: 0 !important;
}
.hs_cos_wrapper_type_form form fieldset > .hs-form-field,
.hs_cos_wrapper_type_form form fieldset > .hs-richtext,
.hs_cos_wrapper_type_form form fieldset > div {
  flex: 1 1 0;
  min-width: 0;
  width: auto !important;
  float: none !important;
  padding: 0 !important;
}
.hs_cos_wrapper_type_form form fieldset .input { margin-right: 0 !important; }
.hs_cos_wrapper_type_form .hs-form-field { margin-bottom: 14px; }
@media (max-width: 767px) {
  .hs_cos_wrapper_type_form form fieldset { flex-direction: column; gap: 0; }
}
  
  /* ----- Form fix (new HubSpot form editor): column gaps ----- */
[data-hsfc-id="Renderer"] {
  --hsf-row__horizontal-spacing: 12px;
  --hsf-row__vertical-spacing: 14px;
}
.hs_cos_wrapper_type_form .hsfc-Row {
  gap: 12px !important;
  column-gap: 12px !important;
  align-items: flex-start;
}
.hs_cos_wrapper_type_form .hsfc-Row > * {
  min-width: 0;
}
@media (max-width: 767px) {
  .hs_cos_wrapper_type_form .hsfc-Row { flex-direction: column; gap: 0 !important; }
}
  
  /* ----- Form fix v3: gap between columns, works with any HubSpot form ----- */
.hs_cos_wrapper_type_form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.hs_cos_wrapper_type_form select,
.hs_cos_wrapper_type_form textarea {
  width: calc(100% - 12px) !important;
}
@media (max-width: 767px) {
  .hs_cos_wrapper_type_form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
  .hs_cos_wrapper_type_form select,
  .hs_cos_wrapper_type_form textarea { width: 100% !important; }
}
  
  /* ----- P+ feedback: hide the arrows on the six feature cards ----- */
.aa-card__foot svg { display: none !important; }