#sound-directory-wrapper .enhanced-sound-healing-directory {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
}

#sound-directory-wrapper .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Section */
#sound-directory-wrapper .header-section {
    position: relative;
    background-color: #1e73be; /* Fallback color for when image is loading */
    background-size: cover;
    background-position: center center;
    padding: 100px 20px;
    text-align: center;
    color: white;

    /*
      ==================================================================
      === PASTE YOUR BANNER IMAGE URL BELOW                          ===
      ==================================================================
    */
    background-image: url('images/banner.jpg');
}

/* Dark overlay for text readability */
#sound-directory-wrapper .header-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6); /* Increased darkness for better contrast */
    z-index: 1;
}

/* Position header content above the overlay */
#sound-directory-wrapper .header-section > .container {
    position: relative;
    z-index: 2;
}

#sound-directory-wrapper .header-section h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #FFFFFF !important; /* Force white color */
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8), 0 0 10px rgba(0,0,0,0.7);
}

#sound-directory-wrapper .header-section p {
    font-size: 1.2rem;
    color: #f5f5f5 !important; /* Force light gray color */
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
    opacity: 0.95;
}

#sound-directory-wrapper .quick-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    margin-top: 30px;
}

#sound-directory-wrapper .stat-item {
    text-align: center;
}

#sound-directory-wrapper .stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

#sound-directory-wrapper .stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Featured Section */
#sound-directory-wrapper .featured-section {
    padding: 50px 20px;
    background: white;
}

#sound-directory-wrapper .featured-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

#sound-directory-wrapper .featured-section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #333;
    font-weight: 600;
}

/* 
  Unify the grid layout for both the main featured list and city lists
  Using a more specific selector to avoid theme conflicts.
*/
#sound-directory-wrapper .featured-list,
#sound-directory-wrapper .practitioner-list-city {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

/* Define a single, beautiful card style for ALL practitioners */
#sound-directory-wrapper .practitioner-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%; /* Ensure cards in the same row have equal height */
}

#sound-directory-wrapper .practitioner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Push the action buttons to the bottom of the card */
#sound-directory-wrapper .practitioner-card .card-content {
    flex-grow: 1;
}

#sound-directory-wrapper .practitioner-card .card-actions {
    margin-top: 15px; /* Add some space above the buttons */
    display: flex;
    gap: 10px;
}

#sound-directory-wrapper .practitioner-card .btn-secondary {
    margin-left: auto; /* Push "View Details" to the right */
}

#sound-directory-wrapper .card-content {
    flex: 1;
}

#sound-directory-wrapper .card-header h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: #333;
    font-weight: 600;
}

#sound-directory-wrapper .location {
    color: #666;
    font-size: 0.9rem;
}

#sound-directory-wrapper .rating {
    margin: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

#sound-directory-wrapper .stars {
    color: #ffc107;
    font-size: 1.1rem;
}

#sound-directory-wrapper .rating-text {
    color: #666;
    font-size: 0.85rem;
}

#sound-directory-wrapper .specialties {
    color: #666;
    font-size: 0.9rem;
    margin-top: 8px;
}

#sound-directory-wrapper .card-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

#sound-directory-wrapper .btn-primary,
#sound-directory-wrapper .btn-secondary {
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    font-size: 0.9rem;
}

#sound-directory-wrapper .btn-primary {
    background: #1e73be;
    color: white;
    border: 1px solid #1e73be;
}

#sound-directory-wrapper .btn-primary:hover {
    background: #0f5a9e;
}

#sound-directory-wrapper .btn-secondary {
    background: white;
    color: #1e73be;
    border: 1px solid #1e73be;
}

#sound-directory-wrapper .btn-secondary:hover {
    background: #1e73be;
    color: white;
}

/* Location Finder */
#sound-directory-wrapper .location-finder {
    padding: 50px 20px;
    background: white;
    margin-top: 20px;
}

#sound-directory-wrapper .location-finder h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #333;
    font-weight: 600;
}

#sound-directory-wrapper .states-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

#sound-directory-wrapper .state-column {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

#sound-directory-wrapper .state-column h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #1e73be;
    font-weight: 600;
    border-bottom: 2px solid #1e73be;
    padding-bottom: 8px;
}

#sound-directory-wrapper .state-column h3 a {
    color: #1e73be;
    text-decoration: none;
}

#sound-directory-wrapper .state-column h3 a:hover {
    color: #0f5a9e;
}

