/* 
Theme Name:		 THG Master Theme (Child)
Theme URI:		 https://www.tidalhealthgroup.com
Description:	 THG Master Theme (Child) is a child theme of THG Master Theme
Author:			 Tidal Health Group
Author URI:		 https://www.tidalhealthgroup.com
Template:		 thg-master-theme
Version:		 1.0.0
Text Domain:	 thg-master-theme-child
*/


/*
    Add your custom styles here
*/



* {
    font-family: "Montserrat", sans-serif;
}

.font-tangerine {
    font-family: "Tangerine", cursive;
    font-weight: 400;
    font-style: normal;
}

.font-tangerine-bold {
    font-family: "Tangerine", cursive;
    font-weight: 700;
    font-style: normal;
}

:root {
    --lmh-primary-success: #C4D600;
    --lmh-primary-info: #00426A;
    --lmh-primary-white: #FFFFFF;

    /* background colors */
    --lmh-bg-dark: #000000BF;
    --lmh-bg-info: #00426A;
    --lmh-bg-success: #C4D600;
    --lmh-bg-gray: #E4E5E4;
    --lmh-bg-dark-gray: #707372;

    /* lmh-link colors */
    --lmh-link-success: #C4D600;
    --lmh-link-info: #00426A;

    /* --lmh-text-muted: #4B5563; */
    --lmh-text-muted: #707372;

}

.thg-theme .bg-lmh-bg-gray {
    background-color: var(--lmh-bg-gray);
}

.thg-theme .bg-lmh-bg-dark-gray {
    background-color: var(--lmh-bg-dark-gray);
}

.thg-theme .lmh-bg-dark-gray {
    color: var(--lmh-bg-dark-gray);
}

.thg-theme .lmh-bg-dark-gray a {
    color: var(--lmh-bg-dark-gray);
}

.thg-theme .lmh-bg-success {
    background-color: var(--lmh-bg-success);
}

.thg-theme .lmh-bg-dark {
    background-color: var(--lmh-bg-dark);
}

.thg-theme .lmh-bg-info {
    background-color: var(--lmh-bg-info);
}

.thg-theme .lmh-bg-gray {
    background-color: var(--lmh-bg-gray);
}

.thg-theme .lmh-primary-success {
    color: var(--lmh-primary-success);
}

.thg-theme .lmh-primary-info {
    color: var(--lmh-primary-info) !important;
}

.thg-theme .lmh-primary-white {
    color: var(--lmh-primary-white);
}

.thg-theme .lmh-link-success a {
    color: var(--lmh-link-success);
}

.thg-theme .lmh-link-info a {
    color: var(--lmh-link-info);
}

.thg-theme .lmh-primary-info {
    color: var(--lmh-bg-info);
}


h1,
h2,
h3 {
    color: var(--lmh-primary-info);
}

.thg-theme .fs-48 {
    font-size: 48px !important;
    font-weight: 900;
}

.thg-theme h1,
.thg-theme h1 a {
    font-size: 48px;
    font-weight: 900;
    letter-spacing: 1px;
    line-height: 1em;
}

.thg-theme .text-dark a {
    color: #000000 !important;
}

.thg-theme h2,
.thg-theme h2 a {
    font-size: 36px;
    font-weight: 900;
    letter-spacing: 1px;
}

.thg-theme .letter-spacing-0-6 {
    letter-spacing: 0.6px;
}

.thg-theme h3,
.thg-theme h3 a {
    font-size: 30px;
}

.thg-theme h4,
.thg-theme h4 a {
    font-size: 18px;
    color: var(--lmh-primary-info);
}

.thg-theme main p,
.thg-theme main li,
.thg-theme main ul li,
.thg-theme main ol li {
    font-size: 18px;
    color: var(--lmh-text-muted);
}

.thg-theme main li,
.thg-theme main ul li,
.thg-theme main ol li {
    margin: 0 0 0.7em;
    line-height: 1.4285em;
}

.thg-theme a {
    font-size: 18px;
    /* color: var(--lmh-primary-info); */
}

.thg-theme figure {
    margin: unset;
}

div#hero-section {
    background-image: url(https://lmhorg.kinsta.cloud/wp-content/uploads/2025/12/5d4b01bff4604377b6ee9ed4f0a8d73a1bcbfda9-scaled.jpg);
    width: 100%;
    height: 85lvh;
    aspect-ratio: 16 / 9;
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
}

.post-details {
    padding: 15px 25px;
    margin-bottom: 20px;
}

.thg-theme p,
.thg-theme li,
.thg-theme ul li,
.thg-theme ol li {
    font-size: 18px;
    color: var(--lmh-text-muted);
    line-height: 1.4285em;
}

.thg-global-posts {
    height: 100%;
}

.fw-500 {
    font-weight: 500;
}

.post_content {
    background: #fff;
    height: 100%;
}

.practices-in {
    font-size: 16px;
    font-weight: 500;
    color: #4B5563;
}

.btn-lmh-success a {
    background-color: var(--lmh-primary-success);
    border-radius: 0;
    color: var(--lmh-primary-info);
    font-weight: 600;
}

div#btn-home-group {
    position: absolute;
    margin-top: -27px;
    left: 50%;
    transform: translateX(-50%);
    background: #0000;
}

.thg-theme h5 {
    font-size: 20px;

}

/* .btn-group-lmh {
    padding: 15px 20px;
    text-align: center;
}
.btn-group-lmh a, .btn-group-lmh p {
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--lmh-bg-info);
} */

.btn-group-lmh {
    padding: 15px 20px;
    text-align: center;
    background-image: linear-gradient(white, white);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 0% 100%;
    transition: background-size 0.3s ease-in-out;
    cursor: pointer
}

.description-department.global-description p {
    font-size: 16px;
}

.event-location i {
    color: var(--lmh-primary-info);
    font-size: 17px;
}

.icon-field {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: var(--lmh-primary-info);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin-bottom: 15px;
}

.icon-field img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.btn-group-lmh:hover {
    background-size: 100% 100%;
}

.description-department.global-description {
    margin-bottom: 30px;
}

.thg-theme .btn-group-lmh a,
.thg-theme .btn-group-lmh p {
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--lmh-bg-info);
    text-decoration: none;
}

.btn-lmh-transparent-success a {
    background: linear-gradient(to right, var(--lmh-bg-success) 50%, transparent 50%);
    background-size: 200% 100%;
    background-position: right bottom;
    border-radius: 0;
    border: 2px solid var(--lmh-primary-success);
    transition: all 0.3s ease-in-out;
}

.btn-lmh-transparent-success a:hover {
    background-position: left bottom;
    color: var(--lmh-primary-info);
}

.wp-block-button__link {
    font-weight: 600;
}

.thg-theme a.btn.btn-departments,
.transparent-btn a,
.thg-theme a.btn.btn-register {
    background: transparent;
    border-radius: 0;
    border: 2px solid var(--lmh-primary-info);
    text-transform: capitalize;
    color: var(--lmh-primary-info);
    position: relative;
    overflow: hidden;
    z-index: 1;
    font-weight: 600;
    transition: all 0.3s ease-in-out;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.same-day-appointment .doubled-buttons {
    gap: 85px;
}

.thg-theme .btn {
    line-height: 1.4em !important;
}

.thg-theme a.btn.btn-departments::before,
.transparent-btn a::before,
a.btn.btn-register::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--lmh-primary-success);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease-in-out;
}

.thg-theme a.btn.btn-departments:hover::before,
.transparent-btn a:hover::before,
a.btn.btn-register:hover::before {
    transform: scaleX(1);
}

.thg-theme a.btn.btn-departments:hover,
.transparent-btn a:hover,
a.btn.btn-register:hover {
    border: 2px solid var(--lmh-primary-info);
}

.patient-portal-top {
    border: 1px solid #fff;
}

ul#menu-top-header {
    justify-content: end;
}

span.search-trigger i {
    color: #fff;
    font-size: 20px;
}

.thg-theme-menu .sub-menu {
    background-color: #000000bf;
}

.page-id-21 .header-block {
    position: absolute;
    width: 100%;
    z-index: 99;
}
.desktop-menu ul.sub-menu li:hover{
    background-color: #000;
}
ul.social-icons {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 15px;
}

ul.social-icons i {
    color: #fff;
    font-size: 21px;
}

.thg-theme .header-block .has-background {
    padding: 20px 0;
}

ul#menu-top-header a {
    color: #fff;
    font-weight: 500;
}

ul#menu-main-menu a {
    color: #fff;
}

div#bottom-footer {
    border-top: 1px solid #fff;
    padding: 0;
}

.wp-container-core-group-is-layout-ad2f72ca {
    justify-content: space-between;
}

.thg-global-item {
    height: 100%;
}

.thg-theme .thg-global-item h3,
.thg-theme .thg-global-item h2,
.thg-theme .thg-global-item h3 a,
.thg-theme .thg-global-item h2 a,
h3.provider-title a,
h3.provider-title {
    font-size: 24px;
    color: var(--lmh-primary-info);

}

h3.service-title {
    font-weight: 900;
    letter-spacing: 0.8px;
}

.thg-global-content {
    background: #fff;
    padding-top: 35px;
    padding-bottom: 25px;
    padding-right: 30px;
    padding-left: 30px;
    height: 100%;
    min-height: 340px;
}

.custom-button {
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease-in-out;
    text-decoration: none;
    cursor: pointer;
}

.custom-button::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--lmh-bg-info);
    z-index: -2;
}

.custom-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--lmh-text-muted);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease-in-out;
}

.custom-button:hover::before {
    transform: scaleX(1);
}

.custom-button:hover {
    color: #fff;
}

.custom-button p,
.custom-button a {
    color: #fff;
}

strong {
    color: #000;
}

.locations-list {
    max-height: 560px;
    overflow-y: auto;
}

.locations-list::-webkit-scrollbar {
    width: 10px;
}

.icon-text {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
}

.icon-text p {
    margin: 0;
}

.has-arrow a::after {
    font-family: 'Font Awesome 7 Pro';
    font-weight: 900;
    content: '\f061';
    margin-left: 8px;
}

