/**
 * CSS Base Não-Crítico
 */

/* ========== Web Fonts ========== */
@font-face {
	font-family: "Inter";
	src: url("../fonts/inter/subset-Inter-SemiBold.woff2") format("woff2");
	font-weight: 600;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-007F, U+00A0-00FF, U+0100-017F;
}

@font-face {
	font-family: "Inter";
	src: url("../fonts/inter/subset-Inter-SemiBoldItalic.woff2") format("woff2");
	font-weight: 600;
	font-style: italic;
	font-display: swap;
	unicode-range: U+0000-007F, U+00A0-00FF, U+0100-017F;
}

@font-face {
	font-family: "Inter";
	src: url("../fonts/inter/subset-Inter-Regular.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-007F, U+00A0-00FF, U+0100-017F;
}

@font-face {
	font-family: "Inter";
	src: url("../fonts/inter/subset-Inter-MediumItalic.woff2") format("woff2");
	font-weight: 500;
	font-style: italic;
	font-display: swap;
	unicode-range: U+0000-007F, U+00A0-00FF, U+0100-017F;
}

@font-face {
	font-family: "Inter";
	src: url("../fonts/inter/subset-Inter-ExtraBold.woff2") format("woff2");
	font-weight: 800;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-007F, U+00A0-00FF, U+0100-017F;
}

@font-face {
	font-family: "Inter";
	src: url("../fonts/inter/subset-Inter-BlackItalic.woff2") format("woff2");
	font-weight: 900;
	font-style: italic;
	font-display: swap;
	unicode-range: U+0000-007F, U+00A0-00FF, U+0100-017F;
}

@font-face {
	font-family: "Inter";
	src: url("../fonts/inter/subset-Inter-BoldItalic.woff2") format("woff2");
	font-weight: 700;
	font-style: italic;
	font-display: swap;
	unicode-range: U+0000-007F, U+00A0-00FF, U+0100-017F;
}

@font-face {
	font-family: "Inter";
	src: url("../fonts/inter/subset-Inter-ExtraBoldItalic.woff2") format("woff2");
	font-weight: 800;
	font-style: italic;
	font-display: swap;
	unicode-range: U+0000-007F, U+00A0-00FF, U+0100-017F;
}

@font-face {
	font-family: "Inter";
	src: url("../fonts/inter/subset-Inter-Bold.woff2") format("woff2");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-007F, U+00A0-00FF, U+0100-017F;
}

@font-face {
	font-family: "Inter";
	src: url("../fonts/inter/subset-Inter-Black.woff2") format("woff2");
	font-weight: 900;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-007F, U+00A0-00FF, U+0100-017F;
}

@font-face {
	font-family: "Inter";
	src: url("../fonts/inter/subset-Inter-Italic.woff2") format("woff2");
	font-weight: 400;
	font-style: italic;
	font-display: swap;
	unicode-range: U+0000-007F, U+00A0-00FF, U+0100-017F;
}

@font-face {
	font-family: "Inter";
	src: url("../fonts/inter/subset-Inter-Medium.woff2") format("woff2");
	font-weight: 500;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-007F, U+00A0-00FF, U+0100-017F;
}

/* ========== Base Styles ========== */
body {
	font-family: var(--font-primary);
}

/* ========== Post Card Component ========== */
.post-card {
	position: relative;
	border-radius: 8px;
	border: 1px solid #E0E0E0;
	background-color: #F8F9FA;
	overflow: hidden;
}

.post-card:hover {
	border: 1px solid var(--color-primary-base);
}

.post-card__link {
	text-decoration: none;
	color: inherit;
	transition: transform 0.2s ease;
}

.post-card__thumbnail {
	width: 100%;
	overflow: hidden;
	position: relative;
	height: 0;
	padding-bottom: 56.25%;
}

.post-card__thumbnail img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
	will-change: transform;
}

.post-card:hover .post-card__thumbnail img {
	transform: scale(1.1);
}


.post-card__content {
	padding-inline: 1.125rem;
	padding-top: 0.5rem;
}

.post-card__category {
	display: block;
	margin-bottom: 0.5rem;
}

