/* Reset and base styles */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
	line-height: 1.5;
	color: #333;
	background-color: #fff;
}

.container {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

/* Header styles */
.header {
	border-bottom: 1px solid #e5e7eb;
}

.header-content {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0.75rem 1rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.site-name {
	font-size: 0.875rem;
	color: #6b7280;
}

/* Main content styles */
.main-content {
	max-width: 768px;
	margin: 0 auto;
	padding: 1.5rem 1rem;
	flex: 1;
}

.tag {
	display: inline-block;
	background-color: #fee2e2;
	color: #b91c1c;
	font-size: 0.75rem;
	font-weight: 500;
	padding: 0.25rem 0.625rem;
	border-radius: 0.25rem;
	margin-bottom: 1rem;
}

.headline {
	font-size: 1.5rem;
	font-weight: 700;
	color: #111827;
	margin-bottom: 1rem;
	line-height: 1.2;
}

.publisher-info {
	font-size: 0.875rem;
	color: #6b7280;
	margin-bottom: 1.5rem;
}

/* Video container styles */
.video-container {
	margin-bottom: 1.5rem;
}

.video-link {
	display: block;
	text-decoration: none;
}

.video-thumbnail {
	position: relative;
	width: 100%;
	height: 250px;
	border-radius: 0.5rem;
	overflow: hidden;
	cursor: pointer;
}

.video-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.play-button {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color: #dc2626;
	border-radius: 9999px;
	padding: 0.75rem 1.25rem;
	display: flex;
	align-items: center;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
	animation: pulse 2s infinite;
}

@keyframes pulse {
	0% {
		transform: translate(-50%, -50%) scale(1);
	}
	50% {
		transform: translate(-50%, -50%) scale(1.05);
	}
	100% {
		transform: translate(-50%, -50%) scale(1);
	}
}

.play-icon {
	width: 0;
	height: 0;
	border-top: 12px solid transparent;
	border-bottom: 12px solid transparent;
	border-left: 20px solid white;
}

.play-text {
	color: white;
	font-weight: 700;
	font-size: 1rem;
	margin-left: 0.75rem;
}

.video-caption {
	text-align: center;
	margin-top: 0.5rem;
	font-size: 1rem;
	font-weight: 500;
	color: #2563eb;
}

.video-caption:hover {
	color: #1d4ed8;
	text-decoration: underline;
}

/* Article content styles */
.article-content {
	font-size: 1rem;
}

.article-content p {
	margin-bottom: 1rem;
}

.text-link {
	color: #2563eb;
	text-decoration: underline;
}

.text-link:hover {
	color: #1d4ed8;
}

.highlight {
	font-weight: 600;
	margin: 0.75rem 0;
}

/* CTA styles */
.cta-container {
	margin: 1.5rem 0;
	text-align: center;
}

.cta-button {
	display: inline-block;
	background-color: #16a34a;
	color: white;
	font-weight: 700;
	font-size: 1rem;
	padding: 0.75rem 1.5rem;
	border-radius: 0.5rem;
	text-decoration: none;
	transition: background-color 0.2s;
}

.cta-button:hover {
	background-color: #15803d;
}

.warning-box {
	margin-top: 1rem;
	padding: 0.75rem;
	background-color: #fefce8;
	border: 1px solid #fef08a;
	border-radius: 0.375rem;
	font-size: 0.875rem;
	color: #4b5563;
}

.warning-box p {
	display: flex;
	align-items: flex-start;
}

.warning-icon {
	width: 1rem;
	height: 1rem;
	color: #eab308;
	margin-right: 0.5rem;
	flex-shrink: 0;
}

/* Section title styles */
.section-title {
	font-size: 1.25rem;
	font-weight: 700;
	color: #111827;
	margin: 2rem 0 0.75rem;
}

/* Info box styles */
.info-box {
	background-color: #f9fafb;
	padding: 1rem;
	border-radius: 0.5rem;
	margin: 1rem 0;
}

.symptom-list {
	list-style-type: disc;
	padding-left: 1.25rem;
	margin: 0.75rem 0;
}

.symptom-list li {
	margin-bottom: 0.25rem;
}

.solution {
	font-weight: 500;
	margin-top: 0.75rem;
}

/* Final CTA styles */
.final-cta {
	margin: 1.5rem 0;
	text-align: center;
}

.final-cta p {
	margin-bottom: 0.75rem;
}

/* Footer styles */
.footer {
	background-color: #f9fafb;
	border-top: 1px solid #e5e7eb;
	margin-top: 2rem;
}

.footer-content {
	max-width: 768px;
	margin: 0 auto;
	padding: 1rem;
	font-size: 0.75rem;
	color: #6b7280;
}

.copyright {
	text-align: center;
	margin-bottom: 0.75rem;
	font-weight: 500;
}

.footer-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem;
	margin-bottom: 1rem;
}

.footer-links a {
	color: #6b7280;
	text-decoration: none;
}

.footer-links a:hover {
	text-decoration: underline;
}

.divider {
	display: none;
}

.disclaimers {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.disclaimers p strong {
	display: block;
	margin-bottom: 0.25rem;
}

/* Responsive styles */
@media (min-width: 640px) {
	.video-thumbnail {
		height: 300px;
	}

	.play-button {
		padding: 0.75rem 1.5rem;
	}

	.play-icon {
		border-top: 12px solid transparent;
		border-bottom: 12px solid transparent;
		border-left: 20px solid white;
	}

	.play-text {
		font-size: 1.125rem;
	}

	.divider {
		display: inline;
	}

	.cta-button {
		width: auto;
	}
}

@media (min-width: 768px) {
	.headline {
		font-size: 2rem;
	}

	.video-thumbnail {
		height: 400px;
	}

	.play-button {
		padding: 1rem 2rem;
	}

	.play-icon {
		border-top: 14px solid transparent;
		border-bottom: 14px solid transparent;
		border-left: 24px solid white;
	}

	.play-text {
		font-size: 1.25rem;
	}

	.article-content {
		font-size: 1.125rem;
	}

	.section-title {
		font-size: 1.5rem;
	}

	.cta-button {
		font-size: 1.125rem;
		padding: 1rem 2rem;
	}
}

.overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(255, 255, 255, 0.442);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	z-index: 1;
	display: flex;
	justify-content: center;
	align-items: center;
}

.overlay a {
	color: black !important;
	text-decoration: none !important;
	text-align: center !important;
}

.message {
	width: 400px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 40px;
	border-radius: 30px;
}

.bg-white {
	background-color: white;
	box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
}

.message-link {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.message-link h3 {
	font-family: Avenir, Montserrat, Corbel, 'URW Gothic', source-sans-pro, sans-serif;
	font-size: 34px !important;
	font-weight: bold;
	margin: 0 0 30px 0;
	text-shadow: 3px 3px 3px rgba(0, 0, 0, 0.3);
}

.message-link img {
	width: 300px;
}

.message-loader {
	width: 148px;
	height: 148px;
	background-image: url('../img/loading.png');
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;

	animation: spin 2s linear infinite;
}

@keyframes spin {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
}

.hidden {
	display: none;
}

.invisible {
	opacity: 0;
	visibility: hidden;
	/* transition: opacity 0.3s ease, visibility 0.3s ease; */
}

.visible {
	opacity: 1;
	visibility: visible;
	/* transition: opacity 0.3s ease, visibility 0.3s ease; */
}

@media (max-width: 425px) {
	.container {
		padding-top: 12px;
	}

	.divider {
		margin: 12px auto;
	}

	.main-title {
		margin-top: 12px;
	}

	.description,
	.description .centered {
		padding-top: 0px;
		margin-top: 5px;
		text-align: justify;
	}
}
