/**
 * About Page Long-form Urology Content.
 *
 * @package DrSanhithaPurushotham
 */


/* ==================================================
   SECTION
================================================== */

.about-urology {
	--about-navy: #082746;
	--about-deep: #061a32;
	--about-gold: #c88c32;
	--about-gold-light: #e4bb6c;
	--about-cream: #faf4ea;
	--about-copy: #526779;
	--about-border: rgba(181, 136, 65, 0.17);

	position: relative;

	width: 100%;

	padding:
		80px
		0
		95px;

	/*
	 * IMPORTANT FOR STICKY.
	 * Do not use overflow:hidden here.
	 */
	overflow: visible;

	background:
		linear-gradient(
			180deg,
			#fffdfa 0%,
			#faf6ef 47%,
			#fffdfa 100%
		);
}


.about-urology::before {
	position: absolute;

	top: 0;
	right: 0;

	width: 460px;
	height: 460px;

	background:
		radial-gradient(
			circle,
			rgba(205, 158, 81, 0.09),
			transparent 68%
		);

	content: "";

	pointer-events: none;
}


/* ==================================================
   MAIN TWO COLUMN CONTAINER
================================================== */

.about-urology__container {
	position: relative;

	z-index: 2;

	display: grid;

	width:
		min(
			calc(100% - 80px),
			1360px
		);

	margin-inline: auto;

	grid-template-columns:
		minmax(0, 1fr)
		390px;

	gap: 65px;

	/*
	 * CRITICAL:
	 * Stretch right sidebar to the full height
	 * of the long left content.
	 */
	align-items: stretch;

	overflow: visible;
}


/* ==================================================
   LEFT CONTENT
================================================== */

.about-urology__content {
	min-width: 0;

	align-self: start;

	overflow: visible;
}


/* ==================================================
   INTRO LABEL
================================================== */

.about-urology__intro-label {
	display: flex;

	margin-bottom: 28px;

	align-items: center;

	gap: 11px;
}


.about-urology__intro-label span {
	display: block;

	width: 42px;
	height: 1px;

	background:
		var(--about-gold);
}


.about-urology__intro-label p {
	margin: 0;

	color:
		#a66e1c;

	font-family:
		"Montserrat",
		Arial,
		Helvetica,
		sans-serif;

	font-size: 10px;
	font-weight: 700;

	line-height: 1;

	letter-spacing: 2.2px;

	text-transform: uppercase;
}


/* ==================================================
   CONTENT SECTION CARDS
================================================== */

.about-urology__section {
	position: relative;

	margin-bottom: 28px;

	padding:
		35px
		38px
		38px;

	border:
		1px solid
		var(--about-border);

	border-radius: 19px;

	background:
		linear-gradient(
			145deg,
			#ffffff,
			#fffdf9
		);

	box-shadow:
		0
		12px
		35px
		rgba(73, 52, 28, 0.045);

	transition:
		transform 300ms ease,
		box-shadow 300ms ease,
		border-color 300ms ease;
}


.about-urology__section:last-child {
	margin-bottom: 0;
}


@media (hover: hover) and (pointer: fine) {

	.about-urology__section:hover {
		border-color:
			rgba(193, 139, 49, 0.30);

		box-shadow:
			0
			20px
			50px
			rgba(73, 52, 28, 0.08);

		transform:
			translateY(-3px);
	}
}


/* ==================================================
   SECTION HEADING
================================================== */

.about-urology__section-heading {
	display: grid;

	margin-bottom: 25px;

	grid-template-columns:
		50px
		minmax(0, 1fr);

	gap: 18px;

	align-items: start;
}


.about-urology__number {
	display: flex;

	width: 48px;
	height: 48px;

	align-items: center;
	justify-content: center;

	border:
		1px solid
		rgba(194, 140, 48, 0.24);

	border-radius: 50%;

	background:
		#faf1e4;

	color:
		var(--about-gold);

	font-family:
		"Cormorant Garamond",
		Georgia,
		serif;

	font-size: 18px;
	font-weight: 700;

	line-height: 1;
}


