/* Prevent Dynamik .site-inner from clipping content */
.site-inner {
    overflow: visible !important;
}

/* Ensure Toolset WPA wrappers don't constrain layout */
.wp-block-toolset-views-wpa-editor,
.wp-block-toolset-views-wpa-editor > .tb-fields-and-text {
    display: block !important;
    width: 100% !important;
    overflow: visible !important;
}

/* Hide Genesis archive title bar */
.archive-description {
    display: none;
}

/* Hide Toolset WPA loop wrapper — all content rendered by [state_page_content] shortcode */
.js-wpv-view-layout {
    display: none;
}

/* Hero section */
.hero-text {
    padding: 60px 15px 40px;
    box-shadow: 0 2px 9px 0 rgba(0, 0, 0, .07);
    background-color: #fffcfc;
    text-align: center;
    position: relative;
    z-index: 100;
}

.hero-text-container {
    max-width: 830px;
    margin: 0 auto;
    width: 100%;
}

body .hero-text h1 {
    font-family: Vollkorn, serif;
    font-size: 36px;
    font-weight: 600;
    line-height: 44px;
    margin: 0 0 21px;
}

.hero-text p {
    font-size: 18px;
    line-height: 28px;
    margin: 0;
}

/* Brand logo bar */
.logo-wrapper {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 29px auto 0;
    width: 100%;
    max-width: 1020px;
    justify-content: center;
    flex-wrap: wrap;
}

