/*
Theme Name: Mi País Honduras 360
Theme URI: https://mipaishonduras.com
Description: Tema 100% personalizado para Mi País Honduras 360 — portal de noticias nacional
Author: Mi País Honduras 360
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: mipais360
*/

/* ================================================================
   MI PAÍS HONDURAS 360 — TEMA PROPIO
   Navy #0B1F4B | Rojo #C0142A | Dorado #F5C800 | Blanco #FFFFFF
   Tipografía: Merriweather (titulares) + Inter (UI) + Lora (cuerpo)
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@700;900&family=Inter:wght@400;500;600;700;800&family=Lora:wght@400;500&display=swap');

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Lora', Georgia, serif; font-size: 16px; color: #1a1a1a; background: #f4f4f2; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ---- VARIABLES ---- */
:root {
  --navy: #0B1F4B;
  --navy-dk: #081638;
  --red: #C0142A;
  --red-dk: #9e1022;
  --gold: #F5C800;
  --white: #FFFFFF;
  --gray-50: #f9f9f7;
  --gray-100: #f4f4f2;
  --gray-200: #e8e8e4;
  --gray-400: #a8a8a0;
  --gray-600: #666660;
  --gray-800: #2a2a26;
  --font-display: 'Merriweather', Georgia, serif;
  --font-ui: 'Inter', system-ui, sans-serif;
  --font-body: 'Lora', Georgia, serif;
  --max: 1200px;
  --radius: 3px;
  --shadow: 0 1px 6px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
}

/* ================================================================
   TOPBAR
   ================================================================ */
.mp-topbar {
  background: var(--navy-dk);
  color: rgba(255,255,255,0.6);
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.3px;
  padding: 7px 0;
}
.mp-topbar-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mp-topbar-social { display: flex; gap: 16px; }
.mp-topbar-social a { color: rgba(255,255,255,0.5); font-size: 12px; transition: color .15s; }
.mp-topbar-social a:hover { color: var(--gold); }

/* ================================================================
   HEADER
   ================================================================ */
.mp-header {
  background: var(--white);
  padding: 16px 0;
  border-bottom: 3px solid var(--navy);
}
.mp-header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mp-logo img { height: 64px; width: auto; }
.mp-logo-text {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.1;
}
.mp-logo-text span { color: var(--red); }

/* ================================================================
   NAVBAR
   ================================================================ */
.mp-navbar {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
}
.mp-navbar-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
}
.mp-nav-list { list-style: none; display: flex; flex-wrap: wrap; margin: 0; padding: 0; }
.mp-nav-list li a {
  display: block;
  color: rgba(255,255,255,0.80);
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 15px 17px;
  border-bottom: 3px solid transparent;
  transition: all .15s;
}
.mp-nav-list li a:hover,
.mp-nav-list li.current-menu-item a {
  color: var(--white);
  border-bottom-color: var(--gold);
  background: rgba(255,255,255,0.05);
}
.mp-nav-search {
  margin-left: auto;
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 15px;
  cursor: pointer;
  padding: 15px 10px;
  transition: color .15s;
}
.mp-nav-search:hover { color: var(--gold); }

/* ================================================================
   TICKER
   ================================================================ */
.mp-ticker {
  background: var(--red);
  overflow: hidden;
}
.mp-ticker-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  height: 34px;
}
.mp-ticker-label {
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-ui);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 3px 9px;
  margin-right: 16px;
  flex-shrink: 0;
  border-radius: 2px;
}
.mp-ticker-track-wrap { flex: 1; overflow: hidden; }
.mp-ticker-track {
  display: flex;
  white-space: nowrap;
  animation: mp-ticker 45s linear infinite;
}
.mp-ticker-track:hover { animation-play-state: paused; }
.mp-ticker-item {
  color: rgba(255,255,255,0.92);
  font-family: var(--font-ui);
  font-size: 12px;
  padding-right: 40px;
  flex-shrink: 0;
}
.mp-ticker-item::before { content: '▸ '; color: var(--gold); margin-right: 6px; }
.mp-ticker-item a:hover { color: var(--gold); }
@keyframes mp-ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ================================================================
   LAYOUT PRINCIPAL
   ================================================================ */
