/* ========================================
   BLOG — BASE
======================================== */

.single-blog {
	--article-bg: #faf7f4;
	--article-bg-card: #f4f4f2;
	--article-ink: #111114;
	--article-ink-soft: rgba(17, 17, 20, 0.62);
	--article-ink-muted: rgba(17, 17, 20, 0.42);
	--article-line: #e7e7e4;
	--article-line-strong: #cfcfcb;
	--article-brand: var(--color-secondary);
	--article-radius: 10px;
	--article-wrap: 64rem;
	--article-wrap-text: 60rem;

	background: var(--article-bg);
	color: var(--article-ink);
	font-size: 1rem;
	line-height: 1.72;

	padding: 30px 0;
}

/* ========================================
   CONTAINER
======================================== */

.single-blog .container {
	max-width: var(--article-wrap-text);
}

.single-blog a {
	text-underline-offset: 0.18em;
}

.single-blog a:hover {
	text-decoration-thickness: 2px;
}

.single-blog a:focus-visible {
	outline: 2px solid var(--article-brand);
	outline-offset: 3px;
	border-radius: 2px;
}

.single-blog img {
	max-width: 100%;
	height: auto;
	display: block;
}

/* ========================================
   ARTICLE HEADER
======================================== */

.article-back__link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--color-primary);
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none;
	transition: 0.15s ease-in-out;
}

.article-back__link:hover {
	color: var(--article-brand);
	gap: 0.7rem;
}

.article-back__link:focus-visible {
	outline: 2px solid var(--article-brand);
	outline-offset: 4px;
	border-radius: 2px;
}

.article-header {
	padding: 3rem 0 0rem;
}

.article-header__category {
	font-size: 0.76rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--article-brand);
	font-weight: 600;
	margin: 0 0 1rem;
}

.article-header__title {
	font-weight: 300;
	font-size: clamp(2rem, 5vw, 3rem);
	line-height: 1.14;
	letter-spacing: -0.02em;
	margin: 0 0 1.1rem;
	color: var(--color-secondary);
}

.article-header__intro {
	max-width: 100%;
	font-size: 1.1rem;
	line-height: 1.65;
	color: var(--article-ink-soft);
	margin: 0 0 1.6rem;
}

.article-header__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 2rem;
	font-size: 0.82rem;
	line-height: 1.5;
	color: var(--article-ink-muted);
	margin: 0;
}

.article-header__meta b {
	color: #111114;
}

/* ========================================
   FEATURED IMAGE
======================================== */

.article-featured-image img {
	border-radius: 6px;
}

/* ========================================
   ARTICLE SUMMARY
======================================== */

.article-summary-component {
	padding: 2rem 0 0;
}

.article-summary {
	background: var(--article-bg-card);
	border-left: 3px solid var(--article-brand);
	border-radius: 0 var(--article-radius) var(--article-radius) 0;
	padding: 1.3rem 1.5rem;
	margin: 0 0 2rem;
}

.article-summary__eyebrow {
	font-size: 0.72rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--article-brand);
	font-weight: 600;
}

.article-summary__title {
	font-size: 0.72rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--article-brand);
	font-weight: 600;
}

.article-summary__subtitle {
	font-size: 1.125rem;
	font-weight: 600;
	line-height: 1.3;
	margin: 0.4rem 0 0.8rem;
	color: var(--article-ink);
}

.article-summary__items {
	margin: 0;
	padding-left: 1.2rem;
}

.article-summary__item {
	font-size: 0.94rem;
	line-height: 1.6;
	margin: 0 0 0.55rem;
	color: var(--article-ink);
}

.article-summary__item:last-child {
	margin-bottom: 0;
}

/* ========================================
   ARTICLE TOC
======================================== */

.article-toc-component {
	padding: 0;
}

.article-toc {
	background: var(--article-bg-card);
	border: 1px solid var(--article-line);
	border-radius: var(--article-radius);
	padding: 1.4rem 1.6rem;
	margin: 0 0 2.4rem;
}

.article-toc__title {
	font-size: 0.78rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--article-brand);
	margin: 0 0 0.9rem;
	font-weight: 600;
}

.article-toc__list {
	margin: 0;
	padding-left: 1.2rem;
}

.article-toc__item {
	margin-bottom: 0.4rem;
	font-size: 0.92rem;
	line-height: 1.5;
}

.article-toc__item:last-child {
	margin-bottom: 0;
}

.article-toc__link {
	color: var(--color-secondary);
	text-decoration: underline !important;
}

