/*
Theme Name: EntumentTV Pro
Theme URI: https://entumentv.com
Description: Tema WordPress profesional para sitios de farándula y entretenimiento con funcionalidades avanzadas, hero slider, trending content y diseño moderno.
Version: 1.0.0
Author: EntumentTV
Author URI: https://entumentv.com
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: entumentv-theme-pro
Domain Path: /languages
Requires at least: 5.0
Requires PHP: 7.4
*/

:root {
  --color-primary: #E63946;
  --color-secondary: #1F2937;
  --color-accent: #F59E0B;
  --color-light: #F9FAFB;
  --color-light-gray: #E5E7EB;
  --color-border: #D1D5DB;
  --color-text: #111827;
  --color-text-light: #6B7280;
  --color-success: #10B981;
  --color-warning: #F59E0B;
  --color-danger: #EF4444;
  --color-info: #3B82F6;

  --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  --font-secondary: Georgia, 'Times New Roman', serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-light);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-text);
  margin-bottom: 0.5em;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p { margin-bottom: 1rem; }

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover { color: var(--color-accent); }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input[type="button"], input[type="submit"] {
  font-family: inherit;
  cursor: pointer;
  transition: all var(--transition-fast);
}

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

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 3px solid var(--color-primary);
  display: inline-block;
}

.badge {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  background-color: var(--color-primary);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

.badge-secondary {
  background-color: var(--color-accent);
  color: var(--color-text);
}

.badge-light {
  background-color: var(--color-light-gray);
  color: var(--color-text);
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--color-primary);
  color: white;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn:hover {
  background-color: #d62828;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background-color: var(--color-secondary);
  color: white;
}

.btn-secondary:hover {
  background-color: #0f172a;
}

.btn-outline {
  background-color: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: white;
}

.text-muted {
  color: var(--color-text-light);
}

.text-center {
  text-align: center;
}

.text-uppercase {
  text-transform: uppercase;
}

.text-truncate {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

header.site-header {
  background-color: white;
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 100;
  transition: all var(--transition-base);
}

header.site-header.sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-lg);
  padding: 0.75rem 0;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-light-gray);
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-logo {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0;
}

.site-title a {
  color: var(--color-primary);
}

.site-title a:hover {
  color: var(--color-accent);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

nav.main-navigation ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

nav.main-navigation a {
  color: var(--color-text);
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  position: relative;
}

nav.main-navigation a:hover {
  color: var(--color-primary);
  background-color: rgba(230, 57, 70, 0.1);
}

nav.main-navigation a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  width: calc(100% - 2rem);
  height: 2px;
  background-color: var(--color-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-fast);
}

nav.main-navigation a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.search-form {
  display: flex;
  align-items: center;
  background-color: var(--color-light);
  border-radius: var(--radius-md);
  padding: 0.5rem 1rem;
  width: 300px;
  transition: all var(--transition-fast);
}

.search-form:focus-within {
  background-color: white;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-primary);
}

.search-form input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 0.95rem;
  color: var(--color-text);
  outline: none;
}

.search-form input::placeholder {
  color: var(--color-text-light);
}

.search-form button {
  background: none;
  border: none;
  color: var(--color-primary);
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-light-gray);
  border-radius: 50%;
  color: var(--color-text);
  transition: all var(--transition-fast);
}

.social-links a:hover {
  background-color: var(--color-primary);
  color: white;
  transform: scale(1.1);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--color-text);
  cursor: pointer;
}

.hero-slider {
  position: relative;
  height: 550px;
  background: linear-gradient(135deg, var(--color-secondary) 0%, #374151 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 3rem;
}

.hero-slider-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity var(--transition-slow);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.8) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  color: white;
  padding: 2rem;
  width: 70%;
  animation: slideInUp var(--transition-slow);
}

.hero-category {
  display: inline-block;
  background-color: var(--color-primary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-description {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.95);
  max-width: 600px;
  line-height: 1.5;
}

.hero-meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-controls {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: flex;
  gap: 0.75rem;
  z-index: 4;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 2px solid transparent;
}

.hero-dot.active {
  background-color: var(--color-primary);
  transform: scale(1.3);
}

.hero-dot:hover {
  background-color: rgba(255, 255, 255, 0.7);
}

.hero-arrow {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 2px solid white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: 1.2rem;
}

.hero-arrow:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.main-layout {
  display: flex;
  gap: 2rem;
  margin-bottom: 4rem;
}

.main-content {
  flex: 1;
  min-width: 0;
}

.sidebar {
  width: 300px;
  flex-shrink: 0;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.card-image {
  position: relative;
  width: 100%;
  padding-top: 66.66%;
  overflow: hidden;
  background-color: var(--color-light-gray);
}

.card-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-base);
}

.card:hover .card-image img {
  transform: scale(1.08);
}

