/* CSS for Video and Work Smarter Sections */

/* Video Section */
.video-section {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 40px 0;
    /* Standardized 40px top/bottom for 80px total between sections */
    background: #111;
    z-index: 5;
    margin-top: -1px;
    /* Stitch seam */
    align-items: center;
}

.video-container {
    max-width: 1000px;
    width: 100%;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(239, 64, 92, 0.15);
    border: 1px solid rgba(239, 64, 92, 0.2);
    /* Removed fixed aspect-ratio: 16/9 to allow natural video dimensions */
    background: #111;
    margin: 0 auto;
    /* Force horizontal centering */
}

.video-placeholder-img {
    width: 100%;
    height: auto;
    /* Let height find itself */
    display: block;
    /* Removed object-fit: cover to prevent cropping */
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.video-container:hover .video-placeholder-img {
    opacity: 1;
}

/* Play Button Overlay */
.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    border: 2px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background 0.3s ease;
    pointer-events: none;
}

.video-play-button::before {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 15px 0 15px 26px;
    border-color: transparent transparent transparent #ffffff;
    margin-left: 4px;
    /* Optical center adjustment */
}

.video-container:hover .video-play-button {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(239, 64, 92, 0.8);
    border-color: #FD724C;
}


/* Work Smarter Section */
.work-smarter-section {
    position: relative;
    width: 100%;
    padding: 20px 2rem 40px 2rem;
    /* Reduced top padding to 20px to compress space after video */
    background: #111;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 5;
    overflow: hidden;
}

.work-smarter-header {
    font-family: 'Sui Generis', Georgia, serif;
    font-size: 1.75rem;
    color: #ffffff;
    text-align: center;
    margin-bottom: 40px;
    /* Reduced from 60px */
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

.work-smarter-list {
    list-style: none;
    padding: 0;
    margin: 0 auto 60px auto;
    /* Centered horizontally, reduced margin-bottom from 80px */
    max-width: 800px;
    width: fit-content;
    display: flex;
    flex-direction: column;
    gap: 15px;
    /* Reduced vertical gap from 30px */
}

.work-smarter-item {
    display: flex;
    align-items: center;
    gap: 25px;
    color: #e0e0e0;
    /* Slightly off-white for readability */
    font-size: 1.25rem;
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
    transition: transform 0.3s ease, color 0.3s ease;
}

.work-smarter-item:hover {
    transform: translateX(10px);
    color: #fff;
}

.work-smarter-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    display: block;
}

.buy-now-btn {
    display: inline-block;
    background: linear-gradient(90deg, #FD724C 0%, #EF405C 100%);
    padding: 16px 50px;
    border-radius: 6px;
    color: #ffffff;
    font-family: 'Xirod', sans-serif;
    font-size: 1.1rem;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 0 20px rgba(239, 64, 92, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.buy-now-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 35px rgba(239, 64, 92, 0.8);
    background: linear-gradient(90deg, #ff8a6a 0%, #ff5c76 100%);
}

.buy-now-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to bottom right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0) 100%);
    transform: rotate(45deg);
    animation: shimmer 3s infinite linear;
}

@keyframes shimmer {
    from {
        transform: translateX(-100%) rotate(45deg);
    }

    to {
        transform: translateX(100%) rotate(45deg);
    }
}

@media (max-width: 768px) {
    .work-smarter-header {
        /* font-size: 1.75rem; Inherited */
        margin-bottom: 40px;
    }

    .work-smarter-item {
        font-size: 1.0rem;
        gap: 15px;
        flex-direction: row;
        align-items: flex-start;
    }

    .work-smarter-icon {
        margin-top: 4px;
        /* Align with text top */
    }

    .work-smarter-list {
        gap: 20px;
        margin-bottom: 50px;
        width: 100%;
    }

    .video-section {
        padding: 40px 0;
        /* Maintain standardized 40px on mobile */
    }
}

