/* Gutenberg CTA Block Styles */
.homesecure-cta-buttons-block {
    margin: 30px 0;
    padding: 20px 0;
}

.cta-buttons-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.homesecure-cta-buttons-block.text-left .cta-buttons-wrapper {
    justify-content: flex-start;
}

.homesecure-cta-buttons-block.text-right .cta-buttons-wrapper {
    justify-content: flex-end;
}

.homesecure-cta-buttons-block.text-center .cta-buttons-wrapper {
    justify-content: center;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: #fff;
    color: #333;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 16px;
    border: 2px solid transparent;
    white-space: nowrap;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: #333;
}

.cta-button:focus {
    outline: 2px solid var(--primary-color, #dc3545);
    outline-offset: 2px;
}

.cta-button i {
    font-size: 18px;
    width: 20px;
    text-align: center;
}

.cta-button-phone {
    color: #28a745;
    border-color: #28a745;
}

.cta-button-phone:hover {
    background: #28a745;
    color: #fff;
    border-color: #28a745;
}

.cta-button-whatsapp {
    color: #25d366;
    border-color: #25d366;
}

.cta-button-whatsapp:hover {
    background: #25d366;
    color: #fff;
    border-color: #25d366;
}

.cta-button-email {
    color: var(--primary-color, #dc3545);
    border-color: var(--primary-color, #dc3545);
}

.cta-button-email:hover {
    background: var(--primary-color, #dc3545);
    color: #fff;
    border-color: var(--primary-color, #dc3545);
}

/* RTL Support */
[dir="rtl"] .cta-button {
    flex-direction: row-reverse;
}

[dir="rtl"] .homesecure-cta-buttons-block.text-left .cta-buttons-wrapper {
    justify-content: flex-end;
}

[dir="rtl"] .homesecure-cta-buttons-block.text-right .cta-buttons-wrapper {
    justify-content: flex-start;
}

/* Responsive */
@media (max-width: 768px) {
    .cta-buttons-wrapper {
        flex-direction: column;
        gap: 12px;
    }
    
    .cta-button {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
    }
    
    [dir="rtl"] .cta-button {
        flex-direction: row-reverse;
    }
}