.logo-wrapper li {
    padding: 0 20px;
    width: 16.666667%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-wrapper li a img {
    width: 130px;
    max-width: 100%;
}

.logo-wrapper a {
    display: inline-block;
    transition: all .1s ease-in-out;
}

.logo-wrapper a:hover {
    opacity: .8;
}

/* Map wrapper — results left, map right */
.map-wrapper {
    width: 1440px;
    max-width: 100%;
    margin: 0 auto;
}

.map-wrapper::after {
    content: '';
    display: table;
    clear: both;
}

.map-left-section {
    width: 56%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding-top: 30px;
    padding-right: 45px;
    padding-left: 15px;
    float: left;
}

.map-right-section {
    width: 44%;
    box-sizing: border-box;
    margin-top: 0;
    min-height: 840px;
    overflow: hidden;
    float: right;
    position: relative;
    background: #e8e8e8;
}

.map-section {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

/* Search form inside results panel */
.map-inner {
    width: 626px;
    max-width: 100%;
}

.map-search-form {
    display: flex;
    width: 100%;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 30px;
    max-width: 590px;
}

.map-search-form label {
    font-family: "Public Sans", Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #294b67;
    line-height: 19px;
    margin: 0 0 8px;
    display: block;
}

.search-right-form {
    width: calc(100% - 140px);
}

.search-box {
    position: relative;
}

.search-box::after {
    content: '';
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23999' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M7.333 12.667A5.333 5.333 0 1 0 7.333 2a5.333 5.333 0 0 0 0 10.667ZM14 14l-2.9-2.9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center center;
    display: block;
    position: absolute;
    left: 17px;
    top: 16px;
    width: 16px;
    height: 16px;
    pointer-events: none;
}

.search-box input[type="search"],
.search-box input[type="text"] {
    width: 100%;
    height: 48px;
    padding-left: 44px;
    padding-right: 48px;
    border: 1px solid rgba(41, 75, 103, 0.6);
    border-radius: 5px;
    line-height: 19px;
    box-sizing: border-box;
    background: #fff;
    font-family: "Public Sans", Arial, Helvetica, sans-serif;
    font-size: 14px;
}

.search-box input[type="search"]::placeholder,
.search-box input[type="text"]::placeholder {
    color: #294b67 !important;
    opacity: .6 !important;
}

.getcurrentlocation {
    position: absolute;
    top: 0;
    right: 0;
    padding: 15px 17px;
    line-height: 1;
    cursor: pointer;
    transition: all .3s ease;
    text-decoration: none;
}

.getcurrentlocation:hover {
    opacity: .8;
}

.map-search-form input[type="submit"] {
    width: 120px;
    height: 48px;
    border: 2px solid #294b67;
    background: #294b67;
    color: #fff;
    padding: 10px 22px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 5px;
    transition: all .3s ease;
    line-height: 1;
    font-family: "Public Sans", Arial, Helvetica, sans-serif;
}

.map-search-form input[type="submit"]:hover {
    background: #e25449;
    border-color: #e25449;
}

/* Virtual Care banner */
.virtual-care-banner {
    background-color: #E7EEF0;
    color: #e5665d;
    font-size: 1.6em;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 6px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.virtual-care-banner a {
    color: #e5665d;
    text-decoration: none;
}

.virtual-care-banner a:hover {
    opacity: .8;
}

.virtual-care-banner-text {
    display: flex;
    align-items: center;
}

.virtual-care-banner-text img,
.virtual-care-banner-text svg {
    margin-right: 16px;
    flex-shrink: 0;
}

.virtual-care-banner-arrow {
    margin-left: 20px;
    display: flex;
    align-items: center;
}

.virtual-care-banner-arrow svg {
    width: 32px;
    height: 32px;
    color: #007780;
}

/* Total results bar */
.total-results {
    font-family: "Public Sans", Arial, Helvetica, sans-serif;
    font-weight: 700;
    color: rgba(41, 75, 103, .8);
    margin: 0 0 15px;
}

.total-results.active {
    display: block !important;
}

.total-results.no-result .select-box {
    display: none !important;
}

/* Distance dropdown (hidden by default, activated by locations.js) */
.map-wrapper .select-box {
    display: inline-block;
    position: relative;
    vertical-align: top;
}

.map-wrapper .select-box .dropdown-text {
    text-decoration: underline;
    font-weight: 700;
    cursor: pointer;
}

.map-wrapper .select-box .dropdown-text:hover {
    text-decoration: none;
}

.map-wrapper .select-box .dropdown-text::after {
    content: '\25BE';
    font-size: 10px;
    display: inline-block;
    margin-left: 4px;
    vertical-align: middle;
    transition: transform 0.2s;
}

.map-wrapper .select-box .dropdown-text.rotate::after {
    transform: rotate(180deg);
}

.map-wrapper .select-box ul {
    position: absolute;
    top: 100%;
    list-style: none;
    margin: 4px 0 0;
    left: 0;
    width: 130px;
    box-shadow: 0 2px 9px 0 rgba(0, 0, 0, .07);
    padding: 8px 10px;
    background: #fff;
    z-index: 1000;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.15s;
}

.map-wrapper .select-box ul.active {
    visibility: visible;
    opacity: 1;
}

.map-wrapper .select-box ul li {
    margin: 0 auto;
    list-style-type: none;
}

.map-wrapper .select-box ul li a {
    text-decoration: none;
    color: #294b67;
    font-family: 'Public Sans', Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 600;
    padding: 8px 0;
    display: block;
    line-height: 19px;
}

.map-wrapper .select-box ul li a:hover,
.map-wrapper .select-box ul li a.active-miles {
    text-decoration: underline;
}

/* Results container */
.result-post-outer {
    position: relative;
}

.result-post {
    width: calc(100% + 15px);
    max-width: none;
    max-height: 552px;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    padding-right: 26px;
    padding-left: 15px;
    margin-left: -15px;
    box-sizing: border-box;
    /* Firefox */
    scrollbar-width: thin;
    scrollbar-color: #72b7cc rgba(114, 183, 204, 0.2);
}

/* Chrome / Safari */
.result-post::-webkit-scrollbar {
    width: 5px;
}
.result-post::-webkit-scrollbar-track {
    background: rgba(114, 183, 204, 0.2);
    border-radius: 6.5px;
}
.result-post::-webkit-scrollbar-thumb {
    background: #72b7cc;
    border-radius: 6.5px;
}

.result-post-wrapper {
    position: relative;
}

.search-location-wrapper {
    counter-reset: my-sec-counter;
    max-width: 600px;
    width: 100%;
    padding-bottom: 30px;
}

/* Location card */
.search-location-box {
    padding: 20px 20px 19px;
    border-radius: 5px;
    border: solid 1px rgba(41, 75, 103, .3);
    background: #fff;
    transition: all .3s;
    display: flex;
    flex-wrap: wrap;
}

.search-location-box + .search-location-box {
    margin-top: 15px;
}

.search-location-box:hover {
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, .18);
}

.search-location-box.active-x {
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, .18);
}

.search-box-right {
    width: 25.625%;
    padding-left: 13px;
    box-sizing: border-box;
}

.search-location-wrapper .search-box-left {
    width: 74.375%;
    padding-right: 15px;
    position: relative;
    box-sizing: border-box;
}

/* Logo: fills the right column on desktop, constrained at mobile */
.company-logo {
    display: inline-block;
    width: 100%;
    transition: all .1s ease-in;
}

.company-logo:hover {
    opacity: .8;
}

.company-logo img {
    vertical-align: middle;
    max-width: 100%;
    max-height: 100%;
}

/* Distance badge */
.distance-miles {
    position: absolute;
    top: 4px;
    right: 15px;
    opacity: .8;
    font-family: "Public Sans", Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 14px;
    color: #294b67;
}

/* Card heading */
.search-location-wrapper .search-box-left h3 {
    margin: 0 30px 14px 0;
    font-family: "Public Sans", Arial, Helvetica, sans-serif;
    font-weight: 700;
    color: #294b67;
    display: flex;
}

.search-location-wrapper .search-box-left h3 a {
    color: inherit !important;
    font-size: 20px;
    line-height: 24px;
    font-weight: 700;
}

/* Number indicator circle */
.search-box-left h3 span:first-child {
    min-width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e25449;
    text-align: center;
    border-radius: 50%;
    font-family: "Public Sans", Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.08;
    color: #fff;
    margin-right: 11px;
    padding-top: 1px;
    flex-shrink: 0;
}

/* Active card: number indicator turns dark blue to match map marker */
.search-location-wrapper .search-location-box.active-x .search-box-left h3 span:first-child {
    background: #536f85 !important;
}

/* Card address */
.search-box-left address {
    font-style: normal;
    font-family: "Public Sans", Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 16px;
    margin: 0 0 14px;
    font-weight: 400;
}

/* Card phone */
.search-box-left .tel {
    margin: 0 0 15px;
    font-size: 14px;
    line-height: 16px;
}

.search-box-left .tel a {
    color: inherit !important;
    text-decoration: none !important;
}

/* Map & Directions link — hidden on desktop, shown on mobile */
.search-location-wrapper .direction {
    display: none;
    font-size: 12px;
    line-height: 14px;
    font-weight: 700;
    margin: 0 0 10px;
}

.search-location-wrapper .direction a {
    color: #007780;
    text-decoration: underline;
}

.map-section .direction {
    display: none;
}

/* Card status — patients in line + open hours inline */
.search-box-left .status {
    display: flex;
    justify-content: space-between;
    font-family: "Public Sans", Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 20px;
    margin: 0 0 15px;
    font-weight: 400;
}

.search-box-left .status .time {
    background: url(/wp-content/uploads/dynamik-gen/theme/images/clock-icon.svg) no-repeat left center;
    background-size: 18px 18px;
    padding-left: 28px;
    padding-right: 20px;
    padding-top: 1px;
    padding-bottom: 1px;
    font-weight: 400;
    white-space: nowrap;
}

.search-box-left .status .timging {
    white-space: nowrap;
}

.search-box-left .status .timging strong {
    color: #349d47;
}

.search-box-left .status .timging strong.closed-now {
    color: #e5665d;
}

.open-now,
.open-today {
    color: #349d47;
}

.closed-now {
    color: #e5665d;
    font-weight: 700;
}

/* Insurance accepted row */
.insurance-accepted-row {
    font-family: "Public Sans", Arial, Helvetica, sans-serif;
    font-size: 13px;
    line-height: 16px;
    margin: 0 0 12px;
    color: #294b67;
}

.insurance-accepted-row img {
    vertical-align: middle;
    width: 16px;
    height: 16px;
}

.insurance-list-btn {
    cursor: pointer;
    display: inline-block;
}

.insurance-list-btn:hover {
    opacity: .7;
}

.search-box-left hr {
    margin: 0;
    border: 0;
    border-top: 1px solid #72b7cc;
    opacity: .8;
}

/* Card actions — Book a Visit / Virtual Care */
.search-actions {
    padding-top: 16px;
}

.search-actions a {
    border-radius: 5px;
    background: #f90 !important;
    font-weight: 700;
    color: #fff !important;
    border: 2px solid #f90;
    padding: 2px 5px;
    display: inline-block;
    text-decoration: none !important;
    text-align: center;
    transition: all .3s linear;
    font-size: 14px;
}

.search-actions a::after {
    content: "";
    width: 116px;
    display: block;
    max-width: 100%;
}

.search-actions a:hover {
    background: #fff !important;
    color: #f90 !important;
}

.search-actions a + a {
    margin-left: 15px;
}

/* Insurance popup modal */
#insurance-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .5);
    z-index: 99999;
    justify-content: center;
    align-items: center;
}

