/* ==========================================================
   BLOG ARTICLE PAGE  (new Figma layout)
   File: wwwroot/css/Insights/blog-article.css
   Everything is scoped with "ba-" so the Insights listing
   page and the rest of the site are not affected.
   ========================================================== */

.ba-page {
    --ba-navy: #122560;
    --ba-text: #545c70;
    --ba-light: #f2f5fc;
    --ba-peach: #fff4eb;
    --ba-orange: #ff9a48;
    --ba-line: #e1e3eb;
    --ba-faq-bg: #fbfbfb;
    --ba-ease: cubic-bezier(.22, .61, .36, 1);
    --ba-ease-io: cubic-bezier(.65, 0, .35, 1);

    background: #fff;
    color: var(--ba-text);
    font-family: 'DM Sans', sans-serif;
    overflow-x: clip;
}

.ba-page *,
.ba-page *::before,
.ba-page *::after {
    box-sizing: border-box;
}

.ba-container {
    width: 100%;
    max-width: 1460px;
    margin: 0 auto;
    padding: 0 40px;
}

.ba-highlight {
    color: var(--ba-orange);
}

.ba-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}


/* ==========================================================
   HERO
   ========================================================== */

.ba-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: clamp(560px, 49vw, 940px);
    padding: clamp(140px, 11vw, 200px) 0 clamp(70px, 6vw, 110px);
    background: var(--ba-navy);
    color: #fff;
    overflow: hidden;
}

.ba-hero-media {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.ba-hero-image,
.ba-hero-video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    animation: ba-hero-zoom 1.6s var(--ba-ease) both;
}

/* navy shade on the left so the text always reads well */
.ba-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(18, 37, 96, .78) 0%, rgba(18, 37, 96, .55) 38%, rgba(18, 37, 96, .12) 70%, rgba(18, 37, 96, 0) 100%),
        linear-gradient(180deg, rgba(18, 37, 96, .35) 0%, rgba(18, 37, 96, 0) 30%, rgba(18, 37, 96, .25) 100%);
}

.ba-hero-inner > * {
    max-width: 720px;
    animation: ba-rise .9s var(--ba-ease) both;
}

.ba-hero-inner > :nth-child(2) { animation-delay: .08s; }
.ba-hero-inner > :nth-child(3) { animation-delay: .16s; }
.ba-hero-inner > :nth-child(4) { animation-delay: .24s; }

.ba-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .2px;
    text-transform: uppercase;
    color: #fff;
}

.ba-breadcrumb a {
    color: inherit;
    text-decoration: none;
    transition: color .3s ease;
}

.ba-breadcrumb a:hover {
    color: var(--ba-orange);
}

.ba-title {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(32px, 2.3vw, 44px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -.2px;
    color: #fff;
}

.ba-subtitle {
    margin: 22px 0 0;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(17px, 1.05vw, 20px);
    font-weight: 400;
    line-height: 1.5;
    color: rgba(255, 255, 255, .95);
}

.ba-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 34px;
    margin-top: clamp(32px, 2.6vw, 50px);
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    color: #fff;
}

.ba-author {
    font-weight: 600;
    color: var(--ba-orange);
}

.ba-meta-list {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.ba-meta-dot {
    font-size: 12px;
}


/* ==========================================================
   KEY TAKEAWAYS STRIP
   ========================================================== */

.ba-strip {
    background: var(--ba-light);
}

.ba-strip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 40px;
    margin: 0;
    padding: 28px 0;
    list-style: none;
}

.ba-strip-list li {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--ba-navy);
}


/* ==========================================================
   CONTENTS + ARTICLE LAYOUT
   ========================================================== */

.ba-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1000px);
    justify-content: space-between;
    gap: clamp(40px, 5.2vw, 100px);
    padding-top: clamp(50px, 3.4vw, 64px);
    padding-bottom: clamp(70px, 6vw, 120px);
}