/* ========================================
   Integrate with Hybrid Section
======================================= */
.integrate-hybrid-section {
    position: relative;
    width: 100%;
    padding: 40px 4rem;
    /* Standardized 40px top/bottom for 80px total between sections */
    background: #111;
    display: flex;
    justify-content: center;
    align-items: center;
}

.integrate-hybrid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-items: center;
    gap: 60px;
    /* Grid handles spacing via column division */
    max-width: 1400px;
    /* Increased max-width to allow "thirds" space */
    width: 100%;
}

.integrate-hybrid-image {
    /* flex-shrink: 0; removed */
    max-width: 500px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.integrate-hybrid-image img {
    width: 100%;
    height: auto;
    display: block;
}

.integrate-hybrid-content {
    /* flex: 1; removed */
    max-width: 500px;
    /* Matching width to image block for symmetry */
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    /* Ensure vertically centered in grid cell */
}

.integrate-hybrid-title {
    font-family: 'Sui Generis', Georgia, serif;
    font-size: clamp(1rem, 1.7vw, 1.75rem);
    color: #ffffff;
    margin: 0 0 20px 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.4;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
    text-align: left;
    /* Explicit left align */
    /* Removed max-width to rely on explicit <br> for line break */
}


.integrate-hybrid-text {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1rem, 0.5vw + 0.8rem, 1.25rem);
    color: #e0e0e0;
    line-height: 1.6;
    margin: 0;
    max-width: 100%;
    /* Fill the constrained container */
    width: 100%;
}


/* Responsive - Stack on mobile */
/* Old media query removed, consolidated at 1300px below */

/* ========================================
   Users Creating Section (Carousel)
======================================= */
.users-creating-section {
    position: relative;
    width: 100%;
    padding: 40px 4rem;
    /* Standardized 40px top/bottom for 80px total between sections */
    background: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: visible;
    /* Allow 3-peat carousel prev/next slides to show */
}

.users-creating-title {
    font-family: 'Sui Generis', Georgia, serif;
    font-size: 1.75rem;
    color: #ffffff;
    text-align: center;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

.users-carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 1400px;
    /* Wider to accommodate 3-peat display */
    height: auto;
    margin: 0 auto 40px;
    overflow: visible;
    /* Allow prev/next slides to show */
    perspective: 1000px;
    /* 3D depth effect */
    background: transparent;
    border: none;
    box-shadow: none;
    z-index: 5;
}

.users-carousel-track {
    position: relative;
    width: 100%;
    aspect-ratio: 100 / 39.375;
    /* Matches 70% width 16:9 slides */
    display: flex;
    justify-content: center;
    align-items: flex-start;
    transition: aspect-ratio 0.5s ease-in-out;
    /* Smooth resize */
}

/* Users Carousel Slide - 3-Peat Display (Matches Hero) */
.users-carousel-slide {
    position: absolute;
    width: 70%;
    top: 0;
    left: 50%;
    transform: translateX(-50%) scale(0.8);
    z-index: 0;
    opacity: 0;
    transition: all 0.5s ease-in-out;
    overflow: hidden;
    border-radius: 0;
    background: #000;
    height: 100%;
    /* Ensure slide fills track height */
}

/* Active Slide (Center) */
.users-carousel-slide.active {
    opacity: 1;
    z-index: 3;
    left: 50%;
    transform: translateX(-50%) scale(1);
    filter: drop-shadow(0 10px 40px rgba(0, 0, 0, 0.6));
}

/* Previous Slide (Left) */
/* Previous Slide (Left) */
.users-carousel-slide.prev {
    opacity: 0.35 !important;
    z-index: 1;
    left: 15%;
    transform: translateX(-50%) scale(0.75);
    display: block !important;
    filter: brightness(0.7);
    /* border: 2px solid #00FF00; DEBUG REMOVED */
}

/* Next Slide (Right) */
/* Next Slide (Right) */
.users-carousel-slide.next {
    opacity: 0.35 !important;
    z-index: 1;
    left: 85%;
    transform: translateX(-50%) scale(0.75);
    display: block !important;
    filter: brightness(0.7);
    /* border: 2px solid #00FF00; DEBUG REMOVED */
}