#insurance-popup .popup-content {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .2);
}

#insurance-popup .popup-content h3 {
    margin: 0 0 15px;
    font-size: 40px;
    font-family: 'Vollkorn', serif;
    font-weight: 600;
    line-height: 55px;
    color: #294b67;
}

#insurance-popup .insurance-popup-desc {
   font-size: inherit;
    line-height: inherit;
    color: inherit;
    margin: 0 0 20px;
}

#insurance-popup .insurance-popup-desc a {
    color: #294b67;
    text-decoration: none;
}

#insurance-popup .insurance-search-label {
    display: block;
    font-weight: 700;
    color: #294b67;
    margin-bottom: 6px;
    font-size: 14px;
}

#insurance-popup .close-popup {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #294b67;
    line-height: 1;
    background: none;
    border: none;
    padding: 5px;
}

#insurance-popup .close-popup:hover {
    color: #e25449;
}

#insurance-popup .insurance-search-wrap {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

#insurance-popup #insurance-search {
    padding: 0 14px;
    height: 48px;
    font-family: 'Public Sans';
    font-size: 16px;
    line-height: 19px;
    color: #294b67;
    border-radius: 5px;
    border: solid 1px rgba(41, 75, 103, .6);
    background-color: #fff;
    display: block;
    margin-bottom: 15px;
}

