/* Single Blog Template - Radiant Smiles */

.rs-single-hero {
	background: #eef4f8;
	padding: 2rem 0 3rem;
}

.rs-single-hero__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1.5rem;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2.5rem;
	align-items: center;
}

.rs-breadcrumbs {
	font-size: 0.8125rem;
	color: #6b7c8f;
	margin-bottom: 1.25rem;
	grid-column: 1 / -1;
}

.rs-breadcrumbs a {
	color: #6b7c8f;
	text-decoration: none;
}

.rs-breadcrumbs a:hover {
	color: #005da4;
}

.rs-breadcrumbs span {
	margin: 0 0.35rem;
}

.rs-single-hero__title {
	font-size: 2.25rem;
	font-weight: 700;
	color: #1a2b4a;
	line-height: 1.2;
	margin: 0 0 1rem;
}

.rs-single-hero__subtitle {
	font-size: 1rem;
	color: #5a6a7a;
	line-height: 1.6;
	margin: 0 0 1.5rem;
}

.rs-single-hero__ctas {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	flex-wrap: wrap;
	margin-bottom: 1.75rem;
}

.rs-btn-primary {
	display: inline-block;
	background: #bcd7f2;
	color: #1a2b4a;
	font-weight: 700;
	font-size: 0.9375rem;
	padding: 0.75rem 1.75rem;
	border-radius: 999px;
	text-decoration: none;
	border: none;
	transition: background 0.2s;
}

.rs-btn-primary:hover {
	background: #bcd7f2;
	color: #1a2b4a;
	opacity: .8;
}

.rs-btn-secondary {
	color: #005da4;
	font-weight: 600;
	font-size: 0.9375rem;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
}

.rs-btn-secondary:hover {
	text-decoration: underline;
}

.rs-trust-signals {
	list-style: none;
	margin: 0;
	padding: 0;
}

.rs-trust-signals li {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	font-size: 0.875rem;
	color: #3d4f63;
	margin-bottom: 0.6rem;
}

.rs-trust-signals__icon {
	flex-shrink: 0;
	width: 1.25rem;
	height: 1.25rem;
	background: #005da4;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 0.65rem;
}

.rs-single-hero__visual {
	position: relative;
}

.rs-single-hero__image,
.rs-single-hero__slider {
	width: 100%;
	border-radius: 12px;
	overflow: hidden;
}

.rs-single-hero__image {
	height: auto;
	display: block;
	object-fit: cover;
	min-height: 320px;
}

.rs-single-hero__slider .rev_slider_wrapper,
.rs-single-hero__slider rs-module-wrap {
	border-radius: 12px;
	overflow: hidden;
}

.rs-hero-card {
	position: absolute;
	bottom: -1rem;
	left: -1rem;
	background: #fff;
	border-radius: 10px;
	padding: 1rem 1.25rem;
	max-width: 260px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
	display: flex;
	gap: 0.75rem;
	align-items: flex-start;
}

.rs-hero-card__icon {
	flex-shrink: 0;
	width: 2.25rem;
	height: 2.25rem;
	background: #e8f4fc;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #005da4;
	font-size: 1rem;
}

.rs-hero-card__text {
	font-size: 0.8125rem;
	color: #5a6a7a;
	line-height: 1.5;
	margin: 0;
}

/* Info bar - preserved from current template */
.rs-info-bar {
	background: #003d6b;
	color: #fff;
	text-align: center;
	padding: 0.65rem 1rem;
	font-size: 0.875rem;
}

.rs-info-bar__inner {
	max-width: 1200px;
	margin: 0 auto;
}

.rs-info-bar span {
	margin: 0 0.5rem;
	opacity: 0.6;
}

/* Service nav - preserved from current template */
.rs-service-nav {
	background: #002d52;
	padding: 0;
}

.rs-service-nav__inner {
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
}

.rs-service-nav a {
	display: block;
	padding: 1.1rem 1rem;
	text-align: center;
	color: #fff;
	font-weight: 700;
	font-size: 1rem;
	text-decoration: none;
	background: #005da4;
	transition: background 0.2s;
}

.rs-service-nav a:hover,
.rs-service-nav a.is-active {
	background: #0071bc;
}

/* Attribution bar */
.rs-attribution {
	background: #f7fafc;
	border-bottom: 1px solid #e2e8f0;
	padding: 0.85rem 0;
}

.rs-attribution__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1.5rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1rem;
	font-size: 0.8125rem;
	color: #5a6a7a;
}

