/**
 * Content Block Styles
 * Atomic content section with label, heading, and body text
 */

.content-block {
    display: flex;
    flex-direction: column;
    gap: var(--wp--custom--spacing--md, 2rem);
    color: var(--wp--preset--color--brand, #D43425);
}

@media (min-width: 769px) {
    .content-block__header {
        all: inherit;
    }
}

/* Label styling */
.content-block__label {
    font-family: var(--wp--preset--font-family--barlow-condensed, sans-serif);
    font-size: var(--wp--preset--font-size--h2, 32px);
    font-weight: 400;
    line-height: 1.2;
    margin: 0;
}

.content-block__body p {
    margin: 0 0 1em 0;
}

.content-block__body p:last-child {
    margin-bottom: 0;
}

/* Mobile image (hidden on desktop) */
.content-block__mobile-image {
    display: none;
}

.content-block__mobile-image-img {
    width: 100%;
    max-height: 200px;
    height: 200px;
    object-fit: cover;
    display: block;
    border-radius: var(--wp--custom--radius-card, 25px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .content-block {
        gap: var(--wp--custom--spacing--, 1.5rem);
    }

    .content-block__mobile-image {
        display: block;
    }

    .content-block__label {
        font-size: var(--wp--preset--font-size--body, 24px);
    }
    
    .content-block__heading {
        font-size: var(--wp--preset--font-size--h-2, 48px);
    }
    
    .content-block__body {
        font-size: var(--wp--preset--font-size--body-mobile, 18px);
    }
}
