/*
Theme Name: Glacial Theme
Author: Glacial Multimedia
Author URI: https://glacial.com
Description: Your custom created WordPress theme from Glacial Multimedia.
Version: 3.2.4
Text Domain: glacialtheme

GitHub Theme URI: https://github.com/Glacial-Web/glacial-theme
 */

:root {
    --gl-inner-pad-top: 4rem;
    --gl-inner-pad-bottom: 4rem;

    --gl-button-color: #fff;
    --gl-button-bg: #001543;
    --gl-button-color-hover: #000;
    --gl-button-bg-hover: #d29f13;
    --gl-max-width: 1650px;
}

.gl-page-intro {
    background: #002d7226;
}
.main-service-section *:last-child:not(h1, h2, h3, h4, h5, h6) {
    margin-bottom: 0;
}

.gl-intro-text p {
    font-size: 1.1rem;
}

/* Pillar Link Buttons*/

.pillar-link-grid {
    display: -ms-grid;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 1.5em;
    grid-auto-rows: 1fr;
}

.pillar-link-grid a.ui-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    margin: auto;
    width: 100%;
    height: 300px;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    border-color: rgba(255, 255, 255, 0.8);
    border-width: 2px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    top: 10px;
}

.pillar-link-grid a.ui-button span {
    width: 100%;
    padding: 10px;
    color: #000;
    background-color: rgba(255, 255, 255, 0.8);
}

/* Blog containers */

.outer-flex-wrapper {
    gap: 4rem;
}

.main-content {
    flex: 1;
}

.main-content > .main-service-section:first-child:not(.gl-page-intro) {
    padding-top: 0;
}

