/* Keep the footer below content and at the viewport edge on short pages. */
.horses-site-shell {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
    width: 100%;
}
.horses-site-main {
    display: flow-root;
    flex: 1 0 auto;
    min-width: 0;
    width: 100%;
    padding-bottom: 30px;
}
.horses-site-shell > #footerContainer {
    flex: 0 0 auto;
    margin-top: 0;
    margin-bottom: 0;
}
#contentContainer.horses-not-found {
    max-width: 1140px;
    padding: 160px 25px 50px;
}
.horses-not-found h1 {
    margin-bottom: 20px;
    font-size: 30px;
    line-height: 1.3;
}
.horses-not-found p {
    margin-bottom: 25px;
    line-height: 1.6;
}
@media (max-width: 767px) {
    #contentContainer.horses-not-found {
        padding: 130px 20px 40px;
    }
    .horses-not-found h1 {
        font-size: 25px;
    }
}