.rs-attribution__person {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.rs-attribution__avatar {
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	object-fit: cover;
}

.rs-attribution__avatar--placeholder {
	background: #cbd5e0;
}

.rs-attribution__label strong {
	color: #1a2b4a;
}

.rs-attribution__date {
	margin-left: auto;
}

/* Main layout */
.rs-single-body {
	max-width: 1200px;
	margin: 0 auto;
	padding: 2.5rem 1.5rem 4rem;
	display: grid;
	grid-template-columns: 240px 1fr;
	gap: 3rem;
	align-items: start;
}

.rs-single-body--no-toc {
	grid-template-columns: 1fr;
}

/* TOC sidebar */
.rs-toc {
	position: sticky;
	top: 2rem;
}

.single .rs-toc__title {
	font-size: 0.9375rem;
	font-weight: 700;
	color: #1a2b4a;
	margin: 0 0 1rem;
    padding-top: 5px !important;
}

.rs-toc__list {
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 1px solid #e2e8f0;
}

.rs-toc__list li {
	border-bottom: 1px solid #e2e8f0;
}

.rs-toc__list a {
	display: block;
	padding: 0.75rem 0;
	font-size: 0.875rem;
	color: #005da4;
	text-decoration: none;
	line-height: 1.4;
}

.rs-toc__list a:hover,
.rs-toc__list a.is-active {
	color: #003d6b;
	font-weight: 600;
}

/* Content area */
.rs-single-content h2 {
	font-size: 1.5rem;
	font-weight: 700;
	color: #1a2b4a;
	margin: 2rem 0 1rem;
	scroll-margin-top: 2rem;
}

.rs-single-content h2:first-child {
	margin-top: 0;
}


.single #header-container .rs-trust-signals li, 
.single #header-container .rs-trust-signals span, 
.rs-single-content p, 
.rs-single-content li {
	font-size: 17px !important;
	color: #3d4f63;
	line-height: 1.7 !important;
    font-weight: 400 !important;
}

.rs-single-content a {
	color: #005da4;
}

/* Key takeaways box */
.rs-key-takeaways {
	background: #e8f4fc;
	border-top: 4px solid #005da4;
	border-radius: 0 0 8px 8px;
	padding: 1.5rem 1.75rem;
	margin-bottom: 2.5rem;
}

.rs-key-takeaways h2 {
	margin-top: 0;
	font-size: 1.25rem;
}

.rs-key-takeaways ul {
	margin: 0;
	padding-left: 1.25rem;
}

.rs-key-takeaways li {
	margin-bottom: 0.5rem;
}

/* Expert tips */
.rs-expert-tips {
	margin-bottom: 2.5rem;
}

.rs-expert-tips__header {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 1.5rem;
}

.rs-expert-tips__header img {
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	object-fit: cover;
}

.rs-expert-tips__header-text {
	font-size: 0.875rem;
	color: #5a6a7a;
}

.rs-expert-tips__header-text strong {
	color: #1a2b4a;
	display: block;
}

.rs-tip-block {
	display: flex;
	gap: 1rem;
	margin-bottom: 1.75rem;
	padding-left: 0.5rem;
	border-left: 4px solid #005da4;
}

.rs-tip-block__quote {
	flex-shrink: 0;
	font-size: 2.5rem;
	line-height: 1;
	color: #005da4;
	font-family: Georgia, serif;
}

.rs-tip-block__title {
	font-weight: 700;
	color: #1a2b4a;
	margin: 0 0 0.35rem;
	font-size: 1rem;
}

.rs-tip-block__text {
	margin: 0;
	font-size: 0.9375rem;
	color: #3d4f63;
	line-height: 1.6;
}

/* Expert bio */
.rs-expert-bio {
	background: #f4f6f8;
	border-radius: 10px;
	padding: 1.75rem;
	margin: 2.5rem 0;
	display: flex;
	gap: 1.25rem;
	align-items: flex-start;
}

.rs-expert-bio__photo {
	width: 5rem;
	height: 5rem;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
}

.rs-expert-bio__name {
	font-size: 1.125rem;
	font-weight: 700;
	color: #1a2b4a;
	margin: 0 0 0.15rem;
}

.rs-expert-bio__role {
	font-size: 0.875rem;
	color: #005da4;
	margin: 0 0 0.75rem;
}

.rs-expert-bio__desc {
	font-size: 0.9375rem;
	color: #3d4f63;
	line-height: 1.6;
	margin: 0;
}

/* Related links */
.rs-related-links {
	margin: 2.5rem 0;
}

.rs-related-links h2 {
	font-size: 1.25rem;
}

.rs-related-links ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.rs-related-links li {
	margin-bottom: 0.5rem;
}

.rs-related-links a {
	font-size: 0.9375rem;
	text-decoration: none;
}

.rs-related-links a:hover {
	text-decoration: underline;
}

/* Sources accordion */
.rs-sources {
	border-top: 1px solid #e2e8f0;
	margin-top: 2.5rem;
	padding-top: 0;
}

.rs-sources__toggle {
	width: 100%;
	background: none;
	border: none;
	padding: 1rem 0;
	font-size: 1rem;
	font-weight: 700;
	color: #1a2b4a;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	text-align: left;
}

.rs-sources__toggle:hover {
	color: #005da4;
}

.rs-sources__chevron {
	transition: transform 0.2s;
}

.rs-sources.is-open .rs-sources__chevron {
	transform: rotate(180deg);
}

.rs-sources__content {
	display: none;
	padding-bottom: 1.5rem;
	font-size: 0.875rem;
	color: #5a6a7a;
}

.rs-sources.is-open .rs-sources__content {
	display: block;
}

.rs-sources__content ol {
	margin: 0;
	padding-left: 1.25rem;
}

.rs-sources__content li {
	margin-bottom: 0.35rem;
}

#main .tableWrapper { margin-top: 0; }

#main .tableWrapper .has-tablewrap { width: 100%; }

#main .tableWrapper .has-tablewrap th, 
#main .tableWrapper .has-tablewrap td {
    padding: 10px;
}

