/* Scoped refinements for the existing red/white Maro design. */
.maro-seo-enabled .maro-seo-hero.et_pb_section {
    padding: 36px 0 !important;
    background: #f7f7f7 !important;
}
.maro-seo-enabled .maro-seo-hero .et_pb_row {
    width: 90% !important;
    max-width: 1180px !important;
    padding: 0 !important;
}
.maro-seo-enabled .maro-seo-hero .et_pb_text { margin-bottom: 0 !important; }
.maro-seo-enabled .maro-seo-hero h1,
.maro-seo-enabled h1.entry-title {
    font-size: clamp(26px, 2.7vw, 42px) !important;
    line-height: 1.2 !important;
    margin: 0 0 18px !important;
    padding: 0 !important;
    text-transform: none !important;
    font-weight: 700 !important;
    overflow-wrap: break-word;
    color: #a60107 !important;
}
.maro-seo-enabled .maro-seo-hero p {
    font-size: 17px;
    line-height: 1.6;
    max-width: 72ch;
    color: #303030;
}
.maro-seo-enabled .maro-seo-hero-home.et_pb_section {
    background: #e6e3df url('/wp-content/uploads/2021/07/top_image.jpg') center / cover !important;
    padding: 40px 0 !important;
}
.maro-seo-enabled .maro-seo-hero-home .maro-seo-text {
    background: rgba(255, 255, 255, .97);
    max-width: 760px;
    width: 74%;
    padding: 28px;
}
.maro-seo-enabled .maro-seo-heading {
    font-size: clamp(23px, 2.1vw, 32px) !important;
    line-height: 1.3 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    padding-bottom: 12px;
    overflow-wrap: break-word;
}
.maro-seo-enabled h3.maro-seo-heading { font-size: clamp(20px, 1.7vw, 26px) !important; }
.maro-seo-enabled .et_pb_toggle_title { line-height: 1.35 !important; }
.maro-seo-active .maro-seo-cta {
    display: flex;
    gap: 12px 20px;
    align-items: center;
    flex-wrap: wrap;
    margin: 14px 0 0 !important;
    padding-bottom: 0 !important;
}
.maro-seo-active .maro-seo-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    background: #a60107;
    color: #fff !important;
    padding: 11px 18px;
    border-radius: 3px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    line-height: 1.5;
}
.maro-seo-active .maro-seo-phone {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: #8b0005 !important;
    font-size: 18px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.maro-seo-active .maro-seo-button:hover { background: #770005; }
.maro-seo-active a:focus-visible,
.maro-seo-active button:focus-visible,
.maro-seo-active [role="button"]:focus-visible { outline: 3px solid #a60107; outline-offset: 3px; }
.maro-seo-active .maro-seo-button:focus-visible { outline-color: #222; }
.maro-seo-enabled:not(.et_pb_pagebuilder_layout) #main-content > .container { padding-top: 32px; }
.maro-seo-enabled:not(.et_pb_pagebuilder_layout) #left-area { width: 100%; padding-right: 0; }
.maro-seo-enabled:not(.et_pb_pagebuilder_layout) #sidebar,
.maro-seo-enabled:not(.et_pb_pagebuilder_layout) #main-content > .container::before { display: none; }
.maro-seo-enabled:not(.et_pb_pagebuilder_layout) .entry-content { font-size: 17px; line-height: 1.7; }
.maro-seo-enabled:not(.et_pb_pagebuilder_layout) .entry-content h2 { margin-top: 28px; font-size: clamp(23px, 2.1vw, 32px); line-height: 1.3; }
.maro-seo-enabled #main-content h2,
.maro-seo-enabled #main-content h3 { overflow-wrap: break-word; }
.maro-seo-enabled .maro-seo-related.et_pb_section { padding: 24px 0; }
.maro-seo-enabled .maro-seo-related a { display: inline-flex; align-items: center; min-height: 44px; margin: 0 10px; }
.maro-seo-active #main-footer { background: #fff; }
.maro-seo-active .maro-contact-footer { background: #f7f7f7; color: #303030; padding: 48px 0 24px; }
.maro-seo-active .maro-footer-inner { width: 90%; max-width: 1180px; margin: 0 auto; }
.maro-seo-active .maro-contact-details {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 28px;
    text-align: left;
    text-transform: none;
    letter-spacing: normal;
    font-size: 16px;
    line-height: 1.65;
    color: #303030;
}
.maro-seo-active .maro-contact-details > div { min-width: 0; }
.maro-seo-active .maro-contact-details address { font-style: normal; margin-bottom: 10px; }
.maro-seo-active .maro-contact-details strong,
.maro-seo-active .maro-contact-label { font-weight: 700; }
.maro-seo-active .maro-contact-links a { display: flex; align-items: center; min-height: 44px; width: fit-content; color: #8b0005; overflow-wrap: anywhere; }
.maro-seo-active .maro-footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 28px; padding-top: 18px; border-top: 1px solid #ddd; }
.maro-seo-active .maro-footer-nav { display: flex; flex-wrap: wrap; gap: 0 20px; }
.maro-seo-active .maro-footer-nav a { display: inline-flex; align-items: center; min-height: 44px; color: #383838; }
.maro-seo-active .maro-footer-nav a:hover { color: #a60107; text-decoration: underline; }
.maro-seo-active .maro-trust-link { flex: 0 0 140px; }
.maro-seo-active .maro-trust-link img { width: 140px; height: auto; }

/* Expandable branches keep every third-level link reachable on short screens. */
.maro-seo-active .maro-nav-ready li { position: relative; }
.maro-seo-active .maro-nav-ready li.menu-item-has-children > a { padding-right: 44px !important; }
.maro-seo-active .maro-nav-ready li.menu-item-has-children > a::after { display: none !important; }
.maro-seo-active .maro-nav-ready li > ul.sub-menu {
    display: none !important;
    position: static !important;
    width: auto !important;
    left: auto !important;
    top: auto !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    box-shadow: none !important;
    border: 0 !important;
    padding: 0 0 4px 12px !important;
    margin: 0 !important;
    background: #fff !important;
}
.maro-seo-active #page-container .maro-nav-ready li.maro-submenu-open > ul.sub-menu { display: block !important; visibility: visible !important; }
.maro-seo-active .maro-nav-ready ul.sub-menu li { display: block !important; width: auto !important; padding: 0 !important; }
.maro-seo-active .maro-nav-ready ul.sub-menu a { width: auto !important; font-size: 14px !important; letter-spacing: 0 !important; text-transform: none !important; }
.maro-seo-active .maro-submenu-toggle {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #a60107;
    cursor: pointer;
}
.maro-seo-active .maro-submenu-toggle svg { width: 16px; height: 16px; }
.maro-seo-active .maro-submenu-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.maro-seo-active .maro-submenu-toggle:hover { background: #f3f3f3; }
.maro-seo-active .maro-nav-ready a { min-height: 44px; }
.maro-seo-active .sm-panel { z-index: 90; }
@media (min-width: 981px) {
    .maro-seo-active.et_vertical_nav #main-header { padding-top: 24px !important; }
    .maro-seo-active.et_vertical_nav #main-header .container { margin: 0 18px !important; display: flex; flex-direction: column; height: calc(100vh - 120px); height: calc(100dvh - 120px); }
    .maro-seo-active.et_vertical_nav #main-header .logo_container { flex: 0 0 auto; }
    .maro-seo-active.et_vertical_nav #main-header #logo { margin-top: 24px; max-height: 78px !important; }
    .maro-seo-active.et_vertical_nav #main-header #et-top-navigation { padding-top: 16px !important; margin-top: 0 !important; flex: 1; min-height: 0; width: 100%; }
    .maro-seo-active.et_vertical_nav #top-menu-nav { height: 100%; width: 100%; }
    .maro-seo-active.et_vertical_nav #top-menu { width: 100%; max-height: 100%; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
    .maro-seo-active.et_vertical_nav #top-menu li { margin: 0 !important; padding: 0 !important; }
    .maro-seo-active.et_vertical_nav #top-menu li a { display: flex; align-items: center; text-align: left; line-height: 1.35; padding: 9px 8px !important; margin-right: 0 !important; width: 100% !important; white-space: normal; box-sizing: border-box; letter-spacing: .8px; }
    .maro-seo-active.et_vertical_nav #top-menu li.menu-item-has-children > a { padding-right: 44px !important; }
}
@media (max-width: 1100px) {
    .maro-seo-active .maro-contact-details { grid-template-columns: 1fr 1fr; }
    .maro-seo-active .maro-contact-hours { grid-column: 1 / -1; }
}
@media (max-width: 980px) {
    .maro-seo-active .et_mobile_menu { max-height: calc(100vh - 160px); max-height: calc(100dvh - 160px); overflow-y: auto; overscroll-behavior: contain; }
    .maro-seo-active .mobile_menu_bar { min-width: 44px; min-height: 44px; bottom: 0; display: inline-flex; align-items: center; justify-content: center; }
    .maro-seo-active .et_header_style_centered .mobile_nav { min-height: 44px; }
    .maro-seo-active #main-header .mobile_nav .select_page { line-height: 34px; }
    .maro-seo-active .sm-panel { top: auto; bottom: 90px; }
    .maro-seo-enabled .maro-seo-hero-home .maro-seo-text { width: 86%; }
}
@media (max-width: 600px) {
    .maro-seo-enabled .maro-seo-hero.et_pb_section { padding: 24px 0 !important; }
    .maro-seo-enabled .maro-seo-hero h1 { font-size: 26px !important; }
    .maro-seo-enabled .maro-seo-hero p { font-size: 16px; }
    .maro-seo-enabled .maro-seo-hero-home.et_pb_section { padding: 20px 0 !important; }
    .maro-seo-enabled .maro-seo-hero-home .maro-seo-text { width: 100%; padding: 20px; }
    .maro-seo-active .maro-contact-details { grid-template-columns: 1fr; gap: 24px; }
    .maro-seo-active .maro-contact-footer { padding-top: 32px; }
    .maro-seo-active .maro-footer-bottom { align-items: flex-start; flex-direction: column; }
    .maro-seo-active .maro-trust-link { flex-basis: auto; }
}
@media (prefers-reduced-motion: reduce) {
    .maro-seo-active .callnowbutton { animation: none !important; }
    .maro-seo-active .maro-submenu-toggle svg { transition: none; }
}