.ba-aside-inner {
    position: sticky;
    top: 110px;
}

/* ---------- In this article ---------- */

.ba-toc {
    margin: 0;
}

.ba-toc-title {
    display: block;
    margin-bottom: 14px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .3px;
    text-transform: uppercase;
    color: var(--ba-navy);
    list-style: none;
    cursor: default;
}

.ba-toc-title::-webkit-details-marker {
    display: none;
}

.ba-toc-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ba-toc-list a {
    position: relative;
    display: flex;
    gap: 8px;
    padding: 12px 0 12px 0;
    font-size: 15px;
    line-height: 1.45;
    color: var(--ba-navy);
    text-decoration: none;
    transition: color .3s ease, padding-left .35s var(--ba-ease);
}

/* small orange bar on the section you are reading */
.ba-toc-list a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 3px;
    height: 0;
    border-radius: 3px;
    background: var(--ba-orange);
    transform: translateY(-50%);
    transition: height .35s var(--ba-ease);
}

.ba-toc-list a:hover {
    color: var(--ba-orange);
}

.ba-toc-list a.is-active {
    padding-left: 14px;
    font-weight: 600;
}

.ba-toc-list a.is-active::before {
    height: 20px;
}

.ba-toc-num {
    flex: 0 0 auto;
}

/* ---------- The priority box ---------- */

.ba-priority {
    margin-top: 14px;
    padding: 30px 24px 32px;
    background: linear-gradient(135deg, #fdeee2 0%, #f3eef7 55%, #eef1fc 100%);
}

.ba-priority-label {
    margin-bottom: 18px;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .2px;
    text-transform: uppercase;
    color: var(--ba-navy);
}

.ba-priority-text {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.6;
    color: var(--ba-navy);
}

.ba-priority-text span {
    display: block;
}


/* ==========================================================
   ARTICLE
   ========================================================== */

.ba-article {
    min-width: 0;
}

.ba-section {
    scroll-margin-top: 110px;
}

.ba-section + .ba-section,
.ba-article > * + * {
    margin-top: 56px;
}

/* plain text that continues the section above (no heading) */
.ba-article > .ba-section--plain:not(.ba-section--intro) {
    margin-top: 26px;
}

/* numbered priority ("01 / 10") gets the line above it */
.ba-section--numbered {
    padding-top: 28px;
    border-top: 1px solid var(--ba-line);
}

.ba-section-label {
    margin-bottom: 22px;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--ba-navy);
}

.ba-h2 {
    margin: 0 0 22px;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(26px, 1.7vw, 32px);
    font-weight: 600;
    line-height: 1.3;
    color: var(--ba-navy);
}

/* ---------- rich text ---------- */

.ba-rte {
    font-size: clamp(16px, .95vw, 18px);
    line-height: 1.82;
    color: var(--ba-text);
}

.ba-rte > :first-child { margin-top: 0; }
.ba-rte > :last-child  { margin-bottom: 0; }

.ba-rte p {
    margin: 0 0 18px;
}

.ba-rte strong,
.ba-rte b {
    font-weight: 700;
    color: var(--ba-navy);
}

.ba-rte a {
    color: var(--ba-navy);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--ba-orange);
    text-underline-offset: 3px;
    transition: color .3s ease;
}

.ba-rte a:hover {
    color: var(--ba-orange);
}

.ba-rte h3 {
    margin: 30px 0 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--ba-navy);
}

.ba-rte ul,
.ba-rte ol {
    margin: 0 0 18px;
    padding-left: 20px;
}

.ba-rte li {
    margin-bottom: 8px;
}

/* the opening paragraph of the article is bigger and navy */
.ba-section--intro .ba-rte > p:first-child {
    font-size: clamp(18px, 1.05vw, 20px);
    line-height: 1.8;
    color: var(--ba-navy);
    margin-bottom: 22px;
}

