﻿
@font-face {
	font-family: 'Shabnam';
	src: url('./assets/fonts/shabnam/Shabnam-Light.woff2') format('woff2'),
		url('./assets/fonts/shabnam/Shabnam-Light.woff') format('woff');
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Shabnam';
	src: url('./assets/fonts/shabnam/Shabnam.woff2') format('woff2'),
		url('./assets/fonts/shabnam/Shabnam.woff') format('woff');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Shabnam';
	src: url('./assets/fonts/shabnam/Shabnam-Bold.woff2') format('woff2'),
		url('./assets/fonts/shabnam/Shabnam-Bold.woff') format('woff');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

:root,
body,
:where(.wp-site-blocks) {
	font-family: 'Shabnam', sans-serif;
	font-size: 1rem;
	line-height: 0; /* Remove line-height gap */
}
/* Restore line-height for text content */
p, h1, h2, h3, h4, h5, h6, li, span, a, label, input, textarea, select, button {
    line-height: 1.5;
}

:root :where(.is-layout-constrained) > *{
	margin-block-start:0
}
.doctor-primary-menu-container,
.doctor-nav-logo-container {
	margin: 0;
	padding: 0;
}

body,
button,
input,
select,
textarea {
	font-family: 'Shabnam', sans-serif;
}

body {
	color: #000;
	background-color: #fff;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.doctor-header-wrapper {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.doctor-primary-nav {
	background-color: #13bfb1;
    border-radius: 0;
	box-shadow: 0 5px 10px -6px rgba(0, 0, 0, 0.3);
	border: none;
    border-bottom: 1px solid rgba(133, 133, 133, 0.3);
	padding: .8rem 2rem;
	margin: 0;
	max-width: 100%;
	width: 100%;
	display: flex;
    justify-content: center;
	direction: ltr;
    position: relative;
    z-index: 100;
}

/* Inner content wrapper for max-width constraint */
.doctor-primary-nav-inner {
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    max-width: 1288px; /* Requested inner max width */
    gap: 1.5rem;
    margin: 0 auto;
}

/* Adjust main content padding to account for fixed header - removed as header is relative now */
body {
    padding-top: 0;
}

.doctor-menu-toggle {
	display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: .5rem;
    flex-direction: column;
    justify-content: space-around;
    width: 50px;
    height: 45px;
    z-index: 1001;
    order: 2;
    margin-right: 0 !important;
}

.doctor-menu-toggle span {
	width: 24px;
	height: 2px;
	background-color: #fff;
	transition: all 0.3s ease;
	transform-origin: center;
}

.doctor-menu-toggle[aria-expanded="true"] span:nth-child(1) {
	transform: rotate(45deg) translate(7px, 7px);
}

.doctor-menu-toggle[aria-expanded="true"] span:nth-child(2) {
	opacity: 0;
}

.doctor-menu-toggle[aria-expanded="true"] span:nth-child(3) {
	transform: rotate(-45deg) translate(7px, -7px);
}

	.doctor-primary-menu-container {
		display: flex;
		justify-content: flex-end;
		flex: 1;
		order: 2;
		padding: 0;
		margin-right: 0 !important;
		margin-left: 0 !important;
		min-width: 0;
	}

    /* Header Actions - Centered between logo and menu */
    .doctor-nav-actions {
        display: flex;
        align-items: center;
        gap: 1rem;
        margin: 0 auto; /* Center in the available space */
    }

	.doctor-nav-logo-container {
	display: flex;
	justify-content: flex-start;
	max-width: 70px;
	flex-shrink: 0;
	order: 1;
	padding: 0;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.doctor-primary-menu {
	list-style: none;
	display: flex;
	flex-direction: row-reverse;
	flex-wrap: wrap;
	margin: 0 !important;
	padding: 0 !important;
	direction: rtl;
	text-align: right;
	justify-content: flex-end;
	width: auto;
	padding-inline-start: 0;
}

.doctor-primary-menu li {
	margin: 0;
	position: relative;
	list-style: none;
}

.doctor-primary-menu a {
	font-weight: 400;
	color: #fff;
	font-size: clamp(1.05rem, 1.3vw, 1.25rem);
	padding: .45rem 1rem;
	border-radius: 0;
	text-decoration: none;
	background-color: transparent;
	transition: background-color .3s ease, color .3s ease, box-shadow .3s ease;
	display: inline-flex;
	align-items: center;
}

.doctor-primary-menu a:hover,
.doctor-primary-menu a:focus-visible {
	background-color: rgba(255, 255, 255, 0.3);
	color: #fff;
	box-shadow: none;
}

.doctor-primary-menu .sub-menu {
	list-style: none;
	margin: 0;
	padding: .75rem 0;
	position: absolute;
	top: calc(100% + .75rem);
	right: 0;
	min-width: 200px;
	background-color: #f7f6f3;
	box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
	border-radius: 10px;
	opacity: 0;
	transform: translateY(-10px);
	transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
	visibility: hidden;
	z-index: 10;
}

.doctor-primary-menu li:hover > .sub-menu,
.doctor-primary-menu li:focus-within > .sub-menu {
	opacity: 1;
	transform: translateY(0);
	visibility: visible;
}

.doctor-primary-menu .sub-menu li {
	width: 100%;
	list-style: none;
}

.doctor-primary-menu .sub-menu a {
	display: block;
	font-size: .95rem;
	padding: .45rem 1rem;
	border-radius: 0;
	color: #333;
}

.doctor-primary-menu .sub-menu a:hover,
.doctor-primary-menu .sub-menu a:focus-visible {
	background-color:rgb(158 206 200 / 12%);
	color: #000;
}

.doctor-nav-logo {
	margin-right: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}

.doctor-nav-logo img {
	max-width: 70px;
	width: 100%;
	height: auto;
	display: block;
    filter: brightness(0) invert(1);
}

@media (max-width: 1024px) {
	.doctor-primary-nav {
		padding: .75rem 1.5rem;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
	}

    .doctor-primary-nav-inner {
        flex-wrap: wrap;
    }

	.doctor-menu-toggle {
		display: flex;
		order: 2;
		margin-left: auto;
		margin-right: 0;
	}

	.doctor-primary-menu-container {
		display: none;
		width: 100%;
		order: 3;
		flex: none;
		margin-top: 1rem;
        flex-direction: column; /* Stack items vertically */
	}

	.doctor-primary-nav.menu-open .doctor-primary-menu-container {
		display: flex;
	}

    /* Re-add menu styles inside media query */
	.doctor-primary-menu {
		flex-direction: column;
		width: 100%;
		align-items: stretch;
		gap: 0;
		direction: rtl;
	}

	.doctor-primary-menu li {
		width: 100%;
		border-bottom: 1px solid rgba(133, 133, 133, 0.2);
	}

	.doctor-primary-menu li:last-child {
		border-bottom: none;
	}

	.doctor-primary-menu a {
		display: block;
		font-size: 1rem;
		padding: .75rem 1rem;
		width: 100%;
		text-align: right;
	}

	.doctor-primary-menu .sub-menu {
		position: static;
		opacity: 1;
		transform: none;
		visibility: visible;
		box-shadow: none;
		background-color: #f7f6f3;
		padding: 0;
		margin: 0;
		border-radius: 0;
		width: 100%;
	}

	.doctor-primary-menu .sub-menu li {
		border-bottom: 1px solid rgba(133, 133, 133, 0.15);
	}

	.doctor-primary-menu .sub-menu a {
		padding: .6rem 1rem .6rem 2rem;
		font-size: .9rem;
	}

	.doctor-nav-logo-container {
		max-width: 60px;
		order: 1;
	}

	.doctor-nav-logo img {
		max-width: 60px;
	}

    .doctor-nav-actions {
        width: 100%;
        justify-content: center;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(255,255,255,0.1);
    }
}

/* Header Actions */
.doctor-nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-right: 1.5rem;
}

.doctor-search-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.doctor-search-icon:hover {
    background-color: rgba(255,255,255,0.2);
}

.doctor-cta-button {
    background-color: #80319a;
    color: #fff !important; /* Force white text */
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    white-space: nowrap;
}

.doctor-cta-button:hover {
    background-color: #6b2783;
    transform: translateY(-2px);
}

@media (max-width: 600px) {
	.doctor-primary-nav {
		padding: .35rem .5rem;
		margin-top: 8px;
	}

	.doctor-nav-logo-container {
		max-width: 50px;
	}

	.doctor-nav-logo img {
		max-width: 50px;
	}

	.doctor-primary-menu a {
		font-size: .95rem;
		padding: .65rem 1rem;
	}
}

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */
a {
	text-decoration-thickness: 1px !important;
	text-underline-offset: .1em;
}

/* Focus styles */
:where(.wp-site-blocks *:focus) {
	outline-width: 2px;
	outline-style: solid;
}

/* Increase the bottom margin on submenus, so that the outline is visible. */
.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-item:not(:last-child) {
	margin-bottom: 3px;
}

/* Increase the outline offset on the parent menu items, so that the outline does not touch the text. */
.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content {
	outline-offset: 4px;
}

/* Remove outline offset from the submenus, otherwise the outline is visible outside the submenu container. */
.wp-block-navigation .wp-block-navigation-item ul.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	outline-offset: 0;
}

