/**
 * Pinterest Callout Banner Block - Frontend Styles
 */

/* Block wrapper to contain width */
.wp-block-pinnerpress-callout-banner {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.pinnerpress-call-out-banner {
    margin: 20px auto;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.pinnerpress-call-out-banner .pinnerpress-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-right: 15px;
    width: auto;
    min-width: 38px;
    flex-shrink: 0;
}

.pinnerpress-call-out-banner .pinnerpress-content {
    text-align: left;
}

.pinnerpress-call-out-banner .pinnerpress-title {
    line-height: 1.4;
}

.pinnerpress-call-out-banner .pinnerpress-button {
    transition: opacity 0.2s;
}

.pinnerpress-call-out-banner .pinnerpress-button:hover {
    opacity: 0.85;
    text-decoration: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .pinnerpress-call-out-banner {
        flex-wrap: wrap !important;
        text-align: center;
    }
    
    .pinnerpress-call-out-banner .pinnerpress-logo {
        margin-bottom: 10px;
        margin-right: 0;
        width: 100%;
        justify-content: center;
    }
    
    .pinnerpress-call-out-banner .pinnerpress-content {
        width: 100%;
        margin: 10px 0 !important;
        text-align: center;
    }
    
    .pinnerpress-call-out-banner .pinnerpress-button-wrapper {
        width: 100%;
    }
    
    .pinnerpress-call-out-banner .pinnerpress-button {
        width: auto;
        min-width: 120px;
    }
}

/* Wide and full alignment support - only when explicitly set */
.wp-block-pinnerpress-callout-banner.alignwide .pinnerpress-call-out-banner,
.wp-block-pinnerpress-callout-banner.alignfull .pinnerpress-call-out-banner {
    max-width: 100%;
}

/* Ensure proper spacing in content */
.entry-content .pinnerpress-call-out-banner,
.post-content .pinnerpress-call-out-banner,
.page-content .pinnerpress-call-out-banner {
    margin-top: 30px;
    margin-bottom: 30px;
}


