@font-face {
    font-family: "DM Sans";
    src: url('/wp-content/uploads/DMSans-Regular.woff2') format('woff2');
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "DM Sans";
    src: url('/wp-content/uploads/DMSans-SemiBold.woff2') format('woff2');
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: Rosario;
    src: url('/wp-content/uploads/Rosario-Light-1.woff2') format('woff2');
    font-style: normal;
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: Rosario;
    src: url('/wp-content/uploads/Rosario-Italic-1.woff2') format('woff2');
    font-style: italic;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: Alexandria;
    src: url('/assets/fonts/alexandria-700-latin.woff2') format('woff2');
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: "DM Sans";
    src: url('/wp-content/uploads/DMSans-Bold.woff2') format('woff2');
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: "DM Sans";
    src: url('/wp-content/uploads/DMSans-Light.woff2') format('woff2');
    font-style: normal;
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: "DM Sans";
    src: url('/wp-content/uploads/DMSans-Medium.woff2') format('woff2');
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: "DM Sans";
    src: url('/wp-content/uploads/DMSans-Italic.woff2') format('woff2');
    font-style: italic;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: Rosario;
    src: url('/wp-content/uploads/Rosario-Regular.woff2') format('woff2');
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

:root {
    --navy: #152345;
    --deep-navy: #0c1631;
    --gold: #b8a46b;
    --gold-light: #d4c695;
    --text: #616670;
    --pale: #f4f4f8;
    --border: #dedee5;
    --bs-body-font-family: "DM Sans",Arial,sans-serif;
    --bs-body-color: var(--text);
    --bs-link-color: var(--navy);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    background: #fff;
    font-family: "DM Sans", Arial, sans-serif;
    font-weight: 400;
}

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

a {
    color: var(--navy);
    text-underline-offset: 4px;
}

a: hover {;
    color: #7c672e;
}

button,a {
    -webkit-tap-highlight-color: transparent;
}

button {
    font: inherit;
}

button: focus-visible,a:focus-visible,summary:focus-visible {;
    outline: 3px solid #917326;
    outline-offset: 4px;
}

h1,h2,h3,h4,h5,h6 {
    font-weight: 600;
    color: #2f4373;
    line-height: 1.25;
    margin: 0 0 22px;
}

h1 {
    font-size: 44.8px;
    line-height: 1.2142857143;
    letter-spacing: -0.5px;
}

h2 {
    font-size: 36px;
}

h3 {
    font-size: 22.4px;
    font-weight: 500;
    line-height: 1.4285714286;
}

h4 {
    font-size: 20.8px;
    font-weight: 300;
    line-height: 1.5384615385;
    color: #1d1a4e;
}

strong, b {
    font-weight: 600;
}

p {
    margin: 0 0 22px;
}

ul,ol {
    margin-bottom: 26px;
}

address {
    font-style: normal;
}

.container,
.successes-container,
.home-promotions-layout,
.practice-expectations-inner {
    width: 100%;
    max-width: 1314px;
    margin-inline: auto;
    padding-inline: 24px;
}

.section {
    padding-top: 64px;
    padding-bottom: 64px;
}

.skip-link {
    position: fixed;
    left: 12px;
    top: -100px;
    padding: 12px 20px;
    background: #fff;
    z-index: 1000;
    color: #c6af7e;
}

.skip-link:focus {
    top: 12px;
}

.site-header {
    position: absolute;
    z-index: 100;
    inset: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 68px;
    padding: 8px 30px;
    border-bottom: 1px solid #ffffff55;
    background: #ffffff27;
    color: #fff;
}

.brand {
    flex: 0 0 240px;
    display: block;
    line-height: 1;
}

.brand img {
    width: 240px;
    height: auto;
}

.primary-navigation>ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.primary-navigation a {
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
    font-size: 14.4px;
    line-height: 25.6px;
    display: flex;
    align-items: center;
    min-height: 44px;
    font-weight: 300;
    letter-spacing: 0.4px;
}

.nav-label {
    display: flex;
    align-items: center;
}

.dropdown-toggle-button {
    width: 28px;
    min-height: 44px;
    border: 0;
    background: none;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.dropdown-toggle-button i {
    font-size: 10px;
    transition: transform .2s;
}

.dropdown-toggle-button[aria-expanded=true] i {
    transform: rotate(180deg);
}

.nav-dropdown {
    position: relative;
}

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1;
    list-style: none;
    margin: 0;
    padding: 10px 0;
    min-width: 280px;
    background: #fff;
    border-top: 3px solid var(--gold);
    box-shadow: 0 12px 28px #0c163133;
}

.submenu a {
    padding: 10px 18px;
    color: #13255b;
    text-transform: uppercase;
    font-size: 14.4px;
    line-height: 20px;
}

.page-practice-areas .primary-navigation a[href="/practice-areas/"],
.page-our-lawyers .primary-navigation a[href="/our-lawyers/"],
.page-career-opportunities .primary-navigation a[href="/career-opportunities/"],
.page-restraining-order-clinic .primary-navigation a[href="/restraining-order-clinic/"] {
    color: #f1f7ff;
}

.page-practice-areas__employment .submenu a[href="/practice-areas/employment/"],
.page-our-lawyers__ryan-e-stearns .submenu a[href="/our-lawyers/ryan-e-stearns/"] {
    color: #2f4373;
}

@media (max-width: 991px) {
    .page-practice-areas .primary-navigation a[href="/practice-areas/"],
    .page-our-lawyers .primary-navigation a[href="/our-lawyers/"],
    .page-career-opportunities .primary-navigation a[href="/career-opportunities/"],
    .page-restraining-order-clinic .primary-navigation a[href="/restraining-order-clinic/"] {
        color: #2f4373;
    }
}

.submenu a:hover {
    background: var(--pale);
}

.nav-dropdown.is-open>.submenu {
    display: block;
}

@media (hover: hover) and (min-width: 992px) {
    .nav-dropdown:not(.is-dismissed):hover>.submenu,
    .nav-dropdown:not(.is-dismissed):focus-within>.submenu {
        display: block;
    }
}

.primary-navigation .contact-link {
    background: var(--gold);
    padding: 0 14px;
    color: var(--navy);
}

.menu-toggle {
    display: none;
    background: transparent;
    color: white;
    border: 1px solid #ffffff80;
    border-radius: 2px;
    min-height: 44px;
    padding: 6px 13px;
    gap: 12px;
    align-items: center;
}

.page-hero {
    position: relative;
    isolation: isolate;
    min-height: 390px;
    padding: 150px 0 75px;
    color: #fff;
    display: flex;
    align-items: center;
    background: var(--navy);
    overflow: hidden;
}

.hero-background,.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -3;
}

.hero-video {
    z-index: -2;
}

.page-hero:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg,#10204ed9,#1824477a);
    z-index: -1;
}

.hero-content {
    position: relative;
    width: 100%;
    text-align: center;
}

.hero-content h1,.hero-content h2 {
    color: #fff;
}

.hero-content h1 {
    margin-bottom: 25px;
}

.hero-content h1:after {
    content: "";
    display: block;
    background: var(--gold-light);
    height: 2px;
    width: 100px;
    margin: 18px auto 0;
}

.hero-content h2 {
    font-family: Rosario,Arial,sans-serif;
    font-size: 28.8px;
    font-weight: 300;
    line-height: 1.3333333333;
}

.hero-content p {
    max-width: 920px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.6;
}

.hero-home {
    min-height: 575px;
    padding: 200px 0 85px;
}

.hero-home .hero-content {
    text-align: left;
}

.hero-home h1:after {
    margin-left: 0;
}

.hero-home p {
    margin-left: 0;
    max-width: 880px;
    color: #f1f7ff;
}