#insurance-popup #insurance-search::placeholder {
    color: inherit;
    opacity: 0.6;
}

#insurance-popup #search-btn {
    background: #e5665d;
    color: #fff;
    border: none;
    padding: 14px 16px;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
    font-weight: 600;
}

#insurance-popup #search-btn:hover {
    background: #c0392b;
}

#insurance-popup .insurance-view-all {
    margin-top: 20px;
}

#insurance-popup .insurance-view-all a {
    color: inherit;
    text-decoration: underline;
    font-weight: 600;
    font-size: 15px;
}

.insurance-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 15px;
}

.insurance-grid div {
    font-weight: 700;
    color: inherit;
}

/* Loading skeleton & shimmer animation */
@keyframes placehoderAnim {
    0%   { background-position: -468px 0; }
    100% { background-position:  468px 0; }
}

/* Skeleton wrapper: hidden by default, shown when list-loading */
.result-post-wrapper .wrapper {
    opacity: 0;
    z-index: -100;
    visibility: hidden;
    margin: 0;
    padding: 30px;
    background: #fff;
    width: 100%;
    height: 100%;
    display: block;
    flex-direction: column;
    position: absolute;
    left: 0;
    top: 0;
}

.result-post-wrapper.list-loading {
    min-height: 590px;
    position: relative;
}

.result-post-wrapper.list-loading .result-post {
    overflow: hidden;
}

.result-post-wrapper.list-loading .wrapper {
    opacity: 1;
    z-index: 1;
    visibility: visible;
}

.list-loading .wrapper-cell {
    display: flex;
    margin-bottom: 34px;
    width: 100%;
}

