/*
Theme Name: McAfee Filters
Theme URI: https://www.mcafeefilters.com
Author: SimpleBlend
Description: WordPress theme for McAfee Filters — a faithful port of the mcafeefilters.com design, including the animated cloud hero, sine-wave divider, off-canvas mobile menu, filter category cards, FAQs and mailing list signup.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mcafee-filters
Tags: custom-menu, custom-logo, featured-images, translation-ready
*/

/*
 * The compiled site stylesheet lives in assets/css/app.css and is enqueued from
 * inc/enqueue.php. This file exists to carry the theme header above and to hold
 * any WordPress-specific overrides that were not part of the original build.
 */

/* --- WordPress core classes the original static site never needed --- */

.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto;
}

.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 0.875rem;
    margin: 0.5rem 0 0;
    text-align: center;
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #fff;
    clip: auto !important;
    clip-path: none;
    color: #00a7ff;
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/*
 * The original markup used a <div> for the menu toggle. This theme uses a
 * <button> so it is keyboard-operable and announced correctly; these rules
 * strip the default button chrome so it renders identically to the original.
 */
.toggle-btn {
    -webkit-appearance: none;
    appearance: none;
    background: none;
    border: 0;
    line-height: 0;
    margin: 0;
    padding: 0;
}

.toggle-btn:focus-visible .hamburger {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* Admin bar must not sit on top of the fixed off-canvas menu. */
.admin-bar .omni-mobile-menu {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar .omni-mobile-menu {
        top: 46px;
    }
}

/* Editor-authored content inside the plain page template. */
.entry-content > *:last-child {
    margin-bottom: 0;
}

/*
 * .made-in-usa is display:flex, so a .text-center wrapper does not centre it.
 * The footer variant is inline-flex and already centres; this covers the
 * contact page, where the badge stands alone.
 */
.about .text-center > .made-in-usa {
    justify-content: center;
}

/*
 * On the original site .section-intro sat directly on a <p>. Here it wraps
 * editor content, so drop the trailing margin the inner paragraph adds.
 */
.section-intro > *:last-child {
    margin-bottom: 0;
}

.entry-content img {
    height: auto;
    max-width: 100%;
}
