/* ===== ARTICLE PAGE LAYOUT ===== */
.article-page {
	background: #f7faf8;
	padding-top: calc(var(--site-header-height, 132px) + 0px);
}

.article-container {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 clamp(16px, 3vw, 32px);
	width: 100%;
}

/* ===== ARTICLE HEADER ===== */
.article-hero {
	background: linear-gradient(135deg, #0d443a 0%, #087b70 100%);
	color: #fff;
	padding: clamp(48px, 6vw, 72px) 0 clamp(40px, 5vw, 56px);
}

.article-label {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 18px;
	color: #ffb15c;
	font-weight: 700;
	font-size: 14px;
}

.article-label a {
	color: #ffb15c;
	text-decoration: none;
}

.article-label a:hover {
	color: #ffc87d;
}

.article-hero h1 {
	max-width: 1050px;
	font-size: clamp(36px, 4vw, 58px);
	line-height: 1.07;
	letter-spacing: -0.025em;
	margin: 0 0 22px;
	color: #fff;
	scroll-margin-top: calc(var(--site-header-height, 132px) + 24px);
}

.article-hero-text {
	max-width: 860px;
	font-size: clamp(18px, 1.5vw, 21px);
	line-height: 1.6;
	margin: 0 0 22px;
	color: rgba(255, 255, 255, 0.92);
}

.article-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 24px;
	color: rgba(255, 255, 255, 0.78);
	margin-bottom: 28px;
	font-size: 15px;
}

.article-actions,
.article-cta-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.article-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 24px;
	border-radius: 14px;
	font-weight: 700;
	text-decoration: none;
	transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
	border: none;
	cursor: pointer;
	font-size: 16px;
}

.article-btn:hover {
	transform: translateY(-1px);
}

.article-btn-main {
	background: #ff9f3d;
	color: #fff;
}

.article-btn-main:hover {
	background: #e88625;
	color: #fff;
}

.article-btn-outline {
	border: 1px solid rgba(255, 255, 255, 0.45);
	color: #fff;
	background: transparent;
}

.article-btn-outline:hover {
	border-color: rgba(255, 255, 255, 0.8);
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
}

.article-btn-light {
	background: #fff;
	color: #0d443a;
}

.article-btn-light:hover {
	background: #f0f0f0;
}

/* ===== BREADCRUMBS ===== */
.article-breadcrumbs {
	padding: 18px 0;
	background: #eaf5f2;
	border-bottom: 1px solid #d9e6e2;
}

.article-breadcrumbs .breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	font-size: 14px;
}

.article-breadcrumbs .breadcrumbs a {
	color: #087b70;
	text-decoration: none;
}

.article-breadcrumbs .breadcrumbs a:hover {
	text-decoration: underline;
}

.article-breadcrumbs .breadcrumbs span:last-child {
	color: #24313d;
}

/* ===== ARTICLE WRAP ===== */
.article-wrap {
	max-width: 1240px;
	margin: 0 auto;
	padding: 48px 24px 72px;
	display: grid;
	grid-template-columns: minmax(0, 820px) 320px;
	gap: 48px;
	align-items: start;
}

.article-main {
	min-width: 0;
}

/* ===== ARTICLE CONTENT ===== */
.article-content {
	width: min(100% - 32px, 860px);
	margin-inline: auto;
	padding-block: 48px 72px;
	font-size: 18px;
	line-height: 1.72;
	background: transparent;
	border-radius: 0;
	box-shadow: none;
}

.article-content > *:first-child {
	margin-top: 0;
}

.article-content p {
	font-size: 18px;
	line-height: 1.72;
	color: #24313d;
	margin: 0 0 1.35em;
}

.article-content h2 {
	font-size: clamp(30px, 3vw, 42px);
	line-height: 1.15;
	margin: 2.2em 0 0.65em;
	padding: 0;
	border: 0;
	color: #0d443a;
	position: relative;
	scroll-margin-top: calc(var(--site-header-height, 132px) + 24px);
}

.article-content h2::before {
	content: '';
	position: absolute;
	left: 0;
	bottom: -8px;
	width: 48px;
	height: 3px;
	background: #ff9f3d;
	border-radius: 2px;
}

