/*
Theme Name: PeruNews Minimal
Theme URI: https://perunews.com
Author: PeruNews Team
Author URI: https://perunews.com
Description: Tema minimalista sin cabecera, con Merriweather, optimizado para velocidad y noticias desde el exterior.
Version: 1.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: perunews-minimal
*/

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

body {
  font-family: 'Merriweather', serif;
  font-weight: 400;
  line-height: 1.7;
  color: #222;
  background: #fff;
  font-size: 1.125rem; /* 18px – ideal para móviles */
}

/* Títulos con estilo "condensado visual" */
h1, h2, h3, h4, .post-title, .widget-title {
  font-family: 'Merriweather', serif;
  font-weight: 700;
  letter-spacing: -0.025em; /* efecto de compresión suave */
  line-height: 1.25;
}

/* Contenedor principal */
.main-container {
  width: 97%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 0;
}

.content-wrapper {
  display: grid;
  grid-template-columns: 26% 35% 35%;
  gap: 20px;
}

/* Último post */
.latest-post .post-card {
  width: 100%;
}

.latest-post .post-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.latest-post .cover-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0.5px solid #000;
  display: block;
}

.latest-post .post-title {
  font-size: 1.4rem;
  margin: 14px 0 10px;
}

.latest-post .post-excerpt {
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.latest-post .read-more {
  color: #0073aa;
  text-decoration: none;
  font-weight: bold;
  white-space: nowrap;
}

.latest-post .read-more:hover {
  text-decoration: underline;
}

/* Widgets */
.widget-area {
  font-size: 1.05rem;
}

.widget {
  margin-bottom: 24px;
}

.widget-title {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: #000;
}

.widget p, .widget li {
  margin-bottom: 8px;
}

/* Footer */
.site-footer {
  width: 97%;
  max-width: 1400px;
  margin: 50px auto 30px;
  padding: 25px 0;
  text-align: center;
  border-top: 1px solid #ddd;
  font-size: 1rem;
}

.site-footer .row-1 {
  margin-bottom: 10px;
  font-weight: 700;
  color: #000;
  font-size: 1.1rem;
}

.site-footer .row-2 a {
  color: #0073aa;
  text-decoration: none;
  font-weight: 600;
}

.site-footer .row-2 a:hover {
  text-decoration: underline;
}

/* Responsive: ajuste de tamaños */
@media (min-width: 768px) {
  body { font-size: 1rem; }
  .post-title { font-size: 1.25rem; }
  .latest-post .post-excerpt,
  .widget-area { font-size: 0.95rem; }
  .widget-title { font-size: 1.15rem; }
}

@media (min-width: 1024px) {
  body { font-size: 0.95rem; }
  .post-title { font-size: 1.15rem; }
  .latest-post .post-excerpt,
  .widget-area { font-size: 0.9rem; }
  .widget-title { font-size: 1.1rem; }
}

/* Responsive: layout en una columna en móvil */
@media (max-width: 992px) {
  .content-wrapper {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}