/* ==========================================================
   CoregenX Blog Post Detail Styles (css/blog-post.css)
   Clean, conversion-focused, mobile-first article layout
   Type scale, colors & components align with RECORD-BOOK.md
   Sticky sidebar from 992px; single column below 992px
   Animations: transform & opacity only; off for reduced motion
   ========================================================== */

/* Main layout wrapper */
.bpWrap {
    width: min(1320px, calc(100% - 2 * clamp(16px, 4vw, 40px)));
    margin-inline: auto;
}

.bpSection {
    padding: clamp(32px, 5vw, 64px) 0 clamp(48px, 6vw, 80px);
}

/* Two-column layout: 8/12 article, 4/12 sticky sidebar from 992px */
.bpLayout {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(32px, 4vw, 56px);
    align-items: start;
}

@media (min-width: 992px) {
    .bpLayout {
        grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
    }
}

/* ---------- Left Column: Article ---------- */
.bpArticle {
    background: #ffffff;
    min-width: 0;
}

/* Article Header */
.bpHeader {
    margin-bottom: clamp(24px, 3.5vw, 36px);
}

.bpMetaRow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-family: 'Open Sans', sans-serif;
    font-size: 13.5px;
    color: #868b9b;
}

.bpTag {
    display: inline-block;
    padding: 3px 12px;
    background: #f1edfe;
    color: #5b3fd0;
    font-family: 'Jost', sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 999px;
}

.bpMetaDivider {
    color: #cfd2dc;
    user-select: none;
}

