/* ===== RICHLAND COUNTY FOOTER =====
   Reusable footer styles. Paired with the _Footer.cshtml partial.
   Moved out of site.css so the footer is a self-contained, reusable unit. */
.county-footer {
    background: #004A54;
    color: #ffffff;
    position: relative;
}
.county-footer p {
    font-size: 1.125rem;
    margin-bottom: 6px;
    color: white;
}

.footer-logo {
    max-width: 190px;
    margin-bottom: 25px;
}

.footer-link {
    color: white;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: all 0.2s ease;
}

    .footer-link:hover {
        color: #ffffff;
        text-decoration: underline;
    }

.footer-links li {
    margin-bottom: 20px;
}

.footer-links a {
    color: white;
    text-decoration: none;
}

    .footer-links a:hover {
        color: #ffffff;
        text-decoration: underline;
    }

/* Social icons */
.social-icons {
    gap: 14px;
    margin-top: 30px;
}

.social-icons i {
    font-size: 0.99rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #277DA3;
    border-radius: 50%;
    color: #e6f2f1;
    transition: all 0.2s ease;
    border: 3px solid transparent;
}

.social-icons i:hover {
    background-color: rgba(255, 255, 255, 0.18);
    border-color: #ffffff;
}

/* Bottom strip */
.footer-bottom {
    background-color: #086E67; 
    padding: 40px 43px 35px 43px;
    font-size: 0.9rem;
}
.grid {
    margin: 0 1%;
}
.footer-title{
    margin: 20px 0px 30px 0px;
    font-size: 1.375em;
}
.footer-secondary-links {
    margin: 41px 0px 44px 0px;
    font-size: 1.125em;
    font-family: inherit;
    font-weight: normal;
    font-style: normal;
}
/* Triangles — ONLY on large screens */
@media (min-width: 992px) and (pointer:fine) {
    .county-footer::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 220px 220px 0 0;
        border-color: #164e56 transparent transparent transparent;
    }

    .top-section::after {
        content: '';
        position: absolute;
        bottom: 190px;
        right: 0;
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 0 0 220px 220px;
        border-color: transparent transparent #164e56 transparent;
    }
}
