/* ARTICLE / BLOG / RESOURCE PAGE STYLES */

.article {
	padding: 3.5rem 2rem 5rem;
}

.article-inner {
	max-width: 760px;
	margin: 0 auto;
}

.article-header {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	margin-bottom: 2.5rem;
}

.article-category {
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--brand-primary-red);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	margin: 0;
}

.article-title {
	font-size: 2.5rem;
	font-weight: 700;
	color: var(--brand-black);
	line-height: 1.18;
	letter-spacing: -0.02em;
	margin: 0;
}

.article-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 1rem;
	font-size: 0.8rem;
	color: var(--brand-medium-gray);
}

.article-meta .meta-divider {
	color: var(--brand-off-white);
}

.article-author {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	font-weight: 600;
	color: var(--brand-dark-gray);
}

.article-author .author-avatar {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: linear-gradient(135deg, #f0f0f0, #e2e2e2);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--brand-medium-gray);
	font-size: 0.75rem;
	font-weight: 700;
}

.article-subtitle {
	font-size: 1.15rem;
	line-height: 1.6;
	color: var(--brand-medium-gray);
	margin: 0;
}

.article-feature-image {
	width: 100%;
	height: 360px;
	background: linear-gradient(135deg, #f0f0f0 0%, #e2e2e2 100%);
	border-radius: 2px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 2.5rem;
	overflow: hidden;
}

.article-feature-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.article-feature-image svg {
	width: 90px;
	height: 90px;
	stroke: var(--brand-light-gray);
	stroke-width: 1.1;
	fill: none;
}

/* Body copy */
.article-body {
	font-size: 1rem;
	line-height: 1.9;
	color: var(--brand-dark-gray);
}

.article-body > * + * {
	margin-top: 1.5rem;
}

.article-body h2 {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--brand-black);
	letter-spacing: -0.01em;
	margin-top: 2.75rem;
}

.article-body h3 {
	font-size: 1.15rem;
	font-weight: 600;
	color: var(--brand-black);
	margin-top: 2rem;
}

.article-body p {
	color: var(--brand-medium-gray);
}

.article-body a {
	color: var(--brand-primary-red);
	text-decoration: underline;
}

.article-body ul,
.article-body ol {
	padding-left: 1.5rem;
	color: var(--brand-medium-gray);
}

.article-body li + li {
	margin-top: 0.6rem;
}

.article-body blockquote {
	border-left: 3px solid var(--brand-primary-red);
	padding: 0.5rem 0 0.5rem 1.5rem;
	font-style: italic;
	color: var(--brand-dark-gray);
	background-color: #fafafa;
}

.article-body img {
	width: 100%;
	border-radius: 2px;
}

/* Builder components */
.article-body .component {
	margin-top: 2.5rem;
}

.component-text > * + * {
	margin-top: 1.5rem;
}

/* Callout box */
.component-callout {
	border-left: 4px solid var(--brand-light-gray);
	background-color: #fafafa;
	padding: 1.5rem 1.75rem;
	border-radius: 2px;
}

.component-callout.callout-note {
	border-left-color: var(--brand-primary-red);
	background-color: #fff5f5;
}

.component-callout.callout-warning {
	border-left-color: #d98a00;
	background-color: #fff9ef;
}

.callout-title {
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--brand-black);
	margin: 0 0 0.5rem;
}

.callout-body,
.callout-body p {
	color: var(--brand-medium-gray);
	margin: 0;
}

/* Key points */
.component-key-points {
	background-color: #f7f7f7;
	border: 1px solid #ececec;
	border-radius: 2px;
	padding: 1.75rem 2rem;
}

.key-points-title {
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--brand-black);
	margin: 0 0 1rem;
}

.key-points-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.key-points-list li {
	position: relative;
	padding-left: 1.75rem;
	color: var(--brand-dark-gray);
	line-height: 1.6;
}

.key-points-list li + li {
	margin-top: 0.75rem;
}

.key-points-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 8px;
	height: 8px;
	background-color: var(--brand-primary-red);
	border-radius: 50%;
}

/* Quote */
.component-quote {
	margin-left: 0;
	margin-right: 0;
	text-align: center;
	padding: 1rem 0;
}