.article-content h3 {
	font-size: clamp(24px, 2.2vw, 30px);
	line-height: 1.25;
	margin: 1.8em 0 0.6em;
	color: #123f3d;
	scroll-margin-top: calc(var(--site-header-height, 132px) + 24px);
}

.article-content a {
	color: #087b70;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.article-content a:hover {
	color: #0d443a;
}

.article-content ul,
.article-content ol {
	margin: 0 0 1.5em;
	padding-left: 1.4em;
	color: #24313d;
}

.article-content ul {
	list-style: disc;
}

.article-content ol {
	list-style: decimal;
}

.article-content li {
	margin-bottom: 0;
	line-height: 1.65;
}

.article-content li + li {
	margin-top: 0.55em;
}

.article-content blockquote {
	margin: 32px 0;
	padding: 24px 28px;
	border-left: 4px solid #087b70;
	border-radius: 14px;
	background: #f2f8f5;
	color: #24313d;
	font-style: italic;
}

.article-content blockquote p:last-child {
	margin-bottom: 0;
}

.article-content img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 36px auto;
	border-radius: 16px;
}

.article-content figcaption {
	margin-top: -24px;
	color: #66736f;
	font-size: 14px;
	line-height: 1.5;
	text-align: center;
}

/* ===== TABLE OF CONTENTS ===== */
.article-toc {
	background: #f2f8f5;
	border: 1px solid #dfe8e4;
	border-radius: 16px;
	padding: 26px 28px;
	margin-bottom: 38px;
}

.article-toc h2 {
	font-size: 22px;
	line-height: 1.25;
	margin: 0 0 16px;
	padding: 0;
	border: 0;
	color: #0d443a;
}

.article-toc h2::before {
	display: none;
}

.article-toc ol {
	margin: 0 0 0 20px;
	counter-reset: toc-counter;
}

.article-toc li {
	margin-bottom: 10px;
	list-style: none;
	counter-increment: toc-counter;
	position: relative;
	padding-left: 8px;
}

.article-toc li::before {
	content: counter(toc-counter) ".";
	font-weight: 700;
	color: #ff9f3d;
	margin-right: 8px;
}

.article-toc li:last-child {
	margin-bottom: 0;
}

.article-toc a {
	color: #0d443a;
	text-decoration: none;
	font-weight: 500;
}

.article-toc a:hover {
	color: #ff9f3d;
}

/* ===== INFORMATION BLOCK ===== */
.article-note {
	margin: 32px 0;
	padding: 24px 28px;
	background: #eaf5f2;
	border-left: 4px solid #087b70;
	border-radius: 14px;
}

.article-note strong:first-child {
	display: block;
	margin-bottom: 8px;
	color: #0d443a;
	font-size: 18px;
}

.article-note p:last-child {
	margin-bottom: 0;
}

/* ===== WARNING BLOCK ===== */
.article-warning {
	margin: 32px 0;
	padding: 24px 28px;
	background: #fff3e6;
	border-left: 4px solid #ff9d36;
	border-radius: 14px;
}

.article-warning strong:first-child {
	display: block;
	margin-bottom: 8px;
	color: #c76a00;
	font-size: 18px;
}

.article-warning p:last-child {
	margin-bottom: 0;
}

/* ===== STEP-BY-STEP INSTRUCTIONS ===== */
.article-steps {
	margin: 48px 0;
	padding: 32px;
	background: #eaf5f2;
	border-radius: 16px;
}

.article-steps__title {
	font-size: clamp(26px, 2.5vw, 32px);
	line-height: 1.2;
	margin: 0 0 24px;
	color: #0d443a;
}

.article-steps__list {
	list-style: none;
	margin: 0;
	padding: 0;
	counter-reset: step-counter;
}

.article-steps__item {
	display: flex;
	gap: 20px;
	align-items: flex-start;
	padding: 20px 0;
	border-bottom: 1px solid rgba(13, 68, 58, 0.12);
	counter-increment: step-counter;
}

.article-steps__item:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.article-steps__item:first-child {
	padding-top: 0;
}

.article-steps__number {
	font-size: 24px;
	font-weight: 700;
	color: #ff9f3d;
	min-width: 48px;
	flex-shrink: 0;
	line-height: 1.2;
}

.article-steps__number::before {
	content: counter(step-counter, decimal-leading-zero);
}

.article-steps__item strong {
	display: block;
	margin-bottom: 8px;
	color: #0d443a;
	font-size: 19px;
}

