/* ==========================================================================
   Design Tokens
   ========================================================================== */

:root {
    /* Colors */
    --color-primary: #096283;
    --color-primary-dark: #07202c;
    --color-neutral-100: #f8f8f8;
    --color-neutral-150: #f5f5f5;
    --color-neutral-300: #e5e3e0;
    --color-text: #1b1f23;
    --color-text-light: #ffffff;
    --color-border: #d9d9d9;

    /* Typography */
    --font-heading: "mundial-narrow-variable", "Arial Narrow", Arial, sans-serif;
    --font-body: "mundial-narrow-variable", Arial, Helvetica, sans-serif;

    /* Type Scale */
    --text-body: 1.125rem;      /* 18px */
    --text-small: 1rem;         /* 16px */
    --text-h1: clamp(2.25rem, 4vw, 2.625rem);    /* 36px - 42px */
    --text-h2: clamp(1.875rem, 3.2vw, 2.125rem); /* 30px - 34px */
    --text-h3: clamp(1.5rem, 2.6vw, 1.75rem);    /* 24px - 28px */
    --text-h4: 1.375rem;        /* 22px */
    --text-h5: 1.125rem;        /* 18px */
    --text-h6: 1rem;            /* 16px */
    --text-eyebrow: 0.9375rem;  /* 15px */

    /* Line Heights */
    --lh-tight: 1.15;
    --lh-heading: 1.2;
    --lh-body: 1.6;

    /* Spacing */
    --space-1: 0.5rem;
    --space-2: 0.75rem;
    --space-3: 1rem;
    --space-4: 1.5rem;
    --space-5: 2rem;
    --space-6: 3rem;
    --space-7: 4rem;

    /* Layout */
    --content-width: 42rem;
    --section-padding-y: clamp(3rem, 6vw, 5rem);

    --container-max: 82.5rem; /* 1320px */
    --container-gutter: 2rem;

    /* Buttons */
    --button-padding-y: 0.875rem;
    --button-padding-x: 1.5rem;
    --button-font-size: 1.125rem;
    --button-letter-spacing: 0.03em;
    --button-border-width: 2px;
    --button-radius: 0;
    --button-transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;

    /* Focus */
    --focus-ring: 3px solid var(--color-primary);
    --focus-offset: 2px;
}

/* ==========================================================================
   Base / Reset
   ========================================================================== */

html {
    box-sizing: border-box;
    font-size: 100%;
    scroll-behavior: smooth;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: var(--text-body);
    line-height: var(--lh-body);
    color: var(--color-text);
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

figure {
    margin: 0 0 var(--space-4);
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    margin-bottom: 0.75em;
    font-family: var(--font-heading);
    font-style: normal;
    color: var(--color-primary-dark);
}

h1 {
    font-size: var(--text-h1);
    line-height: var(--lh-tight);
    font-weight: 700;
}

h2 {
    font-size: var(--text-h2);
    line-height: var(--lh-heading);
    font-weight: 600;
}

h3 {
    font-size: var(--text-h3);
    line-height: var(--lh-heading);
    font-weight: 500;
    color: var(--color-primary);
}

h4 {
    font-size: var(--text-h4);
    line-height: 1.25;
    font-weight: 600;
    color: var(--color-primary-dark);
}

h5 {
    font-size: var(--text-h5);
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--color-primary-dark);
}

h6 {
    font-size: var(--text-h6);
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--color-primary-dark);
}

p,
ul,
ol {
    margin-top: 0;
    margin-bottom: 1rem;
}

small {
    font-size: var(--text-small);
}

.eyebrow {
    display: inline-block;
    margin-bottom: var(--space-2);
    font-family: var(--font-heading);
    font-size: var(--text-eyebrow);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-primary);
}

/* ==========================================================================
   Links
   ========================================================================== */

a {
    color: var(--color-primary);
    text-decoration-thickness: 2px;
    text-underline-offset: 0.15em;
    transition: color 0.2s ease;
}

a:hover,
a:focus {
    color: var(--color-primary-dark);
}

a:focus-visible,
button:focus-visible,
.button:focus-visible,
input[type="submit"]:focus-visible,
input[type="button"]:focus-visible,
input[type="reset"]:focus-visible {
    outline: var(--focus-ring);
    outline-offset: var(--focus-offset);
}

.has-dark-background a,
.section-dark a {
    color: var(--color-text-light);
}

