:root {
	--news-blue: #004481;
	--alert-red: #c0392b;
	--text-black: #222222;
	--bg-gray: #f4f4f4;
	--paper-white: #ffffff;
	--primary-green: #0fb27a;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	background-color: var(--bg-gray);
	color: var(--text-black);
	font-family: "Merriweather", serif;
	line-height: 1.6;
	padding-bottom: 80px;
}

.system-alert {
	background-color: var(--alert-red);
	color: white;
	text-align: center;
	padding: 8px;
	font-family: "Roboto", sans-serif;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	position: sticky;
	top: 0;
	z-index: 1000;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* --- Cabeçalho --- */
header {
	background: var(--paper-white);
	border-bottom: 1px solid #ccc;
	padding: 15px 0;
	margin-bottom: 20px;
}

.header-content {
	max-width: 1000px;
	margin: 0 auto;
	padding: 0 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.newspaper-logo {
	font-family: "Merriweather", serif;
	font-weight: 900;
	font-size: 2rem;
	color: var(--news-blue);
	letter-spacing: -1px;
	text-transform: uppercase;
}

.date-line {
	font-family: "Roboto", sans-serif;
	font-size: 0.8rem;
	color: #666;
	margin-top: 5px;
	border-top: 1px solid #eee;
	border-bottom: 1px solid #eee;
	padding: 5px 0;
	text-align: center;
	background: white;
}

/* --- Layout --- */
.main-container {
	max-width: 1000px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 30px;
	padding: 20px;
	background: white;
	box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
}

article {
	padding-right: 20px;
	border-right: 1px solid #eee;
}

.category-tag {
	font-family: "Roboto", sans-serif;
	color: var(--alert-red);
	font-weight: bold;
	font-size: 0.8rem;
	text-transform: uppercase;
	margin-bottom: 10px;
	display: inline-block;
}

h1 {
	font-size: 2.2rem;
	line-height: 1.2;
	margin-bottom: 15px;
	color: #111;
}

.subheadline {
	font-size: 1.2rem;
	color: #555;
	margin-bottom: 20px;
	line-height: 1.4;
	font-style: italic;
}

/* --- Estilo das Imagens --- */

/* Avatar do Autor */
.author-line {
	font-family: "Roboto", sans-serif;
	font-size: 0.85rem;
	color: #777;
	margin-bottom: 25px;
	display: flex;
	align-items: center;
	gap: 10px;
}

.author-avatar {
	width: 50px;
	/* Tamanho da bolinha */
	height: 50px;
	border-radius: 50%;
	object-fit: cover;
	/* Garante que a foto não fique esticada */
	border: 2px solid #eee;
}

/* Imagem Principal da Notícia */
.main-article-image {
	width: 100%;
	height: auto;
	max-height: 400px;
	/* Altura máxima para não ocupar a tela toda */
	object-fit: cover;
	/* Ajusta a imagem sem distorcer */
	margin-bottom: 25px;
	display: block;
	border-radius: 4px;
}

/* --- Corpo do Texto --- */
.article-body p {
	margin-bottom: 18px;
	font-size: 1.1rem;
	color: #333;
}

.article-body h3 {
	font-family: "Roboto", sans-serif;
	margin-top: 30px;
	margin-bottom: 15px;
	color: var(--news-blue);
}

/* --- Quiz --- */
.quiz-container {
	background: #f0f7ff;
	border-left: 5px solid var(--news-blue);
	padding: 20px;
	margin: 30px 0;
	font-family: "Roboto", sans-serif;
}

.quiz-title {
	font-weight: bold;
	color: var(--news-blue);
	margin-bottom: 15px;
	font-size: 1.1rem;
}

.symptom-option {
	background: white;
	padding: 12px;
	margin-bottom: 8px;
	border: 1px solid #ccc;
	cursor: pointer;
	transition: 0.2s;
	display: flex;
	align-items: center;
}

.symptom-option:hover {
	background: #eef;
}

.symptom-option.selected {
	background: #ffebeb;
	border-color: var(--alert-red);
	color: var(--alert-red);
	font-weight: bold;
}

.check-box {
	width: 18px;
	height: 18px;
	border: 1px solid #999;
	margin-right: 10px;
}

.symptom-option.selected .check-box {
	background: var(--alert-red);
	border-color: var(--alert-red);
}

.btn-analyze {
	background: var(--news-blue);
	color: white;
	border: none;
	width: 100%;
	padding: 15px;
	font-weight: bold;
	font-size: 1rem;
	margin-top: 15px;
	cursor: pointer;
	text-transform: uppercase;
}

/* --- Oferta --- */
.offer-wrapper {
	display: none;
	border: 2px dashed #000;
	padding: 25px;
	text-align: center;
	margin-top: 30px;
	background: #fffdf0;
	animation: fadeIn 1s;
}

.offer-tag {
	background: var(--alert-red);
	color: white;
	display: inline-block;
	padding: 5px 10px;
	font-family: "Roboto", sans-serif;
	font-weight: bold;
	font-size: 0.8rem;
	margin-bottom: 15px;
}

.price-big {
	font-size: 3rem;
	font-weight: 900;
	color: var(--primary-green);
	font-family: "Roboto", sans-serif;
}

.btn-buy {
	background: var(--primary-green);
	color: white;
	padding: 20px;
	width: 100%;
	border: none;
	font-size: 1.2rem;
	font-weight: bold;
	cursor: pointer;
	border-radius: 4px;
	margin-top: 10px;
	box-shadow: 0 4px 0 #088a5e;
	animation: pulse 2s infinite;
}

.no-thanks {
	display: block;
	margin-top: 15px;
	color: #999;
	text-decoration: underline;
	font-family: "Roboto", sans-serif;
	font-size: 0.8rem;
	cursor: pointer;
}

/* --- Sidebar --- */
aside {
	font-family: "Roboto", sans-serif;
}

.sidebar-title {
	border-bottom: 2px solid #000;
	padding-bottom: 5px;
	margin-bottom: 15px;
	font-weight: bold;
	text-transform: uppercase;
	font-size: 0.9rem;
}

.related-news-item {
	margin-bottom: 20px;
	border-bottom: 1px solid #eee;
	padding-bottom: 10px;
}

.related-news-item div {
	width: 100%;
	height: 80px;
	background: #eee;
	margin-bottom: 5px;
}

/* Placeholder sidebar images */
.related-news-item h4 {
	font-size: 0.95rem;
	margin-bottom: 5px;
}

.related-news-item span {
	font-size: 0.75rem;
	color: #888;
}

.mobile-sticky {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	background: white;
	padding: 15px;
	border-top: 1px solid #ccc;
	z-index: 999;
	display: none;
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@keyframes pulse {
	0% {
		transform: scale(1);
	}

	50% {
		transform: scale(1.02);
	}

	100% {
		transform: scale(1);
	}
}

@media (max-width: 768px) {
	.main-container {
		grid-template-columns: 1fr;
		padding: 15px;
	}

	article {
		border-right: none;
		padding-right: 0;
	}

	aside {
		display: none;
	}

	h1 {
		font-size: 1.8rem;
	}
}