aside {
    background: var(--wp--preset--color--lum-cream, #fcf5e9);
    flex-basis: 25%;
    border-top: 3px solid var(--color-6, #d29f13);
    padding: 1.5rem 1.25rem;
    align-self: flex-start;
    position: sticky;
    top: 170px;
}

h2 a {
    text-decoration: none !important;
}

.related-topics-div ul {
    padding-left: 0;
}

.related-topics-div li {
    list-style: none;
}

.related-topics-div li a {
    text-decoration: none;
}

.related-pages-bottom li:first-of-type {
    margin-left: 0;
}

/* Format Content */
.entry h2, .entry h3, .entry h4, .entry p, .entry ul, .entry ol, .entry blockquote, .attachment-post-thumbnail, article h2, article h3, article h4, article p, article ul, article ol, article hr, article blockquote, .wp-block-group, .wp-block-image, .wp-block-media-text {
    /*margin-bottom: 30px;*/
}

.entry h3 {
    margin-bottom: 20px;

}

.entry h4 {
    font-style: normal;
    font-size: 1.2rem;
}

.entry .emph-div.btm-mar {
    padding-bottom: 15px;
}

.entry p, .entry li {
    line-height: 1.55;
}

.entry li {
    margin-bottom: 10px;
}

.entry hr {
    margin: 50px auto;
}

.wp-block-buttons {
    margin-bottom: 20px;
}
blockquote {
    color: var(--gl-button-bg);
    line-height: 1.5em;
    font-weight: 400;
    font-style: italic;
}

cite {
    color: #757575;
    font-weight: 400;
    font-style: normal;
}

.wp-caption-text {
    margin-top: 30px;
    font-style: italic;
    text-align: center;
}

img, .entry img {
    height: auto
}

a {
    -webkit-transition: all 100ms ease;
    -o-transition: all 100ms ease;
    transition: all 100ms ease;
}

.entry a {
    color: #031444;
    text-decoration: underline;
}

.entry a:hover {
    color: #d29f13;
}

.size-medium-large img {
    width: 100%;
    max-width: 650px;
}

/* Button Code — mirrors the Webflow .button style (css/webflow.css) so
   editor-added core buttons match the site's buttons, hover included. */
a.ui-button, a.wp-block-button__link, .entry a.moretag {
    color: var(--color-2, #001543);
    font-size: 18px;
    font-weight: 500;
    line-height: 1em;
    border: 2px solid var(--color-2, #001543);
    border-radius: 0;
    text-transform: capitalize;
    display: inline-block;
    padding: 15px 30px;
    text-align: center;
    text-decoration: none;
    background: transparent;
    transition: all .2s;
}

a.ui-button:hover, a.wp-block-button__link:hover, .entry a.moretag:hover {
    color: var(--color, #fff);
    background: var(--color-2, #001543);
    transform: scale(.9);
}

.search-submit {
    -webkit-appearance: none;
    padding: 0 15px;
    border: none;
    cursor: pointer;
    background: var(--gl-button-bg);
    color: var(--gl-button-color);
}

.search-submit:hover {
    color: var(--gl-button-color-hover);
    background: var(--gl-button-bg-hover);
}

.search-form {
    margin-bottom: 30px;
    display: -webkit-box;
    display: flex;
}

.search-field, .search-submit {
    height: 35px;
}

.search-field {
    padding-left: 5px;
    border-radius: 0;
    border: 1px solid #666;
}

.entry a.moretag {
    display: block;
    margin: 15px 0;
    padding: 0.6em;
    width: 150px;
}

/* Button Code End */
h2 a {
    text-decoration: none;
}

/* Alignment */
.alignleft {
    float: left;
    margin: 0 15px 8px 0;
}

.alignright {
    float: right;
    margin: 0 0 8px 15px;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.embed-container {
    position: relative;
    padding-bottom: 45.25%;
    height: 0;
    overflow: hidden;
    max-width: 80%;
    margin: auto;
    margin-bottom: 20px;
}

.embed-container iframe, .embed-container object, .embed-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.flex-wrapper, .flex-wrapper .wp-block-group__inner-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    justify-content: space-between;
}

.entry aside .wp-block-group__inner-container {
    display: block
}

body.page-id-1457 .main-service-section.less.blue.mob-adj {
    padding-top: 6%
}

.flex-item {
    text-align: center;
    margin-bottom: 30px;
}

#primary-sidebar h2 {
    font-size: 20px;
    font-weight: 700;
    border-bottom: 1px solid #2f7896;
    color: #2f7896;
    text-transform: uppercase;
    margin-bottom: 30px;
}

#primary-sidebar ul {
    padding-left: 0;
    margin-bottom: 30px;
}

#primary-sidebar ul li {
    list-style: none;
}

#primary-sidebar ul li a {
    text-decoration: none;
}

hr {
    border: 0;
    height: 1px;
    background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
    background-image: -webkit-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
    background-image: -o-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
}

.menu-footer-menu-container {
    width: 100%;
}

.sb-link.current-page {
    color: var(--gl-button-bg-hover);
}

#menu-footer-menu {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-left: 0;
}

#menu-footer-menu li {
    list-style: none;
}

.menu-level-1 {
    display: none
}

/* Dropdown Menus End */

.wp-block-group.has-background {
    padding: 2rem;
}

.footer-menu-link {
    padding: 1em;
}

/** Column Shadow Boxes **/
.wp-block-columns.box-columns {
    margin-bottom: 30px !important;
}

.box-columns .wp-block-column {
    border: 1.2px solid #e5e5e5;
    padding: 20px 20px 0 20px;
    height: auto;
    min-height: 280px;
    background-color: #fbfbfb;
    box-shadow: 2px 2px 6px 0 rgba(0, 0, 0, .19);
    -webkit-transition: all 400ms ease;
    -moz-transition: all 400ms ease;
    -ms-transition: all 400ms ease;
    transition: all 400ms ease;
}

.box-columns .wp-block-column:hover {
    /*box-shadow: 2px 2px 6px 0 rgba(0, 0, 0, .49);*/
}

/*** GUTTENBERG CALLOUT BOX GROUPS ***/
.box-outline {
    border: 1px solid var(--gl-button-bg);
    padding: 30px 30px 0 30px;
    margin: 0 0 30px 0;
    display: block;
}

.box-solid {
    background-color: var(--gl-button-bg);
    padding: 30px 30px 0 30px;
    margin: 0 0 30px 0;
    display: block;
    color: #fff !important;
}