.card-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.4) 100%);
  z-index: 2;
}

.card-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
}

.card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-category {
  color: var(--color-primary);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.card-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.3;
  color: var(--color-text);
}

.card-title a {
  color: var(--color-text);
}

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

.card-excerpt {
  font-size: 0.95rem;
  color: var(--color-text-light);
  margin-bottom: 1rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--color-light-gray);
  font-size: 0.85rem;
  color: var(--color-text-light);
}

.card-author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card-date {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card-small {
  grid-column: span 1;
}

.card-small .card-image {
  padding-top: 100%;
}

.card-small .card-body {
  padding: 1rem;
}

.card-small .card-title {
  font-size: 1rem;
}

.card-small .card-excerpt,
.card-small .card-footer {
  display: none;
}

.card-list {
  display: flex;
  margin-bottom: 1.5rem;
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.card-list:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.card-list-image {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  overflow: hidden;
  background-color: var(--color-light-gray);
}

.card-list-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-list-body {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-list-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.card-list-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--color-text-light);
}

.trending-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid var(--color-light-gray);
  transition: all var(--transition-fast);
}

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

.trending-item:hover {
  background-color: var(--color-light);
}

.trending-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  min-width: 40px;
  text-align: center;
}

.trending-image {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background-color: var(--color-light-gray);
}

.trending-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trending-content {
  flex: 1;
  min-width: 0;
}

.trending-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.trending-title a {
  color: var(--color-text);
}

.trending-title a:hover {
  color: var(--color-primary);
}

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

.sidebar-widget {
  background: white;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}

.widget-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 3px solid var(--color-primary);
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.newsletter-form input {
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
}

.newsletter-form button {
  padding: 0.75rem 1rem;
  background-color: var(--color-primary);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.newsletter-form button:hover {
  background-color: #d62828;
  transform: translateY(-2px);
}

.newsletter-form .success-message {
  color: var(--color-success);
  font-size: 0.9rem;
  text-align: center;
  display: none;
}

.newsletter-form.submitted .success-message {
  display: block;
}

.categories-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.categories-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-light-gray);
}

.categories-list li:last-child {
  border-bottom: none;
}

.categories-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-text);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.categories-list a:hover {
  color: var(--color-primary);
}

.categories-count {
  background-color: var(--color-accent);
  color: var(--color-text);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
}

.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tag {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: var(--color-light);
  color: var(--color-text);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
  border: 1px solid var(--color-light-gray);
}

.tag:hover {
  background-color: var(--color-primary);
  color: white;
  transform: scale(1.05);
}

.tag-large {
  font-size: 1.1rem;
  font-weight: 600;
}

.tag-medium {
  font-size: 0.95rem;
  font-weight: 500;
}

.tag-small {
  font-size: 0.85rem;
}

.ads-placeholder {
  background: linear-gradient(135deg, var(--color-light-gray) 0%, #f3f4f6 100%);
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  color: var(--color-text-light);
  font-size: 0.9rem;
}

.post-header {
  margin-bottom: 2rem;
}

.post-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-text);
  line-height: 1.2;
}

.post-featured-image {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2rem;
}

.post-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-meta {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-light-gray);
  font-size: 0.95rem;
  color: var(--color-text-light);
}

.post-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.post-meta-item strong {
  color: var(--color-text);
}

.post-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: 2rem;
}

.post-content h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.post-content p {
  margin-bottom: 1.5rem;
}

.post-content a {
  text-decoration: underline;
  color: var(--color-primary);
}

.post-content a:hover {
  color: var(--color-accent);
}

.post-content img {
  max-width: 100%;
  height: auto;
  margin: 2rem 0;
  border-radius: var(--radius-md);
}

.post-content blockquote {
  border-left: 4px solid var(--color-primary);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--color-text-light);
  font-size: 1.1rem;
}

.post-content ul,
.post-content ol {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
}

.post-content li {
  margin-bottom: 0.5rem;
}

.post-content code {
  background-color: var(--color-light-gray);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
}

.post-content pre {
  background-color: var(--color-secondary);
  color: white;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  overflow-x: auto;
  margin: 2rem 0;
}

.post-content pre code {
  background: none;
  padding: 0;
  color: inherit;
}

.breadcrumbs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  color: var(--color-text-light);
}

.breadcrumbs a {
  color: var(--color-primary);
  transition: color var(--transition-fast);
}

.breadcrumbs a:hover {
  color: var(--color-accent);
  text-decoration: underline;
}

.breadcrumbs .separator {
  color: var(--color-border);
}

.breadcrumbs .current {
  color: var(--color-text);
  font-weight: 600;
}

.social-share {
  display: flex;
  gap: 1rem;
  margin: 2rem 0;
  padding: 2rem 0;
  border-top: 1px solid var(--color-light-gray);
  border-bottom: 1px solid var(--color-light-gray);
  flex-wrap: wrap;
  align-items: center;
}