/* a blockquote in the rich text = light blue box */
.ba-rte blockquote {
    margin: 26px 0;
    padding: 30px 28px;
    background: var(--ba-light);
    font-size: 16px;
    line-height: 1.7;
    color: var(--ba-navy);
}

.ba-rte blockquote > :last-child { margin-bottom: 0; }

/* tables in the rich text (navy header, striped rows) */
.ba-rte table {
    width: 100%;
    margin: 26px 0;
    border-collapse: collapse;
    font-size: 16px;
    line-height: 1.7;
    color: var(--ba-navy);
}

.ba-rte thead th,
.ba-rte table tr:first-child th,
.ba-rte table:not(:has(thead)):not(:has(th)) tr:first-child td {
    padding: 18px 18px;
    background: var(--ba-navy);
    color: #fff;
    font-weight: 700;
    text-align: left;
    vertical-align: middle;
}

.ba-rte td,
.ba-rte th {
    padding: 18px 18px;
    border: 0;
    text-align: left;
    vertical-align: top;
}

.ba-rte tbody tr:nth-child(odd) td {
    background: var(--ba-light);
}

.ba-rte table:not(:has(thead)) tr:nth-child(odd) td {
    background: #fff;
}

.ba-rte table:not(:has(thead)) tr:nth-child(even) td {
    background: var(--ba-light);
}

.ba-rte td:first-child {
    font-weight: 700;
    white-space: nowrap;      /* "Q1 2027" stays on one line */
}

.ba-rte p:has(> table),
.ba-rte figure.table {
    margin: 26px 0;
    overflow-x: auto;
}

/* wide tables scroll sideways on small screens instead of breaking the page */
.ba-table-scroll {
    overflow-x: auto;
    margin: 26px 0;
}

.ba-table-scroll table {
    margin: 0;
    min-width: 640px;
}

/* ---------- "What to do" box ---------- */

.ba-action {
    margin-top: 26px;
    padding: 30px 28px 28px;
    background: var(--ba-light);
    color: var(--ba-navy);
}

.ba-action-title {
    margin: 0 0 14px;
    font-size: 16px;
    font-weight: 700;
    color: var(--ba-navy);
}

.ba-action-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ba-action-list li {
    position: relative;
    padding-left: 16px;
    font-size: 16px;
    line-height: 1.7;
}

.ba-action-list li + li {
    margin-top: 14px;
}

.ba-action-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
}

/* ---------- link line under the box ---------- */

.ba-footnote {
    margin-top: 28px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.6;
    color: var(--ba-navy);
}

.ba-footnote p { margin: 0; }

.ba-footnote a {
    color: inherit;
    text-decoration: none;
    background: linear-gradient(var(--ba-orange), var(--ba-orange)) 0 100% / 0 1.5px no-repeat;
    transition: color .3s ease, background-size .4s var(--ba-ease);
}

.ba-footnote a:hover {
    background-size: 100% 1.5px;
}

.ba-footnote a:hover {
    color: var(--ba-orange);
}

/* ---------- steps (Discovery → Optimize) ---------- */

.ba-steps {
    display: grid;
    grid-template-columns: repeat(var(--steps, 5), minmax(0, 1fr));
    gap: 16px;
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
}

.ba-steps li {
    padding: 22px 16px;
    background: var(--ba-navy);
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    transition: transform .35s var(--ba-ease), background-color .35s ease;
}

.ba-steps li:hover {
    transform: translateY(-4px);
    background: #1b3380;
}

/* ---------- image / video ---------- */

.ba-figure {
    margin: 0;
}

.ba-figure img,
.ba-figure video {
    display: block;
    width: 100%;
    height: auto;
}

.ba-figure figcaption {
    margin-top: 12px;
    font-size: 14px;
    color: var(--ba-text);
}

/* ---------- navy callout ---------- */

.ba-callout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
    padding: 44px 36px 40px;
    background: var(--ba-navy);
    color: #fff;
}

