/*
Theme Name: fertility_clinics_2_sonnet4
Description: A modern, responsive WordPress theme for fertility clinics directory
Version: 1.0
Author: Custom Theme
*/

/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* Color Palette Variables */
:root {
    --primary-color: #c9ddff;
    --secondary-color: #ecb0e1;
    --accent-color: #de6c83;
    --neutral-color: #c1aac0;
    --highlight-color: #2cf6b3;
    --text-dark: #333;
    --text-light: #666;
    --white: #ffffff;
    --border-color: #e0e0e0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--highlight-color);
}

/* Container and Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col {
    padding: 0 15px;
}

/* Header Styles */
.site-header {
    background: var(--white);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-bottom: 1px solid var(--border-color);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo img {
    max-height: 140px;
    width: auto;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.main-navigation a {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.main-navigation a:hover {
    background-color: var(--primary-color);
    color: var(--accent-color);
}

/* Hero Section */
.hero-section {
    min-height: 500px;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('http://fertility-clinics-near-me.com/wp-content/uploads/2025/06/hero.png');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.8);
    color: #ffffff;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    color: #ffffff;
    font-weight: 400;
}

/* Card Styles */
.cards-grid {
    display: grid;
    gap: 2rem;
    margin: 2rem 0;
}

.cards-grid.cols-2 { grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); }
.cards-grid.cols-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.cards-grid.cols-4 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

.card {
    background: var(--white);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    text-align: center;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.card h3, .card h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.card .meta {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.card .clinic-address,
.card .clinic-rating,
.card .clinic-hours,
.card .clinic-website,
.card .clinic-topics {
    margin: 0.5rem 0;
}

.card .read-more {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: var(--accent-color);
    color: var(--white);
    border-radius: 25px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.card .read-more:hover {
    background: var(--highlight-color);
    color: var(--text-dark);
}

/* Featured Clinic Styles */
.featured-clinic {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.featured-clinic h5 {
    font-size: 0.9rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.mini-clinic-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 0.75rem;
    margin-top: 0.5rem;
}

.mini-clinic-card img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 0.5rem;
}

.mini-clinic-info h6 {
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.mini-clinic-info h6 a {
    color: var(--text-dark);
    text-decoration: none;
}

.mini-clinic-info h6 a:hover {
    color: var(--accent-color);
}

.mini-address {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.mini-rating {
    font-size: 0.75rem;
}

.mini-rating .rating {
    justify-content: flex-start;
    margin: 0;
}

.mini-rating .stars {
    font-size: 0.7rem;
}

.mini-rating .rating-text {
    font-size: 0.7rem;
}

/* Single Card Centering */
.cards-grid.single-card {
    justify-content: center;
    max-width: 400px;
    margin: 2rem auto;
}

.cards-grid.single-card .card {
    max-width: 100%;
}

/* Rating Styles */
.rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.5rem 0;
}

.stars {
    color: #ffc107;
}

.rating-text {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Work Hours Styles */
.work-hours {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.work-hours h4 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.hours-list {
    list-style: none;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.25rem 0;
    border-bottom: 1px solid var(--border-color);
}

.hours-list li:last-child {
    border-bottom: none;
}

/* Contact Info Styles */
.contact-info {
    background: var(--primary-color);
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.5rem 0;
}

.contact-item i {
    color: var(--accent-color);
    width: 20px;
}

/* Attributes Styles */
.attributes {
    margin: 1rem 0;
}

.attributes h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.attribute-group {
    margin-bottom: 1rem;
}

.attribute-group h5 {
    color: var(--accent-color);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.attribute-list {
    list-style: none;
    padding-left: 1rem;
}

.attribute-list li {
    padding: 0.25rem 0;
    position: relative;
}

.attribute-list li:before {
    content: "✓";
    color: var(--highlight-color);
    font-weight: bold;
    position: absolute;
    left: -1rem;
}

/* Review Topics Styles */
.review-topics {
    margin: 1rem 0;
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.topic-item {
    background: var(--neutral-color);
    padding: 0.5rem;
    border-radius: 5px;
    text-align: center;
    color: var(--white);
    font-size: 0.9rem;
}

/* Dropdown Styles */
.search-section {
    background: var(--white);
    padding: 3rem 0;
    margin: 2rem 0;
}

.dropdown-container {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.dropdown-wrapper {
    position: relative;
    flex: 1;
    min-width: 250px;
    max-width: 300px;
}

.dropdown-wrapper select {
    width: 100%;
    padding: 1rem 2.5rem 1rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: var(--white);
    color: var(--text-dark);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-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 1rem center;
    background-size: 1rem;
}

.dropdown-wrapper select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(222, 108, 131, 0.1);
}

.dropdown-wrapper select:disabled {
    background-color: #f8f9fa;
    color: var(--text-light);
    cursor: not-allowed;
    opacity: 0.6;
}

.dropdown-wrapper select option {
    padding: 0.5rem;
    background: var(--white);
    color: var(--text-dark);
}

/* Loading state for dropdowns */
.dropdown-wrapper.loading select {
    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%3cpath d='M21 12a9 9 0 11-6.219-8.56'/%3e%3c/svg%3e");
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Dropdown labels for better UX */
.dropdown-wrapper label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.9rem;
}

/* Breadcrumbs */
.breadcrumbs {
    background: var(--white);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumbs ul {
    list-style: none;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.breadcrumbs li:after {
    content: ">";
    margin-left: 0.5rem;
    color: var(--text-light);
}

.breadcrumbs li:last-child:after {
    display: none;
}

/* Navigation Links */
.nav-links {
    margin: 2rem 0;
    text-align: center;
}

.nav-link {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: var(--text-dark);
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background: var(--accent-color);
    color: var(--white);
}

/* Footer Styles */
.site-footer {
    background: linear-gradient(135deg, var(--text-dark), #555);
    color: var(--white);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo img {
    max-height: 80px;
    margin-bottom: 1rem;
}

.footer-menu ul {
    list-style: none;
}

.footer-menu a {
    color: var(--white);
    padding: 0.5rem 0;
    display: block;
    transition: color 0.3s ease;
}

.footer-menu a:hover {
    color: var(--highlight-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #555;
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .dropdown-container {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .dropdown-wrapper {
        width: 100%;
        max-width: 100%;
        min-width: auto;
    }
    
    .dropdown-wrapper select {
        font-size: 1.1rem;
        padding: 1.2rem 3rem 1.2rem 1.2rem;
        min-height: 50px;
        background-size: 1.2rem;
        background-position: right 1.2rem center;
    }
    
    .dropdown-wrapper label {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .cards-grid.cols-2,
    .cards-grid.cols-3,
    .cards-grid.cols-4 {
        grid-template-columns: 1fr;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .card {
        padding: 1rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
}

/* Featured Services Styles */
.featured-services-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 4rem 0;
}

.featured-card {
    position: relative;
    border: 2px solid var(--highlight-color);
    box-shadow: 0 8px 25px rgba(44, 246, 179, 0.2);
}

.featured-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(44, 246, 179, 0.3);
}

.featured-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--highlight-color);
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Advertisement Styles */
.fertility-ad {
    margin: 2rem 0;
    text-align: center;
    padding: 1rem;
}

.fertility-header-ad {
    background: #f8f9fa;
    border-bottom: 1px solid var(--border-color);
    margin: 0;
    padding: 1rem 0;
}

.fertility-footer-ad {
    background: #f8f9fa;
    border-top: 1px solid var(--border-color);
    margin: 0;
    padding: 2rem 0;
}

.fertility-homepage-ad {
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 2rem;
    margin: 3rem 0;
}

.fertility-single-ad {
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 2rem;
    margin: 3rem 0;
    border: 1px solid var(--border-color);
}

/* Ad responsive styles */
.fertility-ad img {
    max-width: 100%;
    height: auto;
}

.fertility-ad iframe {
    max-width: 100%;
}

/* State page featured services */
.state-featured-section {
    background: var(--primary-color);
    padding: 3rem 0;
    margin: 2rem 0;
    border-radius: 15px;
}

.state-featured-section .section-title {
    color: var(--text-dark);
    margin-bottom: 2rem;
}

/* Single Post Styles */
.single .content-area {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.entry-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.entry-title {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.entry-meta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    color: var(--text-light);
    font-size: 0.9rem;
}

.entry-meta span {
    position: relative;
}

.entry-meta span:not(:last-child):after {
    content: "•";
    margin-left: 1rem;
    color: var(--border-color);
}

.post-thumbnail {
    text-align: center;
    margin: 2rem 0;
}

.featured-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.entry-content {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin: 2rem 0;
    line-height: 1.8;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    color: var(--accent-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.entry-content h2 {
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.entry-content p {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.entry-content ul,
.entry-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.entry-content li {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.entry-content blockquote {
    background: var(--primary-color);
    border-left: 4px solid var(--accent-color);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 10px 10px 0;
    font-style: italic;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 1rem 0;
}

.entry-footer {
    background: var(--secondary-color);
    padding: 1.5rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.tags-links {
    color: var(--text-dark);
}

.tags-links a {
    display: inline-block;
    background: var(--white);
    color: var(--accent-color);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    margin: 0.25rem;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tags-links a:hover {
    background: var(--accent-color);
    color: var(--white);
}

/* Post Navigation */
.post-navigation {
    margin: 3rem 0;
    padding: 2rem 0;
    border-top: 2px solid var(--border-color);
}

.post-navigation .nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.nav-previous,
.nav-next {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.nav-previous:hover,
.nav-next:hover {
    transform: translateY(-3px);
}

.nav-previous a,
.nav-next a {
    text-decoration: none;
    color: var(--text-dark);
    display: block;
}

.nav-next {
    text-align: right;
}

.nav-subtitle {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.nav-title {
    display: block;
    font-size: 1.1rem;
    color: var(--accent-color);
    font-weight: 600;
    line-height: 1.3;
}

.nav-title:hover {
    color: var(--highlight-color);
}

/* Page Links for multi-page posts */
.page-links {
    background: var(--neutral-color);
    padding: 1rem;
    border-radius: 10px;
    margin: 2rem 0;
    text-align: center;
}

.page-links a,
.page-links > span {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0.25rem;
    background: var(--white);
    color: var(--accent-color);
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-links a:hover {
    background: var(--accent-color);
    color: var(--white);
}

.page-links > span {
    background: var(--accent-color);
    color: var(--white);
}

/* Comments Section */
.comments-area {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin: 3rem 0;
}

/* Responsive Design for Single Posts */
@media (max-width: 768px) {
    .single .content-area {
        padding: 1rem;
    }
    
    .entry-title {
        font-size: 2rem;
    }
    
    .entry-content {
        padding: 2rem;
    }
    
    .entry-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .entry-meta span:after {
        display: none;
    }
    
    .post-navigation .nav-links {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .nav-next {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .entry-content {
        padding: 1.5rem;
    }
    
    .entry-title {
        font-size: 1.75rem;
    }
    
    .nav-previous,
    .nav-next {
        padding: 1rem;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.p-1 { padding: 1rem; }
.p-2 { padding: 2rem; }

/* Section Spacing */
.section {
    padding: 3rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

/* Single Clinic Page Styles */
.clinic-main-content {
    margin: 2rem 0;
}

.clinic-image {
    text-align: center;
    margin-bottom: 3rem;
}

.clinic-image img {
    max-width: 800px;
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.clinic-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.clinic-details > div {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 1px solid var(--border-color);
}

.clinic-details h3,
.clinic-details h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.clinic-links {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.clinic-link {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--accent-color);
    color: var(--white);
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
}

.clinic-link:hover {
    background: var(--highlight-color);
    color: var(--text-dark);
    transform: translateY(-2px);
}

.clinic-address-section {
    background: var(--primary-color);
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1rem 0;
}

.clinic-address-section h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.clinic-rating-section {
    background: var(--secondary-color);
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1rem 0;
}

.clinic-rating-section h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.clinic-rating-section .rating {
    justify-content: flex-start;
}

.nearby-clinics-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid var(--border-color);
}

.nearby-clinics-section h2 {
    text-align: center;
    color: var(--accent-color);
    margin-bottom: 2rem;
}

/* Card rating alignment for single page */
.card .rating {
    justify-content: center;
}

/* Responsive adjustments for single clinic page */
@media (max-width: 768px) {
    .clinic-details {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .clinic-image img {
        height: 300px;
    }
    
    .clinic-links {
        justify-content: center;
    }
    
    .clinic-link {
        flex: 1;
        text-align: center;
        min-width: 150px;
    }
}

@media (max-width: 480px) {
    .clinic-details > div {
        padding: 1.5rem;
    }
    
    .clinic-image img {
        height: 250px;
    }
    
    .clinic-links {
        flex-direction: column;
    }
}
