/*
Theme Name:   Twenty Twenty-Five Child
Theme URI:    http://localhost/think-360
Description:  Child theme of Twenty Twenty-Five for the Think 360 site. Add customizations here so the parent theme can be updated safely.
Author:       Think 360
Author URI:   http://localhost/think-360
Template:     twentytwentyfive
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  twentytwentyfive-child
*/

/* ------------------------------------------------------------------------- *
 *  Custom styles for the child theme go below this line.
 * ------------------------------------------------------------------------- */
* {
    box-sizing: border-box;
    scroll-behavior: smooth;
    outline: none !important;
}

.services-sec .aio-card-anim__title {
    font-size: clamp(31.609px, 1.976rem + ((1vw - 3.2px) * 1.906), 56px) !important;
}

.case-study-sec .aio-card-anim__title {
    font-size: clamp(31.609px, 1.976rem + ((1vw - 3.2px) * 1.906), 56px) !important;
}

.aio-blur-footer.aio-blur-footer--hidden-by-services {
    opacity: 0;
}

.wp-site-blocks>header.wp-block-template-part {
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: transform 0.35s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    /* NOTE: no `will-change: transform` here — it makes the header a containing
       block for position:fixed descendants, which traps the mobile nav overlay
       (.wp-block-navigation__responsive-container) inside the header. */
}

/* While the mobile nav overlay is open, make sure nothing on the header can
   confine or hide that fixed-position overlay. Both `transform` (.is-hidden)
   and `backdrop-filter` (.is-pinned, added after any scroll) turn the header
   into a containing block for position:fixed, which traps the overlay inside
   the header — neutralise both while the menu is open. */