#main .tableWrapper .has-tablewrap td {
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
    border-left: 1px solid #eee;
    color: #555555;
    font-weight: 400;
}

#main .tableWrapper .has-tablewrap th {
    border-right: 1px solid #025cac;
    border-top: 1px solid #025cac;
    border-left: 1px solid #025cac;
}

.rs-toc__list li a {
    transition: all ease 300ms;
    color: #003d6b;
    font-weight: 400;
}

#main .tableWrapper { margin-top: 50px; }

#main .tableWrapper .has-tablewrap { width: 100%; }

#main .tableWrapper .has-tablewrap th, 
#main .tableWrapper .has-tablewrap td {
    padding: 10px;
}

#main .tableWrapper .has-tablewrap td {
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
    border-left: 1px solid #eee;
    color: #555555;
    font-weight: 400;
}

#main .tableWrapper .has-tablewrap th {
    border-right: 1px solid #025cac;
    border-top: 1px solid #025cac;
    border-left: 1px solid #025cac;
}

.rs-toc__list li a {
    transition: all ease 300ms;
    color: #003d6b;
    font-weight: 400;
}


.single #main ol li,
.single #main ul li {
    list-style-type: disc;
    margin-left: 20px;
}

#main .rs-single-content ol li { list-style-type: decimal; }


.single .rs-single-hero__ctas a { color: #1a2b4a; }
.single .rs-service-nav a { color: #fff; }

.single .rs-single-hero__ctas .rs-btn-secondary {
    color: #005da4;
    font-weight: 700;
    text-decoration: unset;
}

.single .rs-trust-signals, 
.single .rs-trust-signals span {
    font-weight: 400;
    font-size: 17px;
}

#header-container .rs-trust-signals span.rs-trust-signals__icon {
    color: #fff;
    font-size: 11px !important;
    position: relative;
    top: 4px;
}

.keyTakeWrapper {
    border-bottom: 1px solid #B4D4F8;
    background-color: #e9f2fb;
    box-shadow: 8px 8px #bcd7f2;
    padding: 20px;
    margin-top: 40px;
    border-radius: 20px;
}

#main .keyTakeWrapper h2 {
    margin-top: 0;
    padding-top: 0 !important;
}

.rs-single-content p { margin-bottom: 20px; }

.rs-attribution__date, 
.rs-attribution__person span {
    font-size: 14px;
    font-weight: 400;
}

/** general **/

/* Responsive */
@media (max-width: 900px) {
	.rs-single-hero__inner {
		grid-template-columns: 1fr;
	}

	.rs-single-hero__visual {
		order: -1;
	}

	.rs-hero-card {
		left: 0.5rem;
		bottom: 0.5rem;
		max-width: 220px;
	}

	.rs-single-body {
		grid-template-columns: 1fr;
	}

	.rs-toc {
		position: static;
	}

	.rs-attribution__date {
		margin-left: 0;
		width: 100%;
	}

	.rs-service-nav__inner {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 600px) {
	.rs-single-hero__title {
		font-size: 1.75rem;
	}

	.rs-info-bar {
		font-size: 0.75rem;
	}

	.rs-expert-bio {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}
}

/* Post navigation */
.rs-post-nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
	margin: 2.5rem 0 0;
	padding-top: 2rem;
	border-top: 1px solid #b4d4f8;
}

