:root {
    --tdp-teal: #00b09b;
    --tdp-teal-bright: #63caba;
    --tdp-teal-dark: #267065;
    --tdp-teal-soft: #e3fffc;
    --tdp-teal-tint: #edfffd;
    --tdp-orange: #ff5a34;
    --tdp-yellow: #f5c300;
    --tdp-navy: #063c4a;

    --tdp-ink: #222222;
    --tdp-dark-gray: #555555;
    --tdp-muted: #777777;
    --tdp-mid-gray: #dddddd;
    --tdp-hairline: #eeeeee;

    --tdp-head: 'brandon-grotesque', Helvetica, Arial, sans-serif;
    --tdp-radius: 10px;
    --tdp-shadow: 0 1px 2px rgba(6, 60, 74, 0.04), 0 8px 24px rgba(6, 60, 74, 0.06);
}

html.js .body-content-wrapper { visibility: visible; opacity: 1; }

.freeform-errors {
    color: #ff0f0f;
    transform: translateY(-10px);
}

.freeform-form-errors { display: none; }

.freeform-ajax-error { transform: translateY(-10px); }

.form-account-link {
    width: 200px;
    margin-left: auto;
    margin-right: auto;
}

@media screen and (max-width: 46.1875em) {
    .spwidget-button-wrapper .button { margin-bottom: 1rem !important; }
}

.hero--section.individual-profile {
    padding: 3.5em 0 4em;
}

.hero-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 32px;
    align-items: start;
}

.hero-photo {
    width: 148px;
    flex-shrink: 0;
}

.hero-photo img {
    width: 148px;
    height: 148px;
    object-fit: cover;
    border: 5px solid var(--tdp-yellow);
    border-radius: 50%;
    box-shadow: 0 6px 20px rgba(6, 60, 74, 0.14);
}

.hero--section.individual-profile h1 {
    letter-spacing: -0.015em;
    margin-bottom: 2px;
}

.hero-aside {
    text-align: right;
    min-width: 250px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: end;
    gap: 12px;
}

.hero-aside div.inline-list {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    flex-wrap: wrap;
    margin-left: 0;
    margin-bottom: 0;
}
.hero-aside div.inline-list a.button {
    margin-bottom: 0;
}

.tdp-hero-location {
    color: var(--tdp-navy);
    font-family: var(--tdp-head);
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.35;
    margin: 0 0 10px;
}

.tdp-verify {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 7px;
    max-width: 100%;
    background: #fff;
    border: 1px solid var(--tdp-teal-bright);
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 0.8rem;
    color: var(--tdp-dark-gray);
    margin: 6px 0 10px;
    box-shadow: 0 1px 3px rgba(6, 60, 74, 0.06);
}

.tdp-verify b { color: var(--tdp-teal-dark); }

.tdp-verify .tdp-verify-check {
    color: #fff;
    background: var(--tdp-teal);
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    line-height: 1;
}

.tdp-reassure {
    text-align: right;
    font-size: 13px;
    color: var(--tdp-dark-gray);
    margin: 6px 0 0;
}

@media (max-width: 860px) {
    .hero-inner { grid-template-columns: auto 1fr; }

    .hero-aside {
        grid-column: 1 / -1;
        text-align: left;
        align-items: flex-start;
        height: auto;
        margin-top: 16px;
    }

    .hero-aside div.inline-list { justify-content: flex-start; }
}

@media (max-width: 639px) {
    .hero--section.individual-profile h1,
    .hero--section.individual-profile h6 {
        text-align: left;
    }

    .hero-photo img {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

@media (max-width: 520px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero-photo { margin-bottom: 8px; }
}

.main--section.individual-profile { margin-top: 0; }

@media (max-width: 1023px) {
    .main--section.individual-profile .background {
        padding-left: 0;
    }
}

.tdp-actionbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #fff;
    border-bottom: 1px solid var(--tdp-hairline);
    box-shadow: 0 6px 18px rgba(6, 60, 74, 0.05);
    padding: 14px 16px;
}

.tdp-actionbar__inner {
    max-width: 1080px;
    margin: 0 auto;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.tdp-actionbar__inner a {
    flex: 1 1 0;
    min-width: 160px;
    text-align: center;
    padding: 13px 16px;
    margin: 0;
    border-radius: 6px;
    font-family: var(--tdp-head);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    transition: background 200ms ease, color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}

.tdp-actionbar__inner a:hover { transform: translateY(-1px); text-decoration: none; }

.tdp-actionbar a.tdp-primary {
    background: var(--tdp-teal);
    color: #fff;
}

.tdp-actionbar a.tdp-primary:hover { background: var(--tdp-teal-dark); }

.tdp-actionbar a.tdp-ghost {
    background: #fff;
    border: 1px solid var(--tdp-teal-bright);
    color: var(--tdp-teal-dark);
}

.tdp-actionbar a.tdp-ghost:hover {
    background: var(--tdp-teal-soft);
    border-color: var(--tdp-teal);
}

.tdp-actionbar svg { flex-shrink: 0; }

@media (max-width: 640px) {
    .tdp-actionbar { padding: 12px; }

    .tdp-actionbar__inner { gap: 8px; }

    .tdp-actionbar__inner a {
        font-size: 13px;
    }
}

#contact,
#location,
#video {
    scroll-margin-top: 40px;
}

@media (max-width: 640px) {
    #contact,
    #location,
    #video {
        /* scroll-margin-top: 145px; */
        scroll-margin-top: 45px;
    }
}

