/* Rebellion CTA Block Styles */
.wp-block-cakeclub-rebellion-cta {
    width: 100%;
    position: relative;
}

.rebellion-cta-section {
    background-color: #f5f4eb;
    padding: 70px 40px;
}

.rebellion-cta-columns {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
}

/* Image on the right variation */
.rebellion-cta-image-right .rebellion-cta-columns {
    flex-direction: row-reverse;
}

.rebellion-cta-image-col {
    flex: 1 1 50%;
    min-width: 0;
}

.rebellion-cta-text-col {
    flex: 1 1 50%;
    min-width: 0;
}

/* Photo + badge */
.rebellion-cta-image-wrapper {
    position: relative;
    width: 100%;
}

.rebellion-cta-image {
    display: block;
    width: 100%;
    height: auto;
}

.rebellion-cta-image-placeholder {
    width: 100%;
    aspect-ratio: 10 / 7;
    background-color: rgba(57, 74, 120, 0.12);
}

.rebellion-cta-badge {
    position: absolute;
    left: -35px;
    bottom: -35px;
    width: 150px;
    height: auto;
    z-index: 2;
}

.rebellion-cta-image-right .rebellion-cta-badge {
    left: auto;
    right: -35px;
}

/* Heading */
.rebellion-cta-heading {
    font-family: var(--font-heading, 'Mindset', sans-serif);
    font-weight: normal;
    font-size: 2.8rem;
    line-height: 1.05;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0 0 25px 0;
}

/* Body copy */
.rebellion-cta-body p {
    font-family: var(--font-body, 'PTMonoWebRegular', monospace);
    line-height: 1.7;
    margin: 0 0 22px 0;
}

/* Button */
.rebellion-cta-button {
    display: inline-block;
    font-family: var(--font-heading, 'Mindset', sans-serif);
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 14px 28px;
    margin-top: 8px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .rebellion-cta-section {
        padding: 50px 20px;
    }

    .rebellion-cta-columns,
    .rebellion-cta-image-right .rebellion-cta-columns {
        flex-direction: column;
        gap: 45px;
    }

    .rebellion-cta-image-col,
    .rebellion-cta-text-col {
        width: 100%;
    }

    .rebellion-cta-badge {
        left: -10px;
        bottom: -25px;
    }

    .rebellion-cta-image-right .rebellion-cta-badge {
        right: -10px;
    }

    .rebellion-cta-button {
        display: block;
        text-align: center;
    }
}