.video-pause {
    position: absolute;
    bottom: 18px;
    right: 25px;
    background: #142241cc;
    border: 1px solid #ffffff80;
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    z-index: 2;
}

.hero-our-lawyers {
    min-height: 685px;
    align-items: flex-end;
}

.hero-our-lawyers .hero-background {
    object-position: 50% 36%;
}

.hero-our-lawyers .hero-content {
    max-width: 1040px;
    background: #ffffff35;
    border: 1px solid #ffffff80;
    padding: 22px 30px;
}

.hero-our-lawyers h1:after {
    display: none;
}

.hero-our-lawyers h1 {
    font-family: Alexandria, "DM Sans", Arial, sans-serif;
    font-weight: 700;
}

.hero-our-lawyers .hero-content p {
    max-width: none;
    font-size: 17.6px;
    line-height: 1.5454545455;
}

.hero-our-story {
    min-height: 450px;
}

[class*="hero-our-lawyers-"] {
    min-height: 695px;
    padding-top: 120px;
    align-items: flex-start;
}

[class*="hero-our-lawyers-"] .hero-content {
    max-width: 1100px;
}

[class*="hero-practice-areas-"] .hero-content {
    text-align: left;
}

[class*="hero-practice-areas-"] h1:after {
    margin-left: 0;
}

[class*="hero-practice-areas-"] h2 {
    font-family: "DM Sans",sans-serif;
    font-weight: 700;
    font-size: 42px;
    max-width: 900px;
}

[class*="hero-practice-areas-"] p {
    margin-left: 0;
    max-width: 850px;
}

.section-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 35px;
}

.section-intro h2 {
    font-size: 57.6px;
    text-align: center;
    border-block: 3px double #777;
    padding: 10px 0;
    color: var(--navy);
    margin: 0;
    font-family: Telegraf, "DM Sans", sans-serif;
    font-weight: 900;
    line-height: 1.1111111111;
    letter-spacing: 1px;
}

.section-intro p {
    margin: 0;
}

@supports (background-clip: text) or (-webkit-background-clip: text) {
    .section-intro h2 {
        background: url('/wp-content/uploads/meeting-with-Stearns-and-Ryan-lawyers-tiny.webp') center / cover;
        background-clip: text;
        -webkit-background-clip: text;
        color: transparent;
    }
}

.practice-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 5px;
}

.practice-card {
    position: relative;
    min-height: 310px;
    isolation: isolate;
    color: #fff;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.practice-card>img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    transition: transform .4s;
}

.practice-card:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(#0d1b4566,#0f1d46d9);
    z-index: -1;
}

.practice-card>div {
    padding: 25px 20px;
}

.practice-card h3 {
    font-size: 22.4px;
    font-weight: 400;
    line-height: 1.4285714286;
}

.practice-card h3 a {
    color: #fff;
    text-decoration: none;
}

.practice-card h3 a:after {
    content: "";
    position: absolute;
    inset: 0;
}

.practice-card p {
    margin: 0;
    line-height: 1.6;
}

.practice-card:hover>img {
    transform: scale(1.04);
}

/* The framed "What to Expect" section on the Practice Areas overview. */
@font-face {
    font-family: Rosario;
    src: url('/wp-content/uploads/Rosario-Bold-1.woff2') format('woff2');
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

.practice-expectations {
    padding-block: 48px 64px;
    background: #001845;
    color: #fff;
}

.practice-expectations-header {
    text-align: center;
}

.practice-expectations-header h2 {
    margin: 0 0 32px;
    color: #fff;
    font-family: Rosario, sans-serif;
    font-size: 28.8px;
    font-weight: 300;
    line-height: 1.3333333333;
}

.practice-expectations-intro {
    max-width: 1300px;
    margin-inline: auto;
    padding-top: 18px;
    border-top: 2px solid #c6c7cd;
    font-size: 17.6px;
    line-height: 1.0909090909;
}

.practice-expectations-intro p {
    margin: 0;
}

.practice-expectations-intro p + p {
    margin-top: 8px;
}

.practice-expectations-frame {
    margin-top: 128px;
    padding: 12px;
    background: url('/wp-content/uploads/gold-bg.webp') center / cover;
}

.practice-expectations-grid {
    display: grid;
    grid-template-columns: minmax(0, 35fr) minmax(0, 30fr) minmax(0, 35fr);
    align-items: stretch;
    background: radial-gradient(at center, #001845a1 0%, #001845 100%);
}

.practice-expectations-copy {
    align-self: center;
    min-width: 0;
    padding: clamp(28px, 2.3vw, 46px);
    font-size: 16px;
    line-height: 1.6;
}

.practice-expectations-copy h3 {
    margin: 0 0 24px;
    padding-bottom: 30px;
    border-bottom: 2px solid #c6c7cd;
    color: #c6bb9b;
    background: url('/wp-content/uploads/Gold-effect-button-bg.webp') center / cover;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: Rosario, sans-serif;
    font-size: 28.8px;
    font-weight: 700;
    line-height: 1.3333333333;
}

.practice-expectations-copy p {
    margin: 0;
}

.practice-expectations-copy p + p {
    margin-top: 26px;
}

.practice-expectations-portrait {
    position: relative;
    min-width: 0;
    margin: -110px -4px 0;
    overflow: hidden;
}

.practice-expectations-portrait img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center top;
}

@media (max-width: 1100px) {
    .practice-expectations-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .practice-expectations-portrait {
        grid-column: 1 / -1;
        grid-row: 1;
        justify-self: center;
        width: 300px;
        height: 420px;
        margin: -80px 0 0;
    }

    .practice-expectations-copy {
        grid-row: 2;
        align-self: start;
    }
}

@media (max-width: 767px) {
    .practice-expectations {
        padding-block: 48px;
    }

    .practice-expectations-frame {
        margin-top: 84px;
        padding: 7px;
    }

    .practice-expectations-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .practice-expectations-portrait {
        width: min(100%, 280px);
        height: 360px;
        margin-top: -65px;
    }

    .practice-expectations-copy {
        grid-row: auto;
        padding: 28px 24px;
    }

    .practice-expectations-copy h3 {
        padding-bottom: 22px;
    }
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.story-section {
    background: var(--pale);
    color: #1d1a4e;
}

.story-section h2:first-child {
    font-size: clamp(36px, 4vw, 57.6px);
    text-transform: none;
    letter-spacing: 1px;
    color: #2f4373;
    font-family: Telegraf, "DM Sans", sans-serif;
    font-weight: 900;
    line-height: 1.1666666667;
}

.story-section h3 {
    color: #1d1a4e;
    font-family: Rosario, Arial, sans-serif;
    font-size: 28.8px;
    font-weight: 300;
    line-height: 1.3333333333;
}

@supports (background-clip: text) or (-webkit-background-clip: text) {
    .story-section h2:first-child {
        background: url('/wp-content/uploads/meeting-with-Stearns-and-Ryan-lawyers-tiny.webp') center / cover;
        background-clip: text;
        -webkit-background-clip: text;
        color: transparent;
    }
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 25px;
    background: var(--gold);
    color: var(--navy);
    border: 1px solid var(--gold);
    text-decoration: none;
    font-size: 16px;
    letter-spacing: .2px;
    line-height: 25.6px;
}

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

.text-link {
    font-weight: 700;
    text-decoration: none;
}

.text-link i {
    font-size: 11px;
    margin-left: 8px;
}

.office-gallery {
    min-width: 0;
}

.office-gallery .carousel-slides {
    aspect-ratio: 4/3;
    background: var(--navy);
}

.office-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding-top: 18px;
}

.carousel-controls button {
    height: 44px;
    width: 44px;
    border: 1px solid #aaa;
    background: transparent;
    color: var(--navy);
    border-radius: 50%;
}

.carousel-controls [data-position] {
    font-size: 13px;
    min-width: 44px;
}

.arrow-list {
    list-style: none;
    padding-left: 0;
}

.arrow-list li {
    position: relative;
    padding: 8px 0 8px 28px;
}

.arrow-list li:before {
    content: "\f061";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 10px;
    color: #b8a46b;
    font-size: 13px;
}

/* Homepage portrait grid follows the original four-column section. */
@font-face {
    font-family: Telegraf;
    src: url('/wp-content/uploads/PPTelegraf-UltraBold.woff') format('woff');
    font-style: normal;
    font-weight: 900;
    font-display: swap;
}

.home-lawyers-section {
    background: #fff;
    padding-block: 64px 90px;
}

.home-lawyers-title {
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
    padding: 9px 24px 10px;
    border-block: 4px double #62676a;
    font-family: Telegraf, "DM Sans", sans-serif;
    font-size: clamp(36px, 4vw, 57.6px);
    font-weight: 900;
    line-height: 1.1666666667;
    text-align: center;
    color: #252525;
    letter-spacing: 1px;
}

@supports (background-clip: text) or (-webkit-background-clip: text) {
    .home-lawyers-title {
        background-image: linear-gradient(rgb(0 0 0 / 45%), rgb(0 0 0 / 45%)), url('/wp-content/uploads/meeting-with-Stearns-and-Ryan-lawyers-tiny.webp');
        background-size: cover;
        background-position: center;
        background-clip: text;
        -webkit-background-clip: text;
        color: transparent;
        filter: grayscale(1);
    }
}

.home-lawyers-introduction {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 48px 32px 64px;
    color: #1d1a4e;
    font-size: 16px;
    line-height: 1.6;
}

.home-lawyers-introduction p {
    margin: 0;
}

.home-lawyers-introduction p:first-child {
    padding-right: 36px;
    text-align: right;
    border-right: 3px solid #8a93ad;
}

.home-lawyers-introduction p:last-child {
    padding-left: 36px;
    text-align: left;
}

.home-lawyer-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
}