.about-urology__eyebrow {
	display: block;

	margin-bottom: 5px;

	color:
		#a47427;

	font-family:
		"Montserrat",
		Arial,
		sans-serif;

	font-size: 8px;
	font-weight: 700;

	line-height: 1.3;

	letter-spacing: 1.7px;

	text-transform: uppercase;
}


.about-urology__section-heading h2 {
	margin: 0;

	color:
		var(--about-navy);

	font-family:
		"Cormorant Garamond",
		Georgia,
		serif;

	font-size:
		clamp(
			27px,
			2.3vw,
			35px
		);

	font-weight: 700;

	line-height: 1.08;

	letter-spacing: -0.25px;
}


/* ==================================================
   RICH CONTENT
================================================== */

.about-urology__rich-content {
	color:
		var(--about-copy);

	font-family:
		"Montserrat",
		Arial,
		Helvetica,
		sans-serif;

	font-size: 13px;
	font-weight: 400;

	line-height: 1.9;
}


.about-urology__rich-content > *:first-child {
	margin-top: 0;
}


.about-urology__rich-content > *:last-child {
	margin-bottom: 0;
}


.about-urology__rich-content p {
	margin:
		0
		0
		18px;
}


.about-urology__rich-content strong {
	color:
		#173853;

	font-weight: 700;
}


.about-urology__rich-content a {
	color:
		#a76e1c;

	font-weight: 600;

	text-decoration-thickness: 1px;

	text-underline-offset: 3px;
}


/* ==================================================
   LISTS
================================================== */

.about-urology__rich-content ul,
.about-urology__rich-content ol {
	display: grid;

	margin:
		20px
		0
		22px;

	padding: 0;

	gap: 10px;

	list-style: none;
}


.about-urology__rich-content li {
	position: relative;

	padding:
		13px
		17px
		13px
		46px;

	border:
		1px solid
		rgba(181, 136, 65, 0.11);

	border-radius: 10px;

	background:
		linear-gradient(
			135deg,
			#fffdf9,
			#fbf5ec
		);

	color:
		#536879;

	transition:
		transform 230ms ease,
		border-color 230ms ease,
		background-color 230ms ease,
		box-shadow 230ms ease;
}


.about-urology__rich-content li::before {
	position: absolute;

	top: 16px;
	left: 17px;

	display: flex;

	width: 19px;
	height: 19px;

	align-items: center;
	justify-content: center;

	border-radius: 50%;

	background:
		var(--about-gold);

	color: #ffffff;

	content: "✓";

	font-size: 10px;
	font-weight: 700;

	line-height: 1;
}


@media (hover: hover) and (pointer: fine) {

	.about-urology__rich-content li:hover {
		border-color:
			rgba(193, 139, 49, 0.30);

		background:
			#fffaf2;

		box-shadow:
			0
			8px
			18px
			rgba(90, 64, 26, 0.05);

		transform:
			translateX(3px);
	}
}


/* ==================================================
   AVAILABILITY NOTICE
================================================== */

.about-urology__notice {
	display: flex;

	margin-top: 24px;

	padding:
		17px
		19px;

	align-items: flex-start;

	gap: 12px;

	border:
		1px solid
		rgba(193, 140, 49, 0.18);

	border-radius: 11px;

	background:
		#faf3e8;
}


.about-urology__notice > span {
	flex:
		0
		0
		auto;

	color:
		var(--about-gold);

	font-size: 20px;
}


.about-urology__notice p {
	margin: 0;

	color:
		#657584;

	font-size: 11px;

	line-height: 1.65;

	font-style: italic;
}


/* ==================================================
   RIGHT SIDEBAR

   IMPORTANT:
   It must stretch for sticky to have scrolling room.
================================================== */

.about-urology__sidebar {
	position: relative;

	min-width: 0;

	width: 100%;

	height: 100%;

	align-self: stretch;

	overflow: visible;
}


/* ==================================================
   STICKY DOCTOR CARD
================================================== */

