/* Practice Template Styles */


.practice-container {
    max-width: 1440px;
    margin: 0 auto;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}

.practice-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 100px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.left-column,
.right-column {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    min-width: 0; /* Prevents grid items from overflowing */
    word-wrap: break-word; /* Prevents long text from overflowing */
}


/* Doctor Profile Section */
.doctor-profile {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.profile-image {
    flex-shrink: 0;
}

.profile-image img {
    border-radius: 50%;
}

.profile-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
}

.doctor-info {
    flex: 1;
}

.doctor-name {
    font-size: 30px !important;
    font-weight: bold;
    margin: 0 !important
}

.practice-name {
    font-size: 24px !important;
    font-weight: 400 !important;
    margin-top: 0 !important;
}

.address-info {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
	justify-content: space-between;
}

.address {
    color: #002F5F;
    font-size: 22px;
}

.distance {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #002F5F;
    font-weight: 500;
}

.pin-icon {
    font-size: 14px;
}

.acceptance-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.badge {
    background: #e3f2fd;
    color: #1976d2;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

/* Reviews Section */
.reviews-section {
    background: #FFEBC7;
    padding: 25px;
    border-radius: 16px;
    margin-bottom: 30px;
    position: relative;
    border: 2px solid #000;
}

.section-title {
    font-size: 24px;
    font-weight: 600;
    color: #002F5F;
    margin-bottom: 15px;
}

.practice-rating-info {
    margin-bottom: 15px;
}

.practice-rating-info .stars {
    display: flex;
    gap: 2px;
}

.practice-rating-info .star {
    font-size: 20px;
    color: #002F5F;
}

.star.partial {
    background: linear-gradient(90deg, #002F5F 50%, #002F5F 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.practice-info .rating-text {
    font-size: 14px;
    color: #002F5F;
    font-weight: 400;
}

.testimonial {
    margin-bottom: 15px;
}

.testimonial p {
    font-size: 16px;
    line-height: 1.6;
    color: #002F5F;
    margin-bottom: 10px;
}

.reviewer-info {
    font-size: 16px;
    color: #002F5F;
    font-style: italic;
    font-weight: 600;
    text-align: right;
    margin-top: 20px;
}

.review-nav-btn {
    transition: background-color 0.3s ease;
    cursor: pointer;
    width: 40px;
    /* height: 40px; */
    margin-left: 10px;
}
.review-nav-btn img {
    margin-top: 20px;
}

/* About Section */
.about-section {
    margin-bottom: 30px;
}

.about-content p {
    margin-bottom: 15px;
    font-size: 18px;
    line-height: 1.7;
    color: #262626;
}

/* Office Hours Section */
.office-hours-section {
    margin-bottom: 30px;
}

.hours-list {
    display: flex;
    gap: 8px;
	flex-wrap: wrap;
}

.hours-item {
   display: flex;
    align-items: center;
    padding: 2px 0;
    flex-basis: 50%;
    flex: 0 0 45%;
    flex-direction: row;
    align-items: flex-start;
    gap: 5px;
}

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

.day {
    font-weight: 500;
    color: #000;
	font-size: 18px;
	line-height: 29px;
}

.time {
    color: #000;
	font-size: 18px;
	line-height: 29px;
}

/* Right Column Styles */

/* Map Section */
.service-map-section {
    margin-bottom: 30px;
}

.service-map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    height: auto !important;
    max-height: auto !important;
    border: 2px solid #002F5F;
    border-radius: 25px;
}

.service-map-container iframe {
    display: block;
}

/* Highly Reviewed For Section */
.highly-reviewed-section {
    margin-bottom: 30px;
}

.reviewed-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.reviewed-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: #000;
}

.service-icon {
    font-size: 20px;
}