.article-toc__link:hover {
	color: var(--article-brand);
	text-decoration: underline;
}

/* ========================================
   ARTICLE CONTENT
======================================== */

.article-content-component {
	padding: 0 0 3rem;
}

.article-content {
	max-width: var(--article-wrap-text);
	margin: 0 auto;
}

.article-content p {
	font-size: 1rem;
	line-height: 1.72;
	margin: 0 0 1.05rem;
	color: var(--article-ink);
}

.article-content h2 {
	font-size: 1.42rem;
	font-weight: 600;
	line-height: 1.28;
	letter-spacing: -0.01em;
	margin: 2.6rem 0 1rem;
	scroll-margin-top: 120px;
	color: var(--article-ink);
}

.article-content h3 {
	font-size: 1.1rem;
	font-weight: 600;
	line-height: 1.35;
	margin: 1.9rem 0 0.8rem;
	color: var(--article-ink);
}

.article-content h2:first-child,
.article-content h3:first-child {
	margin-top: 0;
}

.article-content ul,
.article-content ol {
	margin: 0 0 1.05rem;
	padding-left: 1.25rem;
}

.article-content li {
	margin-bottom: 0.5rem;
}

.article-content li:last-child {
	margin-bottom: 0;
}

.article-content strong {
	font-weight: 600;
}

.article-content img {
	width: 100%;
	height: auto;
	margin: 2rem 0;
	border-radius: var(--article-radius);
}

.article-content blockquote {
	margin: 2rem 0;
	padding: 1rem 1.4rem;
	border-left: 3px solid var(--article-brand);
	background: var(--article-bg-card);
	color: var(--article-ink-soft);
}

.article-content table {
	width: 100%;
	margin: 2rem 0;
	border-collapse: collapse;
}

.article-content th,
.article-content td {
	padding: 0.75rem;
	border-bottom: 1px solid var(--article-line);
	text-align: left;
	vertical-align: top;
}

.article-content th {
	font-weight: 600;
}

/* ========================================
   ARTICLE FAQ
======================================== */

.article-faq-component {
	padding: 0;
}

.article-faq {
	margin: 2.8rem 0 0;
}

.article-faq__title {
	font-size: 1.42rem;
	font-weight: 600;
	margin: 0 0 2rem;
}

.article-faq__list {
	border-top: 1px solid var(--article-line);
}

.article-faq__item {
	border-bottom: 1px solid var(--article-line);
}

.article-faq__question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	padding: 2rem 0;
	cursor: pointer;
	list-style: none;
	font-weight: 600;
	line-height: 1.4;
}

.article-faq__question::-webkit-details-marker {
	display: none;
}

.article-faq__icon {
	position: relative;
	flex: 0 0 1rem;
	width: 1rem;
	height: 1rem;
}

.article-faq__icon::before,
.article-faq__icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0.8rem;
	height: 2px;
	background: currentColor;
	transform: translate(-50%, -50%);
}

.article-faq__icon::after {
	transform: translate(-50%, -50%) rotate(90deg);
}

.article-faq__item[open] .article-faq__icon::after {
	opacity: 0;
}

.article-faq__answer {
	max-width: 42rem;
	padding: 0 0 1.3rem;
	color: var(--article-ink-soft);
}

.article-faq__answer p {
	margin: 0 0 1rem;
}

.article-faq__answer p:last-child {
	margin-bottom: 0;
}

/* ========================================
   ARTICLE CTA
======================================== */

.article-cta-component {
	padding: 0;
}

.article-cta {
	background: var(--article-brand);
	color: #fff;
	border-radius: var(--article-radius);
	padding: 2rem 2rem 2.2rem;
	margin: 2.8rem 0 0;
}

.article-cta__eyebrow {
	font-size: 0.72rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.7);
	font-weight: 600;
	margin-bottom: 0.6rem;
}

.article-cta__title {
	font-size: 1.28rem;
	font-weight: 600;
	line-height: 1.3;
	margin: 0 0 0.7rem;
	color: #fff;
}

.article-cta__description {
	max-width: 42rem;
	color: rgba(255, 255, 255, 0.78);
	margin: 0 0 1.4rem;
	font-size: 0.98rem;
	line-height: 1.65;
}

.article-cta__description p {
	margin: 0;
}

.article-cta__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

/* ========================================
   ARTICLE AUTHOR
======================================== */

.article-author {
	width: 100%;
	gap: 1.2rem;
	align-items: flex-start;
	border-top: 1px solid var(--article-line);
	margin: 2.4rem 0 0;
	padding: 2rem 0 0;
}