#sound-directory-wrapper .cities-list-inline {
    margin-top: 10px;
    font-size: 0.9rem;
    line-height: 1.8;
}

#sound-directory-wrapper .cities-list-inline a,
#sound-directory-wrapper .cities-list-inline a:visited {
    color: #555;
    text-decoration: none;
    margin-right: 5px;
}

#sound-directory-wrapper .cities-list-inline a:hover,
#sound-directory-wrapper .cities-list-inline a:focus {
    color: #1e73be;
    text-decoration: underline;
}

/* --- City Page Specific Styles --- */

/* Titles on City Page */
#sound-directory-wrapper .enhanced-sound-healing-directory h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: #333;
    font-weight: 600;
}

#sound-directory-wrapper .enhanced-sound-healing-directory h2 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: #555;
    font-weight: 500;
}

#sound-directory-wrapper .directory-breadcrumbs {
    margin-bottom: 25px;
    font-size: 0.9rem;
    color: #555;
}

#sound-directory-wrapper .directory-breadcrumbs a {
    color: #337ab7;
    text-decoration: none;
}

#sound-directory-wrapper .directory-breadcrumbs a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    #sound-directory-wrapper .header-section h1 {
        font-size: 1.8rem;
    }
    
    #sound-directory-wrapper .quick-stats {
        gap: 30px;
        flex-direction: column;
    }
    
    #sound-directory-wrapper .featured-list {
        grid-template-columns: 1fr;
    }
    
    #sound-directory-wrapper .states-grid {
        grid-template-columns: 1fr;
    }
    
    #sound-directory-wrapper .card-actions {
        flex-direction: column;
        width: 100%;
    }
    
    #sound-directory-wrapper .btn-primary,
    #sound-directory-wrapper .btn-secondary {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    #sound-directory-wrapper .card-actions {
        flex-direction: column;
        width: 100%;
    }
    
    #sound-directory-wrapper .btn-primary,
    #sound-directory-wrapper .btn-secondary {
        width: 100%;
        text-align: center;
    }
}

/* 
==============================================
Practitioner Page Styles
==============================================
*/

.practitioner-page .container {
    max-width: 900px;
}

.practitioner-page .practitioner-section {
    background: #fff;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.practitioner-page h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.practitioner-page .rating {
    margin-bottom: 20px;
}

.practitioner-page h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    border-bottom: 2px solid #1e73be;
    padding-bottom: 10px;
    color: #333;
}

.practitioner-page .practitioner-about p {
    font-size: 1.1rem;
    line-height: 1.7;
    border-left: 3px solid #1e73be;
}

.practitioner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.practitioner-page .services-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.practitioner-page .services-list li {
    background: #f8f9fa;
    padding: 10px 15px;
    border-radius: 5px;
    border-left: 3px solid #1e73be;
}

.practitioner-page .map-container {
    border-radius: 8px;
    overflow: hidden;
    line-height: 0;
}

.practitioner-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.practitioner-section.practitioner-services,
.practitioner-section.practitioner-reviews,
.practitioner-section.practitioner-location {
    grid-column: span 2;
}

.info-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-item {
    font-size: 1rem;
}

.info-item strong {
    color: #333;
    margin-right: 8px;
}

.practitioner-reviews .review-item {
    background: #fff;
    border: 1px solid #e9ecef;
    border-left: 4px solid #1e73be;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 0 8px 8px 0;
}

.practitioner-reviews .review-item p {
    margin: 0;
    font-style: italic;
    color: #555;
}

.directory-disclaimer {
    text-align: center;
    padding: 40px 20px;
    margin-top: 30px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    border-radius: 8px;
}

.directory-disclaimer p {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

a.practitioner-phone-link {
    display: inline-block;
    padding: 10px 20px;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 5px;
    color: #333;
    font-weight: 600;
    text-decoration: none;
}

/* General Styles */
#sound-directory-wrapper .enhanced-sound-healing-directory h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #FFFFFF !important; /* Force white color */
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8), 0 0 10px rgba(0,0,0,0.7);
}

#sound-directory-wrapper .enhanced-sound-healing-directory h2 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: #555;
    font-weight: 500;
}

#sound-directory-wrapper .directory-breadcrumbs {
    margin-bottom: 25px;
    font-size: 0.9rem;
    color: #555;
}

#sound-directory-wrapper .directory-breadcrumbs a {
    color: #337ab7;
    text-decoration: none;
}

#sound-directory-wrapper .directory-breadcrumbs a:hover {
    text-decoration: underline;
} 