@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600;700&family=Open+Sans:wght@400&display=swap');

.offer-esportsnews-v4__wrapper {
    position: relative;
    display: grid;
    align-items: center;
    margin: 32px 0;
    padding: 16px 24px 16px 16px;
    border: 1px solid #19c1a13f;
    border-radius: 4px;
    background-color: #151a1e;
    grid-template-areas: 'logo title details cta-btn';
    grid-template-columns: 125px auto 373px 214px;
}

.offer-esportsnews-v4__wrapper:before,
.offer-esportsnews-v4__wrapper:after {
    position: absolute;
    top: -1px;
    right: 0;
    left: 0;
    height: 1px;
    content: '';
    background: linear-gradient(90deg, #1ecaab00 0%, #1ecaabbf 50.48%, #1ecaab00 100%);
}

.offer-esportsnews-v4__wrapper:after {
    top: 100%;
}

.offer-esportsnews-v4__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 125px;
    height: 60px;
    border-radius: 4px;
    grid-area: logo;
}

.offer-esportsnews-v4__logo img {
    width: 125px;
    height: 60px;
    border-radius: inherit;
    object-fit: contain;
}

.offer-esportsnews-v4__title {
    font-family: Poppins, sans-serif;
    font-size: 19px;
    font-weight: 700;
    font-style: normal;
    line-height: 26px;
    padding: 0 32px;
    letter-spacing: -0.19px;
    text-transform: capitalize;
    color: #fff;
    grid-area: title;
}

.offer-esportsnews-v4__title span {
    color: #20f4cb;
}

.offer-esportsnews-v4__deal {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    font-weight: 400;
    font-style: normal;
    line-height: 20px;
    display: flex;
    align-items: center;
    padding: 0 32px;
    color: #fff;
    grid-area: details;
}

.offer-esportsnews-v4__deal:before {
    position: relative;
    right: 32px;
    width: 1px;
    height: 48px;
    content: '';
    background: #2c333a;
}

.offer-esportsnews-v4__cta-btn {
    font-family: Poppins, sans-serif;
    font-size: 15px;
    font-weight: 600;
    font-style: normal;
    line-height: 20px;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    width: 214px;
    height: 48px;
    margin: auto;
    text-align: center;
    letter-spacing: -0.3px;
    text-transform: capitalize;
    color: #0e1319;
    background: #20f4cb;
    clip-path: polygon(3% 0%, 100% 0, 97% 100%, 0% 100%);
    grid-area: cta-btn;
}

.offer-esportsnews-v4__cta-btn:hover {
    text-decoration: none;
    color: #0e1319;
    background: #15ae90;
}

@media (max-width: 991px) {
    .offer-esportsnews-v4__wrapper {
        margin: 16px 0;
        padding: 16px;
        background-color: #22272b;
        gap: 4px 16px;
        grid-template-areas:
            'logo title'
            'details details'
            'cta-btn cta-btn';
        grid-template-columns: 80px auto;
    }

    .offer-esportsnews-v4__logo,
    .offer-esportsnews-v4__logo img {
        width: 80px;
        height: 38px;
    }

    .offer-esportsnews-v4__title {
        font-size: 17px;
        line-height: 24px;
        padding: 0;
        letter-spacing: unset;
    }

    .offer-esportsnews-v4__deal {
        font-size: 11px;
        line-height: 17px;
        padding: 0;
        color: #d9dce0;
    }

    .offer-esportsnews-v4__deal:before {
        display: none;
    }

    .offer-esportsnews-v4__cta-btn {
        width: 220px;
        margin-top: 8px;
    }
}
