.af-elementor-paywall-banner-container {
    width: 100%;
    margin: 20px 0;
    font-family: "Roboto", Sans-serif;
}

.af-elementor-paywall-banner {
    position: relative;
    background-image: url('../img/banner_background.webp');
    background-size: cover;
    background-position: right;
    background-repeat: no-repeat;
    border-radius: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-sizing: border-box;
    padding: 60px 20px 20px 70px;
    height: 415px;
    width: 100%;
}

/* Yellow border effect */
.af-elementor-paywall-banner::before {
    content: '';
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    border: 15px solid rgba(250, 255, 50, 0.85);
    border-radius: 0;
    pointer-events: none;
}

.af-elementor-paywall-banner-header {
    position: relative;
    z-index: 2;
    margin-bottom: 10px;
    text-align: center;
}

.af-elementor-paywall-banner-container .af-elementor-paywall-banner-header img {
    max-width: 100%;
    height: 220px;
}

.af-elementor-paywall-banner-header-mobile {
    display: none;
}

.af-elementor-paywall-banner-button-container {
    position: relative;
    z-index: 2;
    padding-left: 25px;
}

.af-elementor-paywall-banner-button {
    display: inline-block;
    padding: 15px 25px;
    color: #0B61D4 !important;
    background-color: #fff;
    border: 1px solid #0862d8;
    text-decoration: none;
    border-radius: 40px;
    font-size: 18px;
    font-weight: bold;
}

.af-elementor-paywall-banner-button:hover,
.af-elementor-paywall-banner-button:active,
.af-elementor-paywall-banner-button:focus {
    text-decoration: none;
    background-color: #0862d8;
    border-color: transparent;
    color: #fff !important;
}

.af-elementor-paywall-banner-button .fas {
    margin-right: 4px;
}

/* Mobile styles */
@media (max-width: 880px) {
    .af-elementor-paywall-banner-container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .af-elementor-paywall-banner {
        box-sizing: border-box;
        background-image: url('../img/banner_background_mobile.webp');
        max-height: 90vh;
        min-height: 300px;
        height: 550px;
        padding: 50px 30px;
    }

    .af-elementor-paywall-banner-header {
        margin-bottom: 20px;
    }

    .af-elementor-paywall-banner-header-desktop {
        display: none;
    }

    .af-elementor-paywall-banner-header-mobile {
        display: block;
    }

    .af-elementor-paywall-banner-container .af-elementor-paywall-banner-header img.af-elementor-paywall-banner-header-mobile  {
        max-width: 100%;
        max-height: 250px;
        min-height: 100px;
        height: 100%;
    }

    /* Safari-specific fix for mobile header image height issue */
    @supports (-webkit-touch-callout: none) {
        .af-elementor-paywall-banner-container .af-elementor-paywall-banner-header img.af-elementor-paywall-banner-header-mobile {
            height: auto;
        }
    }

    .af-elementor-paywall-banner-button-container {
        position: relative;
        z-index: 2;
        padding-left: 10px;
    }
    
    .af-elementor-paywall-banner-button {
        padding: 15px 30px;
    }

    .af-elementor-paywall-banner::before {
        top: 0px;
        left: 0px;
        right: 0px;
        bottom: 0px;
        border: 12px solid rgba(250, 255, 50, 0.85);
    }
}

