.clinic-item{
	float: left;
	width: 100%;
	border: solid 2px rgb(229 231 235);
	border-radius: .25rem;
	position: relative;
	margin-bottom: 30px;
	height: calc(100% - 30px);
	overflow: hidden;
}
.clinic-item .ci-image{
	position: absolute;
	left: 0;
	width: 16rem;
	top: 0;
	bottom: 0;
	background-size: cover !important;
	background-position: center top !important;
}
.clinic-item .ci-image .ci-logo{
	position: absolute;
	left: 10px;
	right: 10px;
	bottom: 10px;
	background-color: #fff;
	padding: 6px 0;
}
.clinic-item .ci-image .ci-logo img{
	height: auto;
	max-height: 36px;
	width: auto;
	margin: auto;
	display: block;
}
.clinic-item .ci-detail{
	float: right;
	width: calc(100% - 16rem);
	padding: 1.25rem;
	box-sizing: border-box;
	color: rgb(100 116 139);
	position: relative;
	height: 100%;
	padding-bottom: calc(1.25rem + 50px);
	font-family: Poppins,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";
}
.clinic-item .ci-detail .ci-rev{
	float: left;
	width: 100%;
	display: flex;
	align-items: center;
	gap: 0;
}
.clinic-item .ci-detail .ci-rev .label{
	font-size: .875rem;
	font-weight: 600;
	line-height: normal;
	color: rgb(234 179 8);
}
.clinic-item .ci-detail .ci-rev .value{
	color: rgb(156 163 175);
	font-size: .675rem;
	margin-left: .25rem;
	line-height: normal;	
}
.clinic-item .ci-detail .ci-title{
	color: rgb(30 41 59);
	float: left;
	width: 100%;
	font-weight: 600;
	font-size: .875rem;
	line-height: 1.25rem;
	margin: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.clinic-item .ci-detail .ci-location{
	float: left;
	width: 100%;
	font-size: .75rem;
	line-height: 1rem;
	margin: 0;
	display: flex;
	align-items: center;
	gap: 3px;
	color: rgb(100 116 139);
}
.clinic-item .ci-detail .ci-cat{
	float: left;
	width: 100%;
	margin-top: 1.25rem;
	margin-bottom: 0;
	padding: 0;
	list-style: none;
}
.clinic-item .ci-detail .ci-cat li:first-child{
	margin: 0;
}
.clinic-item .ci-detail .ci-cat li{
	float: left;
	width: 100%;
	display: flex;
	align-items: center;
	font-size: .75rem;
    line-height: 1rem;
	margin-top: 3px;
}
.clinic-item .ci-detail .ci-cat li span{
	margin-left: auto;
	font-weight: 700;
	color: rgb(246 114 128);
	font-size: 1.125rem;
	line-height: 1;
}
.clinic-item .ci-detail .ci-profile{
	float: left;
	clear: both;
	text-underline-offset: 2px;	
	text-decoration: underline;
	font-size: .75rem;
    line-height: 1rem;
	margin: .5rem 0 1.25rem 0;
	color: rgb(100 116 139);
    display: flex;
    align-items: center;
    gap: 4px;
}
.clinic-item .ci-detail .ci-short{
	float: left;
	width: 100%;
	font-size: .75rem;
	color: rgb(246 114 128);
	font-weight: 600;
	font-size: .75rem;
	line-height: 1rem;
	margin-top: 80px;
	height: 32px;
	display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.clinic-item .ci-detail .ci-agenda-link{
	position: absolute;
    left: 1.25rem;
    right: 1.25rem;
    bottom: 1.25rem;
    font-size: .875rem;
    line-height: 1.25rem;
    background: rgb(246 114 128);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 45px;
    border-radius: .25rem;
    color: #fff;
    font-weight: 600;
    gap: 9px;
}
.clinic-item .ci-detail .ci-agenda-link:hover{
	background: rgb(225 84 99);
}
/* Ensure the card container remains the same size */
.fixed-card {
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
    border-radius: 10px;
    border: solid 1px rgb(246 114 128) !important;
    padding: 15px;
    max-width: 310px; /* Ensuring it doesn't expand too much */
    min-height: 420px; /* Preventing shrinking */
    margin: auto; /* Center alignment */
}

/* Logo container at the top */
.clinic-logo-container {
    justify-content: center;
    width: 50%;
    padding-bottom: 2px;
}

/* Logo image */
.clinic-logo-top {
    width: 170px; /* Adjust for better fit */
    height: 85px; /* Make it uniform */
    object-fit: contain;
}

/* Clinic title when no logo is available */
.dr-title {
    display: block;
    font-size: 16px;
    font-weight: bold;
    margin-top: 5px;
    color: #333;
}

/* Ensuring other elements inside the card do not stretch */
.dr-detail-card {
    width: 100%;
	float: left;
    width: 100%;
    /* margin-top: 1rem; */
    position: relative;
    padding-bottom: 45px;
    height: calc(100% - 158px);
    font-family: Poppins, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", Segoe UI Symbol, "Noto Color Emoji";
}

.dr-item .dr-detail .dr-agenda-link {
    position: absolute;
    left: 0;
    right: 0;
    font-size: .875rem;
    line-height: 1.25rem;
    background: rgb(246 114 128);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 45px;
    border-radius: .25rem;
    color: #fff;
    font-weight: 600;
    gap: 9px;
}
.ci-agenda-link-card{
	position: absolute;
    left: 1.25rem;
    right: 1.25rem;
    bottom: -2.75rem;
    font-size: .875rem;
    line-height: 1.25rem;
    background: rgb(246 114 128);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 45px;
    border-radius: .25rem;
    color: #fff;
    font-weight: 600;
    gap: 9px;
}
.clinic-distance-formula{
	padding-left: 20px;
    gap:3px !important;
}

.clinic-distance-formula-featured {
    padding-left: 70px;
}

.ci-short-card{
	width: 100%;
	font-size: .75rem;
	color: rgb(246 114 128);
	font-weight: 600;
	font-size: .75rem;
	line-height: 1rem;
	height: 35px !important;
	display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
	font-weight: 600;
	margin-bottom: .5rem;
}
/* ⭐ Clinic Reviews Styling */
.clinic-reviews {
    display: flex;
    align-items: center;
    gap: 5px; /* Space between stars and review count */
    margin-left: 0px;
	margin-bottom: -20px;
}

.review-stars-container {
    display: flex;
    align-items: center;
    gap: 5px; /* Small spacing between stars and reviews */
}

.review-stars i {
    font-size: 14px;
    color: #facc15; /* ⭐ Yellow Star Color */
}

.review-count {
    font-size: .675rem;
    font-weight: 400;
    color: #9ca3af;
}
.review-score {
    font-weight: 600;
    font-size: .875rem;
    line-height: 1.25rem;
    color: #eab308;
}
.clinic-title{
	font-weight: 600;
	--tw-text-opacity: 1;
    color: rgb(30 41 59 / var(--tw-text-opacity, 1));
	font-size: .875rem;
    line-height: 1.25rem;
}
.ci-cat{
    float: left;
    width: 100%;
    margin-top: 1.25rem !important;
    /* margin-bottom: 4px; */
    padding: 0;
    list-style: none;
}

/* Brand Logos Container */
.brand-logos-list {
    display: flex;
    gap: 0.5rem; /* Space between logos */
    flex-wrap: wrap; /* Allow wrapping if more than 4 logos */
    margin-top: 0.75rem; /* Space above the logos */
    margin-bottom: 0.75rem; /* Space below the logos */
    justify-content: flex-start; /* Align logos to the left */
    max-width: 100%; /* Ensure logos don't overflow the card */
}

/* Individual Brand Logo Container */
.clinic-brand-image {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px; /* Fixed width for each logo container */
    height: 2rem; /* Fixed height for each logo container */
    background-color: white;
    border: 1px solid rgb(246 114 128); /* Light border */
    border-radius: 0.25rem; /* Rounded corners */
    padding: 0.25rem; /* Padding inside the container */
    flex-shrink: 0; /* Prevent shrinking */
}

/* Brand Logo Image */
.clinic-brand-img {
    height: 100%; /* Ensure the image fills the container height */
    width: auto; /* Maintain aspect ratio */
    object-fit: contain; /* Ensure the image fits inside the container */
}

/* Heart Icon Container */
.absolute {
    position: absolute;
}

.top-0 {
    top: 0;
}

.right-0 {
    right: 0;
}

.mt-3 {
    margin-top: 0.75rem;
}

.mr-3 {
    margin-right: 0.75rem;
}

.z-10 {
    z-index: 10;
}

/* Heart Icon Styling */
.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}
.leading-none {
    line-height: 1;
}

.cursor-pointer {
    cursor: pointer;
}

.md:hover\:scale-\[120\%\]:hover {
    transform: scale(1.2);
}

.transition {
    transition: all 0.2s ease-in-out;
}

.p-1 {
    padding: 0.25rem;
}

.-m-1 {
    margin: -0.25rem;
}

/* Heart Icon Colors */
.text-red-500 {
    color: #ef4444; /* Red for enabled state */
}

.text-gray-300 {
    color: #d1d5db; /* Gray for disabled state */
}

.ci-agenda-link-card:hover, .ci-agenda-link-card:active {
    background-color: #e15463 !important;
	color:white;

}
.clinic-title:hover {
    color: black;
}

.clinic-reviews-featured {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-left: 0px;
    margin-bottom: 0px;
}
.review-count:hover {
    color: black;
}

.google-logo {
    width: 90px; /* Adjust the size as needed */
    height: auto; /* Maintain aspect ratio */
    margin-right: 8px; /* Add spacing between the logo and text */
    vertical-align: middle; /* Align the logo with the text */
}