.tdp-section { padding: 54px 0; }
.tdp-section--alt { background: var(--tdp-teal-tint); }

.expertise--section.individual-profile.highlight {
    background: #fff;
    border-top: 1px solid var(--tdp-hairline);
}

.tdp-h2 {
    position: relative;
    display: block;
    width: fit-content;
    max-width: 100%;
    font-family: var(--tdp-head);
    font-size: 1.95rem;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.015em;
    color: var(--tdp-navy);
    border: 0;
    margin: 0 0 30px;
    padding: 0 0 16px;
}

.tdp-h2::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--tdp-teal), var(--tdp-teal-bright));
}

.tdp-h3 {
    font-family: var(--tdp-head);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--tdp-navy);
    margin: 26px 0 10px;
}

.tdp-h3:first-child { margin-top: 0; }

.tdp-twocol {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    align-items: stretch;
}

@media (max-width: 760px) {
    .tdp-twocol { grid-template-columns: 1fr; }
}

.tdp-card {
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--tdp-mid-gray);
    border-radius: var(--tdp-radius);
    padding: 24px 26px 24px 30px;
    box-shadow: var(--tdp-shadow);
    height: 100%;
}

.tdp-card::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--tdp-teal), var(--tdp-teal-bright));
}

.tdp-kv .k,
.tdp-qual .k,
.tdp-nearby .k {
    font-family: var(--tdp-head);
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--tdp-teal-dark);
    margin-bottom: 3px;
}

.tdp-kv .v,
.tdp-qual .v,
.tdp-nearby .v {
    color: var(--tdp-ink);
    font-size: 1rem;
    line-height: 1.5;
}

.tdp-kv { margin-bottom: 18px; }
.tdp-kv:last-child { margin-bottom: 0; }

.tdp-qual { padding: 14px 0; border-bottom: 1px solid var(--tdp-hairline); }
.tdp-qual:first-child { padding-top: 0; }
.tdp-qual:last-child { padding-bottom: 0; border-bottom: none; }

.tdp-hours {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.tdp-hours td {
    padding: 11px 2px;
    border-bottom: 1px solid var(--tdp-hairline);
    font-size: 0.95rem;
    background: none;
}

.tdp-hours tr:last-child td { border-bottom: 0; }

.tdp-hours td:first-child {
    font-weight: 600;
    color: var(--tdp-navy);
}

.tdp-hours td:last-child { text-align: right; }

.tdp-hours td:last-child:not(.open) {
    color: var(--tdp-muted);
    font-size: 0.88rem;
}

.tdp-hours td.open {
    color: var(--tdp-teal-dark);
    font-weight: 600;
    white-space: nowrap;
}

table tbody tr:nth-child(even) { background: none; }
table.tdp-hours tbody { border: 0; }

.tdp-access {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.tdp-access li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 20px;
    color: var(--tdp-ink);
    font-size: 0.98rem;
}

.tdp-access li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 2px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--tdp-teal-soft);
    color: var(--tdp-teal-dark);
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
}