/*
 * Progressive enhancement to reduce widows and orphans
 * https://github.com/WordPress/gutenberg/issues/55190
 */
h1, h2, h3, h4, h5, h6, blockquote, caption, figcaption, p {
	text-wrap: pretty;
}

/*
 * Change the position of the more block on the front, by making it a block level element.
 * https://github.com/WordPress/gutenberg/issues/65934
*/
.more-link {
	display: block;
}

/* Hide site title/tagline on front page */
body.home .wp-block-group.alignwide.is-layout-flex.is-content-justification-space-between,
body.page-template-front-page .wp-block-group.alignwide.is-layout-flex.is-content-justification-space-between,
.home .wp-block-group.alignwide.is-layout-flex.is-content-justification-space-between {
	display: none !important;
}
.has-global-padding{
	margin: 0 !important;
}

/* Hero Section */
.doctor-hero-section {
	width: 100vw !important;
	max-width: 100vw !important;
	position: relative !important;
	left: 50% !important;
	right: 50% !important;
	margin-left: -50vw !important;
	margin-right: -50vw !important;
	padding: 0;
    background: #ddeded;
    background: -webkit-linear-gradient(180deg, rgba(221, 237, 237, 1) 23%, rgba(252, 252, 252, 1) 84%);
    background: -moz-linear-gradient(180deg, rgba(221, 237, 237, 1) 23%, rgba(252, 252, 252, 1) 84%);
    background: linear-gradient(180deg, rgba(221, 237, 237, 1) 23%, rgba(252, 252, 252, 1) 84%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#DDEDED", endColorstr="#FCFCFC", GradientType=0);
    direction: rtl;
    display: block;
}

.doctor-hero-columns {
	margin: 0 auto !important;
	gap: 3rem;
	align-items: center;
	max-width: 1288px;
    width: 100%;
	direction: rtl;
    padding: 2rem 1rem;
}

.doctor-hero-image-column {
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.doctor-hero-image {
	margin: 0;
	padding: 0;
	background: transparent;
	position: relative;
}

.doctor-hero-image img {
	width: 100%;
	height: auto;
	object-fit: cover;
    aspect-ratio: 1 / 1;
	background: #fff;
	display: block;
	max-width: 500px;
    border-radius: 100% !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.doctor-hero-text-column {
	margin: 0;
	padding: 2rem;
	direction: rtl;
	text-align: right;
}

.doctor-hero-title {
	font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    position: absolute;
    bottom: -8px;
    text-align: center;
    background: #80319a;
    box-shadow: 0 0 26px -5px rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    padding: 10px;
}

.doctor-hero-subtitle {
	font-size: clamp(1.25rem, 3vw, 1.75rem);
	font-weight: 700;
	color: #515151;
	margin-bottom: 1.25rem;
	line-height: 1.4;
}

.doctor-hero-description {
	font-size: clamp(1rem, 2vw, 1.15rem);
	font-weight: 400;
	color: #333;
	line-height: 1.8;
	margin-top: 1rem;
	margin-bottom: 0;
}

@media (max-width: 1024px) {
	.doctor-hero-section {
		padding: 1rem 0.75rem;
	}

	.doctor-hero-columns {
		flex-direction: column;
		gap: 2rem;
	}

	.doctor-hero-image-column,
	.doctor-hero-text-column {
		width: 100% !important;
		flex-basis: 100% !important;
	}

	.doctor-hero-text-column {
		padding: 0.75rem 0.5rem;
		text-align: center;
	}
}

@media (max-width: 600px) {
	.doctor-hero-section {
		padding: 0.75rem 0.5rem;
	}

	.doctor-hero-columns {
		gap: 1.5rem;
	}

	.doctor-hero-text-column {
		padding: 0.5rem;
	}
}

/* Hero Slider Styles */
.doctor-hero-slider-container {
    position: relative;
    width: 100%;
    height: 280px; /* Adjust based on design */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.doctor-hero-slider-track {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.doctor-hero-slider-item {
    position: absolute; /* We will position them with JS classes or CSS transforms */
    width: 95%;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    text-align: right; /* Title on right (RTL default) */
    transition: all 0.3s ease-in-out;
    opacity: 0; /* Hidden by default */
    display: flex; /* Hidden by JS mostly, but flex for content */
    flex-direction: row; /* Title right, button left in RTL */
    align-items: center;
    justify-content: space-between;
  
    background-color: rgba(255, 255, 255, 0.5); /* Fallback */
    margin: 0;
}

.doctor-hero-slider-title {
    font-size: 0.95rem;
    color: #333;
    margin: 0;
    font-weight: 500;
    flex-grow: 1;
    text-align: right;
}

.doctor-hero-slider-button {
    font-size: 1.4rem;
    background-color: #80319a; /* Secondary color */
    color: #fff !important;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    text-decoration: none !important;
    transition: background-color 0.3s;
    display: inline-block;
    white-space: nowrap;
    flex-shrink: 0;
}

.doctor-hero-slider-button:hover {
    background-color: #6a2880;
}

/* States controlled by JS */

/* Active Item (Middle) */
.doctor-hero-slider-item.active {
    opacity: 1;
    transform: translateY(0) scale(.8);
    z-index: 10;
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08); /* Fade shadow */
    width: 100%; /* A bit bigger */
    padding: .5rem 1.5rem;
}

.doctor-hero-slider-item.active .doctor-hero-slider-title {
    font-size: 1.1rem;
    font-weight: bold;
}

/* Previous Item (Top) */
.doctor-hero-slider-item.prev {
    opacity: 0.6;
    transform: translateY(-100%) scale(0.8);
    z-index: 5;
    background-color: transparent;
    border: none;
    box-shadow: none;
}

/* Next Item (Bottom) */
.doctor-hero-slider-item.next {
    opacity: 0.6;
    transform: translateY(100%) scale(0.8);
    z-index: 5;
    background-color: transparent;
    border: none;
    box-shadow: none;
}

/* Mobile adjustment */
@media (max-width: 768px) {
    .doctor-hero-slider-container {
        height: 240px;
    }
    .doctor-hero-slider-item {
        width: 90%;
    }
}

/* Services Section */
.doctor-services-section {
	width: 100vw !important;
	max-width: 100vw !important;
	position: relative !important;
	left: 50% !important;
	right: 50% !important;
	margin-left: -50vw !important;
	margin-right: -50vw !important;
	padding: 0;
	background-color: #fff;
	direction: rtl;
}

/* Inner container for services section - max-width 1024px */
.doctor-services-section > .wp-block-group {
	max-width: 1288px !important;
	margin: 0 auto !important;
	padding: 4rem 2rem;
}

.doctor-services-title {
	font-size: clamp(1.75rem, 4vw, 2.25rem);
	font-weight: 700;
	color: #80319a;
	margin-bottom: 3rem;
	text-align: center;
}

.doctor-services-cards {
	margin: 0;
	gap: 2rem;
	align-items: stretch;
	display: grid !important;
	grid-template-columns: repeat(4, 1fr);
	width: 100%;
}

.doctor-service-card {
	background-color: #fff;
	border: 1px solid rgba(133, 133, 133, 0.15);
	border-radius: 12px;
	padding: 2rem;
	display: flex;
	flex-direction: column;
	transition: all 0.3s ease;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
	margin-bottom: 0;
	width: 100%;
}

.doctor-service-card:hover {
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
	transform: translateY(-4px);
	border-color: rgba(19, 191, 177, 0.3);
}

.doctor-service-icon {
	text-align: center;
	margin-bottom: 1.5rem;
	line-height: 1;
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	width: 80px;
	height: 80px;
	margin-left: auto;
	margin-right: auto;
}

.doctor-service-icon img.service-icon-img {
	width: 80px;
	height: 80px;
	object-fit: contain;
	position: absolute;
	top: 0;
	left: 0;
	transition: opacity 0.3s ease;
}

.doctor-service-icon .service-icon-green {
	opacity: 1;
}

.doctor-service-icon .service-icon-purple {
	opacity: 0;
}

.doctor-service-card:hover .doctor-service-icon .service-icon-green {
	opacity: 0;
}

.doctor-service-card:hover .doctor-service-icon .service-icon-purple {
	opacity: 1;
}

.doctor-service-card-title {
	font-size: clamp(1.15rem, 2vw, 1.35rem);
	font-weight: 700;
	color: #000;
	margin-bottom: 1rem;
	text-align: center;
	line-height: 1.4;
}

.doctor-service-card-description {
	font-size: 1rem;
	font-weight: 400;
	color: #555;
	line-height: 1.8;
	text-align: center;
	margin-bottom: 1.5rem;
	flex-grow: 1;
}

.doctor-service-card .wp-block-buttons {
	justify-content: center;
	margin-top: auto;
}

.doctor-service-button {
	margin-top: 0;
	text-align: center;
}

.doctor-service-button .wp-block-button__link {
	background-color: #80319a;
	color: #fff;
	border-radius: 6px;
	padding: 0.75rem 2rem;
	font-size: 1rem;
	font-weight: 500;
	text-decoration: none;
	transition: all 0.3s ease;
	border: none;
	display: inline-block;
	width: auto;
	min-width: 120px;
	text-align: center;
}

.doctor-service-button .wp-block-button__link:hover,
.doctor-service-button .wp-block-button__link:focus {
	background-color: #6a2780;
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(128, 49, 154, 0.3);
}

/* Services Section Responsive */
@media (max-width: 1200px) {
	.doctor-services-section > .wp-block-group {
		padding: 3.5rem 1.5rem;
	}

	.doctor-services-cards {
		grid-template-columns: repeat(4, 1fr) !important;
		gap: 1.5rem;
	}
}

@media (max-width: 1024px) {
	.doctor-services-section > .wp-block-group {
		padding: 3rem 1.5rem;
	}

	.doctor-services-cards {
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 1.5rem;
		display: grid !important;
	}

	.doctor-service-card {
		padding: 1.75rem;
		width: 100% !important;
		max-width: 100% !important;
	}
}

@media (max-width: 900px) {
	.doctor-services-cards {
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 1.25rem;
	}
}

@media (max-width: 768px) {
	.doctor-services-section > .wp-block-group {
		padding: 2.5rem 1rem;
	}

	.doctor-services-title {
		margin-bottom: 2rem;
		font-size: clamp(1.5rem, 5vw, 1.75rem);
	}

	.doctor-services-cards {
		grid-template-columns: 1fr !important;
		gap: 1.5rem;
		display: grid !important;
	}

	.doctor-service-card {
		width: 100% !important;
		max-width: 100% !important;
		padding: 1.5rem;
		margin: 0 !important;
	}

	.doctor-service-icon {
		width: 70px;
		height: 70px;
	}

	.doctor-service-icon img.service-icon-img {
		width: 70px;
		height: 70px;
	}

	.doctor-service-card-title {
		font-size: 1.15rem;
	}

	.doctor-service-card-description {
		font-size: 0.9rem;
	}
}

@media (max-width: 480px) {
	.doctor-services-section > .wp-block-group {
		padding: 2rem 0.75rem;
	}

	.doctor-services-cards {
		grid-template-columns: 1fr !important;
		gap: 1.25rem;
	}

	.doctor-service-card {
		width: 100% !important;
		max-width: 100% !important;
		padding: 1.25rem;
	}

	.doctor-service-icon {
		width: 60px;
		height: 60px;
	}

	.doctor-service-icon img.service-icon-img {
		width: 60px;
		height: 60px;
	}
}

/* Appointment Section */
.doctor-appointment-section {
	width: 100vw !important;
	max-width: 100vw !important;
	position: relative !important;
	left: 50% !important;
	right: 50% !important;
	margin-left: -50vw !important;
	margin-right: -50vw !important;
	padding: 50px 0;
	background-color: #fff;
	direction: rtl;
}

/* Inner container for appointment section - max-width 1024px */
.doctor-appointment-section > .wp-block-group {
	max-width: 1024px !important;
	margin: 0 auto !important;
	padding: 0;
}

.doctor-appointment-columns {
	margin: 0;
	gap: 0;
	align-items: stretch;
	display: grid !important;
	grid-template-columns: 2fr 1fr;
	direction: rtl;
	width: 100%;
}

.doctor-working-hours-column {
	background-color: #80319a;
	padding: 3rem 2.5rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	position: absolute;
    box-shadow: 0 0 31px -4px rgba(0, 0, 0, 0.6);
    top: 115px;
    left: -80px;
}

.doctor-working-hours-title {
	font-size: clamp(1.5rem, 3vw, 1.75rem);
	font-weight: 700;
	color: #fff;
	margin-bottom: 2rem;
	text-align: right;
}

.doctor-working-hours-item {
	font-size: 1rem;
	font-weight: 400;
	color: #fff;
	line-height: 1.8;
	margin-bottom: 1rem;
	text-align: right;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 0.5rem;
}

.doctor-working-hours-item:last-child {
	margin-bottom: 0;
}

.doctor-hours-day {
	white-space: nowrap;
	flex-shrink: 0;
	text-align: right;
}

.doctor-hours-time {
	white-space: nowrap;
	flex-shrink: 0;
	text-align: left;
}

.doctor-hours-dots {
	flex: 1;
	overflow: hidden;
	text-align: center;
	color: rgba(255, 255, 255, 0.5);
	letter-spacing: 2px;
	font-size: 0.9rem;
	line-height: 1;
}

.doctor-contact-form-column {
	background-color: #13bfb1;
	padding: 3rem 2.5rem;
	display: flex;
	flex-direction: column;
}

.doctor-contact-form-title {
	font-size: clamp(1.5rem, 3vw, 1.75rem);
	font-weight: 700;
	color: #fff;
	margin-bottom: 2rem;
	text-align: right;
}

.doctor-contact-form-column .wpcf7 {
	width: 90%;
	max-width: 600px;
	margin: 0 auto;
}

.doctor-contact-form-column .wpcf7-form {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 0;
}

/* Form field rows container */
.doctor-contact-form-column .wpcf7-form .wpcf7-form-row {
	display: flex;
	flex-direction: row;
	gap: 1rem;
	margin-bottom: 1rem;
}

/* Form field rows - first two fields in one row (نام کامل and موبایل) */
.doctor-contact-form-column .wpcf7-form > p:nth-of-type(1),
.doctor-contact-form-column .wpcf7-form > div:nth-of-type(1),
.doctor-contact-form-column .wpcf7-form > p:nth-of-type(2),
.doctor-contact-form-column .wpcf7-form > div:nth-of-type(2) {
	display: inline-block;
	width: calc(50% - 0.5rem);
	margin-bottom: 1rem;
	vertical-align: top;
	box-sizing: border-box;
}

.doctor-contact-form-column .wpcf7-form > p:nth-of-type(1),
.doctor-contact-form-column .wpcf7-form > div:nth-of-type(1) {
	margin-left: 1rem;
}

/* Third and fourth fields in one row (سابقه بیماری and نوع مشاوره) */
.doctor-contact-form-column .wpcf7-form > p:nth-of-type(3),
.doctor-contact-form-column .wpcf7-form > div:nth-of-type(3),
.doctor-contact-form-column .wpcf7-form > p:nth-of-type(4),
.doctor-contact-form-column .wpcf7-form > div:nth-of-type(4) {
	display: inline-block;
	width: calc(50% - 0.5rem);
	margin-bottom: 1rem;
	vertical-align: top;
	box-sizing: border-box;
}

.doctor-contact-form-column .wpcf7-form > p:nth-of-type(3),
.doctor-contact-form-column .wpcf7-form > div:nth-of-type(3) {
	margin-left: 1rem;
}

/* Textarea full width - target paragraph or div containing textarea */
.doctor-contact-form-column .wpcf7-form > p:has(textarea),
.doctor-contact-form-column .wpcf7-form > div:has(textarea) {
	width: 100% !important;
	display: block !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.doctor-contact-form-column .wpcf7-form textarea {
	width: 100% !important;
	display: block;
}

.doctor-contact-form-column .wpcf7-form label {
	color: #fff;
	font-size: 1rem;
	font-weight: 400;
	display: block;
	margin-bottom: 0.5rem;
}

.doctor-contact-form-column .wpcf7-form input[type="text"],
.doctor-contact-form-column .wpcf7-form input[type="email"],
.doctor-contact-form-column .wpcf7-form input[type="tel"],
.doctor-contact-form-column .wpcf7-form input[type="url"],
.doctor-contact-form-column .wpcf7-form input[type="date"],
.doctor-contact-form-column .wpcf7-form textarea,
.doctor-contact-form-column .wpcf7-form select {
	width: 100%;
	padding: 0.75rem 1rem;
	border: 2px solid rgba(255, 255, 255, 0.3);
	border-radius: 8px;
	background-color: rgba(255, 255, 255, 0.95);
	color: #000;
	font-size: 1rem;
	font-family: Shabnam, sans-serif;
	margin-bottom: 0;
	transition: border-color 0.3s ease, background-color 0.3s ease;
	box-sizing: border-box;
	direction: rtl;
	text-align: right;
}

.doctor-contact-form-column .wpcf7-form select {
	cursor: pointer;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23000' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 1rem center;
	padding-right: 2.5rem;
}

.doctor-contact-form-column .wpcf7-form input:focus,
.doctor-contact-form-column .wpcf7-form textarea:focus,
.doctor-contact-form-column .wpcf7-form select:focus {
	outline: none;
	border-color: #fff;
	background-color: #fff;
}

.doctor-contact-form-column .wpcf7-form input[type="submit"],
.doctor-contact-form-column .wpcf7-form button[type="submit"] {
	background-color: #80319a;
	color: #fff;
	padding: 0.875rem 2rem;
	border: 2px solid #80319a;
	border-radius: 8px;
	font-size: 1rem;
	font-weight: 600;
	font-family: Shabnam, sans-serif;
	cursor: pointer;
	transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
	margin-top: 0.5rem;
	width: auto;
	min-width: 120px;
}

.doctor-contact-form-column .wpcf7-form input[type="submit"]:hover,
.doctor-contact-form-column .wpcf7-form button[type="submit"]:hover {
	background-color: #6b2783;
	border-color: #6b2783;
	transform: translateY(-2px);
}

.doctor-contact-form-column .wpcf7-form input[type="submit"]:active,
.doctor-contact-form-column .wpcf7-form button[type="submit"]:active {
	transform: translateY(0);
}

.doctor-contact-form-column .wpcf7-response-output {
	color: #fff;
	background-color: rgba(255, 255, 255, 0.1);
	border: 2px solid rgba(255, 255, 255, 0.3);
	border-radius: 8px;
	padding: 1rem;
	margin-top: 1rem;
}

/* Appointment Section Responsive */
@media (max-width: 1200px) {
	.doctor-appointment-columns {
		grid-template-columns: 2fr 1fr !important;
	}

	.doctor-working-hours-column,
	.doctor-contact-form-column {
		padding: 2.75rem 2rem;
		position: relative !important;
		top: auto !important;
		left: auto !important;
		right: auto !important;
		margin: 0 !important;
	}

	.doctor-working-hours-column {
		box-shadow: none !important;
		border-bottom: 1px solid rgba(255,255,255,0.1);
	}
}

@media (max-width: 1024px) {
	.doctor-appointment-columns {
		grid-template-columns: 1fr !important;
		display: grid !important;
	}

	.doctor-working-hours-column,
	.doctor-contact-form-column {
		padding: 2.5rem 2rem;
		width: 100% !important;
		max-width: 100% !important;
	}

	.doctor-working-hours-column {
		order: 2;
	}

	.doctor-contact-form-column {
		order: 1;
	}
}

@media (max-width: 768px) {
	.doctor-appointment-section {
		padding: 0;
	}

	.doctor-appointment-columns {
		grid-template-columns: 1fr !important;
		display: grid !important;
	}

	.doctor-working-hours-column,
	.doctor-contact-form-column {
		padding: 2rem 1.5rem;
		width: 100% !important;
		max-width: 100% !important;
	}

	.doctor-working-hours-title,
	.doctor-contact-form-title {
		margin-bottom: 1.5rem;
		text-align: center;
		font-size: clamp(1.25rem, 4vw, 1.5rem);
	}

	.doctor-working-hours-item {
		flex-direction: column;
		text-align: center;
		gap: 0.25rem;
	}

	.doctor-hours-day,
	.doctor-hours-time {
		text-align: center;
	}

	.doctor-hours-dots {
		display: none;
	}

	.doctor-contact-form-column .wpcf7 {
		width: 100% !important;
		max-width: 100% !important;
	}

	/* Form fields stack on mobile */
	.doctor-contact-form-column .wpcf7-form > p:nth-of-type(1),
	.doctor-contact-form-column .wpcf7-form > div:nth-of-type(1),
	.doctor-contact-form-column .wpcf7-form > p:nth-of-type(2),
	.doctor-contact-form-column .wpcf7-form > div:nth-of-type(2),
	.doctor-contact-form-column .wpcf7-form > p:nth-of-type(3),
	.doctor-contact-form-column .wpcf7-form > div:nth-of-type(3),
	.doctor-contact-form-column .wpcf7-form > p:nth-of-type(4),
	.doctor-contact-form-column .wpcf7-form > div:nth-of-type(4) {
		width: 100% !important;
		display: block !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}
}

@media (max-width: 480px) {
	.doctor-appointment-columns {
		grid-template-columns: 1fr !important;
	}

	.doctor-working-hours-column,
	.doctor-contact-form-column {
		padding: 1.5rem 1rem;
		width: 100% !important;
		max-width: 100% !important;
	}

	.doctor-working-hours-title,
	.doctor-contact-form-title {
		margin-bottom: 1.25rem;
		font-size: 1.25rem;
	}

	.doctor-working-hours-item {
		font-size: 0.9rem;
		margin-bottom: 0.75rem;
	}

	.doctor-contact-form-column .wpcf7-form .row input[type="text"],
	.doctor-contact-form-column .wpcf7-form .row input[type="tel"],
	.doctor-contact-form-column .wpcf7-form .row select,
	.doctor-contact-form-column .wpcf7-form .row textarea {
		padding: 0.625rem 0.875rem;
		font-size: 0.9rem;
	}

	.doctor-contact-form-column .wpcf7-form input[type="submit"],
	.doctor-contact-form-column .wpcf7-form button[type="submit"] {
		padding: 0.75rem 1.5rem;
		font-size: 0.9rem;
		width: 100%;
	}
}

/* FAQ Section */
.doctor-faq-section {
	width: 100vw !important;
	max-width: 100vw !important;
	position: relative !important;
	left: 50% !important;
	right: 50% !important;
	margin-left: -50vw !important;
	margin-right: -50vw !important;
	padding: 0;
	background: #ffffff;
    background: -webkit-linear-gradient(0deg, rgba(255, 255, 255, 1) 22%, rgba(221, 237, 237, 1) 54%, rgba(252, 252, 252, 1) 84%);
    background: -moz-linear-gradient(0deg, rgba(255, 255, 255, 1) 22%, rgba(221, 237, 237, 1) 54%, rgba(252, 252, 252, 1) 84%);
    background: linear-gradient(0deg, rgba(255, 255, 255, 1) 22%, rgba(221, 237, 237, 1) 54%, rgba(252, 252, 252, 1) 84%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#FFFFFF", endColorstr="#FCFCFC", GradientType=0);
	direction: rtl;
}

.doctor-faq-section > .wp-block-group {
	max-width: 1024px !important;
	margin: 0 auto !important;
	padding: 4rem 0 !important;
}

.doctor-faq-columns {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	align-items: center;
}

.doctor-faq-image-column,
.doctor-faq-content-column {
	flex: 1 1 50%;
	min-width: 0;
}

.doctor-faq-image {
	margin: 0;
	display: flex;
	justify-content: center;
	align-items: center;
}

.doctor-faq-image img {
	width: 100%;
	height: auto;
	max-width: 480px;
	border-radius: 20px;
	object-fit: cover;
	box-shadow: 0 25px 45px rgba(0, 0, 0, 0.15);
}
.doctor-faq-image img{
	max-width: 90%;
	height: auto;
}

.doctor-faq-title {
	font-size: clamp(1.75rem, 4vw, 2.25rem);
	font-weight: 700;
	color: #80319a;
	margin-bottom: 1.5rem;
}

.doctor-faq-accordion {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.doctor-faq-item {
	background: #fff;
	border-radius: 14px;
	border: 1px solid rgba(19, 191, 177, 0.15);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
	overflow: hidden;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.doctor-faq-item[open] {
	border-color: rgba(128, 49, 154, 0.4);
	box-shadow: 0 16px 35px rgba(128, 49, 154, 0.18);
}

.doctor-faq-item summary {
	cursor: pointer;
	position: relative;
	padding: 1.25rem 3.5rem 1.25rem 1.5rem;
	font-size: 1rem;
	font-weight: 600;
	color: #1b1b1b;
	list-style: none;
}

.doctor-faq-item summary::-webkit-details-marker {
	display: none;
}

.doctor-faq-item summary::after {
	content: '+';
	position: absolute;
	left: 1.25rem;
	top: 50%;
	transform: translateY(-50%);
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: rgba(19, 191, 177, 0.15);
	color: #13bfb1;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.25rem;
	font-weight: 700;
	transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.doctor-faq-item[open] summary::after {
	content: '−';
	background: rgba(128, 49, 154, 0.2);
	color: #80319a;
}

.doctor-faq-answer {
	padding: 0 1.5rem 1.5rem;
	font-size: 0.95rem;
	line-height: 1.9;
	color: #333;
}

.doctor-faq-answer p {
	margin-top: 0;
	margin-bottom: 0.75rem;
}

.doctor-faq-contact {
	font-size: 1.1rem;
	font-weight: 700;
	color: #13bfb1;
}

.doctor-faq-supplements {
	width: 100%;
	border-collapse: collapse;
	margin-top: 0.75rem;
	font-size: 0.9rem;
}

.doctor-faq-supplements th,
.doctor-faq-supplements td {
	border: 1px solid rgba(0, 0, 0, 0.08);
	padding: 0.75rem;
	text-align: right;
}

.doctor-faq-supplements th {
	background: rgba(128, 49, 154, 0.1);
	font-weight: 600;
	color: #80319a;
}

@media (max-width: 1024px) {
	.doctor-faq-columns {
		flex-direction: column;
	}

	.doctor-faq-image-column,
	.doctor-faq-content-column {
		flex-basis: 100%;
	}

	.doctor-faq-title {
		text-align: center !important;
	}
}

@media (max-width: 768px) {
	.doctor-faq-section > .wp-block-group {
		padding: 2.5rem 0;
	}

	.doctor-faq-item summary {
		padding: 1rem 3rem 1rem 1.5rem;
		font-size: 0.95rem;
	}

	.doctor-faq-answer {
		padding: 0 1rem 1rem;
	}
}

@media (max-width: 500px) {
	.doctor-faq-item summary {
		padding: 0.85rem 2.75rem 0.85rem 1.25rem;
	}

	.doctor-faq-item summary::after {
		left: 0.85rem;
	}

	.doctor-faq-answer {
		font-size: 0.9rem;
	}
}
/* Contact Form 7 Row Layout - More specific to override any conflicts */
.doctor-contact-form-column .wpcf7-form .row,
.doctor-contact-form-column .wpcf7 .wpcf7-form .row,
.doctor-contact-form-column form .row {
	width: 100% !important;
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	gap: 1rem !important;
	margin-bottom: 1rem !important;
	direction: rtl;
	align-items: flex-start;
	clear: both;
}

/* All row divs - default to 50% width for side-by-side layout (first two rows) */
.doctor-contact-form-column .wpcf7-form .row > div,
.doctor-contact-form-column .wpcf7 .wpcf7-form .row > div,
.doctor-contact-form-column form .row > div {
	flex: 1 1 calc(50% - 0.5rem) !important;
	width: calc(50% - 0.5rem) !important;
	min-width: 0 !important;
	max-width: calc(50% - 0.5rem) !important;
	box-sizing: border-box !important;
	display: block !important;
	float: none !important;
	clear: none !important;
}

/* Textarea row - full width (using :has selector for modern browsers) */
.doctor-contact-form-column .wpcf7-form .row:has(textarea) {
	display: block !important;
}

.doctor-contact-form-column .wpcf7-form .row:has(textarea) > div {
	width: 100% !important;
	flex: none !important;
	max-width: 100% !important;
}

/* Fallback for browsers without :has() - target textarea directly and its parent */
.doctor-contact-form-column .wpcf7-form .row textarea {
	width: 100% !important;
}

/* Additional fallback: rows with single div child (textarea row) */
.doctor-contact-form-column .wpcf7-form .row > div:first-child:last-child {
	width: 100% !important;
	flex: none !important;
	max-width: 100% !important;
}

/* Override any Contact Form 7 default styles that might interfere */
.doctor-contact-form-column .wpcf7-form .row > div > * {
	width: 100% !important;
	display: block !important;
}

/* Form fields inside rows */
.doctor-contact-form-column .wpcf7-form .row input[type="text"],
.doctor-contact-form-column .wpcf7-form .row input[type="tel"],
.doctor-contact-form-column .wpcf7-form .row select,
.doctor-contact-form-column .wpcf7-form .row textarea {
	width: 100% !important;
	padding: 0.75rem 1rem;
	border: 2px solid rgba(255, 255, 255, 0.3);
	border-radius: 8px;
	background-color: rgba(255, 255, 255, 0.95);
	color: #000;
	font-size: 1rem;
	font-family: Shabnam, sans-serif;
	margin-bottom: 0 !important;
	transition: border-color 0.3s ease, background-color 0.3s ease;
	box-sizing: border-box !important;
	direction: rtl;
	text-align: right;
	display: block !important;
}

.doctor-contact-form-column .wpcf7-form .row input::placeholder,
.doctor-contact-form-column .wpcf7-form .row textarea::placeholder {
	color: rgba(0, 0, 0, 0.5);
	opacity: 1;
}

.doctor-contact-form-column .wpcf7-form .row input:focus,
.doctor-contact-form-column .wpcf7-form .row select:focus,
.doctor-contact-form-column .wpcf7-form .row textarea:focus {
	outline: none;
	border-color: #fff;
	background-color: #fff;
}

.doctor-contact-form-column .wpcf7-form .row select {
	cursor: pointer;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23000' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 1rem center;
	padding-right: 2.5rem;
}

/* Submit button */
.doctor-contact-form-column .wpcf7-form input[type="submit"],
.doctor-contact-form-column .wpcf7-form button[type="submit"] {
	background-color: #80319a;
	color: #fff;
	padding: 0.875rem 2rem;
	border: 2px solid #80319a;
	border-radius: 8px;
	font-size: 1rem;
	font-weight: 600;
	font-family: Shabnam, sans-serif;
	cursor: pointer;
	transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
	margin-top: 0.5rem;
	width: auto;
	min-width: 120px;
}

.doctor-contact-form-column .wpcf7-form input[type="submit"]:hover,
.doctor-contact-form-column .wpcf7-form button[type="submit"]:hover {
	background-color: #6b2783;
	border-color: #6b2783;
	transform: translateY(-2px);
}

.doctor-contact-form-column .wpcf7-form input[type="submit"]:active,
.doctor-contact-form-column .wpcf7-form button[type="submit"]:active {
	transform: translateY(0);
}

/* Responsive - stack form rows on mobile */
@media (max-width: 768px) {
	.doctor-contact-form-column .wpcf7-form .row:not(:has(textarea)) {
		flex-direction: column !important;
		gap: 0 !important;
	}

	.doctor-contact-form-column .wpcf7-form .row:not(:has(textarea)) > div {
		width: 100% !important;
		flex: none !important;
		max-width: 100% !important;
		margin-bottom: 1rem;
	}

	.doctor-contact-form-column .wpcf7-form .row:not(:has(textarea)) > div:last-child {
		margin-bottom: 0;
	}
}

@media (max-width: 480px) {
	.doctor-contact-form-column .wpcf7-form .row:not(:has(textarea)) > div {
		margin-bottom: 0.875rem;
	}
}

/* Force row layout - Maximum specificity override */
.doctor-contact-form-column .wpcf7-form .row.row {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
}

.doctor-contact-form-column .wpcf7-form .row.row > div {
	display: block !important;
	flex: 0 0 calc(50% - 0.5rem) !important;
	width: calc(50% - 0.5rem) !important;
	max-width: calc(50% - 0.5rem) !important;
}

.textara-booking *{
	width: 100% !important;
}

/* Blog Section */
.doctor-blog-section {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background-color: #fff !important;
    direction: rtl !important;
}

.doctor-blog-section > .wp-block-group {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 5rem 2rem !important;
}

.doctor-blog-section-title {
    font-size: clamp(1.75rem, 4vw, 2.25rem) !important;
    font-weight: 700 !important;
    color: #80319a !important;
    margin-bottom: 3rem !important;
    text-align: center !important;
}

.doctor-blog-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2rem !important;
    margin-bottom: 3rem !important;
    width: 100% !important;
}

.doctor-blog-card {
    background: #fff !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    display: flex !important;
    flex-direction: column !important;
    border: 1px solid rgba(0,0,0,0.05) !important;
    height: 100% !important;
    position: relative !important;
    text-decoration: none !important;
}

.doctor-blog-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1) !important;
}

.doctor-blog-link {
    text-decoration: none !important;
    color: inherit !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

.doctor-blog-image-wrapper {
    width: 100% !important;
    padding-top: 65% !important; /* Aspect ratio */
    position: relative !important;
    background-color: #f0f0f0 !important;
    overflow: hidden !important;
}

.doctor-blog-image-wrapper img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.6s ease !important;
}

.doctor-blog-card:hover .doctor-blog-image-wrapper img {
    transform: scale(1.08) !important;
}

/* Date badge */
.doctor-blog-date {
    position: absolute !important;
    top: 1rem !important;
    right: 1rem !important;
    background-color: rgba(255, 255, 255, 0.95) !important;
    color: #80319a !important;
    padding: 0.4rem 0.8rem !important;
    border-radius: 50px !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1) !important;
    z-index: 2 !important;
    backdrop-filter: blur(4px) !important;
}

.doctor-blog-content {
    padding: 1.75rem !important;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}

.doctor-blog-title {
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    margin: 0 0 0.75rem 0 !important;
    line-height: 1.5 !important;
    transition: color 0.3s ease !important;
}

.doctor-blog-card:hover .doctor-blog-title {
    color: #13bfb1 !important;
}

.doctor-blog-excerpt {
    font-size: 0.95rem !important;
    color: #666 !important;
    line-height: 1.8 !important;
    margin-bottom: 1.5rem !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    flex-grow: 1 !important;
}

.doctor-blog-read-more {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    color: #13bfb1 !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    margin-top: auto !important;
    transition: gap 0.3s ease !important;
}

.doctor-blog-read-more::after {
    content: '←' !important;
    font-size: 1.2rem !important;
    line-height: 1 !important;
    transition: transform 0.3s ease !important;
}

.doctor-blog-card:hover .doctor-blog-read-more {
    gap: 0.75rem !important;
}

.doctor-blog-card:hover .doctor-blog-read-more::after {
    transform: translateX(-3px) !important;
}

.doctor-blog-button {
    margin-top: 1rem !important;
}

.doctor-blog-button .wp-block-button__link {
    background-color: #13bfb1 !important; /* Primary color */
    color: #fff !important;
    border-radius: 50px !important;
    padding: 0.875rem 2.75rem !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(19, 191, 177, 0.2) !important;
}

.doctor-blog-button .wp-block-button__link:hover {
    background-color: #0ea89c !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(19, 191, 177, 0.4) !important;
}

/* Responsive */
@media (max-width: 1024px) {
    .doctor-blog-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
    }
}

@media (max-width: 600px) {
    .doctor-blog-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    .doctor-blog-section > .wp-block-group {
        padding: 3rem 1.5rem !important;
    }
    
    .doctor-blog-content {
        padding: 1.5rem !important;
    }
    
    .doctor-blog-title {
        font-size: 1.15rem !important;
    }
}


/* Footer Section */
.doctor-footer-section {
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	background-color: #13bfb1 !important;
	color: #fff !important;
	direction: rtl !important;
}

.doctor-footer-section > .wp-block-group {
	max-width: 1200px !important;
	margin: 0 auto !important;
	padding: 4rem 2rem 1rem 2rem !important;
}

.doctor-footer-columns {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 2rem !important;
	margin-bottom: 3rem !important;
}

.doctor-footer-col-info,
.doctor-footer-col-center,
.doctor-footer-col-left {
	flex: 1 1 0px !important;
	min-width: 250px !important;
}

/* Right Column - Logo & Info */
.doctor-footer-col-info .doctor-nav-logo {
	justify-content: flex-start !important;
	margin-bottom: 1.5rem !important;
}

.doctor-footer-col-info .doctor-nav-logo img {
	max-width: 90px !important;
	filter: brightness(0) invert(1); /* Make logo white if it's an image */
}

.doctor-footer-title {
	font-size: 1.25rem !important;
	font-weight: 700 !important;
	color: #fff !important;
	margin-bottom: 1rem !important;
}

.doctor-footer-address {
	font-size: 0.95rem !important;
	line-height: 1.8 !important;
	color: rgba(255, 255, 255, 0.9) !important;
	margin-bottom: 1.5rem !important;
}

.doctor-footer-socials {
	display: flex !important;
	gap: 1rem !important;
	align-items: center !important;
}

.doctor-social-icon {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 40px !important;
	height: 40px !important;
	border-radius: 50% !important;
	background-color: rgba(255, 255, 255, 0.2) !important;
	color: #fff !important;
	transition: all 0.3s ease !important;
}

.doctor-social-icon:hover {
	background-color: #fff !important;
	color: #13bfb1 !important;
	transform: translateY(-3px) !important;
}

.doctor-social-icon svg {
	width: 20px !important;
	height: 20px !important;
}

/* Center & Left Columns - Links */
.doctor-footer-heading {
	font-size: 1.25rem !important;
	font-weight: 700 !important;
	color: #fff !important;
	margin-bottom: 1.5rem !important;
}

.doctor-footer-list {
	list-style: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

.doctor-footer-list li {
	margin-bottom: 0.75rem !important;
}

.doctor-footer-list a {
	color: rgba(255, 255, 255, 0.9) !important;
	text-decoration: none !important;
	font-size: 1rem !important;
	transition: color 0.3s ease, padding-right 0.3s ease !important;
	display: inline-block !important;
}

.doctor-footer-list a:hover {
	color: #fff !important;
	padding-right: 5px !important;
}

/* Copyright Row */
.doctor-footer-copyright {
	border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
	padding-top: 1.5rem !important;
	margin-top: 1rem !important;
}

.doctor-footer-copyright p {
	color: rgba(255, 255, 255, 0.7) !important;
	font-size: 0.85rem !important;
	margin: 0 !important;
}

/* Responsive Footer */
@media (max-width: 768px) {
	.doctor-footer-columns {
		flex-direction: column !important;
		gap: 2.5rem !important;
	}

	.doctor-footer-col-info,
	.doctor-footer-col-center,
	.doctor-footer-col-left {
		width: 100% !important;
		flex: none !important;
		text-align: center !important;
	}

	.doctor-footer-col-info .doctor-nav-logo {
		justify-content: center !important;
	}

	.doctor-footer-socials {
		justify-content: center !important;
	}
}