.has-dark-background a:hover,
.has-dark-background a:focus,
.section-dark a:hover,
.section-dark a:focus {
    color: var(--color-neutral-100);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.button,
button,
input[type="submit"],
input[type="button"],
input[type="reset"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: var(--button-padding-y) var(--button-padding-x);
    border: var(--button-border-width) solid transparent;
    border-radius: var(--button-radius);
    font-family: var(--font-heading);
    font-size: var(--button-font-size);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: var(--button-letter-spacing);
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: var(--button-transition);
}

.button-primary {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

.button-primary:hover,
.button-primary:focus {
    background-color: #0b7298;
    border-color: #0b7298;
    color: #fff;
}

.button-light {
    background-color: #fff;
    border-color: #fff;
    color: var(--color-primary-dark);
}


.button-light:hover,
.button-light:focus {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-neutral-100);
}
.button-dark{
    background-color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    color: var(--color-neutral-100);
}
.button-dark:hover,
.button-dark:focus {
    background-color: var(--color-neutral-300);
    border-color: var(--color-neutral-300);
    color: var(--color-primary-dark);
}

.button-outline-light {
    background-color: transparent;
    border-color: #fff;
    color: #fff;
}

.button-outline-light:hover,
.button-outline-light:focus {
    background-color: #fff;
    color: var(--color-primary-dark);
}

.button-outline-dark {
    background-color: transparent;
    border-color: var(--color-primary-dark);
    color: var(--color-primary-dark);
}

.button-outline-dark:hover,
.button-outline-dark:focus {
    background-color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    color: #fff;
}
.has-chevron {
    position: relative;
    padding-right: 3.5rem;
}

.has-chevron::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 1.25rem;

    width: 10px;
    height: 10px;

    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;

    transform: translateY(-60%) rotate(135deg);

    transition: transform 0.2s ease;
}

.has-chevron[aria-expanded="true"]::after {
    transform: translateY(-40%) rotate(-45deg);
}
/* ==========================================================================
   Content / WYSIWYG
   ========================================================================== */

.entry-content,
.content-area,
.wysiwyg {
    max-width: var(--content-width);
}

.wysiwyg ul,
.wysiwyg ol,
.entry-content ul,
.entry-content ol,
.content-area ul,
.content-area ol {
    padding-left: 1.25rem;
}

.wysiwyg ul li::marker,
.entry-content ul li::marker,
.content-area ul li::marker {
    color: var(--color-primary);
}

.wysiwyg > *:last-child,
.entry-content > *:last-child,
.content-area > *:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   Section Utilities
   ========================================================================== */

.section-light {
    background-color: var(--color-neutral-100);
}

.bg-off-white {
    background-color: var(--color-neutral-150);
}



.section-dark {
    background-color: var(--color-primary-dark);
    color: #fff;
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark h5,
.section-dark h6 {
    color: #fff;
}

.section {
    padding-top: var(--section-padding-y);
    padding-bottom: var(--section-padding-y);
    position: relative;
    overflow: hidden;
}
.default-page .col-lg-8 > .section:first-of-type {
    padding-top: 0;
}
.container {
    width: min(100% - var(--container-gutter), var(--container-max));
    margin-inline: auto;
}

.page-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 20rem;
    padding: 5rem 0;
    background-color: var(--color-primary-dark);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #fff;
    margin-top: -8px;

}
.page-hero h1 {
    color: #fff;
}
.page-template-template-our-team .page-hero {
    background-color: var(--color-primary);

}

.page-hero__overlay {
    position: absolute;
    inset: 0;
    background: #07202cfc;
    opacity: 0.8;
    mix-blend-mode: multiply;}

.page-hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-inline: auto;
}

.page-hero__eyebrow,
.page-hero__title {
    color: #fff;
}

.page-hero__title {
    margin-bottom: 0;
}

.section {
    padding-top: var(--section-padding-y);
    padding-bottom: var(--section-padding-y);
}

.wysiwyg {
    max-width: 100%;
}

/*.wysiwyg > * {*/
/*    max-width: var(--content-width);*/
/*}*/

.wysiwyg > img,
.wysiwyg > figure,
.wysiwyg > .wp-block-image,
.wysiwyg > .wp-block-gallery {
    max-width: 100%;
}

.eyebrow {
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-heading {
    line-height: 1.1;
}

.wysiwyg p:last-child {
    margin-bottom: 0;
}

.section-media,
.media-image-wrap {
    border-radius: 1rem;
    overflow: hidden;
}

.media-image {
    display: block;
    width: 100%;
    height: auto;
}

.media-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.has-pattern-bottom-left {
    position: relative;
    overflow: hidden;
}

.has-pattern-bottom-left::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;

    width: 80%;
    height: 60%;

    background-image: url(../images/pattern-small.png);
    background-repeat: no-repeat;
    background-size: contain;

    pointer-events: none;
    z-index: 0;
}

.has-pattern-bottom-left > .container {
    position: relative;
    z-index: 1;
}
body.home  {
    background-color: #F5F5F5;
}
.home-hero {
    position: relative;
    overflow: visible;
    color: #fff;
    padding: 0;
    margin-bottom: 120px;
    /*min-height: 100vh;*/
    min-height: 80vh;
}

.home-hero__media,
.home-hero__video-embed,
.home-hero__video-embed iframe,
.home-hero__overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.home-hero__video-embed {
    overflow: hidden;
    z-index: 1;
}

.home-hero__video-embed iframe {
    position: absolute;
    inset: 0;

    width: 160%;
    height: 160%;

    top: -30%;
    left: -30%;

    border: 0;
    pointer-events: none;
}

.home-hero__overlay {
    background: #096283;
    mix-blend-mode: multiply;
    z-index: 2;
    opacity: 0;
    transition: opacity 400ms ease;
}

.home-hero__overlay.is-visible {
    opacity: 1;
}

.home-hero .container {
    position: relative;
    z-index: 3;
}