img.wp-image-1804.size-full {
    object-fit: cover;
    height: 555px;
    object-position: left;
}

.locations-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.location-item h2 {
    padding-right: 80px;
    letter-spacing: 0.3px;
}

.locations-list::-webkit-scrollbar-thumb {
    background: #aaacab;
    border-radius: 4px;
}

.locations-list {
    padding-right: 15px;
}

.locations-list::-webkit-scrollbar-thumb:hover {
    background: #aaacab;
}

.location-item {
    padding-top: 1.8rem;
    padding-bottom: 1.8rem;
}

.location-item:first-child {
    padding-top: 0;
}

.family-first-step .wp-block-media-text__media {
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.family-first-step .wp-block-media-text__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Firefox */
.locations-list {
    scrollbar-width: auto;
    scrollbar-color: #aaacab #f1f1f1;
}

.icon-field i {
    color: #fff;
    font-size: 36px;
}

h3.headline-custom_map {
    display: none;
}

.lmh-bg-light-info {
    background-color: #C5DEF3;
}

hr.hr-lmh-success {
    opacity: 1;
    height: 2px;
    color: var(--lmh-primary-success);
}

.location-item {
    border-bottom: 3px solid #C4D600;
    position: relative
}

.location-item h2 {
    font-size: 25px;
    font-weight: 900;
    padding-right: 80px;
}

/* .thg-theme a.btn-lmh-directions, .thg-theme a.btn.btn-posts {
    border: 3px solid var(--lmh-primary-info) !important;
    border-radius: 0;
    text-transform: capitalize;
    font-size: 16px;
    color: var(--lmh-primary-info);
    font-weight: 700;
    padding: 4px 12px !important;
} */

.thg-theme a.btn-lmh-directions,
.thg-theme a.btn.btn-posts,
a.btn.btn-procedures.btn-thg-global {
    border: 2px solid var(--lmh-primary-info) !important;
    border-radius: 0;
    text-transform: capitalize;
    font-size: 16px;
    color: var(--lmh-primary-info);
    font-weight: 600;
    padding: 4px 12px !important;
    transition: all 0.3s ease-in-out;
    display: inline-flex;
    align-items: center;
}

a.btn.btn-procedures.btn-thg-global {
    gap: 3px;
}

.thg-theme a.btn-lmh-directions::after,
.thg-theme a.btn.btn-posts::after {
    font-family: "Font Awesome 7 Pro";
    font-weight: 900;
    content: "\f061";
    display: inline-block;
    max-width: 0;
    overflow: hidden;
    opacity: 0;

    margin-left: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease-in-out;
}

/* 
a.btn.btn-procedures.btn-thg-global::after{
    font-family: "Font Awesome 7 Pro";
    font-weight: 900;
    content: "\f061";
    display: inline-block;
    overflow: hidden;
    margin-left: 4px;
    transition: all 0.3s ease-in-out;
} */

.thg-theme a.btn-lmh-directions:hover::after,
.thg-theme a.btn.btn-posts:hover::after {
    opacity: 1;
    max-width: 20px;
    margin-left: 10px;
    transform: translateX(0);
}

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

.border-2 {
    border: 2px solid transparent;
}

.border-2:hover {
    border: 2px solid #4B5563;
}

.description-procedure.global-description p {
    font-size: 16px;
    color: var(--lmh-text-muted);
}

.read-more-link-2 {
    text-decoration: none;
}

.thg-theme .read-more-link-2:hover {
    color: var(--lmh-primary-success) !important;
}

.thg-theme .read-more-link-2:hover .fa-arrow-right {
    color: var(--lmh-primary-success) !important;
    transform: translateX(4px);
    transition: transform 0.3s ease;
}

.thg-theme .read-more-link-2 .fa-arrow-right {
    transition: transform 0.3s ease;
}

.thg-theme a.btn-lmh-details {
    background-color: var(--lmh-primary-info);
    color: #fff;
    font-weight: 600;
    border-radius: 0;
    text-transform: capitalize;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease-in-out;
    display: inline-flex;
    text-decoration: none;
    align-items: center;
    justify-content: center;
}

.description-procedure.global-description {
    margin-bottom: 40px;
}

.thg-theme a.btn-lmh-details::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--lmh-text-muted);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease-in-out;
}

.thg-theme a.btn-lmh-details:hover::before {
    transform: scaleX(1);
}

.thg-theme a.btn-lmh-details:hover {
    color: #fff;
}

.action-buttons {
    gap: 15px;
    display: flex;
}

.address,
.phone a {
    color: var(--lmh-text-muted);
    font-size: 16px;
}

.phone,
.address {
    margin-bottom: 6px;
}

.address i,
.phone i {
    color: var(--lmh-primary-info);
}

.distance {
    background: var(--lmh-primary-info);
    color: #fff;
    position: absolute;
    right: 0;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 12px;
}

.transparent-btn a {
    padding: 10.6px 21.2px
}

.first-div {
    background: #707372;
    padding: 35px 35px 25px 35px;
}

.thg-theme .fs-18,
.thg-theme .fs-18 a {
    font-size: 18px;
}

.thg-theme .fs-28,
.thg-theme .fs-28 a {
    font-size: 28px;
}
.thg-theme .fs-12,
.thg-theme .fs-12 a {
    font-size: 12px;
}

.proc-location-item {
    border-bottom: 2px solid #C4D600;
    padding-bottom: 15px;
}

.thg-theme .board-members-section {
    margin-bottom: 45px;
}

.board-members-section figure {
    margin-bottom: 20px;
}

.lmh-agendas {
    border: 1px solid #00426A;
    padding: 25px 15px;
}

.board-memebers {
    background-color: #ededed57;
}

a.btn-info-gutenberg,
.btn-info-gutenberg a {
    background-color: var(--lmh-primary-info);
    color: #fff;
    position: relative;
    overflow: hidden;
    border-radius: 0 !important;
    z-index: 1;
    transition: all 0.3s ease-in-out;
    display: inline-block;
    text-decoration: none;
}

.second-div {
    background: #00426A;
    padding: 40px 40px 30px 40px;
    margin-top: 40px;
}

.first-div a.btn.btn-departments {
    background: #fff;
}

.thg-theme .fs-14 {
    font-size: 14px !important;
}

.thg-theme .fw-700 {
    font-weight: 700 !important;
}

.btn-info-gutenberg a::before,
a.btn-info-gutenberg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--lmh-text-muted);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease-in-out;
}

.btn-info-gutenberg a:hover::before,
a.btn-info-gutenberg:hover::before {
    transform: scaleX(1);
}

.btn-info-gutenberg a:hover,
a.btn-info-gutenberg:hover {
    color: #fff;
}

.event-card-header {
    display: flex;
    gap: 25px;
    align-items: center;
}

.event-date-badge {
    background: var(--lmh-primary-info);
    color: #fff;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 5px;
}

.provider-card {
    display: flex;
    flex-direction: column;
}

span.month,
span.day {
    font-weight: 600;
    font-size: 18px;
}

.thg-theme .event-time,
.thg-theme .event-location a,
.thg-theme .event-location {
    font-weight: 400;
    color: var(--lmh-text-muted);
    font-size: 16px;
}

.event-card h3 a {
    color: var(--lmh-primary-info);
}

h3.event-date-header {
    border-bottom: 2px solid #C4D600;
    padding-bottom: 20px;
    margin-bottom: 30px;
    font-weight: 600;
    font-size: 25px;
}

.event-card-body {
    padding: 15px 0;
}

.event-card {
    background: #fff;
    padding: 30px;
    border: 1px solid #707372;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    margin-bottom: 30px;
}

.event-card-content {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.event-actions-wrapper {
    width: 100%;
    display: flex;
    gap: 20px;
    margin-top: 20px;
    justify-content: flex-start;
    align-items: center;
}

@media (min-width: 768px) {
    .event-card-content {
        width: 75%;
        padding-right: 20px;
    }

    .event-actions-wrapper {
        width: 25%;
        justify-content: flex-end;
        margin-top: 0;
    }
}

.event-excerpt {
    margin-bottom: 10px;
}


.thg-theme .event-excerpt {
    font-size: 16px;
    color: var(--lmh-text-muted);
    font-weight: 400;
    padding: 12px 0;
}

.event-meta-info span {
    color: var(--lmh-text-muted);
}

.event-location a {
    color: var(--lmh-text-muted);
    font-size: 14px;
}

#home-lmh-health-cancer-center {
    position: relative;
    background-image: url('/wp-content/uploads/2026/02/cancer-center-featured.webp');
    background-size: cover;
    background-position: 0 -300px;
    background-repeat: no-repeat;
}

#home-lmh-health-cancer-center::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 66, 106, 0.9);
    z-index: 1;
}

#home-lmh-health-cancer-center>* {
    position: relative;
    z-index: 2;
}

.fs-72 {
    font-size: clamp(36px, 5vw, 72px) !important;
    font-weight: 800;
}

.fs-150 {
    font-size: clamp(110px, 9vw, 200px) !important;
    line-height: 0.6em;
}

input#addressSearch {
    border: 2px solid var(--lmh-primary-info);
}

.thg-theme .fs-24,
.thg-theme .fs-24 a {
    font-size: clamp(16px, 1.67vw, 24px) !important;
}

.fs-20 {
    font-size: 20px !important;
}

/* .icon-info img {
    background: var(--lmh-primary-info);
    padding: 10px 15px;
    border-radius: 999px;
} */

.icon-bg-info {
    text-align: center;
    margin-bottom: 15px;
}

h3.wp-block-heading {
    letter-spacing: 0.7px;
}

.icon-info {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: var(--lmh-primary-info);
    width: 75px;
    height: 75px;
    border-radius: 50%;
}

.icon-info img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}


/* Custom Select Styles */
.custom-select-wrapper {
    position: relative;
    user-select: none;
    cursor: pointer;
}

.custom-select-trigger {
    background-color: #fff;
    border: 1px solid #ced4da;
    /* Matches form-control */
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0;
    /* Theme style */
    color: #495057;
    height: auto;
}

