/*
Theme Name: Galicia Premium
Author: Carlos SOLTIA
Description: Tema premium para periódico digital
Version: 3.0.0 - Footer Claro
*/

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

:root {
  --color-primary: #1a1a1a;
  --color-secondary: #333333;
  --color-accent: #c41e3a;
  --color-gold: #b8860b;
  --color-bg: #ffffff;
  --color-bg-alt: #f8f8f8;
  --color-text: #222222;
  --color-text-light: #555555;
  --color-border: #dddddd;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-article: 'Merriweather', Georgia, serif;
  --container-max: 1280px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
}

a { color: inherit; text-decoration: none; transition: all 0.3s; }
a:hover { color: var(--color-accent); }

/* Top Bar */
.top-bar {
  background: #111;
  color: #ccc;
  padding: 0.5rem 0;
  font-size: 0.85rem;
}

.top-bar-content {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-date { font-weight: 500; }
.top-social { display: flex; gap: 1rem; }
.top-social a { color: #999; }
.top-social a:hover { color: white; }

/* Header */
.site-header {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.header-main {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 2.5rem 2rem;
  text-align: center;
}

.site-branding h1 {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 900;
  letter-spacing: -2px;
  color: var(--color-primary);
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.site-branding h1 a { color: inherit; }

.site-branding .tagline {
  font-size: 0.9rem;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 500;
}

/* Navigation */
.main-navigation {
  background: var(--color-primary);
  border-top: 3px solid var(--color-gold);
  border-bottom: 3px solid var(--color-primary);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.main-navigation ul {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.main-navigation a {
  display: block;
  padding: 1.25rem 1.5rem;
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 3px solid transparent;
  transition: all 0.3s;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a {
  background: rgba(255,255,255,0.1);
  border-bottom-color: var(--color-gold);
}

/* Breaking News */
.breaking-news {
  background: var(--color-accent);
  color: white;
  padding: 0.75rem 0;
  font-size: 0.9rem;
  font-weight: 600;
}

.breaking-news-content {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.breaking-label {
  background: white;
  color: var(--color-accent);
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Hero */
.hero-section {
  max-width: var(--container-max);
  margin: 3rem auto;
  padding: 0 2rem;
}

.hero-article {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--color-border);
}

.hero-article img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: 4px;
}

.hero-category {
  color: var(--color-accent);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
}

.hero-content h2 {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-content h2 a { color: inherit; }
.hero-content h2 a:hover { color: var(--color-accent); }

.hero-meta {
  color: var(--color-text-light);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.hero-excerpt {
  font-family: var(--font-article);
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--color-text-light);
}

/* News Grid */
.section-title {
  max-width: var(--container-max);
  margin: 0 auto 2rem;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.section-title h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
}

.section-title::before {
  content: '';
  width: 4px;
  height: 2rem;
  background: var(--color-accent);
}

.news-grid {
  max-width: var(--container-max);
  margin: 0 auto 4rem;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.news-card {
  background: white;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  transition: all 0.3s;
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.news-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.news-card-content { padding: 1.5rem; }

.news-card-category {
  color: var(--color-accent);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}

.news-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.news-card h3 a { color: inherit; }

.news-card-excerpt {
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

.news-card-meta {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.8rem;
  color: var(--color-text-light);
  display: flex;
  justify-content: space-between;
}

/* Footer CLARO v3.0 - Estilo El País */
.site-footer {
  background: #f5f5f5;
  color: #333;
  padding: 0;
  margin-top: 4rem;
  border-top: 4px solid var(--color-gold);
}

.footer-top {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 3.5rem 2rem 2.5rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
}

.footer-brand h2 {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 1.25rem;
  color: #1a1a1a;
}

.footer-brand h2 span {
  color: var(--color-gold);
}

.footer-brand p {
  font-size: 1rem;
  line-height: 1.9;
  color: #555;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: #1a1a1a;
  border-radius: 50%;
  font-size: 1.2rem;
  transition: all 0.3s;
  color: white;
  font-weight: bold;
}

.footer-social a:hover {
  background: var(--color-gold);
  transform: translateY(-3px);
}

.footer-links h4,
.footer-contact h4,
.footer-newsletter h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #1a1a1a;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-links h4::after,
.footer-contact h4::after,
.footer-newsletter h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--color-gold);
}

.footer-links ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.footer-links a {
  color: #555;
  font-size: 0.95rem;
  transition: all 0.3s;
}

.footer-links a:hover {
  color: var(--color-gold);
  padding-left: 5px;
}

.footer-contact ul {
  list-style: none;
}

.footer-contact li {
  color: #555;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.footer-contact li span {
  min-width: 20px;
}

.footer-newsletter p {
  color: #555;
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-form input[type="email"] {
  flex: 1;
  padding: 0.85rem 1rem;
  border: 2px solid #ddd;
  border-radius: 4px;
  background: white;
  color: #333;
  font-size: 0.95rem;
}

.newsletter-form input[type="email"]:focus {
  outline: none;
  border-color: var(--color-gold);
}

.newsletter-form button {
  padding: 0.85rem 1.5rem;
  background: #1a1a1a;
  color: white;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.newsletter-form button:hover {
  background: var(--color-gold);
}

.footer-middle {
  background: #e8e8e8;
  padding: 1.75rem 0;
}

.footer-middle-content {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-copyright {
  color: #666;
  font-size: 0.9rem;
}

.footer-copyright strong {
  color: #1a1a1a;
}

.footer-legal {
  display: flex;
  gap: 2rem;
}

.footer-legal a {
  color: #666;
  font-size: 0.9rem;
}

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

.footer-made {
  color: #888;
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-article { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .site-branding h1 { font-size: 2.5rem; }
  .main-navigation ul { flex-direction: column; text-align: center; }
  .news-grid { grid-template-columns: 1fr; }
  .hero-content h2 { font-size: 2rem; }
  .footer-top { grid-template-columns: 1fr; }
  .top-bar-content { flex-direction: column; gap: 0.5rem; }
  .footer-middle-content { flex-direction: column; text-align: center; }
  .footer-legal { flex-direction: column; gap: 0.5rem; }
}
