/* ==========================================================================
   08-providers-facet-nextpatient.css
   Provider search, FacetWP, NextPatient widget overrides
   Extracted from aqua.css §1 (search), §2–§8, §13, §20
   ========================================================================== */

/* ==========================================================================
   SEARCH RESULTS PAGE
   ========================================================================== */

/* Search Pagination */
.fa-angle-right:before {
    color: #333;
}
.fa-angle-left:before {
    color: #333;
}

.search-results .pagination li.page-next a, .search-results .pagination li.page-prev a  {
	background: transparent !important;
}

.search-results .pagination .page-prev span.btn-disable-hover {
	display:none !important;
}

.search-results .post-content article + article {
    margin: 0px 0px 0px 0px;
}

/* 2-Column Search Results Grid CSS */
.search-results .post-body .row-parent:not(.row-navigation) {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.search-results .post-body article {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 24px;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #e5e7eb;
}

.search-results .post-body article:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.search-results .post-body .entry-header {
    margin-bottom: 16px;
}

.search-results .post-body .entry-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.3;
}

.search-results .post-body .entry-title a {
    color: var(--uncode-palette-color-916765);
    text-decoration: none;
}

.search-results .post-body .entry-title a:hover {
    text-decoration: underline;
    color: var(--uncode-palette-color-916765);
}

.search-results .post-body .entry-summary {
    color: #6b7280;
    line-height: 1.6;
    flex: 1;
    margin-bottom: 16px;
}

