
.fomaco_hero-section {
    width: 100%;
    overflow: hidden;
}

.fomaco_hero-container {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 40px;
    gap: 40px;
}

/* ---- Text Column ---- */

.fomaco_hero-text-col {
    flex: 1 1 50%;
    min-width: 280px;
}

.fomaco_hero-heading {
    font-size: 3.125rem !important;
    font-weight: 600;
    line-height: 1.15;
    margin: 0 0 16px 0;
}

.fomaco_hero-heading-line1,
.fomaco_hero-heading-line2 {
    display: block;
}

.fomaco_hero-heading-line1 {
    color: #163C6C;
}

.fomaco_hero-subline {
    font-size: 1.563rem;
    line-height: 1.6;
    color: #263154;
    margin: 0 0 28px 0;
}

.fomaco_hero-button {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 500;
    text-decoration: none;
    transition: all .5s ease;
    cursor: pointer;
    border: none;
    line-height: 1.4;
}

.fomaco_hero-button:hover {
    transition: all .5s ease;
    background-color: #163C6C !important;
}


.fomaco_hero-media-col {
    flex: 1 1 50%;
    min-width: 280px;
    position: relative;
}

.fomaco_hero-media-wrapper {
    position: relative;
    width: 100%;
}

.fomaco_video-placeholder {
    position: absolute;
    top: 20px;
    left: 0;
    width: 48%;
    z-index: 2;
    background: #e8e8e8;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.fomaco_video-placeholder-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 160px;
    padding: 30px 16px;
    color: #777;
    font-size: 0.95rem;
    text-align: center;
}

.fomaco_video-player {
    width: 100%;
    display: block;
    border-radius: 4px;
}

.fomaco_hero-image-wrapper {
    margin-left: 22%;
    position: relative;
    z-index: 1;
}

.fomaco_hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
    object-fit: cover;
}


@media (max-width: 860px) {
    .fomaco_hero-container {
        flex-direction: column;
        padding: 40px 24px;
        gap: 32px;
    }

    .fomaco_hero-text-col,
    .fomaco_hero-media-col {
        flex: 1 1 100%;
        min-width: 0;
        width: 100%;
    }

    .fomaco_hero-text-col {
        text-align: center;
    }

    .fomaco_hero-button {
        margin-left: auto;
        margin-right: auto;
    }

    .fomaco_hero-heading {
        font-size: 1.875rem !important;
    }

    
    .fomaco_hero-image-wrapper {
        display: none;
    }

    
    .fomaco_hero-media-wrapper {
        max-width: 500px;
        margin: 0 auto;
        position: relative;
    }

    .fomaco_video-placeholder {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .fomaco_hero-container {
        padding: 32px 16px;
    }

    .fomaco_hero-heading {
        font-size: 1.8rem;
    }

    .fomaco_hero-subline {
        font-size: 1.125rem;
    }

    .fomaco_hero-button {
        padding: 12px 24px;
        font-size: 0.95rem;
        width: 100%;
        text-align: center;
    }
}