.custom-select-wrapper.open .custom-select-trigger {
    border-color: var(--lmh-primary-info);
}

.custom-options {
    position: absolute;
    display: block;
    top: 100%;
    left: 0;
    right: 0;
    border: 1px solid var(--lmh-primary-info);
    border-top: 0;
    background: #fff;
    transition: all 0.3s;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 100;
    max-height: 300px;
    overflow-y: auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.custom-select-wrapper.open .custom-options {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.custom-option {
    position: relative;
    display: block;
    padding: 10px 15px;
    font-size: 16px;
    font-weight: 300;
    color: #000;
    line-height: 22px;
    cursor: pointer;
    transition: all 0.2s;
}

.custom-option:hover {
    background-color: var(--lmh-primary-info);
    color: #fff;
}

.custom-option.selected {
    background-color: #f2f2f2;
    color: #000;
    font-weight: 600;
}

.custom-select-search {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 10;
    border-bottom: 1px solid #eee;
}

/* Provider Grid Adjustments */
.provider-card-item,
.procedure-card-item {
    content-visibility: auto;
    /* Performance boost for large lists */
    contain-intrinsic-size: 400px;
    /* Estimate height to prevent scrollbar jumping */
}

.procedure-card-item.is-hidden,
.provider-card-item.is-hidden,
.pagination-controls.is-hidden {
    display: none !important;
}

/* Procedure Card Specifics */
.procedure-card {
    background-color: #fff;
    border: none;
    text-align: left;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    padding: 35px 35px 25px 35px;
}

.procedure-icon-wrapper {
    width: 70px;
    height: 70px;
    background-color: var(--lmh-primary-info);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 30px;
}

a.btn.btn-departments.btn-thg-global {
    padding: 0.55rem 1rem;
}

.procedure-icon-wrapper img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.thg-theme .procedure-card-title {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.2;
}

.thg-theme .procedure-card-title a {
    color: var(--lmh-primary-info);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 24px;
}

.procedure-card-description {
    color: #555;
    font-size: 16px;
    line-height: 1.5;
}

.row.global-post {
    display: flex;
    justify-content: center;
}

.provider-card {
    background: #ededed24;
    border: 1px solid #ededed24;
}

.provider-image img {
    object-position: top;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 999px;
    width: 360px;
}

/* Pagination Styles */
.pagination-controls .pagination-buttons {
    display: flex;
    gap: 5px;
    align-items: center;
}

.page-btn {
    background-color: transparent;
    border: 1px solid var(--lmh-primary-info);
    color: var(--lmh-primary-info);

    min-width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.page-btn:hover {
    background-color: var(--lmh-primary-info);
    color: #fff;
}
.thg-theme a.page-btn:hover {
    color: #fff;
}

.page-btn.active {
    background-color: var(--lmh-primary-success);
    border-color: var(--lmh-primary-success);
    color: var(--lmh-primary-info);
}

.page-btn.disabled {
    opacity: 0.5;
    pointer-events: none;
    border-color: #ccc;
    color: #ccc;
}

.page-btn span {
    pointer-events: none;
}

.results-count {
    font-size: 16px;
    color: var(--lmh-text-muted);
}

@media (max-width: 768px) {
    .pagination-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .thg-theme #author-bio-box,
    .thg-theme #author-bio-content {
        display: block;
    }

    .thg-theme .author-content {
        margin: 15px 0px;
    }
}

.row.global-departments .thg-global-image img {
    display: none;
}

.fs-16 {
    font-size: 16px !important;
}

.hamburger i {
    color: #fff;
}

header.provider-header {
    padding: 20px 0;
}

.staff-meta-field p {
    font-size: 16px;
}

.provider-left-col {
    align-items: center;
    display: flex;
}

.staff-meta-field {
    display: flex;
    gap: 30px;
    margin: 20px 0;
}

.provider-buttons {
    margin-top: 20px;
    margin-bottom: 10px;
}

.provider-buttons a {
    margin-right: 8px;
}

.provider-info h1 {
    margin-bottom: 5px;
}

.has-arrow a::after {
    display: inline-block;
    transition: transform 0.3s ease, color 0.3s ease;
}

.has-arrow a:hover::after {
    transform: translateX(3px);
    color: var(--lmh-primary-info);
}

.has-arrow a.wp-block-button__link:hover {
    color: var(--lmh-primary-info) !important;
}

span.provider-specialty {
    font-size: 24px;
    font-weight: 500;
    color: var(--lmh-text-muted);
}

.specialty-group {
    margin-bottom: 20px;
}

.provider-info {
    padding: 25px 0;
}

.plan-visit-card {
    border-right: 2px solid var(--lmh-primary-success);
    margin-right: 25px;
}

.thg-theme-menu .sub-menu::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
}

.visit-container .row>div:nth-child(3) .plan-visit-card {
    border-right: none;
    margin-right: 0;
}

.thg-theme .fs-20 {
    font-size: 20px !important;
}

@media (max-width: 781px) {
    .wp-block-columns.has-dividers>.wp-block-column:not(:last-child) {
        border-right: none !important;
        border-bottom: 2px solid var(--lmh-primary-success);
        padding-bottom: 20px;
        margin-bottom: 20px;
        padding-left: 0;
        padding-right: 0;
    }

    .thg-theme a.btn.btn-lmh-transparent {
        margin-bottom: 0;
    }

    .thg-theme .doubled-buttons {
        display: flex;
        justify-content: center;
        gap: 8px;
        flex-direction: column;
    }

    .thg-theme .plan-visit-card {
        border-right: unset;
        margin-right: unset;
    }

    .thg-theme .visit-container {
        padding: 20px;
    }

    .thg-theme .quote-icon i {
        color: #fff;
        font-size: 25px;
    }

    .provider-quote .quote-icon {
        width: 65px;
        height: 65px;
    }

    .event-card {
        padding: 30px 15px;
    }

    .thg-theme .benefit {
        aspect-ratio: 3 / 2;
        margin-bottom: 20px;
    }

    div#btn-home-group {
        position: unset;
        margin: 0;
        transform: unset;
        padding: 20px 20px;
        background: #F7F6FA;
    }

    .provider-image {
        margin: auto;
    }

    .thg-theme .fs-48 {
        font-size: 36px !important;
        font-weight: 900;
    }

    .mobile-menu-header {
        background: var(--lmh-primary-info);
    }

    .thg-theme-menu .sub-menu {
        background-color: #fff;
    }

    .mobile-menu-header img {
        width: 250px;
    }

    .mobile-menu-header {
        padding: 11px 20px;
    }

    .mobile-menu-header i {
        color: #fff;
    }

    .thg-theme .mobile-menu-popup {
        padding: 0;
    }

    .has-dividers>div {
        padding-right: 0 !IMPORTANT;
    }

    div#hero-section {
        height: 55lvh;
    }

    .distance {
        position: unset;
        padding: 7px 0;
        background: #fff;
        color: var(--lmh-primary-info);
    }

    .wp-block-media-text__content {
        padding: 0 !IMPORTANT;
        margin: 20px 0;
    }

    ul.social-icons {
        justify-content: center;
    }

    div#bottom-footer p {
        text-align: center;
    }

    .fs-72 {
        font-size: clamp(38px, 5vw, 36px) !important;
    }

    .thg-theme .provider-buttons {
        flex-direction: column;
        gap: 0px;
    }

    .thg-theme .provider-buttons a {
        margin-right: 0;
    }

    .thg-theme a.btn.btn-posts {
        align-items: center;
        justify-content: center;
    }

    .provider-buttons-2 {
        flex-direction: column;
    }

    .provider-image img {
        width: 200px;
    }
}

.wp-block-columns.has-dividers>.wp-block-column:not(:last-child) {
    border-right: 2px solid var(--lmh-primary-success);
}

.post-categories-shortcode a {
    color: var(--lmh-text-muted);
}

h2.post-title {
    font-size: 25px;
    margin-top: 10px;
    letter-spacing: 0.6px;
}

h2.post-title a {
    color: var(--lmh-primary-info);
    font-size: 25px;
    letter-spacing: 0.6px;
}


.thg-theme .fw-900 {
    font-weight: 900;
}

section.provider-content strong {
    color: var(--lmh-primary-info);
}

.provider-services {
    background: var(--lmh-primary-info);
}

.education-training {
    height: 100%;
    background: var(--lmh-primary-info);
    padding: 35px 45px;
}

.thg-theme .education-training h4,
.thg-theme .education-training p {
    color: #fff;
}

.thg-theme .education-training p {
    margin-bottom: 5px;
}

hr.lmh-primary-accent {
    color: var(--lmh-primary-success);
    opacity: 1;
    height: 2px;
}

section.provider-reviews {
    background: #E4E5E4;
}

.global-testimonials .thg-global-item {
    background: #fff;
    padding: 35px 35px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    height: 100%;
}

.testimonial-header {
    text-align: right;
    display: flex;
}

p.testimonial_content {
    font-size: 14px;
    color: var(--lmh-text-muted);
    margin-bottom: 15px;
}

p.testimonial_date {
    font-size: 14px;
    font-weight: 700;
    color: var(--lmh-text-muted);
}

.testimonial-footer {
    border-top: 1px solid #707372;
    padding-top: 15px;
    margin-top: auto;
}

.global-testimonials img.source-logo {
    width: 25px;
}

.global-testimonials i.fa.fa-star {
    color: #F9D255;
    font-size: 25px;
}

.testimonial-footer {
    display: flex;
    align-items: center;
    gap: 10px;
}

.testimonial-avatar {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    background: var(--lmh-primary-info);
    padding: 9px 14px;
    border-radius: 999px;
}

h3.testimonial_title {
    font-size: 16px !important;
    font-weight: 700 !important;
    margin-bottom: 5px;
    letter-spacing: 0.1px;
}

h3.testimonial_title span {
    font-size: 13px;
    letter-spacing: 0.5px;
    font-weight: 500;
}

span.rating {
    display: none;
}

.reviews-total .star-rating-summary {
    color: #00426A;
    font-size: 20px;
}

.provider-footer-cta {
    background-color: var(--lmh-bg-info);
    text-align: center;
}