.home-lawyer-card {
    position: relative;
    aspect-ratio: 0.93;
    overflow: hidden;
    background: #252525;
}

.home-lawyer-link {
    position: relative;
    display: block;
    height: 100%;
    text-decoration: none;
    color: #fff;
}

.home-lawyer-link::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgb(0 0 0 / 68%) 100%);
}

.home-lawyer-link:focus-visible {
    outline: 3px solid var(--gold-light);
    outline-offset: -5px;
}

.home-lawyer-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
    filter: grayscale(1);
}

.home-lawyer-caption {
    position: absolute;
    z-index: 1;
    left: 26px;
    right: 20px;
    bottom: 30px;
    color: #fff;
}

.home-lawyer-caption h3 {
    margin: 0 0 5px;
    color: inherit;
    font-size: 20px;
    line-height: 1.3;
}

.home-lawyer-caption p {
    margin: 0;
    font-size: 16px;
    line-height: 1.4;
}

@media (max-width: 991px) {
    .home-lawyer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-lawyers-introduction {
        margin-inline: 0;
    }
}

@media (max-width: 767px) {
    .home-lawyers-section {
        padding-block: 42px 56px;
    }

    .home-lawyers-title {
        padding-inline: 8px;
    }

    .home-lawyers-introduction {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-block: 32px 40px;
        font-size: 16px;
    }

    .home-lawyers-introduction p:first-child {
        padding: 0 0 24px;
        border-right: 0;
        border-bottom: 2px solid #8a93ad;
        text-align: left;
    }

    .home-lawyers-introduction p:last-child {
        padding-left: 0;
    }

    .home-lawyer-grid {
        gap: 20px;
    }
}

@media (max-width: 575px) {
    .home-lawyer-grid {
        grid-template-columns: 1fr;
    }
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 28px;
    text-align: left;
    margin-top: 35px;
}

.team-member {
    background: #fff;
    box-shadow: 0 5px 25px #13234815;
    overflow: hidden;
}

.team-member>a {
    display: block;
    height: 360px;
    background: #eee;
    overflow: hidden;
}

.team-member img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: 50% 15%;
    filter: grayscale(1);
    transition: filter .25s;
}

.team-member:hover img {
    filter: grayscale(0);
}

.team-member-info {
    padding: 24px;
}

.team-member h3 {
    font-size: 24px;
    margin-bottom: 7px;
}

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

.team-member-info p {
    font-size: 14px;
    margin-bottom: 15px;
    overflow-wrap: anywhere;
}

.team-member-info p a {
    text-decoration: none;
}

.team-member-info .team-role {
    font-size: 16px;
    color: #817041;
}

.testimonials-section {
    position: relative;
    isolation: isolate;
    min-height: 422px;
    margin-top: 30px;
    padding-block: 32px;
    background: rgba(16, 32, 82, .8) url('/wp-content/uploads/Testimonial-2-Stearn-Ryan-Lawyers-Background-Removed-2.webp') 100% 100% / contain no-repeat;
    color: #fff;
    text-align: center;
}

.testimonials-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(16,32,82,.8) 8%, rgba(47,67,115,.7) 82%);
    opacity: .91;
    pointer-events: none;
}

.testimonials-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
}

.testimonials-content {
    min-width: 0;
}

.testimonials-heading {
    padding-block: 6px;
    border-block: 4px double rgba(255, 255, 255, .65);
}

.testimonials-section h2 {
    margin: 0;
    color: #fff;
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 35.2px;
    font-weight: 700;
    line-height: 44.8px;
}

@supports (background-clip: text) or (-webkit-background-clip: text) {
    .testimonials-section h2 {
        background: url('/wp-content/uploads/Trusts-estates-probate-Practice-area-bg.webp') center / cover;
        background-clip: text;
        -webkit-background-clip: text;
        color: transparent;
    }
}

.testimonials-section .testimonial-carousel {
    position: relative;
    margin: 16px 0 0;
    padding-top: 52px;
}

.testimonial-quote-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 52px;
    height: 46px;
    object-fit: contain;
}

.testimonials-section .carousel-slides {
    min-height: 180px;
}

.testimonials-section .testimonial {
    padding: 0 44px;
}

.testimonials-section .testimonial blockquote {
    max-width: 802px;
    margin: 0 auto 16px;
    color: #fff;
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 16px;
    font-style: italic;
    line-height: 24px;
}

.testimonials-section .testimonial figcaption {
    color: #fff;
    font-size: 14px;
    line-height: 21px;
}

.testimonials-section .testimonial figcaption strong {
    color: #c6af7e;
    font-family: Rosario, "DM Sans", sans-serif;
    font-size: 17.6px;
    font-weight: 400;
    line-height: 25.6px;
}

.testimonials-section .carousel-controls {
    position: absolute;
    inset: 52px 0 0;
    justify-content: space-between;
    padding: 0;
    pointer-events: none;
}

.testimonials-section .carousel-controls button {
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 0;
    color: #c6af7e;
    font-size: 20px;
    pointer-events: auto;
}

.testimonials-section .carousel-controls button:hover,
.testimonials-section .carousel-controls button:focus-visible {
    color: #fff;
}

.testimonials-section .carousel-controls button:focus-visible {
    outline: 2px solid #c6af7e;
    outline-offset: -2px;
}

.testimonials-section .is-ready .carousel-slide:not([hidden]) {
    animation: testimonial-fade-in 500ms ease;
}

