.ot-7df300ba-container {
    position: relative;
    display: flex;
    align-items: flex-start;
    width: 100%;
    min-height: 400px;
    margin: 40px 0;
    border-radius: 5px;
}

.ot-7df300ba-media-wrapper {
    position: absolute;
    top: 0;
    width: 70%;
    height: 100%;
    z-index: 1;
    border-radius: 5px;
    overflow: hidden;
}

.ot-layout-right .ot-7df300ba-media-wrapper {
    right: 0;
}

.ot-layout-left .ot-7df300ba-media-wrapper {
    left: 0;
}

.ot-7df300ba-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
    display: block; /* Fix for inline image gap */
}

.ot-7df300ba-text-box {
    position: relative;
    z-index: 2;
    width: 50%;
    background-color: #f7f7f9;
    padding: 60px 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-top: 40px;
    margin-bottom: 40px;
    align-self: flex-start;
    transition: transform 0.1s ease-out;
    border: 1px solid #e1e1e1;
    border-radius: 5px;
}

.ot-layout-right .ot-7df300ba-text-box {
    margin-left: 0;
    margin-right: auto;
    border-left: none;
}

.ot-layout-left .ot-7df300ba-text-box {
    margin-left: auto;
    margin-right: 0;
    border-right: none;
}

.ot-7df300ba-heading {
    margin: 0 0 15px 0;
    padding: 0;
    font-size: 32px;
    font-weight: 800;
    color: #24292e;
}

.ot-7df300ba-content {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 30px;
}

.ot-7df300ba-content p:first-child {
    margin-top: 0;
}
.ot-7df300ba-content p:last-child {
    margin-bottom: 0;
}

.ot-7df300ba-btn {
    display: inline-block;
    background-color: #0063af;
    color: #ffffff !important;
    padding: 12px 24px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.ot-7df300ba-btn:hover {
    background-color: #004b87;
    color: #ffffff !important;
}

@media (max-width: 768px) {
    .ot-7df300ba-container {
        flex-direction: column;
        margin: 20px 0;
    }
    
    .ot-7df300ba-media-wrapper {
        position: relative;
        width: 100%;
        height: auto;
        min-height: 250px;
        border-radius: 5px 5px 0 0;
        line-height: 0; /* Fix wrapper line-height gap */
        display: flex;
    }
    
    .ot-7df300ba-text-box {
        width: 100%;
        margin-top: 0 !important;
        margin-bottom: 0;
        padding: 30px 20px;
        margin-left: 0 !important;
        margin-right: 0 !important;
        border: 1px solid #e1e1e1 !important;
        border-top: none !important;
        border-radius: 0 0 5px 5px;
    }
}