.list-loading .animated-background,
.list-loading .image,
.list-loading .text-line {
    animation: placehoderAnim 1.25s linear infinite forwards;
    background: linear-gradient(to right, #f6f6f6 8%, #f0f0f0 18%, #f6f6f6 33%);
    background-size: 800px 104px;
    height: 96px;
    position: relative;
}

.list-loading .image {
    height: 52px;
    width: 60px;
    margin: 4px 0;
}

.list-loading .text {
    margin-left: 20px;
    width: 100%;
}

.list-loading .text-line {
    height: 10px;
    width: 100%;
    margin: 4px 0;
}

@media (min-width: 1024px) {
    .virtual-care-banner {
        max-width: 626px;
    }

    .virtual-care-banner-text {
        flex: 1;
    }

}

@media (max-width: 1023px) {
    .map-wrapper {
        display: flex;
        flex-direction: column;
        padding-top: 30px;
    }

    .map-wrapper::after {
        display: none;
    }

    .map-left-section,
    .map-inner {
        display: contents;
    }

    .map-search-form {
        order: 1;
        width: 100%;
        max-width: 100%;
        padding-left: 20px;
        padding-right: 20px;
        box-sizing: border-box;
    }

    .map-right-section {
        order: 2;
        width: 100%;
        position: relative;
        float: none;
        min-height: 298px;
        margin-top: 0;
    }

    .virtual-care-banner {
        order: 3;
        margin: 30px 20px 20px;
        box-sizing: border-box;
    }

    .total-results {
        order: 4;
        width: 100%;
        padding: 20px 20px 0;
        box-sizing: border-box;
    }

    .result-post-outer {
        order: 5;
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
        box-sizing: border-box;
    }

    .map-section {
        position: relative;
        height: 450px;
    }

    .map-section .markerLabel {
        height: 29px;
        box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .2);
        background: #fff;
        line-height: 29px;
        transform: translate(-50%, -60%);
        padding: 0 5px;
        border-radius: 5px;
        font-family: 'Public Sans', Arial;
        font-size: 10px;
        overflow: visible !important;
        font-weight: 600;
    }

    .map-section .markerLabel:before {
        position: absolute;
        top: 83%;
        left: 50%;
        content: '';
        width: 0;
        width: 10px;
        height: 10px;
        background: #fff;
        transform: rotate(45deg);
        margin-left: -5px;
        box-shadow: 2px 2px 0px 0 rgba(0, 0, 0, .2);
        border-width: 0 5px 5px;
        border-color: transparent transparent #fff;
    }

    .map-section .search-box-left h3 {
        font-size: 18px;
        font-family: "Public Sans", sans-serif;
        font-weight: 600;
        color: inherit;
    }

    .map-section .search-box-left h3 span {
        display: none;
    }

    .map-section .search-location-box {
        border: 0;
        padding: 0;
    }

    .map-section .search-box-right {
        order: 1;
        width: 100%;
    }

    .map-section .search-box-left .distance-miles {
        top: 60px;
    }

    .map-section .search-box-right .company-logo {
        width: 130px;
        height: 35px;
        margin-bottom: 14px;
    }

    .map-section .search-box-left {
        order: 2;
        width: 100%;
    }

    .result-post {
        max-height: none;
        width: 100%;
        margin: 0;
        padding: 0;
        overflow: visible !important;
        margin-left: 0;
    }

    .result-post::-webkit-scrollbar {
        display: none;
    }
    .result-post {
        scrollbar-width: none;
    }

    .nc-scrollbar-track {
        display: none;
    }

    .search-location-wrapper {
        max-width: 100%;
        padding-bottom: 0;
    }


    .logo-wrapper li {
        width: 25%;
    }
}