:root.has-modal-open .wp-site-blocks>header.wp-block-template-part,
.wp-site-blocks>header.wp-block-template-part:has(.wp-block-navigation__responsive-container.is-menu-open) {
    transform: none !important;
    transition: none;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.wp-site-blocks>header.wp-block-template-part.is-pinned {
    background-color: var(--wp--preset--color--base, #ffffff);
    background: #ffffff;
    background: rgb(255 255 255 / 48%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.wp-site-blocks>header.wp-block-template-part.is-hidden {
    transform: translateY(-100%);
}

/* Services / Industries nav dropdowns.
   The site's global styles redefine the "base" theme color as a translucent
   near-white (#f2f2f27a, used for the frosted sticky header). Core applies
   that same `has-base-background-color` preset class to submenu panels, so
   dropdowns inherit the frosted/translucent look too and page content behind
   them bleeds through — the preset class ships with `!important`, so it has
   to be beaten with `!important` here, not just specificity. Give the panel
   its own solid, opaque background plus enough width/padding that wrapped
   labels don't crowd each other. */
.wp-block-navigation .has-child .wp-block-navigation__submenu-container {
    background-color: #ffffff !important;
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 10px;
    box-shadow: 0 16px 32px rgba(17, 17, 17, 0.14);
    padding: 8px;
    margin-top: 0px;
    /* min-width: 350px !important; */
    gap: 2px;
    z-index: 1001;
}

.wp-block-navigation .has-child .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
    padding: 10px 14px !important;
    border-radius: 6px;
    color: #111111;
    /*font-size: 15px;*/
    line-height: 1.35;
    transition: background-color 0.15s ease, color 0.15s ease;
    white-space: nowrap;
    text-decoration: none !important;
}

.wp-block-navigation .has-child .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover,
.wp-block-navigation .has-child .wp-block-navigation__submenu-container .wp-block-navigation-item__content:focus,
.wp-block-navigation .has-child .wp-block-navigation__submenu-container .wp-block-navigation-item__content[aria-current="page"],
.wp-block-navigation .has-child .wp-block-navigation__submenu-container .wp-block-navigation-item.current-menu-item>.wp-block-navigation-item__content {
    background-color: #f6f5ef;
    color: var(--wp--preset--color--accent-1) !important;
    text-decoration: none !important;
}

/* Header top-level menu: swap the underline-on-hover from the parent
   theme's theme.json (styles.blocks."core/navigation".elements.link:hover)
   for an orange text color, and give the current page the same orange
   treatment. Scoped to direct children of the top-level
   ".wp-block-navigation__container" so it doesn't touch the
   Services/Industries dropdown panels (".wp-block-navigation__submenu-container",
   styled separately above) or the footer nav. */
.wp-site-blocks>header.wp-block-template-part .wp-block-navigation__container>.wp-block-navigation-item>.wp-block-navigation-item__content {
    text-decoration: none !important;
    transition: color 0.15s ease;
}

.wp-site-blocks>header.wp-block-template-part .wp-block-navigation__container>.wp-block-navigation-item>.wp-block-navigation-item__content:hover,
.wp-site-blocks>header.wp-block-template-part .wp-block-navigation__container>.wp-block-navigation-item>.wp-block-navigation-item__content:focus,
.wp-site-blocks>header.wp-block-template-part .wp-block-navigation__container>.wp-block-navigation-item>.wp-block-navigation-item__content[aria-current="page"],
.wp-site-blocks>header.wp-block-template-part .wp-block-navigation__container>.wp-block-navigation-item.current-menu-item>.wp-block-navigation-item__content {
    text-decoration: none !important;
    color: var(--wp--preset--color--accent-1) !important;
}

/* Below 1024px the header switches to the hamburger/overlay nav (see the
   600–1024px rule further down). The "Navigation Overlay" template part
   (post 410) embeds its own copy of the menu for this panel, but core
   always renders the nav block's normal item list into the same overlay
   markup too (navigation.php's get_responsive_container_markup prints
   $inner_blocks_html then the custom overlay) — so without this, the
   hamburger panel shows the whole menu twice. Keep only the custom
   overlay's copy. */
@media (max-width: 1024px) {
    .wp-block-navigation__responsive-container-content>.wp-block-navigation__container {
        display: none !important;
    }
}

/* Services/Industries inside that hamburger panel are collapsed by default
   (submenuVisibility:"click" on the overlay's nav instance) and should
   expand in place when the caret is tapped — not pop open as the floating
   white card used above 1024px, and not auto-expand just because the
   hamburger menu itself is open. Core's own aria-expanded state ORs in the
   overlay's open state (so every submenu reports "expanded" the moment the
   hamburger opens, regardless of whether its own caret was clicked) — so
   visibility here is driven by script.js toggling .t360-submenu-open on
   the item instead of by aria-expanded. */
@media (max-width: 1024px) {
    .wp-block-navigation__overlay-container .wp-block-navigation-item.has-child {
        flex-wrap: wrap !important;
    }

    .wp-block-navigation__overlay-container .wp-block-navigation-item.has-child .wp-block-navigation__submenu-container {
        flex-basis: 100% !important;
        position: static !important;
        visibility: hidden !important;
        opacity: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
        width: 100% !important;
        min-width: 0 !important;
        background-color: transparent !important;
        border: none !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        margin-top: 0 !important;
        padding: 0 0 0 16px !important;
        gap: 0 !important;
    }

    .wp-block-navigation__overlay-container .wp-block-navigation-item.has-child.t360-submenu-open .wp-block-navigation__submenu-container {
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
        overflow: visible !important;
        margin-top: 6px !important;
    }

    .wp-block-navigation__overlay-container .wp-block-navigation-item.has-child .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
        padding: 10px 0 !important;
    }

    .wp-block-navigation__overlay-container .wp-block-navigation-item.has-child .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover,
    .wp-block-navigation__overlay-container .wp-block-navigation-item.has-child .wp-block-navigation__submenu-container .wp-block-navigation-item__content:focus {
        background-color: transparent !important;
    }

    /* Flip the caret to match our own open class, same rotation core uses
       for aria-expanded — but core's own aria-expanded-driven rotation
       rule is still live too (same reason we stopped using aria-expanded
       for visibility: it's always "true" for every submenu for as long as
       the hamburger itself is open, not just the one that was tapped), so
       a closed item's caret stayed stuck pointing up. Reset explicitly for
       the closed state and win with !important on both.
       In this click-mode markup the caret icon is a <span> *sibling* of
       the toggle button, not nested inside it (core only nests it inside
       the button for hover-mode submenus) — target the icon span itself. */
    .wp-block-navigation__overlay-container .wp-block-navigation-item.has-child .wp-block-navigation__submenu-icon svg {
        transform: rotate(0deg) !important;
    }

    .wp-block-navigation__overlay-container .wp-block-navigation-item.has-child.t360-submenu-open .wp-block-navigation__submenu-icon svg {
        transform: rotate(180deg) !important;
    }
}

/* The footer nav (template part "Footer") points at the same menu (ref:4)
   as the header, so it picked up the Services/Industries submenus too. The
   footer link list should stay flat like its other items — no caret, no
   dropdown/accordion — so just hide the toggle and child list here; the
   label itself is still a normal link to /services/ or /industries/. */
.clay-footer .wp-block-navigation .has-child .wp-block-navigation-submenu__toggle,
.clay-footer .wp-block-navigation .has-child .wp-block-navigation__submenu-container {
    display: none !important;
}

/* Hamburger open/close toggle icons — core colors both via `color:
   currentColor` on the button plus `fill: currentColor` on the svg, so they
   normally pick up whatever text color the nav (or its is-menu-open state,
   or the overlay template part) happens to be using. Pin both to black in
   every state — default, hover, focus, active, and while the menu is open —
   so the icon never shifts to the orange hover color or any other inherited
   tint. */
.wp-block-navigation__responsive-container-open,
.wp-block-navigation__responsive-container-close,
.wp-block-navigation__responsive-container-open:hover,
.wp-block-navigation__responsive-container-open:focus,
.wp-block-navigation__responsive-container-open:active,
.wp-block-navigation__responsive-container-close:hover,
.wp-block-navigation__responsive-container-close:focus,
.wp-block-navigation__responsive-container-close:active {
    color: #000000 !important;
}

.wp-block-navigation__responsive-container-open svg,
.wp-block-navigation__responsive-container-close svg,
.wp-block-navigation__responsive-container-open:hover svg,
.wp-block-navigation__responsive-container-open:focus svg,
.wp-block-navigation__responsive-container-open:active svg,
.wp-block-navigation__responsive-container-close:hover svg,
.wp-block-navigation__responsive-container-close:focus svg,
.wp-block-navigation__responsive-container-close:active svg {
    fill: #000000 !important;
    stroke: #000000 !important;
}

/* Hamburger menu's "Contact" / "Let's connect" buttons (post 410, the
   Navigation Overlay template part) — a rounded-rectangle shape instead of
   the site's default full-pill button, sitting in normal flow right below
   the nav list (not pinned/fixed to the bottom of the screen — tried that,
   turned out not to be wanted after all; simpler and nothing left to fight
   with vh/dvh or scroll-behind-content edge cases). */
.wp-block-navigation__overlay-container .wp-block-buttons.wp-block-hidden-desktop {
    margin-top: 12px !important;
}

/* The block's own two buttons are each a fixed width:50%, which — added to
   the flex gap between them — runs past 100% and pushes "Let's connect"
   off the right edge. Let them share the row proportionally instead. */
.wp-block-navigation__overlay-container .wp-block-buttons.wp-block-hidden-desktop .wp-block-button {
    width: auto !important;
    flex: 1 1 0 !important;
}

.wp-block-navigation__overlay-container .wp-block-buttons.wp-block-hidden-desktop .wp-block-button__link {
    border-radius: 10px !important;
}

.wp-block-gutsliders-any-content .swiper-slide {
    height: auto;
}

.wp-block-gutsliders-any-content .gutslider-content-inner {
    height: 100%;
}

.ddc-ticker-wrap:before {
    content: '';
    background: linear-gradient(90deg, #f9f9f9 20%, rgb(249 249 249 / 0%) 100%);
    position: absolute;
    height: 100%;
    width: 5vw;
    left: 0;
    top: 0;
    z-index: 9;
}

.ddc-ticker-wrap:after {
    content: '';
    background: linear-gradient(90deg, rgb(249 249 249 / 0%) 20%, #f9f9f9 100%);
    position: absolute;
    height: 100%;
    width: 5vw;
    right: 0;
    top: 0;
    z-index: 9;
}

.think360-contact-form .wpcf7-form-control-wrap {
    display: block;
}

.think360-contact-form p {
    margin: 0 0 20px;
}

.think360-contact-form label {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: #111111;
}

.think360-contact-form input.wpcf7-form-control,
.think360-contact-form select.wpcf7-form-control,
.think360-contact-form textarea.wpcf7-form-control {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border: 1px solid #d3cec6;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    color: #111111;
    transition: border-color 120ms ease;
    background-color: #ffffff;
}

.think360-contact-form input.wpcf7-form-control::placeholder,
.think360-contact-form textarea.wpcf7-form-control::placeholder {
    color: #9c9fa5;
}

.think360-contact-form input.wpcf7-form-control:focus,
.think360-contact-form select.wpcf7-form-control:focus,
.think360-contact-form textarea.wpcf7-form-control:focus {
    outline: none;
    border-color: #111111;
}

.think360-contact-form select.wpcf7-form-control {
    min-height: 48px;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'><path d='M4 6l4 4 4-4' stroke='%237b7b78' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    padding-right: 36px;
    cursor: pointer;
}

.think360-contact-form textarea.wpcf7-form-control {
    resize: vertical;
    min-height: 120px;
}

.think360-contact-form .t360-form-submit {
    margin-top: 0;
}

.t360-quote-form-wrap input.wpcf7-form-control[type="submit"],
.think360-contact-form input.wpcf7-form-control[type="submit"] {
    width: auto;
    background: #111111;
    color: #ffffff;
    border: 1px solid #111111;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background 120ms ease;
}

.t360-quote-form-wrap input.wpcf7-form-control[type="submit"]:hover,
.think360-contact-form input.wpcf7-form-control[type="submit"]:hover {
    background: #ffffff;
    color: #111111;
}

.think360-contact-form .wpcf7-not-valid-tip {
    font-size: 0.85rem;
    margin-top: 4px;
    color: #c4303a;
}

.think360-contact-form .wpcf7-spinner {
    display: inline-block;
}

.t360-quote-row p br,
.t360-form-row p br {
    display: none;
}

.t360-form-submit p {
    margin-bottom: 0;
}

.t360-quote-row p {
    margin: 0;
}

.plan-card-popular .plan-badge {
    display: inline-block;
    margin: 0 0 12px;
    padding: 5px 14px;
    border-radius: 999px;
    background-color: var(--wp--preset--color--accent-1, #ff5050);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.7;
}

.plan-card-popular.wp-block-group {
    border-width: 2px !important;
    border-color: var(--wp--preset--color--accent-1, #ff5050) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

footer .wp-block-navigation__container {
    max-width: 455px;
}

footer .wp-block-navigation__container li {
    width: 45%;
}

/* ---- Buttons: fill and outline swap to each other's look on hover ---- */
.wp-block-button .wp-block-button__link {
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

/* Fill  ->  outline on hover */
.wp-block-button:not(.is-style-outline)>.wp-block-button__link:hover,
.wp-block-button:not(.is-style-outline)>.wp-block-button__link:focus-visible {
    background-color: transparent !important;
    color: var(--wp--preset--color--accent-1, #ff5050) !important;
    border: 1px solid var(--wp--preset--color--accent-1, #ff5050) !important;
}

/* Outline  ->  fill on hover.
   NB: don't use var(--wp--preset--color--base) for the text — on this site
   that token is a translucent off-white (#f2f2f27a), which is unreadable on
   the dark fill. Use solid white. */
.wp-block-button.is-style-outline>.wp-block-button__link:hover,
.wp-block-button.is-style-outline>.wp-block-button__link:focus-visible {
    background-color: var(--wp--preset--color--contrast, #111111) !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    border: 1px solid var(--wp--preset--color--contrast, #111111) !important;
}

/* ---- Tabs ("Where to start"): active tab = fill button, inactive = outline ---- */
.wp-block-tab-list {
    gap: 12px;
    flex-wrap: wrap;
    border: 0;
    margin-bottom: var(--wp--preset--spacing--40, 32px);
}

.wp-block-tab-list button {
    border: 1px solid var(--wp--preset--color--contrast, #111111) !important;
    border-radius: 10px !important;
    padding: 10px 24px !important;
    background-color: transparent !important;
    color: var(--wp--preset--color--contrast, #111111) !important;
    font-size: 16px;
    line-height: 1.4;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

/* drop the default active underline */
.wp-block-tab-list button[aria-selected="true"]::before {
    content: none !important;
}

.wp-block-tab-list button[aria-selected="true"] {
    background-color: var(--wp--preset--color--accent-1, #ff5050) !important;
    border-color: var(--wp--preset--color--accent-1, #ff5050) !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

.wp-block-tab-list button:hover {
    background-color: rgba(0, 0, 0, 0.05) !important;
}

.wp-block-tab-list button[aria-selected="true"]:hover {
    background-color: var(--wp--preset--color--accent-1, #ff5050) !important;
    filter: brightness(0.95);
}

.wp-block-list.is-style-checkmark-list {
    padding: 0 !important;
    list-style: none !important;
}

.wp-block-list.is-style-checkmark-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 8px;
}

.wp-block-list.is-style-checkmark-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: .35em;
    width: 16px;
    height: 16px;
    background-image: url('http://helloaikids.com/wp-content/uploads/2026/09/check-icon-dark.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px auto;
}

.wp-block-list.is-style-checkmark-list.light-icon li::before {
    background-image: url('http://helloaikids.com/wp-content/uploads/2026/09/check-icon.svg');
}


/* Keep digit widths stable while .countdown-number figures count up on scroll. */
.countdown-number h1,
.countdown-number h2,
.countdown-number h3,
.countdown-number h4,
.countdown-number h5,
.countdown-number h6 {
    font-variant-numeric: tabular-nums;
}

/* ------------------------------------------------------------------------- *
 *  "Get A Quote" panel — opens from the header Contact button (script.js).
 *  A right-side slide-in drawer (not a centered popup), restyled in
 *  Think360's own brand tokens (cream canvas, ink text, hairline borders).
 * ------------------------------------------------------------------------- */
.t360-quote-overlay {
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: rgba(17, 17, 17, 0.55);
    opacity: 0;
    visibility: hidden;
    transition: opacity 260ms ease, visibility 260ms ease;
}

.t360-quote-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

html.t360-quote-open,
body.t360-quote-open {
    overflow: hidden;
    height: 100%;
}

.t360-quote-modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 580px;
    background: #ffffff;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 20px;
    box-shadow: -24px 0 60px rgba(17, 17, 17, 0.18);
    transform: translateX(100%);
    transition: transform 320ms cubic-bezier(0.2, 0, 0, 1);
}

.t360-quote-overlay.is-open .t360-quote-modal {
    transform: translateX(0);
}

.t360-quote-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid #d3cec6;
    border-radius: 50%;
    color: #111111;
    cursor: pointer;
    padding: 0;
    transition: background 120ms ease, border-color 120ms ease;
}

.t360-quote-close:hover {
    background: #f5f1ec;
    border-color: #111111;
}

.t360-quote-eyebrow {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #626260;
    margin: 0 0 12px;
}

.t360-quote-title {
    font-size: clamp(28px, 4vw, 36px);
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin: 0 0 10px;
    color: #111111;
}

.t360-quote-sub {
    font-size: 16px;
    line-height: 1.5;
    color: #626260;
    margin: 0 0 32px;
    max-width: 480px;
}

/* "Let's connect" drawer (functions.php: ttfc_connect_modal_markup,
   triggered by any .t360-connect-trigger element — see the Packt UI UX
   page). Same slide-in panel as the "Get A Quote" drawer above; this CSS
   was missing entirely, so the drawer's JS toggled .is-open correctly but
   nothing was ever visibly styled as an overlay/panel. */
.t360-connect-overlay {
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: rgba(17, 17, 17, 0.55);
    opacity: 0;
    visibility: hidden;
    transition: opacity 260ms ease, visibility 260ms ease;
}

.t360-connect-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

html.t360-connect-open,
body.t360-connect-open {
    overflow: hidden;
    height: 100%;
}

.t360-connect-modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 580px;
    background: #ffffff;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 20px;
    box-shadow: -24px 0 60px rgba(17, 17, 17, 0.18);
    transform: translateX(100%);
    transition: transform 320ms cubic-bezier(0.2, 0, 0, 1);
}

.t360-connect-overlay.is-open .t360-connect-modal {
    transform: translateX(0);
}

.t360-connect-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid #d3cec6;
    border-radius: 50%;
    color: #111111;
    cursor: pointer;
    padding: 0;
    transition: background 120ms ease, border-color 120ms ease;
}

.t360-connect-close:hover {
    background: #f5f1ec;
    border-color: #111111;
}

.t360-connect-eyebrow {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #626260;
    margin: 0 0 12px;
}

.t360-connect-title {
    font-size: clamp(28px, 4vw, 36px);
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin: 0 0 10px;
    color: #111111;
}

.t360-connect-sub {
    font-size: 16px;
    line-height: 1.5;
    color: #626260;
    margin: 0 0 32px;
    max-width: 480px;
}

.t360-quote-form-wrap .t360-quote-section h4 {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #626260;
    margin: 32px 0 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e6e1d9;
}

.t360-quote-form-wrap .t360-quote-section:first-child h4 {
    margin-top: 0;
}

.t360-quote-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 16px;
    margin: 0 0 20px;
}

.t360-quote-row {
    margin: 0 0 20px;
}

.t360-quote-grid .t360-quote-row {
    margin: 0;
}

.t360-quote-row--full {
    grid-column: 1 / -1;
}

.t360-quote-form-wrap label,
.t360-quote-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #111111;
}

.t360-quote-label {
    margin-bottom: 8px !important;
}

.t360-quote-form-wrap input.wpcf7-form-control,
.t360-quote-form-wrap select.wpcf7-form-control,
.t360-quote-form-wrap textarea.wpcf7-form-control {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border: 1px solid #d3cec6;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    color: #111111;
    background: #ffffff;
    transition: border-color 120ms ease;
}

.t360-quote-form-wrap input.wpcf7-form-control::placeholder,
.t360-quote-form-wrap textarea.wpcf7-form-control::placeholder {
    color: #9c9fa5;
}

.t360-quote-form-wrap input.wpcf7-form-control:focus,
.t360-quote-form-wrap select.wpcf7-form-control:focus,
.t360-quote-form-wrap textarea.wpcf7-form-control:focus {
    outline: none;
    border-color: #111111;
}

.t360-quote-form-wrap textarea.wpcf7-form-control {
    resize: vertical;
    min-height: 90px;
}

/* Checkbox groups (services / project type / how-did-you-hear) */
.t360-quote-form-wrap .wpcf7-form-control.wpcf7-checkbox {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 20px;
}

.t360-quote-form-wrap .wpcf7-list-item {
    margin: 0;
}

.t360-quote-form-wrap .wpcf7-list-item label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    font-weight: 400;
    color: #111111;
    cursor: pointer;
    margin: 0;
}

.t360-quote-form-wrap .wpcf7-list-item input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    flex: none;
    width: 18px;
    height: 18px;
    margin: 1px 0 0;
    border: 1px solid #d3cec6;
    border-radius: 4px;
    background: #ffffff;
    cursor: pointer;
    position: relative;
    transition: background 120ms ease, border-color 120ms ease;
}

.t360-quote-form-wrap .wpcf7-list-item input[type="checkbox"]:checked {
    background: #111111;
    border-color: #111111;
}

.t360-quote-form-wrap .wpcf7-list-item input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.t360-quote-submit {
    margin-top: 32px;
}

.t360-quote-form-wrap .wpcf7-not-valid-tip {
    font-size: 0.82rem;
    margin-top: 4px;
    color: #c4303a;
}

.t360-quote-form-wrap .wpcf7-response-output {
    margin: 20px 0 0;
    padding: 14px 16px;
    border-radius: 8px;
    border: 1px solid #d3cec6;
    font-size: 14px;
}

.t360-quote-form-wrap form.sent .wpcf7-response-output {
    border-color: #2e8c74;
    color: #2e8c74;
}

.t360-quote-form-wrap form.invalid .wpcf7-response-output,
.t360-quote-form-wrap form.failed .wpcf7-response-output {
    border-color: #c4303a;
    color: #c4303a;
}

.taxonomy-category a {
    text-decoration: none;
}

.blog-grids .wp-block-post-date {
    display: flex;
    align-items: center;
    gap: 10px;
}

.blog-grids .wp-block-post-date:before {
    content: '';
    width: 3px;
    height: 3px;
    display: block;
    background: #111111;
    border-radius: 100%;
}

.blog-grids .wp-block-post-date:after {
    content: '';
    width: 3px;
    height: 3px;
    display: block;
    background: #111111;
    border-radius: 100%;
}

.related-blogs .gutslider-content-wrapper .post-title {
    color: #0f172a;
}

.related-blogs .detached-featured-image {
    aspect-ratio: 3/4;
    height: auto;
    border-radius: 10px;
    overflow: hidden;
}

.related-blogs .detached-featured-image img {
    border-radius: 10px;
}

.related-blogs .gutslider-content-inner {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 12px;
    row-gap: 6px;
}

.related-blogs .post-categories {
    order: 1;
    margin: 0;
    line-height: 1;
    margin-top: -2px;
}

.related-blogs .post-meta {
    order: 2;
    margin: 0;
    line-height: 1;
    font-weight: 500;
    font-size: 15px;
    color: #0f172a !important;
    gap: 12px;
    display: flex;
}

.related-blogs .post-title-link {
    order: 3;
    flex-basis: 100%;
    width: 100%;
}

.related-blogs .post-excerpt {
    order: 4;
    flex-basis: 100%;
    width: 100%;
    margin: 0;
}

.related-blogs .swiper-container-outer {
    box-shadow: none !important;
    transform: translateY(0px) !important;
    border-radius: 10px !important;
    background: transparent !important;
}

.related-blogs .gutslider-content-inner {
    padding: 12px 0 !important;
    gap: 12px !important;
}

.related-blogs.gutslider-preset-cards .post-excerpt {
    font-size: clamp(14.642px, 0.915rem + ((1vw - 3.2px) * 0.708), 22px) !important;
    margin-bottom: 0;
}

.related-blogs.gutslider-preset-cards .post-title {
    font-size: var(--wp--preset--font-size--x-large) !important;
    margin-bottom: 0px !important;
    font-weight: 600;
}

/* .related-blogs .swiper-container-outer .post-card-link, */
.related-blogs .post-meta__reading::before {
    display: none !important;
}

.related-blogs .post-meta__date {
    display: flex;
    align-items: center;
    gap: 10px;
}

.related-blogs .post-meta__date:before {
    content: '';
    width: 3px;
    height: 3px;
    display: block;
    background: #111111;
    border-radius: 100%;
}

.related-blogs .post-meta__date:after {
    content: '';
    width: 3px;
    height: 3px;
    display: block;
    background: #111111;
    border-radius: 100%;
}

.work-cards .wp-block-group {
    position: relative;
    overflow: hidden;
}

.work-cards .wp-block-group .tags-list {
    transform: translateY(100%);
    transition: 0.5s all;
}

.work-cards .wp-block-group .is-vertical:hover .tags-list {
    transform: translateY(0%);
}

.work-cards .wp-block-group a:before {
    content: '';
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    z-index: 9;
}

.blog-grids .wp-block-tab-list {
    align-items: center;
    row-gap: 12px;
}

.blog-grids .wp-block-tab-list .t360-blog-search {
    /* WordPress's flex-gap-fallback rule (.is-layout-flex > :is(*, div))
       zeroes every child's margin and otherwise beats this on specificity —
       needs both the extra specificity and !important to win. */
    margin-left: auto !important;
}

.t360-blog-search {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0 6px 0 16px;
    height: 44px;
    min-width: 240px;
    border: 1px solid #d3cec6;
    border-radius: 999px;
    background: #ffffff;
    transition: border-color 120ms ease;
}

.t360-blog-search:focus-within {
    border-color: #111111;
}

.t360-blog-search-input {
    width: 100%;
    padding: 0;
    border: none;
    background: transparent;
    font-size: 15px;
    font-family: inherit;
    color: #111111;
}

.t360-blog-search-input::placeholder {
    color: #9c9fa5;
}

.t360-blog-search-input::-webkit-search-cancel-button {
    cursor: pointer;
}

/* Higher-specificity + !important: .wp-block-tab-list button (above) forces
   padding/border/background/color with !important on every button inside
   the tab list, including this one — it needs to win over that. */
.t360-blog-search button.t360-blog-search-submit {
    display: flex !important;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 32px !important;
    height: 32px !important;
    min-width: 0;
    padding: 0 !important;
    border: none !important;
    border-radius: 50% !important;
    background: transparent !important;
    color: #626260 !important;
    font-size: 0;
    cursor: pointer;
    transition: background 120ms ease, color 120ms ease;
}

.t360-blog-search button.t360-blog-search-submit:hover {
    background: #f5f1ec !important;
    color: #111111 !important;
}

.t360-blog-search-break {
    display: none;
}

@media (prefers-reduced-motion: reduce) {
    .wp-site-blocks>header.wp-block-template-part {
        transition: none;
    }
}

@media (min-width: 600px) and (max-width: 1024px) {
    .wp-block-navigation__responsive-container-open:not(.always-shown) {
        display: flex !important;
    }

    .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
        display: none !important;
    }

    .wp-block-navigation__responsive-container.is-menu-open {
        display: flex !important;
        position: fixed !important;
    }
}

@media (max-width: 1024px) {

    /* WordPress's flex-gap-fallback rule (.is-layout-flex > :is(*, div))
       sets the `margin` shorthand to 0 on every flex child, zeroing out
       margin-bottom here too — needs the same specificity + !important
       fix as margin-left above. */
    .blog-grids .wp-block-tab-list .t360-blog-search {
        order: -1;
        margin-left: 0 !important;
        margin-bottom: 30px !important;
    }

    .t360-blog-search {
        max-width: 500px;
        width: 100%;
    }

    /* Invisible flex item (script.js) right after the search box: its
       flex-basis:100% forces a line-break so the tabs that follow always
       start on a fresh line, regardless of the search box's own (capped,
       possibly narrower) width. */
    .blog-grids .wp-block-tab-list .t360-blog-search-break {
        order: -1;
        display: block;
        flex-basis: 100%;
        width: 0;
        height: 0;
        margin: 0 !important;
        padding: 0;
    }

    .wp-block-navigation__overlay-container .wp-block-buttons.wp-block-hidden-desktop {
        margin-top: 70px !important;
    }
}

@media (max-width: 700px) {
    .t360-quote-modal {
        max-width: 100%;
        padding: 56px 20px 40px;
    }

    .t360-quote-grid,
    .t360-quote-form-wrap .wpcf7-form-control.wpcf7-checkbox {
        grid-template-columns: 1fr;
    }

    .t360-connect-modal {
        max-width: 100%;
        padding: 56px 20px 40px;
    }
}

@media (max-width: 575px) {
    .wp-block-list.is-style-checkmark-list li::before {
        width: 14px;
        height: 14px;
        background-size: 14px auto;
    }
}