/* Add "Read more" links after each excerpt */
.search-results .post-body .entry-summary::after {
    content: 'Read more →';
    display: block;
    margin-top: 16px;
    color: var(--uncode-palette-color-916765);
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.search-results .post-body .entry-summary:hover::after {
    color: var(--uncode-palette-color-916765);
}

/* Category tags */
.search-results .post-body .category_service-cosmetic .entry-header::before {
    content: 'Cosmetic';
    display: block;
    background: #e5e7eb;
    color: #374151;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 8px;
    width: fit-content;
}

.search-results .post-body .category_service-medical .entry-header::before {
    content: 'Medical';
    display: block;
    background: #dbeafe;
    color: #1e40af;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 8px;
    width: fit-content;
}

.search-results .post-body .category-blog .entry-header::before {
    content: 'Blog';
    display: block;
    background: #fef3c7;
    color: #92400e;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 8px;
    width: fit-content;
}

/* Responsive Design */
@media (max-width: 768px) {
    .search-results .post-body .row-parent:not(.row-navigation) {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 16px;
    }
    
    .search-results .post-body article {
        padding: 20px;
    }
    
    .search-results .post-body .entry-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .search-results .post-body .row-parent:not(.row-navigation) {
        padding: 12px;
    }
    
    .search-results .post-body article {
        padding: 16px;
    }
}

/* ==========================================================================
   FACET WP SELECTIONS
   ========================================================================== */

.fwpl-col.el-ymt9ah {
  /* This is the container that will detect hover for the entire card */
}

/* Style the image container for overflow handling */
.fwpl-item.el-dt925u {
  overflow: hidden;
  transition: all 0.3s ease;
}

/* Style the image link */
.fwpl-item.el-dt925u a {
  display: block;
  overflow: hidden;
}

/* Style the image for smooth transitions */
.fwpl-item.el-dt925u img {
  transition: transform 0.3s ease, filter 0.3s ease;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hover effect triggered by hovering ANYWHERE on the entire card */
.fwpl-col.el-ymt9ah:hover .fwpl-item.el-dt925u img {
  transform: scale(1.1); /* Zoom in by 10% */
  filter: brightness(0.9); /* Darken by 10% */
}

/* Optional: Add subtle shadow to image container when card is hovered */
.fwpl-col.el-ymt9ah:hover .fwpl-item.el-dt925u {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Ensure all buttons and links remain fully clickable */
.fwpl-item.el-es29kh a,
.fwpl-item.el-xcdz5j a,
.fwpl-item.el-1jdxae a,
.fwpl-item.el-dt925u a {
  position: relative;
  z-index: 2;
  pointer-events: auto;
}

.facetwp-selections ul::before {
    display: inline-block;
    content: 'Your Selections: ';
    font-weight: bold;
}

.facetwp-selections li {
    display: inline-block;
    line-height: 1;
    padding: 8px 16px;
    margin: 0px 6px;
    border-radius: 4px;
    background: #f8f8f8;
    font-size: 18px;
}

.facetwp-selections .facetwp-selection-value {
    color: var(--uncode-palette-color-916765);
}

.facetwp-selections .facetwp-selection-label {
    display: none;
}

/* ==========================================================================
   PROVIDER GRID LAYOUT - MAIN STRUCTURE
   ========================================================================== */

/* Target the main layout container */
.fwpl-layout.el-ptvr9j {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

/* Target each result card */
.fwpl-layout.el-ptvr9j .fwpl-result {
    background: white;
    border-radius: 5px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Target the row inside each result */
.fwpl-layout.el-ptvr9j .fwpl-result .fwpl-row.el-yqt486 {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Target the column container */
.fwpl-layout.el-ptvr9j .fwpl-result .fwpl-row.el-yqt486 .fwpl-col.el-ymt9ah {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 400px;
}

/* Target the image container */
.fwpl-layout.el-ptvr9j .fwpl-result .fwpl-item.el-dt925u {
    text-align: center;
    margin-bottom: 16px;
	overflow: hidden;
	position: relative;
}

.fwpl-layout.el-ptvr9j .fwpl-result .fwpl-item.el-dt925u:before {
	content: '';
	position: absolute;
	display: block;
	inset: 0;
	background: #000;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: all 0.3s ease 0.1s;
	z-index: 2;
}

/* Target the images */
.fwpl-layout.el-ptvr9j .fwpl-result .fwpl-item.el-dt925u img {
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover;
	transition: transform 1s ease;
}

.fwpl-layout.el-ptvr9j .fwpl-result .fwpl-item.el-dt925u:hover img {
	 transform: scale(1.1);
}
.fwpl-layout.el-ptvr9j .fwpl-result .fwpl-item.el-dt925u:hover:before {
	opacity: 0.2;
	visibility: visible;
}


/* Target the name container */
.fwpl-layout.el-ptvr9j .fwpl-result .fwpl-item.el-es29kh {
    text-align: center;
    margin-bottom: 20px;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
}

/* Target the name heading */
.fwpl-layout.el-ptvr9j .fwpl-result .fwpl-item.el-es29kh h3.h6 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
}

/* Target the name link */
.fwpl-layout.el-ptvr9j .fwpl-result .fwpl-item.el-es29kh h3.h6 a {
    text-decoration: none;
    color: inherit;
}

.fwpl-layout.el-ptvr9j .fwpl-result .fwpl-item.el-es29kh h3.h6 a:hover {
    color: var(--uncode-palette-color-916765) ;
}

/* Target the View button container */
.fwpl-layout.el-ptvr9j .fwpl-result .fwpl-item.el-xcdz5j.view-more {
    margin-bottom: 12px;
    margin-top: 0;
    width: 100%;
}

/* Target the View button */
.fwpl-layout.el-ptvr9j .fwpl-result .fwpl-item.el-xcdz5j.view-more .fwpl-btn {
    display: block;
    width: 100%;
    padding: 12px 24px;
    background-color: #f8f9fa !important;
    color: #333 !important;
    border: 1px solid #e9ecef;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

/* Target the View button hover */
.fwpl-layout.el-ptvr9j .fwpl-result .fwpl-item.el-xcdz5j.view-more .fwpl-btn:hover {
    background-color: #e9ecef !important;
    transform: translateY(-1px);
}

/* Target the Book Appointment button container */
.fwpl-layout.el-ptvr9j .fwpl-result .fwpl-item.el-1jdxae.book {
    margin-bottom: 0;
    width: 100%;
}

/* Target the Book Appointment button (Goodman purple: --gd-rose in :root) */
.fwpl-layout.el-ptvr9j .fwpl-result .fwpl-item.el-1jdxae.book .fwpl-btn {
    display: block;
    width: 100%;
    padding: 12px 24px;
    background-color: var(--gd-rose, #96556e) !important;
    color: white !important;
    border: 1px solid var(--gd-rose, #96556e);
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

/* Target the Book Appointment button hover */
.fwpl-layout.el-ptvr9j .fwpl-result .fwpl-item.el-1jdxae.book .fwpl-btn:hover {
    background-color: color-mix(in srgb, var(--gd-rose, #96556e) 88%, black) !important;
    border-color: color-mix(in srgb, var(--gd-rose, #96556e) 88%, black);
    transform: translateY(-1px);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .fwpl-layout.el-ptvr9j {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 16px;
    }
    
    .fwpl-layout.el-ptvr9j .fwpl-result {
        padding: 16px;
    }
    
    .fwpl-layout.el-ptvr9j .fwpl-result .fwpl-item.el-dt925u img {
        width: 100% !important;
    }
}

/* ==========================================================================
   NEXTPATIENT WIDGETS - PRIMARY
   ========================================================================== */

/* NEXTPATIENT APPOINTMENT BOOKING WIDGET */
#nextpatient-widget\.1.aqua-book-appt,
.aqua-book-appt {
    font-family: inherit;
    line-height: 1.6;
}

.nextpatient-provider-table .nextpatient-provider-image-cell {
	
}
.aqua-book-appt .nextpatient-provider-table .nextpatient-provider-image-cell {
    background-size: contain;
    background-position: center top;
    background-repeat: no-repeat;
}

/* SEARCH CRITERIA FORM */
.aqua-book-appt .nextpatient-criteria-container {
    margin-bottom: 30px;
}

.aqua-book-appt .nextpatient-criteria-box {
    margin-bottom: 20px;
}

.aqua-book-appt .nextpatient-criteria-label label {
    font-size: 0.9em;
    font-weight: 600;
    color: #333333;
    margin-bottom: 6px;
    display: block;
}

.aqua-book-appt .nextpatient-criteria-input select,
.aqua-book-appt .nextpatient-criteria-input input[type="text"],
.aqua-book-appt .nextpatient-criteria-input input[name="age"],
.aqua-book-appt .nextpatient-criteria-input input[name="zip"] {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 4px;
    font-size: 1em;
    background: white;
    color: #333333;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.aqua-book-appt .nextpatient-criteria-input select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    cursor: pointer;
}

.aqua-book-appt .nextpatient-criteria-input input[type="submit"] {
    background-color: var(--uncode-palette-color-210407);
    color: white;
    border: 2px solid var(--uncode-palette-color-210407);
    padding: 12px 24px;
    border-radius: 28px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    width: auto;
}

.aqua-book-appt .nextpatient-criteria-input input[type="submit"]:hover {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%), var(--uncode-palette-color-210407);
    border-color: var(--uncode-palette-color-210407);
    color: white;
    transform: none;
    box-shadow: none;
}

.aqua-book-appt .nextpatient-criteria-input input:hover,
.aqua-book-appt .nextpatient-criteria-input select:hover {
    border-color: var(--uncode-palette-color-916765);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.aqua-book-appt .nextpatient-criteria-input input:focus,
.aqua-book-appt .nextpatient-criteria-input select:focus {
    outline: none;
    border-color: var(--uncode-palette-color-916765);
    box-shadow: 0 0 0 3px rgba(0, 84, 154, 0.1);
}

/* PROVIDER RESULTS */
.aqua-book-appt .nextpatient-provider-table {
    margin-top: 30px;
}

.aqua-book-appt .nextpatient-provider {
    margin-bottom: 30px;
    border: 1px solid #e8ecef;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.2s ease;
    background: white;
    display: flex;
    align-items: flex-start;
}

.aqua-book-appt .nextpatient-provider:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    border-color: var(--uncode-palette-color-916765);
}

.aqua-book-appt .nextpatient-provider-image-cell {
    width: 140px;
    height: 140px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.aqua-book-appt .nextpatient-provider-provider-cell {
    flex: 1;
    padding: 24px 28px;
}

.aqua-book-appt .nextpatient-provider-name-block {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.aqua-book-appt .nextpatient-provider-name-block-left {
    display: none; /* Hide small photo since we have the large one */
}

.aqua-book-appt .nextpatient-provider-name-block-right {
    flex: 1;
}

.aqua-book-appt .nextpatient-provider-name {
    font-size: 1.3em;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    line-height: 1.3;
}

.aqua-book-appt .nextpatient-provider-address {
    color: #6c757d;
    font-size: 0.95em;
    line-height: 1.4;
    margin-bottom: 6px;
}

.aqua-book-appt .nextpatient-provider-address em {
    color: var(--uncode-palette-color-916765);
    font-weight: 600;
    font-style: normal;
}

.aqua-book-appt .nextpatient-provider-age-range {
    color: #6c757d;
    font-size: 0.9em;
    margin-bottom: 6px;
}

.aqua-book-appt .nextpatient-provider-blurb {
    margin-bottom: 4px;
}

.aqua-book-appt .nextpatient-provider-blurb a {
    color: var(--uncode-palette-color-916765);
    text-decoration: none;
    font-size: 0.9em;
    font-weight: 500;
}

.aqua-book-appt .nextpatient-provider-blurb a:hover {
    text-decoration: underline;
}

/* APPOINTMENT TIME SLOTS - FIXED BACKGROUND ISSUE */
.aqua-book-appt .nextpatient-provider-times {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 4px;
}

.aqua-book-appt .nextpatient-provider-times > div {
    display: inline-block !important;
    vertical-align: top !important;
    margin: 0 !important;
}

.aqua-book-appt .nextpatient-slot-time {
    padding: 16px 20px !important;
    background: linear-gradient(135deg, var(--uncode-palette-color-206917) 0%, #e8e8e8 100%) !important;
    border: none !important;
    border-radius: 4px !important;
    color: var(--uncode-palette-color-589256) !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    min-width: 120px;
    box-sizing: border-box !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
}

.aqua-book-appt .nextpatient-slot-time:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, var(--uncode-palette-color-916765) 0%, #0066bb 100%) !important;
    color: white !important;
}

.aqua-book-appt .nextpatient-slot-time-day {
    font-size: 0.9em;
    font-weight: 500;
    margin-bottom: 4px;
    line-height: 1.3;
    display: block;
}

.aqua-book-appt .nextpatient-slot-time-time {
    font-size: 1.2em;
    font-weight: 600;
    line-height: 1.3;
    display: block;
}

.aqua-book-appt .nextpatient-slot-time-more {
    background: linear-gradient(135deg, var(--uncode-palette-color-916765) 0%, #0066bb 100%) !important;
    color: white !important;
    font-style: italic;
    font-size: 1.1em;
    padding: 16px 24px !important;
}

.aqua-book-appt .nextpatient-slot-time-more:hover {
    background: linear-gradient(135deg, var(--uncode-palette-color-916765) 0%, var(--uncode-palette-color-916765) 100%) !important;
}

/* CALL TO SCHEDULE STYLING */
.aqua-book-appt .call-no-times {
    color: #6c757d;
    font-style: italic;
    text-align: center;
    background: #f8f9fa;
    padding: 18px;
    border-radius: 4px;
    margin-top: 4px;
}

.aqua-book-appt .call-no-times a {
    color: var(--uncode-palette-color-916765);
    text-decoration: none;
    font-weight: 600;
}

.aqua-book-appt .call-no-times a:hover {
    text-decoration: underline;
}

/* RESPONSIVE DESIGN - IMPROVED MOBILE LAYOUT */
@media (max-width: 600px) {
    .aqua-book-appt .nextpatient-provider {
        flex-direction: column;
        align-items: stretch;
    }
    
    .aqua-book-appt .nextpatient-provider-image-cell {
        width: 100%;
        height: 160px;
        order: -1;
    }
    
    .aqua-book-appt .nextpatient-provider-provider-cell {
        padding: 20px;
        width: 100%;
    }
    
    .aqua-book-appt .nextpatient-provider-name {
        font-size: 1.2em;
    }
    
    .aqua-book-appt .nextpatient-provider-times {
        justify-content: center;
        gap: 8px;
    }
    
    .aqua-book-appt .nextpatient-slot-time {
        min-width: 110px;
        padding: 14px 16px !important;
    }
    
    .aqua-book-appt .nextpatient-slot-time-day {
        font-size: 0.85em;
    }
    
    .aqua-book-appt .nextpatient-slot-time-time {
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .aqua-book-appt .nextpatient-provider-image-cell {
        height: 140px;
    }
    
    .aqua-book-appt .nextpatient-provider-provider-cell {
        padding: 16px;
    }
    
    .aqua-book-appt .nextpatient-provider-name {
        font-size: 1.1em;
        line-height: 1.2;
    }
    
    .aqua-book-appt .nextpatient-provider-address {
        font-size: 0.9em;
    }
    
    .aqua-book-appt .nextpatient-slot-time {
        min-width: 100px;
        padding: 12px 14px !important;
    }
    
    .aqua-book-appt .nextpatient-slot-time-day {
        font-size: 0.8em;
    }
    
    .aqua-book-appt .nextpatient-slot-time-time {
        font-size: 1em;
    }
}

/* SUBTLE ANIMATION */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.aqua-book-appt .nextpatient-provider {
    animation: fadeIn 0.3s ease forwards;
}

.aqua-book-appt .nextpatient-provider:nth-child(2) { animation-delay: 0.1s; }
.aqua-book-appt .nextpatient-provider:nth-child(3) { animation-delay: 0.2s; }
.aqua-book-appt .nextpatient-provider:nth-child(4) { animation-delay: 0.3s; }

/* ==========================================================================
   NEXTPATIENT WIDGETS - SIDEBAR
   ========================================================================== */

.nextpatient-sidebar.provider #nextpatient-schedule {
    margin-top: 16px;
}

.nextpatient-sidebar.provider #nextpatient-schedule .nextpatient-provider-location {
    margin-bottom: 20px;
    border: 1px solid #e8ecef;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.2s ease;
    background: white;
}

.nextpatient-sidebar.provider #nextpatient-schedule .nextpatient-provider-location:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    border-color: var(--uncode-palette-color-916765);
}

.nextpatient-sidebar.provider #nextpatient-schedule .nextpatient-location-name {
    font-size: 1.3em;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 6px;
    padding: 18px 20px 0;
}

.nextpatient-sidebar.provider #nextpatient-schedule .nextpatient-location-address {
    color: #6c757d;
    font-size: 0.9em;
    line-height: 1.4;
    padding: 0 20px 16px;
    border-bottom: 1px solid #f0f2f4;
}

.nextpatient-sidebar.provider #nextpatient-schedule .nextpatient-provider-times {
    padding: 18px 20px;
}

/* When nextpatient-provider-times contains nextpatient-no-time, make it full width */
.nextpatient-sidebar.provider #nextpatient-schedule .nextpatient-provider-times:has(.nextpatient-no-time) {
    display: block;
    width: 100%;
}

/* Empty or whitespace-only nextpatient-provider-times - show "Choose a visit reason above" message */
.nextpatient-sidebar.provider #nextpatient-schedule .nextpatient-provider-times:not(:has(*)) {
    color: #6c757d;
    font-style: italic;
    text-align: left;
    background: #f8f9fa;
    padding: 16px;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
    display: block;
    margin: 0;
}

.nextpatient-sidebar.provider #nextpatient-schedule .nextpatient-provider-times:not(:has(*)):after {
    content: "Choose a visit reason above.";
}

/* SELECT STYLING */
.nextpatient-sidebar.provider .nextpatient-reason-select select,
.nextpatient-sidebar.provider select[name="reason_id"] {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 4px;
    font-size: 1em;
    background: white;
    color: #333333;
    transition: all 0.2s ease;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    cursor: pointer;
}

.nextpatient-sidebar.provider .nextpatient-reason-select select:hover,
.nextpatient-sidebar.provider select[name="reason_id"]:hover {
    border-color: var(--uncode-palette-color-916765);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.nextpatient-sidebar.provider .nextpatient-reason-select select:focus,
.nextpatient-sidebar.provider select[name="reason_id"]:focus {
    outline: none;
    border-color: var(--uncode-palette-color-916765);
    box-shadow: 0 0 0 3px rgba(0, 84, 154, 0.1);
}

/* DEFAULT STATE - Before user selects a reason - IMPROVED LAYOUT */
.nextpatient-sidebar.provider #nextpatient-schedule .time-preview-box {
    margin: 0 !important;
    padding: 16px !important;
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    background: linear-gradient(135deg, var(--uncode-palette-color-206917) 0%, #e8e8e8 100%) !important;
    border: none !important;
    border-radius: 4px !important;
    color: var(--uncode-palette-color-589256);
    text-decoration: none;
    font-weight: 500;
    cursor: default;
    opacity: 0.6;
    text-align: left !important;
}

.nextpatient-sidebar.provider #nextpatient-schedule .time-line {
    width: 100%;
    margin-bottom: 8px;
    text-align: left;
}

.nextpatient-sidebar.provider #nextpatient-schedule .time-line-label {
    font-size: 0.9em !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px;
    color: #333333;
}

.nextpatient-sidebar.provider #nextpatient-schedule .time-line-time {
    font-size: 0.9em !important;
    font-weight: 600 !important;
    color: #333333;
    margin-left: 8px;
}

.nextpatient-sidebar.provider #nextpatient-schedule .time-line-instructions {
    font-size: 0.85em !important;
    line-height: 1.35 !important;
    text-align: left !important;
    margin: 0 !important;
    color: #555555;
    width: 100%;
    display: block;
}

/* SELECTED STATE - After user selects a reason */
.nextpatient-sidebar.provider #nextpatient-schedule .nextpatient-slot-time {
    margin: 4px 4px 4px 0 !important;
    padding: 12px 16px !important;
    display: inline-block !important;
    background: linear-gradient(135deg, var(--uncode-palette-color-206917) 0%, #e8e8e8 100%) !important;
    border: none !important;
    border-radius: 4px !important;
    color: var(--uncode-palette-color-589256) !important;
    text-decoration: none !important;
    transition: all 0.2s ease;
    font-weight: 500;
    cursor: pointer;
    opacity: 1;
    text-align: center;
    min-width: 100px;
}

.nextpatient-sidebar.provider #nextpatient-schedule .nextpatient-slot-time:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, var(--uncode-palette-color-916765) 0%, #0066bb 100%) !important;
    color: white !important;
}

.nextpatient-sidebar.provider #nextpatient-schedule .nextpatient-slot-time-day {
    font-size: 0.85em;
    font-weight: 500;
    margin-bottom: 2px;
}

.nextpatient-sidebar.provider #nextpatient-schedule .nextpatient-slot-time-time {
    font-size: 1.1em;
    font-weight: 600;
}

.nextpatient-sidebar.provider #nextpatient-schedule .nextpatient-more-times {
    background: linear-gradient(135deg, var(--uncode-palette-color-916765) 0%, #0066bb 100%) !important;
    color: white !important;
    font-style: italic;
}

.nextpatient-sidebar.provider #nextpatient-schedule .nextpatient-more-times:hover {
    background: linear-gradient(135deg, var(--uncode-palette-color-916765) 0%, var(--uncode-palette-color-916765) 100%) !important;
}