.home-hero__content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 160px 0 260px;
}

.home-hero__eyebrow {
    margin-bottom: 12px;
    color:#fff;
}

.home-hero__heading {
    margin-bottom: 24px;
    color: #ffffff;
    text-transform: uppercase;
    font-size: 5rem;
}

.home-hero__text {
    max-width: 920px;
    margin: 0 auto 32px;
    font-size: 1.25rem;
    line-height: 1.5;
}

.home-hero__text p:last-child {
    margin-bottom: 0;
}

.home-hero__button-wrap {
    margin-top: 32px;
}

.home-hero__button {
    padding: 14px 32px;
    border-width: 2px;
    border-radius: 0;
    font-weight: 700;
    text-transform: uppercase;
}

.home-hero__practice-areas {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -200px;
    z-index: 5;
}
.home-hero__practice-areas-spacer {
    height: 120px;
}
.practice-area-grid {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.practice-area-grid__col {
    position: relative;
}

.practice-area-grid__item {
    height: 100%;
    position: relative;
    overflow: hidden;
    background: #ffffff;
    transition:
            background-color 0.35s ease,
            transform 0.35s ease,
            box-shadow 0.35s ease;
}


.practice-area-grid__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    min-height: 260px;
    padding: 32px 20px;
    color: #0f2d3a;
    height: 100%;
    position: relative;
    z-index: 2;
    transition:
            color 0.35s ease,
            transform 0.35s ease;
}

.practice-area-grid__title {
    margin: 0 0 20px;
    font-size: 1.5rem;
    line-height: 1.35;
    color: #0f2d3a;
    font-weight: 500;
    transition:
            color 0.35s ease,
            transform 0.35s ease;
}

.practice-area-grid__cta {
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #0d6e96;
    transition:
            color 0.35s ease,
            letter-spacing 0.35s ease,
            transform 0.35s ease;
}

/* subtle background sweep */
.practice-area-grid__item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
            180deg,
            rgba(13, 110, 150, 0.02) 0%,
            rgba(13, 110, 150, 0.08) 100%
    );
    opacity: 0;
    transform: translateY(10px);
    transition:
            opacity 0.4s ease,
            transform 0.4s ease;
    z-index: 1;
}

/* HOVER */
.practice-area-grid__item:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
    z-index: 10;
}

.practice-area-grid__item:hover::before {
    opacity: 1;
    transform: translateY(0);
}

.practice-area-grid__item:hover .practice-area-grid__title {
    color: #0d6e96;
    transform: translateY(-2px);
}

.practice-area-grid__item:hover .practice-area-grid__cta {
    letter-spacing: 0.08em;
    transform: translateY(2px);
}

/* accessibility */
.practice-area-grid__link:focus-visible {
    outline: 2px solid #0d6e96;
    outline-offset: -2px;
}

/* =========================================
   BLOCKQUOTE
========================================= */

blockquote {
    position: relative;
    max-width: 980px;
    margin: 2rem auto;
    padding: 80px 40px 30px;
    text-align: center;
    border: 0;
    background: #E5E3E0;
}

blockquote p {
    line-height: 1.45;
    font-weight: 500;
    color: #0f2d3a;
    margin-bottom: 40px;
}

/* top decorative lines */
blockquote::before,
blockquote::after {
    content: "";
    position: absolute;
    top: 40px;
    width: calc(50% - 75px);
    margin: 0px 40px;
    height: 4px;
    background: #0d6e96;
}

/* left line */
blockquote::before {
    left: 0;
}

/* right line */
blockquote::after {
    right: 0;
}

/* quote mark */
blockquote p::before {
    content: "“";
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 5rem;
    line-height: 1;
    font-weight: 700;
    color: #0d6e96;
    padding: 0 18px;

}

/* citation */
blockquote cite {
    display: block;
    margin-top: 12px;
    font-style: normal;
    font-weight: 700;
    font-size: 2rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #0d6e96;
}

/* optional dash removal */
blockquote cite::before {
    content: "";
}

/* =========================================
   FAQ SECTION
========================================= */

.faq-section {
    padding: 0;
}

.faq-section__heading {
    margin-bottom: 48px;
    color: #0f2d3a;
}

/* accordion wrapper */
.faq-accordion {
    border-top: 3px solid #0f2d3a;
}

/* item */
.faq-accordion__item {
    border: 0;
    border-bottom: 3px solid #0f2d3a;
    border-radius: 0 !important;
    background: transparent;
}

/* remove default bootstrap styles */
.faq-accordion .accordion-button,
.faq-accordion .accordion-button:not(.collapsed),
.faq-accordion .accordion-button:focus {
    background: transparent;
    box-shadow: none;
    justify-content: flex-start;

}

/* question button */
.faq-accordion__button {
    position: relative;
    padding: 18px 56px 18px 0;
    font-size: 1.375rem;
    font-weight: 500;
    line-height: 1.35;
    color: #07202C;
}

/* remove bootstrap icon */
.faq-accordion .accordion-button::after {
    display: none;
}

