/* Estilos Principales WebCampetrol V2 */
:root {
  --primary: #2663eb;
  --primary-hover: #1d4ed8;
  --dark: #060d1f;
  --light-bg: #f8fafc;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --border: #e2e8f0;
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--light-bg);
  color: var(--text-dark);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: 40px 20px;
}

/* Header */
.site-header {
  background-color: var(--dark);
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-title {
  color: #ffffff;
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: 1px;
}

.main-navigation ul {
  list-style: none;
  display: flex;
  gap: 24px;
}

.main-navigation a {
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.main-navigation a:hover {
  color: #ffffff;
}

/* Slider Hero */
.hero-slider-section {
  background: linear-gradient(135deg, #060d1f 0%, #1e293b 100%);
  color: #ffffff;
  padding: 60px 20px;
  text-align: center;
}

.slide-badge {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.btn-slider {
  display: inline-block;
  margin-top: 16px;
  background: var(--primary);
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}

/* News Grid */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.news-card-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}

.news-card-item:hover {
  transform: translateY(-4px);
}

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

.card-content {
  padding: 20px;
}

.card-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.card-heading {
  font-size: 1.1rem;
  margin: 8px 0;
}

.card-heading a {
  color: var(--text-dark);
  text-decoration: none;
}

.card-heading a:hover {
  color: var(--primary);
}

.card-excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.read-more-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

/* Afiliados Cards */
.afiliados-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.afiliado-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
}

.category-badge {
  display: inline-block;
  background: #e2e8f0;
  color: #334155;
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 4px;
  margin: 8px 0;
}