.doubled-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}


a.btn-transparent-success,
a.Button {
    background: linear-gradient(to right, var(--lmh-bg-success) 50%, transparent 50%);
    background-size: 210% 102%;
    background-repeat: no-repeat;
    background-position: 100% 50%;
    border-radius: 0;
    border: 2px solid var(--lmh-primary-success);
    transition: all 0.3s ease-in-out;
    padding: 9px 20px;
    color: #fff;
    display: inline-flex;
    text-decoration: none;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

a.btn-transparent-success:hover,
a.Button:hover {
    background-position: 0% 50%;
    color: var(--lmh-primary-info);
}

.location-featured-image img {
    object-fit: cover;
    aspect-ratio: 4 / 2;
    width: 100%;
    object-position: bottom;
}

.thg-theme .radius-8 {
    border-radius: 8px !important;
}

a.Button {
    color: var(--lmh-primary-info);
    font-weight: 600;
}

.thg-theme .text-right {
    text-align: right;
}

.owl-stage {
    display: flex;
}

.location-working-hours,
.location-accessibility {
    border: 1px solid #707372;
    padding: 25px 35px;
    height: 100%;
}

.provider-buttons-carousel {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 45px;
}

.working-hour-item {
    border-bottom: 1px solid #707372;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
}

.row.global-departments,
.row.global-locations,
.row.global-team,
.row.global-procedures {
    display: flex;
    justify-content: center;
}

.provider-buttons {
    display: flex;
    gap: 10px;
}

p.main-text {
    font-weight: 600;
    font-size: 18px;
}

p.sub-text {
    font-size: 14px;
    font-weight: 400;
}

.education-training h4 {
    font-weight: 900;
}

.location-status-message {
    border: 2px solid #707372;
    padding: 10px 15px;
    font-size: 18px;
}

.working-hour-item {
    font-size: 18px;
    color: var(--lmh-text-muted);
}

.working-hour-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

span.status-open,
i.fa-solid.fa-clock {
    color: var(--lmh-primary-info);
}

.thg-theme .location-header .btn {
    padding: .55rem 1rem;
}

.card-service {
    background: #FFFFFF;
    height: 100%;
    padding: 35px 35px 25px 35px;
    min-height: 350px;
}

.view-more-services {
    color: #fff;
    border: 2px solid var(--lmh-primary-info);
    background-color: var(--lmh-primary-info);
    border-radius: 0;
    font-size: 16px;
}

.related-departments {
    background-color: #707372;
}

.related-providers {
    background-color: var(--lmh-primary-info);
}

.thg-theme .team-carousel .thg-global-image img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    /* width: 250px !important; */
    width: 150px;
    margin: auto;
    border-radius: 999px;
    object-position: top;
}

.team-carousel .thg-global-content {
    text-align: center;
    min-height: unset;
}

.team-carousel .post-item {
    background: #fff;
    padding: 35px 20px 25px 20px;
    margin: 0 15px;
}

.description-staff.global-description {
    display: none ! IMPORTANT;
}

.thg-theme .provider-buttons-carousel .btn-lmh-details {
    border: 0;
}

.owl-nav {
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    pointer-events: none;
}

.owl-nav button.owl-prev,
.owl-nav button.owl-next {
    pointer-events: auto;
    background: #ffffff !important;
    width: 35px;
    height: 35px;
    /* border-radius: 50%; */
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin: 0 -30px !important;
    transition: all 0.3s ease;
}

@media (max-width: 992px) {

    .owl-nav button.owl-prev,
    .owl-nav button.owl-next {
        margin: 0 !important;
    }
}

.owl-nav button.owl-prev:hover,
.owl-nav button.owl-next:hover {
    background: #ffffff !important;
    transform: scale(1.05);
}

.owl-nav button img {
    display: none !important;
}

.owl-nav button.owl-prev::after,
.owl-nav button.owl-next::after {
    font-family: "Font Awesome 7 Pro", "FontAwesome";
    font-weight: 900;
    font-size: 20px;
    color: var(--lmh-primary-info);
}

.owl-nav button.owl-prev::after {
    content: "\f053";
    margin-right: 2px;
}

.owl-nav button.owl-next::after {
    content: "\f054";
    margin-left: 2px;
}

.team-carousel .thg-global-content {
    padding: 0;
    margin-top: 13px;
}

/* Map Popup Styles */
#map .gm-style-iw-d {
    overflow: auto !important;
}

.map-popup-container {
    min-width: 330px;
    max-width: 380px;
}

@media (max-width: 575px) {
    .map-popup-container {
        min-width: 260px;
        max-width: 280px;
    }

    .gm-style-iw {
        max-width: 300px !important;
        min-width: 260px !important;
    }
}

.map-popup-image {
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
}

.map-popup-container {
    padding-right: 10px;
}

.map-popup-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 3 / 1;
    object-position: bottom;
}

.thg-theme .map-popup-title {
    margin: 0 0 5px;
    font-size: 17px;
    font-weight: bold;
}

.thg-theme .map-popup-address {
    font-size: 14px;
    color: #000;
    margin-bottom: 8px;
}

.map-popup-extras {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 5px;
}

.map-popup-extra-item {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #000;
    font-weight: 400;
}

.map-popup-extra-item i {
    color: var(--lmh-primary-info);
}

.map-popup-icon {
    margin-right: 5px;
    color: #007cba;
}

.map-popup-status {
    margin: 12px 0;
    font-size: 14px;
}

.map-popup-extras {
    margin: 5px 0;
}

.map-popup-distance {
    font-size: 13px;
    color: #000;
    margin-bottom: 10px;
}

.map-popup-providers {
    margin-bottom: 10px;
}

.map-popup-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.map-popup-buttons .btn-lmh-map-details,
.map-popup-buttons .btn-lmh-map-directions {
    display: block;
    text-align: center;
    padding: 8px;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    text-transform: capitalize;
}

.map-popup-buttons .btn-lmh-map-details:hover,
.map-popup-buttons .btn-lmh-map-directions:hover {
    color: #fff;
}

.map-popup-buttons .btn-lmh-map-directions {
    background-color: var(--lmh-primary-info);
    border-radius: 0 !important;
}

.map-popup-buttons .btn-lmh-map-details {
    background-color: var(--lmh-primary-info);
    border-radius: 0 !important;
}

.thg-theme .btn-lmh-map-call {
    display: block;
    text-align: center;
    text-transform: capitalize;
    padding: 8px;
    background-color: #fff;
    border: 3px solid var(--lmh-primary-info) !important;
    color: var(--lmh-primary-info) !important;
    border-radius: 0 !important;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

/* ------------------------------------------------------------------------- *
 *  Card Grid Template Parts
 * ------------------------------------------------------------------------- */

.thg-card-grid-container {
    display: grid;
    grid-template-columns: 1fr;
    /* Default mobile */
    gap: 30px;
    margin: 40px 0;
}

.thg-card-grid-container.cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (min-width: 768px) {
    .thg-card-grid-container.cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .thg-card-grid-container.cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    /* When cols-3 has only 2 cards, keep them at 3-col width and center */
    .thg-card-grid-container.cols-3:has(> :nth-child(2):last-child) {
        grid-template-columns: repeat(2, calc((100% - 2 * 30px) / 3));
        justify-content: center;
    }

    /* When cols-3 has only 1 card, keep it at 3-col width and center */
    .thg-card-grid-container.cols-3:has(> :first-child:last-child) {
        grid-template-columns: calc((100% - 2 * 30px) / 3);
        justify-content: center;
    }
}

.thg-card-item {
    background-color: #fff;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.thg-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    padding: 30px;
    border: 1px solid #e5e5e5;
    /* Light border similar to design aesthetic */
    transition: all 0.3s ease-in-out;
}

.thg-card-link:hover {
    border-color: var(--lmh-primary-info);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    background-color: #fafafa;
}

.thg-card-icon {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.thg-card-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.thg-card-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--lmh-primary-info);
    margin-bottom: 15px;
    line-height: 1.3;
}

.thg-card-description {
    font-size: 16px;
    color: var(--lmh-text-muted);
    line-height: 1.5;
}

.thg-card-description p:last-child {
    margin-bottom: 0;
}

/* Font Awesome support for cards */
.thg-card-icon i {
    font-size: 40px;
    /* Adjust size to match image look */
    color: var(--lmh-primary-info);
}

/* Card Grid Button Styles */
.thg-card-button {
    margin-top: 20px;
    border: 2px solid var(--lmh-primary-info);
    padding: 6px 10px;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease-in-out;
    background-color: transparent;
}

.thg-card-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--lmh-bg-success);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease-in-out;
}

.thg-card-link:hover .thg-card-button::before {
    transform: scaleX(1);
}

.thg-card-button .btn-text {
    font-weight: 600;
    color: var(--lmh-primary-info);
    text-transform: capitalize;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease-in-out;
}

.thg-card-link:hover .thg-card-button .btn-text {
    color: var(--lmh-primary-info);
}

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


.post-type-archive-departments header.page-hero-header,
.page-template-page-patients-visitors header.page-hero-header,
.post-type-archive-jobs header.page-hero-header {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    display: flex;
    align-items: center;
    min-height: 350px;
}

/* Tablet */
@media (min-width: 768px) {

    .post-type-archive-departments header.page-hero-header,
    .page-template-page-patients-visitors header.page-hero-header,
    .post-type-archive-jobs header.page-hero-header {
        min-height: 500px;
    }
}

/* Desktop */
@media (min-width: 1024px) {

    .post-type-archive-departments header.page-hero-header,
    .page-template-page-patients-visitors header.page-hero-header {
        min-height: 513px;
    }
}

.post-type-archive-jobs header.page-hero-header {
    background-image: url(/wp-content/uploads/2026/04/mZE1fVA2os6pM00gX7Lj7aJOqlqKpOrOJdPWHGZCqdK8WC6l-1.webp);
    background-position: 100% 20%;
}

/* Individual background images */
.post-type-archive-departments header.page-hero-header {
    background-image: url(/wp-content/uploads/2026/04/NbUOyRe2v0vSfwrKebSgarJamYrsiwKXVgS7m9ZB096rpH4O-1-scaled.webp);
}

