/* This is where you add your custom CSS
* !!!!!!!IMPORTANT!!!!!!!!
* Font size must use rem units for accessibility and the text resizer.
* The default font size is 16px for all browsers, so 1rem = 16px.
*/

.county-emergencies {
    display: none;
}

/* Global H1/H2 (Site Settings → Typography) are fixed px sizes with no
   responsive override, so long headings (e.g. "Restoration + Reconstruction",
   "Emergency Mitigation") overflow narrow phone widths. A fixed breakpoint
   left gaps (e.g. 414px iPhone XR still overflowed at the 767px-bracket
   size), so scale fluidly with the viewport instead of jumping at set widths. */
@media (max-width: 767px) {
    h1.elementor-heading-title {
        font-size: clamp(26px, 5vw + 10px, 36px);
    }

    h2.elementor-heading-title {
        font-size: clamp(20px, 4vw + 8px, 28px);
    }
}

/* Header logo was fixed at 80px tall, wide enough at narrow widths to push
   the hamburger button onto its own line below it. Shrink it on mobile so
   logo + hamburger fit on one row. */
@media (max-width: 480px) {
    .site-header .site-branding {
        max-height: 56px;
    }

    .site-header .site-branding img {
        max-height: 56px;
    }
}


.pequod-social-proof .video-featured-review .video {
    display: none;
}


#home-hero-h1 h1 {
	max-width: none !important;
	width: 77%;
}



.site-navigation ul.menu li.ww-mega-parent > ul.sub-menu > li > a {
    pointer-events: all;
    cursor: pointer;
}

/* Home page "3-step" boxes — filled blue cards per approved design */
.pequod-process-steps .step-box {
    background-color: var(--pequod-accent1);
    border: none;
    padding: 30px;
}

.pequod-process-steps .step-box .step-title {
    color: #FFFFFF !important;
    font-family: "EurostileExtended", sans-serif;
    font-size: 56px;
    font-style: normal;
    font-weight: 900;
    line-height: 56px;
    letter-spacing: -2px;
    text-align: center;
    text-transform: uppercase;
    margin-top: 0 !important;
}

.pequod-process-steps .step-box .step-subtitle {
    color: #FFFFFF !important;
    font-family: "Atkinson Hyperlegible", sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 28px;
    text-align: center;
}

.pequod-process-steps .step-box .step-content {
    color: #FFFFFF !important;
    font-family: "Atkinson Hyperlegible", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px;
    text-align: center;
    max-width: 365px;
    margin-left: auto;
    margin-right: auto;
}

.pequod-process-steps .middle {
    margin-bottom: 50px;
}

.pequod-process-steps .top {
    max-width: none !important;
    width: 100%;
}

.pequod-process-steps .top .text-lg {
    color: var(--pequod-accent1);
    text-align: center;
    font-family: "Atkinson Hyperlegible", sans-serif;
    font-size: 22px;
    font-style: normal;
    font-weight: 400;
    line-height: 32px;
    max-width: 848px;
    margin-left: auto;
    margin-right: auto;
}

/* Home 3-step CTA row (Text Us / Call Us) — force centered */
#home-steps-cta .elementor-widget-text-editor {
    text-align: center;
}

#home-steps-cta .elementor-widget-text-editor p {
    color: var(--pequod-accent1);
    text-align: center;
    font-family: "Atkinson Hyperlegible", sans-serif;
    font-size: 22px;
    font-style: normal;
    font-weight: 400;
    line-height: 32px;
    max-width: 848px;
    margin-left: auto;
    margin-right: auto;
}

#home-steps-cta .e-con {
    justify-content: center !important;
    width: auto !important;
    margin-left: auto;
    margin-right: auto;
}

/* Home "Contact Us Today" banner (was Join Our Mailing List) — flat blue banner, no card/image */
.elementor-element-ce6740f.pequod_call_to_action,
.elementor-element-ce6740f .pequod-call-to-action .pequod-call-to-action-inner .bottom {
    background-color: transparent !important;
    border-radius: 0 !important;
}