.ba-callout--image {
    grid-template-columns: minmax(0, 1fr) minmax(0, 260px);
    align-items: center;
}

.ba-callout-title {
    margin: 0 0 22px;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(24px, 1.5vw, 28px);
    font-weight: 600;
    line-height: 1.3;
    color: #fff;
}

.ba-callout-text {
    font-size: clamp(16px, .95vw, 18px);
    line-height: 1.85;
    color: #fff;
}

.ba-callout-text p { margin: 0 0 12px; }
.ba-callout-text > :last-child { margin-bottom: 0; }
.ba-callout-text a { color: var(--ba-orange); }

.ba-callout .ba-btn {
    margin-top: 26px;
}

.ba-callout-image img {
    display: block;
    width: 100%;
    height: auto;
}

/* ---------- orange button with navy circle ---------- */

.ba-btn {
    display: inline-flex;
    align-items: center;
    gap: 38px;
    min-height: 58px;
    padding: 8px 8px 8px 20px;
    background: var(--ba-orange);
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--ba-navy);
    text-decoration: none;
    transition: background-color .35s ease, transform .35s var(--ba-ease), box-shadow .35s ease;
}

.ba-btn-icon {
    position: relative;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--ba-navy);
    transition: transform .45s var(--ba-ease);
}

/* arrow ↗ drawn in CSS */
.ba-btn-icon::before,
.ba-btn-icon::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    background: #fff;
}

.ba-btn-icon::before {
    width: 11px;
    height: 1.6px;
    transform: translate(-50%, -50%) rotate(-45deg);
}

.ba-btn-icon::after {
    width: 6px;
    height: 6px;
    background: transparent;
    border-top: 1.6px solid #fff;
    border-right: 1.6px solid #fff;
    transform: translate(-30%, -70%);
}

.ba-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(255, 154, 72, .35);
    color: var(--ba-navy);
}

.ba-btn:hover .ba-btn-icon {
    transform: rotate(45deg);
}

/* ---------- rule of thumb box ---------- */

.ba-note {
    padding: 32px 28px 34px;
    background: var(--ba-peach);
}

.ba-note-label {
    margin-bottom: 18px;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--ba-navy);
}

.ba-note-text {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(18px, 1.15vw, 22px);
    font-weight: 600;
    line-height: 1.65;
    color: var(--ba-navy);
}

/* ---------- FAQ ---------- */

.ba-faq .ba-h2 {
    margin-bottom: 42px;
}

.ba-faq-item {
    border-top: 1px solid transparent;
    border-bottom: 1px solid var(--ba-line);
    background: var(--ba-faq-bg);
    transition: border-color .4s ease;
}

.ba-faq-item[open] {
    border-top-color: #d9b28e;
    background: #fff;
}

.ba-faq-item summary {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 30px 26px;
    list-style: none;
    cursor: pointer;
}

.ba-faq-item summary::-webkit-details-marker {
    display: none;
}

.ba-faq-num {
    flex: 0 0 auto;
    min-width: 20px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: var(--ba-navy);
}

.ba-faq-q {
    flex: 1;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(16px, .95vw, 18px);
    font-weight: 600;
    line-height: 1.45;
    color: var(--ba-navy);
    transition: color .3s ease;
}

.ba-faq-item summary:hover .ba-faq-q {
    color: var(--ba-orange);
}

.ba-faq-icon {
    position: relative;
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    border: 1px solid var(--ba-orange);
    border-radius: 50%;
    transition: background-color .4s ease, transform .5s var(--ba-ease-io);
}

.ba-faq-icon::before,
.ba-faq-icon::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    background: var(--ba-orange);
    transform: translate(-50%, -50%);
    transition: background-color .4s ease, opacity .4s ease;
}

.ba-faq-icon::before { width: 11px; height: 1.5px; }
.ba-faq-icon::after  { width: 1.5px; height: 11px; }

.ba-faq-item[open] .ba-faq-icon {
    background: var(--ba-orange);
    transform: rotate(180deg);
}