.box-solid h2, .box-solid h3, .box-solid h4, .box-solid p, .box-solid a, .box-solid li, .box-solid figcaption, .box-solid blockquote, .box-solid cite {
    color: #fff !important;
}

.box-solid .ui-button, .box-solid .wp-block-button__link {
    background-color: #fff !important;
    color: var(--gl-button-bg) !important;
}

.box-solid .ui-button:hover, .box-solid .wp-block-button__link:hover {
    background: var(--gl-button-bg-hover) !important;
    color: var(--gl-button-color) !important;
}

/*** KADENCE OVERRIDES ***/

/*** BIO ROW HOVER REVERSE TO COLOR/BLACK WHITE ***/
.kt-info-animate-grayscale img, .kt-info-animate-grayscale-border-draw img {
    -webkit-filter: none !important;
    filter: none !important;
}

.kt-blocks-info-box-link-wrap:hover .kt-info-animate-grayscale img, .kt-blocks-info-box-link-wrap:hover .kt-info-animate-grayscale-border-draw img {
    -webkit-filter: grayscale(100%) !important;
    filter: grayscale(100%) !important;
}

.top-floating-button {
    display: none;
    text-decoration: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    font-size: 15px;
    border: none;
    outline: none;
    background-color: var(--gl-button-bg);
    color: white;
    padding: 10px;
    border-radius: 0;
    opacity: .7 !important;
    -webkit-transition: all 200ms ease;
    transition: all 200ms ease;
}

.top-floating-button:hover {
    background-color: var(--gl-button-bg-hover);
}

.tabs-content-2 {
    background-color: hsl(0deg 0% 90% / 73%);
}

/*** BLOG START ***/
.post-excerpt {
    margin-bottom: 30px;
    padding: 20px;
    box-shadow: 1px 1px 11px 0 rgb(68 68 70 / 17%);
}

.blog-entry-wrapper {
    display: -webkit-box;
    display: flex;
    -webkit-box-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    align-items: center;
}

.blog-entry-wrap {
    width: 65%;
}

.featured-img-post {
    width: 30%;
    display: -webkit-box;
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
}

.blog-logo {
    max-width: 270px;
    width: 100%;
}

h2.blog-title-excerpt {
    margin-top: 0;
    font-size: 28px;
    line-height: 1.3;
    margin-bottom: 5px;
}

.blog-grid .blog-grid-wrapper {
    display: -ms-grid;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    grid-gap: 3rem;
    margin: 0 auto 3rem auto;
}

.blog-grid-wrapper .grid-excerpt {
    max-width: 550px;
}

a.grid-excerpt {
    background-color: var(--gl-button-bg);
    padding: 20px;
    text-decoration: none;
    position: relative;
}

a.grid-excerpt:hover {
    background-color: var(--gl-button-bg-hover);
}

p.blog-grid-meta {
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 14px;
}