.elementor-element-ce6740f .pequod-call-to-action .pequod-call-to-action-inner .bottom .bottom-inner h3 {
    color: #FFFFFF !important;
    text-align: center;
    font-family: "EurostileExtended", sans-serif;
    font-size: 40px;
    font-style: normal;
    font-weight: 900;
    line-height: 40px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.elementor-element-ce6740f .pequod-call-to-action .pequod-call-to-action-inner .bottom .bottom-inner p {
    color: #FFFFFF !important;
    text-align: center;
    font-family: "Atkinson Hyperlegible", sans-serif;
    font-size: 28px;
    font-style: normal;
    font-weight: 400;
    line-height: 36px;
}

.elementor-element-ce6740f .pequod-call-to-action .pequod-call-to-action-inner .bottom .bottom-inner .buttons-wrapper .pequod-button {
    background-color: #FFFFFF !important;
    color: var(--pequod-accent1) !important;
    border: 1px solid #FFFFFF;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.elementor-element-ce6740f .pequod-call-to-action .pequod-call-to-action-inner .bottom .bottom-inner .buttons-wrapper .pequod-button:hover {
    background-color: var(--pequod-accent2) !important;
    color: var(--pequod-light) !important;
    border: 1px solid var(--pequod-accent2);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.elementor-element-ce6740f .pequod-call-to-action .pequod-call-to-action-inner .bottom .bottom-inner .buttons-wrapper .pequod-button::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    background-color: var(--pequod-accent1);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.elementor-element-ce6740f .pequod-call-to-action .pequod-call-to-action-inner .bottom .bottom-inner .buttons-wrapper a[href^="tel:"]::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 512 512%27%3E%3Cpath d=%27M497.39 361.8l-112-48a24 24 0 0 0-28 6.9l-49.6 60.6A370.66 370.66 0 0 1 130.6 204.11l60.6-49.6a23.94 23.94 0 0 0 6.9-28l-48-112A24.16 24.16 0 0 0 122.6.61l-104 24A24 24 0 0 0 0 48c0 256.5 207.9 464 464 464a24 24 0 0 0 23.4-18.6l24-104a24.29 24.29 0 0 0-14.01-27.6z%27/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 512 512%27%3E%3Cpath d=%27M497.39 361.8l-112-48a24 24 0 0 0-28 6.9l-49.6 60.6A370.66 370.66 0 0 1 130.6 204.11l60.6-49.6a23.94 23.94 0 0 0 6.9-28l-48-112A24.16 24.16 0 0 0 122.6.61l-104 24A24 24 0 0 0 0 48c0 256.5 207.9 464 464 464a24 24 0 0 0 23.4-18.6l24-104a24.29 24.29 0 0 0-14.01-27.6z%27/%3E%3C/svg%3E");
}

.elementor-element-ce6740f .pequod-call-to-action .pequod-call-to-action-inner .bottom .bottom-inner .buttons-wrapper a[href^="sms:"]::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 512 512%27%3E%3Cpath d=%27M448 0H64C28.7 0 0 28.7 0 64v288c0 35.3 28.7 64 64 64h96v84c0 9.8 11.2 15.5 19.1 9.7L304 416h144c35.3 0 64-28.7 64-64V64c0-35.3-28.7-64-64-64z%27/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 512 512%27%3E%3Cpath d=%27M448 0H64C28.7 0 0 28.7 0 64v288c0 35.3 28.7 64 64 64h96v84c0 9.8 11.2 15.5 19.1 9.7L304 416h144c35.3 0 64-28.7 64-64V64c0-35.3-28.7-64-64-64z%27/%3E%3C/svg%3E");
}

/* Home "Core Services" section — Figma image-overlay card grid */
#core-services.pequod-services-products,
#core-services .pequod-services-products {
    max-width: 1280px !important;
}

#core-services .pequod-services-products-main-heading,
#core-services .pequod-services-products-main-heading > * {
    color: var(--pequod-accent1) !important;
    text-align: center;
    font-family: "EurostileExtended", sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#core-services .pequod-services-products-main-heading {
    margin-bottom: 30px !important;
}

#core-services .pequod-services-products-main-heading h2,
#core-services .pequod-services-products-main-heading > * {
    margin: 0 !important;
}

#core-services .pequod-services-products-items,
.core-services .pequod-services-products-items {
    display: grid !important;
    grid-template-columns: repeat(3, 416px);
    grid-auto-rows: min-content;
    align-items: start;
    justify-content: center;
    row-gap: 16px !important;
    column-gap: 16px !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

@media (max-width: 1400px) {
    #core-services .pequod-services-products-items {
        grid-template-columns: repeat(2, 416px);
        max-width: 1280px;
        margin-left: auto;
        margin-right: auto;
        padding-left: 20px;
        padding-right: 20px;
    }

    #core-services .pequod-services-products-item {
        width: 416px;
        max-width: 100%;
    }
}

