/* Malicious File Hunter header and footer for aMember pages, matching the main site (public/css/custom.css +
   color_scheme.css). Everything is scoped to .mfh-* so aMember's own form styles are untouched. */

.mfh-header, .mfh-footer {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 12px;
    line-height: 20px;
    color: #666;
}
.mfh-header *, .mfh-footer * { box-sizing: border-box; }
.mfh-wrap {
    max-width: 940px;
    margin: 0 auto;
    padding: 0 16px;
}
.mfh-am { background-color: #fff; }

/* Header: blue top line, logo + phone numbers, two-line tab nav */
.mfh-header { background: #fff; }
.mfh-top-line { height: 5px; background: #2773ae; }
.mfh-brand-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 36px;
    padding-bottom: 32px;
}
.mfh-logo img { display: block; max-width: 100%; height: auto; }
.mfh-phone {
    margin: 0;
    padding: 0;
    font-size: 18px;
    line-height: 36px;
    text-align: right;
    color: #666;
}
.mfh-phone a { color: #2773ae; text-decoration: none; }

.mfh-nav {
    display: flex;
    flex-wrap: wrap;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    padding: 0;
}
.mfh-wrap.mfh-nav { padding: 0; max-width: 940px; }
.mfh-nav a {
    display: block;
    padding: 12px 15px 10px;
    border-top: 3px solid transparent;
    border-right: 1px dotted #ccc;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    line-height: 18px;
    text-align: center;
    text-decoration: none;
}
.mfh-nav a i {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: #666;
}
.mfh-nav a:hover, .mfh-nav a:hover i, .mfh-nav a.mfh-active, .mfh-nav a.mfh-active i { color: #2773ae; }
.mfh-nav a:hover, .mfh-nav a.mfh-active { border-top-color: #2773ae; }

/* Footer: grey three-column band, dark copyright bar */
.mfh-footer { margin-top: 40px; }
.mfh-footer-top { height: 10px; background: #898989; }
.mfh-footer-main { background: #666; padding: 28px 0 10px; }
.mfh-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.mfh-footer-logo { display: block; margin-bottom: 20px; max-width: 100%; }
.mfh-footer address {
    font-style: normal;
    color: #cbcbcb;
    padding-left: 15px;
}
.mfh-footer h4 {
    margin: 0;
    padding-bottom: 8px;
    border-bottom: 1px solid #cbcbcb;
    color: #cbcbcb;
    font-size: 18px;
    font-weight: normal;
    line-height: 22px;
}
.mfh-footer p { color: #cbcbcb; margin: 0; padding: 12px 0 0; line-height: 18px; }
.mfh-footer ul { list-style: none; margin: 0 0 20px; padding: 0; }
.mfh-footer li { border-bottom: 1px solid #898989; padding: 5px 0; }
.mfh-footer li a { color: #fff; text-decoration: none; }
.mfh-footer li a:hover { text-decoration: underline; }
.mfh-footer-bottom { background: #333; color: #fff; padding: 18px 0 13px; }
.mfh-footer-bottom .mfh-wrap { padding-left: 30px; }
.mfh-footer-bottom a { color: #fff; text-decoration: none; }

@media (max-width: 767px) {
    .mfh-brand-row { padding-top: 20px; padding-bottom: 16px; }
    .mfh-phone { font-size: 15px; line-height: 26px; text-align: left; }
    .mfh-nav a { flex: 1 1 33%; padding: 8px 6px; font-size: 13px; }
    .mfh-cols { grid-template-columns: 1fr; }
}
