/**
 * Frontend Block Styles
 */

/* Custom Blocks */
.mi-highlight-box {
    padding: 25px;
    border-radius: 8px;
    margin: 30px 0;
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.mi-highlight-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
}

.mi-highlight-content {
    font-size: 16px;
    line-height: 1.8;
}

.mi-cta-block {
    padding: 40px;
    background: linear-gradient(135deg, #C41E3A 0%, #A01A2E 100%);
    border-radius: 8px;
    text-align: center;
    margin: 40px 0;
    color: #FFFFFF;
}

.cta-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-description {
    font-size: 18px;
    margin-bottom: 25px;
    opacity: 0.95;
    line-height: 1.7;
}

.cta-button {
    display: inline-block;
    padding: 15px 35px;
    background-color: #FFFFFF;
    color: #C41E3A;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Block Style Variations */
.wp-block-button.is-style-mi-primary .wp-block-button__link {
    background-color: #C41E3A;
    color: #FFFFFF;
    border: none;
}

.wp-block-button.is-style-mi-primary .wp-block-button__link:hover {
    background-color: #A01A2E;
}

.wp-block-button.is-style-mi-outline .wp-block-button__link {
    background-color: transparent;
    border: 2px solid #C41E3A;
    color: #C41E3A;
}

.wp-block-button.is-style-mi-outline .wp-block-button__link:hover {
    background-color: #C41E3A;
    color: #FFFFFF;
}

.wp-block-quote.is-style-mi-highlight {
    background-color: #F5F5F5;
    border-left: 4px solid #C41E3A;
    padding: 25px;
    border-radius: 4px;
    margin: 30px 0;
    font-style: italic;
}

/* Wide and Full Alignment */
.alignwide {
    margin-left: auto;
    margin-right: auto;
    max-width: 1400px;
}

.alignfull {
    margin-left: calc(-100vw / 2 + 100% / 2);
    margin-right: calc(-100vw / 2 + 100% / 2);
    max-width: 100vw;
    width: 100vw;
}

.wp-block-group.has-background {
    padding: 40px;
    border-radius: 8px;
    margin: 30px 0;
}

/* Responsive Embeds */
.wp-block-embed,
.wp-block-video,
iframe {
    max-width: 100%;
    height: auto;
}

.wp-block-embed iframe,
.wp-block-video video {
    width: 100%;
    height: auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .alignfull {
        margin-left: -20px;
        margin-right: -20px;
        width: calc(100% + 40px);
    }
    
    .mi-cta-block {
        padding: 30px 20px;
    }
    
    .cta-title {
        font-size: 24px;
    }
}