@keyframes testimonial-fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media (max-width: 1024px) {
    .testimonials-section {
        background-image: none;
    }

    .testimonials-layout {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 767px) {
    .testimonials-section h2 {
        font-size: 29px;
        line-height: 1.3;
    }
}

.testimonial-carousel {
    margin: 25px auto 0;
}

.testimonial {
    margin: 0;
    text-align: center;
    padding: 30px;
}

.testimonial blockquote {
    font-size: 20px;
    line-height: 1.7;
    color: #39435d;
    margin: 0 0 28px;
}

.testimonial figcaption {
    color: #767676;
    font-size: 15px;
}

.testimonial figcaption strong {
    color: var(--navy);
    display: block;
    font-size: 18px;
}

.testimonial-portrait {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
}

/* Contact/careers beside the two recognition cards on the homepage. */
@font-face {
    font-family: Telegraf;
    src: url('/wp-content/uploads/PPTelegraf-Regular.woff') format('woff');
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

.home-promotions-section {
    min-height: 604px;
    padding: 0 20px;
    background: #f3f4fa;
}

.home-promotions-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.01fr) repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 50px;
    max-width: 1266px;
    padding: 60px 0;
}

.promotion-actions {
    align-self: start;
    min-width: 0;
    padding-top: 10px;
}

.promotion-action:first-child {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #c5c7cd;
}

.promotion-action-heading {
    display: flex;
    align-items: center;
    gap: 16px;
}

.promotion-action-heading .promotion-icon {
    flex: 0 0 51px;
    width: 51px;
    height: 43px;
    margin: 0;
    object-fit: contain;
}

.home-promotions-section h3 {
    margin: 0;
    color: #2f4373;
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 22.4px;
    font-weight: 500;
    line-height: 28.8px;
}

.promotion-action + .promotion-action h3 {
    color: #1d1a4e;
}

.home-promotions-section .promotion-copy {
    margin: 16px 0 10px;
    color: #616670;
    font-size: 16px;
    line-height: 25.6px;
}

.promotion-action-footer {
    margin: 0;
}

.promotion-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 100%;
    min-height: 38px;
    padding: 6px 30px;
    border-radius: 0;
    background: #fff;
    box-shadow: 0 14px 31px rgba(0, 26, 87, .1);
    color: #2f4373;
    font-size: 16px;
    line-height: 25.6px;
    text-align: center;
    text-decoration: none;
}

.promotion-button:hover {
    background: #e8eaf2;
    color: #2d3c67;
}

.promotion-button:focus-visible {
    outline: 2px solid #2f4373;
    outline-offset: 3px;
}

.promotion-button i {
    font-size: .8em;
}

.promotion-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin: 10px;
    padding: 20px;
    background: #fff;
}

.promotion-visual {
    display: block;
    width: 100%;
    aspect-ratio: 1.45;
    overflow: hidden;
}

.promotion-magazine-photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.promotion-visual-super {
    display: grid;
    place-items: center;
    background: url('/wp-content/uploads/So-Cal-super-lawyers-stearns-and-ryan-3.webp') center / cover;
}

.promotion-super-badge {
    display: block;
    width: 66%;
    height: auto;
    max-height: 82%;
    object-fit: contain;
}

.promotion-card h4 {
    margin: 16px 0;
    color: #1d1a4e;
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 20.8px;
    font-weight: 300;
    line-height: 32px;
}

.promotion-card > .promotion-copy {
    margin-top: 0;
}

.promotion-card > .promotion-action-footer {
    margin-top: auto;
    padding-top: 20px;
}

.promotion-card .promotion-button {
    padding-inline: 20px;
    background: #f3f5fa;
    box-shadow: none;
}

.promotion-card .promotion-button:hover {
    background: #e8eaf2;
}

@media (max-width: 1100px) {
    .home-promotions-layout {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }

    .promotion-actions {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
        padding-block: 20px 0;
    }

    .promotion-action:first-child {
        margin: 0;
        padding: 0;
        border: 0;
    }
}

@media (max-width: 767px) {
    .home-promotions-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .promotion-actions {
        grid-column: auto;
        display: block;
    }

    .promotion-action:first-child {
        margin-bottom: 24px;
        padding-bottom: 24px;
        border-bottom: 1px solid #c5c7cd;
    }

    .promotion-card {
        margin-inline: 0;
    }
}

.biography-overlap {
    position: relative;
    margin-top: -405px;
    z-index: 2;
    max-width: 1100px;
}

.biography-card {
    display: grid;
    grid-template-columns: 35% 65%;
    background: #fff;
    box-shadow: 0 10px 35px #0002;
    min-height: 485px;
}

.biography-card>.content-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 10%;
}

.biography-introduction {
    padding: 35px;
}

.biography-introduction h2 {
    font-size: 17.6px;
    line-height: 1.6363636364;
    font-weight: 400;
    margin-bottom: 25px;
    color: #1d1a4e;
}

.biography-introduction>.arrow-list {
    padding: 10px 22px;
    background: var(--navy) url('/wp-content/uploads/BG-bars-Stearns-Ryan-Lawyers-04.webp') center/cover;
    border: 2px solid var(--gold);
    color: #fff;
    margin: 0;
}

.biography-introduction>.arrow-list a {
    color: #fff;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.biography-introduction .arrow-list li {
    padding-block: 10px;
    border-bottom: 1px solid #ffffff55;
}

.biography-introduction .arrow-list li:last-child {
    border: 0;
}

.biography-layout {
    display: grid;
    grid-template-columns: minmax(0,2.2fr) minmax(0,1fr);
    gap: 55px;
}

.credentials {
    padding: 24px;
    background: #fff;
    box-shadow: 0 5px 25px #15234518;
    align-self: start;
    font-size: 14.4px;
    font-weight: 300;
    line-height: 24px;
}

.credentials h3 {
    font-size: 19.2px;
    text-align: center;
    background: var(--pale);
    padding: 10px;
    margin-bottom: 15px;
    font-weight: 400;
    font-family: Archivo, Arial, sans-serif;
    color: #616670;
    line-height: 38.4px;
}

.content-image {
    display: block;
    margin: 25px 0 32px;
    width: auto;
    max-width: 100%;
    height: auto;
}

.prose h2 {
    font-size: 29px;
    margin-top: 32px;
}

.prose h3 {
    font-size: 24px;
    margin-top: 30px;
}

.prose p {
    line-height: 1.6;
}

.prose .content-image {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
}

.practice-layout {
    display: grid;
    grid-template-columns: minmax(0,2.25fr) minmax(0,1fr);
    gap: 60px;
}

.practice-content>h2:first-of-type {
    margin-top: 0;
}

.practice-content>img:first-child {
    margin-top: 0;
    max-height: 420px;
}

.practice-content>h2:first-of-type {
    font-size: 23px;
    font-weight: 400;
    line-height: 1.5;
    border-bottom: 1px solid var(--border);
    padding-bottom: 30px;
}

.practice-sidebar {
    align-self: start;
    font-size: 16px;
    line-height: 25.6px;
}

.practice-sidebar>section {
    margin-bottom: 28px;
    padding: 28px;
    border: 1px solid var(--border);
}

.sidebar-contact {
    background: var(--pale);
    text-align: center;
}

.sidebar-contact img {
    width: 145px;
    height: 145px;
    object-fit: cover;
    margin-bottom: 25px;
}

.sidebar-contact h2 {
    font-size: 25.6px;
    font-weight: 600;
    line-height: 32px;
}

.sidebar-contact p, .sidebar-careers p {
    font-size: 15.2px;
    line-height: 25.6px;
}