/* custom arrow */
.faq-accordion__button::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 8px;
    width: 18px;
    height: 18px;
    border-top: 3px solid #0f2d3a;
    border-right: 3px solid #0f2d3a;
    transform: translateY(-50%) rotate(45deg);
    transition: transform 0.25s ease;
}

/* open state */
.faq-accordion__button:not(.collapsed)::before {
    transform: translateY(-50%) rotate(135deg);
}

/* hover */
.faq-accordion__button:hover {
    color: #0d6e96;
}

.faq-accordion__button:hover::before {
    border-color: #0d6e96;
}

/* answer */
.faq-accordion__body {
    padding: 0 0 32px;
    max-width: 980px;
    font-size: 1.125rem;
    line-height: 1.7;
    color: #29404c;
}

/* spacing */
.faq-accordion__body > *:last-child {
    margin-bottom: 0;
}

.practice-sidebar {
    top: 2rem;
    border: 1px solid #F5F5F5;
    background-color: #F5F5F5;
}

.practice-sidebar .form-control {
    height: 48px;
    border: 1px solid #d9d9d9;
    box-shadow: none;
}

.practice-sidebar .form-control:focus {
    border-color: #000;
    box-shadow: none;
}

.practice-sidebar .btn {
    height: 48px;
    padding-inline: 1rem;
    white-space: nowrap;
}

.practice-sidebar nav ul li:last-child {
    margin-bottom: 0 !important;
}

.practice-sidebar a {
    font-size: 1.125rem;
    line-height: 1.5;
    transition: all 0.2s ease;
}
.practice-sidebar .form-control {
    height: auto;
    border: none;
    min-height: 3rem;
    border-bottom: 1px solid #07212C;
    box-shadow: none;
    background: none;
}
.practice-sidebar a:hover {
    color: #000 !important;
    padding-left: 4px;
}

.practice-sidebar a.fw-bold {
    border-left: 3px solid #000;
    padding-left: 12px;
}

/* =========================================
   SIMPLE VIDEO SECTION
========================================= */

.simple-video-section {
    padding: 100px 0;
}

.simple-video-section__wrap {
    position: relative;
}

.simple-video-section__video {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background: #cfcfcf;
    aspect-ratio: 16 / 9;
}