@media (max-width: 767px) {
    .hero-text {
        padding: 40px 20px 30px;
    }

    .hero-text h1 {
        font-size: 30px;
        line-height: 36px;
    }

    .map-search-form {
        display: block;
        max-width: 100%;
    }

    .search-right-form {
        width: 100%;
        margin-bottom: 20px;
    }

    .company-logo {
        width: 130px;
        margin-bottom: 14px;
    }

    .map-search-form input[type="submit"] {
        width: 100%;
    }

    .search-location-wrapper .search-location-box {
        padding: 15px 14px 15px 15px;
        display: flex;
        flex-direction: column;
        position: relative;
    }

    /* All card children full width on mobile */
    .search-location-wrapper .search-location-box > div {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    /* Logo row at top */
    .search-location-wrapper .search-box-right {
        order: -1;
        margin-bottom: 8px;
    }

    .search-location-wrapper .search-box-left {
        position: static;
    }

    /* Mileage: absolute top-right of card */
    .search-location-wrapper .distance-miles {
        top: 15px;
    }

    /* Hide numbered circle in h3 */
    .search-location-wrapper .search-box-left h3 span {
        display: none;
    }

    /* Mobile font sizes */
    .search-location-wrapper .search-location-box h3 {
        font-size: 18px;
        line-height: 21px;
        margin: 0 0 16px;
    }

    .search-location-wrapper .search-location-box address {
        font-size: 12px;
        line-height: 14px;
        margin: 0 0 10px;
    }

    .search-location-wrapper .search-location-box .tel {
        font-size: 12px;
        line-height: 14px;
    }

    .search-location-wrapper .search-location-box .status {
        font-size: 14px;
        line-height: 16px;
        margin-bottom: 10px;
    }

    /* Show Map & Directions link on mobile */
    .search-location-wrapper .direction {
        display: block;
    }

    /* Hide insurance row on mobile cards, keep hr visible */
    .search-location-wrapper .insurance-accepted-row {
        display: none;
    }

    .search-actions {
        padding-top: 15px;
        display: flex;
        justify-content: space-between;
        max-width: 315px;
        width: 100%;
    }

    .search-actions a {
        width: 148px;
    }

    .logo-wrapper {
        margin: 29px -17px 10px;
        width: auto;
    }
}

/* Location Results page (page 680) */
/* Remove Toolset container constraints so hero spans full viewport */
body.page-id-680 .site-inner {
    overflow: visible !important;
}

body.page-id-680 .tb-container-inner {
    max-width: none;
    width: 100%;
    padding: 0;
    overflow: visible;
}

body.page-id-680 .hero-text {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

body.page-id-680 .hero-text h1 {
    font-family: Vollkorn, serif;
    font-size: 36px;
    font-weight: 600;
    line-height: 44px;
}

body.page-id-680 .wp-block-toolset-blocks-container.tb-container,
body.page-id-8508 .wp-block-toolset-blocks-container.tb-container {
    padding: 0;
}

body.page-id-680 .wp-block-toolset-blocks-container.tb-container .tb-container-inner {
    max-width: none;
}

/* Brand page hero logo */
.brand-hero-logo img {
    max-height: 70px;
    width: auto;
}

/* ─────────────────────────────────────────────────────────
   State page
   ───────────────────────────────────────────────────────── */
.state-page-body {
    padding: 60px 25px 80px;
    background: #fff;
}
.state-page-body-inner {
    max-width: 1130px;
    margin: 0 auto;
    color: #333;
    font-size: 16px;
    line-height: 1.6;
}
.state-page-body-inner h2 {
    font-size: 32px;
    line-height: 1.25;
    color: #294b67;
    margin: 48px 0 16px;
    font-weight: 700;
}
.state-page-body-inner h2:first-child,
.state-page-body-inner h3:first-child { margin-top: 0; }
.state-page-body-inner h3 {
    font-size: 22px;
    line-height: 1.3;
    color: #294b67;
    margin: 36px 0 12px;
    font-weight: 700;
}
.state-page-body-inner p { margin: 0 0 16px; }
.state-page-body-inner ul {
    margin: 12px 0 20px;
    padding-left: 22px;
}
.state-page-body-inner li { margin-bottom: 8px; line-height: 1.55; }
.state-page-body-inner a { color: #007780; text-decoration: underline; }
.state-page-body-inner a:hover { text-decoration: none; }
.state-page-body-inner strong { color: #294b67; }
.state-page-body-inner em { font-style: italic; }
@media (max-width: 767px) {
    .state-page-body { padding: 40px 18px 60px; }
    .state-page-body-inner h2 { font-size: 26px; }
    .state-page-body-inner h3 { font-size: 19px; }
}

/* FAQ accordion (state pages — same visual language as Health Resources) */
.state-page-body .nc-faq-accordion {
    margin: 32px 0 20px;
}
.state-page-body .nc-faq-accordion > .nc-faq-item:first-of-type {
    border-top: 1px solid rgba(41, 75, 103, .2);
}
.state-page-body .nc-faq-item {
    border-bottom: 1px solid rgba(41, 75, 103, .2);
    border-left: 1px solid rgba(41, 75, 103, .2);
    border-right: 1px solid rgba(41, 75, 103, .2);
}
.state-page-body .nc-faq-heading {
    margin: 0 !important;
    padding: 0 !important;
    font-size: inherit;
    line-height: inherit;
    border: none !important;
    font-weight: 700;
    color: #294b67;
}
.state-page-body .nc-faq-question {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 14px 18px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: "Public Sans", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 22px;
    color: #294b67;
    text-decoration: underline;
    transition: background-color .15s, color .15s;
}
.state-page-body .nc-faq-question:hover {
    background-color: #e7eef0;
    color: #007780;
    text-decoration: none;
}
.state-page-body .nc-faq-icon {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    position: relative;
}
.state-page-body .nc-faq-icon::before,
.state-page-body .nc-faq-icon::after {
    content: '';
    position: absolute;
    background: #294b67;
    border-radius: 1px;
    transition: transform .25s ease;
}
.state-page-body .nc-faq-question:hover .nc-faq-icon::before,
.state-page-body .nc-faq-question:hover .nc-faq-icon::after {
    background: #007780;
}
.state-page-body .nc-faq-icon::before {
    top: 50%; left: 0; width: 100%; height: 2px;
    transform: translateY(-50%);
}
.state-page-body .nc-faq-icon::after {
    left: 50%; top: 0; width: 2px; height: 100%;
    transform: translateX(-50%);
}
.state-page-body .nc-faq-item.open .nc-faq-icon::after {
    transform: translateX(-50%) scaleY(0);
}
.state-page-body .nc-faq-label { flex: 1; }
.state-page-body .nc-faq-answer {
    font-family: "Public Sans", sans-serif;
    font-size: 16px;
    line-height: 26px;
    color: #294b67;
    padding: 18px 18px 18px 42px;
}
.state-page-body .nc-faq-answer[hidden] { display: none; }
.state-page-body .nc-faq-answer p { margin: 0 0 14px; }
.state-page-body .nc-faq-answer p:last-child { margin-bottom: 0; }

/* State page — city breakdown ("Find Your Nearest [State] Urgent Care Center") */
.state-page-body .state-city-breakdown-heading {
    margin: 0 0 18px;
}
.state-page-body .state-city-breakdown-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px;
    column-count: 2;
    column-gap: 32px;
}
.state-page-body .state-city-breakdown-list li {
    margin-bottom: 10px;
    break-inside: avoid;
    line-height: 1.5;
}
.state-page-body .state-city-breakdown-list a {
    color: #007780;
    text-decoration: underline;
    font-weight: 600;
}
.state-page-body .state-city-breakdown-list a:hover { text-decoration: none; }
@media (max-width: 767px) {
    .state-page-body .state-city-breakdown-list { column-count: 1; }
}

/* Space between state body content and the FAQs section */
.state-page-body .state-faqs-wrap {
    margin-top: 56px;
}
.state-page-body .state-faqs-wrap > h3:first-child {
    margin-top: 0;
}

.state-page-body h1,
.state-page-body h2,
.state-page-body h3,
.state-page-body h4,
.state-page-body h5,
.state-page-body h6 {
    font-family: 'Vollkorn', serif;
}

.state-page-body .state-city-breakdown {
    border-style: solid;
    border-width: 1px 0;
    border-color: #294B6721;
    padding: 40px 0;
    margin: 0 0 40px;
}
.state-page-body .state-city-breakdown .state-city-breakdown-list {
    margin-bottom: 0;
}

/* Broaden Vollkorn to all heading levels across the location archives */
body.tax-nextcare-state-locations h1,
body.tax-nextcare-state-locations h2,
body.tax-nextcare-state-locations h3,
body.tax-nextcare-state-locations h4,
body.tax-nextcare-state-locations h5,
body.tax-nextcare-state-locations h6,
body.tax-nextcare-brand-locations h1,
body.tax-nextcare-brand-locations h2,
body.tax-nextcare-brand-locations h3,
body.tax-nextcare-brand-locations h4,
body.tax-nextcare-brand-locations h5,
body.tax-nextcare-brand-locations h6,
body.tax-nextcare-city-locations h1,
body.tax-nextcare-city-locations h2,
body.tax-nextcare-city-locations h3,
body.tax-nextcare-city-locations h4,
body.tax-nextcare-city-locations h5,
body.tax-nextcare-city-locations h6 {
    font-family: 'Vollkorn', serif;
}