.page-template-page-patients-visitors header.page-hero-header {
    background-image: url(/wp-content/uploads/2025/12/09db950b427549f5735b7ad219271cccafbf92c9-scaled.jpg);
}

/* Desktop-only overrides (if needed per hero) */
@media (min-width: 1024px) {
    .post-type-archive-departments header.page-hero-header {
        background-position: 0 32%;
    }
}

@media (max-width:1024px){
    .thg-card-grid-container.cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .visit-container .col-lg-3:not(:last-child) .plan-visit-card{
        border-right:0;
        border-bottom: 2px solid var(--lmh-primary-success);
    }
    .plan-visit-card p{
        margin-bottom: 8px;
        margin-top: 8px;
    }
    .benefit{
        aspect-ratio: unset!important;
        margin-bottom: 16px;
    }

    .event-card-content{
        width:100%!important;
    }

    .event-actions-wrapper{
        width:100%!important;
        justify-content: flex-start!important;
        margin-top:20px!important;
    }
}

.thg-theme .justify-content-space-evenly {
    justify-content: space-evenly;
}

.visit-container {
    padding: 70px 40px;
}

/* ------------------------------------------------------------------------- *
 *  Accordion Component
 * ------------------------------------------------------------------------- */


.border-bottom-event {
    border-bottom: 1px solid #707372;
}

.thg-accordion-item {
    border-bottom: 1px solid #e5e5e5;
    overflow: hidden;
    margin-bottom: 10px;
}

span.span-spacing {
    display: block;
}

.thg-accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 15px;
    background: #fff;
    border: none;
    cursor: pointer;
    text-align: left;
    outline: none;
    transition: color 0.3s ease;
}

.page-id-4932 button.thg-accordion-header {
    background: #F4F4F5;
}

p a:not(.sidebar-procedure a),
.page-content a,
.post-container li a {
    font-size: 18px;
    color: var(--lmh-text-muted);
    text-decoration: underline;
}

.thg-accordion-content {
    padding: 15px 15px;
    background: #fff;
    border-top: 1px solid #e5e5e5;
}

.board-memebers h3,
.board-memebers p {
    padding: 0 10px 10px;
}

h3.thg-accordion-title {
    font-size: 17px;
    color: #000;
    font-weight: 400;
    flex-grow: 1;
    padding-right: 20px;
    margin: 0;
    letter-spacing: 0.2px;
}

.thg-accordion-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lmh-primary-info);
    font-size: 20px;
    transition: transform 0.3s ease;
}

.thg-accordion-item.active .thg-accordion-icon {
    transform: rotate(180deg);
}

/* .active .thg-accordion-icon i:before {
} */

.thg-accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}



.thg-theme .thg-accordion-content p {
    color: var(--lmh-text-muted);
    font-size: 16px;
    margin: 0 0 0.5em;
}

.thg-theme .thg-accordion-content p:last-child {
    margin-bottom: 0;
}

.thg-accordion-content span[style*="display: block"],
.thg-accordion-content span[style*="display:block"] {
    margin-bottom: 0.3em;
}

/* .thg-accordion-header:hover .thg-accordion-title {
    color: var(--lmh-bg-success);
} */


.plan-visit-card i {
    margin-right: 6px;
    color: var(--lmh-primary-info);
}

a.btn.btn-lmh-details i {
    margin-right: 5px;
}

.thg-theme a.btn.btn-lmh-transparent {
    border: 2px solid var(--lmh-primary-info);
    border-radius: 0;
    color: var(--lmh-primary-info);
    text-transform: capitalize;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease-in-out;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.thg-theme a.btn.btn-lmh-transparent::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    background-color: var(--lmh-primary-info);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease-in-out;
}

.thg-theme a.btn.btn-lmh-transparent:hover::before {
    transform: scaleX(1);
}

.thg-theme a.btn.btn-lmh-transparent:hover {
    color: #fff;
}

/* Table of Contents Grid Styling */
#table-of-contents ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

#table-of-contents ul li {
    margin: 0;
}

#table-of-contents ul li a {
    display: block;
    padding: 12px 15px;
    border: 2px solid var(--lmh-primary-info);
    color: var(--lmh-primary-info);
    text-align: center;
    background: transparent;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease-in-out;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
}

#table-of-contents ul li a:hover {
    background: var(--lmh-primary-info);
    color: #fff;
}

@media (max-width: 991px) {
    #table-of-contents ul {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    #table-of-contents ul {
        grid-template-columns: 1fr;
    }
}


div#author-bio-box {
    background: #fff;
    padding: 35px 40px;
}

div#author-bio-content {
    display: flex;
    align-items: center;
}

.author-post-meta {
    white-space: nowrap;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.author-post-meta,
.author-post-meta a,
.author-post-meta p {
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: #000;
}

.author-post-meta i {
    color: var(--lmh-primary-info);
    margin-right: 5px;
}

div#author-bio-box {
    display: grid;
    align-items: center;
    grid-template-columns: 200px auto;
}

.author-content {
    margin-right: 25px;
    margin-left: 25px;
}

.profile-photo img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
    object-position: 0 0;
}






/* MAP LOCATIONS */
.map-section .clinic-search {
    background-color: var(--lmh-bg-dark-gray);
    padding: 50px 0;
}

.map-section input#addressSearch {
    border: 2px solid #fff !important;
    font-family: Montserrat;
    padding: 6px 30px;
}

.map-section .btn-lmh-search {
    background-color: var(--lmh-primary-info);
    border: 2px solid var(--lmh-primary-info) !important;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    padding: 6px 12px !important;
    box-shadow: none;
    border-radius: 0;
    text-transform: capitalize;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease-in-out;
    display: inline-block;
    text-decoration: none;
    max-width: 130px;
    width: 100%;
}

.map-section #useMyLocationBtn {
    border: 2px solid var(--lmh-primary-info) !important;
    border-radius: 0;
    box-shadow: none;
    text-transform: capitalize;
    font-size: 16px;
    color: var(--lmh-primary-info);
    background-color: #fff;
    font-weight: 700;
    padding: 6px 12px !important;
    transition: all 0.3s ease-in-out;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 250px;
    width: 100%;
}

a.tool-item {
    background: #fff;
    padding: 20px 0;
}

.map-section .locations-list {
    max-height: 1600px;
}

/* Quick Tools Section */
.quick-tools-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (min-width: 768px) {
    .quick-tools-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1200px) {
    .quick-tools-grid {
        grid-template-columns: repeat(7, 1fr);
    }
}


.tool-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    text-align: center;
    gap: 15px;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.tool-item:hover {
    border-color: var(--lmh-primary-success);
}

.tool-icon {
    width: 80px;
    height: 80px;
    background-color: var(--lmh-primary-info);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}



.tool-icon i {
    font-size: 32px;
    color: #fff;
}

.tool-title {
    color: var(--lmh-primary-info);
    font-weight: 700;
    font-size: 16px;
    line-height: 1.2;
}

.global-procedures .thg-global-image {
    display: none;
}

input#filter-name,
input.form-control.form-control-sm {
    border-radius: 0 !important;
}

.form-control:focus {
    border-color: unset !important;
    box-shadow: unset !important;
    outline: none !important;
}

a.btn.btn-lmh-author-biobox {
    border: 2px solid var(--lmh-primary-info) !important;
    border-radius: 0;
    text-transform: capitalize;
    font-size: 16px;
    color: var(--lmh-primary-info);
    font-weight: 600;
    padding: 7px 12px !important;
    transition: all 0.3s ease-in-out;
    display: inline-flex;
    align-items: center;
}

a.btn.btn-lmh-author-biobox i {
    margin-left: 5px;
}

/* Stories & */
/* Search Page Custom Tabs - New Unique Class */
.thg-search-tab {
    display: none;
}

.thg-search-tab.active {
    display: block;
}

.stories-custom-tabs {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.stories-tab-link {
    display: block;
    color: var(--lmh-primary-info);
    font-weight: 600;
    border: 2px solid var(--lmh-primary-info);
    background-color: #fff;
    border-radius: 0;
    padding: 5px 25px;
    transition: all 0.3s ease;
    margin: 0 5px;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    /* Prevent breaking text on mobile */
}

.stories-tab-link.active {
    background-color: var(--lmh-primary-info);
    color: #fff !important;
    border-color: var(--lmh-primary-info);
}

.stories-tab-link:hover {
    background-color: var(--lmh-primary-success);
    color: var(--lmh-primary-info) !important;
    border-color: var(--lmh-primary-success);
}

.story-card-body {
    padding: 25px 25px 15px 25px;
}

.thg-theme p#stories-result-count {
    font-size: 16px;
    color: #000000 !important;
}

#load-more-stories {
    border-radius: 0;
    font-weight: 600;
    padding: 10px 30px;
    color: var(--lmh-primary-info);
    font-weight: 600;
    border: 2px solid var(--lmh-primary-info);
    background-color: #fff;
    border-radius: 0;
    transition: all 0.3s ease;
    margin: 0 5px;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    /* Prevent breaking text on mobile */
    font-size: 16px;

}

#load-more-stories:hover {
    background-color: var(--lmh-primary-success);
    color: var(--lmh-primary-info) !important;
    border-color: var(--lmh-primary-success);
    opacity: 1;
}


h3.story-card-title a {
    color: var(--lmh-bg-info);
    line-height: 1px;
}

.story-card-excerpt {
    font-size: 15px;
}

.breadcrumb-path {
    font-size: 15px;
    color: #707372;
}

nav.thg-breadcrumb {
    align-items: center;
}

.breadcrumb-container {
    border-bottom: 1px solid #E4E5E4;
    padding: 16px 0;
}

.mobile-menu-container {
    text-align: right;
}

.breadcrumb-container i {
    color: #707372;
    font-size: 13px;
}

.single-team .provider-container .star-rating-summary {
    color: #707372;
    font-size: 18px;
}

.thg-theme .availability p,
.thg-theme .staff-languages p {
    color: #707372;
}