.mp-wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.mp-main { padding: 28px 0 48px; }
.mp-layout { display: grid; grid-template-columns: 1fr 300px; gap: 28px; }

/* ================================================================
   SECCIÓN GENÉRICA
   ================================================================ */
.mp-section { margin-bottom: 36px; }
.mp-section-head {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 18px;
  border-bottom: 2px solid var(--navy);
  padding-bottom: 10px;
}
.mp-section-name {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--white);
  background: var(--navy);
  padding: 5px 12px;
}
.mp-section-more {
  margin-left: auto;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color .15s;
}
.mp-section-more:hover { color: var(--navy); }

/* ================================================================
   NOTA HÉROE
   ================================================================ */
.mp-hero { margin-bottom: 28px; }
.mp-hero-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy);
  box-shadow: var(--shadow-md);
}
.mp-hero-img {
  height: 440px;
  overflow: hidden;
}
.mp-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.mp-hero-card:hover .mp-hero-img img { transform: scale(1.04); }
.mp-hero-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(8,16,36,0.97) 0%, rgba(8,16,36,0.65) 55%, transparent 100%);
  padding: 36px 32px 30px;
}
.mp-hero-cat {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-ui);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
  margin-bottom: 12px;
}
.mp-hero-title {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 900;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 10px;
}
.mp-hero-title a:hover { color: var(--gold); }
.mp-hero-excerpt {
  color: rgba(255,255,255,0.72);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mp-hero-meta {
  color: rgba(255,255,255,0.45);
  font-family: var(--font-ui);
  font-size: 11px;
  display: flex;
  gap: 14px;
}
.mp-hero-meta .mp-cat-tag { color: var(--gold); font-weight: 700; }

/* ================================================================
   GRID DE TARJETAS
   ================================================================ */
.mp-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.mp-grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }

.mp-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}
.mp-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.mp-card-img {
  height: 180px;
  overflow: hidden;
  background: var(--gray-200);
  position: relative;
  flex-shrink: 0;
}
.mp-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .35s;
}
.mp-card:hover .mp-card-img img { transform: scale(1.06); }
.mp-card-img-empty {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a7a 100%);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.15);
  font-size: 40px;
}
.mp-card-cat {
  position: absolute;
  bottom: 8px; left: 8px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-ui);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 2px;
}
.mp-card-body {
  padding: 14px 16px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.mp-card-title {
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--gray-800);
  margin-bottom: 8px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mp-card-title a:hover { color: var(--red); }
.mp-card-excerpt {
  font-size: 12.5px;
  color: var(--gray-600);
  line-height: 1.55;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mp-card-meta {
  font-family: var(--font-ui);
  font-size: 10.5px;
  color: var(--gray-400);
  margin-top: auto;
  display: flex;
  gap: 8px;
  align-items: center;
}
.mp-card-meta .dot { color: var(--gray-200); }

/* Tarjeta horizontal */
.mp-card-h {
  background: var(--white);
  display: flex;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow .2s;
  margin-bottom: 2px;
}
.mp-card-h:hover { box-shadow: var(--shadow-md); }
.mp-card-h-img {
  width: 90px;
  height: 72px;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--gray-200);
}
.mp-card-h-img img { width: 100%; height: 100%; object-fit: cover; }
.mp-card-h-body {
  padding: 9px 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}
.mp-card-h-title {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--gray-800);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mp-card-h-title a:hover { color: var(--red); }
.mp-card-h-meta {
  font-family: var(--font-ui);
  font-size: 10px;
  color: var(--gray-400);
  margin-top: 5px;
}

/* ================================================================
   SIDEBAR
   ================================================================ */
.mp-sidebar { display: flex; flex-direction: column; gap: 24px; }

.mp-widget {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.mp-widget-title {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  padding: 10px 14px;
  border-left: 4px solid var(--gold);
}
.mp-widget-body { padding: 14px; }

/* Más leídas */
.mp-read-list { list-style: none; }
.mp-read-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-100);
}
.mp-read-item:last-child { border-bottom: none; padding-bottom: 0; }
.mp-read-num {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  color: var(--gray-200);
  line-height: 1;
  flex-shrink: 0;
  width: 26px;
}
.mp-read-title {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--gray-800);
}
.mp-read-title a:hover { color: var(--red); }

