/** @format **/

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

@media screen and (max-width: 1599px) {
  /* Updated 30-10-2026 — About banner art ("Beyond Loan Quotes") runs over the hero copy
     below 1600 — bring back the shared .pagehero fade behind the text */
  .pagehero.pagehero_about:before {
    content: "";
  }
}

@media screen and (max-width: 1499px) {
  /* half the 92px gutter overhangs the container margin below 1500 — shrink it */
  .imgtextsec .row {
    --bs-gutter-x: 3rem;
  }
}

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

@media screen and (max-width: 1399px) {
  /* the microphone would run into the hero copy below this width */
  /* .pagehero.pagehero_speaking:after {
    content: none;
  } */
}

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

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

@media screen and (max-width: 1200px) {
  .topiccard .topiccard_fit h4 {
    font-size: 2.25rem;
  }
  /* wide gutters overhang the container margin once html scales down */
  .programsec .programsec_row,
  .howsec .howsec_row {
    --bs-gutter-x: 2.5rem;
  }
  .booksec .booksec_img {
    width: 40vw;
  }
  .learnsec .learnsec_content {
    max-width: 100%;
  }
  .imgtextsec .row {
    --bs-gutter-x: 2.75rem; /* 38px — stays inside a 992px viewport's container margin */
  }
  .statssec .statslist {
    padding: 2.25rem 2.5rem;
  }
  .mainftr .ftr_about {
    width: auto;
    max-width: 25rem;
  }
  .mainftr .ftr_nav {
    width: auto;
  }
  html {
    font-size: 86.8%;
  }

  .mainhd .mainmenu.stellarnav.mobile ul ul,
  .mainhd .mainmenu.stellarnav.mobile ul ul ul {
    width: 100%;
    left: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .mainhd .mainmenu.stellarnav.mobile ul ul > li > a {
    border-bottom-color: rgba(217, 214, 206, 0.12);
  }
  .mainhd .hd_right {
    gap: 1rem;
  }
  .mainhd .hd_right .hd_cta {
    order: -1;
  }
}

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

@media screen and (max-width: 991px) {
  .sec-space {
    padding: 3.75rem 0rem; /* 60px */
  }
  /* Updated 30-10-2026 — every inner hero follows About (Mobile Figma):
     banner strip on top, copy below it — composite off */
  .pagehero {
    display: block;
    min-height: 0;
    padding: 0rem;
    background-size: 0 0;
  }
  .pagehero:before {
    content: none;
  }
  .pagehero .pagehero_banner {
    display: block;
    width: 100%;
    aspect-ratio: 390 / 129;
    object-position: right center;
  }
  .pagehero > .container {
    padding-top: 2rem; /* 32px */
    padding-bottom: 2rem;
  }
  .pagehero .pagehero_content p {
    max-width: 100%;
  }
  .imgtextsec.imgtextsec_about .imgtextsec_img {
    max-width: 100%;
  }
  .imgtextsec.imgtextsec_about .imgtextsec_img img {
    aspect-ratio: 4 / 3;
    object-position: center 30%;
  }
  .storysec .storysec_row {
    row-gap: 2.5rem;
  }
  .imgtextsec.imgtextsec_half .imgtextsec_img {
    margin: 0rem;
  }
  .audiencesec .audiencesec_row,
  .audiencesec.audiencesec_flip .audiencesec_row {
    flex-direction: column;
    align-items: stretch;
  }
  .audiencesec .audiencesec_img img {
    aspect-ratio: 4 / 3;
  }
  .audiencesec.audiencesec_navy .audiencesec_img img {
    aspect-ratio: 4 / 3;
  }
  .inquirysec .inquirysec_row {
    --bs-gutter-x: 1.5rem;
  }
  .imgtextsec.imgtextsec_narrow .imgtextsec_content {
    max-width: 100%;
    margin: 0rem;
    padding: 0rem;
  }
  .imgtextsec .imgtextsec_img img {
    aspect-ratio: 4 / 3;
    object-position: center 30%;
  }
  .featuredsec .featuredsec_stack {
    flex-direction: row;
  }
  .featuredsec .featuredsec_stack .vidthumb {
    flex: 1 1 0;
  }
  .booksec.booksec_compact {
    min-height: 0;
    padding: 4rem 0rem 0rem;
  }
  .programsec .programsec_row,
  .howsec .howsec_row {
    --bs-gutter-x: 1.5rem;
  }
  .pagehero .pagehero_content {
    max-width: 100%;
  }
  .speaksec.speaksec_navy {
    padding: 0rem 0rem 4rem;
  }
  .programsec,
  .howsec {
    padding: 4rem 0rem;
  }
  .speaksec {
    padding: 0rem 0rem 4rem;
  }
  .speaksec .speaksec_img {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
  }
  .speaksec .speaksec_content {
    max-width: 100%;
    margin: 0rem;
    padding: 3.5rem 0rem 0rem;
  }
  .booksec {
    display: block;
    min-height: 0;
    padding: 4rem 0rem 0rem;
  }
  .booksec .booksec_img {
    position: relative;
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
    aspect-ratio: 720 / 487; /* whole graphic — it's mostly lettering, never crop it */
    margin: 3rem 0rem 0rem;
  }
  .imgtextsec .row {
    --bs-gutter-x: 1.5rem;
    row-gap: 2rem;
  }
  .imgtextsec .imgtextsec_content {
    max-width: 100%;
  }
  .sechead.sechead_split .row {
    row-gap: 1rem;
  }
  .servicesec .servicesec_row {
    justify-content: center;
  }
  .banner {
    display: block;
    min-height: 0;
    padding: 30rem 0rem 3rem;
    background-position: left top;
    background-size: max(100%, 31.875rem) auto;
  }
  .banner:before {
    background: linear-gradient(
      to bottom,
      #0b1f33 0rem,
      rgba(11, 31, 51, 0) 28rem,
      #0b1f33 28rem
    );
  }
  .banner .banner_img {
    top: 1.5rem;
    bottom: auto;
    width: 29.6rem; /* height 26.5rem via aspect-ratio */
    max-width: none;
  }
  .statssec .statslist {
    align-items: stretch;
    padding: 2rem 1.5rem;
  }
  .statssec .statslist li {
    flex: 1 1 0;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.875rem;
    min-height: 0;
    padding: 0rem 1rem;
    text-align: center;
  }
  .statssec .statslist li + li {
    padding-left: 1rem;
  }
  .statssec .statslist_text {
    gap: 0.5rem;
    white-space: normal;
  }
  .statssec .statslist_num {
    font-size: 1.75rem;
  }
  .statssec .statslist_label {
    font-size: 1rem;
  }
  .mainftr .ftr_top .row {
    row-gap: 2.5rem;
  }
  .mainftr .ftr_about {
    max-width: 100%;
  }

  h1 {
    font-size: 3.5rem;
  }
  h2 {
    font-size: 2.375rem;
  }

  /* add css on 30.10.2026 */
  .pagehero.pagehero_speaking .pagehero_banner {
    object-fit: contain;
    width: 120px;
    aspect-ratio: auto;
    margin-right: auto;
    margin-left: calc(50% - 345px);
  }

  .pagehero.pagehero_speaking:after {
    content: none;
  }
}

@media screen and (max-width: 767px) {
  .sec-space {
    padding: 2.5rem 0rem; /* 40px */
  }
  .imgtextsec.imgtextsec_about .imgtextsec_img img {
    aspect-ratio: 342 / 308;
  }
  .storysec .sechead .eyebrow {
    margin: 0rem 0rem 1rem;
  }
  .storysec .sechead p,
  .storychapter p {
    font-size: 1rem;
    line-height: 1.6;
  }
  .storychapter .storychapter_title {
    font-size: 1rem;
  }
  .ctabox .ctabox_btns {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    margin: 1.5rem 0rem 0rem;
  }
  .audiencesec .audiencesec_text {
    margin: 0rem 0rem 1.5rem;
  }
  .audiencesec .audiencesec_text .eyebrow,
  .audiencesec .audiencesec_text h2 {
    margin: 0rem 0rem 1rem;
  }
  .audiencesec .audiencesec_text p {
    font-size: 1rem;
    line-height: 1.6;
  }
  .audiencesec .audiencesec_text p + p {
    margin: 1.6rem 0rem 0rem;
  }
  .topiccard {
    padding: 1.5rem;
  }
  .topiccard .topiccard_label {
    margin: 0rem 0rem 1.25rem;
    font-size: 1rem;
  }
  .topiccard .topiccard_list li h4 {
    font-size: 1.5rem;
  }
  .topiccard .topiccard_list li p,
  .topiccard .topiccard_fit p {
    font-size: 1rem;
    line-height: 1.6;
  }
  .topiccard .topiccard_fit {
    padding: 1.25rem;
  }
  .topiccard .topiccard_fit h4 {
    font-size: 2rem;
  }
  .inquirysec .inquirysec_intro p {
    font-size: 1rem;
    line-height: 1.6;
  }
  .inquirysec input[type="submit"] {
    width: 100%;
    margin: 1.5rem 0rem 0rem;
  }
  .faq_box .faq_item {
    border-radius: 1rem;
  }
  .faq_box .faq_item + .faq_item {
    margin-top: 1rem;
  }
  .faq_box .faq_item .faq_hd {
    padding: 1.125rem 1.25rem;
  }
  .faq_box .faq_item .faq_cont {
    padding: 0rem 1.25rem 1.125rem;
  }
  .pagehero .ytstats {
    font-size: 1rem;
  }
  .featuredsec .sechead p {
    margin: 0rem 0rem 1.5rem;
  }
  .featuredsec .featuredsec_stack {
    flex-direction: column;
  }
  .featuredsec .featuredsec_stack .vidthumb {
    flex: 0 0 auto; /* a 0 basis collapses the clipped thumbs in a column */
  }
  .topicsec .sechead {
    margin: 0rem 0rem 1.5rem;
  }
  .faq_box.topiclist .faq_item .faq_hd {
    padding: 1.25rem 0.5rem;
  }
  .faq_box.topiclist .faq_item .faq_hd h5 {
    gap: 1rem;
    font-size: 1.5rem;
  }
  .faq_box.topiclist .faq_item .faq_cont {
    padding: 0rem 0.5rem 1.25rem 2.875rem;
  }
  .faq_box.topiclist .faq_item .faq_cont p {
    font-size: 1rem;
    line-height: 1.6;
  }
  .booksec.booksec_compact {
    padding: 3rem 0rem 0rem;
  }
  /* Updated 30-10-2026 — copy sits under the strip on every inner hero, so the spacing lives on the container */
  .pagehero > .container {
    padding-top: 2.25rem;
    padding-bottom: 2.5rem;
  }
  .pagehero .pagehero_content h1 {
    font-size: 2.75rem;
    line-height: 1.12;
  }
  .pagehero .pagehero_content p {
    font-size: 1rem;
  }
  .pagehero .breadcrumb_list li {
    font-size: 1rem;
  }
  .pagehero .pagehero_content .btn {
    display: flex;
    width: 100%;
    height: 3.25rem;
  }
  .programsec,
  .howsec {
    padding: 3rem 0rem;
  }
  .programsec .sechead,
  .programsec .programsec_img {
    margin: 0rem 0rem 1.5rem;
  }
  .programsec .programsec_img img {
    aspect-ratio: 3 / 2;
  }
  .programitem .programitem_desc p {
    font-size: 1rem;
    line-height: 1.6;
  }
  .programitem .btn {
    width: 100%;
  }
  .speaksec.speaksec_navy {
    padding: 0rem 0rem 3rem;
  }
  .howsec .sechead {
    margin: 0rem 0rem 2rem;
  }
  .howstep p {
    font-size: 1rem;
    line-height: 1.6;
  }
  .ctabox {
    min-height: 0;
    padding: 2rem 1.5rem;
    border-radius: 0.75rem;
    text-align: left;
  }
  .ctabox h2 {
    font-size: 2rem;
    line-height: 1.1;
  }
  .ctabox p {
    font-size: 0.9375rem;
    line-height: 1.6;
  }
  .ctabox .btn {
    display: flex;
    width: 100%;
    height: 3.375rem;
    margin: 1.5rem 0rem 0rem;
  }
  /* Mobile Figma "Discuss your goal": flat top-down scrim, photo shifted right */
  .ctasec {
    padding: 3rem 0rem;
    background-position: 70% center;
  }
  .ctasec:before {
    background: linear-gradient(
      to bottom,
      rgba(11, 31, 51, 0.92),
      rgba(11, 31, 51, 0.72)
    );
  }
  .ctasec .ctasec_content .eyebrow,
  .ctasec .ctasec_content h2 {
    margin: 0rem 0rem 1.5rem;
  }
  .ctasec .ctasec_content p {
    font-size: 1rem;
    line-height: 1.6;
  }
  .ctasec .ctasec_content .btn {
    display: flex;
    width: 100%;
    height: 3.25rem;
    margin: 1.5rem 0rem 0rem;
  }
  .speaksec {
    padding: 0rem 0rem 3rem;
  }
  .speaksec .speaksec_img {
    aspect-ratio: 390 / 432; /* Mobile Figma photo */
  }
  .speaksec .speaksec_content {
    padding: 3rem 0rem 0rem;
  }
  .speaksec .speaksec_content .eyebrow {
    margin: 0rem 0rem 1.5rem;
  }
  .speaksec .speaksec_text {
    margin: 1.5rem 0rem 0rem;
    padding: 1.5rem 0rem 0rem;
  }
  .speaksec .speaksec_text p {
    font-size: 1rem;
    line-height: 1.6;
  }
  .speaksec .speaksec_content .btn {
    display: flex;
    width: 100%;
    height: 3.25rem;
    margin: 1.5rem 0rem 0rem;
  }
  .booksec {
    padding: 3rem 0rem 0rem;
  }
  .booksec .booksec_content p {
    font-size: 1rem;
    line-height: 1.6;
  }
  .booksec .booksec_content .booksec_tagline {
    font-size: 1.25rem;
  }
  .booksec .booksec_content .btn {
    display: flex;
    width: 100%;
    height: 3.25rem;
    margin: 1.5rem 0rem 0rem;
  }
  .booksec .booksec_img {
    margin: 2rem 0rem 0rem;
  }
  .learnsec .learnsec_row {
    row-gap: 1.5rem;
  }
  .learnsec .learnsec_content p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .learnsec .learnsec_content .btn {
    display: flex;
    width: 100%;
    height: 3.25rem;
    margin: 1.5rem 0rem 0rem;
  }
  .videocard {
    gap: 0.75rem;
  }
  .videocard .videocard_thumb img {
    aspect-ratio: 16 / 9;
  }
  .videocard .videocard_info {
    align-items: flex-start;
    gap: 0.75rem;
  }
  .videocard .videocard_title {
    font-size: 1.0625rem;
    line-height: 1.4;
  }
  .videocard .videocard_time {
    font-size: 0.875rem;
    line-height: 1.7;
  }
  .imgtextsec .row {
    row-gap: 1.5rem;
  }
  .imgtextsec .imgtextsec_img img {
    aspect-ratio: 342 / 308;
  }
  .imgtextsec .imgtextsec_content .eyebrow,
  .imgtextsec .imgtextsec_content h2 {
    margin: 0rem 0rem 1.5rem;
  }
  .imgtextsec .imgtextsec_content p {
    margin: 0rem 0rem 1.6rem;
    font-size: 1rem;
    line-height: 1.6;
  }
  .imgtextsec .imgtextsec_btns {
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
    margin: 1.5rem 0rem 0rem;
  }
  .imgtextsec .imgtextsec_btns .btn {
    height: 3.25rem;
  }
  .imgtextsec .imgtextsec_social {
    gap: 1.5rem;
  }
  .imgtextsec .imgtextsec_social a {
    font-size: 2.875rem;
  }
  .eyebrow {
    font-size: 0.875rem;
    line-height: 1.5;
  }
  .sechead p {
    font-size: 1rem;
    line-height: 1.6;
  }
  .servicesec .servicesec_row {
    --bs-gutter-x: 1.5rem;
    row-gap: 1.5rem;
  }
  .servicesec .servicesec_btn {
    margin: 2rem 0rem 0rem;
  }
  .servicecard {
    min-height: 0;
  }
  .servicecard .servicecard_img img {
    aspect-ratio: 342 / 242;
  }
  .servicecard .servicecard_img:after {
    bottom: -1.0875rem; /* -17.4px — Mobile Figma top 211 of 242 */
  }
  .servicecard .servicecard_body {
    gap: 1.75rem;
    padding: 0.5rem 1.5rem 1.5rem;
  }
  .servicecard .servicecard_text {
    gap: 1rem;
  }
  .servicecard .servicecard_text p {
    font-size: 1rem;
    line-height: 1.5;
  }
  .servicecard .servicecard_link {
    font-size: 0.9375rem;
  }
  .banner {
    padding: 23.5rem 0rem 2rem;
  }
  .banner:before {
    background: linear-gradient(
      to bottom,
      #0b1f33 0rem,
      rgba(11, 31, 51, 0) 21.25rem,
      #0b1f33 21.25rem
    );
  }
  .banner .banner_img {
    top: 1.125rem;
    width: 22.5rem; /* 360px — Mobile Figma; height via aspect-ratio */
  }
  .banner .pilltag,
  .pagehero .pilltag {
    display: block;
    width: 100%;
    margin: 0rem 0rem 1.5rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
    line-height: 1.5;
    text-align: center;
  }
  .banner .banner_text h1 {
    margin: 0rem 0rem 1.5rem;
    color: var(--white, #ffffff);
  }
  .banner .banner_text p {
    margin: 0rem 0rem 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
  }
  .banner .banner_btns {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    width: 100%;
  }
  .banner .banner_btns .btn {
    height: 3.25rem;
  }
  .banner .banner_btns .btn.btnborder {
    border-color: var(--soft-text, #d9d6ce);
    color: var(--soft-text, #d9d6ce);
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
  }
  .banner .banner_btns .btn.btnborder:hover {
    border-color: var(--white, #ffffff);
    color: var(--blue, #0b1f33);
  }
  .statssec .statslist {
    flex-direction: column;
    padding: 0.5rem 1.5rem;
  }
  .statssec .statslist li {
    flex: 0 0 auto;
    flex-direction: row;
    justify-content: flex-start;
    gap: 1rem;
    padding: 1.25rem 0rem;
    text-align: left;
  }
  .statssec .statslist li + li {
    padding-left: 0rem;
  }
  .statssec .statslist li + li:before {
    top: 0rem;
    right: 0rem;
    bottom: auto;
    width: auto;
    height: 0.0625rem;
  }
  .statssec .statslist_icon {
    width: 3.25rem;
    height: 3.25rem;
  }
  .mainftr {
    padding: 3.5rem 0rem 2rem;
  }
  .mainftr .ftr_top .row {
    row-gap: 2rem;
  }
  .mainftr .ftr_about p,
  .mainftr .ftr_disclosure,
  .mainftr .ftr_links li a {
    font-size: 1rem;
  }
  .mainftr .ftr_bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  h1 {
    font-size: 2.75rem; /* 44px — Mobile Figma */
    line-height: 1.12;
  }
  h2 {
    font-size: 2.25rem; /* 36px — Mobile Figma */
    line-height: 1.12;
  }
  h3 {
    font-size: 1.875rem; /* 30px — Mobile Figma card titles */
  }
  .sec-space-sm {
    padding: 2rem 0rem;
  }

  /* ==========================================================
     MOBILE — centred content + refined footer
     ========================================================== */

  .mainhd .logo {
    font-size: 1.25rem;
  }
  .mainhd .hd_inner {
    min-height: 4.5rem;
  }
  .mainhd .hd_cta {
    display: none;
  }
  .mainhd .mainmenu.stellarnav.mobile > ul > li.mob_cta {
    display: block;
  }
  /* Section heads tighten the drop to their content on phones. Every section
     that re-declares .sechead margin in style.scss has to be named here —
     a bare .sechead (0,1,0) loses to .servicesec .sechead (0,2,0). */
  .sechead {
    margin: 0rem 0rem 1.5rem; /* 24px — Mobile Figma */
  }

  .pagehero.pagehero_speaking .pagehero_banner {
    margin-left: 0;
  }
}

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

@media screen and (max-width: 576px) {
  /* below 576 the container goes fluid, so any gutter wider than 1.5rem
     makes .row's negative margin overhang the viewport. Matches the
     section-scoped gutters, so it needs the same specificity. */
  .row,
  .imgtextsec .row {
    --bs-gutter-x: 1.5rem;
  }
}
/* ===== CONTAINER WIDTHS — keep LAST in responsive.css ===== */
@media screen and (min-width: 1600px) {
  .container {
    max-width: 90rem; /* 1440px — Figma content width */
  }
}