.thg-theme .post_content h2 a {
    color: var(--lmh-primary-info);
    font-weight: 900;
}

.thg-theme .post-categories-shortcode a,
.thg-theme .post-excerpt p {
    color: var(--lmh-text-muted);
}

.location-phone span,
.location-fax span {
    font-size: 18px;
}

.location-phone {
    margin-bottom: 15px;
}

.location-phone i,
.location-fax i,
.location-address i {
    color: var(--lmh-primary-info);
    font-size: 16px;
}

.location-address p {
    color: var(--lmh-text-muted);
}

.provider-container {
    padding: 40px 0;
    border-bottom: 2px solid var(--lmh-primary-success);
}

article p,
article a,
ul li,
ol li {
    color: var(--lmh-text-muted);
}

.locaton-buttons {
    display: flex;
    gap: 15px;
}

.location-phone a {
    font-size: 18px;
}

.location-map-buttons {
    display: flex;
    gap: 15px;
    justify-content: end;
}

.provider-quote .quote-icon {
    margin-right: 20px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: var(--lmh-primary-info);
    width: 85px;
    height: 85px;
    border-radius: 50%;
}

.quote-icon i {
    color: #fff;
    font-size: 45px;
}

.provider-quote .quote-text-content {
    width: 90%;
}

.provider-quote .quote-text-content p.quote-text {
    font-family: "Outfit", sans-serif;
}

.provider-quote {
    border-top: 2px solid var(--lmh-primary-success);
    border-bottom: 2px solid var(--lmh-primary-success);
    padding: 40px 0;
    margin-top: 40px;
}

.board-certifications {
    padding: 30px 0;
}

.board-certifications h4 {
    color: var(--lmh-primary-info);
    font-weight: 800;
    font-size: 20px;
}

.provider-education h4,
.provider-education h3 {
    letter-spacing: 0.7px;
}

/* Single Post Styles */
.thg-share-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.thg-share-links li {
    margin: 0;
}

.thg-theme .thg-share-links a {
    color: var(--lmh-primary-info);
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
    background: #fff;
    border: 1px solid transparent;
    /* Ensure consistent box model */
    text-decoration: none;
}

.thg-theme .thg-share-links a:hover {
    background: var(--lmh-primary-info);
    color: #fff;
    border-color: var(--lmh-primary-info);
}

.share-buttons-container {
    border-top: 2px solid var(--lmh-primary-success);
    border-bottom: 2px solid var(--lmh-primary-success);
    padding: 40px 0;
}

.share-buttons-container.share-buttons-callout {
    background: var(--lmh-primary-info);
    border: none;
    border-radius: 8px;
    padding: 20px 30px;
}

.share-buttons-callout .thg-share-links a {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.share-buttons-callout .thg-share-links a:hover {
    background: #fff;
    color: var(--lmh-primary-info);
    border-color: #fff;
}

/* Post Callout Group */
.post-callout-group .share-buttons-callout {
    border-radius: 8px 8px 0 0;
}

.media-inquiries-callout {
    background: #fff;
    border-radius: 0 0 8px 8px;
    padding: 20px 30px;
    border: 1px solid #E4E5E4;
}

.media-inquiries-content i {
    color: var(--lmh-primary-info);
}

.media-inquiries-callout span.fw-bold {
    color: var(--lmh-primary-info);
}

.media-inquiries-callout a {
    color: var(--lmh-primary-info);
    text-decoration: none;
}

.media-inquiries-callout a:hover {
    text-decoration: underline;
}

.blogpost-content h2,
.blogpost-content h2 a {
    font-size: 25px;
    letter-spacing: 0.6px;
}

.blogpost-content h3,
.blogpost-content h3 a {
    font-size: 23px;
    letter-spacing: 0.6px;
}

/* Search Page Refinement */
.search-page {
    max-width: 1320px;
    margin: 0 auto;
    padding: 40px 20px;
}

.search-form {
    display: flex;
    max-width: 500px;
    margin-bottom: 40px;
}

.search-form input {
    flex: 1;
    padding: 14px 18px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-right: none;
    border-radius: 8px 0 0 8px;
    outline: none;
}

.search-form input:focus {
    border-color: var(--lmh-primary-info);
}

.search-form button {
    padding: 14px 20px;
    background: var(--lmh-primary-info);
    color: #fff;
    border: none;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
}

.search-form button:hover {
    background: #003355;
}

.search-tabs {
    display: flex;
    border-bottom: 2px solid #eee;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 5px;
}

.search-tab {
    padding: 12px 20px;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    color: #666;
}

.search-tab:hover {
    color: var(--lmh-primary-info);
}

.search-tab.active {
    color: var(--lmh-primary-info);
    border-color: var(--lmh-primary-info);
    font-weight: 600;
}

.search-tab .count {
    background: #eee;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 13px;
    margin-left: 5px;
}

.search-tab.active .count {
    background: var(--lmh-primary-info);
    color: #fff;
}




.results-heading {
    font-size: 18px;
    color: var(--lmh-primary-info);
    margin-bottom: 25px;
}

p.location-address i {
    color: var(--lmh-primary-info);
    margin-right: 4px;
}

p.location-address {
    margin-bottom: 4px;
}

.results-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.result-item {

    border-bottom: 2px solid var(--lmh-primary-success);
    padding: 20px 0;
    display: flex;
    flex-direction: row;
    gap: 30px;
    align-items: flex-start;
}

.result-item.hidden {
    display: none;
}

/* 20% Image width */
.result-thumb {
    width: 20%;
    flex-shrink: 0;
}

.result-thumb img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 6px;
}

/* 60% Content width */
.result-info {
    width: 60%;
    flex: 1;
    /* Allow it to take up remaining space if others are fixed, but close to 60% */
    display: flex;
    flex-direction: column;
}

.result-info h3 {
    margin: 0 0 5px;
    font-size: 20px;
    font-weight: 700;
}

.result-info h3 a {
    color: var(--lmh-primary-info);
    text-decoration: none;
}



.staff-position {
    font-size: 14px;
    font-weight: 600;
    color: var(--lmh-text-muted);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.result-excerpt {
    font-size: 15px;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Specific Styles for Location */
.location-status {
    margin-bottom: 10px;
    font-size: 14px !important;
    color: var(--lmh-text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
    padding-left: 1px;
}

.location-extras {
    margin-bottom: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.location-extra-tag {
    background: #f0f0f0;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    color: #333;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Support both image and font icons */
.location-extra-tag .extra-icon {
    display: inline-block;
    vertical-align: middle;
}

.location-extra-tag img.extra-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.location-extra-tag i.extra-icon {
    font-size: 14px;
    color: var(--lmh-primary-info);
}


.result-actions {
    width: 20%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex-shrink: 0;
}

.btn-search-action {
    display: block;
    padding: 10px 15px;
    background: var(--lmh-primary-info);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease-in-out;
}

.btn-search-action::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--lmh-text-muted);

    z-index: -1;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease-in-out;
}

.btn-search-action:hover::before {
    transform: scaleX(1);
}

.btn-search-action:hover {
    color: #ffffff !important;
}

.btn-search-secondary {
    background: #ffffff;
    color: var(--lmh-primary-info);
    border: 2px solid var(--lmh-primary-info);
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease-in-out;
}

.btn-search-secondary::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--lmh-primary-success);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease-in-out;
}

.btn-search-secondary:hover::before {
    transform: scaleX(1);
}

.btn-search-secondary:hover {
    color: var(--lmh-primary-info) !important;
}

.view-more {
    padding: 12px 28px;
    background: var(--lmh-primary-info);
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 25px;
    align-self: flex-start;
}

.view-more:hover {
    background: #003355;
}

.no-results {
    text-align: center;
    padding: 40px;
    color: #666;
}

@media (max-width: 768px) {
    .result-item {
        flex-direction: column;
        gap: 20px;
    }

    .result-thumb,
    .result-info,
    .result-actions {
        width: 100%;
    }

    .result-thumb img {
        aspect-ratio: 16/9;
    }

    .result-actions {
        flex-direction: row;
        /* On mobile maybe side-by-side again? Or vertical still? User said vertical for space. Let's keep vertical on mobile or wrap */
        flex-wrap: wrap;
    }

    .btn-search-action {
        width: 100%;
        /* Full width buttons on mobile */
    }

    .locaton-buttons {
        flex-direction: column;
        gap: 2px;
        justify-content: center;
        text-align: center;
    }

    a.btn.btn-lmh-directions {
        justify-content: center;
    }

    .provider-buttons-carousel {
        flex-direction: column;
        gap: 2px;
    }

    .location-map-buttons {
        flex-direction: column;
        gap: 5px;
    }

    .thg-theme h2,
    .thg-theme h2 a {
        font-size: 30px;
    }

    .location-item h2 {
        padding-right: 0;
    }
}

.global-procedures .thg-global-item,
.global-departments .thg-global-item {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.global-procedures .thg-global-content,
.global-departments .thg-global-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.global-procedures .thg-global-content .btn-procedures,
.global-departments .thg-global-content .btn-departments {
    margin-top: auto;
    align-self: flex-start;
}

div#thg-user-location-wrapper {
    color: #fff;
    text-align: center;
    padding-top: 15px;
    padding-bottom: 40px;
    cursor: pointer;
}

.team-carousel .thg-global-item {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.team-carousel .thg-global-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.team-carousel .provider-buttons-carousel {
    margin-top: auto;
}

.post-item {
    height: 100%;
    min-height: 380px;
}

/* Event Archive Icon Buttons */
a.event-btn-calendar,
a.event-btn-directions {
    width: 45px;
    height: 45px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0 !important;
    font-size: 18px;
    border: 2px solid var(--lmh-primary-info) !important;
    color: var(--lmh-primary-info);
    background: transparent;
    border-radius: 0;
    transition: all 0.3s ease;
    text-decoration: none;
}

a.event-btn-calendar:hover,
a.event-btn-directions:hover {
    background-color: var(--lmh-primary-info);
    color: #fff;
    border-color: var(--lmh-primary-info) !important;
}

a.event-btn-calendar i,
a.event-btn-directions i {
    font-size: 18px;
}

/* Event Register Button - Mimicking .btn-lmh-details */
a.event-btn-register,
.event-actions-wrapper a.event-btn-register,
.featured-event-actions a.event-btn-register {
    background-color: var(--lmh-primary-info);
    color: #fff;
    font-weight: 700;
    padding: 10px 24px !important;
    border-radius: 0;
    text-transform: capitalize;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease-in-out;
    display: inline-block;
    text-decoration: none;
    line-height: 1.5;
    white-space: nowrap;
    flex: 0 0 auto;
}

a.event-btn-register::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--lmh-text-muted);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease-in-out;
}

