/* Rhinoplasty — RS brand (Poppins / Cormorant / slate-blue) */

.page-template-template-rhinoplasty #main {
	background: #fff;
}

.page-template-template-rhinoplasty #main .wf-wrap,
.page-template-template-rhinoplasty #main .wf-container-main {
	max-width: none !important;
	width: 100%;
	padding-left: 0;
	padding-right: 0;
	box-sizing: border-box;
}

.rs-rp-content {
	padding: 0 !important;
	max-width: none !important;
	width: 100%;
	font-family: var(--rs-font-sans);
	overflow-x: clip;
}

.page-template-template-rhinoplasty .scroll-top {
	display: none !important;
}

/* Hero */
.rs-rp-hero {
	position: relative;
	overflow: hidden;
	background: var(--rs-ice-blue);
	min-height: 14rem;
	display: flex;
	align-items: flex-end;
	padding: 3rem 0 2.75rem;
	border-bottom: 1px solid var(--rs-ice-blue-border);
}

@media (min-width: 768px) {
	.rs-rp-hero {
		min-height: 18rem;
		padding: 4.5rem 0 3.5rem;
	}
}

.rs-rp-hero--has-image {
	background: var(--rs-slate-blue-dark);
	border-bottom: none;
}

.rs-rp-hero__media {
	position: absolute;
	inset: 0;
	background-image: var(--rs-rp-hero-image);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.rs-rp-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to top,
		rgba(17, 37, 51, 0.88) 0%,
		rgba(17, 37, 51, 0.55) 55%,
		rgba(17, 37, 51, 0.35) 100%
	);
}

.rs-rp-hero__inner {
	position: relative;
	z-index: 1;
	width: 100%;
}

.rs-rp-hero__breadcrumbs {
	margin-bottom: 0.75rem;
}

.rs-rp-hero--has-image .rs-breadcrumbs {
	color: rgba(255, 255, 255, 0.72);
}

.rs-rp-hero--has-image .rs-breadcrumbs a {
	color: #fff;
}

.rs-rp-hero__title {
	margin: 0;
	font-family: var(--rs-font-serif);
	font-size: clamp(2.25rem, 4.5vw, 3.25rem);
	font-weight: 600;
	color: var(--rs-slate-blue);
	line-height: 1.15;
	max-width: 40rem;
}

.rs-rp-hero--has-image .rs-rp-hero__title {
	color: #fff;
}

.rs-rp-hero__subtitle {
	margin: 0.75rem 0 0;
	max-width: 100%;
	font-size: 1.05rem;
	font-weight: 300;
	color: #475569;
	line-height: 1.7;
}

.rs-rp-hero--has-image .rs-rp-hero__subtitle {
	color: rgba(255, 255, 255, 0.85);
}

.rs-rp-hero__subtitle-toggle {
	display: none;
}

@media (max-width: 767px) {
	.rs-rp-hero__subtitle.is-clamped {
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 4;
		line-clamp: 4;
		overflow: hidden;
	}

	.rs-rp-hero__subtitle.is-expanded {
		display: block;
		-webkit-line-clamp: unset;
		line-clamp: unset;
		overflow: visible;
	}

	.rs-rp-hero__subtitle-toggle {
		display: inline-flex;
		align-items: center;
		margin-top: 0.5rem;
		padding: 0;
		border: 0;
		background: none;
		color: var(--rs-slate-blue);
		font-family: var(--rs-font-sans);
		font-size: 0.875rem;
		font-weight: 600;
		letter-spacing: 0.02em;
		cursor: pointer;
		text-decoration: underline;
		text-underline-offset: 3px;
	}

	.rs-rp-hero--has-image .rs-rp-hero__subtitle-toggle {
		color: #fff;
	}

	.rs-rp-hero__subtitle-toggle[hidden] {
		display: none;
	}
}

/* Body */
.rs-rp-body {
	padding: 2.5rem 0 4.5rem;
	background: #fff;
}

@media (min-width: 768px) {
	.rs-rp-body {
		padding: 3.5rem 0 5.5rem;
	}
}

.rs-rp-section {
	margin-bottom: 3rem;
}

.rs-rp-section:last-child {
	margin-bottom: 0;
}

.rs-rp-heading {
	margin: 0 0 1rem;
	padding-left: 0.85rem;
	border-left: 3px solid var(--rs-accent-gold);
	font-family: var(--rs-font-serif);
	font-size: clamp(1.5rem, 2.5vw, 1.85rem);
	font-weight: 600;
	color: var(--rs-slate-blue);
	line-height: 1.25;
}

.rs-rp-text {
	margin: 0 0 1.25rem;
	max-width: 100%;
	font-size: 1.025rem;
	font-weight: 300;
	color: #475569;
	line-height: 1.75;
}

.rs-rp-text:last-child {
	margin-bottom: 0;
}