.about-urology__sticky-card {
	position: -webkit-sticky;
	position: sticky;

	/*
	 * Adjust according to sticky header height.
	 */
	top: 125px;

	z-index: 10;

	width: 100%;

	overflow: hidden;

	border:
		1px solid
		rgba(184, 137, 62, 0.20);

	border-radius: 24px;

	background:
		#ffffff;

	box-shadow:
		0
		25px
		65px
		rgba(63, 44, 20, 0.12);

	transform: translateZ(0);

	backface-visibility: hidden;
}


/* ==================================================
   DOCTOR IMAGE
================================================== */

.about-urology__doctor-image-wrap {
	position: relative;

	width: 100%;
	height: 410px;

	overflow: hidden;

	background:
		#ede5da;
}


.about-urology__doctor-image {
	width: 100%;
	height: 100%;

	overflow: hidden;
}


.about-urology__doctor-photo {
	display: block;

	width: 100% !important;
	height: 100% !important;

	max-width: none;

	object-fit: cover;

	object-position: center top;

	transition:
		transform
		750ms
		cubic-bezier(
			0.22,
			1,
			0.36,
			1
		);
}


@media (hover: hover) and (pointer: fine) {

	.about-urology__sticky-card:hover
	.about-urology__doctor-photo {
		transform:
			scale(1.035);
	}
}


.about-urology__doctor-image-wrap::after {
	position: absolute;

	right: 0;
	bottom: 0;
	left: 0;

	z-index: 2;

	height: 110px;

	background:
		linear-gradient(
			180deg,
			transparent,
			rgba(6, 27, 52, 0.28)
		);

	content: "";

	pointer-events: none;
}


/* ==================================================
   INNER GOLD IMAGE LINE
================================================== */

.about-urology__image-ring {
	position: absolute;

	top: 18px;
	right: 18px;
	bottom: 18px;
	left: 18px;

	z-index: 3;

	border:
		1px solid
		rgba(230, 187, 106, 0.50);

	border-radius:
		180px
		180px
		13px
		13px;

	pointer-events: none;
}


/* ==================================================
   DOCTOR CARD CONTENT
================================================== */

.about-urology__doctor-card-content {
	position: relative;

	padding:
		28px
		29px
		30px;

	background:
		#ffffff;
}


.about-urology__doctor-label {
	display: block;

	margin-bottom: 7px;

	color:
		#a56d1a;

	font-family:
		"Montserrat",
		Arial,
		sans-serif;

	font-size: 9px;
	font-weight: 700;

	line-height: 1;

	letter-spacing: 1.8px;

	text-transform: uppercase;
}


.about-urology__doctor-card-content h2 {
	margin:
		0
		0
		7px;

	color:
		var(--about-navy);

	font-family:
		"Cormorant Garamond",
		Georgia,
		serif;

	font-size: 31px;
	font-weight: 700;

	line-height: 1.01;

	letter-spacing: -0.4px;
}


.about-urology__designation {
	margin:
		0
		0
		16px;

	color:
		#6c7c89;

	font-family:
		"Montserrat",
		Arial,
		sans-serif;

	font-size: 11px;

	line-height: 1.5;
}


/* ==================================================
   LOCATION
================================================== */

.about-urology__location {
	display: flex;

	align-items: center;

	gap: 8px;

	color:
		#4f6577;

	font-family:
		"Montserrat",
		Arial,
		sans-serif;

	font-size: 11px;

	line-height: 1.5;
}


.about-urology__location .dashicons {
	width: 18px;
	height: 18px;

	color:
		var(--about-gold);

	font-size: 18px;
}


/* ==================================================
   DIVIDER
================================================== */

.about-urology__divider {
	width: 100%;
	height: 1px;

	margin:
		22px
		0;

	background:
		linear-gradient(
			90deg,
			rgba(197, 143, 53, 0.36),
			transparent
		);
}


/* ==================================================
   SUPPORT TEXT
================================================== */

.about-urology__support {
	display: flex;

	margin-bottom: 22px;

	align-items: flex-start;

	gap: 11px;
}


