/**
 * CTA Block Styles
 * Single call-to-action button styling
 */

.cta-block {
    display: block;
}

/* Button styling */
.cta-block__button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 24px;
    border: 1px solid var(--wp--preset--color--brand, #ffffff);
    border-radius: var(--wp--custom--radius--button, 12px);
    background: transparent;
    color: var(--wp--preset--color--brand, #ffffff);
    font-family: var(--wp--preset--font-family--barlow-condensed, sans-serif);
    font-size: var(--wp--preset--font-size--body, 24px);
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Hover state */
.cta-block__button:hover {
    background: var(--wp--preset--color--white, #ffffff);
    color: var(--wp--preset--color--brand, #D43425);
    transform: translateY(-2px);
}

/* Active state */
.cta-block__button:active {
    transform: translateY(0);
}

/* Focus state for accessibility */
.cta-block__button:focus {
    outline: 2px solid var(--wp--preset--color--white, #ffffff);
    outline-offset: 2px;
}

/* Variant: Primary (filled background) */
.cta-block--primary .cta-block__button {
    background: var(--wp--preset--color--brand, #D43425);
    border-color: var(--wp--preset--color--brand, #D43425);
    color: var(--wp--preset--color--white, #ffffff);
}

.cta-block--primary .cta-block__button:hover {
    background: var(--wp--preset--color--white, #ffffff);
    border-color: var(--wp--preset--color--brand, #D43425);
    color: var(--wp--preset--color--brand, #D43425);
}

/* Responsive adjustments */
@media (max-width: 599px) {
    .cta-block__button {
        padding: 20px 35px;
        font-size: var(--wp--preset--font-size--body-small, 18px);
    }
}