@media (max-width: 900px) {
    #core-services .pequod-services-products-items {
        grid-template-columns: minmax(0, 416px);
    }
}

#core-services .pequod-services-products-item {
    position: relative;
    flex: unset;
    width: 416px;
    aspect-ratio: 416 / 308;
    max-width: 100%;
    height: auto;
    border-radius: 2px;
    overflow: hidden;
    isolation: isolate;
    text-align: center !important;
    margin: 0 auto !important;
}

#core-services .pequod-services-products-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 100, 229, 0) 0%, #0064E5 100%);
    z-index: 1;
    pointer-events: none;
}

#core-services .pequod-services-products-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin-bottom: 0 !important;
    border-radius: 0 !important;
}

#core-services .pequod-services-products-item-heading {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 64px;
    width: 376px;
    max-width: calc(100% - 20px);
    z-index: 2;
    text-align: center !important;
    margin: 0 !important;
}

#core-services .pequod-services-products-item-heading * {
    position: static;
    color: #FFFFFF !important;
    font-family: "EurostileExtended", sans-serif;
    font-size: 36px;
    font-style: normal;
    font-weight: 900;
    line-height: 38px;
    text-transform: uppercase;
    text-align: center !important;
    margin: 0 !important;
}

#core-services .pequod-services-products-item-description {
    display: none;
}

#core-services .pequod-services-products-button {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 24px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: none !important;
    color: #FFFFFF !important;
    padding: 0 !important;
    border: none !important;
    font-family: "Atkinson Hyperlegible", sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
}

#core-services .pequod-services-products-button::after {
    content: "→";
    font-size: 16px;
    font-weight: 400;
    line-height: 19px;
}

/* Home feature ribbon (24/7 Service / 45-Minute Response / IICRC Certified / Insurance Assistance) */
.elementor-element-c99d9f5 .feature-title {
    color: var(--pequod-accent2) !important;
    font-family: "Atkinson Hyperlegible", sans-serif;
    font-size: 22px;
    font-style: normal;
    font-weight: 400;
    line-height: 32px;
}

/* About page "Our People" team grid */
#civic-people .elementor-loop-container {
    align-items: start !important;
}

#civic-people .e-loop-item {
    display: flex;
    flex-direction: column;
    height: auto !important;
}

#civic-people .elementor-element-5451094 {
    width: 100% !important;
    --width: 100% !important;
    --container-widget-width: 100% !important;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    flex: none !important;
    max-height: none !important;
    position: relative;
}

#civic-people .elementor-element-5451094 .elementor-widget-container,
#civic-people .elementor-element-5451094 .elementor-widget-theme-post-featured-image {
    position: absolute;
    inset: 0;
}

#civic-people .elementor-element-5451094 img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#civic-people .elementor-element-4f13d2a {
    width: 100% !important;
    --width: 100% !important;
    --container-widget-width: 100% !important;
    flex: none !important;
    padding-top: 20px;
}

#civic-people .e-loop-item .elementor-heading-title {
    font-size: 22px;
    line-height: 1.2;
}

/* Team bio truncation (pure CSS, no JS) */
#civic-people .team-bio-truncate {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Override legacy 848px cap on the whole Our People section — only the
   quote/intro text above the grid should be narrow, not the team grid itself */
#civic-people .e-con-inner {
    max-width: 1280px !important;
}

#civic-people .elementor-element-opquote01,
#civic-people .elementor-element-opintro01 {
    max-width: 848px;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Testimonial widget star rating */
.pequod-testimonial-stars {
    display: flex;
    gap: 4px;
    margin: 8px 0;
}

.pequod-testimonial-star {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    opacity: 0.5;
}

.pequod-testimonial-star.is-filled {
    fill: currentColor;
    opacity: 1;
}

/* Team card "Read Full Bio" button — full width, matches Figma */
#civic-people .e-loop-item .elementor-widget-button {
    width: 100%;
    margin-top: 20px;
}

#civic-people .e-loop-item .elementor-widget-button .elementor-button {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 14px 40px;
    border-radius: 2px;
    background-color: var(--pequod-accent1);
    color: #FFFFFF;
}