.sidebar-contact .button, .sidebar-careers .button {
    font-weight: 300;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.sidebar-practices .eyebrow {
    color: #2f4373;
    font-size: 22.4px;
    font-weight: 500;
    line-height: 32px;
    letter-spacing: normal;
    text-transform: none;
}

.sidebar-practices h2 {
    font-size: 38.4px;
    font-family: Telegraf, "DM Sans", sans-serif;
    font-weight: 900;
    line-height: 43.2px;
    letter-spacing: 2px;
}

.sidebar-practices h3 {
    font-size: 22.4px;
    font-weight: 400;
    line-height: 32px;
}

.sidebar-practices a {
    text-decoration: none;
    color: #1d1a4e;
}

.sidebar-careers {
    color: #fff;
    background: linear-gradient(#16254cce,#16254cee),url('/wp-content/uploads/Stearns-Ryan-Law-1761.webp') center/cover;
}

.sidebar-careers h3 {
    color: rgba(255, 255, 255, 0.29);
    font-family: Telegraf, "DM Sans", sans-serif;
    font-size: 28.8px;
    font-weight: 900;
    line-height: 38.4px;
    letter-spacing: 1px;
}

.superlawyers-badge {
    display: block;
    text-align: center;
}

.superlawyers-badge img {
    max-width: 170px;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.story-chapter {
    border-bottom: 1px solid #eee;
}

.story-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 65px;
    align-items: center;
}

.story-row h2 {
    font-size: 34px;
    margin-top: 0;
}

.story-row h3 {
    font-size: 21px;
    line-height: 1.5;
    font-weight: 400;
}

.story-row img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    margin: 0;
}

.story-chapter:nth-of-type(even) .story-copy {
    order: 2;
}

.team-intro {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 65px;
    align-items: center;
    color: #13255b;
}

.team-intro h2 {
    font-size: 22.4px;
    line-height: 1.3571428571;
    font-family: Archivo, Arial, sans-serif;
    font-weight: 700;
}

.team-intro video {
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 50%;
}

.staff-mosaic {
    display: grid;
    grid-template-columns: repeat(5,minmax(0,1fr));
    gap: 10px;
    margin: 65px 0;
}

.staff-mosaic img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin: 0;
    filter: grayscale(1);
}

.team-details>h2 {
    text-align: center;
    font-size: clamp(36px, 3.9vw, 56px);
    font-weight: 700;
    line-height: 1.1428571429;
    letter-spacing: -1px;
}

.team-details {
    color: #2f4373;
}

.team-details .split-layout h2 {
    font-size: clamp(34px, 3.34vw, 48px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -1px;
}

.team-details h3 {
    font-size: 22.4px;
    line-height: 32px;
}

.team-details .feature a {
    color: #2f4373;
    font-size: 19.2px;
    font-weight: 600;
    line-height: 27.2px;
    letter-spacing: 0.2px;
}

.page-practice-areas .hero-practice-areas + .section > h2 {
    color: #1d1a4e;
    font-family: Rosario, Arial, sans-serif;
    font-size: 28.8px;
    font-weight: 300;
    line-height: 1.3333333333;
    letter-spacing: -0.6px;
}

.page-practice-areas .prose h2 {
    color: #212121;
    font-size: clamp(32px, 3.12vw, 44.8px);
    line-height: 1.2142857143;
    letter-spacing: -0.5px;
}

.page-practice-areas .prose p {
    color: #222;
}

.hero-contact-us h2 {
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 22.4px;
    font-weight: 500;
    line-height: 1.4285714286;
}

.hero-contact-us p {
    color: #f1f7ff;
}

.office-contact .feature h2 {
    font-size: 22.4px;
    font-weight: 500;
    line-height: 32px;
}

.video-player video {
    display: block;
    width: 100%;
    max-height: 620px;
    background: var(--deep-navy);
}

.video-player {
    margin: 25px 0 35px;
}

.video-toggle {
    margin-top: 15px;
}

.video-embed {
    position: relative;
    aspect-ratio: 16/9;
    margin: 0 0 45px;
    background: #101b36;
}

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

.clinic-content,.careers-content {
    max-width: 1100px;
}

.clinic-content>h2,.careers-content>h2 {
    margin-top: 50px;
    font-size: 31px;
}

.clinic-content>.feature {
    padding: 25px;
    background: var(--pale);
    margin: 15px 0;
    border-left: 3px solid var(--gold);
}

.clinic-content>.content-image {
    max-width: 220px;
    margin-inline: auto;
}

.clinic-content .disclosures {
    margin: 25px 0 40px;
}

.disclosures details {
    border: 1px solid var(--border);
    margin-top: 9px;
}

.disclosures summary {
    cursor: pointer;
    min-height: 55px;
    padding: 15px 20px;
    color: var(--navy);
    font-weight: 700;
    background: var(--pale);
}

.disclosures details>p {
    padding: 20px;
    margin: 0;
}

.careers-content>.feature {
    padding: 30px;
    background: var(--pale);
    margin-top: 35px;
}

.careers-content>.feature img {
    max-height: 380px;
    object-fit: cover;
    width: 100%;
}

.careers-content .testimonial-carousel {
    padding: 20px;
    background: var(--pale);
    margin-bottom: 60px;
}

.office-contact {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 50px;
    align-items: center;
}

.office-contact .feature img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    margin-top: 0;
}

.office-contact .feature h3 {
    font-size: 30px;
}

.office-map iframe {
    width: 100%;
    height: 410px;
    border: 0;
    background: var(--pale);
}

.office-map>a {
    display: inline-block;
    padding-top: 12px;
}

.site-footer {
    font-size: 14.4px;
    font-weight: 300;
    line-height: 24px;
}

.footer-intro-band {
    padding: 40px 0 56px;
    background: #fff;
    text-align: center;
}

.footer-main {
    position: relative;
    isolation: isolate;
    padding-top: 120px;
    background: linear-gradient(rgba(14,27,66,.62) 5%, rgba(11,22,56,.95) 46%), #13255b url('/wp-content/uploads/Scales-of-justice-on-dark-bg-scaled-3.webp') 50% 0 / cover no-repeat;
    color: rgba(241,247,255,.82);
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 2;
}

.footer-divider {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    display: block;
    width: 100%;
    height: 66px;
    pointer-events: none;
}

.site-footer a {
    color: inherit;
    text-decoration: none;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
    color: #c6af7e;
}

.site-footer a:focus-visible {
    outline: 2px solid #c6af7e;
    outline-offset: 4px;
}

.footer-intro h2 {
    margin: 20px 0 12px;
    color: #7e879a;
    font-size: clamp(28px,3vw,38.4px);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -1px;
}

.footer-intro h2 span {
    color: #2f4373;
}

.footer-intro p {
    max-width: 866px;
    margin: 0 auto;
    color: #1d1a4e;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 400;
}

.footer-columns {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.2fr) minmax(0, .8fr) minmax(0, 1.1fr);
    align-items: start;
    gap: 48px;
    padding-bottom: 96px;
}

.footer-columns>* {
    min-width: 0;
    overflow-wrap: anywhere;
}

.footer-logo {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 24px;
}

.footer-logo img {
    display: block;
    width: 220px;
    height: auto;
}

.footer-brand p {
    margin-bottom: 24px;
    line-height: 1.7;
}

.footer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-actions .footer-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 10px 18px;
    border: 1px solid rgba(241,247,255,.4);
    border-radius: 4px;
    color: #f1f7ff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
}

.footer-actions .footer-button-call {
    border-color: #c6af7e;
    background: #c6af7e;
    color: #13255b;
}

.footer-actions .footer-button:hover,
.footer-actions .footer-button:focus-visible {
    border-color: #c6af7e;
    background: rgba(198,175,126,.12);
    color: #c6af7e;
}

.footer-actions .footer-button-call:hover,
.footer-actions .footer-button-call:focus-visible {
    background: #dfcba2;
    color: #13255b;
}

.footer-columns h3 {
    margin: 0 0 24px;
    color: #c6af7e;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.footer-columns h3::after {
    content: "";
    display: block;
    width: 32px;
    height: 2px;
    margin-top: 12px;
    background: #c6af7e;
}

.footer-office-details + .footer-office-details {
    margin-top: 24px;
}