/* Categorías */
.mp-cat-list { list-style: none; }
.mp-cat-item { border-bottom: 1px solid var(--gray-100); }
.mp-cat-item:last-child { border-bottom: none; }
.mp-cat-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0;
  font-family: var(--font-ui);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--gray-800);
  transition: color .15s;
}
.mp-cat-link:hover { color: var(--red); }
.mp-cat-count {
  background: var(--gray-100);
  color: var(--gray-400);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 20px;
}

/* ================================================================
   ARTÍCULO INDIVIDUAL
   ================================================================ */
.mp-article-header { margin-bottom: 28px; }
.mp-article-cat {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-ui);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
  margin-bottom: 14px;
}
.mp-article-title {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 18px;
  max-width: 760px;
}
.mp-article-entradilla {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 500;
  color: var(--gray-600);
  line-height: 1.65;
  border-left: 4px solid var(--red);
  padding-left: 18px;
  margin-bottom: 20px;
  max-width: 680px;
}
.mp-article-meta {
  font-family: var(--font-ui);
  font-size: 12px;
  color: var(--gray-400);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.mp-article-meta .author { color: var(--navy); font-weight: 700; }
.mp-article-featured { margin-bottom: 28px; border-radius: var(--radius); overflow: hidden; }
.mp-article-featured img { width: 100%; max-height: 480px; object-fit: cover; }
.mp-article-body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.8;
  color: var(--gray-800);
  max-width: 720px;
}
.mp-article-body p { margin-bottom: 22px; }
.mp-article-body h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  margin: 34px 0 14px;
  padding-left: 14px;
  border-left: 4px solid var(--gold);
}
.mp-article-body h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin: 26px 0 10px;
}
.mp-article-body blockquote {
  border-left: 4px solid var(--red);
  padding: 12px 0 12px 20px;
  margin: 28px 0;
  font-style: italic;
  color: var(--gray-600);
  font-size: 18px;
}
.mp-article-body ul, .mp-article-body ol { padding-left: 22px; margin-bottom: 22px; }
.mp-article-body li { margin-bottom: 7px; }

/* Compartir */
.mp-share { display: flex; gap: 10px; margin: 28px 0; }
.mp-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 3px;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: opacity .15s;
  text-decoration: none;
}
.mp-share-btn:hover { opacity: 0.85; }
.mp-share-fb { background: #1877F2; color: #fff; }
.mp-share-tw { background: #1DA1F2; color: #fff; }
.mp-share-wa { background: #25D366; color: #fff; }

/* Tags */
.mp-tags { margin: 28px 0; padding: 20px 0; border-top: 1px solid var(--gray-200); }
.mp-tags-label { font-family: var(--font-ui); font-size: 10px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gray-400); margin-bottom: 10px; }
.mp-tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.mp-tag {
  background: var(--gray-100);
  color: var(--gray-600);
  font-family: var(--font-ui);
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  transition: all .15s;
}
.mp-tag:hover { background: var(--navy); color: var(--white); }

/* ================================================================
   FOOTER
   ================================================================ */
.mp-footer { background: var(--navy); color: rgba(255,255,255,0.65); margin-top: 48px; }
.mp-footer-body {
  max-width: var(--max);
  margin: 0 auto;
  padding: 44px 20px 32px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.mp-footer-brand-desc { font-family: var(--font-ui); font-size: 13px; line-height: 1.65; margin-top: 14px; max-width: 240px; }
.mp-footer-social-row { display: flex; gap: 10px; margin-top: 16px; }
.mp-footer-social-row a {
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.07);
  border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5);
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  transition: all .15s;
}
.mp-footer-social-row a:hover { background: var(--red); color: var(--white); }
.mp-footer-col-title {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.mp-footer-col-links { list-style: none; }
.mp-footer-col-links li { margin-bottom: 8px; }
.mp-footer-col-links a { font-family: var(--font-ui); font-size: 13px; color: rgba(255,255,255,0.55); transition: color .15s; }
.mp-footer-col-links a:hover { color: var(--white); }
.mp-footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-ui);
  font-size: 11px;
  color: rgba(255,255,255,0.3);
}
.mp-footer-bottom a { color: rgba(255,255,255,0.45); }
.mp-footer-bottom a:hover { color: var(--white); }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
  .mp-layout { grid-template-columns: 1fr 260px; }
  .mp-grid-3 { grid-template-columns: repeat(2,1fr); }
  .mp-footer-body { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .mp-layout { grid-template-columns: 1fr; }
  .mp-grid-3 { grid-template-columns: 1fr; }
  .mp-grid-2 { grid-template-columns: 1fr; }
  .mp-hero-img { height: 260px; }
  .mp-hero-title { font-size: 22px; }
  .mp-article-title { font-size: 24px; }
  .mp-footer-body { grid-template-columns: 1fr; gap: 24px; padding: 32px 20px 24px; }
  .mp-topbar-social { display: none; }
  .mp-nav-list li a { padding: 12px 10px; font-size: 11px; letter-spacing: 0.5px; }
}