.article-steps__item p {
	margin: 0;
	font-size: 17px;
	line-height: 1.6;
}

/* ===== DO / DON'T BLOCK ===== */
.article-do-dont {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	margin: 48px 0;
}

.article-do-dont__column {
	padding: 28px;
	border-radius: 16px;
}

.article-do-dont__column:first-child {
	background: #eaf5f2;
	border: 2px solid #087b70;
}

.article-do-dont__column:last-child {
	background: #fff3e6;
	border: 2px solid #ff9d36;
}

.article-do-dont__column h3 {
	font-size: 22px;
	margin: 0 0 16px;
	color: #0d443a;
}

.article-do-dont__column ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.article-do-dont__column li {
	padding-left: 28px;
	margin-bottom: 12px;
	position: relative;
	line-height: 1.5;
}

.article-do-dont__column li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 6px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	flex-shrink: 0;
}

.article-do-dont__column:first-child li::before {
	background: #087b70;
}

.article-do-dont__column:last-child li::before {
	background: #ff9d36;
}

.article-do-dont__column li:last-child {
	margin-bottom: 0;
}

/* ===== CTA BLOCK ===== */
.article-cta {
	background: linear-gradient(135deg, #0d443a 0%, #087b70 100%);
	color: #fff;
	border-radius: 20px;
	padding: 40px 36px;
	margin: 56px 0;
	text-align: center;
}

.article-cta h2 {
	font-size: clamp(26px, 3vw, 36px);
	line-height: 1.18;
	margin: 0 0 16px;
	padding: 0;
	border: 0;
	color: #fff;
}

.article-cta h2::before {
	display: none;
}

.article-cta p {
	max-width: 680px;
	margin: 0 auto 28px;
	color: rgba(255, 255, 255, 0.9);
	font-size: 18px;
}

.article-cta a {
	text-decoration: none;
}

.article-cta-actions button {
	background: transparent;
}

/* ===== TABLES ===== */
.article-table-wrapper {
	overflow-x: auto;
	margin: 32px 0;
	border-radius: 16px;
	background: #eaf5f2;
	padding: 4px;
}

.article-content table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
}

.article-content th,
.article-content td {
	padding: 14px 18px;
	text-align: left;
	border-bottom: 1px solid #dfe8e4;
}

.article-content th {
	background: #eaf5f2;
	font-weight: 700;
	color: #0d443a;
	font-size: 16px;
}

.article-content td {
	font-size: 17px;
}

.article-content tr:last-child td {
	border-bottom: none;
}

.article-content .table-accent {
	color: #087b70;
	font-weight: 700;
}

/* ===== SIDEBAR ===== */
.article-sidebar {
	position: sticky;
	top: calc(var(--site-header-height, 132px) + 20px);
	align-self: start;
}

.sidebar-card {
	border-radius: 20px;
	padding: 28px;
	margin-bottom: 24px;
	box-shadow: 0 8px 24px rgba(13, 52, 43, 0.08);
}

.sidebar-card h2 {
	font-size: 20px;
	line-height: 1.25;
	margin: 0 0 14px;
}

.sidebar-card-dark {
	background: linear-gradient(135deg, #0d443a 0%, #087b70 100%);
	color: #fff;
}

.sidebar-card-light {
	background: #fff;
	color: #24313d;
	border: 1px solid #dfe8e4;
}

.sidebar-card a {
	color: inherit;
}

.sidebar-phone {
	display: block;
	font-size: 22px;
	line-height: 1.2;
	font-weight: 800;
	margin: 16px 0;
	text-decoration: none;
}

.sidebar-phone:hover {
	opacity: 0.9;
}

.sidebar-features,
.sidebar-links {
	list-style: none;
	margin: 0;
	padding: 0;
}

.sidebar-features {
	margin-bottom: 22px;
}

.sidebar-features li,
.sidebar-links li {
	padding: 10px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.14);
	font-size: 15px;
}

.sidebar-links li {
	border-bottom-color: #dfe8e4;
}

.sidebar-features li:last-child,
.sidebar-links li:last-child {
	border-bottom: 0;
}

.sidebar-links a {
	color: #0d443a;
	font-weight: 600;
	text-decoration: none;
}

.sidebar-links a:hover {
	color: #ff9f3d;
}

.sidebar-btn {
	width: 100%;
}

