/* ============================================================================
   THE BOT FORGE (TBF) THEME
   All styles scoped to body.theme-tbf to isolate from other sites
   ============================================================================ */

/* CSS Custom Properties for TBF */
body.theme-tbf {
    --tbf-primary: #04A7E3;           /* Bright blue */
    --tbf-navy: #111A4F;              /* Dark navy */
    --tbf-accent-pink: #EF5E91;       /* Pink accent */
    --tbf-tertiary: #FFC107;          /* Yellow/gold */
    --tbf-white: #FFFFFF;
    --tbf-font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Base Typography */
body.theme-tbf {
    font-family: var(--tbf-font-family);
    font-size: 16px;
    line-height: 1.5;
    color: #212529;
    background-color: var(--tbf-white);
}

body.theme-tbf h1,
body.theme-tbf h2,
body.theme-tbf h3,
body.theme-tbf h4,
body.theme-tbf h5,
body.theme-tbf h6 {
    font-family: var(--tbf-font-family);
    font-weight: 600;
}

/* Navigation */
body.theme-tbf .navbar {
    background-color: var(--tbf-navy) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.theme-tbf .navbar-brand {
    color: var(--tbf-white) !important;
    font-weight: 700;
    letter-spacing: 0.05em;
}

body.theme-tbf .nav-byline {
    color: var(--tbf-accent-pink) !important;
    font-size: 0.75rem;
    font-weight: 400;
    line-height: 1.2;
    margin-top: 0.25rem;
    margin-left: 0;
}

body.theme-tbf .navbar .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 400;
}

body.theme-tbf .navbar .nav-link:hover,
body.theme-tbf .navbar .nav-link:focus {
    color: var(--tbf-white) !important;
}

body.theme-tbf .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.3);
}

body.theme-tbf .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Buttons */
body.theme-tbf .btn-primary {
    background-color: var(--tbf-primary);
    border-color: var(--tbf-primary);
    color: var(--tbf-white);
    font-weight: 600;
    border-width: 2px;
}

body.theme-tbf .btn-primary:hover,
body.theme-tbf .btn-primary:focus {
    background-color: var(--tbf-accent-pink);
    border-color: var(--tbf-accent-pink);
    color: var(--tbf-white);
}

body.theme-tbf .btn-outline-primary {
    color: var(--tbf-primary);
    border-color: var(--tbf-primary);
    border-width: 2px;
}

body.theme-tbf .btn-outline-primary:hover,
body.theme-tbf .btn-outline-primary:focus {
    background-color: var(--tbf-accent-pink);
    border-color: var(--tbf-accent-pink);
    color: var(--tbf-white);
}

body.theme-tbf .btn-light {
    background-color: var(--tbf-white);
    border-color: var(--tbf-white);
    color: var(--tbf-navy);
    font-weight: 600;
}

body.theme-tbf .btn-light:hover,
body.theme-tbf .btn-light:focus {
    background-color: var(--tbf-accent-pink);
    border-color: var(--tbf-accent-pink);
    color: var(--tbf-white);
}

body.theme-tbf .rounded-pill {
    border-radius: 50px !important;
}

/* Hero/Masthead */
body.theme-tbf .masthead {
    background-color: var(--tbf-navy);
    color: var(--tbf-white);
    padding: 8rem 0 6rem;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

body.theme-tbf .masthead h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
}

body.theme-tbf .masthead .lead {
    font-size: 1.25rem;
    font-weight: 300;
}

@media (min-width: 992px) {
    body.theme-tbf .masthead {
        padding: 10rem 0 8rem;
    }
    
    body.theme-tbf .masthead h1 {
        font-size: 4.5rem;
    }
}

/* Links */
body.theme-tbf a {
    color: var(--tbf-primary);
    text-decoration: none;
}

body.theme-tbf a:hover,
body.theme-tbf a:focus {
    color: var(--tbf-accent-pink);
}

/* Sections */
body.theme-tbf section {
    padding: 3rem 0;
}

@media (min-width: 992px) {
    body.theme-tbf section {
        padding: 5rem 0;
    }
}

/* Cards */
body.theme-tbf .card {
    border-radius: 8px;
}