/* ---- NAVBAR INICIO ACTIVO ---- */
.mp-nav-active > a {
  color: #F5C800 !important;
  border-bottom: 2px solid #F5C800;
}

/* ---- ARCHIVE / PÁGINAS DE CATEGORÍA ---- */
.mp-archive-header {
  border-left: 4px solid #C0142A;
  padding: 12px 16px;
  margin-bottom: 28px;
  background: #fff;
}
.mp-archive-title {
  font-family: 'Merriweather', serif;
  font-size: 26px;
  font-weight: 900;
  color: #0B1F4B;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.mp-archive-desc {
  color: #666;
  margin: 6px 0 0;
  font-size: 14px;
}

/* Grid de notas en archive */
.mp-archive-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 32px;
}
@media (max-width: 600px) {
  .mp-archive-grid { grid-template-columns: 1fr; }
}
.mp-archive-card {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
  transition: transform .2s, box-shadow .2s;
}
.mp-archive-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,.12);
}
.mp-archive-card-img {
  display: block;
  overflow: hidden;
  aspect-ratio: 16/9;
}
.mp-archive-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.mp-archive-card:hover .mp-archive-card-img img { transform: scale(1.04); }
.mp-archive-card-body { padding: 14px; }
.mp-archive-card-title {
  font-family: 'Merriweather', serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  margin: 6px 0 8px;
  color: #0B1F4B;
}
.mp-archive-card-title a:hover { color: #C0142A; }
.mp-archive-card-entry {
  font-size: 13px;
  color: #555;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 8px;
}

/* Paginación */
.mp-pagination { margin: 24px 0; }
.mp-pagination .page-numbers {
  display: inline-flex;
  gap: 6px;
  flex-wrap: wrap;
}
.mp-pagination .page-numbers li a,
.mp-pagination .page-numbers li span {
  display: inline-block;
  padding: 6px 12px;
  background: #fff;
  border: 1px solid #ddd;
  color: #0B1F4B;
  border-radius: 3px;
  font-size: 13px;
  font-family: 'Inter', sans-serif;
}
.mp-pagination .page-numbers li .current {
  background: #C0142A;
  color: #fff;
  border-color: #C0142A;
}

/* Sin posts */
.mp-no-posts {
  background: #fff;
  padding: 40px;
  text-align: center;
  color: #666;
  border-radius: 4px;
}


/* ═══════════════════════════════════════════════════════════════════
   NUEVO LAYOUT HOME — Mi País Honduras 360
═══════════════════════════════════════════════════════════════════ */

/* ── Sección genérica ── */
.mp-section { margin-bottom: 40px; }

.mp-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  border-bottom: 3px solid var(--navy);
  padding-bottom: 10px;
}
.mp-section-title {
  font-family: 'Merriweather', serif;
  font-size: 17px;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: .5px;
  text-transform: uppercase;
  position: relative;
}
.mp-section-title span {
  background: var(--navy);
  color: #fff;
  padding: 4px 14px 4px 10px;
  clip-path: polygon(0 0, 95% 0, 100% 50%, 95% 100%, 0 100%);
}
.mp-section-more {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: .5px;
  text-decoration: none;
}
.mp-section-more:hover { text-decoration: underline; }

