/* Process Steps Number Fix */

/* Process section styling */
.process-section {
    background: rgba(26, 26, 46, 0.6) !important;
    padding: 40px !important;
}

/* Process steps container */
.process-steps,
.wp-block-columns.process-steps {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 20px !important;
    width: 100% !important;
    margin: 2rem 0 !important;
}

/* Individual step column */
.process-steps .wp-block-column {
    text-align: center !important;
    position: relative !important;
}

/* Step number circle */
.step-number,
h3.step-number {
    background: #d4af37 !important;
    background-color: #d4af37 !important;
    color: #000000 !important;
    width: 80px !important;
    height: 80px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 2.5rem !important;
    font-weight: 900 !important;
    margin: 0 auto 1.5rem auto !important;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4) !important;
    position: relative !important;
    z-index: 1 !important;
    -webkit-text-fill-color: #000000 !important;
    text-shadow: none !important;
}

/* Ensure the number text is visible */
.step-number::before {
    content: attr(data-step) !important;
    position: absolute !important;
    color: #0a0a0a !important;
    font-size: 2.5rem !important;
    font-weight: bold !important;
}

/* If using direct text content */
h3.step-number {
    line-height: 1 !important;
    padding: 0 !important;
    text-align: center !important;
    color: #000000 !important;
    font-size: 2.5rem !important;
    -webkit-text-fill-color: #000000 !important;
}

/* Step titles */
.process-steps h4 {
    color: #d4af37 !important;
    font-size: 1.3rem !important;
    margin-bottom: 1rem !important;
    font-weight: bold !important;
}

/* Step descriptions */
.process-steps p {
    color: rgba(244, 228, 188, 0.9) !important;
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
}

/* Alternative number implementation using CSS counter */
.process-steps {
    counter-reset: step-counter;
}

.process-steps .wp-block-column {
    counter-increment: step-counter;
}

.process-steps .wp-block-column .step-number:empty::before,
.process-steps .wp-block-column h3.step-number:empty::before {
    content: counter(step-counter) !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    color: #0a0a0a !important;
    font-size: 2.5rem !important;
    font-weight: bold !important;
}

/* Force visibility of numbers */
.step-number:not(:empty) {
    color: #0a0a0a !important;
    font-size: 2.5rem !important;
    line-height: 1 !important;
}

/* Connecting line between steps (optional) */
.process-steps .wp-block-column:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 40px;
    right: -10px;
    width: 20px;
    height: 2px;
    background: rgba(212, 175, 55, 0.3);
    z-index: 0;
}

/* Hover effect */
.step-number:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6) !important;
    transition: all 0.3s ease;
}

/* Responsive */
@media (max-width: 1024px) {
    .process-steps {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .process-steps {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .process-steps .wp-block-column::after {
        display: none;
    }
}

@media (max-width: 480px) {
    .process-steps {
        grid-template-columns: 1fr !important;
    }
    
    .step-number,
    h3.step-number {
        width: 60px !important;
        height: 60px !important;
        font-size: 2rem !important;
        line-height: 60px !important;
    }
    
    .step-number::before,
    h3.step-number::before {
        font-size: 2rem !important;
    }
}