/* Contact page */
body.theme-tbf .contact-page .contact-form {
    padding: 1.25rem;
    border: 1px solid rgba(17, 26, 79, 0.12);
    border-radius: 14px;
    background: var(--tbf-white);
    box-shadow: 0 8px 24px rgba(17, 26, 79, 0.06);
}

body.theme-tbf .contact-page .contact-form .form-control,
body.theme-tbf .contact-page .contact-form .form-select {
    border-radius: 10px;
    border-color: rgba(17, 26, 79, 0.18);
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

body.theme-tbf .contact-page .contact-form .form-control:hover,
body.theme-tbf .contact-page .contact-form .form-select:hover {
    border-color: rgba(17, 26, 79, 0.28);
}

body.theme-tbf .contact-page .contact-form .form-control:focus,
body.theme-tbf .contact-page .contact-form .form-select:focus {
    border-color: var(--tbf-primary);
    box-shadow: 0 0 0 0.25rem rgba(4, 167, 227, 0.18);
}

body.theme-tbf .contact-page .card.shadow-sm {
    transition: transform 180ms ease, box-shadow 180ms ease;
}

body.theme-tbf .contact-page .card.shadow-sm:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(17, 26, 79, 0.10);
}

/* Card CTA alignment helpers */
body.theme-tbf .tbf-card-cta-row {
    display: flex;
    justify-content: flex-end;
}

/* Card watermark (bot icon) */
body.theme-tbf .tbf-card-watermark {
    position: relative;
    overflow: hidden;
}

body.theme-tbf .tbf-card-watermark::after {
    content: "";
    position: absolute;
    right: 0.75rem;
    bottom: 0.5rem;
    width: 180px;
    height: 180px;
    background-image: url("/media/tbf/original_images/bot-icon_sx0QZwp.webp");
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: contain;
    opacity: 0.08;
    pointer-events: none;
    z-index: 0;
}

body.theme-tbf .tbf-card-watermark .card-body {
    position: relative;
    z-index: 1;
}

/* Footer */
body.theme-tbf footer {
    background-color: var(--tbf-navy) !important;
    color: rgba(255, 255, 255, 0.75);
}

body.theme-tbf footer a {
    color: rgba(255, 255, 255, 0.75);
}

body.theme-tbf footer a:hover,
body.theme-tbf footer a:focus {
    color: var(--tbf-white);
}

/* Background Utilities */
body.theme-tbf .bg-primary {
    background-color: var(--tbf-primary) !important;
}

body.theme-tbf .bg-dark {
    background-color: var(--tbf-navy) !important;
}

/* Text Utilities */
body.theme-tbf .text-primary {
    color: var(--tbf-primary) !important;
}

body.theme-tbf .text-white-50 {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Feature Icons */
body.theme-tbf .feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    font-size: 2rem;
    color: var(--tbf-primary);
}

/* Spacing Adjustments (20% reduction from Bootstrap defaults) */
body.theme-tbf .py-5 {
    padding-top: 2.4rem !important;
    padding-bottom: 2.4rem !important;
}

body.theme-tbf .mb-5 {
    margin-bottom: 1.6rem !important;
}

body.theme-tbf .mt-5 {
    margin-top: 1.6rem !important;
}

@media (min-width: 992px) {
    body.theme-tbf .py-5 {
        padding-top: 4rem !important;
        padding-bottom: 4rem !important;
    }
}

/* Display Utilities */
body.theme-tbf .display-1 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
}

@media (min-width: 992px) {
    body.theme-tbf .display-1 {
        font-size: 5rem;
    }
}