.article-author__content {
	display: flex;
	gap: 1rem;
	background: var(--article-bg-card);
	border: 1px solid var(--article-line);
	border-radius: var(--article-radius);
	padding: 1rem 1.2rem;
	margin: 0 0 2rem;
}

.article-author img {
	width: 74px;
	height: 74px;
	border-radius: 50%;
	object-fit: cover;
	flex: 0 0 auto;
}

.article-author__title {
	font-size: 1.05rem;
	font-weight: 600;
	margin: 0 0 0.3rem;
	color: var(--article-ink);
}

.article-author__label {
	font-size: 0.72rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--article-ink-muted);
	font-weight: 600;
}

.article-author__name {
	font-size: 0.98rem;
	font-weight: 500;
	margin: 0.15rem 0 0.1rem;
	margin: 5px 0;
}

.article-author__registration {
	font-size: 0.8rem;
	color: var(--article-ink-soft);
	margin: 0 0 0.7rem;
	line-height: 1.55;
}

.article-author__description {
	font-size: 0.92rem;
	color: var(--article-ink-soft);
	margin: 0 0 0.7rem;
}

.article-author__bio small {
	color: var(--color-text);
}

.article-author__info {
	font-size: 0.92rem;
	color: var(--color-text);
	margin: 0 0 0.7rem;
}

.article-author__info a {
	color: var(--color-secondary);
}

/* ========================================
   ARTICLE DISCLAIMER
======================================== */

.article-disclaimer {
	border: 1px solid var(--article-line);
	border-radius: var(--article-radius);
	padding: 1.2rem 1.4rem;
	margin: 2rem 0 0;
	font-size: 0.88rem;
	color: var(--article-ink-soft);
}

/* ========================================
   ARTICLE RELATED
======================================== */

.article-related {
	border-top: 1px solid var(--article-line);
	padding: 2.8rem 0 0;
	margin: 3rem 0 0;
}

.article-related__title {
	font-size: 1.28rem;
	font-weight: 600;
	line-height: 1.3;
	margin: 0 0 1.3rem;
	color: var(--article-ink);
}

/**
 * --------------------------------------------------
 * ARTICLE - CARDS
 * --------------------------------------------------
 */

.article-related .cards--default .cards__items {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 2rem;
}

.article-related .cards--default .cards__items.slick-3 .slick-slide {
	margin: 0 15px !important;
}

.article-related .cards--default .cards__items .slick-track {
	margin-left: 0 !important;
	margin-right: auto !important;
}

.article-related .cards--default .cards__item {
	background: #fff;
	padding: 0;
	border-radius: 1rem;
	box-shadow: 0px 0px 10px 5px #f1f1f1;
}

.article-related .cards--default .cards__image,
.article-related .cards--default .cards__image img {
	border-radius: 1rem;
}

.article-related .cards--default .cards__image {
	width: 100%;
	height: 200px;
}

.article-related .cards--default .cards__content {
	padding: 1.5rem 1rem;
}

.article-related .cards--default .cards__title {
	font-size: 1rem;
	height: 60px;
}

.article-related .cards--default .cards__description {
	height: 140px;
}

.article-related .cards--default .cards__cta {
	margin-top: 0.5rem;
}

/* ========================================
   TABLET
======================================== */

@media (max-width: 991.98px) {
	.article-related__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* ========================================
   MOBILE
======================================== */

@media (max-width: 767.98px) {
	.single-blog section {
		text-align: left !important;
	}
	.single-blog .container {
		max-width: 100%;
	}

	.article-header {
		padding: 1.2rem 0 0;
	}

	.article-header__title {
		font-size: 2.25rem;
	}

	.article-header__intro {
		font-size: 1.05rem;
	}

	.article-summary {
		padding: 1.2rem 1.25rem;
	}

	.article-toc {
		padding: 1.2rem 1.25rem;
	}

	.article-content h2 {
		margin-top: 2.3rem;
	}

	.article-cta {
		padding: 1.75rem 1.5rem 1.9rem;
	}

	.article-author {
		gap: 1rem;
	}

	.article-author img {
		width: 50px;
		height: 50px;
	}

	.article-related__grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 575.98px) {
	.article-header__title {
		font-size: 2rem;
	}

	.article-header__meta {
		gap: 0.35rem 1rem;
	}

	.article-author {
		display: block;
	}

	.article-author img {
		margin-bottom: 1rem;
	}
}