/* ── HERO 5★ ── */
.mp-hero-section { margin-bottom: 28px; }
.mp-hero-card {
  position: relative;
  min-height: 480px;
  background-size: cover;
  background-position: center;
  background-color: var(--navy);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.mp-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,31,75,.92) 0%, rgba(11,31,75,.35) 55%, transparent 100%);
}
.mp-hero-body {
  position: relative;
  z-index: 2;
  padding: 32px 36px;
  max-width: 720px;
}
.mp-hero-cat {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 4px 10px;
  border-radius: 2px;
  margin-bottom: 14px;
  text-decoration: none;
}
.mp-hero-title {
  font-family: 'Merriweather', serif;
  font-size: 32px;
  font-weight: 900;
  line-height: 1.25;
  color: #fff;
  margin-bottom: 14px;
}
.mp-hero-title a { color: inherit; text-decoration: none; }
.mp-hero-title a:hover { color: var(--gold); }
.mp-hero-entry {
  font-size: 15px;
  color: rgba(255,255,255,.85);
  line-height: 1.6;
  margin-bottom: 16px;
}
.mp-hero-meta { display: flex; align-items: center; gap: 16px; }
.mp-hero-time { color: rgba(255,255,255,.6); font-size: 12px; font-family: 'Inter', sans-serif; }

/* ── GRID 3 columnas ── */
.mp-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 700px) { .mp-grid-3 { grid-template-columns: 1fr; } }

/* ── GRID 2 columnas ── */
.mp-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 600px) { .mp-grid-2 { grid-template-columns: 1fr; } }

/* ── Tarjeta genérica ── */
.mp-card {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 1px 5px rgba(0,0,0,.08);
  transition: transform .2s, box-shadow .2s;
}
.mp-card:hover { transform: translateY(-3px); box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.mp-card-img { display: block; aspect-ratio: 16/9; overflow: hidden; position: relative; }
.mp-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.mp-card:hover .mp-card-img img { transform: scale(1.04); }
.mp-card-body { padding: 14px; }
.mp-card-cat {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--red);
  margin-bottom: 6px;
  text-decoration: none;
}
.mp-card-title {
  font-family: 'Merriweather', serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--navy);
  margin-bottom: 8px;
}
.mp-card-title a { color: inherit; text-decoration: none; }
.mp-card-title a:hover { color: var(--red); }
.mp-card-entry { font-size: 12.5px; color: #555; line-height: 1.5; margin-bottom: 8px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mp-card-time { font-family: 'Inter', sans-serif; font-size: 11px; color: #999; }

/* ── ACTUALIDAD layout ── */
.mp-actualidad-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 20px;
  align-items: stretch;
}
@media (max-width: 700px) { .mp-actualidad-layout { grid-template-columns: 1fr; } }

.mp-act-featured {
  position: relative;
  min-height: 360px;
  background-size: cover;
  background-position: center;
  background-color: var(--navy);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.mp-act-feat-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,31,75,.9) 0%, transparent 65%);
}
.mp-act-feat-body {
  position: relative;
  z-index: 2;
  padding: 24px 22px;
}
.mp-act-feat-title {
  font-family: 'Merriweather', serif;
  font-size: 20px;
  font-weight: 900;
  color: #fff;
  line-height: 1.3;
  margin: 8px 0;
}
.mp-act-feat-title a { color: inherit; text-decoration: none; }
.mp-act-feat-title a:hover { color: var(--gold); }
.mp-act-feat-entry { font-size: 13px; color: rgba(255,255,255,.8); line-height: 1.5; margin-bottom: 10px; }
.mp-act-feat-time { font-size: 11px; color: rgba(255,255,255,.55); font-family: 'Inter', sans-serif; }