/* Shadow Utilities */
body.theme-tbf .shadow {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

body.theme-tbf .shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

/* ============================================================================
   About Block - Round Badge
   ============================================================================ */
body.theme-tbf .about-stat-circle {
    width: 300px;
    height: 300px;
    margin: 0 auto;
    background-color: var(--tbf-primary);
    border-radius: 50%;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

body.theme-tbf .about-stat {
    font-size: 3.25rem;
    font-weight: 600;
    font-family: var(--tbf-font-family);
    color: #ffffff;
    margin: 0;
}

body.theme-tbf .about-label {
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
    padding: 0 1.25rem;
    text-align: center;
    font-family: var(--tbf-font-family);
    color: rgba(255, 255, 255, 0.92);
}

body.theme-tbf .section-title {
    font-family: var(--tbf-font-family);
    font-weight: 600;
    letter-spacing: -0.01em;
    color: #212529;
    font-size: clamp(2rem, 2vw + 1.3rem, 3rem);
}

body.theme-tbf .section-subtitle {
    font-family: var(--tbf-font-family);
    font-size: clamp(1.05rem, 0.6vw + 1rem, 1.3rem);
    color: rgba(5, 10, 26, 0.72);
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 575.98px) {
    body.theme-tbf .about-stat-circle {
        width: 240px;
        height: 240px;
    }

    body.theme-tbf .about-stat {
        font-size: 2.75rem;
    }

    body.theme-tbf .about-label {
        font-size: 1rem;
        padding: 0 1rem;
    }
}

/* ============================================================================
   Features Device Mockup with Circle Background
   ============================================================================ */
body.theme-tbf .features-device-mockup {
    position: relative;
    padding: 2rem;
}

body.theme-tbf .device-wrapper {
    position: relative;
    z-index: 2;
}

body.theme-tbf .device {
    width: 200px;
    height: 400px;
    background: #000;
    border-radius: 30px;
    padding: 10px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

body.theme-tbf .device .screen {
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    border-radius: 20px;
    padding: 1.5rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 0 1px rgba(5, 10, 26, 0.05);
}

body.theme-tbf .device-screen-inner {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.9rem;
    text-align: center;
}

body.theme-tbf .device-avatar {
    width: calc(100% - 10px);
    margin: 0 5px;
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(4, 167, 227, 0.08);
}

body.theme-tbf .device-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.theme-tbf .device-avatar-placeholder {
    font-size: 3rem;
    color: var(--tbf-primary);
}

body.theme-tbf .device-label {
    font-family: var(--tbf-font-family);
    font-weight: 600;
    font-size: 1.05rem;
    color: #212529;
}

body.theme-tbf .circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    fill: url(#circleGradient);
    opacity: 0.1;
    z-index: 1;
}

body.theme-tbf .circle .gradient-start-color {
    stop-color: var(--tbf-primary);
}

body.theme-tbf .circle .gradient-end-color {
    stop-color: var(--tbf-accent-pink);
}

@media (max-width: 991px) {
    body.theme-tbf .device {
        width: 160px;
        height: 320px;
    }
    
    body.theme-tbf .device-avatar {
        width: calc(100% - 10px);
        margin: 0 5px;
        aspect-ratio: 1;
    }
    
    body.theme-tbf .circle {
        width: 240px;
        height: 240px;
    }
}

/* ============================================================================
   Client Logo Grid (Trusted Partners)
   ============================================================================ */
body.theme-tbf .client-logo-banner {
    background-color: #f5f8ff;
    border-top: 1px solid rgba(4, 167, 227, 0.08);
    border-bottom: 1px solid rgba(4, 167, 227, 0.08);
}

body.theme-tbf .client-logo-heading {
    font-family: var(--tbf-font-family);
    font-weight: inherit;
    color: inherit;
}

body.theme-tbf .client-logo-subheading {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

body.theme-tbf .client-logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
}

/* ============================================================================
   Trusted Carousel (Trusted Partners - Exact Match from Source)
   ============================================================================ */
body.theme-tbf .trusted-carousel-section {
    background: linear-gradient(180deg, rgba(4, 167, 227, 0.06) 0%, rgba(239, 94, 145, 0.08) 100%);
    border-top: 1px solid rgba(4, 167, 227, 0.08);
    border-bottom: 1px solid rgba(4, 167, 227, 0.08);
}

body.theme-tbf .trusted-carousel-heading {
    font-weight: 600;
    letter-spacing: -0.01em;
}

body.theme-tbf .trusted-carousel-subheading {
    max-width: 640px;
    margin: 0 auto;
}

body.theme-tbf .trusted-carousel {
    display: grid;
    grid-template-columns: repeat(var(--trusted-carousel-columns, 3), minmax(0, 1fr));
    gap: 1.75rem;
    max-width: 960px;
    margin: 0 auto;
}

body.theme-tbf .trusted-carousel__column {
    position: relative;
    min-height: 180px;
    padding: 0.75rem;
}

body.theme-tbf .trusted-carousel__item {
    position: absolute;
    inset: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

body.theme-tbf .trusted-carousel__item.is-active {
    opacity: 1;
    transform: translateY(0);
}

body.theme-tbf .trusted-carousel__card {
    width: 100%;
    background: #ffffff;
    border-radius: 24px;
    padding: 1.75rem 1.5rem;
    box-shadow: 0 24px 55px rgba(5, 10, 26, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 140px;
}

body.theme-tbf .trusted-carousel__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

body.theme-tbf .trusted-carousel__card img {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.85;
    transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

body.theme-tbf .trusted-carousel__card:hover img {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.04);
}

body.theme-tbf .trusted-carousel__fallback {
    font-weight: 600;
    color: var(--tbf-primary);
}

@media (max-width: 992px) {
    body.theme-tbf .trusted-carousel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    body.theme-tbf .trusted-carousel {
        grid-template-columns: 1fr;
        max-width: 420px;
    }
}

/* ============================================================================
   Expertise Section (Reliable Expertise)
   ============================================================================ */
body.theme-tbf .expertise-highlights {
    background-color: #f5f8ff;
    border-top: 1px solid rgba(4, 167, 227, 0.08);
}

body.theme-tbf .expertise-heading {
    font-family: var(--tbf-font-family);
    font-weight: inherit;
    color: inherit;
}

body.theme-tbf .expertise-subheading {
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

body.theme-tbf .expertise-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 2rem;
    border: 1px solid rgba(4, 167, 227, 0.1);
    box-shadow: 0 12px 30px rgba(4, 167, 227, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    height: 100%;
}

body.theme-tbf .expertise-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(4, 167, 227, 0.15);
}

body.theme-tbf .expertise-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
}

body.theme-tbf .expertise-icon {
    max-height: 64px;
    width: auto;
}

body.theme-tbf .expertise-card-title {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

body.theme-tbf .expertise-card-text {
    font-size: 1rem;
}

/* ============================================================================
   Service Page - Hero Section
   ============================================================================ */
body.theme-tbf .service-hero-section,
body.theme-tbf .platform-hero-section,
body.theme-tbf .use-case-hero-section {
    position: relative;
    padding-bottom: 6rem;
}

/* ============================================================================
   Three Reasons Banner - Blue Circles with Vertical Offset
   ============================================================================ */
body.theme-tbf .three-reasons-banner {
    position: relative;
    margin-top: -4rem;
    padding: 2rem 0 3rem;
    z-index: 10;
}

/* Desktop (≥1200px): Force single horizontal row with fixed 150px gap */
@media (min-width: 1200px) {
    body.theme-tbf .three-reasons-banner .three-reasons-row {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 150px;
        flex-wrap: nowrap;
    }

    body.theme-tbf .three-reasons-banner .col-lg-4 {
        padding-left: 0;
        padding-right: 0;
        margin-bottom: 0;
        flex: 0 0 auto;
        width: auto;
        max-width: none;
    }
}

body.theme-tbf .three-reason-circle {
    width: 232px;
    height: 232px;
    margin: 0 auto;
    background-color: var(--tbf-accent-pink);
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(239, 94, 145, 0.4), 
                0 2px 8px rgba(239, 94, 145, 0.3),
                inset 0 1px 2px rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
}

body.theme-tbf .three-reason-circle:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(239, 94, 145, 0.5), 
                0 4px 12px rgba(239, 94, 145, 0.4),
                inset 0 1px 2px rgba(255, 255, 255, 0.2);
}

body.theme-tbf .three-reason-text {
    font-family: var(--tbf-font-family);
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    text-align: center;
    margin: 0;
    line-height: 1.4;
}

@media (max-width: 1199.98px) {
    body.theme-tbf .three-reasons-banner .three-reasons-row {
        gap: 1.5rem;
    }
    
    body.theme-tbf .three-reasons-banner .col-lg-4 {
        margin-bottom: 1.5rem;
    }
    
    body.theme-tbf .three-reason-circle {
        width: 100%;
        max-width: 500px;
        height: 80px;
        border-radius: 25px;
        padding: 1rem 2rem;
    }
}

@media (max-width: 991.98px) {
    body.theme-tbf .three-reasons-banner {
        margin-top: -3rem;
        padding: 1.5rem 0 2rem;
    }
    
    body.theme-tbf .three-reasons-banner .three-reasons-row {
        gap: 1rem;
    }
    
    body.theme-tbf .three-reason-circle {
        width: 100%;
        max-width: 400px;
        height: 70px;
        border-radius: 20px;
        padding: 1rem 1.5rem;
    }
    
    body.theme-tbf .three-reason-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 575.98px) {
    body.theme-tbf .three-reasons-banner {
        margin-top: -2rem;
        padding: 1rem 0 1.5rem;
    }
    
    body.theme-tbf .three-reasons-banner .three-reasons-row {
        gap: 0.75rem;
    }
    
    body.theme-tbf .three-reason-circle {
        width: 100%;
        max-width: 350px;
        height: 60px;
        border-radius: 15px;
        padding: 0.75rem 1.25rem;
    }
    
    body.theme-tbf .three-reason-text {
        font-size: 0.85rem;
    }
}

/* ============================================================================
   Service Page - Body Content Width Constraint
   ============================================================================ */
body.theme-tbf .service-page .content-section .container,
body.theme-tbf .platform-page .content-section .container,
body.theme-tbf .use-case-page .content-section .container {
    max-width: 1200px;
}

body.theme-tbf .service-page .content-section .col-lg-8,
body.theme-tbf .platform-page .content-section .col-lg-8,
body.theme-tbf .use-case-page .content-section .col-lg-8 {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================================================
   FAQ Accordion - White Cards with Rounded Corners
   ============================================================================ */
body.theme-tbf .faq-section {
    padding: 4rem 0;
}

body.theme-tbf .faq-section h2 {
    font-family: var(--tbf-font-family);
    font-weight: 600;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #212529;
}

body.theme-tbf .faq-item {
    margin-bottom: 1rem;
}

body.theme-tbf .faq-item .card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    background-color: #ffffff;
    margin-bottom: 1rem;
    overflow: hidden;
}

body.theme-tbf .faq-item .card-header {
    background-color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 0;
}

body.theme-tbf .faq-item .card-header button {
    padding: 1.25rem 1.5rem;
    color: #212529;
    font-weight: 400;
    font-size: 1.05rem;
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: color 0.2s ease;
}

body.theme-tbf .faq-item .card-header button:hover,
body.theme-tbf .faq-item .card-header button:focus {
    color: var(--tbf-primary);
    text-decoration: none;
}

body.theme-tbf .faq-item .card-header button:not(.collapsed) {
    color: var(--tbf-primary);
    font-weight: 600;
}

body.theme-tbf .faq-item .card-header button i {
    transition: transform 0.3s ease;
    font-size: 0.875rem;
}

body.theme-tbf .faq-item .card-header button:not(.collapsed) i {
    transform: rotate(180deg);
}

body.theme-tbf .faq-item .card-body {
    padding: 0 1.5rem 1.25rem;
    color: rgba(33, 37, 41, 0.75);
    font-size: 1rem;
    line-height: 1.6;
}

body.theme-tbf .faq-section .accordion {
    /* accordion stays fluid inside the standardized column */
}

body.theme-tbf .faq-section .col-lg-8 {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================================================
   Ambient hero backgrounds (image is texture, not content)
   ============================================================================ */
body.theme-tbf .hero-ambient {
    overflow: hidden;
}

body.theme-tbf .hero-ambient .hero-ambient__media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

body.theme-tbf .hero-ambient .hero-ambient__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

body.theme-tbf .hero-ambient::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

body.theme-tbf .hero-ambient > .container {
    position: relative;
    z-index: 2;
}

/* Overlay strength variants */
body.theme-tbf .hero-ambient--soft::before {
    background: linear-gradient(to right, rgba(17, 26, 79, 0.35), rgba(17, 26, 79, 0.15) 55%, rgba(17, 26, 79, 0.35));
}
body.theme-tbf .hero-ambient--medium::before {
    background: linear-gradient(to right, rgba(17, 26, 79, 0.55), rgba(17, 26, 79, 0.25) 55%, rgba(17, 26, 79, 0.55));
}
body.theme-tbf .hero-ambient--strong::before {
    background: linear-gradient(to right, rgba(17, 26, 79, 0.70), rgba(17, 26, 79, 0.35) 55%, rgba(17, 26, 79, 0.70));
}

/* Filter variants */
body.theme-tbf .hero-filter--none .hero-ambient__media img { filter: none; }
body.theme-tbf .hero-filter--soften .hero-ambient__media img { filter: saturate(0.85) contrast(0.95) brightness(0.95); }
body.theme-tbf .hero-filter--soften_more .hero-ambient__media img { filter: saturate(0.70) contrast(0.90) brightness(0.92) blur(0.75px); }

/* ============================================================================
   Service Page - Consultation CTA
   ============================================================================ */
body.theme-tbf .service-consultation-cta,
body.theme-tbf .platform-consultation-cta,
body.theme-tbf .use-case-consultation-cta {
    padding: 3rem 0;
    background-color: #f8f9fa;
}

/* ============================================================================
   Message in a Bot Section - Two Column Layout with Articles
   ============================================================================ */
body.theme-tbf .message-in-a-bot-section {
    background-color: var(--tbf-navy);
    color: #ffffff;
    padding: 4rem 0;
}

body.theme-tbf .message-bot-title {
    font-family: var(--tbf-font-family);
    font-size: 3rem;
    font-weight: 300;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

body.theme-tbf .message-bot-description {
    font-family: var(--tbf-font-family);
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

body.theme-tbf .message-bot-cta {
    background-color: #00bcd4;
    border-color: #00bcd4;
    color: #ffffff;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.75rem 2rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

body.theme-tbf .message-bot-cta:hover,
body.theme-tbf .message-bot-cta:focus {
    background-color: #00acc1;
    border-color: #00acc1;
    color: #ffffff;
    transform: translateY(-2px);
}

body.theme-tbf .articles-header {
    font-family: var(--tbf-font-family);
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 2rem;
}

body.theme-tbf .articles-list {
    display: flex;
    flex-direction: column;
}

body.theme-tbf .article-item {
    transition: opacity 0.2s ease;
}

body.theme-tbf .article-item:hover {
    opacity: 0.9;
}

body.theme-tbf .article-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

body.theme-tbf .article-title {
    font-family: var(--tbf-font-family);
    font-size: 1.125rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

body.theme-tbf .article-link:hover .article-title {
    color: var(--tbf-primary);
}

body.theme-tbf .article-description {
    font-family: var(--tbf-font-family);
    font-size: 0.9375rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

body.theme-tbf .article-arrow {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    margin-left: 1rem;
    flex-shrink: 0;
    transition: transform 0.2s ease, color 0.2s ease;
}

body.theme-tbf .article-link:hover .article-arrow {
    transform: translateX(4px);
    color: var(--tbf-primary);
}

body.theme-tbf .article-divider {
    border-color: rgba(255, 255, 255, 0.2);
    border-width: 1px;
    margin-top: 1rem;
    margin-bottom: 0;
}

@media (max-width: 991.98px) {
    body.theme-tbf .message-bot-title {
        font-size: 2.25rem;
    }
    
    body.theme-tbf .message-in-a-bot-section {
        padding: 3rem 0;
    }
}

@media (max-width: 575.98px) {
    body.theme-tbf .message-bot-title {
        font-size: 1.875rem;
    }
    
    body.theme-tbf .message-bot-description {
        font-size: 1rem;
    }
}

/* ============================================================================
Article Page - Body Content Styling
============================================================================ */

/* Article Body - Spacing and Typography */
body.theme-tbf .article-body {
    padding: 3rem 0;
}

body.theme-tbf .article-body .col-lg-8 {
    max-width: 800px;
}

body.theme-tbf .article-body p {
    font-family: var(--tbf-font-family);
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #212529;
}

body.theme-tbf .article-body h1,
body.theme-tbf .article-body h2,
body.theme-tbf .article-body h3,
body.theme-tbf .article-body h4,
body.theme-tbf .article-body h5,
body.theme-tbf .article-body h6 {
    font-family: var(--tbf-font-family);
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #212529;
}

body.theme-tbf .article-body h2 {
    font-size: 2rem;
}

body.theme-tbf .article-body h3 {
    font-size: 1.5rem;
}

/* Article Body - Images (from ImageChooserBlock) */
body.theme-tbf .article-body img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 2rem auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

body.theme-tbf .article-body > * > img {
    /* Images directly in article body (from ImageChooserBlock) */
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Ensure images in paragraphs are also centered */
body.theme-tbf .article-body p img {
    display: block;
    margin: 1.5rem auto;
}

/* Article Body - Links */
body.theme-tbf .article-body a {
    color: var(--tbf-primary);
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 2px;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

body.theme-tbf .article-body a:hover,
body.theme-tbf .article-body a:focus {
    color: var(--tbf-accent-pink);
    text-decoration-color: var(--tbf-accent-pink);
}

/* Outbound links (external links) */
body.theme-tbf .article-body a[href^="http"]:not([href*="dev.thebotforge.io"]):not([href*="localhost"]):not([href*="thebotforge.io"]) {
    color: var(--tbf-primary);
    font-weight: 500;
}

body.theme-tbf .article-body a[href^="http"]:not([href*="dev.thebotforge.io"]):not([href*="localhost"]):not([href*="thebotforge.io"])::after {
    content: " ↗";
    font-size: 0.875em;
    opacity: 0.7;
}

body.theme-tbf .article-body a[href^="http"]:not([href*="dev.thebotforge.io"]):not([href*="localhost"]):not([href*="thebotforge.io"]):hover::after {
    opacity: 1;
}

/* Article Body - Lists */
body.theme-tbf .article-body ul,
body.theme-tbf .article-body ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

body.theme-tbf .article-body ul li,
body.theme-tbf .article-body ol li {
    font-family: var(--tbf-font-family);
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 0.75rem;
    color: #212529;
}

body.theme-tbf .article-body ul li a,
body.theme-tbf .article-body ol li a {
    color: var(--tbf-primary);
}

/* Article Body - Blockquotes */
body.theme-tbf .article-body blockquote {
    border-left: 4px solid var(--tbf-primary);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #6c757d;
}

/* Article Body - Code */
body.theme-tbf .article-body code {
    background-color: #f8f9fa;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.9em;
    color: var(--tbf-navy);
}

body.theme-tbf .article-body pre {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5rem 0;
}

body.theme-tbf .article-body pre code {
    background-color: transparent;
    padding: 0;
}

/* Article Introduction Section */
body.theme-tbf .intro-section {
    padding: 3rem 0;
}

body.theme-tbf .intro-section .col-lg-8 {
    max-width: 800px;
}

body.theme-tbf .intro-section p {
    font-family: var(--tbf-font-family);
    font-size: 1.25rem;
    line-height: 1.8;
    color: #212529;
}

body.theme-tbf .intro-section a {
    color: var(--tbf-primary);
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 2px;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

body.theme-tbf .intro-section a:hover,
body.theme-tbf .intro-section a:focus {
    color: var(--tbf-accent-pink);
    text-decoration-color: var(--tbf-accent-pink);
}

/* Article Tags Section */
body.theme-tbf .article-tags {
    padding: 2rem 0;
}

body.theme-tbf .article-tags strong {
    font-family: var(--tbf-font-family);
    font-weight: 600;
    margin-right: 0.5rem;
}

body.theme-tbf .article-tags .badge {
    font-family: var(--tbf-font-family);
    font-weight: 500;
    padding: 0.5rem 0.75rem;
}

@media (max-width: 991.98px) {
    body.theme-tbf .article-body {
        padding: 2rem 0;
    }
    
    body.theme-tbf .article-body p {
        font-size: 1rem;
    }
    
    body.theme-tbf .article-body h2 {
        font-size: 1.75rem;
    }
    
    body.theme-tbf .article-body h3 {
        font-size: 1.375rem;
    }
    
    body.theme-tbf .article-body img {
        margin: 1.5rem auto;
    }
}