.bpMetaItem {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.bpMetaIcon {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Eyebrows (theme scale) */
.bpEyebrow,
.wddEyebrow {
    margin: 0 0 10px;
    font-family: 'Jost', sans-serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 4.5px;
    text-transform: uppercase;
    color: #d9265f;
}

@media (max-width: 1199px) {
    .bpEyebrow,
    .wddEyebrow {
        letter-spacing: 3.5px;
    }
}

@media (max-width: 767px) {
    .bpEyebrow,
    .wddEyebrow {
        font-size: 13px;
        letter-spacing: 2.5px;
    }
}

/* Article H1 (theme scale: 32px desktop, 30px <=1199, 28px <=991, 24px phones) */
.bpTitle {
    margin: 0 0 20px;
    font-family: 'Jost', sans-serif;
    font-size: 32px;
    font-weight: 500;
    line-height: 1.25;
    color: #343c55;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

@media (max-width: 1199px) {
    .bpTitle {
        font-size: 30px;
    }
}

@media (max-width: 991px) {
    .bpTitle {
        font-size: 28px;
    }
}

@media (max-width: 767px) {
    .bpTitle {
        font-size: 24px;
        margin-bottom: 16px;
    }
}

/* Intro lead paragraph (theme scale: 17px desktop, 15px phones) */
.bpLead {
    margin: 0 0 24px;
    font-family: 'Open Sans', sans-serif;
    font-size: 17px;
    line-height: 26px;
    color: #5e6371;
    font-weight: 400;
}

@media (max-width: 767px) {
    .bpLead {
        font-size: 15px;
        line-height: 24px;
        margin-bottom: 20px;
    }
}

/* Featured Hero Image */
.bpFeaturedImage {
    margin: 0 0 clamp(28px, 4vw, 40px);
    border-radius: 16px;
    overflow: hidden;
    background: #f8f8fc;
    border: 1px solid #e9eaf2;
    box-shadow: 0 10px 30px -10px rgba(16, 19, 42, 0.08);
}

.bpFeaturedImage img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Key Takeaways Card */
.bpTakeaways {
    margin: 0 0 clamp(28px, 4vw, 36px);
    padding: clamp(20px, 3vw, 28px);
    background: linear-gradient(135deg, #f7f6fc 0%, #fbfaff 100%);
    border: 1px solid #e4e0fa;
    border-left: 4px solid #5b3fd0;
    border-radius: 14px;
    box-shadow: 0 4px 16px -6px rgba(91, 63, 208, 0.08);
}

.bpTakeawaysHead {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.bpTakeawaysIcon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #5b3fd0;
    color: #ffffff;
    border-radius: 8px;
    flex-shrink: 0;
}

.bpTakeawaysIcon svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.bpTakeawaysTitle {
    margin: 0;
    font-family: 'Jost', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #343c55;
    letter-spacing: 0.2px;
}

.bpTakeawaysList {
    margin: 0;
    padding-left: 22px;
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    line-height: 25px;
    color: #4b5162;
}

.bpTakeawaysList li {
    margin-bottom: 8px;
}

.bpTakeawaysList li:last-child {
    margin-bottom: 0;
}

/* Table of Contents Card */
.bpToc {
    margin: 0 0 clamp(32px, 4.5vw, 44px);
    padding: clamp(18px, 2.5vw, 24px) clamp(20px, 3vw, 28px);
    background: #ffffff;
    border: 1px solid #e9eaf2;
    border-radius: 14px;
    box-shadow: 0 4px 20px -8px rgba(15, 20, 48, 0.06);
}

.bpTocTitle {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    font-family: 'Jost', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #343c55;
}

.bpTocTitle svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: #5b3fd0;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.bpTocList {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bpTocLink {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    font-family: 'Open Sans', sans-serif;
    font-size: 14.5px;
    line-height: 22px;
    color: #5e6371;
    text-decoration: none;
    transition: color .2s ease, transform .2s ease;
}

.bpTocLink::before {
    content: "•";
    color: #5b3fd0;
    font-size: 16px;
    line-height: 1;
}

.bpTocLink:hover,
.bpTocLink:focus-visible {
    color: #5b3fd0;
    transform: translateX(4px);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Article Prose */
.bpBody,
.bpContent {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 26px;
    color: #5e6371;
}

.bpBody p,
.bpContent p {
    margin: 0 0 20px;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 26px;
    color: #5e6371;
}

.bpBody h2,
.bpContent h2,
.bpArticle h2:not(.bpTakeawaysTitle):not(.bpTocTitle) {
    margin: 36px 0 14px;
    font-family: 'Jost', sans-serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.25;
    color: #343c55;
    scroll-margin-top: 100px;
}

.bpBody h3,
.bpContent h3 {
    margin: 28px 0 12px;
    font-family: 'Jost', sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.3;
    color: #343c55;
    scroll-margin-top: 100px;
}

.bpBody h4,
.bpContent h4 {
    margin: 22px 0 10px;
    font-family: 'Jost', sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.35;
    color: #343c55;
    scroll-margin-top: 100px;
}

@media (max-width: 767px) {
    .bpBody,
    .bpContent,
    .bpBody p,
    .bpContent p,
    .bpBody li,
    .bpContent li {
        font-size: 15px;
        line-height: 24px;
    }

    .bpBody h2,
    .bpContent h2,
    .bpArticle h2:not(.bpTakeawaysTitle):not(.bpTocTitle) {
        font-size: 21px;
        margin-top: 28px;
    }

    .bpBody h3,
    .bpContent h3 {
        font-size: 18px;
        margin-top: 22px;
    }

    .bpBody h4,
    .bpContent h4 {
        font-size: 16px;
    }
}

.bpBody ul,
.bpContent ul,
.bpBody ol,
.bpContent ol {
    margin: 0 0 24px;
    padding-left: 24px;
}

.bpBody li,
.bpContent li {
    margin-bottom: 8px;
    line-height: 26px;
}

.bpBody a,
.bpContent a {
    color: #5b3fd0;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color .2s ease;
}

.bpBody a:hover,
.bpContent a:hover {
    color: #d9265f;
}

/* Inline In-Article Images */
.bpBody img,
.bpContent img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: clamp(24px, 3.5vw, 36px) auto;
    border-radius: 14px;
    border: 1px solid #e9eaf2;
    box-shadow: 0 6px 20px -8px rgba(15, 20, 48, 0.08);
}

/* Pull Quotes / Highlight Boxes */
.bpCallout,
.bpHighlight {
    margin: clamp(24px, 3.5vw, 36px) 0;
    padding: clamp(20px, 3vw, 26px);
    background: #f7f6fc;
    border-left: 4px solid #5b3fd0;
    border-radius: 12px;
}

.bpCallout p:last-child,
.bpHighlight p:last-child {
    margin-bottom: 0;
}

.bpQuote {
    margin: clamp(28px, 4vw, 40px) 0;
    padding: clamp(20px, 3vw, 28px) clamp(22px, 3.5vw, 32px);
    background: #ffffff;
    border: 1px solid #e9eaf2;
    border-left: 4px solid #d9265f;
    border-radius: 14px;
    box-shadow: 0 4px 16px -6px rgba(15, 20, 48, 0.06);
    font-style: italic;
    color: #343c55;
    font-size: 16.5px;
    line-height: 27px;
}

.bpQuote p:last-child {
    margin-bottom: 0;
}

/* Author Box */
.bpAuthorBox {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: clamp(36px, 5vw, 48px);
    padding: 20px 24px;
    background: #fcfbfe;
    border: 1px solid #e9eaf2;
    border-radius: 14px;
}

.bpAuthorAvatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #5b3fd0;
    color: #ffffff;
    font-family: 'Jost', sans-serif;
    font-weight: 600;
    font-size: 18px;
    flex-shrink: 0;
}

.bpAuthorInfo {
    flex: 1;
}

.bpAuthorName {
    margin: 0 0 4px;
    font-family: 'Jost', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #343c55;
}

.bpAuthorDesc {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    font-size: 13.5px;
    line-height: 20px;
    color: #868b9b;
}

/* Post Bottom CTA Band (Violet band) */
.bpPostCtaBand {
    margin-top: 40px;
    padding: 32px 30px;
    background: #432d92;
    border-radius: 16px;
    color: rgba(255, 255, 255, 0.84);
    box-shadow: 0 12px 32px -10px rgba(67, 45, 146, 0.35);
}

@media (max-width: 767px) {
    .bpPostCtaBand {
        padding: 24px 20px;
        margin-top: 32px;
    }
}

.bpPostCtaContent .bpEyebrow,
.bpPostCtaContent .wddEyebrow {
    color: #f9758f;
    margin-bottom: 8px;
}

.bpPostCtaContent h3,
.bpPostCtaContent h2 {
    margin: 0 0 10px;
    font-family: 'Jost', sans-serif;
    font-size: 32px;
    font-weight: 500;
    line-height: 1.25;
    color: #ffffff;
}

@media (max-width: 1199px) {
    .bpPostCtaContent h3,
    .bpPostCtaContent h2 {
        font-size: 30px;
    }
}

@media (max-width: 991px) {
    .bpPostCtaContent h3,
    .bpPostCtaContent h2 {
        font-size: 28px;
    }
}

@media (max-width: 767px) {
    .bpPostCtaContent h3,
    .bpPostCtaContent h2 {
        font-size: 24px;
    }
}

.bpPostCtaContent p {
    margin: 0 0 20px;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 26px;
    color: rgba(255, 255, 255, 0.84);
    max-width: 640px;
}

@media (max-width: 767px) {
    .bpPostCtaContent p {
        font-size: 15px;
        line-height: 24px;
    }
}

.bpPostCtaBtns {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.bpPostCtaBand .bpBtn--call,
.bpPostCtaBand .bpBtn--outline,
.bpPostCtaBand .wddBtn--work,
.bpPostCtaBand .wddBtn--outline {
    background: rgba(255, 255, 255, 0.06);
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    color: #ffffff;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.bpPostCtaBand .bpBtn--call:hover,
.bpPostCtaBand .bpBtn--call:focus-visible,
.bpPostCtaBand .bpBtn--outline:hover,
.bpPostCtaBand .bpBtn--outline:focus-visible,
.bpPostCtaBand .wddBtn--work:hover,
.bpPostCtaBand .wddBtn--work:focus-visible,
.bpPostCtaBand .wddBtn--outline:hover,
.bpPostCtaBand .wddBtn--outline:focus-visible {
    background: #ffffff;
    border-color: #ffffff;
    color: #432d92;
}

/* Button styles */
.bpBtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 10px 22px;
    border-radius: 999px;
    font-family: 'Jost', sans-serif;
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
    border: 1px solid transparent;
}

.bpBtn:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.bpBtn--primary {
    background: #d9265f;
    color: #ffffff;
    box-shadow: 0 6px 18px -4px rgba(217, 38, 95, 0.45);
}

.bpBtn--primary:hover {
    background: #be184e;
    color: #ffffff;
    box-shadow: 0 8px 22px -4px rgba(217, 38, 95, 0.55);
}

.bpBtn--wa {
    background: linear-gradient(135deg, #0c8a72 0%, #0b6f80 100%);
    color: #ffffff;
    box-shadow: 0 6px 18px -4px rgba(12, 138, 114, 0.4);
}

.bpBtn--wa:hover {
    background: linear-gradient(135deg, #0b7863 0%, #095c6b 100%);
    color: #ffffff;
}

.bpBtn--call {
    background: #22242e;
    color: #ffffff;
    border: 1px solid #373a48;
}

.bpBtn--call:hover {
    background: #2c2f3c;
    color: #ffffff;
}

.bpBtn--outline {
    background: transparent;
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.bpBtn--outline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-color: #ffffff;
}

.bpBtnIcon {
    width: 17px;
    height: 17px;
    fill: currentColor;
    flex-shrink: 0;
}

.bpBtnIcon--stroke {
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* ---------- Right Column: Sticky Sidebar ---------- */
.bpSidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 0;
}

@media (min-width: 992px) {
    .bpSidebar {
        position: sticky;
        top: 96px;
    }
}

/* Shared Sidebar Card Container */
.bpSidebarCard {
    background: #ffffff;
    border: 1px solid #e9eaf2;
    border-radius: 16px;
    padding: clamp(20px, 3vw, 24px);
    box-shadow: 0 4px 16px -8px rgba(15, 20, 48, 0.06);
}

.bpSidebarTitle {
    margin: 0 0 16px;
    font-family: 'Jost', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #343c55;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f6;
    letter-spacing: 0.2px;
}

/* --- Block 1: Get a Free Quote Card (Violet band) --- */
.bpSidebarCard--quote {
    background: #432d92;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.84);
    box-shadow: 0 10px 28px -8px rgba(67, 45, 146, 0.35);
}

.bpSidebarCard--quote .bpSidebarTitle {
    color: #ffffff;
    border-bottom-color: rgba(255, 255, 255, 0.16);
}

.bpSidebarCard--quote .bpEyebrow,
.bpSidebarCard--quote .wddEyebrow {
    color: #f9758f;
}

.bpQuoteText {
    margin: 0 0 18px;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    line-height: 22px;
    color: rgba(255, 255, 255, 0.84);
}

.bpQuoteActions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bpQuoteActions .bpBtn {
    width: 100%;
}

.bpSidebarCard--quote .bpBtn--call,
.bpSidebarCard--quote .bpBtn--outline,
.bpSidebarCard--quote .wddBtn--work,
.bpSidebarCard--quote .wddBtn--outline {
    background: rgba(255, 255, 255, 0.06);
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    color: #ffffff;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.bpSidebarCard--quote .bpBtn--call:hover,
.bpSidebarCard--quote .bpBtn--call:focus-visible,
.bpSidebarCard--quote .bpBtn--outline:hover,
.bpSidebarCard--quote .bpBtn--outline:focus-visible,
.bpSidebarCard--quote .wddBtn--work:hover,
.bpSidebarCard--quote .wddBtn--work:focus-visible,
.bpSidebarCard--quote .wddBtn--outline:hover,
.bpSidebarCard--quote .wddBtn--outline:focus-visible {
    background: #ffffff;
    border-color: #ffffff;
    color: #432d92;
}

/* --- Block 2: Our Services List --- */
.bpServicesList {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.bpServiceItemLink {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 12px;
    border-radius: 10px;
    font-family: 'Open Sans', sans-serif;
    font-size: 14.5px;
    color: #4b5162;
    text-decoration: none;
    background: transparent;
    transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.bpServiceItemLink:hover,
.bpServiceItemLink:focus-visible {
    background: #f7f6fc;
    color: #5b3fd0;
    text-decoration: none;
    transform: translateX(3px);
}

.bpServiceItemLink.is-current {
    background: #f1edfe;
    color: #5b3fd0;
    font-weight: 600;
}

.bpServiceBadge {
    display: inline-block;
    padding: 2px 8px;
    font-size: 11px;
    font-family: 'Jost', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    background: #5b3fd0;
    color: #ffffff;
    border-radius: 999px;
    letter-spacing: 0.4px;
}

.bpServiceArrow {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.6;
    transition: transform .2s ease, opacity .2s ease;
}

.bpServiceItemLink:hover .bpServiceArrow {
    opacity: 1;
    transform: translateX(2px);
}

/* --- Block 3: Follow Us Social Links --- */
.bpSocialList {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.bpSocialLink {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 8px 12px;
    background: #fcfbfe;
    border: 1px solid #e9eaf2;
    border-radius: 10px;
    font-family: 'Jost', sans-serif;
    font-size: 13.5px;
    font-weight: 500;
    color: #4b5162;
    text-decoration: none;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.bpSocialLink:hover,
.bpSocialLink:focus-visible {
    background: #ffffff;
    border-color: #5b3fd0;
    color: #5b3fd0;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px -3px rgba(91, 63, 208, 0.15);
}

.bpSocialIcon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    fill: currentColor;
}

/* --- Block 4: More From the Blog Cards --- */
.bpRelatedList {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bpRelatedCard {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    padding: 6px;
    border-radius: 12px;
    transition: background-color .2s ease, transform .2s ease;
}

.bpRelatedCard:hover,
.bpRelatedCard:focus-visible {
    background: #f7f6fc;
    text-decoration: none;
    transform: translateY(-1px);
}

.bpRelatedThumb {
    width: 88px;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
    background: #f0f0f6;
    flex-shrink: 0;
}

.bpRelatedThumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bpRelatedInfo {
    flex: 1;
    min-width: 0;
}

.bpRelatedTitle {
    margin: 0;
    font-family: 'Jost', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
    color: #343c55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .2s ease;
}

.bpRelatedCard:hover .bpRelatedTitle {
    color: #5b3fd0;
}


/* ---------- Mobile Quick-Contact Bar ---------- */
.wddSticky {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 998;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(16, 19, 42, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
    transform: translateY(110%);
    opacity: 0;
    visibility: hidden;
    transition: transform .25s ease, opacity .25s ease, visibility .25s ease;
}

.wddSticky.is-on {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

@media (min-width: 992px) {
    .wddSticky {
        display: none !important;
    }
}

.wddSticky a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 44px;
    padding: 8px 14px;
    border-radius: 999px;
    font-family: 'Jost', sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    color: #ffffff;
    flex: 1;
    text-align: center;
}

.wddSticky a svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    flex-shrink: 0;
}

.wddSticky a svg.wddFill {
    fill: currentColor;
    stroke: none;
}

.wddSticky__call {
    background: #22242e;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.wddSticky__wa {
    background: linear-gradient(135deg, #0c8a72 0%, #0b6f80 100%);
}

.wddSticky__quote {
    background: #d9265f;
    box-shadow: 0 4px 12px rgba(217, 38, 95, 0.4);
}


/* ---------- Scroll-Reveal Animations ---------- */
[data-reveal] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .5s cubic-bezier(0.16, 1, 0.3, 1), transform .5s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

[data-reveal].is-in {
    opacity: 1;
    transform: translateY(0);
}


/* ---------- Accessibility & Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
    [data-reveal] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .bpBtn,
    .bpSocialLink,
    .bpServiceItemLink,
    .bpTocLink,
    .bpRelatedCard,
    .wddSticky {
        transition: none !important;
        transform: none !important;
    }
}

/* ==========================================================
   Owner (2026-10-20, batch 2): softer quote box in theme colours,
   smaller cover image, no blue hovers in the sidebar
   ========================================================== */

/* Get a Free Quote: light violet-to-mint card instead of the dark violet block */
.bpSidebarCard--quote {
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, #f4f1ff 0%, #ffffff 52%, #ebf9f3 100%);
    border: 1px solid #e4e0fa;
    color: #5e6371;
    box-shadow: 0 10px 28px -14px rgba(16, 19, 42, 0.18);
}

.bpSidebarCard--quote::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #d9265f 0%, #0c8a72 100%);
}

.bpSidebarCard--quote .bpSidebarTitle {
    color: #343c55;
    border-bottom-color: #ebe8f7;
}

.bpSidebarCard--quote .bpQuoteText {
    color: #5e6371;
}

.bpSidebarCard--quote .bpBtn--call,
.bpSidebarCard--quote .bpBtn--outline {
    background: #ffffff;
    border: 1.5px solid #22242e;
    color: #22242e;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

.bpSidebarCard--quote .bpBtn--call:hover,
.bpSidebarCard--quote .bpBtn--call:focus-visible,
.bpSidebarCard--quote .bpBtn--outline:hover,
.bpSidebarCard--quote .bpBtn--outline:focus-visible {
    background: #22242e;
    border-color: #22242e;
    color: #ffffff;
}

/* Cover image: shorter on tablets and desktop (whole image still shows on phones) */
@media (min-width: 768px) {
    .bpFeaturedImage img {
        aspect-ratio: 2.2 / 1;
        object-fit: cover;
        object-position: center;
    }
}

/* Sidebar and contents hovers: pink (CTA colour), current service in logo teal */
.bpServiceItemLink:hover,
.bpServiceItemLink:focus-visible {
    background: #fdf0f4;
    color: #d9265f;
}

.bpServiceItemLink.is-current {
    background: #e9f8f2;
    color: #0c8a72;
}

.bpServiceBadge {
    background: #0c8a72;
}

.bpSocialLink:hover,
.bpSocialLink:focus-visible {
    border-color: #d9265f;
    color: #d9265f;
    box-shadow: 0 4px 12px -3px rgba(217, 38, 95, 0.15);
}

.bpTocLink:hover,
.bpTocLink:focus-visible {
    color: #d9265f;
}

.bpRelatedCard:hover,
.bpRelatedCard:focus-visible {
    background: #fdf0f4;
}

.bpRelatedCard:hover .bpRelatedTitle {
    color: #d9265f;
}

/* Second pass: current service on the 6 posts that use --active; small in-body image kept near its natural size */
.bpServiceItemLink.bpServiceItemLink--active {
    background: #e9f8f2;
    color: #0c8a72;
    font-weight: 600;
}

.bpServiceItemLink.bpServiceItemLink--active .bpServiceArrow {
    color: #0c8a72;
    stroke: #0c8a72;
}

.bpBody img.bpImgNatural,
.bpContent img.bpImgNatural {
    width: 100%;
    max-width: 424px;
    height: auto;
}

/* ==========================================================
   Owner (2026-10-20, batch 4): logo theme colours instead of blue/purple accents,
   "Get a Free Quote" back to the site pink CTA gradient, real social icons,
   bottom "Ready to..." heading on one line
   ========================================================== */
.bpTag {
    background: #e9f8f2;
    color: #0c8a72;
}

.bpTakeaways {
    background: linear-gradient(135deg, #f2fbf7 0%, #fbfefd 100%);
    border-color: #d3f1e5;
    border-left-color: #1f9e8c;
    box-shadow: 0 4px 16px -6px rgba(12, 138, 114, 0.08);
}

.bpTakeawaysIcon {
    background: linear-gradient(135deg, #1f9e8c 0%, #4cdaa0 100%);
}

.bpTocTitle svg {
    stroke: #1f9e8c;
}

.bpTocLink::before {
    color: #1f9e8c;
}

.bpBody a,
.bpContent a {
    color: #0c8a72;
}

.bpCallout,
.bpHighlight {
    background: #f2fbf7;
    border-left-color: #1f9e8c;
}

.bpAuthorAvatar {
    background: linear-gradient(135deg, #1f9e8c 0%, #4cdaa0 100%);
}

/* Primary CTA: the site pink gradient (as on the service pages) */
.bpBtn--primary {
    background: linear-gradient(135deg, #f9577c 0%, #f9758f 100%);
    color: #ffffff;
    box-shadow: 0 6px 18px -6px rgba(249, 87, 124, 0.32);
}

.bpBtn--primary:hover,
.bpBtn--primary:focus-visible {
    background: linear-gradient(135deg, #ea4269 0%, #f85f7c 100%);
    color: #ffffff;
    box-shadow: 0 10px 22px -6px rgba(249, 87, 124, 0.42);
}

.bpSidebarCard--quote::before {
    background: linear-gradient(90deg, #f9577c 0%, #1f9e8c 100%);
}

@media (max-width: 991px) {
    .wddSticky__quote {
        background: linear-gradient(135deg, #f9577c 0%, #f9758f 100%);
        box-shadow: 0 4px 12px rgba(249, 87, 124, 0.4);
    }
}

/* Follow Us: brand icons in their own colours */
.bpSocialIcon {
    width: 22px;
    height: 22px;
}

/* Bottom CTA heading on one line (tablet and desktop): scales to the band width */
.bpPostCtaContent {
    container-type: inline-size;
}

@media (min-width: 768px) {
    .bpPostCtaContent h3,
    .bpPostCtaContent h2 {
        white-space: nowrap;
        font-size: min(28px, 3.65cqi);
    }
}

/* Mobile QA (2026-10-20): at 360px the quick-contact bar with three icon buttons
   ran ~5px past the right edge; trim inner padding so it fits */
@media (max-width: 380px) {
    .wddSticky {
        padding-left: 10px;
        padding-right: 10px;
    }

    .wddSticky a {
        padding-left: 10px;
        padding-right: 10px;
        gap: 5px;
    }
}

/* ===== Comparison tables and FAQ list inside blog posts ===== */
.bpTableWrap {
    margin: 0 0 24px;
    border: 1px solid #e9eaf2;
    border-radius: 14px;
    background: #fff;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.bpTable {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 26px;
    color: #5e6371;
}

.bpTable th,
.bpTable td {
    padding: 12px 14px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid #e9eaf2;
}

.bpTable thead th {
    background: #f7f6fc;
    font-family: 'Jost', sans-serif;
    font-size: 16px;
    line-height: 26px;
    font-weight: 500;
    color: #343c55;
}

.bpTable tbody th {
    font-size: 16px;
    line-height: 26px;
    font-weight: 600;
    color: #343c55;
}

.bpTable tbody tr:last-child th,
.bpTable tbody tr:last-child td {
    border-bottom: 0;
}

.bpBody p.bpTableNote {
    margin-top: -12px;
    font-size: 16px;
    line-height: 26px;
    color: #868b9b;
}

.bpFaq {
    margin: 8px 0 clamp(28px, 4vw, 36px);
}

.bpFaq .wddFaqList,
.bpFaqList {
    display: grid;
    gap: 12px;
    margin: 16px 0 8px;
}

.bpBody .wddQ p {
    margin: 0;
    font-size: 16px;
    line-height: 26px;
}

.bpBody .wddQ summary h3 {
    margin: 0;
    font-size: 20px;
    line-height: 1.3;
}

.bpFeaturedImage.bpFeaturedImageTop img {
    object-position: center 30%;
}

@media (max-width: 767px) {
    .bpTable,
    .bpTable thead th,
    .bpTable tbody th,
    .bpBody p.bpTableNote,
    .bpBody .wddQ p {
        font-size: 15px;
        line-height: 24px;
    }

    .bpTable th,
    .bpTable td {
        padding: 10px;
    }

    .bpBody .wddQ summary h3 {
        font-size: 18px;
    }
}