.mp-act-col {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 1px 5px rgba(0,0,0,.08);
}
.mp-act-item {
  display: flex;
  gap: 12px;
  padding: 14px 14px;
  border-bottom: 1px solid #f0f0f0;
  align-items: flex-start;
  transition: background .15s;
}
.mp-act-item:last-child { border-bottom: none; }
.mp-act-item:hover { background: #fafafa; }
.mp-act-item-img { width: 80px; height: 60px; flex-shrink: 0; border-radius: 3px; overflow: hidden; display: block; }
.mp-act-item-img img { width: 100%; height: 100%; object-fit: cover; }
.mp-act-item-body { flex: 1; }
.mp-act-item-title {
  font-family: 'Merriweather', serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 6px;
}
.mp-act-item-title a { color: inherit; text-decoration: none; }
.mp-act-item-title a:hover { color: var(--red); }

/* ── TURISMO columnas verticales con hover ── */
.mp-turismo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  height: 300px;
}
@media (max-width: 700px) { .mp-turismo-grid { grid-template-columns: repeat(2,1fr); height: auto; } }

.mp-turismo-card {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  display: block;
  height: 100%;
  background: var(--navy);
  text-decoration: none;
}
.mp-turismo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease, filter .4s ease;
}
.mp-turismo-no-img { width: 100%; height: 100%; background: linear-gradient(135deg, var(--navy), var(--red)); }
.mp-turismo-hover {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,31,75,.92) 0%, rgba(11,31,75,.1) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px 14px;
  opacity: 0;
  transition: opacity .3s ease;
}
.mp-turismo-card:hover img { transform: scale(1.07); filter: brightness(.75); }
.mp-turismo-card:hover .mp-turismo-hover { opacity: 1; }
.mp-turismo-title {
  color: #fff;
  font-family: 'Merriweather', serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 6px;
  display: block;
}
.mp-turismo-time {
  color: rgba(255,255,255,.65);
  font-size: 11px;
  font-family: 'Inter', sans-serif;
  display: block;
}

/* ── NACIONALES featured ── */
.mp-nac-featured {
  position: relative;
  min-height: 220px;
  background-size: cover;
  background-position: center;
  background-color: var(--navy);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.mp-nac-feat-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,31,75,.88) 0%, transparent 70%);
}
.mp-nac-feat-body { position: relative; z-index: 2; padding: 22px 22px; }
.mp-nac-feat-title {
  font-family: 'Merriweather', serif;
  font-size: 20px;
  font-weight: 900;
  color: #fff;
  line-height: 1.3;
  margin: 8px 0;
}
.mp-nac-feat-title a { color: inherit; text-decoration: none; }
.mp-nac-feat-title a:hover { color: var(--gold); }
.mp-nac-feat-entry { font-size: 13px; color: rgba(255,255,255,.8); line-height: 1.5; margin-bottom: 8px; }
.mp-nac-feat-time  { font-size: 11px; color: rgba(255,255,255,.55); font-family: 'Inter', sans-serif; }

/* ── DEPORTES badge ── */
.mp-card-deporte .mp-card-img { position: relative; }
.mp-card-deporte-badge {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--red);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 3px 8px;
  border-radius: 2px;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
}

/* ── ARCHIVE: breadcrumb y badge de tipo ── */
.mp-archive-breadcrumb {
  font-size: 11.5px;
  color: var(--gray-400);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.mp-archive-breadcrumb a { color: var(--red); text-decoration: none; }
.mp-archive-breadcrumb a:hover { text-decoration: underline; }

.mp-archive-type-badge {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
  margin-right: 8px;
  vertical-align: middle;
}

/* ── TAGS en cards del archivo ── */
.mp-archive-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}
.mp-tag-sm {
  font-size: 9px !important;
  padding: 2px 7px !important;
}

/* ── Widget tags en sidebar ── */
.mp-widget-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 4px 0;
}
.mp-widget-tag-active {
  background: var(--navy) !important;
  color: #fff !important;
  border-color: var(--navy) !important;
}