/* No appointments available state - FULL WIDTH */
.nextpatient-sidebar.provider #nextpatient-schedule .nextpatient-no-time {
    color: #6c757d;
    font-style: italic;
    text-align: center;
    background: #f8f9fa;
    padding: 16px;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
    display: block;
    margin: 0;
}

.nextpatient-sidebar.provider #nextpatient-schedule .nextpatient-no-time a {
    color: var(--uncode-palette-color-916765);
    text-decoration: none;
    font-weight: 600;
}

.nextpatient-sidebar.provider #nextpatient-schedule .nextpatient-no-time a:hover {
    text-decoration: underline;
}

/* Hide the "No upcoming appointments" text when appointments are available */
.nextpatient-sidebar.provider #nextpatient-schedule .nextpatient-provider-location:has(.nextpatient-slot-time):after {
    display: none !important;
}

/* Responsive design */
@media (max-width: 600px) {
    .nextpatient-sidebar.provider #nextpatient-schedule .nextpatient-location-name,
    .nextpatient-sidebar.provider #nextpatient-schedule .nextpatient-location-address,
    .nextpatient-sidebar.provider #nextpatient-schedule .nextpatient-provider-times {
        padding-left: 16px;
        padding-right: 16px;
    }
    
    .nextpatient-sidebar.provider #nextpatient-schedule .nextpatient-slot-time {
        display: block !important;
        margin-bottom: 8px !important;
        text-align: center;
    }
}

/* Subtle animation for loading state */
.nextpatient-sidebar.provider #nextpatient-schedule .nextpatient-provider-location {
    animation: fadeIn 0.3s ease forwards;
}

.nextpatient-sidebar.provider #nextpatient-schedule .nextpatient-provider-location:nth-child(2) { 
    animation-delay: 0.1s; 
}

.nextpatient-sidebar.provider #nextpatient-schedule .nextpatient-provider-location:nth-child(3) { 
    animation-delay: 0.2s; 
}

.nextpatient-sidebar.provider #nextpatient-schedule .nextpatient-provider-location:nth-child(4) { 
    animation-delay: 0.3s; 
}

/* Providers Single Page */
.nextpatient-sidebar h3 {
    margin-bottom: 16px;
}

.nextpatient-sidebar .nextpatient-provider-times {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 0px;
}

.nextpatient-sidebar .nextpatient-provider-times:has(.time-preview-box) {
    grid-template-columns: 1fr;
}

.nextpatient-sidebar .time-line-instructions {
    text-align: left !important;
}

.nextpatient-sidebar .nextpatient-provider-times a {
    width: 100%;
    background: transparent;
    border-radius: 8px;
    box-shadow: 0px 2px 5px rgba(103, 110, 118, 0.08), 0px 0px 0px 1px rgba(103, 110, 118, 0.16), 0px 1px 1px rgba(0, 0, 0, 0.12);
    height: auto !important; 
}

.nextpatient-sidebar .nextpatient-provider-times a:hover {
    border-color: var(--uncode-palette-color-916765);
}

.nextpatient-sidebar #nextpatient-schedule {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ==========================================================================
   PROVIDER GRID RESPONSIVE OVERRIDES
   ========================================================================== */

/* Base styles - Mobile first: 1 column */
.fwpl-layout.el-ptvr9j {
  grid-template-columns: 1fr !important;
  grid-gap: 16px !important;
}

