.paywall-container {
    position: relative;
    font-family: 'Barlow', sans-serif;
}

/* Ensure admin bar is always visible */
#wpadminbar {
    display: block !important;
}

.content-paywall {
    position: relative;
    margin: 2em 0;
    padding: 0;
}

.paywall-overlay {
    display: block;
    position: absolute;
    top: -300px;
    left: 0;
    right: 0;
    height: 300px;
    background: linear-gradient(to bottom, 
        rgba(255,255,255,0) 0%, 
        rgba(255,255,255,0.6) 30%,
        rgba(255,255,255,0.8) 60%,
        rgba(255,255,255,0.95) 80%,
        rgba(255,255,255,1) 100%);
    pointer-events: none;
    z-index: 9;
}

.paywall-content {
    background: #fff;
    padding: 2.5em;
    text-align: center;
    position: relative;
    z-index: 10;
    margin-bottom: 0;
}

.paywall-content h3 {
    font-family: 'Barlow', sans-serif !important;
    font-size: 28px;
    margin-bottom: 1em;
    color: #333;
    font-weight: 600;
}

.paywall-content p {
    font-family: 'Barlow', sans-serif;
    font-size: 21px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 1.5em;
}

.paywall-buttons {
    margin-top: 2em;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

/* Login buttons container */
.paywall-login-buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 12px;
    margin-bottom: 12px;
    width: 100%;
}

.paywall-login-buttons .button {
    min-width: 180px;
    flex: 1;
}

.paywall-buttons .button {
    font-family: 'Barlow', sans-serif;
    display: inline-block;
    padding: 12px 28px;
    margin: 0;
    text-decoration: none;
    border-radius: 4px;
    font-size: 18px;
    font-weight: 600;
    min-width: 250px;
    text-align: center;
}

/* Mobile styles for paywall buttons */
@media screen and (max-width: 768px) {
    .paywall-login-buttons {
        flex-direction: column;
        gap: 16px;
    }
    
    .paywall-buttons {
        flex-direction: column;
        gap: 16px;
    }
    
    .paywall-buttons .button,
    .paywall-login-buttons .button {
        width: 100%;
        min-width: auto;
        max-width: 300px;
        margin: 0 auto;
    }
}

/* Subscribe button */
.paywall-buttons .button:not(.button-facebook):not(.button-email) {
    background: #F8DE00;
    color: #000;
}

/* Facebook login button */
.paywall-buttons .button-facebook {
    background: #1877F2;
    color: #fff;
}

/* Email login button */
.paywall-buttons .button-email {
    background: #fff;
    color: #000;
    border: 2px solid #000;
}

/* Remove hover effects */
.paywall-buttons .button:hover {
    /* Completely disable all hover effects */
    transform: none !important;
    box-shadow: none !important;
    text-decoration: none !important;
    opacity: 1 !important;
}

.paywall-buttons .button-facebook:hover {
    background-color: #1877F2 !important;
    color: #fff !important;
}

.paywall-buttons .button-email:hover {
    background-color: #fff !important;
    color: #000 !important;
    border-color: #000 !important;
}

.paywall-buttons .button:not(.button-facebook):not(.button-email):hover {
    background-color: #F8DE00 !important;
    color: #000 !important;
}

/* Ensure content above paywall is visible */
.elementor-widget-container > *:not(.content-paywall) {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.elementor-widget-text-editor {
    position: relative;
}

/* Hide specific elements */
.content-paywall ~ #hofundur,
.content-paywall ~ #imgcredit,
.content-paywall ~ [id="hofundur"],
.content-paywall ~ [id="imgcredit"] {
    display: none !important;
}

/* Hide the shortcode text */
.elementor-widget-text-editor p:contains('[paywall]') {
    display: none;
} 