/* Video/Image - Exact match to Hero Logic */
.users-carousel-slide video,
.users-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    margin: 0;
    padding: 0;
    border: none;
    /* Ensure no residual transforms interfere */
    transform: none;
}

/* Theater Button - Always Visible and High Z-Index */
.users-carousel-slide .slide-theater-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    transition: all 0.2s ease;
    opacity: 0.8;
    transform: translateY(0);
    pointer-events: auto;
}

.users-carousel-slide.active:hover .slide-theater-btn,
.users-carousel-slide .slide-theater-btn:hover {
    opacity: 1;
    transform: scale(1.05);
    background: rgba(239, 64, 92, 0.8);
    border-color: #FD724C;
}

.users-carousel-slide .slide-theater-btn svg {
    width: 20px;
    height: 20px;
    fill: #ffffff;
    display: block;
}

.users-slide-meta {
    text-align: center;
    margin-top: 30px;
    max-width: 600px;
}

.users-slide-description {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: #cccccc;
    line-height: 1.6;
    margin: 0 0 10px 0;
}

.users-slide-artist {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #888888;
    font-style: italic;
    margin: 0;
}

/* Navigation */
.users-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.users-nav-arrow {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, opacity 0.2s ease;
    opacity: 0.8;
}

.users-nav-arrow:hover {
    transform: scale(1.15);
    opacity: 1;
}

.users-nav-dots {
    display: flex;
    gap: 12px;
    align-items: center;
}

.users-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #EF405C;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.users-dot.active {
    background: linear-gradient(180deg, #FD724C 0%, #EF405C 100%);
    box-shadow: 0 0 8px rgba(239, 64, 92, 0.6);
}

.users-dot:hover:not(.active) {
    background: rgba(239, 64, 92, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .users-creating-section {
        padding: 40px 0;
        /* Remove side padding */
        overflow: hidden;
    }

    .users-creating-title {
        /* font-size: 1.75rem; Inherited */
    }

    .users-carousel-wrapper {
        max-width: 100%;
    }

    .users-carousel-track {
        aspect-ratio: 100 / 55;
        /* Increased height for larger slides */
    }

    .users-carousel-slide {
        width: calc(100% - 160px);
        /* 80px side peeks */
    }

    .users-carousel-slide.prev {
        left: 40px;
        transform: translateX(-50%) scale(0.85);
        opacity: 0.5;
    }

    .users-carousel-slide.next {
        left: calc(100% - 40px);
        transform: translateX(-50%) scale(0.85);
        opacity: 0.5;
    }

    .users-carousel-slide.active {
        transform: translateX(-50%) scale(1);
    }

    .users-slide-description {
        font-size: 1rem;
    }

    .users-slide-meta {
        padding: 0 20px;
    }
}

/* ========================================
   Vexport Directly to Resolume Section
======================================= */
.vexport-resolume-section {
    position: relative;
    width: 100%;
    padding: 40px 4rem;
    background: #111;
    display: flex;
    justify-content: center;
    align-items: center;
}

.vexport-resolume-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Flexbox instead of Grid -> switched to Grid */
    align-items: center;
    justify-items: center;
    gap: 60px;
    max-width: 1400px;
    /* Match Integrate section */
    width: 100%;
}

.vexport-resolume-content {
    /* flex: 1; removed */
    max-width: 500px;
    /* Match symmetric width */
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    /* Left Align */
}

/* Identical title styling to Integrate Seamlessly */
.vexport-resolume-title {
    font-family: 'Sui Generis', Georgia, serif;
    font-size: clamp(1rem, 1.7vw, 1.75rem);
    color: #ffffff;
    margin: 0 0 20px 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.4;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
    text-align: left;
}

.vexport-resolume-text {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1rem, 0.5vw + 0.8rem, 1.25rem);
    color: #e0e0e0;
    line-height: 1.6;
    margin: 0;
    text-align: left;
    margin-bottom: 30px;
    max-width: 50ch;
    /* Force consistent line breaks based on char count */
    width: 100%;
    /* Space for button */
}