/* Tablet: 2 columns above 767px */
@media (min-width: 768px) {
  .fwpl-layout.el-ptvr9j {
    grid-template-columns: repeat(2, 1fr) !important;
    grid-gap: 20px !important;
  }
}

/* Tablet Large: 3 columns above 959px */
@media (min-width: 960px) {
  .fwpl-layout.el-ptvr9j {
    grid-template-columns: repeat(3, 1fr) !important;
    grid-gap: 24px !important;
  }
}

/* Desktop: 4 columns above 1200px */
@media (min-width: 1200px) {
  .fwpl-layout.el-ptvr9j {
    grid-template-columns: repeat(3, 1fr) !important;
    grid-gap: 36px !important;
  }
}

.fwpl-item.view-more {
  align-self: start;
  margin-top: 16px;
  display: block;
}

.fwpl-item.book {
  align-self: start;
}

.fwpl-item.book a {
    border-radius: 4px;
    margin-top: 8px;
    display: block;
}

.fwpl-item.view-more .fwpl-btn::after {
    content: "\f054"; 
    font-family: "uncodeicon";
    font-weight: 900;
    margin-left: 8px;
    font-size: 0.8em;
}

.provider-facets .facetwp-facet {
    margin-bottom: 10px;
}

.fwpl-item.service-types .fwpl-term {
    font-size: 12px;
}

/* Hide services beyond the first 3 */
.fwpl-item.service-types .fwpl-term:nth-child(n+4) {
    display: none;
}

/* ==========================================================================
   PROVIDER SPECIALTIES & CERTIFICATIONS
   ========================================================================== */

.provider-cert {
    margin-top: 12px !important;
}

.provider-specialties {
    background: var(--uncode-palette-color-206917) !important;
    padding: 16px;
    border-radius: 4px;
    margin: 20px 0;
}

.provider-specialties strong {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
}

.provider-specialties ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
    gap: 8px;
}

/* For smaller screens, allow fewer columns */
@media (max-width: 768px) {
    .provider-specialties ul {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

@media (max-width: 480px) {
    .provider-specialties ul {
        grid-template-columns: 1fr;
    }
}

.provider-specialties li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 5px;
    line-height: 1.4;
}

/* Blue circle bullet with white checkmark */
.provider-specialties li::before {
    content: "\f00c"; /* Font Awesome checkmark unicode */
    font-family: "uncodeicon";
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    background-color: var(--uncode-palette-color-916765); /* Updated blue color */
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: normal;
    line-height: 1;
}

body.single-provider .provider-specialties a,
body.single-provider .col-lg-8.column_child .uncont > div:nth-child(3) p > a {
  display: inline-block !important;
  background-color: var(--uncode-palette-color-916765) !important;
  color: white !important;
  font-size: 14px !important;
  padding: 8px 16px !important;
  border-radius: 2px !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  pointer-events: none !important;
}

.provider-specialties a:hover {
  background-color: #003d7a;
  transition: background-color 0.2s ease;
}

/* ==========================================================================
   MOBILE BOOK APPOINTMENT
   ========================================================================== */

/* Hide mobile book appointment button by default */
.book-appt.mobile {
  display: none;
}

/* Show mobile book appointment button only on mobile (below 959px) */
@media (max-width: 959px) {
  .book-appt.mobile {
    display: block;
  }
}

/* Add scroll offset for sticky nav - no visual spacing added */
#book-appointment {
  scroll-margin-top: 64px;
}

/* ==========================================================================
   NEXTPATIENT WIDGET ADDITIONAL STYLES
   ========================================================================== */

/* Base Styles & Fonts */
.nextpatient-box {
    width: 100%;
    max-width: 1000px;
    text-align: left;
    padding-bottom: 40px;
}

.nextpatient-font {
    font-size: 16px;
}

.nextpatient-no-times-available {
    font-size: 1.2em;
    margin-top: 5px;
    padding: 10px 0px;
}

/*
 * NextPatient injects a <style> block with single-class rules (e.g. .nextpatient-criteria-container { display: block }).
 * wederm.com wins the cascade the same way: theme uses .aqua-book-appt descendants + !important on layout.
 * Do NOT scope to body.page-id-* or custom body classes — those often do not match production.
 */
/* Space between page headline (e.g. "Search First Available Appointment") and the widget */
.aqua-book-appt .nextpatient-box {
    margin-top: clamp(20px, 3vw, 36px);
}

.aqua-book-appt .nextpatient-criteria-container {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-end !important;
    gap: 4px 10px !important;
    width: 100% !important;
    margin: 0 0 40px !important;
}

.aqua-book-appt .nextpatient-criteria-box {
    display: flex !important;
    flex-direction: column !important;
    flex: 0 1 auto !important;
    margin: 0 !important;
    padding: 0 !important;
    min-width: 0 !important;
}

.aqua-book-appt .nextpatient-criteria-box:has(input[name="age"]),
.aqua-book-appt .nextpatient-criteria-box:has(select[name="insurance_id"]) {
    display: none !important;
}

.aqua-book-appt .nextpatient-criteria-box:has(select[name="group"]) {
    flex: 0 1 auto !important;
    min-width: min(100%, 200px);
}

.aqua-book-appt .nextpatient-criteria-box:has(select[name="reason_id"]) {
    flex: 0 1 150px !important;
    min-width: 120px;
    max-width: min(100%, 220px);
}

.aqua-book-appt .nextpatient-criteria-box:has(input[name="zip"]) {
    flex: 0 1 auto !important;
    min-width: 0;
}

.aqua-book-appt .nextpatient-criteria-box:has(input[type="submit"]) {
    flex: 0 0 auto !important;
    min-width: 0;
}

.aqua-book-appt .nextpatient-criteria-label,
.aqua-book-appt .nextpatient-criteria-label label {
    display: block;
    margin: 0 0 4px 2px;
    padding-top: 0;
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    color: #252d30;
}

.aqua-book-appt .nextpatient-criteria-label label {
    margin-bottom: 0;
}

.aqua-book-appt .nextpatient-criteria-input {
    display: flex !important;
    align-items: center;
    flex-wrap: nowrap;
    gap: 5px;
    min-width: 0;
}

/* Hide inline "within" text (raw text node) like wederm: zero font on wrapper, restore on controls */
.aqua-book-appt .nextpatient-criteria-box:has(input[name="zip"]) .nextpatient-criteria-input {
    align-items: flex-end !important;
    gap: 2px !important;
    flex-wrap: nowrap !important;
    white-space: nowrap;
    font-size: 0 !important;
    line-height: 0 !important;
    letter-spacing: 0 !important;
}

.aqua-book-appt .nextpatient-criteria-box:has(input[name="zip"]) .nextpatient-criteria-input input,
.aqua-book-appt .nextpatient-criteria-box:has(input[name="zip"]) .nextpatient-criteria-input select {
    font-size: 16px !important;
    line-height: 24px !important;
    font-family: "DM Sans", sans-serif;
    color: #252d30;
}

.aqua-book-appt .nextpatient-criteria-box:has(input[name="zip"]) .nextpatient-criteria-input [data-lastpass-icon-root] {
    display: none !important;
}

.aqua-book-appt .nextpatient-criteria-box:has(input[type="submit"]) .nextpatient-criteria-label {
    display: none;
}

.aqua-book-appt .nextpatient-criteria-box select,
.aqua-book-appt .nextpatient-criteria-box input:not([type="submit"]) {
    width: 100%;
    height: 56px;
    min-width: 0;
    padding: 0 18px;
    border: 1px solid rgba(21, 34, 41, 0.2);
    border-radius: 6px;
    box-sizing: border-box;
    background-color: #ffffff;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(103, 110, 118, 0.16), 0 2px 5px rgba(103, 110, 118, 0.08);
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: #252d30;
}

.aqua-book-appt .nextpatient-criteria-box select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 46px;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M7 10L12 15L17 10' stroke='%23252D30' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 24px;
    cursor: pointer;
}

.aqua-book-appt .nextpatient-criteria-box select:disabled {
    color: #48575c;
    opacity: 1;
    cursor: not-allowed;
}

.aqua-book-appt .nextpatient-criteria-box input[name="zip"]::placeholder {
    color: #48575c;
    opacity: 1;
}

.aqua-book-appt .nextpatient-criteria-box input[name="zip"] {
    flex: 0 1 104px;
    min-width: 104px;
    width: auto;
}

.aqua-book-appt .nextpatient-criteria-box select[name="max_miles"] {
    flex: 0 0 150px;
    width: 150px;
    min-width: 150px;
}

.aqua-book-appt .nextpatient-criteria-box input:not([type="submit"]):hover,
.aqua-book-appt .nextpatient-criteria-box select:hover {
    border-color: rgba(21, 34, 41, 0.35);
}