.tdp-map {
    position: relative;
    height: 260px;
    border-radius: var(--tdp-radius);
    overflow: hidden;
    background:
        repeating-linear-gradient(0deg, #f5f5f5 0 38px, #eeeeee 38px 40px),
        repeating-linear-gradient(90deg, #f5f5f5 0 58px, #eeeeee 58px 60px);
    border: 1px solid var(--tdp-mid-gray);
    box-shadow: var(--tdp-shadow);
}

.tdp-map .pin {
    position: absolute;
    top: 42%;
    left: 46%;
    width: 26px;
    height: 26px;
    background: var(--tdp-orange);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}

.tdp-map .pin::after {
    content: "";
    position: absolute;
    top: 7px;
    left: 7px;
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
}

.tdp-map .maplink {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: #fff;
    padding: 7px 12px;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.tdp-map--embed iframe {
    display: block;
    width: 100%;
    height: 260px;
}

.tdp-gps {
    font-size: 0.85rem;
    color: var(--tdp-dark-gray);
    margin-top: 10px;
}

.tdp-gps .maplink { font-weight: 600; }

.tdp-section address {
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--tdp-ink);
}

.tdp-nearby {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.tdp-nearby > div {
    background: #fff;
    border: 1px solid var(--tdp-mid-gray);
    border-radius: var(--tdp-radius);
    padding: 18px 20px;
    box-shadow: var(--tdp-shadow);
}

@media (max-width: 760px) {
    .tdp-nearby { grid-template-columns: 1fr; }
}

.tdp-nearby-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.tdp-nearby-header .icon-location {
    color: var(--tdp-teal);
    font-size: 1rem;
}

.tdp-city-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 14px;
}

.tdp-city-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid var(--tdp-hairline);
    border-radius: var(--tdp-radius);
    padding: 14px 16px;
}

.tdp-city-card-icon {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--tdp-teal-tint);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tdp-teal-dark);
}

.tdp-city-card-icon svg {
    width: 18px;
    height: 18px;
}

.tdp-city-card-info {
    flex: 1 1 auto;
    min-width: 0;
}

.tdp-city-card-name {
    font-weight: 700;
    color: var(--tdp-ink);
    font-size: 0.98rem;
    line-height: 1.3;
}

.tdp-city-card-state {
    color: var(--tdp-muted);
    font-size: 0.85rem;
}

.tdp-city-card-zip {
    flex: 0 0 auto;
    border: 1px solid var(--tdp-mid-gray);
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 0.85rem;
    color: var(--tdp-dark-gray);
    background: #fff;
    white-space: nowrap;
}

.tdp-section .subheader {
    font-family: var(--tdp-head);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--tdp-teal-dark);
}

.tdp-section .tab-menu {
    border-bottom: 1px solid var(--tdp-mid-gray);
}

.tdp-section .tab-menu > li > a {
    font-family: var(--tdp-head);
    font-size: 1.15em;
    color: var(--tdp-navy);
}

.tdp-section .tab-menu > li.active > a,
.tdp-section .tab-menu > li > a:hover {
    border-bottom-color: var(--tdp-teal);
}

.main--section.individual-profile h2 {
    position: relative;
    width: fit-content;
    max-width: 100%;
    font-family: var(--tdp-head);
    font-size: 1.95rem;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.015em;
    color: var(--tdp-navy);
    margin: 0 0 20px;
    padding-bottom: 16px;
}

.main--section.individual-profile h2.text-center { text-align: left; }

.main--section.individual-profile h2::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--tdp-teal), var(--tdp-teal-bright));
}

.main--section.individual-profile .text-large p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--tdp-ink);
}

@media (min-width: 1024px) {

    .main--section.individual-profile #video {
        display: flex;
        align-items: stretch;
    }

    .main--section.individual-profile #video::before,
    .main--section.individual-profile #video::after { content: none; }

    .main--section.individual-profile #video > .columns { float: none; }

    .main--section.individual-profile #video .flex-video {
        position: sticky;
        top: 94px;
    }
}

.expertise--section.individual-profile { padding: 54px 0; }

.expertise--section.individual-profile h3.subheader {
    position: relative;
    width: fit-content;
    max-width: 100%;
    font-family: var(--tdp-head);
    font-size: 1.6rem;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.01em;
    text-transform: none;
    color: var(--tdp-navy);
    margin: 0 auto 24px;
    padding-bottom: 14px;
}

.expertise--section.individual-profile h3.subheader::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--tdp-teal), var(--tdp-teal-bright));
}

.expertise--section.individual-profile h6 {
    font-family: var(--tdp-head);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    color: var(--tdp-teal-dark);
    margin-bottom: 12px;
}

.expertise--section.individual-profile .labels {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 1em;
}

.expertise--section.individual-profile .labels .label,
.main--section.individual-profile .services .label {
    margin: 0;
    background: var(--tdp-navy);
    color: #fff;
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.3;
}

.main--section.individual-profile .services .inline-list > li {
    margin-bottom: 8px;
}

.expertise--section.individual-profile a.label:hover,
.main--section.individual-profile .services a:hover .label {
    background: var(--tdp-navy);
    opacity: 0.85;
}

.expertise--section.individual-profile .list { font-size: 1rem; }

.expertise--section.individual-profile .list li { margin-bottom: 0.6em; }

.expertise--section.individual-profile .list span {
    position: relative;
    padding-left: 16px;
}

.expertise--section.individual-profile .list span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--tdp-teal-bright);
}
