/* ==== Modern Blog CSS - Finanzas Personales ==== */
/* General */
body {
font-family: 'Segoe UI', Tahoma, sans-serif;
background: #f4f6f8;
color: #333;
margin: 0;
padding: 0;
}
/* Layout */
.container {
max-width: 1100px;
margin: auto;
padding: 20px;
display: grid;
grid-template-columns: 3fr 1fr;
gap: 20px;
}
@media (max-width: 768px) {
.container {
grid-template-columns: 1fr;
}
}
/* Header */
header {
background: linear-gradient(135deg, #2c7a7b, #285e61);
color: #fff;
padding: 30px;
text-align: center;
border-radius: 10px;
}
header h1 {
margin: 0;
font-size: 2rem;
}
header p {
margin-top: 5px;
font-size: 1.1rem;
}
/* Posts */
.post {
background: #fff;
border-radius: 8px;
padding: 20px;
box-shadow: 0 4px 8px rgba(0,0,0,0.05);
transition: transform 0.2s ease;
}
.post:hover {
transform: translateY(-3px);
}
.post-title {
font-size: 1.5rem;
color: #2c7a7b;
margin-bottom: 10px;
}
.post-meta {
font-size: 0.85rem;
color: #777;
margin-bottom: 15px;
}
.post-body {
line-height: 1.6;
}
/* Sidebar */
.sidebar {
background: #ffffff;
border-radius: 8px;
padding: 20px;
box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}
.sidebar h2 {
color: #2c7a7b;
border-bottom: 2px solid #e2e8f0;
padding-bottom: 5px;
margin-bottom: 15px;
}
.sidebar ul {
list-style: none;
padding: 0;
}
.sidebar li {
padding: 8px 0;
border-bottom: 1px solid #edf2f7;
}
.sidebar a {
color: #285e61;
text-decoration: none;
}
.sidebar a:hover {
text-decoration: underline;
}
/* Footer */
footer {
background: #285e61;
color: white;
text-align: center;
padding: 15px;
margin-top: 30px;
border-radius: 8px;
font-size: 0.9rem;
}