.ba-faq-item[open] .ba-faq-icon::before { background: #fff; }
.ba-faq-item[open] .ba-faq-icon::after  { opacity: 0; }

.ba-faq-a {
    overflow: hidden;
    padding: 0 60px 30px 68px;
}

.ba-faq-a .ba-rte {
    font-size: 15px;
    line-height: 1.75;
}

/* the script animates height; these are the timings */
.ba-faq-a.is-animating {
    transition: height .5s var(--ba-ease-io), opacity .4s ease;
}


/* ==========================================================
   RELATED INSIGHTS
   ========================================================== */

.ba-related {
    padding: 0 0 clamp(70px, 6vw, 110px);
}

.ba-related-head {
    margin-bottom: 36px;
}

.ba-related-eyebrow {
    display: block;
    margin-bottom: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--ba-orange);
}

.ba-related-title {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(26px, 1.9vw, 36px);
    font-weight: 600;
    color: var(--ba-navy);
}

.ba-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.ba-related-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--ba-line);
    color: inherit;
    text-decoration: none;
    transition: transform .4s var(--ba-ease), box-shadow .4s ease;
}

.ba-related-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(18, 37, 96, .1);
}

.ba-related-image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.ba-related-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s var(--ba-ease);
}

.ba-related-card:hover .ba-related-image img {
    transform: scale(1.05);
}

.ba-related-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 10px;
    padding: 24px;
}

.ba-related-cat {
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--ba-orange);
}

.ba-related-body h3 {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--ba-navy);
}

.ba-related-body p {
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
}

.ba-related-meta {
    display: flex;
    gap: 6px;
    margin-top: auto;
    padding-top: 8px;
    font-size: 13px;
}


/* ==========================================================
   BOTTOM CTA BAND
   ========================================================== */

.ba-cta {
    padding: clamp(60px, 4.6vw, 90px) 0;
    background: var(--ba-peach);
}

.ba-cta-eyebrow {
    margin-bottom: 22px;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--ba-navy);
}

.ba-cta-title {
    margin: 0 0 24px;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(28px, 2.1vw, 40px);
    font-weight: 600;
    line-height: 1.25;
    color: var(--ba-navy);
}

.ba-cta-text {
    margin: 0 0 30px;
    font-size: clamp(16px, 1vw, 19px);
    line-height: 1.6;
    color: var(--ba-navy);
}


/* ==========================================================
   ANIMATION
   ========================================================== */

@keyframes ba-rise {
    from { opacity: 0; transform: translateY(26px); }
    to   { opacity: 1; transform: none; }
}

@keyframes ba-hero-zoom {
    from { transform: scale(1.06); }
    to   { transform: scale(1); }
}

/* sections fade up as you scroll (only when the script runs) */
.ba-js .ba-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .8s var(--ba-ease), transform .8s var(--ba-ease);
}

.ba-js .ba-reveal.is-visible {
    opacity: 1;
    transform: none;
}


/* ==========================================================
   LAPTOP  (1025px – 1440px)
   ========================================================== */

@media (max-width: 1440px) {

    .ba-container {
        padding-left: 50px;
        padding-right: 50px;
    }

    .ba-layout {
        grid-template-columns: 250px minmax(0, 1fr);
        gap: 60px;
    }

    .ba-priority-text {
        font-size: 18px;
    }
}

@media (max-width: 1200px) {

    .ba-layout {
        grid-template-columns: 220px minmax(0, 1fr);
        gap: 44px;
    }

    .ba-toc-list a {
        font-size: 14px;
        padding: 10px 0;
    }

    .ba-related-grid {
        gap: 20px;
    }
}


/* ==========================================================
   TABLET  (991px and below)
   Contents becomes a tap-to-open box above the article
   ========================================================== */

