/* Variant B — Clínica Moderna: DM Serif Display + DM Sans, bordes redondeados, aspecto profesional */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:wght@300;400;500&display=swap');

body {
	font-family: 'DM Sans', sans-serif;
	font-weight: 300;
	font-size: 1.1rem;
	color: #1f1f1f;
	background-color: #ffffff;
}

a, a:visited, a:active, a:focus { color: #444; background-color: transparent; -webkit-transition: color 0.2s ease; transition: color 0.2s ease; }
a:focus { color: #444; }
a:hover { color: #000; }
a, a:link, a:visited, a:focus, a:hover, a:active { text-decoration: none; }

p { text-align: justify; line-height: 1.85; }
p a { border-bottom: 1px dotted #666; }
p a:hover { border-bottom: 1px solid #000; }

blockquote { background-color: #f7f7f7; border-left: 3px solid #bbb; padding: 30px; border-radius: 0 12px 12px 0; }

.gutter { display: none; }
.highlight { background-color: #f5f5f5; padding: 30px; border-radius: 8px; }

form button {
	color: #555;
	font-family: 'DM Sans', sans-serif;
	font-size: 0.9rem;
	background: #fff;
	padding: 12px 15px;
	width: 100%;
	border: solid #ddd 1.5px;
	border-radius: 24px;
	transition: all 0.3s ease-in-out;
	text-decoration: none;
}
form button:hover { color: #000; border-color: #000; text-decoration: none; }

input, textarea {
	font-family: 'DM Sans', sans-serif;
	font-size: 0.9rem;
	letter-spacing: 0.3px;
	border: 1.5px solid #e0e0e0;
	background: #fff;
	padding: 15px;
	margin: 5px 0;
	border-radius: 14px;
	transition: all 0.3s ease-in-out;
	width: 100%;
}
input:focus, textarea:focus { border-color: #888; outline: none; }

.navbar-brand { width: 100%; }

.title {
	font-family: 'DM Serif Display', serif;
	font-weight: 400;
	font-size: 4.8rem;
	letter-spacing: 1px;
	color: #ffffff;
	width: 100%;
	text-align: center;
	display: block;
}

.subtitle {
	font-family: 'DM Sans', sans-serif;
	font-weight: 300;
	font-size: 1.3rem;
	letter-spacing: 2px;
	color: rgba(255,255,255,0.85);
	width: 100%;
	text-align: center;
	display: block;
	margin-top: 4px;
}

.whatsapp-contact-button {
	position: fixed; bottom: 20px; right: 20px; z-index: 1000;
	display: flex; align-items: center;
	background-color: #25D366; color: white; text-decoration: none;
	padding: 12px 18px; border-radius: 32px;
	box-shadow: 0 4px 14px rgba(0,0,0,0.18);
}
.whatsapp-contact-button img { margin-right: 10px; width: 28px; height: 28px; }
.whatsapp-contact-button span { font-size: 15px; font-weight: 500; }
.whatsapp-contact-button:hover { background-color: #25D366; color: white; text-decoration: none; }

.hometext {
	display: inline-block;
	text-align: center;
	padding: 10px;
	margin: 5px;
	margin-bottom: 25px;
	margin-top: 25px;
	font-family: 'DM Sans', sans-serif;
	font-size: 1.15rem;
	line-height: 1.6;
	color: #444;
}

.main-bar {
	background-image: url('/images/bar-animation.gif');
	background-size: cover;
	background-position: center;
	padding-bottom: 24px;
	padding-top: 8px;
	margin-bottom: 50px;
	border-radius: 0 0 20px 20px;
}

.image-box { position: relative; }
.image-box:before { content: ""; display: block; padding-top: 100%; }

.post-image {
	position: absolute;
	top: 0; left: 0; bottom: 0; right: 0;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 6px 24px rgba(0,0,0,0.1);
	transition: box-shadow 0.3s ease;
}
.post-image:hover { box-shadow: 0 10px 32px rgba(0,0,0,0.16); }

.img-post-container { text-align: center; }
.post-image img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.3s; }
.post-image img:hover { opacity: 0.82; }

.post-details {
	font-size: 1.25rem;
	font-family: 'DM Serif Display', serif;
	position: absolute;
	top: 50%; left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	width: 90%;
}
@media (max-width: 600px) { .post-details { font-size: 1.0rem; } }
.post-details a { color: #fff; }
.post-details hr { border-color: rgba(255,255,255,0.5); width: 10%; margin-top: 10px; margin-bottom: 0; }

.date { color: #999; font-family: 'DM Sans', sans-serif; text-transform: uppercase; font-size: 0.65rem; font-weight: 400; letter-spacing: 2px; }

.pagination { margin: 0 auto; }
.pagination a { color: #bbb; }
.pagination a:hover { color: #333; }

.cover-image { width: 100%; max-height: 30px; object-fit: cover; }
.post-page h1 { text-align: center; font-family: 'DM Serif Display', serif; }
.post-page hr { border-color: #eee; width: 5%; margin-top: 20px; margin-bottom: 10px; }

footer { border-top: 1px solid #efefef; }