.aqua-book-appt .nextpatient-criteria-box input:not([type="submit"]):focus,
.aqua-book-appt .nextpatient-criteria-box select:focus {
    outline: none;
    border-color: #96556e;
    box-shadow: 0 0 0 3px rgba(150, 85, 110, 0.12);
}

.aqua-book-appt .nextpatient-criteria-box input[type="submit"] {
    width: auto;
    min-width: 120px;
    height: 56px;
    padding: 0 20px 0 46px;
    border: 1px solid #96556e;
    border-radius: 28px !important;
    box-sizing: border-box;
    background-color: #96556e;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Ccircle cx='9' cy='9' r='5.75' stroke='white' stroke-width='1.5'/%3E%3Cpath d='M13.5 13.5L17 17' stroke='white' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 18px center;
    background-size: 20px;
    box-shadow: none;
    color: #ffffff;
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.aqua-book-appt .nextpatient-criteria-box:has(input[type="submit"]) .nextpatient-criteria-input {
    display: flex !important;
    align-items: flex-end;
    justify-content: flex-start;
}

.aqua-book-appt .nextpatient-criteria-box:has(select[name="group"]) select,
.aqua-book-appt .nextpatient-criteria-box:has(select[name="reason_id"]) select {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.aqua-book-appt .nextpatient-criteria-box input[type="submit"]:hover,
.aqua-book-appt .nextpatient-criteria-box input[type="submit"]:focus {
    background-color: #7f4660;
    border-color: #7f4660;
    box-shadow: none;
    transform: none;
}

.aqua-book-appt .nextpatient-criteria-box input[type="submit"]:active {
    background-color: #6f3d53;
    border-color: #6f3d53;
}

@media (max-width: 959px) {
    .aqua-book-appt .nextpatient-criteria-container {
        gap: 8px 10px !important;
        margin-bottom: 32px !important;
    }

    .aqua-book-appt .nextpatient-criteria-box:has(select[name="group"]),
    .aqua-book-appt .nextpatient-criteria-box:has(select[name="reason_id"]) {
        flex: 1 1 calc(50% - 8px) !important;
        max-width: none;
    }
}

@media (max-width: 640px) {
    .aqua-book-appt .nextpatient-criteria-box:has(select[name="group"]),
    .aqua-book-appt .nextpatient-criteria-box:has(select[name="reason_id"]),
    .aqua-book-appt .nextpatient-criteria-box:has(input[name="zip"]) {
        flex: 1 1 100% !important;
        max-width: none;
    }

    .aqua-book-appt .nextpatient-criteria-box:has(input[type="submit"]) {
        flex: 1 1 100% !important;
    }

    .aqua-book-appt .nextpatient-criteria-box:has(input[name="zip"]) .nextpatient-criteria-input {
        gap: 6px;
    }

    .aqua-book-appt .nextpatient-criteria-box input[type="submit"] {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 479px) {
    .aqua-book-appt .nextpatient-criteria-box:has(input[name="zip"]) .nextpatient-criteria-input {
        flex-wrap: wrap !important;
        white-space: normal;
        gap: 8px !important;
    }

    .aqua-book-appt .nextpatient-criteria-box input[name="zip"],
    .aqua-book-appt .nextpatient-criteria-box select[name="max_miles"] {
        width: 100%;
        min-width: 0;
        flex: 1 1 100%;
    }
}

@media (max-width:500px) {
    .nextpatient-provider-table .nextpatient-provider {padding: 5px;}
    .nextpatient-provider-table .nextpatient-provider-name {text-align: left; font-size: 20px; line-height: 22px;}
    .nextpatient-provider-table .nextpatient-provider-blurb {text-align: left; font-size: 14px; margin-top: 6px;}
    .nextpatient-provider-table .nextpatient-provider-image-cell {display: none}
    .nextpatient-provider-table .nextpatient-provider-provider-cell {padding-left: 0px;}
    .nextpatient-provider-table .nextpatient-provider-times {padding-top: 5px; text-align: center;}
    .nextpatient-provider-table .nextpatient-slot-time {width: 100px;}
    .nextpatient-provider-table .nextpatient-provider-more-times {text-align: center;}
    .nextpatient-provider-table .nextpatient-provider-name-block {display: table}
    .nextpatient-provider-table .nextpatient-provider-name-block-left {display: table-cell; vertical-align: top; padding-right: 5px;}
    .nextpatient-provider-table .nextpatient-provider-name-block-right {display: table-cell; vertical-align: top;}
    .nextpatient-provider-table .nextpatient-provider-small-photo {height: 100px; width: 75px; background-size: cover; background-position: center;}
    .nextpatient-provider-table .next-appt-block {text-align: center}
    .nextpatient-provider-table .call-no-times {text-align: center}
}

@media (max-width:430px) {    
    .nextpatient-slot-time {padding: 11px 0px;}
}

/* ==========================================================================
   NEXTPATIENT — LOCATION DETAIL PAGES
   Figma spec: node 14530:4751
   Scoped to body.single-location so it never leaks to the main booking page.
   ========================================================================== */

/* ── Criteria / Filter Bar ──────────────────────────────────────────────── */
body.single-location .nextpatient-criteria-container {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-end !important;
    gap: 14px !important;
    width: 100% !important;
    margin: 0 0 40px !important;
}

body.single-location .nextpatient-criteria-box {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 0 !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Hide Age, Insurance, Zip, and Search — Figma only shows Visit Type + Visit Reason */
body.single-location .nextpatient-criteria-box:has(input[name="age"]),
body.single-location .nextpatient-criteria-box:has(select[name="insurance_id"]),
body.single-location .nextpatient-criteria-box:has(input[name="zip"]),
body.single-location .nextpatient-criteria-box:has(input[type="submit"]) {
    display: none !important;
}

body.single-location .nextpatient-criteria-label,
body.single-location .nextpatient-criteria-label label {
    display: block;
    margin: 0 0 16px 0;
    padding: 0;
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    color: #252d30;
}

body.single-location .nextpatient-criteria-label label {
    margin-bottom: 0;
}

body.single-location .nextpatient-criteria-input {
    display: flex !important;
    align-items: center;
}

body.single-location .nextpatient-criteria-box select {
    width: 100% !important;
    max-width: 100% !important;
    height: 56px !important;
    padding: 0 46px 0 18px !important;
    margin: 0 !important;
    border: 1px solid rgba(21, 34, 41, 0.2) !important;
    border-radius: 6px !important;
    box-sizing: border-box !important;
    background-color: #ffffff;
    box-shadow: 0 1px 1px rgba(0,0,0,0.12),
                0 0 0 1px rgba(103,110,118,0.16),
                0 2px 5px rgba(103,110,118,0.08);
    font-family: "DM Sans", sans-serif !important;
    font-size: 16px !important;
    line-height: 24px !important;
    font-weight: 400;
    color: #252d30;
    appearance: none !important;
    -webkit-appearance: none !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M7 10L12 15L17 10' stroke='%23252D30' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 24px !important;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    text-overflow: ellipsis;
}

body.single-location .nextpatient-criteria-box select:disabled {
    color: #48575c;
    opacity: 1;
    cursor: not-allowed;
}

body.single-location .nextpatient-criteria-box select:hover {
    border-color: rgba(21, 34, 41, 0.35) !important;
}

body.single-location .nextpatient-criteria-box select:focus {
    outline: none;
    border-color: #96556e !important;
    box-shadow: 0 0 0 3px rgba(150, 85, 110, 0.12);
}

/* ── Provider Table ─────────────────────────────────────────────────────── */
body.single-location .nextpatient-provider-table {
    margin-top: 0;
}

body.single-location .nextpatient-provider {
    display: flex !important;
    align-items: flex-start;
    gap: 40px;
    padding: 0 0 40px 0 !important;
    margin: 0 0 40px 0 !important;
    border: none !important;
    border-bottom: 1px solid rgba(21, 34, 41, 0.2) !important;
    border-radius: 0 !important;
    background: transparent !important;
    transition: none !important;
    animation: none !important;
}

body.single-location .nextpatient-provider:last-child {
    border-bottom: none !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

body.single-location .nextpatient-provider:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* ── Provider Photo ─────────────────────────────────────────────────────── */
body.single-location .nextpatient-provider-image-cell {
    display: block !important;
    width: 167px !important;
    height: 190px !important;
    min-width: 167px;
    border-radius: 24px !important;
    background-color: #e3f0f5;
    background-size: cover !important;
    background-position: center 20% !important;
    background-repeat: no-repeat !important;
    flex-shrink: 0;
}

/* ── Provider Content ───────────────────────────────────────────────────── */
body.single-location .nextpatient-provider-provider-cell {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    min-height: 190px;
    padding: 24px 0 !important;
    box-sizing: border-box;
}

/* Hide the small inline photo — we're using the big one */
body.single-location .nextpatient-provider-name-block-left {
    display: none !important;
}

body.single-location .nextpatient-provider-name-block {
    display: block !important;
    margin-bottom: 0 !important;
}

body.single-location .nextpatient-provider-name-block-right {
    display: block;
}

body.single-location .nextpatient-provider-name {
    font-family: "Lora", serif !important;
    font-size: 20px !important;
    font-weight: 400 !important;
    line-height: 28px !important;
    color: #252d30 !important;
    margin-bottom: 0 !important;
}

body.single-location .nextpatient-provider-name b {
    font-weight: 400 !important;
}

/* Hide "More" link — Figma shows only name + appointment info */
body.single-location .nextpatient-provider-blurb {
    display: none !important;
}

/* ── Next Appointment Block ─────────────────────────────────────────────── */
body.single-location .next-appt-block {
    margin: 16px 0 0 !important;
    padding: 0 !important;
    background: none !important;
}

body.single-location .next-appt-block .time-line {
    font-family: "DM Sans", sans-serif !important;
    font-size: 16px !important;
    line-height: 24px !important;
    font-weight: 400 !important;
    color: #252d30 !important;
}

body.single-location .next-appt-block .time-line span {
    font-size: inherit !important;
}

body.single-location .next-appt-block .time-line b {
    display: block;
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    color: #286179;
    margin-top: 4px;
}

body.single-location .next-appt-block .explanation {
    font-family: "Roboto", sans-serif !important;
    font-size: 16px !important;
    line-height: 24px !important;
    font-weight: 400 !important;
    font-style: italic !important;
    color: #252d30 !important;
    margin-top: 16px;
    padding: 0 !important;
    background: none !important;
}

/* ── Call to Schedule (no available appointments) ───────────────────────── */
body.single-location .call-no-times {
    font-family: "DM Sans", sans-serif !important;
    font-size: 16px !important;
    line-height: 24px !important;
    font-weight: 400 !important;
    color: #252d30 !important;
    font-style: normal !important;
    text-align: left !important;
    background: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    margin-top: 16px !important;
}

body.single-location .call-no-times span {
    font-size: inherit !important;
}

body.single-location .call-no-times a {
    color: #286179 !important;
    text-decoration: none;
    font-weight: 500;
}

body.single-location .call-no-times a:hover {
    text-decoration: underline;
}

body.single-location .call-no-times b {
    font-weight: 500;
}

/* ── Appointment Time Slots (when reason is selected) ───────────────────── */
body.single-location .nextpatient-provider-times {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    margin-top: 16px !important;
    padding: 0 !important;
}

body.single-location .nextpatient-slot-time {
    padding: 12px 16px !important;
    background: transparent !important;
    border: 1px solid rgba(21, 34, 41, 0.2) !important;
    border-radius: 8px !important;
    color: #252d30 !important;
    text-decoration: none !important;
    text-align: center;
    min-width: 110px;
    box-sizing: border-box !important;
    height: auto !important;
    width: auto !important;
    display: inline-block !important;
    transition: border-color 0.2s ease, background-color 0.2s ease;
    box-shadow: 0 1px 1px rgba(0,0,0,0.12),
                0 0 0 1px rgba(103,110,118,0.16),
                0 2px 5px rgba(103,110,118,0.08);
}

body.single-location .nextpatient-slot-time:hover {
    border-color: #96556e !important;
    background-color: #96556e !important;
    color: #ffffff !important;
    transform: none;
    box-shadow: 0 2px 8px rgba(150, 85, 110, 0.25);
}

body.single-location .nextpatient-slot-time-day {
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    display: block;
    margin-bottom: 2px;
}

body.single-location .nextpatient-slot-time-time {
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    line-height: 22px;
    font-weight: 600;
    display: block;
}

body.single-location .nextpatient-slot-time-more {
    background: #96556e !important;
    color: #ffffff !important;
    border-color: #96556e !important;
    font-style: italic;
}

body.single-location .nextpatient-slot-time-more:hover {
    background: #7f4660 !important;
    border-color: #7f4660 !important;
}

/* ── Responsive — Location Detail Widget ────────────────────────────────── */

/* Tablet — widget column gets narrow around this point */
@media (max-width: 959px) {
    body.single-location .nextpatient-criteria-container {
        flex-direction: column !important;
        gap: 16px !important;
        margin-bottom: 32px !important;
    }

    body.single-location .nextpatient-criteria-box {
        flex: 1 1 100% !important;
        width: 100% !important;
    }

    body.single-location .nextpatient-criteria-box select {
        max-width: 100% !important;
    }

    body.single-location .nextpatient-provider {
        gap: 24px !important;
        padding-bottom: 32px !important;
        margin-bottom: 32px !important;
    }

    body.single-location .nextpatient-provider-image-cell {
        width: 167px !important;
        height: 190px !important;
        min-width: 167px !important;
        border-radius: 20px !important;
    }

    body.single-location .nextpatient-provider-provider-cell {
        min-height: 190px !important;
        padding: 12px 0 !important;
    }

    body.single-location .nextpatient-provider-name {
        font-size: 18px !important;
        line-height: 26px !important;
    }

    body.single-location .next-appt-block .explanation,
    body.single-location .call-no-times {
        font-size: 15px !important;
    }
}

/* Small screens — stack providers, keep image square and centered */
@media (max-width: 600px) {
    body.single-location .nextpatient-provider {
        flex-direction: column !important;
        align-items: center !important;
        gap: 16px !important;
        padding-bottom: 28px !important;
        margin-bottom: 28px !important;
    }

    body.single-location .nextpatient-provider-image-cell {
        width: 167px !important;
        height: 190px !important;
        min-width: 167px !important;
        border-radius: 20px !important;
        background-position: center 20% !important;
    }

    body.single-location .nextpatient-provider-provider-cell {
        min-height: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        text-align: center !important;
    }

    body.single-location .nextpatient-provider-name {
        font-size: 18px !important;
        line-height: 24px !important;
        text-align: center !important;
    }

    body.single-location .nextpatient-provider-name-block {
        text-align: center !important;
    }

    body.single-location .next-appt-block {
        text-align: center !important;
    }

    body.single-location .next-appt-block .time-line,
    body.single-location .next-appt-block .time-line b,
    body.single-location .next-appt-block .explanation,
    body.single-location .call-no-times {
        font-size: 15px !important;
        line-height: 22px !important;
    }

    body.single-location .call-no-times {
        text-align: center !important;
    }

    body.single-location .nextpatient-slot-time {
        min-width: 100px !important;
    }

    body.single-location .nextpatient-provider-times {
        justify-content: center !important;
    }
}

/* Override NextPatient's own inline @media (max-width:500px) that hides images */
@media (max-width: 500px) {
    body.single-location .nextpatient-provider-image-cell {
        display: block !important;
    }

    body.single-location .nextpatient-provider-provider-cell {
        display: flex !important;
        padding-left: 0 !important;
    }

    body.single-location .nextpatient-provider-name-block {
        display: block !important;
    }

    body.single-location .nextpatient-provider-name-block-left {
        display: none !important;
    }
}

/* Narrow phones */
@media (max-width: 400px) {
    body.single-location .nextpatient-provider-image-cell {
        width: 167px !important;
        height: 190px !important;
        min-width: 167px !important;
        border-radius: 20px !important;
    }

    body.single-location .nextpatient-criteria-label,
    body.single-location .nextpatient-criteria-label label {
        font-size: 14px !important;
        margin-bottom: 6px !important;
    }

    body.single-location .nextpatient-criteria-box select {
        height: 48px !important;
        font-size: 15px !important;
        padding: 0 40px 0 14px !important;
    }
}


/* ── Providers aesthetic pass (from aqua.css:3113-3401) ── */

/* ==========================================================================
   19. PROVIDERS AESTHETIC PASS
   Archive scope uses provider-specific markup, not page IDs
   ========================================================================== */

article.page-body:has(.provider-facets) #row-unique-0 {
    background: #ffffff !important;
}

article.page-body:has(.provider-facets) #row-unique-0 h1,
article.page-body:has(.provider-facets) #row-unique-0 .h1 {
    margin: 0 0 20px !important;
    font-family: "Lora", serif !important;
    font-size: clamp(48px, 6vw, 80px) !important;
    line-height: clamp(56px, 6.6vw, 88px) !important;
    font-weight: 400 !important;
    letter-spacing: -1.5px !important;
    color: #252d30 !important;
    text-align: center !important;
}

article.page-body:has(.provider-facets) #row-unique-0 h4,
article.page-body:has(.provider-facets) #row-unique-0 .h4,
article.page-body:has(.provider-facets) #row-unique-0 .text-lead,
article.page-body:has(.provider-facets) #row-unique-0 .text-lead > * {
    margin: 0 !important;
    font-family: "Lora", serif !important;
    font-size: clamp(22px, 2vw, 24px) !important;
    line-height: 32px !important;
    font-weight: 400 !important;
    color: #48575c !important;
    text-align: center !important;
}

article.page-body:has(.provider-facets) #row-unique-1 {
    background: #e3f0f5 !important;
}

.provider-facets > .row > .row-inner {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    align-items: end;
}

.provider-facets .wpb_column {
    width: 100% !important;
    padding-left: 0 !important;
    margin: 0 !important;
}

.provider-facets .uncol,
.provider-facets .uncoltable,
.provider-facets .uncell,
.provider-facets .uncont {
    height: 100%;
}

.provider-facets .uncell,
.provider-facets .uncont,
.provider-facets .facetwp-facet {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.provider-facets .uncell > *:not(.facetwp-facet),
.provider-facets .uncont > *:not(.facetwp-facet) {
    margin: 0 !important;
    font-family: "DM Sans", sans-serif !important;
    font-size: 16px !important;
    line-height: 24px !important;
    font-weight: 500 !important;
    color: #252d30 !important;
}

.provider-facets .facetwp-facet {
    margin: 0 !important;
}

.provider-facets .facetwp-dropdown {
    width: 100%;
    height: 56px;
    padding: 0 44px 0 18px;
    border: 1px solid rgba(21, 34, 41, 0.2);
    border-radius: 6px;
    background-color: #ffffff;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(103, 110, 118, 0.16), 0 2px 5px rgba(103, 110, 118, 0.08);
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    line-height: 24px;
    color: #252d30;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    /* FacetWP loads a 50×20 SVG with a tiny path; it wins without !important and looks like a speck at 24px width. */
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3e%3cpath d='M7 10L12 15L17 10' stroke='%23252D30' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 22px 22px !important;
}

.provider-facets .facetwp-dropdown:focus {
    border-color: #96556e;
    outline: none;
    box-shadow: 0 0 0 3px rgba(150, 85, 110, 0.12);
}

article.page-body:has(.provider-facets) #row-unique-2 {
    background: #286179 !important;
}

.fwpl-layout.el-ptvr9j {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 40px !important;
}

.fwpl-layout.el-ptvr9j .fwpl-result {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.fwpl-layout.el-ptvr9j .fwpl-row.el-yqt486,
.fwpl-layout.el-ptvr9j .fwpl-col.el-ymt9ah {
    display: flex;
    flex-direction: column;
    gap: 18px;
    height: 100%;
}

.fwpl-layout.el-ptvr9j .fwpl-item.el-dt925u {
    position: relative;
    padding-bottom: 100%; /* 1:1 square — Safari-safe replacement for aspect-ratio */
    overflow: hidden;
    border-radius: 24px;
    background: #e3f0f5;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(103, 110, 118, 0.16), 0 2px 5px rgba(103, 110, 118, 0.08);
}

.fwpl-layout.el-ptvr9j .fwpl-item.el-dt925u a,
.fwpl-layout.el-ptvr9j .fwpl-item.el-dt925u img {
    position: absolute !important;
    top: 0;
    left: 0;
    display: block;
    width: 100% !important;
    height: 100% !important;
}

.fwpl-layout.el-ptvr9j .fwpl-item.el-dt925u img {
    object-fit: cover;
    object-position: center top;
    filter: grayscale(100%);
}

.fwpl-layout.el-ptvr9j .fwpl-item.el-es29kh {
    min-height: 0;
}

.fwpl-layout.el-ptvr9j .fwpl-item.el-es29kh h3.h6,
.fwpl-layout.el-ptvr9j .fwpl-item.el-es29kh h3.h6 a {
    margin: 0 !important;
    font-family: "Lora", serif !important;
    font-size: 24px !important;
    line-height: 32px !important;
    font-weight: 400 !important;
    color: #ffffff !important;
    text-align: center;
    text-decoration: none !important;
}

.fwpl-layout.el-ptvr9j .fwpl-item.el-xcdz5j.view-more,
.fwpl-layout.el-ptvr9j .fwpl-item.el-1jdxae.book {
    margin: 0 !important;
}

.fwpl-layout.el-ptvr9j .fwpl-item.el-xcdz5j.view-more .fwpl-btn,
.fwpl-layout.el-ptvr9j .fwpl-item.el-1jdxae.book .fwpl-btn {
    display: inline-flex;
    width: 100%;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 24px;
    font-family: "DM Sans", sans-serif !important;
    font-size: 16px !important;
    line-height: 24px !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    text-decoration: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.fwpl-layout.el-ptvr9j .fwpl-item.el-xcdz5j.view-more .fwpl-btn {
    border: 2px solid rgba(245, 254, 254, 0.2);
    background: transparent !important;
    color: #ffffff !important;
}

.fwpl-layout.el-ptvr9j .fwpl-item.el-xcdz5j.view-more .fwpl-btn:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    transform: translateY(-1px);
}

.fwpl-layout.el-ptvr9j .fwpl-item.el-1jdxae.book .fwpl-btn {
    border: 1px solid #96556e;
    background: #96556e !important;
    color: #ffffff !important;
    box-shadow: none;
}

.fwpl-layout.el-ptvr9j .fwpl-item.el-1jdxae.book .fwpl-btn:hover {
    background: #7f4660 !important;
    border-color: #7f4660;
    transform: translateY(-1px);
}

article.page-body:has(.provider-facets) #row-unique-3 {
    background: #f2f0ed !important;
}

article.page-body:has(.provider-facets) #row-unique-3 img {
    border-radius: 24px;
    overflow: hidden;
}