@media (max-width: 991px) {

    .ba-container {
        padding-left: 30px;
        padding-right: 30px;
    }

    .ba-hero {
        min-height: 520px;
        padding: 140px 0 60px;
    }

    .ba-hero::before {
        background: linear-gradient(90deg, rgba(18, 37, 96, .82) 0%, rgba(18, 37, 96, .55) 60%, rgba(18, 37, 96, .3) 100%);
    }

    .ba-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 36px;
        padding-top: 40px;
    }

    .ba-aside-inner {
        position: static;
    }

    .ba-toc {
        border: 1px solid var(--ba-line);
        background: var(--ba-light);
    }

    .ba-toc-title {
        position: relative;
        margin: 0;
        padding: 18px 54px 18px 20px;
        cursor: pointer;
    }

    .ba-toc-title::after {
        content: "";
        position: absolute;
        right: 22px;
        top: 50%;
        width: 9px;
        height: 9px;
        border-right: 2px solid var(--ba-navy);
        border-bottom: 2px solid var(--ba-navy);
        transform: translateY(-70%) rotate(45deg);
        transition: transform .4s var(--ba-ease);
    }

    .ba-toc[open] .ba-toc-title::after {
        transform: translateY(-30%) rotate(225deg);
    }

    .ba-toc-list {
        padding: 0 20px 14px;
    }

    .ba-priority {
        margin-top: 16px;
    }

    .ba-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* ==========================================================
   MOBILE  (767px and below)
   ========================================================== */

@media (max-width: 767px) {

    .ba-container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .ba-hero {
        min-height: 480px;
        padding: 120px 0 44px;
        align-items: flex-end;
    }

    .ba-hero::before {
        background: linear-gradient(180deg, rgba(18, 37, 96, .35) 0%, rgba(18, 37, 96, .65) 45%, rgba(18, 37, 96, .92) 100%);
    }

    .ba-breadcrumb {
        font-size: 12px;
        gap: 6px;
    }

    .ba-title {
        font-size: 28px;
    }

    .ba-subtitle {
        margin-top: 14px;
        font-size: 16px;
    }

    .ba-meta {
        gap: 6px 20px;
        margin-top: 22px;
        font-size: 13px;
    }

    .ba-strip-list {
        flex-direction: column;
        gap: 10px;
        padding: 20px 0;
    }

    .ba-strip-list li {
        position: relative;
        padding-left: 16px;
        font-size: 14px;
    }

    .ba-strip-list li::before {
        content: "";
        position: absolute;
        left: 0;
        top: .6em;
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: var(--ba-orange);
    }

    .ba-section + .ba-section,
    .ba-article > * + * {
        margin-top: 40px;
    }

    .ba-h2 {
        font-size: 23px;
        margin-bottom: 16px;
    }

    .ba-rte {
        font-size: 16px;
        line-height: 1.75;
    }

    .ba-section--intro .ba-rte > p:first-child {
        font-size: 18px;
    }

    .ba-action,
    .ba-rte blockquote {
        padding: 22px 18px;
    }

    .ba-action-list li,
    .ba-action-title {
        font-size: 15px;
    }

    .ba-rte table {
        font-size: 14px;
    }

    .ba-rte td,
    .ba-rte th {
        padding: 12px;
    }

    .ba-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .ba-steps li {
        padding: 16px 14px;
        font-size: 14px;
    }

    .ba-callout,
    .ba-callout--image {
        grid-template-columns: minmax(0, 1fr);
        padding: 30px 20px;
    }

    .ba-btn {
        gap: 22px;
        min-height: 52px;
        font-size: 14px;
    }

    .ba-btn-icon {
        width: 36px;
        height: 36px;
    }

    .ba-note {
        padding: 24px 18px;
    }

    .ba-faq .ba-h2 {
        margin-bottom: 24px;
    }

    .ba-faq-item summary {
        gap: 12px;
        padding: 20px 14px;
    }

    .ba-faq-a {
        padding: 0 16px 22px 46px;
    }

    .ba-related-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}