/* =========================================================
   Office Template (2026) — Halifax office page
   Net-new sections: hero, intro, office experience.
   Reused module styles imported below so FAQ / testimonials /
   consult form render correctly on this template.
   ========================================================= */
@import url("../css/_our-offices.css");
@import url("../css/_client-reviews.css");
@import url("../css/_our-people.css");
@import url("../css/_request-consultation-module.css");

:root {
    --o26-teal: #004953;
    --o26-red: #e8302f;
    --o26-ink: #1a1a1a;
    --o26-muted: #6c6c6c;
    --o26-radius: 15px;
    --o26-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.office26-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'gilroy-semibold', sans-serif;
    font-size: 1rem;
    line-height: 1;
    padding: 16px 28px;
    border-radius: 999px;
    text-decoration: none;
    transition: all .25s ease;
}
.office26-btn-red { background: var(--o26-red); color: #fff; }
.office26-btn-red:hover { background: #c92625; color: #fff; }

/* ============================= HERO ============================= */
.office26-hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: #e7eef0;
    padding-bottom: 120px;
    overflow: hidden;
}
/* Page background is white; the hero supplies its own light-teal. The hero is pulled up
   under the admin bar (below) so no white strip shows at the very top in the preview. */
body.page-template-our-office-2026 { background: #ffffff; }
/* Logged-in/preview: WP adds html{margin-top:32px} for the admin bar, which exposes a
   white band above the hero. Pull the hero up so its light-teal covers it. */
body.admin-bar .office26-hero { margin-top: -32px; }
@media screen and (max-width: 782px) {
    body.admin-bar .office26-hero { margin-top: -46px; }
}
.office26-hero-map {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.office26-hero-map iframe,
.office26-map-iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    filter: grayscale(0.55) brightness(1.06) contrast(0.92);
}
/* Cloud-styled JS map fills the hero (no filter — the style is applied in-map) */
.office26-gmap {
    width: 100%;
    height: 100%;
}
/* Free no-key Leaflet map */
#office26-leaflet {
    width: 100%;
    height: 100%;
}
.leaflet-container { background: #e9f2f4; }
.office26-pin svg { display: block; }
/* subtle teal wash so the grey tiles lean toward the brand map style */
.office26-map-tint {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: #9fc6cf;
    opacity: 0.16;
    mix-blend-mode: multiply;
}
/* Soft white wash over the top of the map; height set by JS to reach the card top */
.office26-hero::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: var(--o26-wash, 480px);
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(231, 238, 240, 0.97) 60%, rgba(231, 238, 240, 0) 100%);
}
.office26-hero-inner {
    position: relative;
    z-index: 2;
    padding-top: 56px;
    text-align: center;
}
.office26-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'gilroy-semibold', sans-serif;
    font-weight: normal; /* named face is already semibold; avoid faux-bold */
    font-size: 16px;
    color: #1a1a1a;
    margin-bottom: 20px;
}
.office26-breadcrumb a { color: #1a1a1a; text-decoration: none; }
.office26-breadcrumb a:hover { color: var(--o26-red); }
.office26-breadcrumb span { color: #1a1a1a; }
.office26-bc-sep { display: inline-flex; align-items: center; }
.office26-bc-sep svg { display: block; }

.office26-hero .office26-title {
    font-family: 'gilroy-bold', 'Gilroy-Bold', sans-serif;
    font-weight: normal; /* the gilroy-bold face is already bold; avoid faux-bold synthesis */
    font-size: 80px;
    line-height: 1.05;
    letter-spacing: -2px;
    color: #161616;
    margin: 0 0 110px;
    padding: 0;
}

/* Hero card: photo + contacts, with downward triangle tail over the map */
.office26-hero-card {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 25px;
    width: 784px;
    max-width: 100%;
    margin: 0 auto;
    background: #fff;
    border-radius: var(--o26-radius);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    padding: 25px;
}
.office26-hero-card::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    width: 22px;
    height: 22px;
    background: #fff;
    transform: translateX(-50%) rotate(45deg);
    border-radius: 0 0 6px 0;
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.05);
}
.office26-hero-photo {
    flex: 0 0 387px;
    width: 387px;
    align-self: stretch;
}
.office26-hero-photo img {
    width: 100%;
    height: 100%;
    min-height: 387px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}