article.page-body:has(.provider-facets) #row-unique-3 h2,
article.page-body:has(.provider-facets) #row-unique-3 h3,
article.page-body:has(.provider-facets) #row-unique-3 .h2,
article.page-body:has(.provider-facets) #row-unique-3 .h3 {
    font-family: "Lora", serif !important;
    font-weight: 400 !important;
    color: #252d30 !important;
}

body.single-provider .style-dark .breadcrumb {
    margin: 0;
    color: rgba(255, 255, 255, 0.78) !important;
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    line-height: 24px;
}

body.single-provider .style-dark .breadcrumb > li a {
    color: inherit !important;
}

body.single-provider .single-wrapper,
body.single-provider .tmb,
body.single-provider .t-inside,
body.single-provider .t-entry-visual,
body.single-provider .t-entry-visual-tc,
body.single-provider .uncode-single-media-wrapper {
    width: auto !important;
    height: auto !important;
}

body.single-provider .uncode-single-media-wrapper {
    line-height: normal !important;
}

body.single-provider .uncode-single-media-wrapper > .dummy {
    display: none !important;
}

body.single-provider .t-entry-visual {
    box-shadow: none !important;
    overflow: visible !important;
}
body.single-provider .provider-featured-image img{
    background: #e3f0f5 !important;
}

