/* Echelon SEO presentation. All new presentation rules remain external. */
.echelon-service-overview {
    padding: 0 0 40px;
}
.echelon-service-overview__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}
.echelon-service-overview__card {
    padding: 28px;
    background: #fff;
    border: 1px solid #e4dce6;
    border-top: 3px solid #b59410;
    border-radius: 10px;
    box-shadow: 0 5px 18px rgba(59, 19, 68, 0.08);
}
.echelon-service-overview__card h2,
.echelon-directory-intro h1 {
    color: #3b1344;
    font-weight: 700;
    line-height: 1.3;
}
.echelon-service-overview__card h2 {
    margin: 0 0 12px;
    font-size: 23px;
}
.echelon-service-overview__card p,
.echelon-directory-intro p {
    color: #221824;
    font-size: 16px;
    line-height: 1.7;
}
.echelon-service-overview__card a {
    color: #3b1344;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.echelon-service-overview__card a:hover,
.echelon-service-overview__card a:focus-visible {
    color: #002366;
}
.echelon-directory-intro {
    max-width: 900px;
    margin: 0 auto 36px;
    text-align: center;
}
.echelon-directory-intro h1 {
    font-size: clamp(28px, 3vw, 40px);
}
.home-slider .slider-bg-image > .echelon-hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.searched-keywords > span {
    flex-shrink: 0;
    color: #221824;
    font-size: 13px;
    white-space: nowrap;
}
.searched-keywords-list > li + li {
    margin-left: 8px;
}
@media (max-width: 767px) {
    .echelon-service-overview__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }
    .echelon-service-overview__card {
        padding: 22px;
    }
    .echelon-service-overview__card h2 {
        font-size: 21px;
    }
}

/* Existing 404 page appearance, moved from its embedded style block. */
/* OUTER WRAPPER — stays white */
    .custom-404-outer {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 75vh;
        background: #FFFFFF; /* white edges */
        padding: 0 25px; /* white margins left/right */
    }

    /* INNER WRAPPER — purple box */
    .custom-404-inner {
        background: #3B1344;
        width: 100%;
        max-width: 800px; /* keeps it centered and clean */
        padding: 40px 25px;
        text-align: center;
        color: #FFFFFF !important;
        border-radius: 12px; /* optional but looks premium */
        font-family: Inter, Arial, sans-serif;
    }

    .custom-404-inner h1,
    .custom-404-inner h2,
    .custom-404-inner p {
        color: #FFFFFF !important;
    }

    .custom-404-inner h1 {
        font-size: 80px;
        margin-bottom: 10px;
    }

    .custom-404-inner h2 {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .custom-404-inner p {
        font-size: 18px;
        max-width: 500px;
        margin: 0 auto 40px;
    }

    .custom-404-btn {
        display: inline-block;
        background: #FFFFFF;
        color: #3B1344;
        padding: 14px 28px;
        border-radius: 8px;
        font-size: 18px;
        text-decoration: none;
        margin-bottom: 20px;
    }

    .custom-404-img {
        width: 300px;
        margin-top: 10px;
    }