.footer-office-details h4 {
    margin: 0 0 8px;
    color: #f1f7ff;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
}

.footer-office-details address {
    margin: 0 0 8px;
}

.footer-office-details address a,
.footer-office-details p {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 0;
}

.footer-office-details i {
    flex: 0 0 15px;
    width: 15px;
    color: #c6af7e;
    text-align: center;
}

.footer-columns ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-columns li {
    margin: 0;
}

.footer-columns nav a,
.footer-columns .unavailable-link {
    display: inline-block;
    min-height: 30px;
}

.footer-columns nav a:hover,
.footer-columns nav a:focus-visible {
    transform: translateX(3px);
}

.footer-columns .unavailable-link {
    color: rgba(241,247,255,.82);
}

.unavailable-link {
    color: #b7bbc4;
    cursor: default;
}

.footer-main>.container {
    position: relative;
    z-index: 1;
}

.footer-photo-band {
    max-width: 2000px;
    margin: clamp(-90px, -5vw, -20px) auto 0;
    pointer-events: none;
}

.footer-photo-band img {
    display: block;
    width: 100%;
    height: auto;
    opacity: .8;
    -webkit-mask-image: linear-gradient(transparent 0%, #000 30%);
    mask-image: linear-gradient(transparent 0%, #000 30%);
}

.footer-bottom {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255,255,255,.15);
    background: rgba(8,15,39,.82);
    color: #f1f7ff;
    font-size: 14px;
    line-height: 1.7;
}

.footer-bottom>.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px 32px;
    padding-block: 24px;
}

.footer-legal {
    display: inline-flex;
    flex-shrink: 0;
    gap: 12px;
}

.footer-bottom a {
    color: #c6af7e;
}

.footer-bottom a:hover,
.footer-bottom a:focus-visible {
    color: #f1f7ff;
    text-decoration: underline;
}