body.single-provider .single-provider-header .uncode-single-media-wrapper img {
    display: block;
    position: relative !important;
    inset: auto !important;
    border-radius: 24px;
    background: #e3f0f5;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(103, 110, 118, 0.16), 0 2px 5px rgba(103, 110, 118, 0.08);
}

.provider-testimonial-container.is-empty {
    display: none !important;
}

/* ── Single-provider body layout (from aqua.css:3403-3660) ────────────── */

body.single-provider h1.h2 {
    margin: 0 0 16px !important;
    font-family: "Lora", serif !important;
    font-size: clamp(48px, 5.75vw, 72px) !important;
    line-height: clamp(56px, 6vw, 80px) !important;
    font-weight: 400 !important;
    letter-spacing: -1px !important;
    color: #ffffff !important;
}

body.single-provider .provider-cert h2 {
    margin: 0 0 24px !important;
    font-family: "Lora", serif !important;
    font-size: 24px !important;
    line-height: 32px !important;
    font-weight: 400 !important;
    color: #ffffff !important;
}

body.single-provider .provider-specialties {
    margin: 0;
    padding: 0;
    background: transparent !important;
}

body.single-provider .provider-specialties strong {
    margin-bottom: 12px;
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    line-height: 24px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.86);
}

body.single-provider .provider-specialties ul {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
}

body.single-provider .provider-specialties li {
    margin: 0;
    padding-left: 28px;
    color: #ffffff;
}

body.single-provider .provider-specialties li::before {
    top: 2px;
    background-color: #96556e;
}

body.single-provider .provider-body .col-lg-7 > .uncol > .uncoltable > .uncell,
body.single-provider .provider-body .col-lg-5 > .uncol > .uncoltable > .uncell {
    padding-top: 0;
}

body.single-provider .provider-body h3,
body.single-provider .nextpatient-sidebar.provider h3 {
    margin: 0 0 24px !important;
    font-family: "Lora", serif !important;
    font-size: 32px !important;
    line-height: 40px !important;
    font-weight: 400 !important;
    color: #252d30 !important;
}

body.single-provider .provider-body p,
body.single-provider .provider-body li,
body.single-provider .provider-body .wpb_wrapper {
    font-family: "DM Sans", sans-serif;
    color: #252d30;
}

body.single-provider .provider-body p,
body.single-provider .provider-body li {
    font-size: 16px;
    line-height: 24px;
}