.vexport-resolume-image {
    /* flex-shrink: 0; removed */
    max-width: 500px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.vexport-resolume-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.start-trial-btn {
    align-self: flex-start;
    /* Left align button */
    /* Other styles inherited from previous definition if present, or we redefine */
    display: inline-block;
    background: linear-gradient(90deg, #FD724C 0%, #EF405C 100%);
    padding: 16px 50px;
    border-radius: 6px;
    color: #ffffff;
    font-family: 'Xirod', sans-serif;
    font-size: 1.1rem;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 0 20px rgba(239, 64, 92, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    white-space: nowrap !important;
}

.start-trial-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 35px rgba(239, 64, 92, 0.8);
    background: linear-gradient(90deg, #ff8a6a 0%, #ff5c76 100%);
}

/* Responsive */

/* Responsive - Stack at 1100px */
@media (max-width: 1100px) {

    /* Integrate Seamlessly Stacking */
    .integrate-hybrid-container {
        display: flex;
        /* Override grid */
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0;
        /* Gap handled by margins on ordered elements */
    }

    /* Restore large title size when stacked */
    .integrate-hybrid-title,
    .vexport-resolume-title {
        font-size: 1.75rem;
        letter-spacing: 2px;
        margin-bottom: 20px;
        text-align: center;
    }

    .integrate-hybrid-content {
        display: contents;
        /* Unwraps children for reordering */
    }

    .integrate-hybrid-title {
        order: 1;
        text-align: center;
        margin-bottom: 30px;
        width: 100%;
        max-width: 100%;
    }

    .integrate-hybrid-image {
        order: 2;
        margin-bottom: 40px;
        max-width: 90%;
        width: auto;
    }

    .integrate-hybrid-text {
        order: 3;
        text-align: center;
        max-width: 800px;
        width: 90%;
        margin-bottom: 0;
    }

    /* Vexport Directly Stacking */
    .vexport-resolume-container {
        display: flex;
        /* Override grid */
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0;
    }

    .vexport-resolume-content {
        display: contents;
        /* Unwraps children for reordering */
    }

    .vexport-resolume-title {
        order: 1;
        text-align: center;
        margin-bottom: 30px;
        width: 100%;
    }

    .vexport-resolume-image {
        order: 2;
        margin-bottom: 40px;
        max-width: 90%;
        width: auto;
    }

    .vexport-resolume-text {
        order: 3;
        text-align: center;
        max-width: 800px;
        width: 90%;
        margin-bottom: 30px;
    }

    .start-trial-btn {
        order: 4;
        align-self: center;
        margin-top: 10px;
    }
}

/* ========================================
   THE VEXML PROCESS Section
======================================= */
.vexml-process-section {
    position: relative;
    width: 100%;
    padding: 80px 2rem;
    background: #111;
    z-index: 5;
}

.vexml-process-container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
}

.vexml-process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px 40px;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

.process-step-icon {
    width: 100%;
    max-width: 280px;
}

.process-step-icon svg {
    width: 100%;
    height: auto;
    display: block;
}

.process-step-label {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    color: #CCCCCC;
    line-height: 1.5;
    max-width: 280px;
}

.process-icon {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.process-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.process-icon-vexport {
    background: linear-gradient(135deg, #FD724C 0%, #EF405C 100%);
    border: none;
}

.vexport-text {
    font-family: 'Xirod', sans-serif;
    font-size: 1rem;
    color: #ffffff;
    letter-spacing: 2px;
}

.process-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #cccccc;
    line-height: 1.5;
    margin: 0;
    max-width: 180px;
    font-style: italic;
}

.process-arrow {
    font-size: 2rem;
    color: #FD724C;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 50px;
    /* Align with icons */
}

/* Tablet: 2 columns */
@media (max-width: 1100px) {
    .vexml-process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px 30px;
    }

    .vexml-process-section {
        padding: 40px 1.5rem;
        /* Maintain standardized 40px on tablet */
    }
}

/* Mobile: 1 column stack */
@media (max-width: 700px) {
    .vexml-process-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .vexml-process-section {
        padding: 40px 1rem;
        /* Maintain standardized 40px on mobile */
    }

    .process-step-icon {
        max-width: 220px;
    }
}

/* ========================================
   RESPONSIVE PROCESS GRID (Test Section)
======================================= */
.vexml-process-section-grid {
    position: relative;
    width: 100%;
    padding: 40px 2rem 110px 2rem;
    /* 110px bottom padding - 30px quote overlap = 80px visual gap */
    background: #0a0a0a;
    z-index: 5;
}

.easily-load-title {
    font-family: 'Sui Generis', Georgia, serif;
    font-size: 1.75rem;
    color: #ffffff;
    text-align: center;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

.vexml-process-section-grid .vexml-process-container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
}

.vexml-process-section-grid .vexml-process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px 40px;
    align-items: start;
    /* Align items at top of each row */
    justify-items: center;
    /* Center items horizontally in their cells */
}

.vexml-process-section-grid .process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 320px;
}