.simple-video-section__video iframe,
.simple-video-section__video video,
.simple-video-section__video embed,
.simple-video-section__video object {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.simple-video-section__caption {
    margin-top: 16px;
    text-align: center;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #5b6870;
}

.simple-video-section__caption p:last-child {
    margin-bottom: 0;
}

.results-section {
    position: relative;
    padding: clamp(4rem, 8vw, 7rem) 0;
    background-color: #082632;
    background-image: url('../images/full-size-pattern.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    color: #fff;
    overflow: hidden;

    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.results-section.in-view {
    opacity: 1;
    transform: translateY(0);
}

.results-section .results-header,
.results-section .result-card,
.results-section .results-button-wrap {
    opacity: 0;
    transform: translateY(24px);
}

/* Header */

.results-section .results-header h2 {
    margin-bottom: 1rem;
    color: var(--color-neutral-300);
}

.results-section .results-copy {
    max-width: 1000px;
    margin: 0 auto;
}

.results-section .results-copy p:last-child {
    margin-bottom: 0;
}

/* Cards */

.results-section .result-card {
    height: 100%;
    padding: clamp(2rem, 3vw, 2.75rem);
    background: #0f6d89;
    border-radius: 0.5rem;
    color: var(--color-neutral-300);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.results-section .result-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.results-section .result-amount {
    font-size: clamp(3.5rem, 6vw, 3.625rem);
    font-weight: 800;
    line-height: 0.95;
    color: var(--color-neutral-300);
}

.results-section .result-amount span {
    font-size: clamp(1.25rem, 2vw, 1.85rem);
    font-weight: 700;
    letter-spacing: 0.04em;
}

.results-section .result-card p {
    margin-bottom: 0;
    font-size: 1.05rem;
    line-height: 1.35;
}

/* Button */

.results-section .results-button-wrap {
    margin-top: clamp(2.5rem, 5vw, 4rem);
    transform: translateY(18px);
}

/* In-view animations */

.results-section.in-view .results-header {
    animation: resultsFadeUp 0.7s ease forwards 0.15s;
}

.results-section.in-view .row > div:nth-child(1) .result-card {
    animation: resultsCardIn 0.7s ease forwards 0.25s;
}

.results-section.in-view .row > div:nth-child(2) .result-card {
    animation: resultsCardIn 0.7s ease forwards 0.35s;
}

.results-section.in-view .row > div:nth-child(3) .result-card {
    animation: resultsCardIn 0.7s ease forwards 0.45s;
}

.results-section.in-view .row > div:nth-child(4) .result-card {
    animation: resultsCardIn 0.7s ease forwards 0.55s;
}

.results-section.in-view .results-button-wrap {
    animation: resultsFadeUp 0.7s ease forwards 0.7s;
}

/* Keyframes */

@keyframes resultsFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes resultsCardIn {
    from {
        opacity: 0;
        transform: translateY(28px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
.testimonial-slider-section .carousel {
    position: relative;
    padding: 0 6rem;
}

.testimonial-slider-section .carousel-control-prev,
.testimonial-slider-section .carousel-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 40px;
    opacity: 1;
    background: #0B6283;
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
            background 0.25s ease,
            transform 0.25s ease;
}

.testimonial-slider-section .carousel-control-prev {
    left: 0;
}

.testimonial-slider-section .carousel-control-next {
    right: 0;
}

.testimonial-slider-section .carousel-control-prev:hover,
.testimonial-slider-section .carousel-control-next:hover {
    background: #094d66;
    transform: translateY(-50%) scale(1.03);
}

.testimonial-slider-section .carousel-control-prev-icon,
.testimonial-slider-section .carousel-control-next-icon {
    filter: brightness(0) invert(1);
    background-size: 1.35rem;
}

.recognition-section .recognition-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.recognition-section .recognition-logo {
    max-height: 130px;
    width: auto;
    object-fit: contain;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.recognition-section .recognition-item a:hover .recognition-logo {
    transform: translateY(-4px) scale(1.03);
    opacity: 0.9;
}

.dark-section-media-content {
    background-color: #07202C;
}

.dark-section-media-content.has-pattern {
    background-image: url('../images/bottom-right-pattern2.png');
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: 25%;
}

.dark-section-media-content .container {
    position: relative;
    z-index: 2;
}

.dark-section-media-content .section-heading {
    color: var(--color-neutral-300);
}

.dark-section-media-content .wysiwyg {
    color: var(--color-neutral-300);
    font-size: 1.15rem;
    line-height: 1.35;
}

.dark-section-media-content .dark-media-image-wrap {
    position: relative;
    max-width: 720px;
}

.dark-section-media-content .dark-media-image {
    border-radius: 0.5rem;
}

.dark-section-media-content .media-embed {
    border-radius: 0.5rem;
    overflow: hidden;
}
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: none;
}

.reveal-on-scroll:nth-child(2) {
    transition-delay: 0.15s;
}

.reveal-on-scroll:nth-child(3) {
    transition-delay: 0.3s;
}

.reveal-on-scroll:nth-child(4) {
    transition-delay: 0.45s;
}





/* Accessibility */

@media (prefers-reduced-motion: reduce) {
    .results-section,
    .results-section .results-header,
    .results-section .result-card,
    .results-section .results-button-wrap {
        animation: none !important;
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .reveal-on-scroll {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

.blog-card {
    position: relative;
    height: 100%;
    padding: 1.875rem;
    background: var(--color-neutral-150);

    box-shadow:
            0 2px 6px rgba(0,0,0,.04),
            0 12px 30px rgba(0,0,0,.06);

    transition:
            transform .25s ease,
            box-shadow .25s ease,
            background-color .25s ease;
}
.blog-card-link {
    text-decoration: none;
}
/* hover state */
.blog-card:hover {
    transform: translateY(-6px);

    box-shadow:
            0 6px 16px rgba(0,0,0,.08),
            0 24px 50px rgba(0,0,0,.12);

    background: #fff;
}

/* arrow positioning */
.blog-card__arrow {
    position: absolute;
    top: 2rem;
    right: 2rem;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 32px;
    height: 32px;

    color: var(--color-primary);

    text-decoration: none !important;

    font-size: 1.5rem;
    line-height: 1;

    transition:
            transform .2s ease,
            color .2s ease;
}

/* arrow hover */
.blog-card:hover .blog-card__arrow {
    transform: translate(3px, -3px);
    color: var(--color-primary-dark);
}

/* title spacing */
.blog-card__title {
    margin-top: 1rem;
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
}
.blog-card__title a{
    text-decoration: none;
    color: var(--color-primary-dark);
}

.blog-card__title a{
    color: var(--color-primary);
}

/* excerpt spacing */
.blog-card__excerpt {
    margin-bottom: 2rem;
}

/* read more */
.blog-card__read-more {
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.blog-archive-toolbar {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.blog-archive-search {
    display: flex;
    align-items: stretch;
    gap: 1rem;
}

.blog-archive-search input {
    flex: 1;
    min-height: 64px;
    border: 0;
    border-bottom: 1px solid var(--color-primary-dark);
    background: transparent;
    padding-inline: 0;
    font-size: 1.125rem;
}

.blog-archive-search input:focus {
    outline: none;
    border-color: var(--color-primary);
}

.blog-search-submit {
    flex-shrink: 0;
}

.blog-toolbar-actions {
    flex-shrink: 0;
}

.blog-archive-category-toggle {
    min-width: 220px;
    justify-content: space-between;
}

.team-card {
    transition:
            transform 0.35s ease,
            box-shadow 0.35s ease;
}

.team-card__image {
    overflow: hidden;

}
.team-card__image img {
    aspect-ratio: 4 / 5;
    object-fit: cover;
    display: block;
    transition:
            transform 0.5s ease,
            filter 0.35s ease;
}

.team-card__content {
    background: #e5e3df;
    transition:
            background-color 0.35s ease,
            color 0.35s ease;
}

.team-card__text h3 {
    font-size: 1.5rem;
    line-height: 1.2;
    color: var(--color-primary-dark);
}

.team-card__text span {
    display: block;
    font-size: 0.8125rem;
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-primary);
}

.team-card__arrow {
    color: var(--color-primary);
    font-size: 1.25rem;
    line-height: 1;
    transition:
            transform 0.35s ease,
            color 0.35s ease;
}
/* Hover */
.team-card:hover {
    transform: translateY(-6px);
}

.team-card:hover .team-card__image img {
    transform: scale(1.03);
}

.team-card:hover .team-card__content {
    background-color: #d9d4cf;
}

.team-card:hover .team-card__arrow {
    transform: translate(4px, -4px);
}

.team-member-hero {
    background: #E5E3E0;
    margin-top: -8px;
}
.team-member-hero {
    font-weight: 600;
}
.team-member-hero__image {
    overflow: hidden;
}

.team-member-hero__image img {
    aspect-ratio: 4 / 5;
    object-fit: cover;
    display: block;
}

.team-member-hero__content h1 {
    margin-bottom: 0.5rem;
}

.team-member-hero__title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 1.5rem;
    display: inline-block;
    border-bottom: 1px solid #0B6283;

}

.team-member-hero__socials a {
    color: var(--color-primary);
    font-size: 1rem;
    transition: opacity .3s ease;
}

.team-member-hero__socials a:hover {
    opacity: .7;
}

.team-member-hero__practice-areas h6 {
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 700;
    border-bottom: 1px solid #0B6283;
    display: inline-block;


}

.team-member-hero__practice-areas a {
    text-decoration: none;
}

.team-member-content {
    border-top: 1px solid rgba(0,0,0,.08);
}

.team-member-tabs .nav-tabs {
    background: var(--color-primary);
}

.team-member-tabs .nav-link {
    border: 0;
    border-radius: 0;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    padding: 1.25rem 2rem;
    background: transparent;
    transition: background-color .3s ease;
}

.team-member-tabs .nav-link:hover {
    background: rgba(255,255,255,.08);
    color: #fff;
}

.team-member-tabs .nav-link.active {
    background: #e8e5e1;
    color: var(--bs-dark);
}

.team-member-tabs__content h2,
.team-member-tabs__content h3 {
    margin-bottom: 1.5rem;
}

.team-member-tabs__content p:last-child {
    margin-bottom: 0;
}

.blog-archive__pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .75rem;
    margin-top: var(--space-7);
}

.blog-archive__pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 48px;
    height: 48px;
    padding: 0 1rem;

    background: #fff;
    border: 1px solid rgba(7, 32, 44, .12);
    color: var(--color-primary-dark);

    font-family: var(--font-heading);
    font-weight: 700;
    text-decoration: none;

    box-shadow: 0 6px 18px rgba(0, 0, 0, .06);

    transition:
            background-color .2s ease,
            color .2s ease,
            transform .2s ease,
            box-shadow .2s ease;
}

.blog-archive__pagination .page-numbers:hover,
.blog-archive__pagination .page-numbers:focus {
    background: var(--color-primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .12);
}

.blog-archive__pagination .page-numbers.current {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    color: #fff;
}

.blog-archive__pagination .dots {
    background: transparent;
    border: 0;
    box-shadow: none;
}

#blog-posts-grid.is-loading {
    opacity: .35;
    pointer-events: none;
}

.blog-card {
    opacity: 0;
    transform: translateY(24px);
    transition:
            opacity .7s ease,
            transform .7s ease,
            box-shadow .25s ease,
            background-color .25s ease;
}

.reveal-on-scroll.is-visible .blog-card {
    opacity: 1;
    transform: translateY(0);
}

.reveal-on-scroll:nth-child(2) .blog-card {
    transition-delay: .08s;
}

.reveal-on-scroll:nth-child(3) .blog-card {
    transition-delay: .16s;
}

.icon-box {
    background: #fff;
    padding: 2rem 1.5rem;
    border-radius: 6px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}
.icon-box__icon-wrap {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-box__icon {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.icon-box__icon img {
    max-width: 24px;
    max-height: 24px;
    object-fit: contain;
}

.icon-box__title {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
}

.icon-box__content {
    font-size: 0.9375rem;
    line-height: 1.35;
}

.icon-box__content p:last-child {
    margin-bottom: 0;
}

.icon-box__link {
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--color-primary, #0b6f8f);
}

.gallery-cta-section__content {
    max-width: 900px;
}

.gallery-cta-card {
    width: 100%;
    aspect-ratio: 16 / 10;
    background: #e5e3df;
    overflow: hidden;
}

.gallery-cta-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.image-carousel-content-section .media-image-wrap {
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.image-carousel-content-section .media-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-carousel-content-section .carousel-control-prev,
.image-carousel-content-section .carousel-control-next {
    width: 48px;
}

.image-carousel-content-section .carousel-control-prev {
    left: -60px;
}

.image-carousel-content-section .carousel-control-next {
    right: -60px;
}

.image-carousel-content-section .carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%230B6283' viewBox='0 0 16 16'%3E%3Cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3E%3C/svg%3E");
}

.image-carousel-content-section .carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%230B6283' viewBox='0 0 16 16'%3E%3Cpath d='M4.646 1.646a.5.5 0 0 0 0 .708L10.293 8l-5.647 5.646a.5.5 0 0 0 .708.708l6-6a.5.5 0 0 0 0-.708l-6-6a.5.5 0 0 0-.708 0z'/%3E%3C/svg%3E");
}


.gallery-viewer-grid {
    display: grid;
    grid-template-columns: 1.45fr 0.95fr;
    grid-template-rows: repeat(2, 1fr);
    gap: 1.5rem;
}

.gallery-viewer-item {
    border: 0;
    padding: 0;
    background: transparent;
    overflow: hidden;
    cursor: pointer;
}

.gallery-viewer-item--large {
    grid-row: span 2;
    aspect-ratio: 1 / 1;
}

.gallery-viewer-item--small {
    aspect-ratio: 16 / 10;
}

.gallery-viewer-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-viewer-item:hover img,
.gallery-viewer-item:focus-visible img {
    transform: scale(1.04);
}

.gallery-viewer-modal .modal-content {
    background: transparent;
    border: 0;
}

.gallery-viewer-close {
    position: absolute;
    top: -2.5rem;
    right: 0;
    filter: invert(1);
    opacity: 1;
    z-index: 5;
}

.gallery-viewer-modal__image {
    width: 100%;
    max-height: 85vh;
    object-fit: contain;
    display: block;
}

.full-width-slide {
    position: relative;
    min-height: 420px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.full-width-slide__overlay {
    position: absolute;
    inset: 0;
    background: #096283;
    mix-blend-mode: multiply;
    z-index: 1;
}

.full-width-slide__content {
    position: relative;
    z-index: 2;
    max-width: 920px;
    padding: 4rem 8.5rem;
    color: #fff;
}

.full-width-slide__content h2,
.full-width-slide__content .wysiwyg {
    color: #fff;
}

.full-width-slider-section .carousel-control-prev,
.full-width-slider-section .carousel-control-next {
    width: 64px;
}

.full-width-slider-section .carousel-indicators {
    position: static;
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1.25rem 0 0;
}

.full-width-slider-section .carousel-indicators [data-bs-target] {
    box-sizing: border-box;
    width: 14px;
    height: 14px;
    min-width: 14px;
    min-height: 14px;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 50%;
    background-color: #0B6283;
    opacity: 0.35;
}

.full-width-slider-section .carousel-indicators .active {
    opacity: 1;
}
.list-content-items {
    display: grid;
    gap: 1.5rem;
}

.list-content-item {
    display: grid;
    grid-template-columns: 150px 1fr;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
}

.list-content-item__media {
    background: #0B6283;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.list-content-item__icon {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: var(--color-neutral-150);
    display: flex;
    align-items: center;
    justify-content: center;
}

.list-content-item__icon img {
    max-width: 42px;
    max-height: 42px;
    object-fit: contain;
}

.list-content-item__body {
    padding: 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.list-content-item__body h3 {
    margin-bottom: 0.4rem;
    font-size: 1.15rem;
}

.list-content-item__body p {
    margin-bottom: 0;
}

.stat-card {
    background: #0B6283;
    color: #fff;
    padding: 2rem 2.25rem;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.stat-card__number {
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 0.9;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.stat-card__label {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.stat-card__content,
.stat-card__content p {
    color: #fff;
}

.stat-card__content p:last-child {
    margin-bottom: 0;
}

.media-slider-content__carousel .carousel-control-prev,
.media-slider-content__carousel .carousel-control-next {
    width: 48px;
}

.media-slider-content__carousel .carousel-control-prev-icon,
.media-slider-content__carousel .carousel-control-next-icon {
    width: 36px;
    height: 36px;
    background-color: transparent;
    background-size: 100% 100%;
}

.media-slider-content__carousel .carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%230B6283' viewBox='0 0 16 16'%3E%3Cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3E%3C/svg%3E");
}

.media-slider-content__carousel .carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%230B6283' viewBox='0 0 16 16'%3E%3Cpath d='M4.646 1.646a.5.5 0 0 0 0 .708L10.293 8l-5.647 5.646a.5.5 0 0 0 .708.708l6-6a.5.5 0 0 0 0-.708l-6-6a.5.5 0 0 0-.708 0z'/%3E%3C/svg%3E");
}


/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */
@media (min-width: 1200px) {
    .practice-area-grid__col:not(:last-child)::after {
        content: "";
        position: absolute;
        top: 20%;
        right: 0;
        width: 1px;
        height: 60%;
        background: rgba(13, 110, 150, 0.35);
    }
}
@media (min-width: 768px) and (max-width: 1199.98px) {
    .home-hero {
        min-height: 100vh;
    }

    .home-hero__media,
    .home-hero__video-embed,
    .home-hero__video-embed iframe,
    .home-hero__overlay {
        height: 100%;
    }

    .home-hero__video-embed iframe {
        position: absolute;
        top: 50%;
        left: 50%;

        width: 220vw;
        height: 123.75vw;

        min-width: 140%;
        min-height: 140%;

        transform: translate(-50%, -50%);
    }



    .home-hero__practice-areas {
        bottom: -150px;
    }

    .practice-area-grid {
        border-radius: 14px;
    }

    .practice-area-grid__link {
        min-height: 185px;
        padding: 28px 18px;
    }

    .practice-area-grid__title {
        font-size: 1.15rem;
        margin-bottom: 16px;
    }

    .practice-area-grid__col:nth-child(3n)::after {
        display: none;
    }

    .practice-area-grid__col:not(:nth-child(3n))::after {
        content: "";
        position: absolute;
        top: 20%;
        right: 0;
        width: 1px;
        height: 60%;
        background: rgba(13, 110, 150, 0.35);
    }

    .practice-area-grid__col:nth-child(-n + 3) {
        border-bottom: 1px solid rgba(13, 110, 150, 0.18);
    }

    .home-hero__practice-areas-spacer {
        height: 160px;
    }

    .faq-accordion__button {
        font-size: 1.5rem;
        padding-right: 56px;
    }
}
@media (max-width: 991px) {
    .home-hero__heading {
        margin-bottom: 24px;
        color: #ffffff;
        text-transform: uppercase;
        font-size: 3rem;
    }
    .media-slider-content__carousel .carousel-control-prev,
    .media-slider-content__carousel .carousel-control-next {
        width: 40px;
    }

    .image-carousel-content-section .carousel-control-prev,
    .image-carousel-content-section .carousel-control-next {
        width: 44px;
        top: 35%;
        bottom: auto;
        transform: translateY(-50%);
    }

    .image-carousel-content-section .carousel-control-prev {
        left: 0.5rem;
    }

    .image-carousel-content-section .carousel-control-next {
        right: 0.5rem;
    }

    .image-carousel-content-section .carousel-control-prev-icon,
    .image-carousel-content-section .carousel-control-next-icon {
        width: 32px;
        height: 32px;
    }
    .practice-sidebar {
        position: relative !important;
        top: auto;
        margin-top: 2rem;
    }
    .blog-archive-search {
        flex-direction: column;
    }

    .blog-toolbar-actions {
        width: 100%;
    }

    .blog-archive-category-toggle,
    .blog-search-submit {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .stat-card {
        padding: 1.75rem;
    }
    .list-content-item {
        grid-template-columns: 90px 1fr;
    }

    .list-content-item__media {
        min-height: 110px;
    }

    .list-content-item__icon {
        width: 58px;
        height: 58px;
    }

    .list-content-item__body {
        padding: 1.25rem;
    }
    .full-width-slide {
        min-height: 360px;
    }

    .full-width-slide__content {
        padding: 3rem 4rem;
    }

    .full-width-slider-section .carousel-control-prev,
    .full-width-slider-section .carousel-control-next {
        width: 44px;
    }
    .gallery-viewer-grid {
        grid-template-columns: 1fr;
    }

    .gallery-viewer-item--large,
    .gallery-viewer-item--small {
        grid-row: auto;
        aspect-ratio: 16 / 10;
    }

    .dark-section-media-content.has-pattern {
        background-image: url('../images/bottom-right-pattern2.png');
        background-repeat: no-repeat;
        background-position: right bottom;
        background-size: 75%;
    }
    .testimonial-slider-section .carousel {
        padding: 0 1rem;
    }

    .testimonial-slider-section .carousel-control-prev,
    .testimonial-slider-section .carousel-control-next {
        width: 36px;
        height: 42px;
    }
    .testimonial-slider-section .carousel-control-prev {
        left: -20px;
    }

    .testimonial-slider-section .carousel-control-next {
        right: -20px;
    }
    .home-hero {
        padding-bottom: 40px;
    }

    .home-hero__content {
        padding: 120px 0 120px;
    }

    .home-hero__text {
        font-size: 1.125rem;
    }

    .home-hero__practice-areas {
        position: relative;
        bottom: auto;
        margin-top: -40px;
    }
    .practice-area-grid {
        padding: 24px 0px;
    }
    .practice-area-grid__link {
        min-height: 120px;
        padding: 16px 12px;
    }
    .home-hero__practice-areas-spacer {
        display: none;
    }
    body {
        font-size: 1.0625rem;
    }

    h4 {
        font-size: 1.25rem;
    }

    h5,
    h6 {
        letter-spacing: 0.02em;
    }

    .button,
    button,
    input[type="submit"],
    input[type="button"],
    input[type="reset"] {
        width: 100%;
        max-width: 100%;
    }



    .entry-content,
    .content-area,
    .wysiwyg {
        max-width: 100%;
    }

    .page-hero {
        min-height: 15rem;
        padding: 4rem 0;
        margin-top: -8px;
    }



    .page-hero__content {
        text-align: center;
        margin-inline: 0;
    }
    .has-pattern-bottom-left::after {
        width: 120px;
        height: 120px;
        opacity: 0.1;
    }


    .faq-section__heading {
        margin-bottom: 32px;
    }

    .faq-accordion__button {
        font-size: 1.2rem;
        line-height: 1.45;
        padding: 22px 48px 22px 0;
    }

    .faq-accordion__button::before {
        width: 14px;
        height: 14px;
        border-width: 2px;
        right: 4px;
    }

    .faq-accordion__body {
        font-size: 1rem;
        padding-bottom: 24px;
    }
}