.post-card__title {
	font-family: "Inter", var(--font-primary);
	font-weight: 700;
	font-style: normal;
	font-size: 18px;
	line-height: 25.5px;
	letter-spacing: 0;
	margin-top: 0;
	margin-bottom: 10px;
	color: #333333;
	opacity: 1;
	vertical-align: middle;
	max-width: 350px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Responsivo: Tablet */
@media (max-width: 992px) {
	.post-card__title {
		font-size: 16px;
		line-height: 23px;
		max-width: 100%;
	}
}

/* Responsivo: Mobile */
@media (max-width: 768px) {
	.post-card__title {
		font-size: 16px;
		line-height: 23px;
		max-width: 100%;
	}
}

.post-card__excerpt {
	font-family: "Inter", var(--font-primary);
	font-weight: 400;
	font-style: normal;
	font-size: 14px;
	line-height: 24.5px;
	letter-spacing: -0.01em;
	color: #3D3D3D;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	margin-bottom: 1rem;
	vertical-align: middle;
}

.post-card__divider {
	height: 1px;
	width: 100%;
	background-color: #E0E0E0;
}

.post-card__author {
	padding-inline: 1.125rem;
	padding-block: 1rem;
	position: relative;
	z-index: 10;
}

.post-card__author-link {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	text-decoration: none;
	color: inherit;
	transition: opacity 0.3s ease;
}

.post-card__author-link:hover {
	opacity: 0.8;
}

.post-card__author-avatar {
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
}

.post-card__author-name {
	font-size: 0.75rem;
	font-weight: 400;
	color: #3D3D3D;
}

/* ========== Category Badge Component ========== */
.category-badge {
	display: inline-block;
	background-color: color-mix(in srgb, var(--color-secondary-base, #3498db) 20%, transparent);
	padding-inline: 0.625rem;
	padding-block: 0.5rem;
	border-radius: 4px;
	font-weight: 400;
	font-size: 0.875rem;
	color: var(--color-secondary-base, #3498db);
	text-decoration: none;
}

.category-badge:hover {
	background-color: color-mix(in srgb, var(--color-secondary-base, #3498db) 60%, transparent);
}

/* ========== Section Header Component ========== */
.section-header {
	position: relative;
	padding-left: 1rem;
	font-family: "Inter", var(--font-primary);
	font-weight: 700;
	font-style: normal;
	font-size: 24px;
	line-height: 32.5px;
	letter-spacing: 0;
	vertical-align: middle;
}

.section-header::before {
	content: " ";
	display: block;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background-color: var(--color-primary-base);
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	left: 0;
}

/* Responsivo: Tablet grande */
@media (max-width: 1200px) {
	.section-header {
		font-size: 22px;
		line-height: 30px;
	}
}

/* Responsivo: Tablet */
@media (max-width: 992px) {
	.section-header {
		font-size: 20px;
		line-height: 28px;
	}
}

/* Responsivo: Mobile grande */
@media (max-width: 768px) {
	.section-header {
		font-size: 18px;
		line-height: 26px;
	}
}

/* Responsivo: Mobile */
@media (max-width: 480px) {
	.section-header {
		font-size: 18px;
		line-height: 26px;
	}
}

/* ========== Fallback Messages Component ========== */
.module-fallback {
	margin: 0;
	font-size: 0.8125rem;
	line-height: 1.5;
	color: rgba(0, 0, 0, 0.6);
	font-style: italic;
}

.module-fallback a {
	color: rgba(0, 0, 0, 0.8);
	text-decoration: underline;
	transition: color 0.2s ease, opacity 0.2s ease;
}

.module-fallback a:hover,
.module-fallback a:focus {
	color: var(--color-primary-base, #2c3e50);
	opacity: 0.8;
}

.module-footer .module-fallback,
[class*="module-"][class*="--dark"] .module-fallback {
	color: rgba(255, 255, 255, 0.6);
}

.module-footer .module-fallback a,
[class*="module-"][class*="--dark"] .module-fallback a {
	color: rgba(255, 255, 255, 0.8);
}

.module-footer .module-fallback a:hover,
.module-footer .module-fallback a:focus,
[class*="module-"][class*="--dark"] .module-fallback a:hover,
[class*="module-"][class*="--dark"] .module-fallback a:focus {
	color: rgba(255, 255, 255, 1);
}

/* ========== Layout CSS - Estrutura da Página ========== */