.certification-badges {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.cert-badge {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 18px;
}

.cert-badge.red {
    background: #dc3545;
}

.cert-badge.blue {
    background: #007bff;
}

.cert-badge.orange {
    background: #fd7e14;
}

/* Services Section */
.services-section {
    margin-bottom: 30px;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.service-item {
    padding: 8px 0;
    font-size: 18px;
    color: #002F5F;
    position: relative;
    padding-left: 15px;
}

.service-item::before {
    content: "•";
    color: #002F5F;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Call Now Button */
.call-section {
    text-align: right;
}

.call-now-btn {
    background: #002F5F;
    color: white;
    border: none;
    padding: 10px 44px;
    border-radius: 999px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: auto;
    max-width: auto;
}

.call-now-btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}
@media screen and (min-width: 768px) and (max-width: 1256px) {	
	.profile-image {
		height: 130px;
		width: 130px;
	}	
	.profile-image img {
		width: 100% !important;
		object-fit: cover;
        height: 100% !important;
	}
}
@media screen and (min-width: 1257px) {	
	.profile-image {
		height: 188px;
		width: 188px;
	}	
	.profile-image img {
		width: 100% !important;
		object-fit: cover;
        height: 100% !important;
	}
}

@media screen and (min-width: 768px) {
	.practice-rating-info .rating-text {
		margin-top: 5px !important;
	}
    .desktop-call-section {
        display: block;
    }
    .mobile-call-section {
        display: none;
    }
}

/* Responsive Design */
@media (max-width: 767px) {
	.desktop-speak-spanish {
		display: none !important;
	}
	.address-info .address {
    color: #002F5F;
    font-size: 20px !important;
}
	.desktop-map-section {
		display: none;
	}
    .desktop-call-section {
        display: none;
    }
    .mobile-call-section {
        display: block;
		margin-bottom: 29px !important;
		text-align: center !important;
    }
    .practice-container {
        padding: 0 15px;
        max-width: 100%;
    }
    
    .practice-content {
        grid-template-columns: 1fr;
        gap: 20px;
        width: 100%;
        max-width: 100%;
    }
    
    .left-column,
    .right-column {
        width: 100%;
        max-width: 100%;
        padding: 20px;
        box-sizing: border-box;
    }
    
    .doctor-profile {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-photo {
        width: 100px;
        height: 100px;
    }
    
    .doctor-name {
        font-size: 24px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .certification-badges {
        justify-content: center;
    }
    
    .service-map-container iframe {
        width: 100%;
        height: 250px;
    }
}
@media screen and (min-width: 768px) and (max-width: 1024px)  {
    .doctor-name {
        letter-spacing: 0 !important;
    }
    .practice-name {
        line-height: 26px !important;
    }
}

@media (max-width: 480px) {
    .reviews-section-container {
        position: relative;
    }
    .review-nav-btn {
        transition: background-color 0.3s ease;
        cursor: pointer;
        width: 30px !important;
        /* height: 40px; */
        margin-left: 10px !important;
        position: absolute;
        top: 130px !important;
        right: 7px !important;
    }
    .reviews-section-container .testimonial {
        padding-right: 20px !important;
    }
    .doctor-info {
        width: 100% !important;
    }
    .profile-image {
        margin: 0 auto !important;
    }
    .practice-container {
        padding: 0 10px;
        max-width: 100%;
    }
    
    .practice-content {
        grid-template-columns: 1fr;
        gap: 0;
        width: 100%;
        max-width: 100%;
    }
    
    .left-column,
    .right-column {
        width: 100%;
        max-width: 100%;
        padding: 0;
        box-sizing: border-box;
    }
    
    .doctor-profile {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        margin: 0 auto !important;
    }
    
    .profile-photo {
        width: 184px;
        height: 174px;
    }
    
    .doctor-name {
        font-size: 26px !important;
        letter-spacing: 0 !important;
    }
    
    .practice-name {
        font-size: 24px !important;
        line-height: 26px !important;
        margin: 0 0 12px !important;
    }
    
    .address-info {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        margin-bottom: 15px;
		align-items: center;
    }
    
    .acceptance-badges {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .badge {
        font-size: 12px;
        padding: 4px 8px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 5px;
    }
    
    .service-item {
        font-size: 14px;
        padding: 6px 10px;
    }
    
    .service-map-container iframe {
        width: 100%;
        height: 200px;
    }
    
    .call-now-btn {
        width: auto;
        padding: 12px 40px;
        font-size: 16px;
    }
    .call-section {
        text-align: center !important;
        margin-bottom: 29px !important;
    }
}
@media screen and (min-width: 768px) {	
	.service-item:nth-child(even) {
  /* your styles here */
  margin-left: 10px;
}

	
	.mobile-speak-spanish {
		display: none !important;
	}
	.mobile-map-section {
		display: none;
	}
    .reviews-section {
        width: 90%;
    }
    .reviews-section-container {
        display: flex;
    }
    
}
.reviews-section-inner {
    justify-content: space-between;
}

@media screen and (min-width: 1024px) and (max-width: 1300px) {
	.practice-content {
		gap: 60px !important;
	}
	.single-practice-container {
		padding: 95px 70px !important;
	}
}

@media screen and (max-width: 1024px) {
	
	#practice-rating-info {
		flex-direction: row !important;
        align-items: center !important;
	}
	.single-dental_practices .overall-rating  .rating-stars {
		display: block !important;
		text-align: right !important;
	}
    
    .practice-rating-info {
        flex-direction: column !important;
        align-items: flex-end;
        gap: 0px !important;
    }
    
}

#callNowBtn {
	border: 1px solid #002F5F !important;
	border-radius: 999px;
	transform: none !important;
}

#callNowBtn:hover, #callNowBtn:focus {
	color: #002F5F !important;
	background: #fff !important;
	border: 1px solid #002F5F !important;
	transform: none !important;
}
.doctor-profile .distance {
	font-size: 20px;
}
.speak-spanish {
	display: flex;
	align-items: center;
	margin-bottom: 20px;
}
.speak-spanish img{
	width: 30px;
	margin-right: 6px;
} 
.speak-spanish-text {
	font-size: 18px !important;
	color: #000 !important;
}

@media screen and (min-width: 1301px) {
    .single-practice-container {
        padding: 95px 120px !important;
    }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
    .single-practice-container {
        padding: 50px !important;
    }
}

/* Contact Information Section */
.contact-info-section {
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.contact-info-section .section-title {
    margin-bottom: 15px;
    color: #2c3e50;
    font-size: 18px;
    font-weight: 600;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #495057;
}

.contact-item strong {
    color: #2c3e50;
    font-weight: 600;
    min-width: 80px;
}

.contact-item a {
    color: #0073aa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #005a87;
    text-decoration: underline;
}
.practice-card .main-title {
	margin: 0 0 5px 0;
}
@media screen and (max-width: 767px) {
	.practice-card .sub-title {
		margin-bottom: 6px !important;
	}
	.practice-card .title-rating-row {
		gap: 0 !important;
	}
	.practice-card .location-info {
		padding-top: 5px !important;
	}
    .hours-item {
        flex: 0 0 100% !important;
    }
	.practice-name {
		line-height: 100% !important;
        font-size: 24px !important;
	}
	.doctor-name {
		letter-spacing: 0 !important;
        font-size: 26px !important;
        font-weight: 600 !important;
	}
    .single-practice-container {
        padding: 40px 20px !important;
    }
    
    .contact-info-section {
        margin-bottom: 20px;
        padding: 15px;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .contact-item strong {
        min-width: auto;
    }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
	.address-info {
		flex-direction: column !important;
	}
}


@media screen and (min-width: 1024px) {
	.doctor-profile .distance {
		min-width: 125px;
	}
}
.reviews-section-title-container {
    display: flex;
    justify-content: space-between;
}