/* Emergency Call hero button — match the sizing/padding of .icon-button
   (Emergency Text) so both buttons look consistent; only the hover
   behavior differs (color swap here vs. icon swap there) */
.icon-button-call svg {
    height: auto;
    width: 20px;
}

.icon-button-call .elementor-button {
    padding-left: 20px !important;
    padding-right: 20px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

.icon-button-call .elementor-button-icon svg,
.icon-button-call .elementor-button-icon img {
    transition: filter 0.2s ease-in-out;
}

.icon-button-call .elementor-button:hover .elementor-button-icon svg,
.icon-button-call .elementor-button:hover .elementor-button-icon img {
    filter: brightness(0) invert(1);
}

/* About page testimonial slider — scoped section-wide gradient background
   (shared widget CSS hardcodes the card background to transparent; this
   instance only), plus color inheritance fix so stars/icons pick up white */
#about-testimonial-section {
    background: radial-gradient(circle, #0064E5 0%, #002879 100%) !important;
}

.elementor-element-494bfa3 .pequod-testimonial-slide {
    background: transparent;
    border: none;
    color: var(--pqt-text-color);
}

.elementor-element-494bfa3 .pequod-testimonial-body {
    max-width: 848px;
    margin-left: auto;
    margin-right: auto;
}

.archive-header-separator {
    border-color: transparent;
    color: transparent;
}





.footer-form-content-wrap {
	display: none;
}

.site-footer .footer-inner {
    max-width: 100%;
}

@media (max-width: 767px) {
    #site-footer .footer-widgets {
        align-items: stretch;
    }

    #site-footer .footer-widgets > div {
        max-width: 100%;
        text-align: center;
    }

    #site-footer .footer-1 {
        max-width: 100%;
    }

    #site-footer .footer-1 .wp-block-image {
        float: none;
        display: flex;
        justify-content: center;
    }

    #site-footer .pequod-socials {
        justify-content: center;
    }
}

/* Contact page intro: darken phone link for WCAG AA contrast on light blue background */
#civic-contact-box .elementor-element-cc5d704 a {
    color: #003D8F;
}

/* Main nav links were hardcoded to 18px in the parent theme, so they ignored
   the text resizer (which scales via rem on the html element). */
.site-navigation ul.menu > li.menu-item > a {
    font-size: 1.125rem;
}

/* Mobile submenu arrow: the parent theme drew this as a ::after on the <a>
   itself, which can't be a separate tap target (the link's href still shows
   on hover/long-press no matter where you tap it). mobile-submenu-toggle.js
   injects a real <span class="mobile-submenu-toggle"> sibling instead, so
   this hides the old pseudo-element arrow and styles the injected one in
   its place, moved further from the link text. */
.site-mobile-navigation ul.menu li.menu-item-has-children {
    position: relative;
}

.site-mobile-navigation ul.menu li.menu-item-has-children > a {
    padding-right: 2.5em;
}

.site-mobile-navigation ul.menu li.menu-item-has-children > a::after {
    display: none;
}

/* Positioned against the <li>'s top edge with a fixed height matching the
   link row (15px padding top/bottom + line-height ≈ 56px, measured on the
   rendered link) instead of stretching top:0 to bottom:0 — the <li> grows
   to the full submenu height once it's open, and a stretched+centered
   arrow would drift down to the middle of that whole expanded block
   instead of staying put on the link's row. */
.site-mobile-navigation ul.menu li.menu-item-has-children > .mobile-submenu-toggle {
    position: absolute;
    top: 0;
    right: 20px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2em;
    font-size: 1.5em;
    color: inherit;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}

.site-mobile-navigation ul.menu li.menu-item-has-children.active > .mobile-submenu-toggle {
    transform: rotate(180deg);
}

/* Accessibility: touch targets at least 24x24px (WCAG 2.2, 2.5.8) */
#topbar a.topbar-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    min-height: 24px;
}

.footer-widget-area .wp-block-paragraph a[href^="tel:"],
.footer-widget-area .wp-block-paragraph a[href^="mailto:"] {
    display: inline-block;
    padding-block: 4px;
}

/* Accessibility: HTML sitemap links reach 24px height (WCAG 2.2, 2.5.8) */
.sp-html-sitemap li a {
    display: inline-block;
    padding-block: 2px;
}
