/* Template CSS File - Add your custom styles here */

/* Colors and header styles should remain in index.html to avoid flicker */

/* Form Section */
.form-section {
    width: 100%;
    margin: 0;
    padding: 0.5rem 0;
}

.form-background {
    background-image: url('https://res.cloudinary.com/dbtcg826q/image/upload/v1765813941/common/sp-buckets/img/role-inst-bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Form button hover */
.form-background button:hover,
.form-background input[type="submit"]:hover,
.form-background .btn:hover {
    background-color: #0D9488 !important;
}

/* Steps Section - Step Icons */
.steps-section .step .step-icon {
    background: #406238;
    color: #ffffff;
}

/* Connect headlines color override */
.steps-main-title {
    color: #333333 !important;
}
.step-title {
    color: #333333 !important;
}

/* Override form container height */
#storefrontloans_apply_form {
    min-height: 400px !important;
}

/* Site title logo styling */
.site-title {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.site-title svg {
    max-height: 2.8rem;
    width: auto;
    height: auto;
    display: block;
    flex-shrink: 0;
}

.site-title-text {
    font-family: 'Merriweather', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #0F172A;
    line-height: 1;
}

/* ---------------------------
   Steps Section Layout
   --------------------------- */
#hero-steps {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 3rem 1rem;
}

#hero-steps > div:not(.loading-container) {
    display: grid;
    gap: 2rem;
}

/* Mobile: single column */
@media (max-width: 639.98px) {
    #hero-steps > div:not(.loading-container) {
        grid-template-columns: 1fr;
    }
}

/* Tablet: two columns */
@media (min-width: 640px) and (max-width: 1023.98px) {
    #hero-steps > div:not(.loading-container) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Desktop: four columns */
@media (min-width: 1024px) {
    #hero-steps > div:not(.loading-container) {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

#hero-steps h1,
#hero-steps h2,
#hero-steps p {
    grid-column: 1 / -1;
    text-align: center;
    margin: 0 auto;
    max-width: 72ch;
}

#hero-steps > div:not(.loading-container) > *:not(h1):not(h2):not(h3):not(p) {
    
}