.about-urology__support > span {
	display: flex;

	width: 35px;
	height: 35px;

	flex:
		0
		0
		35px;

	align-items: center;
	justify-content: center;

	border-radius: 50%;

	background:
		#f8edde;

	color:
		var(--about-gold);

	font-size: 17px;
}


.about-urology__support p {
	margin: 0;

	color:
		#6b7b88;

	font-family:
		"Montserrat",
		Arial,
		sans-serif;

	font-size: 10px;

	line-height: 1.6;
}


/* ==================================================
   APPOINTMENT BUTTON
================================================== */

.about-urology__appointment {
	display: grid;

	width: 100%;

	min-height: 58px;

	padding:
		0
		12px
		0
		19px;

	align-items: center;

	grid-template-columns:
		32px
		minmax(0, 1fr)
		38px;

	gap: 9px;

	border:
		1px solid
		rgba(255, 255, 255, 0.04);

	border-radius: 10px;

	background:
		linear-gradient(
			135deg,
			#092947,
			#061a32
		);

	color: #ffffff;

	text-decoration: none;

	box-shadow:
		0
		12px
		25px
		rgba(6, 27, 51, 0.17);

	transition:
		transform 260ms ease,
		box-shadow 260ms ease,
		background 260ms ease;
}


.about-urology__appointment > .dashicons {
	width: 20px;
	height: 20px;

	color:
		#e8bb63;

	font-size: 20px;
}


.about-urology__appointment strong {
	color:
		#ffffff;

	font-family:
		"Montserrat",
		Arial,
		sans-serif;

	font-size: 11px;
	font-weight: 700;

	line-height: 1.3;
}


.about-urology__appointment svg {
	display: block;

	width: 38px;
	height: 38px;

	padding: 10px;

	border-radius: 50%;

	background:
		#d39a3e;

	color:
		#071d36;

	transition:
		transform 260ms ease,
		background-color 260ms ease;
}


@media (hover: hover) and (pointer: fine) {

	.about-urology__appointment:hover,
	.about-urology__appointment:focus-visible {
		background:
			linear-gradient(
				135deg,
				#0c355c,
				#082440
			);

		box-shadow:
			0
			17px
			34px
			rgba(6, 27, 51, 0.24);

		transform:
			translateY(-3px);
	}


	.about-urology__appointment:hover svg,
	.about-urology__appointment:focus-visible svg {
		background:
			#e0aa4d;

		transform:
			translateX(3px);
	}
}


/* ==================================================
   ENTRANCE ANIMATION
================================================== */

.js
.about-urology
.about-content-reveal {
	opacity: 0;

	transform:
		translateY(28px);

	transition:
		opacity 700ms ease,
		transform 850ms
		cubic-bezier(
			0.22,
			1,
			0.36,
			1
		);
}


.js
.about-urology
.about-content-reveal.is-visible {
	opacity: 1;

	transform:
		translateY(0);
}


/* ==================================================
   DESKTOP STICKY SAFETY
================================================== */

@media screen and (min-width: 801px) {

	/*
	 * These three elements MUST remain overflow visible.
	 */
	.about-urology,
	.about-urology__container,
	.about-urology__sidebar {
		overflow: visible !important;
	}


	.about-urology__container {
		align-items: stretch;
	}


	.about-urology__content {
		align-self: start;
	}


	.about-urology__sidebar {
		height: 100%;

		align-self: stretch;
	}


	.about-urology__sticky-card {
		position: -webkit-sticky;
		position: sticky;

		top: 125px;

		align-self: start;
	}

}


/* ==================================================
   LAPTOP
================================================== */

@media screen and (max-width: 1250px) {

	.about-urology__container {
		width:
			calc(100% - 60px);

		grid-template-columns:
			minmax(0, 1fr)
			360px;

		gap: 45px;
	}


	.about-urology__section {
		padding:
			32px
			32px
			35px;
	}


	.about-urology__doctor-image-wrap {
		height: 385px;
	}

}


/* ==================================================
   TABLET
================================================== */

