@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Crimson+Pro:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* ============================================
   LA EVIDENCIA HABLA — Editorial Newspaper
   ============================================ */

:root {
  --ev-bg: #F5F0E8;
  --ev-card: #FFFFFF;
  --ev-text: #1C2A1F;
  --ev-text-muted: #5C6B5F;
  --ev-green: #030303;
  --ev-green-light: #030303;
  --ev-gold: #858585;
  --ev-gold-light: #E8D5A3;
  --ev-border: #D9D4CC;
  --ev-dark: #0D1B14;
  --ev-dark-card: #14281E;
}

* { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--ev-bg);
  color: var(--ev-text);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Crimson Pro', Georgia, serif;
  font-weight: 600;
}

/* ---- Container 85% ---- */
.ev-wrap {
  width: 85%;
  max-width: 1280px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .ev-wrap { width: 92%; }
}

/* ===== TOP BAR ===== */
.ev-topbar {
  background: var(--ev-dark);
  padding: 0.35rem 0;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.6);
}

.ev-topbar a {
  color: var(--ev-gold-light);
  text-decoration: none;
  font-weight: 500;
}

.ev-topbar a:hover { color: white; }

/* ===== MASTHEAD ===== */
.ev-masthead {
  background: var(--ev-bg);
  border-bottom: 3px solid var(--ev-green);
  padding: 1.5rem 0 1rem;
  position: relative;
}

.ev-masthead::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--ev-gold);
}

.ev-masthead h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--ev-green);
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1;
}

.ev-masthead h1 em {
  color: var(--ev-gold);
  font-style: italic;
}

.ev-masthead-date {
  font-size: 0.75rem;
  color: var(--ev-text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ===== NAVIGATION BAR ===== */
.ev-nav {
  background: var(--ev-card);
  border-bottom: 2px solid var(--ev-border);
  padding: 0.5rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.ev-nav a {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ev-text-muted);
  text-decoration: none;
  padding: 0.4rem 0.8rem;
  transition: color 0.2s;
  border-right: 1px solid var(--ev-border);
}

.ev-nav a:last-child { border-right: none; }

.ev-nav a:hover,
.ev-nav a.active {
  color: var(--ev-green);
}

.ev-nav .btn-ev {
  background: var(--ev-green);
  color: white !important;
  border-radius: 4px;
  font-size: 0.72rem;
  padding: 0.4rem 1rem;
  border: none;
  font-weight: 600;
}

.ev-nav .btn-ev:hover {
  background: var(--ev-green-light);
}

/* ===== HERO: BREAKING NEWS ===== */
.ev-breaking {
  background: var(--ev-dark);
  padding: 2.5rem 0;
  position: relative;
}

.ev-breaking-label {
  display: inline-block;
  background: var(--ev-gold);
  color: var(--ev-dark);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  margin-bottom: 1rem;
}

.ev-breaking h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  color: white;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.ev-breaking h2 em {
  color: var(--ev-gold-light);
  font-style: italic;
}

.ev-breaking p {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  line-height: 1.65;
  max-width: 480px;
}

.ev-breaking-img {
  border: 4px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

/* ===== SECTION DIVIDER ===== */
.ev-section-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  margin-top: 2rem;
}

.ev-section-label h3 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ev-green);
  margin: 0;
  white-space: nowrap;
}

.ev-section-label .ev-line {
  flex: 1;
  height: 2px;
  background: var(--ev-green);
}

.ev-section-label .ev-line-gold {
  flex: 1;
  height: 2px;
  background: var(--ev-gold);
}

/* ===== ARTICLE CARDS (Newspaper Style) ===== */
.ev-article {
  display: flex;
  flex-direction: column;
  background: var(--ev-card);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--ev-border);
  transition: all 0.3s ease;
  height: 100%;
}

.ev-article:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}

.ev-article-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.ev-article-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ev-article-tag {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ev-gold);
  margin-bottom: 0.5rem;
}

.ev-article h4 {
  font-size: 1.15rem;
  line-height: 1.25;
  margin-bottom: 0.5rem;
  color: var(--ev-text);
}

.ev-article p {
  font-size: 0.85rem;
  color: var(--ev-text-muted);
  line-height: 1.55;
  margin-bottom: 0;
}

.ev-article-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  border-top: 1px solid var(--ev-border);
  font-size: 0.7rem;
  color: var(--ev-text-muted);
}

