.slider-viewport .post-thumbnail img {
 width: 100%;
}
/* Blue hero overlay to match old site's building photo tint */
#welcome.hero .blacklayer {
    background: rgba(29,54,196,0.5) !important;
}

/* ===== Homepage visual modernization pass ===== */

/* Navy instead of flat black for dark sections */
.dark {
    background-color: #0d1f3d !important;
    color: #b8c2d6 !important;
}
h2.bigtitle_dark span {
    background: #0d1f3d !important;
}

/* Remove dated double-line flourish around dark section headings */
h2.bigtitle_dark:before,
h2.bigtitle_dark:after {
    display: none !important;
}

/* Card polish: services icon boxes */
.services .feature {
    background: rgba(255,255,255,0.03);
    border-radius: 8px;
    padding: 30px 20px;
    transition: transform 200ms ease, box-shadow 200ms ease;
}
.services .feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

/* Card polish: Why DIA / Lender's / Borrower's Corner cards */
.projects-grid .grid {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
    padding-bottom: 20px;
    transition: transform 200ms ease, box-shadow 200ms ease;
}
.projects-grid .grid:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(0,0,0,0.14);
}
.projects-grid .fancybox-thumb img {
    border-radius: 10px 10px 0 0;
}
.projects-grid .grid h3.widget-title {
    margin-top: 16px;
    padding: 0 20px;
}
.projects-grid .grid p {
    padding: 0 20px;
}
.grid-learn-more {
    display: inline-block;
    margin: 8px 20px 4px;
    color: #1e73be;
    font-weight: 600;
    font-size: 0.9em;
    text-decoration: none;
}
.grid-learn-more:hover {
    text-decoration: underline;
}

/* Button polish */
.btn-lg {
    border-radius: 6px;
    transition: transform 150ms ease, box-shadow 150ms ease;
}
.btn-lg:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Form field polish */
.contact input[type="text"],
.contact input[type="email"],
.contact textarea {
    border-radius: 6px;
    padding: 10px 14px;
    transition: border-color 150ms ease;
}
.contact input[type="submit"] {
    border-radius: 6px;
}