/* Custom Button Block Styles */
.custom-button-block {
    display: inline-block;
    margin: 20px 0;
}

.custom-button {
    display: inline-flex;
    align-items: center;
    text-decoration: none !important;
    border-radius: 50px;
    border: 1px solid #000000;
    background: #ffffff;
    color: #000000;
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
    white-space: nowrap;
}

.custom-button:hover {
    background: #000000;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.button-text {
    padding: 15px 30px;
    flex-grow: 1;
    text-align: center;
    font-weight: bold;
    white-space: normal;
    word-break: break-word;
}

.button-arrow {
    background: #000000;
    border-radius: 0 50px 50px 0;
    padding: 28px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.button-arrow .arrow-icon {
    width: 24px;
    height: 24px;
    filter: brightness(0) saturate(100%) invert(100%);
    transition: transform 0.3s ease;
}

.custom-button:hover .button-arrow .arrow-icon {
    transform: translateX(3px);
}

/* Button Sizes */
.custom-button-block.small .custom-button {
    font-size: 14px;
}

.custom-button-block.small .button-text {
    padding: 12px 25px;
}

.custom-button-block.small .button-arrow {
    padding: 12px 18px;
}

.custom-button-block.large .custom-button {
    font-size: 18px;
}

.custom-button-block.large .button-text {
    padding: 18px 100px;
}

.custom-button-block.large .button-arrow {
    padding: 28px 16px;
}

/* Button Styles */
.custom-button-block.outline .custom-button {
    background: transparent;
    border: 2px solid #000000;
    color: #000000;
}

.custom-button-block.outline .custom-button:hover {
    background: #000000;
    color: #ffffff;
}

.custom-button-block.filled .custom-button {
    background: #000000;
    color: #ffffff;
    border: 1px solid #000000;
}

.custom-button-block.filled .custom-button:hover {
    background: #ffffff;
    color: #000000;
}

.custom-button-block.filled .button-arrow {
    background: #ffffff;
}

.custom-button-block.filled .button-arrow .arrow-icon {
    filter: brightness(0) saturate(100%) invert(0%);
}

.custom-button-block.filled .custom-button:hover .button-arrow {
    background: #000000;
}

.custom-button-block.filled .custom-button:hover .button-arrow .arrow-icon {
    filter: brightness(0) saturate(100%) invert(100%);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .custom-button-block.large .button-text {
        padding: 18px 20px;
    }
}
@media (max-width: 768px) {
    .custom-button {
        font-size: 14px;
    }
    
    .button-text {
        padding: 12px 20px;
    }
    
    .button-arrow {
        padding: 12px 16px;
    }
    
    .custom-button-block.large .custom-button {
        font-size: 16px;
    }
    
    .custom-button-block.large .button-text {
        padding: 15px 25px;
    }
    
    .custom-button-block.large .button-arrow {
        padding: 20px 15px;
    }
}

@media (max-width: 480px) {
    .custom-button {
        font-size: 12px !important;
        border-radius: 25px;
    }
    
    .button-text {
        padding: 10px 15px;
        border-radius: 25px 25px 0 0;
    }
    
    .button-arrow {
        border-radius: 0 24px 24px 0;
        padding: 20px 15px;
    }
}