body.single-provider .provider-body ul {
    padding-left: 22px;
    margin: 0;
}

body.single-provider .provider-body li {
    margin-bottom: 12px;
}

body.single-provider .provider-body li strong {
    display: block;
    margin-bottom: 2px;
    font-weight: 500;
}

body.single-provider .read-more-ov-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    font-family: "DM Sans", sans-serif !important;
    font-size: 16px !important;
    line-height: 24px !important;
    font-weight: 500 !important;
    color: #96556e !important;
    text-transform: none !important;
    text-decoration: none !important;
}

body.single-provider .read-more-ov-trigger:hover {
    color: #7f4660 !important;
}

body.single-provider .nextpatient-sidebar.provider {
    position: relative;
}

body.single-provider .nextpatient-sidebar.provider .nextpatient-reason-select select,
body.single-provider .nextpatient-sidebar.provider select[name="reason_id"] {
    height: 56px;
    padding: 0 44px 0 18px;
    border: 1px solid rgba(21, 34, 41, 0.2);
    border-radius: 6px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(103, 110, 118, 0.16), 0 2px 5px rgba(103, 110, 118, 0.08);
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    line-height: 24px;
    color: #252d30;
}

body.single-provider .nextpatient-sidebar.provider #nextpatient-schedule {
    gap: 16px;
    margin-top: 24px;
}

body.single-provider .nextpatient-sidebar.provider #nextpatient-schedule .nextpatient-provider-location {
    margin-bottom: 0;
    padding: 18px;
    border: 1px solid rgba(21, 34, 41, 0.2);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: none;
}

body.single-provider .nextpatient-sidebar.provider #nextpatient-schedule .nextpatient-provider-location:hover {
    transform: none;
    border-color: #96556e;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(103, 110, 118, 0.16), 0 2px 5px rgba(103, 110, 118, 0.08);
}

body.single-provider .nextpatient-sidebar.provider #nextpatient-schedule .nextpatient-location-name {
    padding: 0;
    margin-bottom: 4px;
    font-family: "Lora", serif;
    font-size: 20px;
    line-height: 28px;
    font-weight: 400;
    color: #286179;
}

body.single-provider .nextpatient-sidebar.provider #nextpatient-schedule .nextpatient-location-address {
    padding: 0;
    margin: 0 0 16px;
    border-bottom: 0;
    font-size: 14px;
    line-height: 22px;
    color: #48575c;
}

body.single-provider .nextpatient-sidebar.provider #nextpatient-schedule .nextpatient-provider-times {
    padding: 0;
    gap: 10px;
}

body.single-provider .nextpatient-sidebar.provider #nextpatient-schedule .time-preview-box,
body.single-provider .nextpatient-sidebar.provider #nextpatient-schedule .nextpatient-slot-time {
    min-height: 72px;
    margin: 0 !important;
    padding: 12px 14px !important;
    border-radius: 6px !important;
    background: #ffffff !important;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(103, 110, 118, 0.16), 0 2px 5px rgba(103, 110, 118, 0.08) !important;
    color: #252d30 !important;
    opacity: 1;
}

body.single-provider .nextpatient-sidebar.provider #nextpatient-schedule .time-line-label,
body.single-provider .nextpatient-sidebar.provider #nextpatient-schedule .time-line-time {
    font-size: 14px !important;
    line-height: 20px !important;
}

body.single-provider .nextpatient-sidebar.provider #nextpatient-schedule .time-line-instructions {
    font-size: 13px !important;
    line-height: 18px !important;
    color: #48575c !important;
}

body.single-provider .nextpatient-sidebar.provider #nextpatient-schedule .nextpatient-slot-time:hover {
    transform: none;
    background: #96556e !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

body.single-provider .nextpatient-sidebar.provider #nextpatient-schedule .nextpatient-slot-time:hover .nextpatient-slot-time-day,
body.single-provider .nextpatient-sidebar.provider #nextpatient-schedule .nextpatient-slot-time:hover .nextpatient-slot-time-time {
    color: #ffffff !important;
}

body.single-provider .nextpatient-sidebar.provider #nextpatient-schedule .nextpatient-more-times {
    background: #96556e !important;
    color: #ffffff !important;
}

body.single-provider .nextpatient-sidebar.provider #nextpatient-schedule .nextpatient-no-time {
    border-radius: 6px;
    background: #f2f0ed;
    color: #48575c;
}

body.single-provider .row-navigation-content-block .row-navigation,
body.single-provider .row-navigation-content-block .row-inner {
    border-top: 1px solid rgba(21, 34, 41, 0.12);
    padding-top: 24px;
}

@media (max-width: 1199px) {
    .fwpl-layout.el-ptvr9j {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 959px) {
    .provider-facets > .row > .row-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.single-provider .provider-specialties ul {
        gap: 10px 16px;
    }
}

@media (max-width: 640px) {
    .provider-facets > .row > .row-inner,
    .fwpl-layout.el-ptvr9j {
        grid-template-columns: 1fr !important;
    }

    .fwpl-layout.el-ptvr9j .fwpl-result,
    .fwpl-layout.el-ptvr9j .fwpl-row.el-yqt486,
    .fwpl-layout.el-ptvr9j .fwpl-col.el-ymt9ah {
        gap: 10px;
    }

    .provider-facets > .row > .row-inner {
        gap: 6px;
    }

    .provider-facets .uncell,
    .provider-facets .uncont,
    .provider-facets .facetwp-facet {
        gap: 6px;
    }

    .provider-facets .wpb_column {
        padding: 0 !important;
    }

    .provider-facets .uncol,
    .provider-facets .uncoltable,
    .provider-facets .uncell {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    body.single-provider .nextpatient-sidebar.provider #nextpatient-schedule .nextpatient-provider-location {
        padding: 16px;
    }
}

/* ── WPBakery service export helpers (from aqua.css:3661-3775) ──────── */

.gd-text-light h1,
.gd-text-light h2,
.gd-text-light h3,
.gd-text-light p,
.gd-text-light li {
    color: #ffffff;
}

.gd-service-checklist ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 38px;
    list-style: none;
    padding: 0;
    margin: 32px 0 0;
}

.gd-service-checklist li {
    position: relative;
    padding-left: 22px;
    font-size: 16px;
    line-height: 24px;
    margin: 0;
}

.gd-service-checklist li::before {
    content: '\203A';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 18px;
    line-height: 24px;
}

@media (max-width: 959px) {
    .gd-service-checklist ul {
        grid-template-columns: 1fr;
    }
}

body.single-service #what-to-expect .gd-service-checklist ul {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: repeat(3, auto) !important;
    grid-auto-flow: column !important;
    gap: 20px 44px !important;
    list-style: none !important;
    margin: 32px 0 0 !important;
    padding: 0 !important;
}

body.single-service #what-to-expect .gd-service-checklist li {
    position: relative;
    margin: 0 !important;
    padding: 0 0 0 44px !important;
    list-style: none !important;
    font-family: "DM Sans", sans-serif !important;
    font-size: 16px !important;
    line-height: 24px !important;
    font-weight: 500 !important;
    color: #ffffff !important;
    min-height: 24px;
    display: flex;
    align-items: center;
}

body.single-service #what-to-expect .gd-service-checklist li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 24px;
    height: 24px;
    transform: translateY(-50%);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='12' cy='12' r='10.5' stroke='white' stroke-width='2'/%3E%3Cpath d='M9.75 7.75L14 12L9.75 16.25' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

body.single-service #row-unique-0 .wpb_column.col-lg-6:last-child .uncont > .uncode_text_column:first-child {
    margin-bottom: 0 !important;
}

body.single-service #row-unique-0 .wpb_column.col-lg-6:last-child .uncont > .vc_custom_heading_wrap {
    margin-top: 16px !important;
}

body.single-service #row-unique-0 .wpb_column.col-lg-6:last-child .uncont > .vc_custom_heading_wrap h1.h2 {
    margin: 0 !important;
}

body.single-service #row-unique-3 .faq.uncode-accordion {
    width: 100% !important;
    max-width: none !important;
}

body.single-service #row-unique-3 .faq.uncode-accordion .panel {
    width: 100% !important;
}

@media (max-width: 959px) {
    body.single-service #what-to-expect .gd-service-checklist ul {
        grid-template-columns: 1fr !important;
        grid-template-rows: none !important;
        grid-auto-flow: row !important;
        gap: 16px !important;
    }

    body.single-service #what-to-expect .gd-service-checklist li {
        padding-left: 40px !important;
    }
}

/* ── Thumbs border ──────────────────────────────────────────────────────── */
.tmb-light.tmb-border,
.tmb-light.tmb-bordered:not(.tmb-no-bg):not(.tmb-shadowed).tmb > .t-inside,
.tmb-light.tmb-bordered.tmb-no-bg.tmb > .t-inside .t-entry-visual {
    border: 1px solid rgba(72, 87, 92, 0.5);
}