/* Horizontal article */
.ev-article-h {
  display: flex;
  flex-direction: row;
  background: var(--ev-card);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--ev-border);
  transition: all 0.3s ease;
}

.ev-article-h:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.ev-article-h-img {
  width: 45%;
  min-height: 220px;
  object-fit: cover;
  display: block;
}

.ev-article-h-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 55%;
}

@media (max-width: 768px) {
  .ev-article-h { flex-direction: column; }
  .ev-article-h-img { width: 100%; height: 180px; min-height: auto; }
  .ev-article-h-body { width: 100%; }
}

/* ===== SIDEBAR WIDGET ===== */
.ev-widget {
  background: var(--ev-card);
  border: 1px solid var(--ev-border);
  border-radius: 4px;
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.ev-widget h5 {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ev-green);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--ev-gold);
}

.ev-widget-item {
  display: flex;
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--ev-border);
  text-decoration: none;
}

.ev-widget-item:last-child { border-bottom: none; }

.ev-widget-item img {
  width: 60px;
  height: 45px;
  object-fit: cover;
  border-radius: 3px;
  flex-shrink: 0;
}

.ev-widget-item span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ev-text);
  line-height: 1.3;
}

.ev-widget-item:hover span {
  color: var(--ev-green);
}

/* ===== TERRITORIO: TABS ===== */
.ev-tabs .nav-link {
  color: var(--ev-text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 0.6rem 1rem;
}

.ev-tabs .nav-link.active {
  color: var(--ev-green);
  border-bottom-color: var(--ev-green);
  background: none;
}

.ev-tab-content {
  background: var(--ev-card);
  border: 1px solid var(--ev-border);
  border-radius: 4px;
  padding: 1.5rem;
  margin-top: -1px;
}

/* ===== NEWSLETTER / CONTACT ===== */
.ev-newsletter {
  background: var(--ev-green);
  padding: 3rem 0;
  position: relative;
}

.ev-newsletter h3 {
  color: white;
  font-size: 1.6rem;
}

.ev-newsletter p {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
}

.ev-contact-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.ev-contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.2rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  color: white;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.2s;
}

.ev-contact-chip:hover {
  background: var(--ev-gold);
  color: var(--ev-dark);
  border-color: var(--ev-gold);
}

.ev-contact-chip i {
  font-size: 1rem;
}

/* ===== FEATURES GRID ===== */
.ev-feat {
  text-align: center;
  padding: 1.25rem;
}

.ev-feat i {
  font-size: 1.8rem;
  color: var(--ev-green);
  margin-bottom: 0.75rem;
  display: inline-block;
  width: 48px;
  height: 48px;
  line-height: 48px;
  border-radius: 50%;
  background: rgba(27, 67, 50, 0.08);
}

.ev-feat h5 {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  color: var(--ev-text);
}

.ev-feat p {
  font-size: 0.78rem;
  color: var(--ev-text-muted);
  margin: 0;
}

/* ===== FOOTER ===== */
.ev-footer {
  background: var(--ev-dark);
  color: white;
  border-top: 4px solid var(--ev-gold);
}

.ev-footer h5 {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ev-gold-light);
  margin-bottom: 1rem;
}

.ev-footer ul {
  list-style: none;
  padding: 0;
}

.ev-footer li {
  margin-bottom: 0.5rem;
}

.ev-footer a {
  color: rgba(255,255,255,0.55);
  font-size: 0.82rem;
  text-decoration: none;
  transition: color 0.2s;
}

.ev-footer a:hover {
  color: var(--ev-gold-light);
}

.ev-footer-brand img {
  height: 44px;
  border-radius: 8px;
  margin-bottom: 0.75rem;
}

.ev-footer-brand p {
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
  line-height: 1.6;
}

.ev-footer-social a {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  text-decoration: none;
  margin-right: 0.4rem;
  transition: all 0.2s;
}

.ev-footer-social a:hover {
  background: var(--ev-gold);
  color: var(--ev-dark);
}

.ev-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1rem 0;
}

.ev-footer-bottom p,
.ev-footer-bottom a {
  color: rgba(255,255,255,0.4);
  font-size: 0.75rem;
  text-decoration: none;
}

/* ===== Scroll Reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: all 0.5s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--ev-bg); }
::-webkit-scrollbar-thumb { background: var(--ev-border); border-radius: 3px; }
