.tabs-container {
    display: flex;
    cursor: pointer;
}

.tabs-content {

    display: none;
    background-color: transparent;
    position: relative;
    border: 1px solid #eee;
}

.tabs-content.active {
    display: flex;
    flex-direction: column;
    background-color: transparent;
    
    margin: 0;
    padding: 1rem 0;
}

.overlay-video {
    position: absolute;
    margin-inline: 2%;
    top: 12%;
    right: 0;
    max-width: 450px;
}

.header-overlay {
    color: #fff;
    position: absolute;
    top: 23%;
    z-index: 5;
    font-size: 3rem;
    font-weight: 900;
    font-style: italic;
    line-height: 0.9;
    margin-inline: 2rem;
    text-align: start;


}

.card-cont {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    cursor: pointer;
    
   

    .card {
        height: 185px;
        padding: 15px 10px;
        border-radius: 1rem;
        position: relative;
        background-color: #fff;
        overflow: hidden;
        box-shadow:
                    0 1px 3px rgba(0, 0, 0, 0.12),
                    0 4px 6px rgba(0, 0, 0, 0.16);

    }

    .card:hover {
        box-shadow: #000000 0 2 1.5;
    }

    p {
        margin-left: 10px;
        text-wrap: wrap;
        padding-right: 190px;
        font-size: 0.85rem;
    }
    
    p span {
        font-size: 1rem;
        font-weight: 700;
    }

    .card-btn {
        padding: 10px 15px;
        margin-left: 10px;
    }

    .card-img {
        position: absolute;
        top: 0;
        right: 0;


    }

    .thumbnail {
        max-width: 185px;
    }
}

.tight-space {
    line-height: 0.9;
    color: #59091F;
    margin-bottom: 20px;
}

.relative {
    position: relative;
}

.resized5 {
    width: 100%;
}

@media (max-width: 800px) {
    
    .card-cont {
        grid-template-columns: repeat(1, 100%)
        
    }
}


@media (max-width: 445px) {
    
    .content100 {
        padding: 20px 0px;
    }
    
    p {
        margin-left: 10px;
        font-size: 0.85rem;
    }
    
    .mobile-only {
        
        margin: 0 auto;
    }
    
    h1 {
        font-size: 1.5rem;
        line-height: 1.1;
    }
    
    h2 {
        font-size: 1.3rem;
    }
    
    .tight-space {
        line-height: 0.9;
        color: #59091F;
        margin-bottom: 0;
    }
    
    .tabs-content.active {
        padding: 0;
    }
    
    .card-cont {
        
       .card {
            height: 225px;
            padding: 15px 10px;
            border-radius: 1rem;
            position: relative;
            background-color: #fff;
            overflow: hidden;
        }

    
        p {
            margin-left: 10px;
            padding-right: 140px;
            font-size: 0.75rem;
        }
    
        p span {
            font-size: 1rem;
        }
        
        .thumbnail {
            max-width: 125px;
        }
        
    }
    
    .tabs-content {

        display: none;
        background-color: transparent;
        position: relative;
        border: 1px solid transparent;
    }
    
    .resized5 {
        width: 100%;
        display: none;
    }
    
    .header-overlay {
        position: inherit;
        color: #000000;
        font-size: 1.5rem;
        display: none;
    }
    
    .overlay-video {
        position: inherit;
        max-width: 380px;
    }
}