.share-title {
  font-weight: 600;
  color: var(--color-text);
  margin-right: 1rem;
  display: flex;
  align-items: center;
}

.share-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.share-button {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: white;
  font-weight: 600;
  transition: all var(--transition-fast);
  cursor: pointer;
  border: none;
}

.share-button.twitter {
  background-color: #1DA1F2;
}

.share-button.facebook {
  background-color: #1877F2;
}

.share-button.instagram {
  background: linear-gradient(45deg, #fd1d1d, #833ab4, #fd1d1d);
}

.share-button.whatsapp {
  background-color: #25D366;
}

.share-button.linkedin {
  background-color: #0A66C2;
}

.share-button:hover {
  transform: scale(1.15);
  box-shadow: var(--shadow-lg);
}

.related-posts {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid var(--color-light-gray);
}

.related-posts .section-title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.comments-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid var(--color-light-gray);
}

.comments-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.comment-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.comment-item {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--color-light-gray);
}

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

.comment-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.comment-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background-color: var(--color-light-gray);
}

.comment-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.comment-author {
  font-weight: 600;
  color: var(--color-text);
}

.comment-date {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-top: 0.25rem;
}

.comment-body {
  color: var(--color-text);
  line-height: 1.6;
}

.comment-reply-link {
  margin-top: 1rem;
  display: inline-block;
  color: var(--color-primary);
  font-size: 0.9rem;
  font-weight: 600;
}

.comment-form {
  margin-top: 2rem;
  background: white;
  padding: 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-light-gray);
}

.comment-form-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  color: var(--color-text);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin: 3rem 0;
  flex-wrap: wrap;
}

.pagination a,
.pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: all var(--transition-fast);
}

.pagination a {
  background-color: var(--color-light);
  color: var(--color-text);
  cursor: pointer;
  border: 1px solid var(--color-light-gray);
}

.pagination a:hover {
  background-color: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

.pagination .current {
  background-color: var(--color-primary);
  color: white;
  font-weight: 700;
}

.pagination .prev-next {
  padding: 0 1rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-primary);
}

.pagination .prev-next:hover {
  color: var(--color-accent);
  transform: scale(1.1);
}

.search-header {
  margin-bottom: 2rem;
}

.search-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.search-results-count {
  color: var(--color-text-light);
}

.no-results {
  text-align: center;
  padding: 3rem 1rem;
  background: white;
  border-radius: var(--radius-md);
  margin: 2rem 0;
}

.no-results-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.no-results h3 {
  margin-bottom: 1rem;
}

.archive-header {
  margin-bottom: 2rem;
}

.archive-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.archive-description {
  color: var(--color-text-light);
}

.filter-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.filter-button {
  padding: 0.6rem 1.2rem;
  background-color: var(--color-light);
  color: var(--color-text);
  border: 1px solid var(--color-light-gray);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  font-weight: 600;
}

.filter-button:hover,
.filter-button.active {
  background-color: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

.page-404 {
  text-align: center;
  padding: 4rem 2rem;
}

.page-404-number {
  font-size: 5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.page-404 h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.page-404 p {
  font-size: 1.1rem;
  color: var(--color-text-light);
  margin-bottom: 2rem;
}

footer.site-footer {
  background: linear-gradient(135deg, var(--color-secondary) 0%, #0f172a 100%);
  color: white;
  margin-top: 4rem;
  padding-top: 3rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-section h3 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  font-weight: 700;
}

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

.footer-section ul li {
  margin-bottom: 0.75rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition-fast);
}

.footer-section a:hover {
  color: var(--color-primary);
}

.footer-newsletter {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 2rem;
  border-radius: var(--radius-md);
  margin-bottom: 2rem;
}

.footer-newsletter h3 {
  margin-bottom: 1rem;
}

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

.footer-newsletter-form input {
  flex: 1;
  min-width: 250px;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
}

.footer-newsletter-form button {
  padding: 0.75rem 1.5rem;
  background-color: var(--color-primary);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.footer-newsletter-form button:hover {
  background-color: #d62828;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  padding-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copyright {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
  color: var(--color-primary);
}

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

.w-full { width: 100%; }
.max-w-full { max-width: 100%; }

.hidden {
  display: none !important;
}

.visible {
  display: block !important;
}

.loading {
  opacity: 0.6;
  pointer-events: none;
}

.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(230, 57, 70, 0.3);
  border-radius: 50%;
  border-top-color: var(--color-primary);
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

@media print {
  body { background: white; }
  header, footer, .sidebar, .social-share {
    display: none;
  }
  .container { max-width: 100%; }
  a {
    color: inherit;
    text-decoration: underline;
  }
}
