/**
 * OG Advert Blocks - Frontend Styles
 */

.og-advert-block {
    position: relative;
    padding: 40px 30px;
    border-radius: 25px;
    overflow: hidden;
    color: #ffffff;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.og-advert-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 1;
}

.og-advert-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 100%;
}

.og-advert-content h1,
.og-advert-content h2,
.og-advert-content h3,
.og-advert-content h4,
.og-advert-content h5,
.og-advert-content h6 {
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: 700;
}

.og-advert-content p {
    color: #ffffff;
    margin-bottom: 20px!important;
    line-height: 150%!important;
}

.og-advert-content p:last-child {
    margin-bottom: 0;
}
.og-advert-content a {
    margin-top: 2rem;
    transition: unset!important;
}
.og-advert-content a.button,
.og-advert-content .wp-block-button__link,
.og-advert-content .btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #ffffff;
    color: #2D5F5D;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #ffffff;
}

.og-advert-content a.button:hover,
.og-advert-content .wp-block-button__link:hover,
.og-advert-content .btn:hover {
    background-color: transparent;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .og-advert-block {
        padding: 30px 20px;
        min-height: 150px;
        margin: 4rem 0 2rem 0;
    }
    
    .og-advert-content h1,
    .og-advert-content h2,
    .og-advert-content h3 {
        font-size: 1.5rem;
    }
    
    .og-advert-content a.button,
    .og-advert-content .wp-block-button__link,
    .og-advert-content .btn {
        padding: 10px 24px;
        font-size: 14px;
    }
}