/* Instagram CTA */
.instagram-cta-card {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	background: #ffffff;
	border-radius: 16px;
	padding: 20px 24px;
	margin: 0;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
	border: 1px solid #f1f5f9;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	font-family: var(--rs-font-sans);
}

.instagram-widget-container {
	margin-top: 1.5rem;
}

.instagram-cta-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.instagram-cta-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 30px rgba(220, 39, 67, 0.12);
}

.instagram-info {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
}

.instagram-avatar {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	flex-shrink: 0;
	box-shadow: 0 4px 10px rgba(220, 39, 67, 0.2);
}

.instagram-text {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.instagram-text .handle {
	font-size: 1rem;
	font-weight: 700;
	color: #0f172a;
	line-height: 1.25;
}

.instagram-text .subtext {
	font-size: 0.85rem;
	font-weight: 400;
	color: #64748b;
	line-height: 1.4;
}

.btn-before-after {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
	color: #ffffff;
	padding: 12px 22px;
	border-radius: 10px;
	font-weight: 700;
	font-size: 0.875rem;
	letter-spacing: 0.5px;
	text-decoration: none;
	transition: all 0.3s ease;
	box-shadow: 0 4px 12px rgba(220, 39, 67, 0.25);
	white-space: nowrap;
}

.btn-before-after svg {
	transition: transform 0.2s ease;
}

.btn-before-after:hover,
.btn-before-after:focus {
	color: #ffffff;
	box-shadow: 0 6px 18px rgba(220, 39, 67, 0.4);
	outline: none;
}

.btn-before-after:hover svg {
	transform: translateX(4px);
}

@media (max-width: 640px) {
	.instagram-cta-card {
		flex-direction: column;
		align-items: flex-start;
	}

	.btn-before-after {
		width: 100%;
		justify-content: center;
	}
}

/* Approaches */
.rs-rp-approaches {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
	margin-top: 1.25rem;
}

@media (min-width: 768px) {
	.rs-rp-approaches {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1.25rem;
	}
}

.rs-rp-approach {
	padding: 1.5rem 1.35rem;
	background: var(--rs-ice-blue);
	border: 1px solid var(--rs-ice-blue-border);
}

.rs-rp-approach--highlight {
	background: var(--rs-slate-blue);
	border-color: var(--rs-slate-blue);
}

.rs-rp-approach__title {
	margin: 0 0 0.65rem;
	font-family: var(--rs-font-serif);
	font-size: 1.3rem;
	font-weight: 600;
	color: var(--rs-slate-blue);
	line-height: 1.3;
}

.rs-rp-approach--highlight .rs-rp-approach__title {
	color: #fff;
}

.rs-rp-approach__text {
	margin: 0;
	font-size: 0.975rem;
	font-weight: 300;
	color: #475569;
	line-height: 1.7;
}

.rs-rp-approach--highlight .rs-rp-approach__text {
	color: rgba(255, 255, 255, 0.88);
}

/* Advantages highlight */
.rs-rp-highlight {
	margin-top: 1.25rem;
	padding: 1.35rem 1.5rem;
	background: var(--rs-ice-blue);
	border-left: 3px solid var(--rs-accent-gold);
}

.rs-rp-highlight__title {
	margin: 0 0 0.5rem;
	font-family: var(--rs-font-serif);
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--rs-slate-blue);
}

.rs-rp-highlight__text {
	margin: 0;
	font-size: 0.975rem;
	font-weight: 300;
	color: #475569;
	line-height: 1.7;
}

/* Timeline */
.rs-rp-timeline {
	list-style: none;
	margin: 1.75rem 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0;
	border-top: 1px solid var(--rs-ice-blue-border);
}

.rs-rp-timeline__step {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	padding: 1.35rem 0;
	border-bottom: 1px solid var(--rs-ice-blue-border);
}

.rs-rp-timeline__badge {
	flex-shrink: 0;
	width: 2rem;
	height: 2rem;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--rs-slate-blue);
	color: #fff;
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1;
}

.rs-rp-timeline__body {
	min-width: 0;
	flex: 1;
}

.rs-rp-timeline__title {
	margin: 0 0 0.45rem;
	font-family: var(--rs-font-serif);
	font-size: 1.2rem;
	font-weight: 600;
	color: var(--rs-slate-blue);
	line-height: 1.3;
}

.rs-rp-timeline__text {
	margin: 0;
	font-size: 0.975rem;
	font-weight: 300;
	color: #475569;
	line-height: 1.7;
}

.rs-rp-timeline__text p {
	margin: 0 0 0.75rem;
}

.rs-rp-timeline__text p:last-child {
	margin-bottom: 0;
}

.rs-rp-timeline__text ul,
.rs-rp-timeline__text ol {
	margin: 0.5rem 0 0.75rem;
	padding-left: 1.25rem;
}

.rs-rp-timeline__text a {
	color: var(--rs-slate-blue);
	text-decoration: underline;
}
