/* SHARED STYLES — Canal del Sol NBC-quality redesign */
:root {
  --sun: #f5a623; --sun-dark: #d4910a; --orange: #ff6b35;
  --warm: #fff8ee; --paper: #f7f3ea; --ink: #131313;
  --brown: #2a1f14; --brown-light: #3a2d20; --gray: #6b6b6b;
  --line: #e0dcd6; --card-shadow: 0 2px 12px rgba(0,0,0,.08);
}
* { box-sizing: border-box; margin: 0; }
body { font-family: 'DM Sans', -apple-system, sans-serif; background: var(--paper); color: var(--ink); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* NAV */
.site-nav {
  position: sticky; top: 0; z-index: 200;
  background: var(--brown); border-bottom: 3px solid var(--sun);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(16px, 3vw, 40px); height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 40px; width: auto; }
.nav-links { display: flex; gap: 0; }
.nav-links a {
  color: #b8b0a4; font-size: .78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .5px; padding: 22px 14px; position: relative; transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a.active::after {
  content: ''; position: absolute; bottom: 0; left: 14px; right: 14px;
  height: 3px; background: var(--sun); border-radius: 2px 2px 0 0;
}
.nav-links.show { display: flex !important; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; background: var(--brown); padding: 12px 0; border-bottom: 3px solid var(--sun); }
.nav-links.show a { padding: 12px 24px; }
.nav-right { display: flex; align-items: center; gap: 12px; }
.live-badge {
  display: flex; align-items: center; gap: 6px;
  background: rgba(198,40,40,.9); color: #fff; padding: 6px 14px;
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .8px; border-radius: 4px; transition: background .2s;
}
.live-badge:hover { background: #c62828; }
.live-dot { width: 8px; height: 8px; background: #fff; border-radius: 50%; animation: pulse 1.5s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }
.hamburger {
  display: none; background: none; border: 2px solid rgba(255,255,255,.3);
  color: #fff; padding: 8px 12px; font-size: .75rem; font-weight: 700;
  text-transform: uppercase; cursor: pointer;
}

/* NOW BAR */
.now-bar {
  background: var(--brown-light); color: #fff;
  padding: 10px clamp(16px, 3vw, 40px);
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  font-size: .82rem; border-bottom: 1px solid rgba(255,255,255,.08);
}
.now-label { background: var(--sun); color: var(--brown); padding: 3px 10px; font-size: .7rem; font-weight: 700; text-transform: uppercase; }
.now-show { font-weight: 700; color: #ffd58a; }
.now-time { color: #9a8d7e; }
.now-bar .see-all { margin-left: auto; color: var(--sun); font-weight: 700; font-size: .75rem; text-transform: uppercase; }

/* PAGE HEADER */
.page-header {
  background: var(--brown); color: #fff; padding: 48px clamp(16px, 3vw, 40px);
  border-bottom: 3px solid var(--sun);
}
.page-header h1 {
  font-family: 'Archivo Black', sans-serif; font-size: clamp(1.8rem, 4vw, 2.8rem);
  text-transform: uppercase; line-height: 1.1; max-width: 1200px; margin: 0 auto;
}
.page-header p {
  color: #b8a98e; max-width: 1200px; margin: 12px auto 0; font-size: 1rem; line-height: 1.6;
}

/* CONTENT */
.content { max-width: 1200px; margin: 0 auto; padding: 40px clamp(16px, 3vw, 40px) 60px; }

/* SECTION HEADERS */
.section-header {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 28px; gap: 16px;
}
.section-header h2 {
  font-family: 'Archivo Black', sans-serif; font-size: 1.6rem;
  text-transform: uppercase; position: relative; padding-bottom: 10px;
}
.section-header h2::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 48px; height: 3px; background: var(--sun);
}

/* CARDS */
.card {
  background: #fff; border-radius: 8px; overflow: hidden;
  box-shadow: var(--card-shadow); transition: all .3s ease;
}
.card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.12); transform: translateY(-2px); }
.card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.card .card-body { padding: 16px 20px; }
.card h3 { font-size: 1.05rem; line-height: 1.35; margin-bottom: 6px; }
.card .category {
  display: inline-block; background: var(--sun); color: var(--brown);
  padding: 3px 10px; font-size: .68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .5px; margin-bottom: 8px;
}
.card .meta { color: #999; font-size: .75rem; margin-top: 8px; }

/* GRID */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* FOOTER */
.site-footer {
  background: var(--brown); border-top: 3px solid var(--sun);
  padding: 48px clamp(16px, 3vw, 40px) 24px; color: #8a7e70;
}
.footer-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px;
}
.footer-brand p { color: #6b6155; line-height: 1.6; font-size: .88rem; margin-top: 12px; }
.footer-col h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .8px; margin-bottom: 16px; }
.footer-col a { display: block; color: #8a7e70; font-size: .85rem; padding: 4px 0; transition: color .2s; }
.footer-col a:hover { color: var(--sun); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06); padding-top: 20px;
  display: flex; justify-content: space-between; font-size: .78rem;
  max-width: 1200px; margin: 0 auto;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