@media(max-width:1199px) {
    .footer-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media(max-width:1024px) {
    .footer-main {
        padding-top: 80px;
    }

    .footer-divider {
        height: 40px;
    }

}

@media(max-width:359px) {
    .footer-columns {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media(prefers-reduced-motion:reduce) {
    .footer-columns nav a:hover,
    .footer-columns nav a:focus-visible {
        transform: none;
    }
}

.anchor-target {
    display: block;
    scroll-margin-top: 90px;
}

[hidden] {
    display: none!important;
}

@media(min-width:1600px) {
    .site-header {
        padding-inline: 45px;
    }

    .primary-navigation>ul {
        gap: 28px;
    }

    .primary-navigation a {
        font-size: 14.4px;
    }

}

@media(max-width:1199px) {
    .site-header {
        padding-inline: 20px;
        gap: 10px;
    }

    .brand {
        flex-basis: 200px;
    }

    .brand img {
        width: 200px;
    }

    .primary-navigation>ul {
        gap: 10px;
    }

    .primary-navigation a {
        font-size: 11px;
    }

    .dropdown-toggle-button {
        width: 23px;
    }

    .practice-grid {
        grid-template-columns: repeat(3,minmax(0,1fr));
    }

    .practice-layout {
        gap: 35px;
    }

    .biography-introduction {
        padding: 25px;
    }

    .team-member>a {
        height: 310px;
    }

}

@media(max-width:991px) {
    .site-header {
        min-height: 75px;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .primary-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        max-height: calc(100dvh - 75px);
        overflow: auto;
        box-shadow: 0 15px 25px #0003;
    }

    .primary-navigation.is-open {
        display: block;
    }

    .primary-navigation>ul {
        display: block;
        padding: 15px 22px;
    }

    .primary-navigation a {
        color: #13255b;
        font-size: 14.4px;
        padding: 10px 12px;
        min-height: 48px;
    }

    .nav-label>a {
        flex: 1;
    }

    .dropdown-toggle-button {
        color: var(--navy);
        width: 48px;
        height: 48px;
    }

    .submenu {
        position: static;
        box-shadow: none;
        min-width: 0;
        border-top: 0;
        border-left: 2px solid var(--gold);
        margin: 0 10px 10px;
    }

    .primary-navigation .contact-link {
        display: inline-flex;
        padding: 12px 22px;
        margin-top: 5px;
    }

    .practice-layout {
        grid-template-columns: minmax(0,1fr) 280px;
    }

    .team-grid {
        gap: 18px;
    }

    .team-member-info {
        padding: 20px;
    }

    .team-member>a {
        height: 260px;
    }

    .team-member h3 {
        font-size: 21px;
    }

    .biography-layout {
        gap: 30px;
    }

    .story-row {
        column-gap: 30px;
    }

    .team-intro {
        gap: 30px;
    }

}

@media(max-width:767px) {
    body {
        font-size: 16px;
    }

    .container,
    .successes-container,
    .practice-expectations-inner {
        padding-inline: 22px;
    }

    .section {
        padding-block: 42px;
    }

    h1 {
        font-size: 34px;
    }

    h2 {
        font-size: 29px;
    }

    h3 {
        font-size: 24px;
    }

    .page-hero {
        min-height: 350px;
        padding: 130px 0 55px;
    }

    .hero-content h1 {
        font-size: 34px;
    }

    .hero-content h2 {
        font-size: 25px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .hero-home {
        min-height: 620px;
        padding-top: 150px;
    }

    .hero-home h1 {
        font-size: 35px;
    }

    .hero-home h2 {
        font-size: 28px;
    }

    .hero-home .hero-background,.hero-video {
        object-position: 55% 50%;
    }

    .hero-home .hero-content {
        text-align: left;
    }

    .section-intro,.split-layout,.practice-layout,.biography-layout,.team-intro,.office-contact {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .section-intro h2 {
        font-size: 39px;
    }

    .practice-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .practice-card {
        min-height: 300px;
    }

    .practice-card>div {
        padding: 22px 16px;
    }

    .practice-card h3 {
        font-size: 22px;
    }

    .practice-card p {
        font-size: 14px;
    }

    .team-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 16px;
    }

    .team-member>a {
        height: 280px;
    }

    .team-member-info {
        padding: 16px;
    }

    .team-member h3 {
        font-size: 22px;
    }

    .team-member-info p {
        font-size: 13px;
    }

    .testimonial {
        padding: 15px 5px;
    }

    .testimonial blockquote {
        font-size: 18px;
    }

    .testimonials-section>h2 {
        font-size: 29px;
    }

    .hero-our-lawyers {
        min-height: 530px;
        padding-bottom: 30px;
    }

    .hero-our-lawyers .hero-content {
        margin-inline: 20px;
        width: calc(100% - 40px);
        padding: 22px;
    }

    .hero-our-lawyers .hero-background {
        object-position: 50% 25%;
    }

    .hero-our-lawyers p {
        font-size: 15px;
    }

    .team-intro .video-player {
        max-width: 300px;
        margin-inline: auto;
    }

    .staff-mosaic {
        grid-template-columns: repeat(3,minmax(0,1fr));
        gap: 6px;
    }

    .staff-mosaic img {
        height: 160px;
    }

    .biography-overlap {
        margin-top: -70px;
    }

    .biography-card {
        grid-template-columns: 1fr;
    }

    .biography-card>.content-image {
        height: auto;
        max-height: 560px;
        object-fit: cover;
        margin: 0;
    }

    .biography-introduction {
        padding: 28px 22px;
    }

    [class*="hero-our-lawyers-"] {
        min-height: 330px;
        padding-top: 130px;
    }

    [class*="hero-practice-areas-"] h2 {
        font-size: 33px;
    }

    .credentials {
        padding: 24px;
    }

    .practice-sidebar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .practice-sidebar>section {
        padding: 20px;
        margin: 0;
    }

    .superlawyers-badge {
        align-self: center;
    }

    .story-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .story-row h2,.story-row p,.story-row img,.story-chapter:nth-of-type(even) .story-row img,.story-chapter:nth-of-type(even) .story-row h2,.story-chapter:nth-of-type(even) .story-row p {
        grid-column: auto;
        grid-row: auto;
    }

    .story-row img {
        margin-top: 20px;
        max-height: 380px;
    }

    .story-row h2 {
        font-size: 29px;
    }

    .footer-intro-band {
        padding: 28px 0 44px;
    }

    .footer-intro h2 {
        margin-top: 12px;
    }

    .footer-intro br {
        display: none;
    }

    .footer-main {
        padding-top: 56px;
    }

    .footer-divider {
        height: 24px;
    }

    .footer-columns {
        gap: 32px 24px;
        padding-bottom: 32px;
    }

    .footer-brand,
    .footer-offices {
        grid-column: 1 / -1;
    }

    .footer-actions {
        flex-direction: column;
    }

    .footer-columns nav a,
    .footer-columns .unavailable-link {
        min-height: 44px;
        padding-block: 7px;
    }


    .footer-bottom>.container {
        flex-direction: column;
        align-items: flex-start;
    }

    .office-map iframe {
        height: 330px;
    }

    .careers-content>h2,.clinic-content>h2 {
        font-size: 28px;
    }

    .site-header .brand {
        flex-basis: 210px;
    }

    .site-header .brand img {
        width: 210px;
    }

}

@media(max-width:420px) {
    .practice-grid,.team-grid,.practice-sidebar {
        grid-template-columns: 1fr;
    }

    .practice-card {
        min-height: 285px;
    }

    .practice-card p {
        font-size: 16px;
    }

    .team-member>a {
        height: 430px;
    }

    .team-member-info {
        padding: 23px;
    }

    .team-member-info p {
        font-size: 15px;
    }

    .staff-mosaic img {
        height: 135px;
    }

    .hero-home {
        min-height: 680px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .site-header {
        padding-inline: 16px;
    }

    .site-header .brand {
        flex-basis: 190px;
    }

    .site-header .brand img {
        width: 190px;
    }

    .menu-toggle {
        font-size: 14px;
        padding-inline: 10px;
    }

.biography-introduction h2 {
        font-size: 18px;
    }

}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto;
    }

    *,*:before,*:after {
        animation: none!important;
        transition: none!important;
    }

    .hero-video {
        display: none;
    }

}

/* Public widget content is retained as an editable static snapshot. */
.static-reviews {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(min(100%,260px),1fr));
    gap: 24px;
    margin: 30px 0;
}

.static-review {
    background: #f4f4f8;
    border: 1px solid #e2e2e8;
    padding: 28px;
    margin: 0;
    color: #555;
}

.static-review>img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 18px;
}

.review-stars {
    color: #b69841;
    display: flex;
    gap: 4px;
    font-size: 15px;
    margin-bottom: 20px;
}

.static-review blockquote {
    font-size: 19.2px;
    line-height: 25.6px;
    margin-bottom: 22px;
    font-weight: 400;
}

.static-review figcaption {
    font-size: 16px;
    line-height: 25.6px;
}

.static-review figcaption strong {
    font-weight: 700;
    text-transform: capitalize;
}

.static-review figcaption a {
    font-size: 12px;
    color: #595959;
}

.practice-grid>.static-reviews {
    display: block;
    margin: 0;
}

.practice-grid .static-review {
    height: 100%;
    border: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.practice-grid .static-review>img {
    margin-bottom: 15px;
}

.biography-card>.content-image {
    margin: 0;
}

.hero-content .hero-eyebrow {
    font-size: 16px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 22px;
    font-weight: 300;
    line-height: 25.6px;
}

[class*="hero-practice-areas-"] h1 {
    font-size: 44.8px;
    letter-spacing: -0.5px;
    text-transform: none;
    max-width: 900px;
}

.practice-content img[src*="Headshot"] {
    width: 260px;
    max-height: none;
    object-fit: contain;
    margin: 25px auto 32px;
}

.lawyer-portrait-strip {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 15px;
    margin: 30px 0 50px;
}

.lawyer-portrait-strip .content-image {
    margin: 0;
    width: 100%;
    height: 260px;
    object-fit: cover;
    object-position: top;
}

@media (max-width: 767px) {
    .lawyer-portrait-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.story-row .story-copy {
    grid-column: auto;
}

@media(max-width:767px) {
    [class*="hero-practice-areas-"] h1 {
        font-size: 33px;
    }

    .story-chapter:nth-of-type(even) .story-copy {
        order: 0;
    }

    .story-row .story-copy h2,.story-row .story-copy p {
        grid-column: auto;
    }

}

/* Accomplishments: original award backdrop, category photos, and gold figures. */
.successes-section {
    --success-gold: #bfaf81;
    padding-block: 56px 96px;
    color: #fff;
    background: linear-gradient(110deg, rgb(35 53 103 / 83%), rgb(69 72 111 / 70%)), url('/wp-content/uploads/Awards-image.webp') center / cover;
}

.successes-section h2 {
    margin: 0 0 80px;
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(32px, 3.12vw, 44.8px);
    line-height: 1.2142857143;
    text-align: center;
    text-shadow: 0 4px 8px rgb(0 0 0 / 18%);
    font-weight: 600;
    letter-spacing: -0.5px;
}

.success-tabs > [role='tablist'] {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0 0 18px;
}

.success-tabs [role='tab'] {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 46px;
    border: 0;
    border-radius: 0;
    padding: 10px 18px;
    color: #1d1a4e;
    background: #fff;
    font-family: Telegraf, "DM Sans", sans-serif;
    font-size: 19.2px;
    font-weight: 500;
    line-height: 25.6px;
    overflow-wrap: anywhere;
}

.success-tabs [role='tab'][aria-selected='true'] {
    color: #fff;
    background: #c6af7e;
}

.success-tabs [role='tab']:focus-visible,
.success-tabs [role='tabpanel']:focus-visible {
    outline: 3px solid #fff;
    outline-offset: -5px;
}

.success-panel {
    display: grid;
    grid-template-columns: minmax(0, 24fr) minmax(0, 24fr) minmax(0, 52fr);
    min-height: 560px;
    background: rgb(15 19 42 / 68%);
}

.success-category {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    overflow: hidden;
    text-align: center;
}

.success-category img {
    position: absolute;
    z-index: -2;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1);
}

.success-category::after {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 0;
    background: rgb(8 13 28 / 36%);
}

.success-category h3 {
    margin: 0;
    color: #fff;
    font-size: 32px;
    line-height: 1.4;
    font-family: Telegraf, "DM Sans", sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
}

.success-figures {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    gap: 32px;
    padding: 32px 24px;
}

.success-figures .result p {
    margin: 0;
    color: #f2f5fd;
    font-size: 16px;
    line-height: 25.6px;
}

.success-figures .result .result-amount {
    margin-bottom: 8px;
    color: #c6af7e;
    font-size: clamp(36px, 3.12vw, 44.8px);
    font-weight: 600;
    line-height: 1.2142857143;
    text-align: center;
    letter-spacing: -0.5px;
    font-variant-numeric: tabular-nums;
}

#success-panel-2 .result-amount {
    font-size: clamp(36px, 2.89vw, 41.6px);
    line-height: 1.3076923077;
}

#success-panel-2 .result > p:not(.result-amount) {
    color: #f3f4fa;
}

.success-highlights {
    align-self: stretch;
    margin: 28px 28px 28px 0;
    padding: 10px 28px;
    border: 1px solid rgb(255 255 255 / 44%);
    border-radius: 38px;
    background: rgb(231 230 244 / 17%);
    list-style: none;
}

