/* ==========================================================================
   Blog post page  (resources/views/frontend/new-design/blog-post-page.blade.php)

   Presentation only. Every rule is scoped to .bp-hero / .bp-article / .bp-cta,
   classes that exist on the blog post template alone, so nothing in this file
   can reach another page. Colours, fonts and radii mirror the homepage design
   tokens in landing/css/home-v3.css and landing/css/site-chrome.css.
   ========================================================================== */

section.bp-hero,
section.bp-article,
section.bp-cta {
    --bp-blue: #2f6fd6;
    --bp-blue-dark: #255bb3;
    --bp-blue-light: #8db8ff;
    --bp-navy: #0b1d33;
    --bp-navy-2: #14304f;
    --bp-ink: #0f1c2e;
    --bp-text: #475467;
    --bp-muted: #667085;
    --bp-beige: #f5f3ee;
    --bp-line: #e7e5df;
    --bp-font-display: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
    --bp-font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
    --bp-overlap: 150px; /* how far the featured image hangs below the hero */
    font-family: var(--bp-font-body);
    -webkit-font-smoothing: antialiased;
}

/* landing/css/style.css puts a font on every element (`* { font-family }`), which stops the
   fonts chosen below from inheriting into nested spans. Icon fonts (<i>) keep their own. */
section.bp-hero *:not(i),
section.bp-article *:not(i),
section.bp-cta *:not(i) {
    font-family: inherit;
}

/* ==========================================================================
   1. Hero: title, summary, author / date / share, featured image
   ========================================================================== */

