section[data-cattype="800"].wrapper_middle {
    background-color: #04132a;
    padding: 60px 0 0;
}
[data-cattype="800"] .footer-bottom {
    background-color: #004aac;
    color: #fff;
    padding: 5px;
    margin-top: 60px;
}
[data-cattype="800"] a { color: #fff; transition: color .3s; }
[data-cattype="800"] a:hover { color: #188ebe; }
[data-cattype="800"] h4 { color: #fff; }
[data-cattype="800"] ul.grid-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: stretch;
    padding: 0;
    margin: 0;
}
[data-cattype="800"] ul.grid-footer > li {
    color: #fff;
    text-align: left;
    list-style: none;
    width: 369px;
    padding-right: 20px;
}
[data-cattype="800"] ul.grid-footer > li:nth-child(1) {
    border-right: 1px solid #fff;
    margin-right: 80px;
}
[data-cattype="800"] ul.grid-footer > li:nth-child(2) { width: 289px; }
[data-cattype="800"] ul.grid-footer li ul.social-media {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: stretch;
    padding: 5px 0 0;
}
[data-cattype="800"] ul.grid-footer li ul.social-media li {
    border: 0;
    width: auto !important;
    margin: inherit;
    font-size: 20px;
    padding-right: 10px;
}
[data-cattype="800"] ul.grid-footer li ul { padding: 5px 0 0; }
[data-cattype="800"] ul.grid-footer li ul li {
    margin: 0 0 7px;
    width: auto !important;
    line-height: 1.3;
    border: 0 !important;
}
[data-cattype="800"] hr { color: #fff; height: 1px; opacity: 1; }
[data-cattype="800"] ul.link-footer-bottom {
    display: none;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: auto;
    width: 65%;
}
[data-cattype="800"] ul.link-footer-bottom li {
    color: #fff;
    list-style: none;
    width: auto;
    border-right: 1px solid #fff;
    padding-right: 20px;
    margin-right: 20px;
}
[data-cattype="800"] ul.link-footer-bottom li:last-child {
    border-right: 0;
    padding-right: 0;
    margin-right: 0;
}

/* Laptop responsive: maintain four footer columns and readable typography. */
@media (min-width: 992px) and (max-width: 1600px) {
    section[data-cattype="800"] ul.grid-footer {
        display: flex;
        flex-wrap: nowrap;
        gap: 2%;
        align-items: flex-start;
    }
    section[data-cattype="800"] ul.grid-footer > li {
        box-sizing: border-box;
        flex: 0 0 19%;
        width: 19%;
        min-width: 0;
        margin-right: 0;
        padding-right: 8px;
        overflow-wrap: anywhere;
    }
    section[data-cattype="800"] ul.grid-footer > li:nth-child(1) {
        flex-basis: 29%;
        width: 29%;
        border-right: 1px solid #fff;
        padding-right: 28px;
        margin-right: 0;
    }
    section[data-cattype="800"] ul.grid-footer > li:nth-child(2) {
        flex-basis: 15%;
        width: 15%;
    }
    section[data-cattype="800"] ul.grid-footer > li:nth-child(3) {
        flex-basis: 18%;
        width: 18%;
    }
    section[data-cattype="800"] ul.grid-footer > li:nth-child(4) {
        flex-basis: 32%;
        width: 32%;
        padding-right: 0;
    }
    section[data-cattype="800"] ul.grid-footer > li > h5 {
        font-size: 18px !important;
        line-height: 1.4;
    }
    section[data-cattype="800"] ul.grid-footer > li > .content,
    section[data-cattype="800"] ul.grid-footer > li > .content p,
    section[data-cattype="800"] ul.grid-footer > li > .content a,
    section[data-cattype="800"] ul.grid-footer > li > .content li,
    section[data-cattype="800"] ul.grid-footer > li > .content span,
    section[data-cattype="800"] ul.grid-footer > li > .content strong,
    section[data-cattype="800"] ul.grid-footer > li > .content b {
        font-size: 14px !important;
        line-height: 1.6;
    }
}

/* Tablet: two columns rather than cramped laptop columns. */
@media (min-width: 768px) and (max-width: 991px) {
    [data-cattype="800"] ul.grid-footer { gap: 24px 0; }
    [data-cattype="800"] ul.grid-footer > li,
    [data-cattype="800"] ul.grid-footer > li:nth-child(1),
    [data-cattype="800"] ul.grid-footer > li:nth-child(2) {
        box-sizing: border-box;
        width: 50%;
        margin-right: 0;
        padding-right: 24px;
    }
    [data-cattype="800"] ul.grid-footer > li:nth-child(1) { border-right: 0; }
}

@media (max-width: 767px) {
    [data-cattype="800"] ul.grid-footer > li,
    [data-cattype="800"] ul.grid-footer > li:nth-child(1),
    [data-cattype="800"] ul.grid-footer > li:nth-child(2) {
        width: 100%;
        margin-right: 0;
        border-right: 0;
    }
}
@media (max-width: 480px) {
    section[data-cattype="800"].wrapper_middle { padding: 0px 0px 0px; }
    [data-cattype="800"] ul.grid-footer > li {
        text-align: center;
        padding: 0;
        margin-top: 20px;
    }
    [data-cattype="800"] ul.grid-footer > li ul.social-media li { margin: 5px; }
    [data-cattype="800"] ul.grid-footer > li:nth-child(1),
    [data-cattype="800"] ul.grid-footer > li:nth-child(2),
    [data-cattype="800"] ul.grid-footer > li:nth-child(3),
    [data-cattype="800"] ul.grid-footer > li:nth-child(4),
    [data-cattype="800"] ul.grid-footer li ul li {
        width: 100%;
        padding: 0;
    }
    [data-cattype="800"] h4 { color: #fff; padding-top: 20px; margin-bottom: 0; }
    [data-cattype="800"] ul.grid-footer li ul.social-media { justify-content: center; padding: 0; margin-top: -20px; }
    [data-cattype="800"] ul.grid-footer li ul {
        padding: 5px 0 0;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: stretch;
    }
    [data-cattype="800"] ul.grid-footer li ul li { padding: 0 5px !important; }
    [data-cattype="800"] .footer-bottom { margin-top: 20px; }
    [data-cattype="800"] h5 { font-weight: bold; }
    [data-cattype="800"] ul.link-footer-bottom { width: 100%; margin-top: 10px; }
    [data-cattype="800"] .social-media a { font-size: 20px; }
}