a.event-btn-register:hover::before {
    transform: scaleX(1);
}

a.event-btn-register:hover {
    color: #fff;
}

/* Event Count Display Responsive Positioning */
@media (min-width: 768px) {
    .position-absolute-md-right {
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
    }
}

/* Category Grid Layout */
.category-grid-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    justify-content: center;
}

.thg-theme p.category-description {
    font-size: 16px;
}

.thg-theme h3.category-title {
    font-size: 22px;
    letter-spacing: 0.2px;
}

@media (min-width: 768px) {
    .category-grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .category-grid-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Category Cards */
.category-card {
    background-color: #fff;
    padding: 24px;
    height: 100%;
    position: relative;
    border: 1px solid transparent;
    min-height: 265px;
    transition: border-color 0.3s ease;
}

.event-category-filter {
    text-decoration: none;
    display: block;
    height: 100%;
    color: inherit;
}

/* Category Content Styling */
.category-icon {
    margin-bottom: 20px;
    text-align: left;
}

.category-icon i {
    font-size: 3rem;
    /* fa-3x equiv */
    color: var(--lmh-primary-info);
}

.category-title {
    font-weight: 700;
    font-size: 20px;
    color: var(--lmh-primary-info);
    margin-bottom: 10px;
    text-align: left;
}

.category-desc {
    font-size: 14px;
    line-height: 1.4;
    color: var(--lmh-text-muted);
    text-align: left;
    margin-bottom: 0;
}

/* Check Icon */
.check-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    display: none;
    color: var(--lmh-primary-info);
    /* Using primary info for the check too, or success? User asked for primary info generally */
}

/* Active State */
.event-category-filter.active .category-card {
    border: 1px solid var(--lmh-primary-info);
}

.event-category-filter.active .check-icon {
    display: block;
}

/* Pagination Styles */
.events-pagination-container {
    padding-top: 40px;
    padding-bottom: 20px;
    display: flex;
    justify-content: center;
    width: 100%;
}

.events-pagination {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 8px;
    align-items: center;
}

.page-link-custom {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid #ccc;
    border-radius: 0;
    color: #707372;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.page-link-custom:hover {
    border-color: var(--lmh-primary-info);
    color: var(--lmh-primary-info);
    background-color: var(--lmh-bg-success);
}

.page-link-custom.active,
.page-link-custom.current,
.page-item.active .page-link-custom {
    background-color: var(--lmh-primary-info);
    border-color: var(--lmh-primary-info);
    color: #fff;
}

/* Icons in pagination */
.page-link-custom i {
    font-size: 14px;
}

.page-link-custom i {
    font-size: 14px;
}

/* Redesigned Search Bar */
.events-search-section {
    background-color: #707372;
    padding: 48px 0;
}

.events-search-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-icon-circle {
    width: 90px;
    height: 90px;
    background-color: #00426A;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.search-icon-circle i {
    color: #fff;
    font-size: 45px;
}

.events-search-input {
    flex-grow: 1;
    height: 40px;
    border: none;
    padding: 0 20px;
    font-size: 16px;
    outline: none;
}

.events-search-btn {
    background-color: var(--lmh-primary-info);
    color: #fff;
    border: none;
    height: 40px;
    padding: 0 40px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.events-search-btn:hover {
    background-color: #003355;
    /* Darker shade */
}

@media (max-width: 768px) {
    .events-search-wrapper {
        flex-wrap: wrap;
        /* Allow wrapping */
        gap: 10px;
    }

    /* Icon and Input on first row */
    .search-icon-circle {
        width: 60px;
        height: 60px;
        border-radius: 50%;
    }

    .events-search-input {
        flex: 1;
        /* Take remaining space on row */
        width: auto;
        height: 50px;
        border-radius: 4px;
    }

    /* Button on second row */
    .events-search-btn {
        width: 100%;
        /* Force new line */
        margin-top: 5px;
        border-radius: 4px;
    }
}

.event-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

@media (min-width: 768px) {
    .event-info-wrapper {
        flex-direction: row;
        align-items: center;
    }
}

/* Single Event Page Styles */
.thg-theme .btn-check:focus+.btn,
.thg-theme .btn:focus {
    outline: 0;
    box-shadow: unset !important;
}

.event-single-header h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

.calendar-buttons-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.thg-theme h3.event-shortcode-title a {
    color: var(--lmh-primary-info);
    font-size: 28px;
    font-weight: 900;

}

.thg-theme h3.event-title a {
    color: var(--lmh-primary-info);
    font-size: 25px;
    font-weight: 900;
    letter-spacing: 0.4px;

}

.event-price-info,
.event-spots-info {
    font-size: 18px;
}

.btn-event-calendar {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 8px;
    border: 2px solid var(--lmh-primary-info);
    color: var(--lmh-primary-info);
    background-color: transparent;
    border-radius: 0px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-event-calendar:hover {
    background-color: var(--lmh-primary-info);
    color: #fff !important;
    text-decoration: none;
}

.btn-event-calendar:hover i {
    color: #fff !important;
}

.btn-event-calendar i {
    font-size: 14px;
}

.event-shortcode-card {
    background: #fff;
    padding: 25px;
    /* border: 1px solid #707372; */
    /* display: flex; */
    flex-wrap: wrap;
    /* align-items: flex-start; */
    margin-bottom: 30px;
}

.event-shortcode-card {
    display: flex;
    flex-direction: column;
}

h3.event-shortcode-title {
    line-height: 1em;
}

.event-card-footer {
    margin-top: auto;
}

/* Archive Events - Meta Wrapper Styles */
.event-meta-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    margin-bottom: 10px;
}

.event-meta-wrapper span {
    display: inline-flex;
    align-items: center;
    border-radius: 4px;
    font-size: 14px;
}

.event-meta-wrapper .event-price {
    color: #707372;
}

.event-meta-wrapper .event-category {
    color: #707372;
}

.event-meta-wrapper .event-spots {
    color: #707372;
}

/* Mobile responsive */
@media (max-width: 576px) {
    .event-meta-wrapper {
        gap: 8px;
    }

    .event-meta-wrapper span {
        font-size: 12px;
        padding: 3px 8px;
    }
}

/* Featured Events Section */
.featured-events-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.featured-event-card {
    background: #fff;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.featured-event-image {
    width: 100%;
}

.featured-event-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}
h3.event-title.mt-1 {
    line-height: 1em;
}
.featured-event-content {
    padding: 35px 34px;
    display: flex;
    flex-direction: column;
    height: 100%; /* so the content fills the card vertically */
}

.featured-event-info {
    margin-top: auto;
}

.featured-event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 10px;
}

.featured-event-meta span {
    font-size: 14px;
    border-radius: 4px;
}

.featured-event-price {
    color: var(--lmh-text-muted);
}

.featured-event-category {
    color: var(--lmh-text-muted);
}

.thg-theme .featured-event-excerpt {
    font-size: 16px;
    color: var(--lmh-text-muted);
    font-weight: 500;
    margin-bottom: 15px;
}

.featured-event-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

span.featured-event-location {
    font-size: 16px;
}

/* 
.featured-event-datetime,
.featured-event-location {
    font-size: 14px;
    color: var(--lmh-text-muted);
} */

.featured-event-datetime i,
.featured-event-location i {
    margin-right: 8px;
    color: var(--lmh-text-muted);
}

.featured-event-location a,
.featured-event-datetime {
    color: var(--lmh-text-muted);
    text-decoration: none;
    font-size: 16px;
}

.featured-event-location a:hover {
    text-decoration: underline;
}

.featured-event-actions {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
}

.featured-event-actions .event-btn-register {
    flex: 0 0 80%;
    text-align: center;
}