.component-quote blockquote {
	font-size: 1.4rem;
	line-height: 1.55;
	font-weight: 500;
	font-style: italic;
	color: var(--brand-black);
	border: none;
	padding: 0;
	margin: 0;
	background: none;
}

.component-quote figcaption {
	margin-top: 1rem;
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--brand-primary-red);
}

/* Image with caption */
.component-image {
	margin-left: 0;
	margin-right: 0;
}

.component-image img {
	width: 100%;
	border-radius: 2px;
	display: block;
}

.component-image figcaption {
	margin-top: 0.75rem;
	font-size: 0.8rem;
	color: var(--brand-medium-gray);
	text-align: center;
}

/* Download */
.component-download {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1rem;
	background-color: #f7f7f7;
	border: 1px solid #ececec;
	border-radius: 2px;
	padding: 1.5rem 1.75rem;
}

.download-description {
	margin: 0;
	color: var(--brand-dark-gray);
	font-weight: 500;
}

.download-btn {
	white-space: nowrap;
}

/* Call to action */
.component-cta {
	background-color: var(--brand-black);
	border-radius: 2px;
	padding: 2.5rem 2rem;
	text-align: center;
}

.cta-heading {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--brand-white);
	margin: 0 0 0.75rem;
}

.cta-text {
	color: rgba(255, 255, 255, 0.75);
	margin: 0 auto 1.5rem;
	max-width: 480px;
}

.cta-btn {
	display: inline-block;
}

/* Video */
.component-video {
	margin-left: 0;
	margin-right: 0;
}

.video-embed {
	position: relative;
	width: 100%;
	padding-top: 56.25%;
	background-color: #000;
	border-radius: 2px;
	overflow: hidden;
}

.video-embed iframe,
.video-embed video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: none;
}

.component-video figcaption {
	margin-top: 0.75rem;
	font-size: 0.8rem;
	color: var(--brand-medium-gray);
	text-align: center;
}

/* Tags */
.article-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid var(--brand-off-white);
}

.article-tag {
	font-size: 0.7rem;
	font-weight: 600;
	color: var(--brand-medium-gray);
	letter-spacing: 0.05em;
	text-transform: uppercase;
	background-color: #f5f5f5;
	border: 1px solid #ebebeb;
	padding: 0.4rem 0.8rem;
	border-radius: 2px;
	text-decoration: none;
	transition: all 0.2s ease;
}

.article-tag:hover {
	border-color: var(--brand-primary-red);
	color: var(--brand-primary-red);
}

/* Related articles */
.related {
	width: 100%;
	margin: 4rem 0 0;
	background-color: #f5f5f5;
	padding: 4rem 2rem;
}

.related-inner {
	max-width: 1280px;
	margin: 0 auto;
}

.related-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
	margin-top: 2rem;
}

.related-card {
	display: flex;
	flex-direction: column;
	background-color: var(--brand-white);
	border: 1px solid #ebebeb;
	border-radius: 2px;
	overflow: hidden;
	text-decoration: none;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.related-card:hover {
	border-color: var(--brand-primary-red);
	box-shadow: 0 12px 24px rgba(187, 13, 18, 0.08);
	transform: translateY(-4px);
}

.related-card-image {
	width: 100%;
	height: 160px;
	background-color: #e8e8e8;
	display: flex;
	align-items: center;
	justify-content: center;
}

.related-card-image svg {
	width: 60px;
	height: 60px;
	stroke: var(--brand-light-gray);
	stroke-width: 1.2;
	fill: none;
}

.related-card-body {
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
}

.related-card-category {
	font-size: 0.68rem;
	font-weight: 600;
	color: var(--brand-primary-red);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.related-card-title {
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--brand-dark-gray);
	line-height: 1.4;
	margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
	.article {
		padding: 2.5rem 1rem 3.5rem;
	}

	.article-title {
		font-size: 1.75rem;
	}

	.article-feature-image {
		height: 220px;
	}

	.related {
		padding: 3rem 1rem;
	}

	.related-grid {
		grid-template-columns: 1fr;
	}
}