.vexml-process-section-grid .process-step-icon {
    width: 100%;
    max-width: 280px;
    min-height: 200px;
    /* Fixed height so labels align across rows */
    margin-bottom: 5px;
    /* Reduced spacing between icon and text */
    display: flex;
    justify-content: center;
    align-items: center;
    /* Center icons vertically */
}

.vexml-process-section-grid .process-step-icon svg {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 200px;
    /* Consistent height for all icons */
    display: block;
}

.vexml-process-section-grid .process-step-label {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    /* Match paragraph font size from easily-load-text */
    color: #e0e0e0;
    /* Match paragraph color */
    line-height: 1.6;
    max-width: 280px;
    margin: 0;
    text-align: center;
}

/* Tablet: 2 columns */
@media (max-width: 1100px) {
    .vexml-process-section-grid .vexml-process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px 30px;
    }

    .vexml-process-section-grid {
        padding: 40px 1.5rem 110px 1.5rem;
        /* Maintain standardized top/side but match extra bottom spacing */
    }
}

/* Mobile: 1 column */
@media (max-width: 700px) {
    .vexml-process-section-grid .vexml-process-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .vexml-process-section-grid {
        padding: 40px 1rem 110px 1rem;
    }

    .vexml-process-section-grid .process-step-icon {
        max-width: 220px;
    }

    .vexml-process-section-grid .process-step-label {
        font-size: 16px;
    }
}



/* Hybrid Integration Section - Mirrors Easily Load but Swapped Desktop Areas */
.hybrid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    /* No button row */
    grid-template-areas:
        "title title"
        "image text";
    /* Image Left, Text Right */
    gap: 40px;
    max-width: 1200px;
    width: 100%;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    /* Center the container itself */
}

/* Force wrapper to be effectively removed so children sit on grid directly */
.hybrid-container .easily-load-content {
    display: contents;
}

/* Allow Title to wrap on Desktop for long titles in Hybrid section */
.hybrid-container .easily-load-title {
    white-space: normal !important;
    line-height: 1.2;
    /* Tighten line height for multi-line title */
    margin-bottom: 40px;
    /* Add breathing room below title */
}

/* Re-use inner element styles but ensure they fit */
.hybrid-container .easily-load-text {
    justify-self: start;
    /* Text is on right, so align start (left) to be close to image */
    text-align: left;
}

.hybrid-container .easily-load-image {
    justify-self: end;
    /* Image is on left, so align end (right) to be close to text */
}

/* Mobile Stack for Hybrid Section */
@media (max-width: 980px) {
    .hybrid-container {
        grid-template-columns: 1fr;
        grid-template-areas:
            "title"
            "image"
            "text";
        gap: 30px;
        text-align: center;
    }

    .hybrid-container .easily-load-text {
        justify-self: center;
    }

    .hybrid-container .easily-load-image {
        justify-self: center;
    }
}