.event-hero-image img {
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

/* .featured-event-actions .event-btn-calendar {
    flex: 0 0 calc(20% - 10px);
} */

/* Center leftover events when the last row is not full */
.events-grid .row {
    justify-content: center;
}

/* Featured Events Responsive */
@media (min-width: 768px) {
    .featured-events-grid {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .featured-event-card {
        width: calc(33.333% - 20px);
        max-width: 400px;
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    .featured-event-card {
        width: calc(50% - 15px);
    }
}

@media (max-width: 767px) {
    .featured-event-card {
        width: 100%;
    }

    .featured-event-image img {
        height: 200px;
    }
}


div#btn-home-group a {
    font-weight: 700;
    display: block;
    width: 100%;
    height: 100%;
}

.thg-theme .btn {
    padding: .55rem 1.5rem;
}

.thg-theme .global-departments h3 a {
    font-weight: 900;
}

.fw-800 {
    font-weight: 800;
}

.procedures-content p,
.procedures-content li,
.procedures-content ul li,
.procedures-content ol li {
    color: var(--lmh-text-muted);
}

.procedures-content h2 {
    font-size: 32px;
    letter-spacing: 1px;
}

.provider-single-article h1 {
    font-size: 48px;
}

h2.toc-title {
    font-size: 32px;
}

.author-content h3 {
    font-weight: 600;
}

.author-content p {
    color: var(--lmh-text-muted);
}

.provider-footer-cta p {
    font-size: 20px;
}

.team-carousel h3 {
    margin-bottom: 5px;
    font-weight: 600;
}

li.a11y_requirement_desc_line {
    display: none;
}

.thg-theme .fw-600 {
    font-weight: 600;
}


.post_content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.thg-card-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    aspect-ratio: 5/3;
}

.thg-card-button {
    margin-top: auto;
}

.post-details {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.thg-card-description {
    margin-bottom: 15px;
}

.post-details .btn-posts {
    margin-top: auto;
    align-self: flex-start;
}

.ratio.ratio-21x9.mb-4.rounded.overflow-hidden img {
    object-fit: cover;
    object-position: 0 -34px;
}

h3.story-card-title {
    font-weight: 900;
    font-size: 25px;
}

.thg-theme .departments-content p {
    color: #000;
    font-size: 18px;
    font-weight: 500;
}

.btn-lmh-author-biobox i {
    transition: transform 0.3s ease;
}

.btn-lmh-author-biobox:hover i {
    transform: translateX(3x);
}

.hover-right i {
    transition: transform 0.3s ease;
}

.hover-right:hover i {
    transform: translateX(4px);
}

/* ========================================
   THG Sidebar Styles
   ======================================== */

/* Custom HTML Block */
.thg-sidebar .sidebar-custom-html {
    margin-bottom: 40px;
}

/* Page Navigation Wrapper */
.thg-sidebar .sidebar-page-nav-wrapper {
    border-left: 3px solid #8bbee8;
    padding-left: 20px;
}

/* Parent Page Title */
.thg-sidebar .sidebar-parent-page {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    padding: 12px 0;
    border-bottom: 0.5px solid #707372;
}

/* Child Pages List */
.thg-sidebar .sidebar-page-nav,
.thg-sidebar .sidebar-jobs-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.thg-sidebar .sidebar-page-nav li,
.thg-sidebar .sidebar-jobs-nav li {
    padding: 12px 0;
    border-bottom: 0.5px solid #707372;
    font-size: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.thg-sidebar .sidebar-page-nav li:last-child,
.thg-sidebar .sidebar-jobs-nav li:last-child {
    border-bottom: 0.5px solid #707372;
}

.thg-sidebar .sidebar-page-nav li a,
.thg-sidebar .sidebar-jobs-nav li a {
    color: var(--lmh-link-info);
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    font-weight: 500;
}

/* Underline only the text span, not the icon */
.thg-sidebar .sidebar-page-nav li a span,
.thg-sidebar .sidebar-jobs-nav li a span {
    text-decoration: underline;
}

.thg-sidebar .sidebar-page-nav li a:hover,
.thg-sidebar .sidebar-jobs-nav li a:hover {
    color: var(--lmh-link-success, #C4D600);
}

/* Arrow icon - excluded from underline */
.thg-sidebar .sidebar-page-nav li i,
.thg-sidebar .sidebar-jobs-nav li i {
    color: #707372;
    font-size: 14px;
    margin-left: 10px;
    flex-shrink: 0;
}

/* Current page - bold, no link */
.thg-sidebar .sidebar-page-nav li.current-page,
.thg-sidebar .sidebar-jobs-nav li.current-page {
    color: var(--lmh-link-info, #00426A);
}

.thg-sidebar .sidebar-page-nav li.current-page strong,
.thg-sidebar .sidebar-jobs-nav li.current-page strong {
    font-weight: 700;
    flex: 1;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .thg-sidebar {
        margin-top: 2rem;
    }
}


.pagination .nav-links {
    display: flex;
    gap: 5px;
    align-items: center;
    justify-content: center;
}

.pagination .nav-links .page-numbers {
    background-color: transparent;
    border: 1px solid var(--lmh-primary-info);
    color: var(--lmh-primary-info);
    min-width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.pagination .nav-links .page-numbers:hover {
    background-color: var(--lmh-primary-info);
    color: #fff;
}

.pagination .nav-links .page-numbers.current {
    background-color: var(--lmh-primary-success);
    border-color: var(--lmh-primary-success);
    color: var(--lmh-primary-info);
}

.pagination .nav-links .page-numbers.dots {
    opacity: 0.5;
    pointer-events: none;
    border-color: #ccc;
    color: #ccc;
}

a.btn.btn-success-lmh {
    background: var(--lmh-primary-success);
    border-radius: 0;
    color: var(--lmh-primary-info);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0;
}

.thg-theme h2.sidebar-foundation-text {
    background-color: var(--lmh-primary-success);
    font-size: 28px;
    padding: 20px 40px;
    color: var(--lmh-primary-info);
}

.thg-theme h2.sidebar-foundation-text a {
    color: var(--lmh-primary-info);
    font-size: 28px;
}

.single-foundation hr.wp-block-separator {
    margin: 2.5rem 0;
    background: transparent;
    border-bottom: 2px solid #8bbee8;
    height: 0;
    border-top: 0;
}

.single-foundation h2.span {
    color: #4c8c2b;
    font-size: 24px;
}

.single-foundation h2.span a {
    font-size: 24px;
    color: var(--lmh-primary-info);
}

a.YouTubeVideo {
    display: block;
    max-width: 415px;
    position: relative;
}

a.YouTubeVideo .YouTubeVideoButton {
    background: transparent url(/wp-content/uploads/2026/03/play-btn.png) no-repeat;
    background-size: contain;
    position: absolute;
    bottom: 40%;
    left: 35%;
    width: 100px;
    height: 50px;
}

.academy-alumni img {
    width: 100%;
}

.academy-alumni p {
    background: #8bbee8;
    color: #00426a;
    padding: 10px;
}

.footer-block p a {
    color: white !important;
    font-size: 16px !important;
    text-decoration: none !important;
}

.postid-2936 .related-procedures {
    display: none;
}

.postid-4722 .doubled-buttons {
    display: none
}

/* Ensure header stays above banner */
#topheader,
#mainheader {
    z-index: 99 !important;
}

.thg-banner {
    position: relative;
    z-index: 0;
}

@media (max-width: 768px) {
    .thg-banner__viewport {
        height: 55lvh !important;
    }
}

@media (max-width: 790px) {
    .text-sm-dark,
    .text-sm-dark * {
        color: #000 !important;
    }
    .text-sm-info,
    .text-sm-info * {
        color: #00426A !important;
    }
}

@media (min-width: 1150px) and (max-width: 1400px) {
    ul#menu-main-menu li a {
        font-size: 15px;
    }

    .thg-theme div#author-bio-box {
        padding: 25px 25px;
        grid-template-columns: 160px auto;
    }

    .thg-theme div#author-bio-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .thg-theme .author-content {
        margin-left: 20px;
        margin-right: 0;
        margin-bottom: 20px;
    }

    .thg-theme .author-post-meta {
        margin-left: 20px;
        white-space: normal;
    }
}

/* ============================================================
   Tablet Responsive Fixes (791px – 991px)
   Bootstrap's lg breakpoint is 992px; the theme targets 980px.
   These rules bridge that 12px gap so the header/banner behave
   correctly on tablets (~980px wide).
   ============================================================ */

/* Banner: remove the 30px top offset on tablet.
   Already zeroed for mobile (max-width: 790px) in the block CSS. */
@media (min-width: 791px) and (max-width: 991px) {
    .thg-banner__image {
        top: 0;
    }
}

/* Header nav & top bar: force Bootstrap desktop (lg) layout at 990px */
@media (min-width: 990px) and (max-width: 991px) {

    /* --- Main header: show collapsed nav, hide hamburger --- */
    #mainheader.navbar-expand-lg .navbar-toggler {
        display: none;
    }
    #mainheader.navbar-expand-lg .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
    }
    #mainheader.navbar-expand-lg .navbar-nav {
        flex-direction: row;
    }

    /* col-lg-* activates at 992px by default; force it at 980px */
    #mainheader .col-lg-4 {
        flex: 0 0 auto;
        width: 33.3333333333%;
    }
    #mainheader .col-lg-8 {
        flex: 0 0 auto;
        width: 66.6666666667%;
    }

    /* Tighten nav-link padding & font size to prevent item collisions */
    #mainheader .nav-link {
        padding-right: 0.25rem;
        padding-left: 0.25rem;
        font-size: 13px;
    }

    /* --- Top header: show the left menu & fix two-column layout --- */
    #topheader .d-none.d-lg-block {
        display: flex !important;
    }
    #topheader .col-lg-6 {
        flex: 0 0 auto;
        width: 50%;
    }
    #topheader .navbar-nav {
        flex-direction: row;
        flex-wrap: nowrap;
    }
    #topheader .justify-content-lg-start {
        justify-content: flex-start !important;
    }
    #topheader .justify-content-lg-end {
        justify-content: flex-end !important;
    }
    #topheader .nav-link {
        font-size: 12px;
        padding: 0.25rem 0.5rem;
    }
}

@media (min-width: 990px) and (max-width: 1150px) {
    .thg-theme ul#menu-main-menu li a {
        padding: 3px 10px;
        font-size: 12px;
    }
}

@media (min-width: 800px) and (max-width: 1150px) {
    .thg-banner__viewport {
        height: 65lvh !important;
    }
}

@media (max-width: 990px) {
    .thg-theme #top-header {
        display: none !important;
    }
    .thg-theme .fs-28,
.thg-theme .fs-28 a {
    font-size: 23px;
}
}

.team-grid-container a.btn-lmh-details,
.team-grid-container a.btn-departments,
.post-categories-shortcode a,
.calendar-buttons-row .btn-event-calendar,
.team-carousel a.btn-lmh-details,
.team-carousel a.btn-departments,
.locaton-buttons a.btn-register,
.locaton-buttons a.btn-lmh-details,
.breadcrumb-item a {
 font-size: 16px;
}

.board-members-section .wp-block-heading a {
    text-decoration: none;
}

/* Mobile Tabs: Horizontal Scroll */
@media (max-width: 768px) {
    .stories-custom-tabs {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 10px;
        margin: 0 -15px;
        padding: 0 15px 15px 15px;
    }

    .search-icon-circle i{
        font-size: 28px;
    }

    .thg-card-grid-container.cols-4 {
        grid-template-columns: repeat(1, 1fr);
    }

    .stories-custom-tabs::-webkit-scrollbar {
        display: none;
    }

    .stories-tab-link {
        padding: 8px 16px;
        font-size: 14px;
        margin: 0;
        flex-shrink: 0;
    }

    .location-extras {
        display: flex;
    }
}