@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=IBM+Plex+Sans:wght@300;400;500;600&display=swap');

/* =============================================================
   BOT VFX HISTORY TIMELINE - FRONTEND STYLES
   ============================================================= */

.botvfx-timeline-section {
    position: relative;
    width: 100%;
    min-height: auto;
    padding: 40px 40px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    transition: background-color 0.4s ease, color 0.4s ease;
}

/* Light Theme Preset (Reference Image Style) */
.botvfx-timeline-section.botvfx-theme-light {
    background-color: #171919;
    color: #ffffff;
}

.botvfx-timeline-section.botvfx-theme-light .botvfx-timeline-pretitle {
    color: #ffffff;
}

.botvfx-timeline-section.botvfx-theme-light .botvfx-timeline-maintitle {
    color: #ffffff;
}

.botvfx-timeline-section.botvfx-theme-light .botvfx-milestone-marker {
    color: #ffffff;
}

.botvfx-timeline-section.botvfx-theme-light .botvfx-milestone-line {
    background-color: rgba(26, 25, 24, 0.25);
}

.botvfx-timeline-section.botvfx-theme-light .swiper-slide-active .botvfx-milestone-line {
    background-color: #a91e22;
}

.botvfx-timeline-section.botvfx-theme-light .botvfx-milestone-title {
    color: #ffffff;
}

/* Dark Theme Preset (BOT VFX Studio Style) */
.botvfx-timeline-section.botvfx-theme-dark {
    background-color: #0d0e0f;
    color: #ffffff;
}

.botvfx-timeline-section.botvfx-theme-dark .botvfx-timeline-pretitle {
    color: #a0a0a0;
}

.botvfx-timeline-section.botvfx-theme-dark .botvfx-timeline-maintitle {
    color: #ffffff;
}

.botvfx-timeline-section.botvfx-theme-dark .botvfx-milestone-marker {
    color: #ffffff;
}

.botvfx-timeline-section.botvfx-theme-dark .botvfx-milestone-line {
    background-color: rgba(255, 255, 255, 0.2);
}

.botvfx-timeline-section.botvfx-theme-dark .swiper-slide-active .botvfx-milestone-line {
    background-color: #a91e22;
    /* BOT VFX signature red */
}

.botvfx-timeline-section.botvfx-theme-dark .botvfx-milestone-title {
    color: #ffffff;
}

/* =============================================================
   LAYOUT CONTAINER
   ============================================================= */

.botvfx-timeline-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 50px;
    box-sizing: border-box;
    min-height: auto;
}

/* Left Column: Navigation & Titles */
.botvfx-timeline-left-col {
    flex: 0 0 42%;
    max-width: 42%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
    padding-right: 20px;
    overscroll-behavior: contain;
}

.botvfx-timeline-header {
    margin-bottom: 30px;
}