.office26-hero-contacts {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 20px;
    padding: 13px 0 0 0;
    text-align: left;
}
.office26-contact-row {
    display: flex;
    align-items: center;
    gap: 7px;
    font-family: 'gilroy-regular', sans-serif;
    font-size: 1.125rem;
    color: var(--o26-ink);
    line-height: 1.35;
}
.office26-contact-row.office26-icon-clock { align-items: flex-start; }
/* line-height: inherit so the (linked) address aligns vertically like the non-link rows */
.office26-contact-row a { color: var(--o26-ink); text-decoration: none; line-height: inherit; display: inline; padding: 0; }
.office26-contact-row a:hover { color: var(--o26-red); }
.office26-contact-ico {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e9f2f4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #007481;
}
.office26-contact-ico svg { width: 13px; height: 13px; display: block; }
.office26-icon-phone .office26-contact-ico svg,
.office26-icon-toll .office26-contact-ico svg { width: 11px; height: 11px; }
.office26-icon-fax .office26-contact-ico svg { width: 12px; height: 11px; }
.office26-icon-location .office26-contact-ico svg { width: 10px; height: 13px; }
.office26-icon-clock .office26-contact-ico svg { width: 13px; height: 13px; }
.office26-contact-text { line-height: 1.35; }
.office26-contact-text .office26-day { font-family: 'gilroy-medium', sans-serif; }
/* push the button to the bottom of the contacts column so it aligns with the photo bottom */
.office26-hero-cta { margin-top: auto; padding-top: 10px; }
.office26-hero-cta .office26-btn-red {
    gap: 14px;
    padding: 8px 8px 8px 26px;
}
.office26-btn-arrow {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.office26-btn-arrow svg { width: 11px; height: 11px; display: block; }

/* The whole button area (incl. the wrapper padding) is clickable, so show the hand cursor over it */
.custom-btn, .custom-btn a { cursor: pointer; }

/* ---- Site CTA button (.custom-btn) ----
   Mirrored EXACTLY from the global form submit button (.frm_light .frm_submit button
   in faq-v2.css) — the canonical, correctly-built button — so every button on this
   page matches it (including the hover where the circle expands + the arrow rotates).
   DO NOT modify these rules. */
.custom-btn {
    background-color: #e53c3c !important;
    border-radius: 100px !important;
    padding: 17px 26px 17px 23px !important;
    width: fit-content !important;
    position: relative !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    border: 0 !important;
    display: inline-block;
}
.custom-btn a,
.custom-btn span {
    font-family: 'gilroy-semibold' !important;
    font-weight: 400 !important;
    font-size: 16px !important;
    color: #fff !important;
    text-decoration: none !important;
    line-height: 1 !important;
    letter-spacing: -0.005em;
    display: block;
    transform: translateX(0px);
    transition: all 0.3s ease-in-out;
}
.custom-btn::before {
    content: "" !important;
    background: #e53c3c;
    display: block !important;
    width: 20px !important;
    height: 20px !important;
    position: absolute !important;
    right: 0 !important;
    top: 0 !important;
    border: 2px solid #fff;
    border-radius: 100px;
    box-sizing: border-box;
    transition: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    left: unset !important;
    bottom: unset !important;
    z-index: 1;
}
.custom-btn::after {
    content: "";
    background-image: url('data:image/svg+xml,<svg width="6" height="6" viewBox="0 0 6 6" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M0.125528 5.87447C-0.0418396 5.70711 -0.0418396 5.43575 0.125528 5.26838L5.26838 0.125528C5.43575 -0.0418396 5.70711 -0.0418396 5.87447 0.125528C6.04184 0.292895 6.04184 0.564252 5.87447 0.731619L0.731619 5.87447C0.564252 6.04184 0.292895 6.04184 0.125528 5.87447Z" fill="white"/><path fill-rule="evenodd" clip-rule="evenodd" d="M5.57143 5.14258C5.33474 5.14258 5.14286 4.9507 5.14286 4.71401L5.14286 0.856866L1.28572 0.856865C1.04902 0.856865 0.857146 0.664988 0.857146 0.428294C0.857146 0.191601 1.04902 -0.000277006 1.28572 -0.000276985L5.57143 -0.000276604C5.80812 -0.000276583 6 0.191601 6 0.428295L6 4.71401C6 4.9507 5.80812 5.14258 5.57143 5.14258Z" fill="white"/></svg>');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: block;
    position: absolute;
    right: 7px;
    top: 7px;
    width: 6px;
    height: 6px;
    transition: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-sizing: border-box;
    z-index: 1;
}
@media (min-width: 1025px) {
    .custom-btn:hover::before {
        transform: rotate(-136deg);
        width: 49px !important;
        height: 49px !important;
        right: -30px !important;
    }
    .custom-btn:hover::after {
        transform: rotate(-136deg);
        width: 12.73px !important;
        height: 12.73px !important;
        right: -12px !important;
        top: 18px;
    }
    .custom-btn:hover a,
    .custom-btn:hover span {
        transform: translateX(-3px);
    }
}

/* ============================= INTRO ============================= */
.office26-intro { padding: 120px 0; }
.office26-intro .container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 48px;
}
.office26-intro-text { flex: 1; max-width: 940px; }
.office26-intro-text .office26-lead {
    font-family: 'gilroy-semibold', sans-serif;
    font-size: 22px;
    line-height: 1.4;
    letter-spacing: -0.44px;
    color: #000;
    margin: 0 0 30px;
}
.office26-intro-text p {
    font-family: 'gilroy-regular', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    letter-spacing: -0.08px;
    color: rgba(0, 0, 0, 0.8);
    margin: 0 0 18px;
}
.office26-intro-text p:last-child { margin-bottom: 0; }
.office26-intro-text a {
    color: #007481;
    font-family: 'gilroy-bold', sans-serif;
    text-decoration: none;
}
.office26-intro-text a:hover { color: #E53C3C; }

/* Section H2s — 60px Gilroy Bold, 120% line-height (applies across the page) */
.office26-exp-heading,
.office26-people-head h2,
.office26-reviews-heading {
    font-family: 'gilroy-bold', sans-serif;
    font-weight: normal;
    font-size: 60px;
    line-height: 1.2;
    letter-spacing: -1px;
}
.office26-intro-cta { flex: 0 0 auto; }

/* ====================== OFFICE EXPERIENCE ====================== */
.office26-experience { background: #E9F2F4; padding: 105px 0 130px; overflow-x: clip; }
.office26-exp-top {
    display: flex;
    gap: 78px;
    align-items: stretch;
    min-height: 271px;
    margin-bottom: 92px;
}
.office26-exp-left {
    flex: 0 0 539px;
    max-width: 539px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 36px;
}
.office26-exp-heading { margin: 0; color: var(--o26-ink); } /* size comes from the global section-h2 rule */
.office26-exp-tabs { display: flex; gap: 18px; align-items: center; }
/* Fixed 50px layout box so the row never reflows. Default = 50px white circle;
   active = 44px teal circle + 58px progress ring; hover = teal circle, white glyph. */
.office26-exp-tab {
    width: 50px;
    height: 50px;
    border: 0;
    background: transparent;
    padding: 0;
    position: relative;
    cursor: pointer;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.office26-exp-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: width .25s ease, height .25s ease, background-color .2s ease;
}
.office26-exp-glyph {
    width: 30px;
    height: 30px;
    display: block;
    background-color: #007481;
    -webkit-mask: var(--o26glyph) center / contain no-repeat;
    mask: var(--o26glyph) center / contain no-repeat;
    transition: background-color .2s ease;
}
/* Per-icon glyph dimensions (match each glyph's aspect ratio) */
.office26-exp-glyph[data-key="parking"]       { width: 26px; height: 26px; }
.office26-exp-glyph[data-key="accessibility"] { width: 20px; height: 26px; }
.office26-exp-glyph[data-key="meeting"]       { width: 29px; height: 19px; }
.office26-exp-glyph[data-key="coffee"]        { width: 24px; height: 24px; }
.office26-exp-glyph[data-key="virtual"]       { width: 30px; height: 17px; }
/* hover (non-active): circle turns teal, glyph white */
.office26-exp-tab:hover:not(.is-active) .office26-exp-circle { background: #007481; }
.office26-exp-tab:hover:not(.is-active) .office26-exp-glyph { background-color: #fff; }
/* active/focus: 44px teal circle + white glyph */
.office26-exp-tab.is-active .office26-exp-circle {
    width: 44px;
    height: 44px;
    background: #007481;
    box-shadow: 0 5px 10px rgba(0, 116, 129, 0.3);
}
.office26-exp-tab.is-active .office26-exp-glyph { background-color: #fff; }
/* Neutralize inherited theme decoration (stray red dots) on the tab + its spans */
.office26-exp-tab::before,
.office26-exp-tab::after,
.office26-exp-tab span::before,
.office26-exp-tab span::after { content: none !important; display: none !important; }
/* 58px countdown progress ring on the active tab */
.office26-exp-ring {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 58px;
    height: 58px;
    transform: translate(-50%, -50%);
    opacity: 0;
    pointer-events: none;
}
.office26-exp-tab.is-active .office26-exp-ring { opacity: 1; }
.office26-exp-ring svg { width: 58px; height: 58px; display: block; transform: rotate(-90deg); }
.o26-ring-track { fill: none; stroke: #cfe0e3; stroke-width: 2; }
.o26-ring-prog { fill: none; stroke: #007481; stroke-width: 2; stroke-dasharray: 175.93; stroke-dashoffset: 175.93; }
@keyframes o26ring { to { stroke-dashoffset: 0; } }

.office26-exp-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 30px;
    padding-top: 18px;
}
.office26-exp-feature-title {
    display: none;
    font-family: 'gilroy-bold', sans-serif;
    font-weight: normal;
    font-size: 22px;
    line-height: 1.3;
    color: #000;
    margin: 0;
}
.office26-exp-feature-title.is-active { display: block; }
.office26-exp-feature-desc {
    display: none;
    font-family: 'gilroy-regular', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.8);
}
.office26-exp-feature-desc.is-active { display: block; }

/* Staggered office gallery — exact design dimensions for the 4 Halifax photos.
   Starts at content-left, bleeds to the right page edge; scrolls (scrollbar hidden). */
.office26-exp-gallery {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    overflow-x: auto;
    margin-left: calc(50% - 50vw);  /* full-bleed both edges so images clip only at the page edges */
    margin-right: calc(50% - 50vw);
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
    user-select: none;
}
.office26-exp-gallery.is-dragging { cursor: grabbing; }
.office26-exp-gallery img { pointer-events: none; } /* avoid native image drag-ghost */
.office26-exp-gallery::-webkit-scrollbar { display: none; height: 0; width: 0; }
.office26-exp-slide { flex: 0 0 auto; }
.office26-exp-slide img { display: block; border-radius: 8px; object-fit: cover; }
/* repeating 4-up pattern so cloned (looping) slides are sized too; none exceed 400px */
.office26-exp-slide:nth-child(4n+1) img { width: 400px; height: 400px; }
.office26-exp-slide:nth-child(4n+2) img { width: 400px; height: 265px; }
.office26-exp-slide:nth-child(4n+3) img { width: 337px; height: 364px; }
.office26-exp-slide:nth-child(4n+4) img { width: 400px; height: 299px; }

/* ====================== PEOPLE (lawyers) ====================== */
.office26-people { padding: 150px 0 80px; }
.office26-people-head { margin-bottom: 55px; }
.office26-people-head h2 { color: var(--o26-ink); margin: 0 0 20px; max-width: 660px; } /* size from global section-h2 rule */
.office26-people-sub {
    font-family: 'gilroy-regular', sans-serif;
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--o26-ink);
    max-width: 1010px;
    margin: 0;
}
/* free-scroll track — bleeds to the page edges like the experience gallery */
.office26-people-track {
    display: flex;
    gap: 13px;
    overflow-x: auto;
    /* Full-bleed both edges; JS sets padding-left = gutter so the first card aligns with the
       title at rest, and cards bleed off into the left gutter once you start scrolling. */
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x proximity;
}
.office26-people-track::-webkit-scrollbar { display: none; height: 0; width: 0; }
/* auto so touch uses native horizontal scroll — the browser then suppresses the click
   after a swipe (no accidental navigation to the profile page). Mouse drag handled in JS. */
.office26-people-track { cursor: grab; touch-action: auto; }
.office26-people-track.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
/* disable snap while the arrows animate so it doesn't snap-jump mid-animation */
.office26-people-track.is-animating { scroll-snap-type: none; }
/* prevent the browser's native image drag-ghost during a mouse drag (the card itself stays a
   clickable link — drag-vs-click is handled by the pMoved click suppression in JS) */
.office26-person-thumb img { pointer-events: none; -webkit-user-drag: none; user-select: none; }
.office26-person { flex: 0 0 305px; width: 305px; scroll-snap-align: start; }
.office26-person-thumb {
    position: relative;
    display: block;
    width: 305px;
    height: 305px;
    border-radius: 15px;
    overflow: hidden;
    text-decoration: none; /* whole card is a link to the profile */
    cursor: pointer;
    -webkit-user-drag: none; /* don't let the link start a native drag — the slider needs the drag */
    user-select: none;
}
.office26-person-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Default = image only; gradient / name / position / LinkedIn slide + fade in on hover */
.office26-person-grad {
    position: absolute; inset: 0; border-radius: 15px;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 40%, rgba(0,0,0,0.8));
    opacity: 0; transition: opacity .35s ease; pointer-events: none;
}
.office26-person-meta {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 20px 22px;
    display: flex; flex-direction: column; gap: 6px; text-decoration: none;
}
.office26-person-name { font-family: 'gilroy-semibold', sans-serif; font-size: 20px; line-height: 1.4; letter-spacing: -0.4px; color: #fff; }
.office26-person-pos { font-family: 'gilroy-medium', sans-serif; font-size: 16px; line-height: 1.1; letter-spacing: -0.32px; color: rgba(255,255,255,0.8); }
/* both lines fade/rise in on hover; the second line lags slightly behind the first */
.office26-person-name, .office26-person-pos { opacity: 0; transform: translateY(16px); transition: opacity .35s ease, transform .35s ease; }
.office26-person-linkedin {
    position: absolute; top: 16px; right: 16px;
    width: 45px; height: 45px; border-radius: 50%;
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.3);
    display: inline-flex; align-items: center; justify-content: center;
    color: #fff; opacity: 0; transform: translateY(-10px);
    transition: opacity .35s ease, transform .35s ease;
    backdrop-filter: blur(8px);
}
.office26-person-linkedin svg { width: 17px; height: 17px; display: block; }
.office26-person:hover .office26-person-grad { opacity: 1; }
.office26-person:hover .office26-person-name,
.office26-person:hover .office26-person-pos { opacity: 1; transform: translateY(0); }
.office26-person:hover .office26-person-pos { transition-delay: .12s; }
.office26-person:hover .office26-person-linkedin { opacity: 1; transform: translateY(0); }
/* foot row: arrows left, "Meet our team" button right */
.office26-people-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 35px; }
.office26-people-nav { display: flex; gap: 16px; }
/* ---- shared slider arrows (lawyers + reviews) ----
   hover: an #E9F2F4 circle scales up to 45px, the lined circle shrinks, arrow #000 -> #007481 */
.office26-people-arrow {
    position: relative;
    width: 45px; height: 45px;
    border: 0; background: transparent;
    cursor: pointer; padding: 0;
    display: inline-flex; align-items: center; justify-content: center;
    overflow: visible;
}
.office26-people-arrow::before, .office26-people-arrow::after,
.office26-people-arrow span::before, .office26-people-arrow span::after { content: none !important; display: none !important; }
/* greyed-out at the first / last card */
.office26-people-arrow.is-disabled { opacity: 0.35; pointer-events: none; cursor: default; }
.office26-arrow-ring {
    position: absolute; left: 50%; top: 50%; z-index: 0;
    width: 45px; height: 45px; border-radius: 50%;
    border: 1px solid #D9D9D9;
    transform: translate(-50%, -50%) scale(1);
    transition: transform .3s ease;
    pointer-events: none;
}
.office26-arrow-fill {
    position: absolute; left: 50%; top: 50%; z-index: 1;
    width: 45px; height: 45px; border-radius: 50%;
    background: #E9F2F4;
    transform: translate(-50%, -50%) scale(0);
    transition: transform .3s cubic-bezier(.34, 1.4, .64, 1);
}
.office26-nav-prev, .office26-nav-next {
    position: relative; z-index: 2;
    display: block; width: 14px; height: 12px;
    background-color: #000000;
    -webkit-mask: var(--o26arrow) center / contain no-repeat;
    mask: var(--o26arrow) center / contain no-repeat;
    transition: background-color .25s ease;
}
/* Exact arrow geometry exported from Figma (stroked chevron + shaft) */
.office26-nav-prev { --o26arrow: url("data:image/svg+xml,%3Csvg viewBox='0 0 14.95 12.7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.9 0.5L0.5 6.35L5.9 12.2M0.5 6.35H14.45' stroke='black' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.office26-nav-next { --o26arrow: url("data:image/svg+xml,%3Csvg viewBox='0 0 14.95 12.7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.05 0.5L14.45 6.35L9.05 12.2M14.45 6.35H0.5' stroke='black' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
/* Hover only on real pointers (mouse) so the fill doesn't stick after a tap on touch devices */
@media (hover: hover) and (pointer: fine) {
    .office26-people-arrow:hover .office26-arrow-fill { transform: translate(-50%, -50%) scale(1); }
    .office26-people-arrow:hover .office26-arrow-ring { transform: translate(-50%, -50%) scale(0.88); }
    .office26-people-arrow:hover .office26-nav-prev,
    .office26-people-arrow:hover .office26-nav-next { background-color: #007481; }
}

/* ====================== REVIEWS (global Google reviews, 2026 design) ====================== */
.office26-reviews { padding: 0; }
.office26-reviews-divider { height: 1px; background: #e3e3e3; }
/* The theme's .container is 1360px wide on large desktop and expands to full width ≤1400px, but
   the FOOTER container is 1255px — so the page content (incl. the reviews divider) ran wider than
   the footer at every desktop size. Cap the page containers to the footer width (1255) and centre
   them so left/right margins match the footer everywhere. Mobile (≤767) keeps its full-width layout. */
@media (min-width: 768px) {
    body.page-template-our-office-2026 .container { max-width: 1255px; margin-left: auto; margin-right: auto; }
}
.office26-reviews-heading { text-align: center; max-width: 750px; margin: 110px auto 50px; color: #161616; }
.office26-reviews-stack { position: relative; max-width: 860px; margin: 0 auto; transition: height .4s ease; }
.office26-review-card {
    position: absolute;
    top: 0; left: 0; right: 0;
    width: 100%;
    background: #E3EFF1;
    border-radius: 25px;
    padding: 70px 75px 60px;
    /* quote on the left; date / text / info stacked in the right column */
    display: grid;
    grid-template-columns: 33px 1fr;
    column-gap: 74px;
    row-gap: 25px;
    transform-origin: center;
    transition: transform .55s cubic-bezier(.34, 0, .2, 1), opacity .45s ease;
    will-change: transform, opacity;
}
.office26-review-card .office26-review-quote { grid-column: 1; grid-row: 1 / span 3; }
.office26-review-card .office26-review-date  { grid-column: 2; grid-row: 1; }
.office26-review-card .office26-review-text  { grid-column: 2; grid-row: 2; }
.office26-review-card .office26-review-info  { grid-column: 2; grid-row: 3; }
.office26-review-card.is-front  { transform: translateY(0) scale(1); opacity: 1; z-index: 3; }
.office26-review-card.is-back   { transform: translateY(var(--o26-back-ty, 48px)) scale(0.9); opacity: 0.65; z-index: 2; }
/* Leaving: rises up on top + grows larger while opacity drops quickly to 0 */
/* Leaving: rises + grows at full opacity, then a quick fade near the top (delayed quick fade) */
.office26-review-card.is-leaving{ transform: translateY(-130%) scale(1.22); opacity: 0; z-index: 4; transition: transform .6s cubic-bezier(.4, 0, .6, 1), opacity .14s ease-out .26s; pointer-events: none; }
.office26-review-card.is-hidden { transform: translateY(var(--o26-back-ty, 48px)) scale(0.9); opacity: 0; z-index: 0; pointer-events: none; }
.office26-review-quote { color: #007481; line-height: 0; align-self: start; }
.office26-review-quote svg { width: 33px; height: 33px; display: block; }
.office26-review-date { font-family: 'gilroy-semibold', sans-serif; font-size: 14px; text-transform: uppercase; letter-spacing: 0; color: rgba(0,0,0,0.8); margin: 0; }
.office26-review-text { font-family: 'gilroy-semibold', sans-serif; font-size: 20px; line-height: 1.5; letter-spacing: -0.4px; color: rgba(0,0,0,0.8); }
.office26-review-text p { margin: 0 0 12px; }
.office26-review-text p:last-child { margin-bottom: 0; }
.office26-review-info { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.office26-review-author { display: flex; align-items: center; gap: 8px; }
.office26-review-name { font-family: 'gilroy-extrabold', 'gilroy-bold', sans-serif; font-size: 26px; line-height: 1; color: #000; }
.office26-review-stars { background: rgba(255,255,255,0.8); color: #007481; font-family: 'gilroy-bold', sans-serif; font-size: 14px; line-height: 1; padding: 6px 14px; border-radius: 999px; white-space: nowrap; position: relative; top: 1px; }
.office26-review-google { flex: 0 0 42px; width: 42px; height: 42px; display: block; }
.office26-reviews-nav { margin-top: 40px; display: flex; gap: 16px; justify-content: center; }
/* review nav buttons reuse the unified .office26-people-arrow styles above */
@media only screen and (max-width: 767px) {
    /* 85px above the divider line; bottom flush so the FAQ top padding owns the gap to the arrows */
    .office26-reviews { padding: 85px 0 0; }
    /* 26px above the review nav arrows */
    .office26-reviews-nav { margin-top: 26px; }
}

/* ====================== FAQ — two columns (heading+button left, accordions right) ====================== */
.office26-faqs { padding: 150px 0 100px; }
.office26-faqs .our-offices-faqs-container {
    display: flex;
    gap: 70px;
    align-items: flex-start;
}
.office26-faqs .faqs-heading-container {
    flex: 0 0 360px;
    max-width: 360px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
}
.office26-faqs .faqs-heading-container h2 {
    font-family: 'gilroy-extrabold', sans-serif;
    font-weight: normal;
    font-size: 36px;
    line-height: 1.3;
    letter-spacing: -0.5px;
    color: #1a1a1a;
    margin: 0;
}
.office26-faqs .our-offices-faqs-right { flex: 1; min-width: 0; }
.office26-faqs .faq-mobile-cta { display: none; }
/* accordion */
.office26-faqs .custom-accordion { padding-top: 16px; }
.office26-faqs .custom-accordion-item { border-top: 1px solid #d9dede; transition: background-color .25s ease, border-color .2s ease; }
.office26-faqs .custom-accordion-item:last-child { border-bottom: 1px solid #d9dede; }
.office26-faqs .custom-accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    cursor: pointer;
    padding: 28px 0;
}
.office26-faqs .custom-accordion-title {
    font-family: 'gilroy-bold', sans-serif;
    font-weight: normal;
    font-size: 20px;
    line-height: 1.4;
    letter-spacing: -0.005em;
    color: #1a1a1a;
    padding-left: 1px;
    transition: transform .25s ease;
}
.office26-faqs .custom-accordion-icon { flex: 0 0 18px; line-height: 0; color: #6C6C6C; transition: transform .3s ease; }
.office26-faqs .custom-accordion-content {
    display: none;
    /* 1px left padding to align with the title; right padding leaves room for the 20px hover shift */
    padding: 0 28px 28px 1px;
    font-family: 'gilroy-regular', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.8);
    transition: transform .25s ease;
}
.office26-faqs .custom-accordion-content a { color: #007481; font-family: 'gilroy-bold', sans-serif; text-decoration: none; }
.office26-faqs .custom-accordion-content a:hover { color: #E53C3C; }
/* OPEN: top line turns dark, the + rotates 45deg into an X */
.office26-faqs .custom-accordion-item.is-open { border-top-color: #333333; }
.office26-faqs .custom-accordion-item.is-open .custom-accordion-icon { transform: rotate(45deg); color: #000000; opacity: 1; }
/* HOVER (mouse only): light-teal background; title + icon ease toward the centre by 20px.
   Gated to real pointers so a tap on mobile doesn't leave the bg/shift stuck. */
@media (hover: hover) and (pointer: fine) {
    .office26-faqs .custom-accordion-item:hover { background: #E9F2F4; }
    .office26-faqs .custom-accordion-item:hover .custom-accordion-title { transform: translateX(20px); }
    .office26-faqs .custom-accordion-item:hover .custom-accordion-content { transform: translateX(20px); }
    .office26-faqs .custom-accordion-item:hover .custom-accordion-icon { transform: translateX(-20px); }
    .office26-faqs .custom-accordion-item.is-open:hover .custom-accordion-icon { transform: translateX(-20px) rotate(45deg); }
}
@media only screen and (max-width: 767px) {
    /* 110px above the FAQ heading (gap from the review arrows); 100px below the Contact button */
    .office26-faqs { padding: 110px 0 100px; }
    /* 20px between the title and the first accordion (container gap + zero accordion top padding) */
    .office26-faqs .our-offices-faqs-container { flex-direction: column; gap: 20px; }
    .office26-faqs .custom-accordion { padding-top: 0; }
    .office26-faqs .faqs-heading-container { flex-basis: auto; max-width: 100%; }
    /* FAQ title — mobile: 27px, 135% line-height, extra-bold */
    .office26-faqs .faqs-heading-container h2 { font-size: 27px; line-height: 1.35; }
    /* Mobile FAQ: the Contact button sits BELOW the accordion list (not beside the heading);
       30px below the last accordion (container gap 20 + 10 margin) */
    .office26-faqs .faq-desktop-cta { display: none; }
    .office26-faqs .faq-mobile-cta { display: inline-block; margin-top: 10px; }
    /* Question text per mobile design: Gilroy SemiBold 18px (desktop is bold 20px) */
    .office26-faqs .custom-accordion-title { font-family: 'gilroy-semibold', sans-serif; font-size: 18px; }
    /* Answer body text 16px on mobile */
    .office26-faqs .custom-accordion-content { font-size: 16px; }
}

/* ============================= RESPONSIVE ============================= */
@media only screen and (max-width: 1023px) {
    .office26-hero .office26-title { font-size: 56px; }
    .office26-exp-heading,
    .office26-people-head h2,
    .office26-reviews-heading { font-size: 44px; }
    .office26-exp-top { gap: 40px; }
    .office26-exp-left { flex-basis: 320px; }
    /* iPad/tablet: FAQ stacks (heading on top, accordions below, Contact button under the list) */
    .office26-faqs .our-offices-faqs-container { flex-direction: column; gap: 28px; }
    .office26-faqs .faqs-heading-container { flex-basis: auto; max-width: 100%; }
    .office26-faqs .faq-desktop-cta { display: none; }
    .office26-faqs .faq-mobile-cta { display: inline-block; }
}

@media only screen and (max-width: 767px) {
    /* Gradient wash matches the Figma mobile rectangle: #e9f2f4 solid to ~65%, fade to transparent.
       Extended ~180px past the card top so the fade is longer/more gradual. */
    .office26-hero::before {
        background: linear-gradient(to bottom, #e9f2f4 0%, #e9f2f4 64.97%, rgba(233, 242, 244, 0) 100%);
        height: calc(var(--o26-wash, 480px) + 180px);
    }
    /* Extra bottom padding so the map's office pin sits above the banner bottom, not flush */
    .office26-hero { padding-bottom: 90px; }
    /* Force symmetric 20px side padding so the breadcrumb/title gutters match left & right */
    .office26-hero-inner { padding-top: 150px !important; padding-left: 20px; padding-right: 20px; text-align: left; }
    /* Mobile: breadcrumb + title are left-aligned (centred on desktop) */
    .office26-breadcrumb {
        justify-content: flex-start;
        font-family: 'gilroy-bold', sans-serif;
        font-weight: normal;
        font-size: 14px;
        letter-spacing: -0.07px;
        gap: 6px; /* 6px between the text and the slash */
        margin-bottom: 10px; /* 10px gap to title */
    }
    .office26-hero .office26-title {
        font-size: 45px;
        line-height: 1.1;
        letter-spacing: -2px;
        text-align: left;
        margin-bottom: 30px;
    }
    /* Mobile hero card: full width, image on top, contacts + button stacked.
       33px padding below the button (card bottom). */
    .office26-hero-card { flex-direction: column; padding: 18px 18px 33px; gap: 25px; width: 100%; }
    .office26-hero-photo { flex: 0 0 auto; width: 100%; max-width: 100%; }
    .office26-hero-photo img { height: 162px; min-height: 0; }
    /* Explicit per-row spacing (not a uniform gap) so the address and button can sit apart */
    .office26-hero-contacts { padding: 0; gap: 0; }
    .office26-contact-row { font-size: 16px; letter-spacing: -0.08px; gap: 6px; margin-bottom: 13px; }
    .office26-contact-ico { flex-basis: 26px; width: 26px; height: 26px; }
    /* hours is the last row before the button — its spacing is handled by the button's margin */
    .office26-contact-row.office26-icon-clock { margin-bottom: 0; }
    /* Per-icon contact glyph sizes (mobile) */
    .office26-icon-phone .office26-contact-ico svg    { width: 11px; height: 11px; }
    .office26-icon-toll .office26-contact-ico svg     { width: 11px; height: 11px; }
    .office26-icon-fax .office26-contact-ico svg      { width: 12px; height: 11px; }
    .office26-icon-location .office26-contact-ico svg { width: 10px; height: 13px; }
    .office26-icon-clock .office26-contact-ico svg    { width: 13px; height: 13px; }
    /* Hours: the two lines sit at 135% line-height (no extra gap) */
    .office26-icon-clock .office26-contact-text,
    .office26-icon-clock .office26-contact-text .office26-day { line-height: 1.35 !important; }
    /* 20px above the button; button itself 49px tall */
    .office26-hero-cta { margin-top: 20px; padding-top: 0; }
    .office26-hero-cta .custom-btn { padding-top: 16.5px !important; padding-bottom: 16.5px !important; }
    /* 90px above the paragraph and 90px below the intro "Contact us" button */
    .office26-intro { padding: 90px 0 90px; }
    .office26-intro .container { flex-direction: column; gap: 24px; }
    /* 25px spacing between the intro paragraphs */
    .office26-intro-text .office26-lead { font-size: 19px; margin-bottom: 25px; }
    .office26-intro-text p { font-size: 16px; margin-bottom: 25px; }
    /* 77px above the heading, 100px below the image slider */
    .office26-experience { padding: 77px 0 100px; }
    /* Stack with exact design gaps: heading→icons 45, icons→title 38, title→body 14, body→slider 80.
       Override the desktop space-between/min-height that otherwise pushes elements apart. */
    .office26-exp-top { flex-direction: column; gap: 38px; min-height: 0; margin-bottom: 80px; }
    .office26-exp-left, .office26-exp-right { flex-basis: auto; max-width: 100%; justify-content: flex-start; min-height: 0; }
    .office26-exp-right { gap: 14px; padding-top: 0; }
    /* Feature title — mobile: Gilroy SemiBold 20px (design Heading 5) */
    .office26-exp-feature-title { font-family: 'gilroy-semibold', sans-serif; font-weight: normal; font-size: 20px; line-height: 1.4; letter-spacing: -0.4px; }
    /* ~50px from the bottom of the heading TEXT to the icon tabs. The h2 line box sits ~10px
       below the visible text (line-height descender), so the margin is reduced to compensate. */
    .office26-exp-heading { font-size: 1.875rem; line-height: 1.1; margin-bottom: 40px; }
    /* Icon tabs — mobile sizes per design: 40px inactive, 36px active teal, ~50px ring, 22px glyph */
    .office26-exp-tabs { gap: 12px; }                       /* 12px between default icons */
    .office26-exp-tab.is-active { margin: 0 2px; }          /* +2px each side → 14px around the focused tab */
    .office26-exp-tab { width: 40px; height: 40px; }
    .office26-exp-circle { width: 40px; height: 40px; }
    .office26-exp-tab.is-active .office26-exp-circle { width: 36px; height: 36px; }
    .office26-exp-ring, .office26-exp-ring svg { width: 50px; height: 50px; }
    /* Per-icon glyph sizes (mobile) */
    .office26-experience .office26-exp-glyph[data-key="parking"]       { width: 21px; height: 21px; }
    .office26-experience .office26-exp-glyph[data-key="accessibility"] { width: 15px; height: 19px; }
    .office26-experience .office26-exp-glyph[data-key="meeting"]       { width: 21px; height: 14px; }
    .office26-experience .office26-exp-glyph[data-key="coffee"]        { width: 18px; height: 18px; }
    .office26-experience .office26-exp-glyph[data-key="virtual"]       { width: 22px; height: 13px; }
    /* Mobile gallery: 260px wide, original proportion, capped at 260px tall */
    .office26-exp-gallery .office26-exp-slide img { width: 260px; height: auto; max-height: 260px; object-fit: cover; }
    /* 90px above the "Our Halifax Based Personal Injury Lawyers" heading; the gap below the
       slider/foot to the reviews divider is owned by .office26-reviews top padding (85px) */
    .office26-people { padding: 90px 0 0; }
    /* 30px between the body paragraph and the profile slider */
    .office26-people-head { flex-direction: column; align-items: flex-start; margin-bottom: 30px; }
    .office26-people-sub { font-size: 16px; }
    /* Mobile: button left, arrows right; 55px above the footer (gap from the slider) */
    .office26-people-foot { flex-direction: row-reverse; margin-top: 55px; }
    /* Mobile h2 size per design; 110% line-height */
    .office26-exp-heading,
    .office26-people-head h2,
    .office26-reviews-heading { font-size: 38px; line-height: 1.1; }
    /* Profile cards 230×230 on mobile (both the flex item and the thumb) */
    .office26-person { flex: 0 0 230px; width: 230px; }
    .office26-person-thumb { width: 230px; height: 230px; }
    /* Reviews: tighter heading offset + mobile review-card layout */
    .office26-reviews-heading { margin: 85px auto 35px; max-width: 100%; text-align: left; }
    .office26-reviews-stack { max-width: 100%; }
    .office26-review-card {
        grid-template-columns: 1fr auto;
        grid-template-rows: auto 1fr auto;
        column-gap: 12px;
        row-gap: 30px;
        background: #e9f2f4;
        border-radius: 20px;
        padding: 45px 26px;
        min-height: 500px;
    }
    .office26-review-card .office26-review-quote { grid-column: 1; grid-row: 1; }
    .office26-review-quote svg { width: 28px; height: 28px; }
    .office26-review-card .office26-review-date { grid-column: 2; grid-row: 1; justify-self: end; align-self: center; font-size: 12px; }
    .office26-review-card .office26-review-text { grid-column: 1 / -1; grid-row: 2; align-self: end; font-size: 16px; }
    .office26-review-card .office26-review-info { grid-column: 1 / -1; grid-row: 3; }
    .office26-review-name { font-size: 22px; }
}



.office26-icon-fax a
{
    pointer-events: none !important;
    color: var(--o26-ink) !important;
}