@media screen and (max-width: 1100px) and (min-width: 801px) {

	.about-urology__container {
		width:
			calc(100% - 50px);

		grid-template-columns:
			minmax(0, 1fr)
			320px;

		gap: 30px;
	}


	.about-urology__sticky-card {
		top: 115px;
	}


	.about-urology__doctor-image-wrap {
		height: 335px;
	}


	.about-urology__doctor-card-content {
		padding:
			24px
			23px
			25px;
	}


	.about-urology__doctor-card-content h2 {
		font-size: 27px;
	}


	.about-urology__section {
		padding:
			29px
			27px
			31px;
	}


	.about-urology__rich-content {
		font-size: 12px;
	}

}


/* ==================================================
   MOBILE
================================================== */

@media screen and (max-width: 800px) {

	.about-urology {
		padding:
			55px
			0
			65px;

		overflow: hidden;
	}


	.about-urology__container {
		display: flex;

		width:
			calc(100% - 30px);

		flex-direction: column;

		gap: 30px;

		overflow: visible;
	}


	/*
	 * Show doctor card before content on mobile.
	 */
	.about-urology__sidebar {
		order: -1;

		width: 100%;
		height: auto;

		align-self: auto;

		overflow: visible;
	}


	/*
	 * Sticky intentionally disabled on mobile.
	 */
	.about-urology__sticky-card {
		position: relative;

		top: auto;

		width: 100%;
	}


	.about-urology__doctor-image-wrap {
		height: 420px;
	}


	.about-urology__section {
		margin-bottom: 20px;

		padding:
			27px
			22px
			29px;
	}


	.about-urology__section-heading {
		grid-template-columns:
			43px
			minmax(0, 1fr);

		gap: 13px;
	}


	.about-urology__number {
		width: 42px;
		height: 42px;

		font-size: 16px;
	}


	.about-urology__section-heading h2 {
		font-size: 30px;
	}


	.about-urology__rich-content {
		font-size: 12px;

		line-height: 1.85;
	}


	.about-urology__rich-content li {
		padding:
			12px
			14px
			12px
			43px;
	}


	.about-urology__rich-content li::before {
		top: 14px;
		left: 14px;
	}

}


/* ==================================================
   SMALL MOBILE
================================================== */

@media screen and (max-width: 480px) {

	.about-urology {
		padding-top: 42px;
	}


	.about-urology__container {
		width:
			calc(100% - 24px);
	}


	.about-urology__doctor-image-wrap {
		height: 365px;
	}


	.about-urology__doctor-card-content {
		padding:
			24px
			21px
			25px;
	}


	.about-urology__doctor-card-content h2 {
		font-size: 28px;
	}


	.about-urology__section {
		padding:
			24px
			18px;
	}


	.about-urology__section-heading {
		grid-template-columns:
			40px
			minmax(0, 1fr);

		gap: 11px;
	}


	.about-urology__number {
		width: 39px;
		height: 39px;

		font-size: 15px;
	}


	.about-urology__section-heading h2 {
		font-size: 27px;
	}


	.about-urology__rich-content li {
		padding:
			12px
			13px
			12px
			40px;
	}


	.about-urology__appointment {
		min-height: 56px;

		padding-left: 15px;
	}

}


/* ==================================================
   WORDPRESS ADMIN BAR
================================================== */

@media screen and (min-width: 801px) {

	.admin-bar
	.about-urology__sticky-card {
		top: 157px;
	}

}


@media screen and (min-width: 801px) and (max-width: 782px) {

	.admin-bar
	.about-urology__sticky-card {
		top: 171px;
	}

}


/* ==================================================
   ACCESSIBILITY
================================================== */

.about-urology a:focus-visible,
.about-urology button:focus-visible {
	outline:
		3px solid
		#d8aa55;

	outline-offset: 4px;
}


/* ==================================================
   REDUCED MOTION
================================================== */

@media (prefers-reduced-motion: reduce) {

	.about-urology *,
	.about-urology *::before,
	.about-urology *::after {
		animation-duration:
			0.01ms !important;

		animation-iteration-count:
			1 !important;

		transition-duration:
			0.01ms !important;

		scroll-behavior:
			auto !important;
	}

}