.botvfx-timeline-header:empty {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.botvfx-timeline-left-col.botvfx-has-no-header {
    justify-content: center;
}

.botvfx-timeline-pretitle {
    display: block;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.botvfx-timeline-maintitle {
    font-family: 'tanker', 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: clamp(34px, 4vw, 54px);
    font-weight: 400;
    line-height: 1.12;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.botvfx-timeline-maintitle a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

/* Standalone History Timeline Title Widget */
.botvfx-timeline-title-wrapper {
    box-sizing: border-box;
    width: 100%;
}

.botvfx-timeline-title-wrapper.botvfx-theme-dark .botvfx-timeline-pretitle,
.botvfx-theme-dark .botvfx-timeline-title-wrapper .botvfx-timeline-pretitle {
    color: #a0a0a0;
}

.botvfx-timeline-title-wrapper.botvfx-theme-dark .botvfx-timeline-maintitle,
.botvfx-timeline-title-wrapper.botvfx-theme-dark .botvfx-timeline-maintitle a,
.botvfx-theme-dark .botvfx-timeline-title-wrapper .botvfx-timeline-maintitle,
.botvfx-theme-dark .botvfx-timeline-title-wrapper .botvfx-timeline-maintitle a {
    color: #ffffff;
}

.botvfx-timeline-title-wrapper.botvfx-theme-light .botvfx-timeline-pretitle,
.botvfx-theme-light .botvfx-timeline-title-wrapper .botvfx-timeline-pretitle {
    color: #171919;
}

.botvfx-timeline-title-wrapper.botvfx-theme-light .botvfx-timeline-maintitle,
.botvfx-timeline-title-wrapper.botvfx-theme-light .botvfx-timeline-maintitle a,
.botvfx-theme-light .botvfx-timeline-title-wrapper .botvfx-timeline-maintitle,
.botvfx-theme-light .botvfx-timeline-title-wrapper .botvfx-timeline-maintitle a {
    color: #171919;
}

/* =============================================================
   VERTICAL SWIPER (LEFT COLUMN)
   ============================================================= */

.botvfx-timeline-nav-swiper.swiper {
    width: 100%;
    height: 380px;
    margin: 0;
    padding: 20px 0;
    overflow: hidden;
    overscroll-behavior: contain;
}

.botvfx-timeline-nav-slide.swiper-slide {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    box-sizing: border-box;
    padding: 16px 0;
    cursor: pointer;
    opacity: 0.28;
    transform: scale(0.96) translateX(-6px);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
}

.botvfx-timeline-nav-slide.swiper-slide:hover {
    opacity: 0.6;
}

.botvfx-timeline-nav-slide.swiper-slide-active {
    opacity: 1;
    transform: scale(1) translateX(0);
}

/* Milestone Marker (Rotated Number + Vertical Line) */
.botvfx-milestone-marker {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
    padding-top: 4px;
}

.botvfx-milestone-num {
    display: inline-block;
    font-family: 'tanker';
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 1px;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

.botvfx-milestone-line {
    display: inline-block;
    width: 2px;
    height: 32px;
    border-radius: 2px;
    transition: all 0.4s ease;
}

.swiper-slide-active .botvfx-milestone-line {
    height: 48px;
    width: 2.5px;
}

/* Milestone Text Content */
.botvfx-milestone-text {
    flex: 1;
}

.botvfx-milestone-kicker {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.7;
    margin-bottom: 4px;
}

.botvfx-milestone-title {
    font-family: 'tanker', 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: clamp(20px, 2.2vw, 30px);
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: 0.8px;
    margin: 0;
    transition: color 0.3s ease;
}

/* Nav Helper Controls */
.botvfx-timeline-controls {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.botvfx-ctrl-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid currentColor;
    background: transparent;
    color: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0.45;
    transition: all 0.25s ease;
    padding: 0;
}

.botvfx-ctrl-btn:hover {
    opacity: 1;
    transform: translateY(-2px);
}

/* =============================================================
   RIGHT COLUMN: SYNCHRONIZED MULTI-CONTENT INNER CAROUSEL
   ============================================================= */

.botvfx-timeline-right-col {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    align-self: center;
    position: relative;
    width: 100%;
}

.botvfx-timeline-stages-wrapper {
    position: relative;
    width: 100%;
    height: 480px !important;
    min-height: 480px !important;
    max-height: 480px !important;
    overflow: hidden !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Individual Milestone Stage */
.botvfx-milestone-stage {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 480px !important;
    min-height: 480px !important;
    max-height: 480px !important;
    overflow: hidden !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.45s;
    z-index: 1;
}

.botvfx-milestone-stage.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 2;
    position: relative;
    width: 100%;
    height: 480px !important;
    min-height: 480px !important;
    max-height: 480px !important;
    overflow: hidden !important;
}

/* Inner Horizontal Carousel Swiper */
.botvfx-inner-carousel.swiper {
    width: 100%;
    height: 480px !important;
    min-height: 480px !important;
    max-height: 480px !important;
    border-radius: 12px;
    overflow: hidden !important;
    position: relative;
    background: #0a0b0c;
}

.botvfx-inner-slide.swiper-slide {
    width: 100%;
    height: 480px !important;
    min-height: 480px !important;
    max-height: 480px !important;
    overflow: hidden !important;
    display: flex;
    align-items: stretch;
    justify-content: center;
    box-sizing: border-box;
    position: relative;
    padding: 0;
}

/* Structured Card: Separate Media Frame & Content Area (Never a background image) */
.botvfx-slide-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 480px !important;
    min-height: 480px !important;
    max-height: 480px !important;
    overflow: hidden !important;
    border-radius: 14px;
    background: #121416;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-sizing: border-box;
    position: relative;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
    user-select: none;
    -webkit-user-select: none;
}

/* NO red line for image/media cards */
.botvfx-slide-card.has-media {
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-left: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* Dedicated Media Box on Top/Side
   Option 1 (Default): Full Cover (Crop to Fill - Zero Black Bars)
   Option 2: Cinematic Aspect Ratio (2.39:1 / 16:9 - Hugs Image Ratio)
   Option 3: Contain (Framed Artwork)
*/
.botvfx-slide-media-box {
    width: 100%;
    height: 260px;
    min-height: 240px;
    flex-shrink: 0;
    position: relative;
    background: #08090a;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-sizing: border-box;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.botvfx-image-frame {
    width: 100%;
    height: 100%;
    min-height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

/* Option 1 (Default): Full Cover - Crop to Fill with Zero Black Bars */
.botvfx-image-frame img {
    width: 100%;
    height: 100%;
    min-height: 240px;
    max-width: 100%;
    max-height: none;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 0;
    box-shadow: none;
    transition: transform 0.5s ease;
    -webkit-user-drag: none;
    user-drag: none;
    pointer-events: none;
}

.swiper-slide-active .botvfx-image-frame img,
.botvfx-slide-card:hover .botvfx-image-frame img {
    transform: scale(1.05);
}

/* Video Player in Media Box (Option 1 Cover) */
.botvfx-slide-media-box video.botvfx-html5-video {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: none;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 0;
    background: #000;
}

/* Option 2: Cinematic 2.39:1 Aspect Ratio (Container Hugs Cinematic Ratio) */
.botvfx-media-fit-aspect_cinematic .botvfx-slide-media-box,
.botvfx-media-aspect-cinematic .botvfx-slide-media-box {
    width: 100%;
    height: auto;
    aspect-ratio: 2.39 / 1;
    padding: 0;
}

.botvfx-media-fit-aspect_cinematic .botvfx-image-frame img,
.botvfx-media-aspect-cinematic .botvfx-image-frame img,
.botvfx-media-fit-aspect_cinematic video.botvfx-html5-video,
.botvfx-media-aspect-cinematic video.botvfx-html5-video {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
}

/* Option 2: Widescreen 16:9 Aspect Ratio (Container Hugs 16:9 Ratio) */
.botvfx-media-fit-aspect_16_9 .botvfx-slide-media-box,
.botvfx-media-aspect-16-9 .botvfx-slide-media-box {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    padding: 0;
}

.botvfx-media-fit-aspect_16_9 .botvfx-image-frame img,
.botvfx-media-aspect-16-9 .botvfx-image-frame img,
.botvfx-media-fit-aspect_16_9 video.botvfx-html5-video,
.botvfx-media-aspect-16-9 video.botvfx-html5-video {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
}

/* Option: Contain (Framed Artwork with Border & Padding) */
.botvfx-media-fit-contain .botvfx-slide-media-box,
.botvfx-media-contain .botvfx-slide-media-box {
    height: 220px;
    padding: 18px;
    background: #08090a;
}

.botvfx-media-fit-contain .botvfx-image-frame img,
.botvfx-media-contain .botvfx-image-frame img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 185px;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.botvfx-media-fit-contain video.botvfx-html5-video,
.botvfx-media-contain video.botvfx-html5-video {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 185px;
    object-fit: contain;
    border-radius: 6px;
}

.botvfx-video-embed {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.botvfx-video-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* SVG Vector & Icon Frame */
.botvfx-svg-frame {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: radial-gradient(circle at center, #1d2024 0%, #090a0b 100%);
    box-sizing: border-box;
}

.botvfx-svg-img {
    max-height: 190px;
    max-width: 65%;
    object-fit: contain !important;
    filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.55));
}

/* Dedicated Content Box (Completely separate from media, NOT overlaid) */
.botvfx-slide-content-box {
    flex: 1;
    padding: 26px 32px 55px;
    background: #121416;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-sizing: border-box;
    position: relative;
    overflow-y: auto;
}

.botvfx-slide-content-inner {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.botvfx-slide-kicker {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ff5252;
    margin-bottom: 8px;
}

.botvfx-slide-title {
    font-family: 'Tanker', 'Cormorant Garamond', Georgia, sans-serif;
    font-size: clamp(22px, 2.2vw, 32px);
    font-weight: 400;
    line-height: 1.18;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0 0 10px 0;
    color: #ffffff;
}

.botvfx-slide-desc {
    font-size: 14px;
    line-height: 1.6;
    color: #b5b5b5;
    margin: 0 0 18px 0;
    max-width: 620px;
}

.botvfx-slide-desc p {
    margin: 0 0 12px 0;
    line-height: inherit;
    color: inherit;
}

.botvfx-slide-desc p:last-child {
    margin-bottom: 0;
}

.botvfx-slide-desc strong,
.botvfx-slide-desc b {
    color: #ffffff;
    font-weight: 600;
}

.botvfx-slide-desc em,
.botvfx-slide-desc i {
    font-style: italic;
}

.botvfx-slide-desc a {
    color: #ff4757;
    text-decoration: underline;
    transition: opacity 0.2s ease;
}

.botvfx-slide-desc a:hover {
    opacity: 0.8;
}

.botvfx-slide-desc ul,
.botvfx-slide-desc ol {
    margin: 0 0 14px 20px;
    padding: 0;
    color: inherit;
}

.botvfx-slide-desc li {
    margin-bottom: 4px;
}

.botvfx-slide-btn-wrap {
    margin-top: 6px;
}

.botvfx-slide-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #a22727;
    color: #ffffff !important;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 10px 22px;
    border-radius: 30px;
    transition: all 0.25s ease;
}

.botvfx-slide-btn:hover {
    background: #c43232;
    transform: translateX(3px);
}

/* When NO Media is Selected: Content takes 100% full part, zero empty space */
.botvfx-slide-card.no-media,
.botvfx-slide-card.is-pure-text {
    flex-direction: column !important;
    background: radial-gradient(ellipse at top left, #1a1c20 0%, #101214 65%, #0b0c0d 100%) !important;
    border-left: 4px solid #a22727 !important;
}

.botvfx-slide-card.no-media .botvfx-slide-media-box,
.botvfx-slide-card.is-pure-text .botvfx-slide-media-box {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

.botvfx-slide-card.no-media .botvfx-slide-content-box,
.botvfx-slide-card.is-pure-text .botvfx-slide-content-box {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    flex: 1 1 100% !important;
    padding: 45px 50px 60px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    background: transparent !important;
}

.botvfx-slide-card.no-media .botvfx-slide-content-inner,
.botvfx-slide-card.is-pure-text .botvfx-slide-content-inner {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
}

.botvfx-slide-card.no-media .botvfx-slide-kicker,
.botvfx-slide-card.is-pure-text .botvfx-slide-kicker {
    font-size: 12px;
    letter-spacing: 2.5px;
    margin-bottom: 12px;
}

.botvfx-slide-card.no-media .botvfx-slide-title,
.botvfx-slide-card.is-pure-text .botvfx-slide-title {
    width: 100% !important;
    max-width: 100% !important;
    font-size: clamp(28px, 3.2vw, 44px) !important;
    margin-bottom: 14px !important;
    line-height: 1.15 !important;
}

.botvfx-slide-card.no-media .botvfx-slide-desc,
.botvfx-slide-card.is-pure-text .botvfx-slide-desc {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 16px !important;
    line-height: 1.7 !important;
    color: #d1d5db !important;
    margin-bottom: 22px !important;
}

.botvfx-slide-card.no-media .botvfx-slide-btn-wrap,
.botvfx-slide-card.is-pure-text .botvfx-slide-btn-wrap {
    margin-top: 6px !important;
}

/* =============================================================
   WHEN ONLY IMAGE/MEDIA IS SELECTED (NO TEXT CONTENT):
   Takes 100% full card width & height (Zero empty side space)
   ============================================================= */
.botvfx-slide-card.is-only-media,
.botvfx-slide-card.has-media:not(.has-content) {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 400px !important;
    padding: 0 !important;
    position: relative !important;
    overflow: hidden !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-left: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.botvfx-slide-card.is-only-media .botvfx-slide-media-box,
.botvfx-slide-card.has-media:not(.has-content) .botvfx-slide-media-box,
.botvfx-media-fit-aspect_cinematic .botvfx-slide-card.is-only-media .botvfx-slide-media-box,
.botvfx-media-aspect-cinematic .botvfx-slide-card.is-only-media .botvfx-slide-media-box,
.botvfx-media-fit-aspect_16_9 .botvfx-slide-card.is-only-media .botvfx-slide-media-box,
.botvfx-media-aspect-16-9 .botvfx-slide-card.is-only-media .botvfx-slide-media-box,
.botvfx-media-fit-contain .botvfx-slide-card.is-only-media .botvfx-slide-media-box,
.botvfx-media-contain .botvfx-slide-card.is-only-media .botvfx-slide-media-box {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    min-height: 400px !important;
    flex: 1 1 100% !important;
    border: none !important;
    border-right: none !important;
    border-bottom: none !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
    border-radius: inherit !important;
    aspect-ratio: auto !important;
    align-self: stretch !important;
    box-shadow: none !important;
}

.botvfx-slide-card.is-only-media .botvfx-image-frame,
.botvfx-slide-card.has-media:not(.has-content) .botvfx-image-frame {
    width: 100% !important;
    height: 100% !important;
    min-height: 400px !important;
    position: absolute !important;
    inset: 0 !important;
}

.botvfx-slide-card.is-only-media .botvfx-image-frame img,
.botvfx-slide-card.has-media:not(.has-content) .botvfx-image-frame img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    border-radius: inherit !important;
    box-shadow: none !important;
}

.botvfx-slide-card.is-only-media video.botvfx-html5-video,
.botvfx-slide-card.has-media:not(.has-content) video.botvfx-html5-video {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    border-radius: inherit !important;
}

.botvfx-slide-card.is-only-media .botvfx-video-embed,
.botvfx-slide-card.has-media:not(.has-content) .botvfx-video-embed {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

.botvfx-slide-card.is-only-media .botvfx-video-embed iframe,
.botvfx-slide-card.has-media:not(.has-content) .botvfx-video-embed iframe {
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
}

.botvfx-slide-card.is-only-media .botvfx-svg-frame,
.botvfx-slide-card.has-media:not(.has-content) .botvfx-svg-frame {
    width: 100% !important;
    height: 100% !important;
    min-height: 400px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 30px !important;
}

.botvfx-slide-card.is-only-media .botvfx-slide-content-box,
.botvfx-slide-card.has-media:not(.has-content) .botvfx-slide-content-box {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
}

/* Fallback for legacy cached markup lacking is-only-media / has-content class */
.botvfx-slide-card.has-media:not(:has(.botvfx-slide-title)):not(:has(.botvfx-slide-desc)):not(:has(.botvfx-slide-kicker)):not(:has(.botvfx-slide-btn)) {
    flex-direction: column !important;
    padding: 0 !important;
    border-left: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.botvfx-slide-card.has-media:not(:has(.botvfx-slide-title)):not(:has(.botvfx-slide-desc)):not(:has(.botvfx-slide-kicker)):not(:has(.botvfx-slide-btn)) .botvfx-slide-media-box {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    min-height: 400px !important;
    flex: 1 1 100% !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
    aspect-ratio: auto !important;
    border-radius: inherit !important;
}

.botvfx-slide-card.has-media:not(:has(.botvfx-slide-title)):not(:has(.botvfx-slide-desc)):not(:has(.botvfx-slide-kicker)):not(:has(.botvfx-slide-btn)) .botvfx-image-frame {
    width: 100% !important;
    height: 100% !important;
    min-height: 400px !important;
    position: absolute !important;
    inset: 0 !important;
}

.botvfx-slide-card.has-media:not(:has(.botvfx-slide-title)):not(:has(.botvfx-slide-desc)):not(:has(.botvfx-slide-kicker)):not(:has(.botvfx-slide-btn)) .botvfx-image-frame img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: inherit !important;
}

.botvfx-slide-card.has-media:not(:has(.botvfx-slide-title)):not(:has(.botvfx-slide-desc)):not(:has(.botvfx-slide-kicker)):not(:has(.botvfx-slide-btn)) .botvfx-slide-content-box {
    display: none !important;
}

/* Side-by-Side Layout for Desktop (Applies ONLY when BOTH media and text content exist) */
@media (min-width: 992px) {
    .botvfx-slide-card.has-media:not(.is-only-media) {
        display: flex !important;
        flex-direction: row !important;
        align-items: stretch !important;
        height: 480px !important;
        min-height: 480px !important;
        max-height: 480px !important;
    }

    /* Fixed 50% Media Column with Full Cover Image (Zero Black Bars & Zero Jumping) */
    .botvfx-slide-card.has-media:not(.is-only-media) .botvfx-slide-media-box,
    .botvfx-media-fit-aspect_cinematic .botvfx-slide-card.has-media:not(.is-only-media) .botvfx-slide-media-box,
    .botvfx-media-aspect-cinematic .botvfx-slide-card.has-media:not(.is-only-media) .botvfx-slide-media-box,
    .botvfx-media-fit-aspect_16_9 .botvfx-slide-card.has-media:not(.is-only-media) .botvfx-slide-media-box,
    .botvfx-media-aspect-16-9 .botvfx-slide-card.has-media:not(.is-only-media) .botvfx-slide-media-box,
    .botvfx-media-fit-contain .botvfx-slide-card.has-media:not(.is-only-media) .botvfx-slide-media-box,
    .botvfx-media-contain .botvfx-slide-card.has-media:not(.is-only-media) .botvfx-slide-media-box {
        width: 50% !important;
        min-width: 50% !important;
        max-width: 50% !important;
        height: 100% !important;
        min-height: 100% !important;
        max-height: 100% !important;
        flex: 0 0 50% !important;
        align-self: stretch !important;
        border-bottom: none !important;
        border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
        padding: 0 !important;
        margin: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        aspect-ratio: auto !important;
        display: flex !important;
        align-items: stretch !important;
        justify-content: center !important;
        box-sizing: border-box !important;
        position: relative !important;
        overflow: hidden !important;
    }

    .botvfx-slide-card.has-media:not(.is-only-media) .botvfx-image-frame,
    .botvfx-media-fit-aspect_cinematic .botvfx-slide-card.has-media:not(.is-only-media) .botvfx-image-frame,
    .botvfx-media-aspect-cinematic .botvfx-slide-card.has-media:not(.is-only-media) .botvfx-image-frame,
    .botvfx-media-fit-aspect_16_9 .botvfx-slide-card.has-media:not(.is-only-media) .botvfx-image-frame,
    .botvfx-media-aspect-16-9 .botvfx-slide-card.has-media:not(.is-only-media) .botvfx-image-frame,
    .botvfx-media-fit-contain .botvfx-slide-card.has-media:not(.is-only-media) .botvfx-image-frame,
    .botvfx-media-contain .botvfx-slide-card.has-media:not(.is-only-media) .botvfx-image-frame {
        width: 100% !important;
        height: 100% !important;
        min-height: 100% !important;
        max-height: 100% !important;
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        overflow: hidden !important;
        border-radius: 0 !important;
    }

    .botvfx-slide-card.has-media:not(.is-only-media) .botvfx-image-frame img,
    .botvfx-media-fit-aspect_cinematic .botvfx-slide-card.has-media:not(.is-only-media) .botvfx-image-frame img,
    .botvfx-media-aspect-cinematic .botvfx-slide-card.has-media:not(.is-only-media) .botvfx-image-frame img,
    .botvfx-media-fit-aspect_16_9 .botvfx-slide-card.has-media:not(.is-only-media) .botvfx-image-frame img,
    .botvfx-media-aspect-16-9 .botvfx-slide-card.has-media:not(.is-only-media) .botvfx-image-frame img,
    .botvfx-media-fit-contain .botvfx-slide-card.has-media:not(.is-only-media) .botvfx-image-frame img,
    .botvfx-media-contain .botvfx-slide-card.has-media:not(.is-only-media) .botvfx-image-frame img {
        width: 100% !important;
        height: 100% !important;
        min-height: 100% !important;
        max-height: 100% !important;
        max-width: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
        display: block !important;
        border-radius: 0 !important;
    }

    .botvfx-slide-card.has-media:not(.is-only-media) video.botvfx-html5-video {
        width: 100% !important;
        height: 100% !important;
        min-height: 100% !important;
        max-height: 100% !important;
        max-width: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
        display: block !important;
    }

    .botvfx-slide-card.has-media:not(.is-only-media) .botvfx-slide-content-box {
        width: 50% !important;
        min-width: 50% !important;
        max-width: 50% !important;
        flex: 0 0 50% !important;
        height: 100% !important;
        min-height: 100% !important;
        max-height: 100% !important;
        padding: 40px 40px 65px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-self: stretch !important;
        box-sizing: border-box !important;
        overflow-y: auto !important;
    }
}

/* Inner Carousel Controls (Prev/Next & Dots) - Compact, Tight, Sleek */
.botvfx-inner-controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    height: 34px;
    box-sizing: border-box;
    z-index: 100 !important;
    background: rgba(14, 15, 17, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 3px 6px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
    user-select: none;
    pointer-events: auto !important;
}

/* BOTH Arrows: Exact identical crisp circular design (Like Right Arrow) */
.botvfx-inner-btn,
.botvfx-inner-btn.botvfx-inner-prev,
.botvfx-inner-btn.botvfx-inner-next,
.botvfx-inner-btn.swiper-button-disabled,
.botvfx-inner-btn:disabled {
    width: 26px !important;
    height: 26px !important;
    min-width: 26px !important;
    min-height: 26px !important;
    border-radius: 50% !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    background: transparent !important;
    color: #ffffff !important;
    opacity: 1 !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
    padding: 0 !important;
    margin: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    transform: none !important;
}

.botvfx-inner-btn svg,
.botvfx-inner-btn svg * {
    width: 14px !important;
    height: 14px !important;
    stroke: #ffffff !important;
    stroke-width: 2.5 !important;
    display: block !important;
    pointer-events: none !important;
}

.botvfx-inner-btn:hover {
    background: #a22727 !important;
    border-color: #a22727 !important;
    transform: scale(1.08) !important;
    box-shadow: 0 0 10px rgba(162, 39, 39, 0.5) !important;
}

.botvfx-inner-btn:active {
    transform: scale(0.95) !important;
}

/* Tight, Balanced Pagination (Zero Extra Space) */
.botvfx-inner-pagination {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    width: auto !important;
    position: static !important;
    padding: 0 1px !important;
    margin: 0 !important;
    line-height: 1 !important;
}

.botvfx-inner-pagination .botvfx-bullet {
    position: relative !important;
    width: 6px !important;
    height: 6px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.38) !important;
    display: inline-block !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

.botvfx-inner-pagination .botvfx-bullet:hover {
    background: rgba(255, 255, 255, 0.9) !important;
    transform: scale(1.25) !important;
}

.botvfx-inner-pagination .swiper-pagination-bullet-active {
    width: 15px !important;
    height: 6px !important;
    border-radius: 3px !important;
    background: #a22727 !important;
    opacity: 1 !important;
}

/* =============================================================
   RESPONSIVE LAYOUT (MOBILE HORIZONTAL SCRUBBER)
   ============================================================= */

@media (max-width: 991px) {
    .botvfx-timeline-container {
        flex-direction: column;
        gap: 36px;
    }

    .botvfx-timeline-left-col {
        flex: 1;
        max-width: 100%;
        padding-right: 0;
    }

    .botvfx-timeline-right-col {
        width: 100%;
    }

    .botvfx-timeline-stages-wrapper,
    .botvfx-inner-carousel.swiper,
    .botvfx-inner-slide.swiper-slide,
    .botvfx-slide-media-wrap {
        min-height: 420px;
    }
}

@media (max-width: 768px) {
    .botvfx-timeline-section {
        padding: 40px 18px;
    }

    /* Transform Left Nav to Horizontal Scrubber Bar on Mobile */
    .botvfx-timeline-nav-swiper.swiper {
        height: auto;
        padding: 10px 0 15px;
        overflow-x: auto;
    }

    .botvfx-timeline-nav-swiper .swiper-wrapper {
        flex-direction: row !important;
        align-items: center;
    }

    .botvfx-timeline-nav-slide.swiper-slide {
        width: auto !important;
        flex-shrink: 0;
        padding: 10px 18px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 30px;
        gap: 10px;
        transform: none !important;
        opacity: 0.55;
    }

    .botvfx-timeline-nav-slide.swiper-slide-active {
        opacity: 1;
        background: rgba(162, 39, 39, 0.2);
        border-color: #a22727;
    }

    .botvfx-milestone-marker {
        flex-direction: row;
        padding-top: 0;
        gap: 8px;
    }

    .botvfx-milestone-num {
        writing-mode: horizontal-tb;
        transform: none;
        font-size: 14px;
        color: #ff5252;
    }

    .botvfx-milestone-line {
        display: none;
    }

    .botvfx-milestone-title {
        font-size: 15px;
        white-space: nowrap;
    }

    .botvfx-timeline-controls {
        display: none;
        /* Mobile users swipe horizontally */
    }

    .botvfx-timeline-stages-wrapper,
    .botvfx-inner-carousel.swiper,
    .botvfx-inner-slide.swiper-slide,
    .botvfx-slide-media-wrap {
        min-height: 380px;
    }

    .botvfx-slide-overlay-info {
        padding: 20px;
    }

    .botvfx-inner-controls {
        bottom: 16px;
        right: 16px;
        padding: 4px 10px;
    }

    .botvfx-text-card-visual {
        padding: 30px 22px;
        min-height: 380px;
    }

    .botvfx-text-card-hero-title {
        font-size: 28px;
    }
}