.rs-post-nav__link {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	text-decoration: none;
	color: #1a2b4a;
	transition: color 0.2s;
}

.rs-post-nav__link:hover {
	color: #005da4;
}

.rs-post-nav__link--next {
	text-align: right;
}

.rs-post-nav__label {
	font-size: 0.8125rem;
	font-weight: 600;
	color: #005da4;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.rs-post-nav__title {
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.4;
}

/* Author section */
.rs-author-section {
	margin: 2.5rem 0;
	padding-bottom: 2.5rem;
	border-bottom: 1px solid #b4d4f8;
}

.rs-author-section .rs-expert-bio {
	background: #f4f6f8;
	border-radius: 12px;
	padding: 2rem;
	margin: 0;
	display: grid;
	grid-template-columns: 220px 1fr;
	gap: 0 2.5rem;
	align-items: center;
}

.rs-author-section .rs-expert-bio__profile {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.rs-author-section .rs-expert-bio__photo {
	width: 7.5rem;
	height: 7.5rem;
	border-radius: 50%;
	object-fit: cover;
	margin-bottom: 1rem;
}

.rs-author-section .rs-expert-bio__name {
	font-size: 1.125rem;
	font-weight: 700 !important;
	color: #1a2b4a;
	margin: 0 0 0.35rem;
}

.rs-author-section .rs-expert-bio__body {
	position: relative;
	padding-left: 0;
}

.rs-author-section .rs-expert-bio__body::before {
	content: '';
	position: absolute;
	left: -2rem;
	top: 0;
	bottom: 0;
	width: 1px;
	background: #d1dbe6;
}

.rs-author-section .rs-expert-bio__desc {
	font-size: 17px;
	color: #3d4f63;
	line-height: 1.7;
	margin: 0;
}

/** media queries **/

@media (max-width: 900px) {
	.rs-single-body { display: block; }

	.rs-single-body #main { margin-top: 30px; }	
}


@media (max-width: 768px) {
	.rs-post-nav {
		grid-template-columns: 1fr;
	}

	.rs-post-nav__link--next {
		text-align: left;
	}

	.rs-author-section .rs-expert-bio {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.rs-author-section .rs-expert-bio__body::before {
		display: none;
	}

	.rs-author-section .rs-expert-bio__profile {
		padding-bottom: 1.5rem;
		border-bottom: 1px solid #d1dbe6;
	}
}

/* TOC toggle */
.rs-toc__toggle {
	width: 100%;
	background: none;
	border: none;
	padding: 0;
	margin: 0 0 1rem;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	text-align: left;
}

.rs-toc__toggle .rs-toc__title {
	margin: 0;
}

.rs-toc__chevron {
	flex-shrink: 0;
	font-size: 0.75rem;
	color: #005da4;
	transition: transform 0.2s ease;
}

.rs-toc.is-open .rs-toc__chevron {
	transform: rotate(180deg);
}

.rs-toc__panel {
	display: none;
}

.rs-toc.is-open .rs-toc__panel {
	display: block;
}

/* FAQ accordion */
.faqWrapper {
	border-bottom: 1px solid #B4D4F8;
	background-color: #fff;
	box-shadow: 8px 8px #bcd7f2;
	padding: 20px;
	margin-top: 40px;
	border-radius: 20px;
    outline: 1px solid #B4D4F8;
}

#main .faqWrapper > h2,
#main .faqWrapper > h3 {
	margin-top: 0;
	padding-top: 0 !important;
	margin-bottom: 1rem;
}

.faq-item {
	border-top: 1px solid #b4d4f8;
}

.faq-item:first-of-type {
	border-top: none;
}

.faq-item__toggle {
	width: 100%;
	background: none;
	border: none;
	padding: 1rem 0;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	text-align: left;
	color: #1a2b4a;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.4;
}

.faq-item__toggle:hover,
.faq-item__toggle:focus {
	color: #005da4;
	outline: none;
}

.faq-item__question {
	flex: 1;
    font-size: 18px;
}

.faq-item__chevron {
	flex-shrink: 0;
	font-size: 0.75rem;
	color: #005da4;
	transition: transform 0.2s ease;
}

.faq-item.is-open .faq-item__chevron {
	transform: rotate(180deg);
}

.faq-item__panel {
	padding: 0 0 1rem;
}

.faq-item__panel[hidden] {
	display: none;
    height: 0;
    padding: 0;
    overflow: hidden;
    opacity: 0;
    transition: all ease 300ms;	
}

.faq-item.is-open .faq-item__panel {
    height: auto;
    padding: 0 0 20px;
    opacity: 1;
}

.faq-item__panel p:last-child {
	margin-bottom: 0;
}