/* ===== RELATED ARTICLES ===== */
.article-related {
	margin-top: 0;
	padding-bottom: 78px;
}

.article-related h2 {
	font-size: 34px;
	line-height: 1.15;
	margin: 0 0 28px;
	color: #0d443a;
}

.article-related-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.article-related-card {
	background: #fff;
	border-radius: 18px;
	padding: 24px;
	box-shadow: 0 8px 24px rgba(13, 52, 43, 0.06);
	min-width: 0;
	transition: transform 0.2s, box-shadow 0.2s;
}

.article-related-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 32px rgba(13, 52, 43, 0.12);
}

.article-related-card time {
	display: block;
	margin-bottom: 12px;
	color: #667085;
	font-size: 14px;
}

.article-related-card h3 {
	font-size: 20px;
	line-height: 1.3;
	margin: 0 0 12px;
	color: #123f3d;
}

.article-related-card h3 a {
	color: inherit;
	text-decoration: none;
}

.article-related-card h3 a:hover {
	color: #087b70;
}

.article-related-card p {
	margin: 0 0 16px;
	color: #4b5563;
	line-height: 1.6;
	font-size: 15px;
}

.article-read-more {
	color: #087b70;
	font-weight: 700;
	text-decoration: none;
	font-size: 15px;
}

.article-read-more:hover {
	text-decoration: underline;
}

/* ===== RESPONSIVE: TABLET ===== */
@media (max-width: 1199px) {
	.article-wrap {
		grid-template-columns: minmax(0, 780px) 280px;
		gap: 32px;
	}

	.article-content {
		width: min(100% - 24px, 780px);
	}
}

/* ===== RESPONSIVE: MOBILE ===== */
@media (max-width: 900px) {
	.article-page {
		padding-top: calc(var(--site-header-height, 72px) + 0px);
	}

	.article-hero {
		padding: 48px 0 36px;
	}

	.article-container {
		padding: 0 16px;
	}

	.article-hero h1 {
		font-size: clamp(32px, 8vw, 40px);
		scroll-margin-top: calc(var(--site-header-height, 72px) + 16px);
	}

	.article-hero-text {
		font-size: 17px;
	}

	.article-wrap {
		display: block;
		padding: 32px 16px 56px;
	}

	.article-content {
		width: 100%;
		padding-block: 0;
	}

	.article-content p {
		font-size: 17px;
	}

	.article-content h2 {
		font-size: clamp(27px, 6vw, 32px);
		margin: 1.8em 0 0.5em;
		scroll-margin-top: calc(var(--site-header-height, 72px) + 16px);
	}

	.article-content h3 {
		font-size: clamp(22px, 5vw, 26px);
		margin: 1.5em 0 0.5em;
		scroll-margin-top: calc(var(--site-header-height, 72px) + 16px);
	}

	.article-toc {
		padding: 22px 20px;
		margin-bottom: 32px;
	}

	.article-note,
	.article-warning {
		padding: 20px 22px;
		margin: 28px 0;
	}

	.article-steps {
		padding: 24px 20px;
		margin: 40px 0;
	}

	.article-steps__item {
		flex-direction: column;
		gap: 12px;
	}

	.article-steps__number {
		font-size: 20px;
		min-width: auto;
	}

	.article-do-dont {
		grid-template-columns: 1fr;
		gap: 20px;
		margin: 40px 0;
	}

	.article-do-dont__column {
		padding: 22px;
	}

	.article-cta {
		padding: 28px 22px;
		border-radius: 16px;
		margin: 48px 0;
	}

	.article-sidebar {
		position: static;
		margin-top: 40px;
	}

	.article-actions,
	.article-cta-actions {
		display: grid;
		grid-template-columns: 1fr;
	}

	.article-btn {
		width: 100%;
	}

	.article-related {
		padding-bottom: 56px;
	}

	.article-related h2 {
		font-size: 28px;
		margin-bottom: 20px;
	}

	.article-related-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}
}

@media (max-width: 768px) {
	.article-hero h1 {
		font-size: clamp(28px, 7vw, 36px);
	}

	.article-content p {
		font-size: 16px;
	}

	.article-content h2 {
		font-size: clamp(24px, 5.5vw, 28px);
	}

	.article-content h3 {
		font-size: clamp(20px, 4.5vw, 24px);
	}
}