.grid-excerpt img {
    aspect-ratio: 16/9;
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

.grid-excerpt img.post-logo, .grid-excerpt .post-logo img {
    -o-object-fit: contain;
    object-fit: contain;
}

h2.blog-grid-title {
    font-size: 24px;
    line-height: 1.3;
    margin-bottom: 10px;
    margin-top: 0;
}

a.grid-excerpt * {
    color: var(--gl-button-color);
}

a.grid-excerpt:hover * {
    color: var(--gl-button-color-hover);
}

.nav-links {
    display: -webkit-box;
    display: flex;
    -webkit-box-pack: justify;
    justify-content: space-between;
}

.nav-link-buttons .nav-links {
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -webkit-box-pack: justify;
    justify-content: space-between;
    flex-wrap: wrap;
}

.nav-link-buttons .nav-links {
    -webkit-box-pack: center;
    justify-content: center;
}

.nav-link-buttons .nav-links > * {
    width: 40px;
    padding: 10px;
    margin-top: 1em;
    margin-right: 10px;
    border-radius: 0;
    text-align: center;
    font-size: 1.2em;
}

.nav-link-buttons .nav-links a {
    color: var(--gl-button-color);
    background: var(--gl-button-bg);
    text-decoration: none;
}

.nav-link-buttons .nav-links a:hover, .nav-link-buttons .nav-links .current {
    background: var(--gl-button-bg-hover);
    color: var(--gl-button-color-hover);
}

.wp-block-image.img-50 figure {
    width: 49% !important;
}

.services-single-image {
    display: grid;
    grid-template-columns: 30% 70%;
    border: 1px solid #c5c5c5;
    width: 100%;
}

.services-single-image .links {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 0;
}

.services-single-image .links a {
    margin: 0;
    display: flex;
    align-items: center;
    flex: 1;
    text-align: left;
    border-bottom: 1px solid #c5c5c5;
}

.services-single-image a svg {
    transition: 0.2s ease-in-out transform;
    margin-left: 5px
}

.services-single-image a:hover svg {
    transform: translateX(10px);
}

.services-single-image .links a:last-child {
    border-bottom: none;
}

.services-single-image img {
    width: 100%;
    object-fit: cover;
    aspect-ratio: 4 / 3;
}

/*** Search modal ***/

.search-button-modal {
    background: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #666;
    color: var(--gl-button-color);
    cursor: pointer;
    transition: 0.1s;
    background: var(--gl-button-bg);
}

.search-button-modal:hover {
    background: var(--gl-button-bg-hover);
    color: var(--gl-button-color-hover);
}

.search-button-modal svg {
    width: 15px;
    height: 15px;
}

.modal__overlay {
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal__container {
    position: relative;
    background-color: #fff;
    padding: 30px;
    width: 95%;
    max-width: 500px;
    max-height: 100vh;
    overflow-y: auto;
    box-sizing: border-box;
}

.modal__content button {
    padding: 5px 1em;
    display: block;
}

.modal__close {
    position: absolute;
    right: 10px;
    top: 10px;
    padding: 10px;
    background: transparent;
    border: 0;
}

.modal__close:before {
    content: "\2715";
}

@keyframes mmfadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes mmfadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@keyframes mmslideIn {
    from {
        transform: translateY(15%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes mmslideOut {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-10%);
    }
}

.micromodal-slide {
    display: none;
}

.micromodal-slide.is-open {
    display: block;
}

.micromodal-slide[aria-hidden="false"] .modal__overlay {
    animation: mmfadeIn .3s cubic-bezier(0.0, 0.0, 0.2, 1);
}

.micromodal-slide[aria-hidden="false"] .modal__container {
    animation: mmslideIn .3s cubic-bezier(0, 0, .2, 1);
}

.micromodal-slide[aria-hidden="true"] .modal__overlay {
    animation: mmfadeOut .3s cubic-bezier(0.0, 0.0, 0.2, 1);
}

.micromodal-slide[aria-hidden="true"] .modal__container {
    animation: mmslideOut .3s cubic-bezier(0, 0, .2, 1);
}

.micromodal-slide .modal__container,
.micromodal-slide .modal__overlay {
    will-change: transform;
}

.modal__container .search-field {
    flex: 1;
}

h1.ip-head {
    font-weight: 300;
}

.locations-archive-page {
    margin-top: 200px;
}

.screen-readers {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    word-break: normal !important;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

/* Skip Links */
.glacial-skip-link {
    position: absolute;
    top: -9999px;
    left: -9999px;
    -webkit-transition: 0s;
    transition: 0s;
    text-decoration: none;
}

.glacial-skip-link:focus {
    padding: 1em 2em !important;
    top: 20px;
    font-size: 1.2em;
    left: 20px;
    z-index: 99999;
    background: #333;
    color: #fff;
    border: 1px solid #ccc;
}

/* Full width blocks */
.alignfull {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    overflow-x: hidden;
}

.standard-inner-wrapper, .glacial-footer {
    max-width: var(--gl-max-width, 1350px);
    width: 90%;
    margin: 0 auto;
}

.standard-inner-wrapper {
    padding-top: var(--gl-inner-pad-top);
    padding-bottom: var(--gl-inner-pad-bottom);
}

/* Related Pages bottom */
.related-pages-bottom {
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    flex-wrap: wrap;
}

.related-pages-bottom h2 {
    width: 100%;
}

.entry .related-pages-bottom h3 {
    margin: 0;
}

.entry .related-pages-bottom ul {
    display: -webkit-box;
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
    height: 100%;
    -webkit-box-align: center;
    align-items: center;
}

.related-pages-bottom ul li {
    margin-right: 1em;
}

/* Inner page header — navy variant from Mockups/gsd-inner-page-headers.html
   (option 3: SVG water pattern, navy bg, gold hairlines) with option-2 titling
   (eyebrow = parent page, then H1). Markup in template-parts/header/page-title.php.
   Typography is untouched Webflow (.ip-head stays trajan-sans-pro); only
   background, pattern, and colors come from the mockup. The old
   "You Might Also Like" box is gone — related pages render in the sidebar. */
.standard-inner-head.ip-header--navy {
    background-color: #031444;
    border-top: 1px solid rgba(201, 168, 76, 0.45);
    border-bottom: 1px solid rgba(201, 168, 76, 0.45);
    overflow: hidden;
}

.ip-header--navy .ip-bg-svg {
    position: absolute;
    opacity: 0.3;
    top: 0;
    right: 0;
    width: 70%;
    height: 100%;
    pointer-events: none;
}

.ip-header--navy .ip-content {
    position: relative;
    z-index: 2;
}

.ip-header--navy .ip-head {
    color: #fff;
    margin: 0;
}

.ip-header--navy .ip-eyebrow {
    color: rgba(201, 168, 76, 0.85);
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin: 0 0 10px;
}

.ip-header--navy .ip-rule {
    width: 52px;
    height: 2px;
    background: #c9a84c;
    border: none;
    margin: 16px 0 0;
}

/* Gold water motif filling the navy header (the second .ip-bg-svg variant in
   page-title.php — full bleed and full strength, where .ip-bg-svg is a 70%,
   30%-opacity navy-on-navy wash). */
.ip-banner__pattern {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* Yoast breadcrumbs under the gold rule. */
.ip-header--navy .ip-breadcrumbs {
    color: #fff;
    font-size: 15px;
    margin-top: 16px;
}

.ip-header--navy .ip-breadcrumbs a {
    color: #fff;
    text-decoration: none;
}

.ip-header--navy .ip-breadcrumbs a:hover {
    color: #c9a84c;
    text-decoration: underline;
}

/* Specialties accordion (inner-page sidebar) —
   template-parts/pages/specialties-accordion.php. Native details/summary,
   exclusive-open via name attr; section holding the current page starts open. */
.gsd-specialties__heading {
    font-size: 1.4rem;
    color: var(--color-2, #001543);
    margin: 0 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-6, #d29f13);
}

.gsd-specialties__section {
    background: #fff;
    border: 1px solid rgba(0, 21, 67, 0.1);
    /*box-shadow: 0 1px 4px rgba(0, 21, 67, 0.06);*/
    margin: 0 0 0.6rem;
    overflow: hidden;
}

.gsd-specialties__summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1rem;
    font-weight: 600;
    color: var(--color-2, #001543);
    cursor: pointer;
    list-style: none;
    transition: background-color 0.15s, color 0.15s;
}

.gsd-specialties__summary::-webkit-details-marker {
    display: none;
}

.gsd-specialties__summary::after {
    content: "";
    flex: none;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 9px solid var(--color-6, #d29f13);
    transition: transform 0.2s;
}

.gsd-specialties__summary:hover {
    background: rgba(0, 45, 114, 0.06);
}

.gsd-specialties__section[open] > .gsd-specialties__summary {
    background: var(--color-2, #001543);
    color: #fff;
}

.gsd-specialties__section[open] > .gsd-specialties__summary::after {
    transform: rotate(180deg);
}

.gsd-specialties__list {
    margin: 0;
    padding: 0.85rem 1rem;
    list-style: none;
    max-height: 60vh;
    overflow: scroll;
}

.gsd-specialties__list li {
    margin: 0 0 0.45rem;
}

.gsd-specialties__list a,
.gsd-specialties__links a {
    color: var(--color-10, #002d72);
    text-decoration: none;
    font-size: 17px;
}

.gsd-specialties__list a:hover,
.gsd-specialties__links a:hover {
    color: #94700d;
}

.gsd-specialties__list a[aria-current="page"] {
    color: #94700d;
}

.gsd-specialties__links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.gsd-specialties__links li {
    background: #fff;
    border: 1px solid rgba(0, 21, 67, 0.1);
    margin: 0 0 0.6rem;
}

.gsd-specialties__links a {
    display: block;
    text-decoration: none;
    padding: 0.85rem 1rem;
    font-weight: 600;
    color: var(--color-2, #001543);
}

/* "Provided at These Locations" — location card grid auto-appended to service
   pages (includes/gsd/gsd-provided-locations.php). Whole card is the link. */
.gsd-provided-locations {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--color-6, #d29f13);
}

.gsd-provided-locations__heading {
    color: var(--color-2, #001543);
}

/* ZIP sort tools (js/gsd-zip-sort.js — shared with the scheduling pages).
   The whole row is optional —
   only rendered where gsd_provided_locations_zip_enabled() says so. */
.gsd-provided-locations__tools {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin: 0 0 0.75rem;
}

.gsd-provided-locations__search label {
    display: block;
    margin-bottom: 0.3rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-2, #001543);
}

.gsd-provided-locations__field {
    position: relative;
    display: inline-block;
}

.gsd-provided-locations__input {
    width: 15rem;
    max-width: 100%;
    padding: 0.6rem 2.2rem 0.6rem 0.75rem;
    border: 1px solid rgba(0, 21, 67, 0.25);
    background: #fff;
    font-size: 0.95rem;
}

.gsd-provided-locations__input:focus-visible {
    outline: 2px solid var(--color-6, #d29f13);
    outline-offset: 1px;
}

.gsd-provided-locations__clear {
    position: absolute;
    top: 50%;
    right: 0.4rem;
    transform: translateY(-50%);
    padding: 0.2rem 0.4rem;
    border: 0;
    background: none;
    color: var(--gsd-ink, #333);
    font-size: 0.9rem;
    line-height: 1;
    cursor: pointer;
}

.gsd-provided-locations__all {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-2, #001543);
}

.gsd-provided-locations__status:empty {
    display: none;
}

.gsd-provided-locations__status {
    margin: 0 0 1rem;
    font-size: 0.9rem;
    color: var(--gsd-ink, #333);
}

.gsd-provided-locations__distance {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--color-2, #001543);
}

.gsd-provided-locations__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 1.25rem;
}

.gsd-provided-locations__card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid rgba(0, 21, 67, 0.1);
    overflow: hidden;
    box-shadow: 0 1px 6px rgba(0, 21, 67, 0.07);
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.15s;
}

.gsd-provided-locations__card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 21, 67, 0.14);
}

.gsd-provided-locations__photo {
    margin: 0;
}

.gsd-provided-locations__photo img {
    display: block;
    width: 100%;
    height: 130px;
    object-fit: cover;
}

.gsd-provided-locations__body {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.9rem 1rem 1.1rem;
}

h3.gsd-provided-locations__title {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.25;
    color: var(--color-2, #001543);
}

p.gsd-provided-locations__address {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.45;
    color: var(--gsd-ink, #333);
}

.gsd-provided-locations__phone {
    margin-top: auto;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-6, #d29f13);
}

a.gsd-provided-locations__card  {
    text-decoration: none;
}

.standard-inner-wrapper > .main-service-section:first-child {
    padding-top:0;
}

@media (max-width: 1080px) {

    .wp-block-image.img-50 figure {
        width: 100% !important;
    }

    /** Center images to avoid narrow text wrap **/
    .alignleft, .alignright, .aligncenter, .wp-block-image .alignright, .wp-block-image .alignleft {
        display: block;
        float: none;
        margin: auto;
        margin-bottom: 20px;
        text-align: center;
    }

    figcaption {
        display: block !important;
    }

    .blog-entry-wrapper {
        flex-wrap: wrap;
        -webkit-box-orient: vertical;
        -webkit-box-direction: reverse;
        flex-direction: column-reverse;
    }

    .blog-entry-wrap, .featured-img-post {
        width: 100%;
    }

    .featured-img-post {
        margin-bottom: 0px;
        text-align: center;
    }

    .attachment-post-thumbnail {
        float: none;
    }

    .blog-entry-wrapper {
        -webkit-box-pack: center;
        justify-content: center;
    }

    .blog-title-excerpt, .blog-entry-wrap p {
        text-align: center;
    }

    .entry a.moretag {
        margin-left: auto;
        margin-right: auto;
    }

}

@media (max-width: 991px) {

    .top-dd-list.w--open {
        right: 0;
    }

    .search-button-modal {
        margin-top: 1em;
        margin-left: 10px;
    }

    .modal__overlay {
        align-items: flex-start;
    }

    .modal__container {
        margin-top: 100px;
    }

    .services-single-image {
        display: flex;
        flex-direction: column-reverse;
    }

    .w--open .w-icon-nav-menu:before {
        content: "\e900";
    }

    aside {
        flex-basis: auto;
        width: 100%;
        border-left: none;
        padding: 10px;
    }

    .pillar-link-grid a {
        padding: 1.5em;
    }

    /* Blog Containers */
    .main-content {
        width: 100%;
        padding-right: 0;
    }

    .embed-container {
        max-width: 100%;
        padding-bottom: 56.25%;
    }

    /* Rollover LASIK Callouts */
    .colorbox {
        display: block;
        z-index: 99999999;
        -webkit-transform: translateX(0px) translateY(0px) translateZ(0px) !important;
        transform: translateX(0px) translateY(0px) translateZ(0px) !important;
        opacity: 1 !important;
    }

    .project-name {
        -webkit-transform: translateX(0px) translateY(0px) translateZ(0px) !important;
        transform: translateX(0px) translateY(0px) translateZ(0px) !important;
    }
}

@media (max-width: 800px) {
    /** Stack Gutenberg Columns & Media Text **/
    .wp-block-columns {
        display: block
    }

    .wp-block-column {
        margin-left: 0px;
        margin-right: 0;
    }

    .wp-block-column:nth-child(2n) {
        margin-left: 0 !important;
    }

    .wp-block-media-text {
        display: -webkit-box !important;
        display: flex !important;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        flex-direction: column;
        margin-bottom: 0;
    }

    .wp-block-media-text__media img, .wp-block-media-text__media video {
        padding-bottom: 30px;
    }

    .wp-block-media-text .wp-block-media-text__content {
        padding: 0;
    }

    /* Column Shadow Boxes Mobile */
    .box-columns .wp-block-column {
        margin-left: 0;
        margin-bottom: 20px;
        width: 100%;
        flex-basis: unset;
    }

    .wp-block-columns.box-columns {
        flex-wrap: wrap;
    }

    .box-columns .wp-block-column:not(:first-child) {
        margin-left: 0;
    }

}

@media (max-width: 767px) {

    figure.alignleft, img.alignleft, figure.alignright, img.alignright {
        float: none !important;
        display: block !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .kt-sc-textcol {
        margin: 0 !important;
    }

    .kt-row-column-wrap {
        max-width: 100% !important;
    }

    .wp-block-buttons > .wp-block-button {
        width: 100%;
    }

    .blog-grid-wrapper .grid-excerpt {
        max-width: 100%;
    }

}

@media only screen
and (min-device-width: 375px)
and (max-device-width: 667px)
and (-webkit-min-device-pixel-ratio: 2)
and (orientation: landscape) {

}

@media (max-width: 479px) {

    body, :root {
        font-size: 16px;
    }
    a.ui-button, a.wp-block-button__link, .entry a.moretag {
        width: 100%;
    }

    .featured-img-post {
        float: none;
        margin: 0 0 30px 0;
        text-align: center;
    }
}

/* Provider headshot cards — cpt-acf-templates/doctor-headshot-link.php now
   emits the same .service-link tile the location pages use (styled in
   css/webflow.css). The listing templates still wrap each card in
   .cpt-doctor-image-link inside a .cpt-grid, so neutralize that wrapper and
   let the tile fill its grid cell instead of webflow's width:20%.
   :has() scopes this to the new markup — old markup elsewhere is untouched. */
.cpt-doctor-image-link:has(> a.service-link) {
    border: 0;
    box-shadow: none;
    background: none;
}

.cpt-doctor-image-link > a.service-link {
    width: 100%;
    margin: 0;
    min-height: 0;
    aspect-ratio: var(--cpt-doctor-aspect, 4 / 5);
    display: block;
}

/* Name band: keep the gradient legible and let long credentials wrap. */
.cpt-doctor-image-link .service-link-text-div {
    font-size: 1em;
    line-height: 1.25;
    text-align: center;
    flex-direction: column;
    justify-content: end;
    align-items: center;
    gap: 2px;
    color: #fff;

}

.doctor-filter-grid {
    margin-bottom: 3rem;
}

.doctor-filter-controls {
    margin-bottom: 1rem;
}

.doctor-filter-controls {
    margin-top: 0;
    padding-bottom: 1em;
}

.service-link-specialty {
    font-size: 0.78em;
    font-weight: 400;
    opacity: 0.9;
}

@media (max-width: 767px) {
    .cpt-doctor-image-link > a.service-link {
        aspect-ratio: 4 / 5;
    }
}

/* Slow zoom on the headshot when the card is hovered/focused. The photo lives
   in .service-photo-div, which webflow.css already gives overflow:hidden, so
   the scaled image is clipped to the tile. Applies to both places these cards
   appear: the location pages (glacial/location-providers) and the provider
   listings (cpt-acf-templates/doctor-headshot-link.php).
   - @media (hover: hover) keeps a tap on touch devices from leaving the image
     stuck zoomed via sticky :hover.
   - :focus-visible gets the same affordance for keyboard users.
   - prefers-reduced-motion turns the movement off entirely. */
.service-link .image-7 {
    transition: transform 1.1s ease-out;
    will-change: transform;
}

@media (hover: hover) {
    .service-link:hover .image-7 {
        transform: scale(1.08);
    }
}

.service-link:focus-visible .image-7 {
    transform: scale(1.08);
}

@media (prefers-reduced-motion: reduce) {
    .service-link .image-7 {
        transition: none;
    }

    .service-link:hover .image-7,
    .service-link:focus-visible .image-7 {
        transform: none;
    }
}

/* Footer CTA cards (Pay my bill / Schedule a Consult / Join Our Newsletter) —
   solid navy fades in on hover.

   No overlay element is needed: webflow.css already paints .footer-cta-div with
   the brand navy (--color-2, #001543) and stacks the photo on top of it at 29%
   opacity (.img-div.abs). Fading that photo out IS the navy fading in, and the
   label keeps its own stacking context (.cta-link-txt is z-index:1), so it
   stays legible the whole way through.

   Guards match the headshot zoom above: hover-capable pointers only so a tap
   doesn't leave a card stuck navy, :focus-visible for keyboards, and
   reduced-motion swaps the fade for an instant change rather than dropping the
   affordance. */
.footer-cta-div .img-div.abs {
    transition: opacity 400ms ease-in-out;
}

@media (hover: hover) {
    .footer-cta-div:hover .img-div.abs {
        opacity: 0;
    }
}

.footer-cta-div:focus-visible .img-div.abs {
    opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
    .footer-cta-div .img-div.abs {
        transition: none;
    }
}

/* CareCredit badges (/financing/) — the two vendor buttons sit side by side.

   They're a core/columns block so they stay editable in Gutenberg, but the
   images are fixed 280x100 vendor assets: left at core's default 50/50 columns
   each badge floats at the left edge of a half-width column with a large gap
   between them. Collapsing the columns to their content width and centring the
   row keeps the pair together at any viewport. Core already stacks columns
   below 782px; flex-wrap covers the narrow range above that. */
.wp-block-columns.gsd-carecredit-buttons {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.gsd-carecredit-buttons .wp-block-column {
    flex-basis: auto;
    flex-grow: 0;
}

.gsd-carecredit-buttons .wp-block-image,
.gsd-carecredit-buttons .wp-block-image figure {
    margin: 0;
}

.page-id-396 .txt-div-48.with-pad.right-align {
        align-items: flex-end;
    }