.success-highlights li {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 20px 0;
    border-bottom: 3px solid rgb(255 255 255 / 58%);
    font-size: 16px;
    line-height: 25.6px;
}

.success-highlights li:last-child {
    border-bottom: 0;
}

.success-highlights i {
    flex: 0 0 auto;
    margin-top: 7px;
    color: var(--success-gold);
    font-size: 26px;
}

@media (max-width: 1100px) {
    .success-tabs [role='tab'] {
        flex-basis: calc((100% - 12px) / 2);
    }

    .success-panel {
        grid-template-columns: 1fr 1.5fr;
        min-height: 0;
    }

    .success-category {
        min-height: 360px;
    }

    .success-figures {
        gap: 30px;
    }

    .success-highlights {
        grid-column: 1 / -1;
        margin: 0 28px 28px;
        padding-inline: 28px;
    }
}

@media (max-width: 767px) {
    .successes-section {
        padding-block: 42px 48px;
    }

    .successes-section h2 {
        margin-bottom: 36px;
        font-size: 30px;
    }

    .success-tabs > [role='tablist'] {
        margin-bottom: 12px;
    }

    .success-panel {
        grid-template-columns: minmax(0, 1fr);
    }

    .success-category {
        min-height: 250px;
    }

    .success-category h3 {
        font-size: 32px;
    }

    .success-figures {
        padding: 30px 24px;
    }

    .success-figures .result .result-amount {
        font-size: 40px;
    }

    .success-highlights {
        grid-column: auto;
        margin: 0 20px 24px;
        padding: 0 20px;
        border-radius: 24px;
    }

    .success-highlights li {
        gap: 12px;
        padding-block: 22px;
        border-bottom-width: 2px;
    }

    .success-highlights i {
        margin-top: 5px;
        font-size: 20px;
    }
}

@media (max-width: 575px) {
    .success-tabs [role='tab'] {
        flex-basis: 100%;
    }
}

@media (min-width: 1025px) {
    .hero-practice-areas-employment {
        background-image: url('/wp-content/uploads/Employment-papers-Stearns-Ryan-Lawyers.webp');
    }

    .hero-practice-areas-family-law {
        background-image: url('/wp-content/uploads/Family-law-Lawyer-consulting-with-clients-Stearns-and-Ryan.webp');
    }

    .hero-practice-areas-trusts-estates-probate {
        background-image: url('/wp-content/uploads/Client-Attorney-Conversation.webp');
    }

    .hero-practice-areas-corporate-business-disputes-and-transactions {
        background-image: url('/wp-content/uploads/Business-law-experts-Stearns-Ryan-Lawyers.webp');
    }

    .hero-practice-areas-civil-litigation-and-personal-injury {
        background-image: url('/wp-content/uploads/Legal-services-Stearns-Ryan-Lawyers.webp');
    }

    .hero-practice-areas-real-estate {
        background-image: url('/wp-content/uploads/real-estate-lawyer-agent-presenting.webp');
    }

    .hero-practice-areas-construction-defect {
        background-image: url('/wp-content/uploads/Construction-defect-BG-Stearns-Ryan-Lawyers.webp');
    }

    .successes-section,
    [class*="hero-practice-areas-"] {
        background-attachment: fixed;
        background-size: cover;
        background-position: top center;
        background-repeat: no-repeat;
    }

    [class*="hero-practice-areas-"] .hero-background {
        display: none;
    }

    .footer-main {
        background-attachment: scroll, fixed;
    }
}

/* Server-rendered lawyer details, enhanced with native modal dialogs. */
html.has-lawyer-dialog {
    overflow: hidden;
}

.lawyer-dialog:not([open]) {
    display: none;
}

.lawyer-dialog {
    position: fixed;
    inset: 0;
    width: calc(100% - 64px);
    max-width: 1400px;
    max-height: calc(100dvh - 64px);
    margin: auto;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 28px;
    background: #fff;
    color: #242424;
    box-shadow: 0 16px 70px rgb(0 0 0 / 20%);
}

.lawyer-dialog::backdrop {
    background: rgb(0 0 0 / 50%);
}

.lawyer-dialog-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    height: min(660px, calc(100dvh - 64px));
}

.lawyer-dialog-portrait {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: center 22%;
    filter: grayscale(1);
}

.lawyer-dialog-content {
    min-height: 0;
    padding: 44px 40px;
    overflow-y: auto;
}

.lawyer-dialog-close {
    position: absolute;
    z-index: 2;
    top: 18px;
    right: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 48px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #34436d;
    color: #fff;
    font-size: 27px;
}

.lawyer-dialog-close:focus-visible {
    outline: 3px solid #3774dd;
    outline-offset: 3px;
}

.lawyer-dialog h2 {
    padding-right: 70px;
    margin: 0 0 8px;
    color: #242424;
    font-size: 24px;
}

.lawyer-dialog-role {
    margin: 0;
    font-size: 20px;
}

.lawyer-dialog-contact {
    display: grid;
    justify-items: start;
    gap: 4px;
    margin-block: 30px;
    font-size: 20px;
}

.lawyer-dialog-contact a {
    color: #4b5e8c;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.lawyer-dialog-summary {
    margin-bottom: 32px;
    font-size: 22px;
    line-height: 1.6;
}

.lawyer-dialog-actions {
    display: grid;
    justify-items: start;
    gap: 28px;
    font-size: 21px;
}

.lawyer-dialog-actions a {
    color: #b8a46b;
    text-decoration: none;
}

.lawyer-dialog-actions a:hover {
    color: #7c672e;
    text-decoration: underline;
}

@media (max-width: 767px) {
    .lawyer-dialog {
        width: calc(100% - 32px);
        max-height: calc(100dvh - 32px);
        border-radius: 18px;
    }

    .lawyer-dialog-layout {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: minmax(160px, 28vh) minmax(0, 1fr);
        height: min(860px, calc(100dvh - 32px));
    }

    .lawyer-dialog-content {
        padding: 24px;
    }

    .lawyer-dialog h2 {
        padding-right: 0;
        font-size: 22px;
    }

    .lawyer-dialog-role {
        font-size: 17px;
    }

    .lawyer-dialog-contact {
        margin-block: 20px;
        font-size: 16px;
    }

    .lawyer-dialog-summary {
        margin-bottom: 24px;
        font-size: 18px;
    }

    .lawyer-dialog-actions {
        gap: 22px;
        font-size: 18px;
    }

    .lawyer-dialog-close {
        top: 14px;
        right: 14px;
        width: 60px;
        height: 44px;
        font-size: 24px;
    }
}

body {
    overflow-x: clip;
}

.js [data-animate]:not(.is-animated) {
    opacity: 0;
}

.js [data-animate].is-animated {
    animation-duration: 1.25s;
    animation-delay: var(--animate-delay, 0ms);
    animation-timing-function: ease;
    animation-fill-mode: both;
}

.js [data-animate="fade-in"].is-animated {
    animation-name: entrance-fade-in;
}

.js [data-animate="fade-in-up"].is-animated {
    animation-name: entrance-fade-in-up;
}

.js [data-animate="fade-in-left"].is-animated {
    animation-name: entrance-fade-in-left;
}

.js [data-animate="fade-in-right"].is-animated {
    animation-name: entrance-fade-in-right;
}

@keyframes entrance-fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes entrance-fade-in-up {
    from {
        opacity: 0;
        transform: translate3d(0, 100%, 0);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes entrance-fade-in-left {
    from {
        opacity: 0;
        transform: translate3d(-100%, 0, 0);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes entrance-fade-in-right {
    from {
        opacity: 0;
        transform: translate3d(100%, 0, 0);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .js [data-animate]:not(.is-animated),
    .js [data-animate].is-animated {
        opacity: 1;
        animation: none;
    }
}
