/**
 * Meet Dr. Marks Section Styles - MINIMAL
 * Only contains: layout, positioning, responsive
 * Typography and colors are handled by inline block styles
 */

/* ==========================================================================
   Section Container - Layout
   ========================================================================== */

.meet-doctor {
	display: grid;
	grid-template-columns: 1fr 1fr;
	max-width: 1765px;
	margin: 0 auto;
	background-color: var(--wp--preset--color--background);
	position: relative;
	overflow: hidden;
}

/* ==========================================================================
   Left Column - Images & Positioning
   ========================================================================== */

.meet-doctor__image-column {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	padding: var(--wp--preset--spacing--medium-padding) 0;
	padding-left: var(--wp--preset--spacing--50);
}

.meet-doctor__background {
	position: absolute;
	left: 0;
	top: 0;
	width: 60%;
	height: 100%;
	z-index: 1;
}

.meet-doctor__background img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.meet-doctor__photo-container {
	position: relative;
	z-index: 2;
	max-width: 460px;
}

.meet-doctor__photo {
	width: 100%;
	height: auto;
	display: block;
}

/* Badge positioning - REQUIRES CSS (absolute positioning) */
.meet-doctor__badge {
	position: absolute;
	top: -25px;
	right: -40px;
	width: 146px;
	height: 146px;
	z-index: 3;
}

.meet-doctor__badge-svg {
	width: 100%;
	height: 100%;
}

/* ==========================================================================
   Right Column - Content Layout
   ========================================================================== */

.meet-doctor__content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: var(--wp--preset--spacing--medium-padding);
	padding-left: 124px;
	max-width: 600px;
}

.meet-doctor__heading {
	margin: 0 0 20px 0;
	white-space: nowrap;
}

.meet-doctor__description {
	margin: 0 0 28px 0;
	margin-left: 92px;
	width: 427px;
}

.meet-doctor__cta {
	margin-left: 92px;
}

/* Link underline - REQUIRES CSS (pseudo-element) */
.meet-doctor__link {
	text-decoration: none;
	display: inline-block;
	position: relative;
	color: inherit;
	transition: color 0.2s ease;
}

.meet-doctor__link::after {
	content: '';
	position: absolute;
	bottom: -8px;
	left: 0;
	width: 153px;
	height: 1px;
	background-color: var(--wp--preset--color--secondary);
}

.meet-doctor__link:hover,
.meet-doctor__link:focus {
	color: var(--wp--preset--color--secondary);
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */

@media (max-width: 1440px) {
	.meet-doctor__content {
		padding-left: 100px;
	}

	.meet-doctor__photo-container {
		max-width: 400px;
	}
}

@media (max-width: 1280px) {
	.meet-doctor__content {
		padding: var(--wp--preset--spacing--small-padding);
		padding-left: 80px;
	}

	.meet-doctor__description {
		margin-left: 70px;
		width: 380px;
	}

	.meet-doctor__cta {
		margin-left: 70px;
	}

	.meet-doctor__photo-container {
		max-width: 360px;
	}

	.meet-doctor__badge {
		width: 120px;
		height: 120px;
		right: -60px;
	}
}

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

	.meet-doctor__image-column {
		justify-content: center;
		padding: 60px 40px;
	}

	.meet-doctor__background {
		width: 50%;
	}

	.meet-doctor__content {
		padding: 60px 40px;
		max-width: 100%;
		align-items: center;
		text-align: center;
	}

	.meet-doctor__heading {
		white-space: normal;
	}

	.meet-doctor__description {
		margin-left: 0;
		width: auto;
		max-width: 500px;
	}

	.meet-doctor__cta {
		margin-left: 0;
	}

	.meet-doctor__badge {
		right: -50px;
	}
}

@media (max-width: 768px) {
	.meet-doctor__image-column {
		padding: 48px 24px;
	}

	.meet-doctor__background {
		width: 40%;
	}

	.meet-doctor__photo-container {
		max-width: 320px;
	}

	.meet-doctor__badge {
		width: 100px;
		height: 100px;
		right: -40px;
	}

	.meet-doctor__content {
		padding: 48px 24px;
	}

	.meet-doctor__heading {
		margin-bottom: 20px;
	}

	.meet-doctor__description {
		margin-bottom: 24px;
	}

	.meet-doctor__link::after {
		width: 120px;
	}
}

@media (max-width: 375px) {
	.meet-doctor__image-column {
		padding: 40px 20px;
	}

	.meet-doctor__photo-container {
		max-width: 280px;
	}

	.meet-doctor__badge {
		width: 80px;
		height: 80px;
		right: -30px;
	}

	.meet-doctor__content {
		padding: 40px 20px;
	}
}

@media (max-width: 320px) {
	.meet-doctor__image-column {
		padding: 32px 16px;
	}

	.meet-doctor__photo-container {
		max-width: 250px;
	}

	.meet-doctor__badge {
		width: 70px;
		height: 70px;
		right: -25px;
	}

	.meet-doctor__content {
		padding: 32px 16px;
	}

	.meet-doctor__link::after {
		width: 100px;
	}
}