section.bp-hero.black_bg {
    position: relative;
    padding: 150px 0 0 !important;
    background:
        radial-gradient(760px 420px at 88% -8%, rgba(47, 111, 214, .38), transparent 62%),
        radial-gradient(620px 360px at 4% 78%, rgba(141, 184, 255, .14), transparent 60%),
        linear-gradient(180deg, #0b1d33 0%, #0f2742 100%) !important;
    color: #fff;
}

/* The template order is title, image, meta, summary; `order` only changes how it is laid out. */
section.bp-hero > .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

section.bp-hero > .container > br {
    display: none;
}

section.bp-hero .main_headline {
    order: 1;
    max-width: 940px;
    margin: 0 auto;
    padding: 0;
    font-family: var(--bp-font-display);
    font-size: clamp(31px, 4.3vw, 56px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.025em;
    color: #fff;
    text-wrap: balance;
}

section.bp-hero > .container > p {
    order: 2;
    max-width: 740px;
    margin: 22px auto 0;
    padding: 0 !important;
    font-family: var(--bp-font-body);
    font-size: clamp(16px, 1.35vw, 19px);
    font-weight: 500;
    line-height: 1.65;
    color: #c9d4e3 !important;
    text-wrap: pretty;
}

section.bp-hero .bp-meta {
    order: 3;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    color: #e6edf7 !important;
}

section.bp-hero .bp-meta-sep {
    display: none;
}

section.bp-hero .bp-meta-item {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    min-height: 42px;
    padding: 0 17px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    white-space: nowrap;
}

section.bp-hero .bp-meta-item::before {
    font-family: "bootstrap-icons";
    font-size: 15px;
    font-weight: 400;
    line-height: 1;
    color: var(--bp-blue-light);
}

section.bp-hero .bp-meta-author::before {
    content: "\F4DA"; /* bi-person-fill */
}

section.bp-hero .bp-meta-date::before {
    content: "\F214"; /* bi-calendar3 */
}

section.bp-hero a.bp-meta-share {
    border-color: var(--bp-blue);
    background: var(--bp-blue);
    color: #fff !important;
    text-decoration: none;
    box-shadow: 0 12px 24px -10px rgba(47, 111, 214, .7);
    transition: background-color .2s, border-color .2s, transform .2s;
}

section.bp-hero a.bp-meta-share::before {
    content: "\F344"; /* bi-facebook */
    color: #fff;
}

section.bp-hero a.bp-meta-share:hover {
    border-color: var(--bp-blue-dark);
    background: var(--bp-blue-dark);
    transform: translateY(-1px);
}

section.bp-hero a.bp-meta-share:focus-visible {
    outline: 3px solid var(--bp-blue-light);
    outline-offset: 2px;
}

section.bp-hero .bp-featured {
    order: 4;
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    max-width: 1140px;
    height: auto;
    aspect-ratio: 16 / 8.2;
    object-fit: cover;
    margin: 52px auto calc(var(--bp-overlap) * -1);
    border-radius: 30px;
    background: #14273f;
    box-shadow: 0 40px 80px -30px rgba(7, 18, 33, .55), 0 0 0 1px rgba(255, 255, 255, .08);
}

/* ==========================================================================
   2. Article body
   ========================================================================== */

section.bp-article {
    margin: 0 !important;
    background: #fff;
    color: var(--bp-text);
}

section.bp-article > .container {
    padding-top: calc(var(--bp-overlap) + 72px) !important;
    padding-bottom: 0 !important; /* the beige band below runs to the end of the section */
}

section.bp-article > .container > br {
    display: none;
}

section.bp-article .content-container {
    max-width: 780px;
    margin: 0 auto;
    font-family: var(--bp-font-body);
    font-size: 18px;
    line-height: 1.8;
    color: #3b475a;
    overflow-wrap: break-word;
}

section.bp-article .content-container > :first-child {
    margin-top: 0;
}

section.bp-article .content-container > :last-child {
    margin-bottom: 0;
}

/* The editor stores a font size / family on individual spans, and it differs from post to post.
   Let the article scale below decide instead, so every post reads the same. */
section.bp-article .content-container span[style],
section.bp-article .content-container font {
    font-family: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
}

section.bp-article .content-container p {
    margin: 0 0 1.4em;
}

section.bp-article .content-container h1,
section.bp-article .content-container h2,
section.bp-article .content-container h3,
section.bp-article .content-container h4,
section.bp-article .content-container h5,
section.bp-article .content-container h6 {
    font-family: var(--bp-font-display);
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--bp-ink);
    text-wrap: balance;
    scroll-margin-top: 96px;
}

section.bp-article .content-container h1 strong,
section.bp-article .content-container h2 strong,
section.bp-article .content-container h3 strong,
section.bp-article .content-container h4 strong {
    font-weight: inherit;
}

section.bp-article .content-container h1,
section.bp-article .content-container h2 {
    margin: 2.1em 0 .65em;
    font-size: clamp(25px, 2.4vw, 32px);
    line-height: 1.22;
}

section.bp-article .content-container h3 {
    margin: 1.9em 0 .6em;
    font-size: clamp(21px, 1.9vw, 25px);
    line-height: 1.3;
}

section.bp-article .content-container h4,
section.bp-article .content-container h5,
section.bp-article .content-container h6 {
    margin: 1.7em 0 .55em;
    font-size: 20px;
    line-height: 1.35;
}

section.bp-article .content-container hr + h1,
section.bp-article .content-container hr + h2,
section.bp-article .content-container hr + h3,
section.bp-article .content-container div:has(> hr:only-child) + h2,
section.bp-article .content-container div:has(> hr:only-child) + h3 {
    margin-top: 0;
}

/* Opening paragraph reads as a short lead-in */
section.bp-article .content-container > h2:first-child + p,
section.bp-article .content-container > p:first-child {
    font-size: 1.1em;
    line-height: 1.7;
    color: #26334a;
}

section.bp-article .content-container strong,
section.bp-article .content-container b {
    font-weight: 700;
    color: var(--bp-ink);
}

section.bp-article .content-container a {
    color: var(--bp-blue);
    font-weight: 600;
    text-decoration: underline !important; /* style.css removes it from every link */
    text-decoration-thickness: 1.5px !important;
    text-underline-offset: 3px;
    transition: color .2s;
}

section.bp-article .content-container a:hover {
    color: var(--bp-blue-dark);
}

section.bp-article .content-container a span,
section.bp-article .content-container a u {
    color: inherit !important;
    text-decoration: none;
}

section.bp-article .content-container a:focus-visible {
    outline: 3px solid var(--bp-blue-light);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ---- Lists ---- */
section.bp-article .content-container ul,
section.bp-article .content-container ol {
    margin: 0 0 1.5em;
    padding-left: 0;
}

section.bp-article .content-container ul {
    list-style: none;
}

section.bp-article .content-container ul > li {
    position: relative;
    margin-bottom: .55em;
    padding-left: 1.75em;
}

section.bp-article .content-container ul > li::before {
    content: "";
    position: absolute;
    top: .72em;
    left: .38em;
    width: .42em;
    height: .42em;
    border-radius: 50%;
    background: var(--bp-blue);
    box-shadow: 0 0 0 4px rgba(47, 111, 214, .14);
}

section.bp-article .content-container ol {
    padding-left: 1.45em;
}

section.bp-article .content-container ol > li {
    margin-bottom: .55em;
    padding-left: .35em;
}

section.bp-article .content-container ol > li::marker {
    font-family: var(--bp-font-display);
    font-weight: 800;
    color: var(--bp-blue);
}

section.bp-article .content-container li > ul,
section.bp-article .content-container li > ol {
    margin: .55em 0 0;
}

section.bp-article .content-container li > p:last-child {
    margin-bottom: 0;
}

/* ---- Media ---- */
section.bp-article .content-container img {
    display: block;
    max-width: 100%;
    height: auto !important;
    margin: 2.1rem auto;
    border-radius: 22px;
    box-shadow: 0 24px 48px -28px rgba(16, 24, 40, .45);
}

section.bp-article .content-container p > img:only-child {
    margin-bottom: 0;
}

section.bp-article .content-container figure {
    margin: 2.1rem 0;
}

section.bp-article .content-container figure img {
    margin: 0 auto;
}

section.bp-article .content-container figcaption {
    margin-top: .85rem;
    font-size: 14px;
    line-height: 1.5;
    color: var(--bp-muted);
    text-align: center;
}

section.bp-article .content-container iframe,
section.bp-article .content-container video {
    display: block;
    max-width: 100%;
    margin: 2.1rem auto;
    border: 0;
    border-radius: 18px;
}

/* ---- Dividers, quotes, tables, code ---- */
section.bp-article .content-container hr {
    height: 1px;
    margin: 3.2rem 0;
    border: 0;
    background: linear-gradient(90deg, transparent, #dfe3ea 12%, #dfe3ea 88%, transparent);
    opacity: 1;
}

section.bp-article .content-container blockquote {
    margin: 2.1rem 0;
    padding: 1.35rem 1.6rem;
    border-left: 4px solid var(--bp-blue);
    border-radius: 0 18px 18px 0;
    background: #f3f7fd;
    font-size: 1.05em;
    font-weight: 500;
    color: var(--bp-ink);
}

section.bp-article .content-container blockquote > :last-child {
    margin-bottom: 0;
}

section.bp-article .content-container table {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 2.1rem 0;
    overflow-x: auto;
    border-collapse: collapse;
    font-size: 16px;
    line-height: 1.55;
}

section.bp-article .content-container th,
section.bp-article .content-container td {
    padding: 13px 16px;
    border-bottom: 1px solid var(--bp-line);
    text-align: left;
    vertical-align: top;
}

section.bp-article .content-container th {
    background: #f3f7fd;
    font-family: var(--bp-font-display);
    font-weight: 800;
    color: var(--bp-ink);
}

section.bp-article .content-container code {
    padding: .15em .4em;
    border-radius: 6px;
    background: #f2f4f7;
    font-size: .9em;
    color: var(--bp-ink);
}

section.bp-article .content-container pre {
    margin: 2.1rem 0;
    padding: 1.2rem 1.4rem;
    overflow-x: auto;
    border-radius: 16px;
    background: var(--bp-navy);
    font-size: 15px;
    line-height: 1.65;
    color: #e6edf7;
}

section.bp-article .content-container pre code {
    padding: 0;
    background: none;
    color: inherit;
}

/* ==========================================================================
   3. Related posts (same card language as the /blogs list)
   ========================================================================== */

section.bp-article .bp-related {
    margin: 88px 0 0 !important;
    padding-top: 76px;
    border-top: 1px solid var(--bp-line);
}

section.bp-article .bp-related .collection_header {
    margin: 0 0 38px;
    font-family: var(--bp-font-display);
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 800;
    line-height: 48px;
    letter-spacing: -.02em;
    color: var(--bp-ink);
}

section.bp-article .bp-related .collection_header span {
    color: var(--bp-blue) !important;
}

section.bp-article .bp-related .blog_slider {
    position: relative;
    margin: 0;
    padding: 0 !important;
}

section.bp-article .bp-related .owl-stage-outer {
    padding: 0;
}

/* equal-height cards */
section.bp-article .bp-related .owl-stage {
    display: flex;
}

section.bp-article .bp-related .owl-stage::after {
    display: none;
}

section.bp-article .bp-related .owl-item {
    display: flex;
    float: none;
}

section.bp-article .bp-related .owl-item > .col-12 {
    display: flex;
    width: 100%;
    padding: 0;
}

section.bp-article .bp-related .blog_a {
    display: flex;
    width: 100%;
    color: inherit;
    text-decoration: none;
}

section.bp-article .bp-related .blog_a:focus-visible {
    outline: 3px solid var(--bp-blue-light);
    outline-offset: -3px;
    border-radius: 26px;
}

section.bp-article .bp-related .blog_card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    padding: 0;
    overflow: hidden;
    border: 1px solid #e6e8ec;
    border-radius: 26px;
    background: #fff;
    text-align: left;
    transition: border-color .25s;
}

section.bp-article .bp-related .blog_a:hover .blog_card {
    border-color: #bcd0f2;
}

section.bp-article .bp-related .blog_card > .position-relative {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #eef2f7;
}

section.bp-article .bp-related .blog_card img {
    display: block;
    width: 100%;
    height: 100% !important;
    border-radius: 0;
    object-fit: cover;
    transition: transform .5s ease-out;
}

section.bp-article .bp-related .blog_a:hover .blog_card img {
    transform: scale(1.06);
}

section.bp-article .bp-related .blog-post-date-tag {
    top: 16px !important;
    right: auto !important;
    bottom: auto !important;
    left: 18px !important;
    z-index: 2;
}

section.bp-article .bp-related .blog-post-date-tag .badge {
    display: inline-block;
    padding: 9px 15px;
    border-radius: 999px !important;
    background: #fff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .1);
    font-family: var(--bp-font-body);
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #111827;
}

/* the older ribbon-style date tag draws a folded corner here */
section.bp-article .bp-related .blog-post-date-tag .badge::before,
section.bp-article .bp-related .blog-post-date-tag .badge::after {
    display: none;
}

section.bp-article .bp-related .blog_head {
    margin: 0;
    padding: 26px 28px 0;
    font-family: var(--bp-font-display);
    font-size: 20px;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -.01em;
    color: var(--bp-ink);
    text-align: left !important;
    transition: color .2s;
}

section.bp-article .bp-related .blog_a:hover .blog_head {
    color: var(--bp-blue);
}

section.bp-article .bp-related .blog_card > p {
    display: -webkit-box;
    margin: 12px 28px 0;
    padding: 0;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    font-family: var(--bp-font-body);
    font-size: 15px !important;
    line-height: 1.7;
    color: var(--bp-muted);
}

section.bp-article .bp-related .blog_card .read-more {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 10px;
    margin: auto 28px 0 !important;
    padding: 22px 0 28px;
    border-radius: 0;
    background: none;
    font-family: var(--bp-font-body);
    font-size: 15px;
    font-weight: 700 !important;
    line-height: 1.2;
    color: var(--bp-blue);
}

section.bp-article .bp-related .blog_card .read-more::after {
    content: "\F138"; /* bi-arrow-right */
    font-family: "bootstrap-icons";
    font-size: 15px;
    font-weight: 400;
    line-height: 1;
    transition: transform .3s;
}

section.bp-article .bp-related .blog_a:hover .read-more::after {
    transform: translateX(5px);
}

/* carousel controls */
section.bp-article .bp-related .owl-dots {
    margin-top: 30px;
    text-align: center;
}

section.bp-article .bp-related .owl-dots.disabled,
section.bp-article .bp-related .owl-nav.disabled {
    display: none !important;
}

section.bp-article .bp-related .blog_slider .owl-dots button.owl-dot {
    width: 8px;
    height: 8px;
    margin: 0 5px;
    padding: 0;
    border-radius: 999px;
    background-color: #d5dbe6 !important;
    transition: width .25s, background-color .25s;
}

section.bp-article .bp-related .blog_slider .owl-dots button.owl-dot.active {
    width: 26px;
    background-color: var(--bp-blue) !important;
}

section.bp-article .bp-related .blog_slider .owl-dots button.owl-dot span {
    display: none;
}

section.bp-article .bp-related .owl-nav {
    display: block;
}

section.bp-article .bp-related .blog_slider .owl-nav button.owl-prev,
section.bp-article .bp-related .blog_slider .owl-nav button.owl-next {
    position: absolute;
    top: -86px; /* heading: 48px line + 38px gap */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0 !important;
    border: 1px solid var(--bp-line) !important;
    border-radius: 50% !important;
    background: #fff !important;
    box-shadow: 0 12px 24px -12px rgba(16, 24, 40, .4);
    font-size: 15px !important;
    color: var(--bp-ink) !important;
    transition: background-color .2s, border-color .2s, color .2s;
}

section.bp-article .bp-related .blog_slider .owl-nav button.owl-prev {
    right: 58px;
    left: auto;
}

section.bp-article .bp-related .blog_slider .owl-nav button.owl-next {
    right: 0;
    left: auto;
}

section.bp-article .bp-related .blog_slider .owl-nav button:hover {
    border-color: var(--bp-blue) !important;
    background: var(--bp-blue) !important;
    color: #fff !important;
}

section.bp-article .bp-related .blog_slider .owl-nav button.disabled {
    opacity: .45;
    pointer-events: none;
}

/* ==========================================================================
   4. "What to know" guide (beige band under the article)
   ========================================================================== */

/* Full-width band without adding wrapper markup: the colour is painted out past the container. */
section.bp-article > .container > .text-center.my-5,
section.bp-article > .container > .row {
    background: var(--bp-beige);
    box-shadow: 0 0 0 100vmax var(--bp-beige);
    clip-path: inset(0 -100vmax);
}

section.bp-article > .container > .text-center.my-5 {
    margin: 96px 0 0 !important;
    padding: 92px 0 30px;
}

section.bp-article > .container > .row {
    margin-top: 0;
    padding-bottom: 78px;
}

section.bp-article > .container > .text-center h2,
section.bp-article > .container > .row .text-center h2 {
    max-width: 780px;
    margin: 0 auto;
    font-family: var(--bp-font-display);
    font-size: clamp(27px, 3vw, 42px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.02em;
    color: var(--bp-ink);
    text-wrap: balance;
}

section.bp-article > .container > .text-center h2 .logo_color,
section.bp-article > .container > .row .text-center h2 .logo_color {
    color: var(--bp-blue) !important;
}

section.bp-article > .container > .row .text-center.my-5 {
    margin: 52px 0 6px !important;
}

/* Each column becomes a white card. The columns carry an inline 12px padding,
   so the card surface is drawn on a pseudo-element inside that padding. */
section.bp-article > .container > .row > [class*="col-md-"] {
    position: relative;
}

section.bp-article > .container > .row > [class*="col-md-"]::before {
    content: "";
    position: absolute;
    inset: 12px;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 0 0 1px var(--bp-line), 0 18px 36px -30px rgba(16, 24, 40, .4);
}

section.bp-article > .container > .row > [class*="col-md-"] > * {
    position: relative;
}

section.bp-article > .container > .row > [class*="col-md-"] > h4 {
    margin: 0 !important;
    padding: 30px 30px 0;
    font-family: var(--bp-font-display);
    font-size: 20px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -.01em;
    color: var(--bp-ink);
}

section.bp-article > .container > .row > [class*="col-md-"] > h4:first-child::before {
    content: "";
    display: block;
    width: 36px;
    height: 4px;
    margin-bottom: 18px;
    border-radius: 4px;
    background: var(--bp-blue);
}

section.bp-article > .container > .row > [class*="col-md-"] > p {
    margin: 0 !important;
    padding: 10px 30px 32px;
    font-family: var(--bp-font-body);
    font-size: 15.5px;
    line-height: 1.75;
    color: var(--bp-text);
}

section.bp-article > .container > .row > [class*="col-md-"] > img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 22px 22px 0 0;
    object-fit: cover;
}

section.bp-article > .container > .row > [class*="col-md-"] > img + h4 {
    padding-top: 26px;
}

/* ==========================================================================
   5. Closing panel
   ========================================================================== */

section.bp-cta.black_bg {
    padding: 0 0 104px !important;
    background: var(--bp-beige) !important;
}

section.bp-cta > .container {
    position: relative;
    overflow: hidden;
    padding: 68px 76px;
    border-radius: 30px;
    background:
        radial-gradient(560px 320px at 92% 0%, rgba(47, 111, 214, .42), transparent 62%),
        linear-gradient(135deg, #0b1d33 0%, #14304f 100%);
    box-shadow: 0 40px 80px -44px rgba(11, 29, 51, .7);
    color: #fff;
}

section.bp-cta .main_headline {
    max-width: 820px;
    margin: 0 0 20px;
    padding: 0;
    font-family: var(--bp-font-display);
    font-size: clamp(26px, 3vw, 40px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.02em;
    color: #fff;
    text-wrap: balance;
}

section.bp-cta .main_headline .logo_color {
    color: var(--bp-blue-light) !important;
}

section.bp-cta > .container > p {
    max-width: 900px;
    margin: 0;
    padding: 0 !important;
    font-family: var(--bp-font-body);
    font-size: 16.5px;
    line-height: 1.8;
    color: #c9d4e3 !important;
}

/* ==========================================================================
   6. Responsive
   ========================================================================== */

/* Let article photos run a little wider than the text column on large screens */
@media (min-width: 1200px) {
    section.bp-article .content-container img {
        width: calc(100% + 160px) !important;
        max-width: none;
        margin-right: -80px;
        margin-left: -80px;
    }
}

@media (max-width: 991.98px) {
    section.bp-hero,
    section.bp-article,
    section.bp-cta {
        --bp-overlap: 110px;
    }

    section.bp-hero.black_bg {
        padding-top: 132px !important;
    }

    section.bp-hero .bp-featured {
        margin-top: 44px;
        border-radius: 24px;
    }

    section.bp-article > .container {
        padding-top: calc(var(--bp-overlap) + 56px) !important;
    }

    section.bp-article .bp-related {
        margin-top: 72px !important;
        padding-top: 64px;
    }

    section.bp-article > .container > .text-center.my-5 {
        margin-top: 80px !important;
        padding: 72px 0 24px;
    }

    section.bp-cta > .container {
        padding: 52px 44px;
    }
}

/* Tablet: two guide cards per row; three are too narrow for the longer texts */
@media (min-width: 768px) and (max-width: 991.98px) {
    section.bp-article > .container > .row > .col-md-4 {
        width: 50%;
    }

    section.bp-article > .container > .row > .col-md-8 {
        width: 100%;
    }
}

@media (max-width: 767.98px) {
    section.bp-hero,
    section.bp-article,
    section.bp-cta {
        --bp-overlap: 64px;
    }

    section.bp-hero.black_bg {
        padding-top: 116px !important;
    }

    section.bp-hero > .container > p {
        margin-top: 16px;
    }

    section.bp-hero .bp-meta {
        gap: 8px;
        margin-top: 24px;
        font-size: 13px;
    }

    section.bp-hero .bp-meta-item {
        min-height: 38px;
        padding: 0 14px;
    }

    section.bp-hero .bp-featured {
        aspect-ratio: 16 / 10;
        margin-top: 34px;
        border-radius: 20px;
    }

    section.bp-article > .container {
        padding-top: calc(var(--bp-overlap) + 44px) !important;
    }

    section.bp-article .content-container {
        font-size: 17px;
        line-height: 1.75;
    }

    section.bp-article .content-container > h2:first-child + p,
    section.bp-article .content-container > p:first-child {
        font-size: 1.06em;
    }

    section.bp-article .content-container img {
        margin: 1.7rem auto;
        border-radius: 16px;
    }

    section.bp-article .content-container hr {
        margin: 2.5rem 0;
    }

    section.bp-article .bp-related {
        margin-top: 60px !important;
        padding-top: 52px;
    }

    section.bp-article .bp-related .collection_header {
        margin-bottom: 28px;
        text-align: left;
    }

    section.bp-article .bp-related .blog_slider .owl-nav button.owl-prev,
    section.bp-article .bp-related .blog_slider .owl-nav button.owl-next {
        top: -76px;
    }

    section.bp-article .bp-related .blog_head {
        padding: 22px 22px 0;
        font-size: 18px;
    }

    section.bp-article .bp-related .blog_card > p {
        margin: 10px 22px 0;
        font-size: 14px !important;
    }

    section.bp-article .bp-related .blog_card .read-more {
        margin: auto 22px 0 !important;
        padding: 18px 0 24px;
        font-size: 14px;
    }

    section.bp-article > .container > .text-center.my-5 {
        margin-top: 64px !important;
        padding: 56px 0 18px;
    }

    section.bp-article > .container > .row {
        padding-bottom: 52px;
    }

    section.bp-article > .container > .row > [class*="col-md-"] > h4 {
        padding: 26px 24px 0;
        font-size: 19px;
    }

    section.bp-article > .container > .row > [class*="col-md-"] > p {
        padding: 8px 24px 28px;
        font-size: 15px;
    }

    section.bp-cta.black_bg {
        padding-bottom: 72px !important;
    }

    section.bp-cta > .container {
        width: auto;
        margin-right: 24px;
        margin-left: 24px;
        padding: 40px 26px;
        border-radius: 24px;
    }

    section.bp-cta > .container > p {
        font-size: 15.5px;
        line-height: 1.75;
    }
}

/* Swipe and dots are enough on phones */
@media (max-width: 575.98px) {
    section.bp-article .bp-related .owl-nav {
        display: none !important;
    }

    section.bp-article .bp-related .collection_header {
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    section.bp-hero *,
    section.bp-article * {
        transition: none !important;
    }
}
