/* ================================================================
   REPORTE CUBA YA — CSS v3.2 WordPress
   Mobile-First | Cero requests externos | Sobrescribe news-storm
   ================================================================ */


/* ================================================================
   REPORTE CUBA YA — REDESIGN v3.2
   Mobile-First | Cero requests externos | SEO completo
   Mejoras: nav scroll, paginacion, newsletter funcional
   ================================================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
  background: #FFFFFF;
  color: #1A1A1A;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; border: none; background: none; cursor: pointer; }

:root {
  --rcy-bg: #FFFFFF;
  --rcy-bg-soft: #F8F9FA;
  --rcy-bg-dark: #1A1A1A;
  --rcy-text: #1A1A1A;
  --rcy-text-muted: #6C757D;
  --rcy-accent: #C8102E;
  --rcy-accent-dark: #A00D24;
  --rcy-border: #E5E7EB;
  --rcy-radius: 12px;
  --rcy-radius-sm: 8px;
  --rcy-shadow: 0 4px 12px rgba(0,0,0,0.05);
  --rcy-shadow-hover: 0 12px 32px rgba(0,0,0,0.12);
  --rcy-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --rcy-header-h: 60px;
  --rcy-max-width: 1280px;
}

.rcy-container { max-width: var(--rcy-max-width); margin: 0 auto; padding: 0 16px; }
.rcy-ic { width: 20px; height: 20px; fill: currentColor; flex-shrink: 0; }

/* ================================================================
   TOP BAR
   ================================================================ */
.rcy-topbar { background: var(--rcy-bg-dark); color: #9CA3AF; font-size: 12px; padding: 6px 0; }
.rcy-topbar .rcy-container { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.rcy-topbar-date { font-weight: 500; }
.rcy-topbar-social { display: flex; gap: 14px; }
.rcy-topbar-social a { color: #6B7280; transition: var(--rcy-transition); display: flex; align-items: center; }
.rcy-topbar-social a:hover { color: var(--rcy-accent); }
.rcy-topbar-social .rcy-ic { width: 16px; height: 16px; }

/* ================================================================
   HEADER
   ================================================================ */
.rcy-header {
  background: var(--rcy-bg);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--rcy-border);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}
.rcy-header.hide { transform: translateY(-100%); }
.rcy-header.show { transform: translateY(0); box-shadow: 0 2px 12px rgba(0,0,0,0.08); }
.rcy-header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--rcy-header-h); }
.rcy-header-logo { display: flex; align-items: center; gap: 10px; }
.rcy-header-logo-mark {
  width: 40px; height: 40px;
  background: var(--rcy-accent);
  border-radius: var(--rcy-radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: Georgia, serif; font-weight: 900; font-size: 20px;
  flex-shrink: 0;
}
.rcy-header-logo-text {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 800; font-size: 20px; color: var(--rcy-text);
  letter-spacing: -0.5px; line-height: 1;
}
.rcy-header-logo-text span { color: var(--rcy-accent); }

.rcy-header-actions { display: flex; align-items: center; gap: 6px; }
.rcy-header-btn {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--rcy-radius-sm); color: var(--rcy-text); transition: var(--rcy-transition);
}
.rcy-header-btn:hover { background: var(--rcy-bg-soft); color: var(--rcy-accent); }

/* === HAMBURGER === */
.rcy-hamburger {
  width: 44px; height: 44px;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; border-radius: var(--rcy-radius-sm); transition: var(--rcy-transition);
}
.rcy-hamburger span { width: 24px; height: 2.5px; background: var(--rcy-text); border-radius: 2px; transition: transform 0.3s ease, opacity 0.2s ease; }
.rcy-hamburger:hover { background: var(--rcy-bg-soft); }
.rcy-hamburger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.rcy-hamburger.active span:nth-child(2) { opacity: 0; }
.rcy-hamburger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* === NAV DRAWER === */
.rcy-nav-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); opacity: 0; visibility: hidden; transition: var(--rcy-transition); z-index: 998; backdrop-filter: blur(2px); }
.rcy-nav-overlay.active { opacity: 1; visibility: visible; }
.rcy-nav-drawer {
  position: fixed; top: 0; right: -100%; width: 85%; max-width: 340px; height: 100vh;
  background: var(--rcy-bg); z-index: 999;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto; display: flex; flex-direction: column;
  box-shadow: -4px 0 24px rgba(0,0,0,0.1);
}
.rcy-nav-drawer.active { right: 0; }
.rcy-nav-drawer-header { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--rcy-border); }
.rcy-nav-drawer-title { font-family: Georgia, serif; font-weight: 800; font-size: 18px; }
.rcy-nav-drawer-close { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; color: var(--rcy-text-muted); border-radius: var(--rcy-radius-sm); transition: var(--rcy-transition); }
.rcy-nav-drawer-close:hover { background: var(--rcy-bg-soft); color: var(--rcy-accent); }
.rcy-nav-drawer-search { padding: 16px 20px; border-bottom: 1px solid var(--rcy-border); }
.rcy-nav-drawer-search input {
  width: 100%; padding: 12px 16px; border: 1px solid var(--rcy-border);
  border-radius: var(--rcy-radius-sm); font-size: 15px; font-family: inherit; outline: none; transition: var(--rcy-transition);
}
.rcy-nav-drawer-search input:focus { border-color: var(--rcy-accent); }
.rcy-nav-drawer-menu { padding: 8px 0; }
.rcy-nav-drawer-menu li a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; font-size: 15px; font-weight: 600; color: var(--rcy-text);
  transition: var(--rcy-transition); border-bottom: 1px solid var(--rcy-border);
}
.rcy-nav-drawer-menu li a:hover { background: var(--rcy-bg-soft); color: var(--rcy-accent); padding-left: 24px; }
.rcy-nav-drawer-menu li a.active { color: var(--rcy-accent); border-left: 3px solid var(--rcy-accent); }
.rcy-nav-drawer-menu li a .arrow { font-size: 12px; color: var(--rcy-text-muted); transition: var(--rcy-transition); }
.rcy-nav-drawer-menu li a:hover .arrow { color: var(--rcy-accent); transform: translateX(4px); }
.rcy-nav-drawer-social { display: flex; justify-content: center; gap: 16px; padding: 24px; margin-top: auto; }
.rcy-nav-drawer-social a {
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--rcy-bg-soft); color: var(--rcy-text); transition: var(--rcy-transition);
}
.rcy-nav-drawer-social a:hover { background: var(--rcy-accent); color: #fff; transform: translateY(-2px); }

/* === DESKTOP NAV — SCROLLABLE === */
.rcy-nav-desktop { display: none; }
.rcy-nav-desktop-wrap { display: none; }
.rcy-nav-desktop ul {
  display: flex; gap: 2px; align-items: center;
}
.rcy-nav-desktop ul li a {
  padding: 8px 12px; font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.5px;
  color: var(--rcy-text); border-radius: var(--rcy-radius-sm);
  transition: var(--rcy-transition); position: relative; white-space: nowrap;
}
.rcy-nav-desktop ul li a:hover { color: var(--rcy-accent); }
.rcy-nav-desktop ul li a.active { color: var(--rcy-accent); }
.rcy-nav-desktop ul li a.active::after {
  content: ''; position: absolute; bottom: -2px; left: 12px; right: 12px;
  height: 2px; background: var(--rcy-accent); border-radius: 1px;
}

/* === SEARCH OVERLAY === */
.rcy-search-overlay {
  position: fixed; top: 0; left: 0; right: 0; background: var(--rcy-bg);
  z-index: 1001; transform: translateY(-100%); transition: transform 0.3s ease;
  box-shadow: 0 4px 24px rgba(0,0,0,0.1);
}
.rcy-search-overlay.active { transform: translateY(0); }
.rcy-search-overlay-inner { max-width: var(--rcy-max-width); margin: 0 auto; padding: 20px 16px; display: flex; align-items: center; gap: 12px; }
.rcy-search-overlay input {
  flex: 1; padding: 14px 20px; border: 2px solid var(--rcy-accent);
  border-radius: var(--rcy-radius); font-size: 18px; font-family: inherit; outline: none;
}
.rcy-search-close { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; color: var(--rcy-text-muted); border-radius: 50%; transition: var(--rcy-transition); }
.rcy-search-close:hover { background: var(--rcy-bg-soft); color: var(--rcy-accent); }

/* ================================================================
   BREAKING TICKER
   ================================================================ */
.rcy-breaking { background: var(--rcy-bg-dark); color: #fff; padding: 10px 0; overflow: hidden; }
.rcy-breaking-inner { display: flex; align-items: center; gap: 16px; }
.rcy-breaking-label {
  background: var(--rcy-accent); color: #fff; padding: 4px 12px; border-radius: 4px;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
  white-space: nowrap; flex-shrink: 0; display: flex; align-items: center; gap: 6px;
}
.rcy-breaking-label .dot { width: 8px; height: 8px; background: #fff; border-radius: 50%; animation: pulse 1.5s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.3; transform: scale(0.7); } }
.rcy-breaking-track-wrap { overflow: hidden; flex: 1; }
.rcy-breaking-track { display: flex; gap: 40px; animation: scroll-left 30s linear infinite; white-space: nowrap; width: max-content; }
@keyframes scroll-left { 0% { transform: translateX(100%); } 100% { transform: translateX(-100%); } }
.rcy-breaking-track a { font-size: 13px; color: rgba(255,255,255,0.8); transition: var(--rcy-transition); }
.rcy-breaking-track a:hover { color: var(--rcy-accent); }

/* ================================================================
   HERO
   ================================================================ */
.rcy-hero { background: var(--rcy-bg-soft); padding: 24px 0; }
.rcy-hero-article { position: relative; border-radius: var(--rcy-radius); overflow: hidden; box-shadow: var(--rcy-shadow); transition: var(--rcy-transition); cursor: pointer; }
.rcy-hero-article:hover { box-shadow: var(--rcy-shadow-hover); }
.rcy-hero-article img { width: 100%; height: 280px; object-fit: cover; transition: transform 0.5s ease; }
.rcy-hero-article:hover img { transform: scale(1.03); }
.rcy-hero-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.6) 60%, transparent 100%); padding: 60px 24px 24px; }
.rcy-hero-badge { display: inline-block; background: var(--rcy-accent); color: #fff; padding: 4px 12px; border-radius: 4px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.rcy-hero-title { font-family: Georgia, 'Times New Roman', serif; font-weight: 800; font-size: 24px; line-height: 1.25; color: #fff; margin-bottom: 8px; transition: var(--rcy-transition); }
.rcy-hero-article:hover .rcy-hero-title { color: #FF6B6B; }
.rcy-hero-excerpt { color: rgba(255,255,255,0.8); font-size: 14px; line-height: 1.5; margin-bottom: 12px; }
.rcy-hero-meta { color: rgba(255,255,255,0.6); font-size: 12px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.rcy-hero-meta .rcy-ic { width: 14px; height: 14px; margin-right: 4px; }

/* ================================================================
   SECTION
   ================================================================ */
.rcy-section { padding: 32px 0; }
.rcy-section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.rcy-section-title { font-family: Georgia, 'Times New Roman', serif; font-weight: 800; font-size: 22px; color: var(--rcy-text); position: relative; padding-left: 16px; }
.rcy-section-title::before { content: ''; position: absolute; left: 0; top: 2px; bottom: 2px; width: 4px; background: var(--rcy-accent); border-radius: 2px; }
.rcy-section-link { font-size: 13px; font-weight: 600; color: var(--rcy-accent); text-transform: uppercase; letter-spacing: 0.5px; transition: var(--rcy-transition); display: flex; align-items: center; gap: 4px; }
.rcy-section-link:hover { color: var(--rcy-accent-dark); }
.rcy-section-link .rcy-ic { width: 14px; height: 14px; }

/* ================================================================
   NEWS GRID + CARDS
   ================================================================ */
.rcy-news-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.rcy-card { background: var(--rcy-bg); border-radius: var(--rcy-radius); overflow: hidden; box-shadow: var(--rcy-shadow); transition: var(--rcy-transition); border: 1px solid var(--rcy-border); }
.rcy-card:hover { transform: translateY(-4px); box-shadow: var(--rcy-shadow-hover); }
.rcy-card-link { display: block; }
.rcy-card-image { width: 100%; height: 200px; overflow: hidden; position: relative; }
.rcy-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.rcy-card:hover .rcy-card-image img { transform: scale(1.06); }
.rcy-card-category { position: absolute; top: 12px; left: 12px; background: var(--rcy-accent); color: #fff; padding: 4px 10px; border-radius: 4px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.rcy-card-body { padding: 16px 18px 20px; }
.rcy-card-title { font-family: Georgia, 'Times New Roman', serif; font-weight: 700; font-size: 17px; line-height: 1.3; color: var(--rcy-text); margin-bottom: 8px; transition: var(--rcy-transition); }
.rcy-card:hover .rcy-card-title { color: var(--rcy-accent); }
.rcy-card-excerpt { font-size: 14px; color: var(--rcy-text-muted); line-height: 1.5; margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rcy-card-meta { font-size: 12px; color: var(--rcy-text-muted); display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.rcy-card-meta .rcy-ic { width: 14px; height: 14px; margin-right: 4px; }
.rcy-card-meta .rcy-card-author { font-weight: 600; }
.rcy-card.no-image .rcy-card-body { padding: 24px 18px; }
.rcy-card.no-image .rcy-card-title { border-left: 3px solid var(--rcy-accent); padding-left: 12px; }
.rcy-card.no-image .rcy-card-category { position: static; margin-bottom: 8px; display: inline-block; }

/* ================================================================
   PAGINATION
   ================================================================ */
.rcy-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 32px 0;
  flex-wrap: wrap;
}
.rcy-pagination-btn, .rcy-pagination-page {
  min-width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--rcy-radius-sm);
  font-size: 15px;
  font-weight: 700;
  color: var(--rcy-text);
  background: var(--rcy-bg);
  border: 1px solid var(--rcy-border);
  transition: var(--rcy-transition);
  cursor: pointer;
  padding: 0 12px;
}
.rcy-pagination-btn:hover, .rcy-pagination-page:hover {
  background: var(--rcy-bg-soft);
  border-color: var(--rcy-accent);
  color: var(--rcy-accent);
  transform: translateY(-2px);
}
.rcy-pagination-page.active {
  background: var(--rcy-accent);
  color: #fff;
  border-color: var(--rcy-accent);
}
.rcy-pagination-page.active:hover {
  background: var(--rcy-accent-dark);
  color: #fff;
}
.rcy-pagination-btn { color: var(--rcy-text-muted); }
.rcy-pagination-btn:hover { color: var(--rcy-accent); }
.rcy-pagination-btn:disabled {
  opacity: 0.4; cursor: not-allowed; transform: none;
}
.rcy-pagination-btn:disabled:hover { background: var(--rcy-bg); border-color: var(--rcy-border); color: var(--rcy-text-muted); transform: none; }
.rcy-pagination-dots { padding: 0 8px; color: var(--rcy-text-muted); font-weight: 700; display: flex; align-items: center; }
.rcy-pagination .rcy-ic { width: 18px; height: 18px; }

/* ================================================================
   NEWSLETTER — FUNCIONAL
   ================================================================ */
.rcy-newsletter {
  background: var(--rcy-bg-soft);
  padding: 32px 16px;
  border-radius: var(--rcy-radius);
  text-align: center;
  margin: 32px 0;
}
.rcy-newsletter-title { font-family: Georgia, serif; font-weight: 800; font-size: 22px; margin-bottom: 8px; }
.rcy-newsletter-desc { color: var(--rcy-text-muted); font-size: 14px; margin-bottom: 20px; }
.rcy-newsletter-form {
  display: flex;
  gap: 8px;
  max-width: 480px;
  margin: 0 auto;
}
.rcy-newsletter-form input {
  flex: 1;
  padding: 14px 16px;
  border: 1px solid var(--rcy-border);
  border-radius: var(--rcy-radius-sm);
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: var(--rcy-transition);
}
.rcy-newsletter-form input:focus { border-color: var(--rcy-accent); }
.rcy-newsletter-form input.error { border-color: var(--rcy-accent); background: #FEF2F2; }
.rcy-newsletter-form button {
  background: var(--rcy-accent);
  color: #fff;
  padding: 14px 24px;
  border-radius: var(--rcy-radius-sm);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--rcy-transition);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}
.rcy-newsletter-form button:hover { background: var(--rcy-accent-dark); }
.rcy-newsletter-form button:disabled { opacity: 0.6; cursor: wait; }
.rcy-newsletter-form button .rcy-ic { width: 18px; height: 18px; }
.rcy-newsletter-msg {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  min-height: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.rcy-newsletter-msg.show { opacity: 1; }
.rcy-newsletter-msg.success { color: #16A34A; }
.rcy-newsletter-msg.error { color: var(--rcy-accent); }
.rcy-newsletter-msg .spinner {
  display: inline-block;
  width: 18px; height: 18px;
  border: 2px solid var(--rcy-accent);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  vertical-align: middle;
  margin-right: 8px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ================================================================
   AD SLOT
   ================================================================ */
.rcy-ad-slot { text-align: center; padding: 20px 0; }
.rcy-ad-slot-inner { background: var(--rcy-bg-soft); border: 1px dashed var(--rcy-border); border-radius: var(--rcy-radius-sm); padding: 20px; color: var(--rcy-text-muted); font-size: 12px; text-transform: uppercase; letter-spacing: 1px; }

/* ================================================================
   MORE NEWS
   ================================================================ */
.rcy-more-news { display: grid; grid-template-columns: 1fr; gap: 16px; }
.rcy-list-card { display: grid; grid-template-columns: 120px 1fr; gap: 14px; background: var(--rcy-bg); border-radius: var(--rcy-radius-sm); padding: 12px; box-shadow: var(--rcy-shadow); transition: var(--rcy-transition); border: 1px solid var(--rcy-border); }
.rcy-list-card:hover { box-shadow: var(--rcy-shadow-hover); transform: translateX(4px); }
.rcy-list-card-image { width: 120px; height: 90px; border-radius: var(--rcy-radius-sm); overflow: hidden; flex-shrink: 0; }
.rcy-list-card-image img { width: 100%; height: 100%; object-fit: cover; }
.rcy-list-card-body { display: flex; flex-direction: column; justify-content: center; }
.rcy-list-card-category { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--rcy-accent); margin-bottom: 4px; }
.rcy-list-card-title { font-weight: 700; font-size: 14px; line-height: 1.3; color: var(--rcy-text); margin-bottom: 4px; transition: var(--rcy-transition); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rcy-list-card:hover .rcy-list-card-title { color: var(--rcy-accent); }
.rcy-list-card-meta { font-size: 11px; color: var(--rcy-text-muted); display: flex; align-items: center; gap: 4px; }
.rcy-list-card-meta .rcy-ic { width: 12px; height: 12px; }

/* ================================================================
   FOOTER
   ================================================================ */
.rcy-footer { background: var(--rcy-bg-dark); color: #9CA3AF; padding: 40px 0 0; }
.rcy-footer-grid { display: grid; grid-template-columns: 1fr; gap: 32px; padding-bottom: 32px; }
.rcy-footer-col h4 { font-family: Georgia, serif; font-weight: 700; font-size: 16px; color: #fff; margin-bottom: 16px; position: relative; padding-bottom: 8px; }
.rcy-footer-col h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 32px; height: 2px; background: var(--rcy-accent); border-radius: 1px; }
.rcy-footer-about-logo { font-family: Georgia, serif; font-weight: 900; font-size: 24px; color: #fff; margin-bottom: 12px; }
.rcy-footer-about-logo span { color: var(--rcy-accent); }
.rcy-footer-about-text { font-size: 14px; line-height: 1.6; margin-bottom: 16px; }
.rcy-footer-social { display: flex; gap: 12px; }
.rcy-footer-social a { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,0.08); color: #fff; transition: var(--rcy-transition); }
.rcy-footer-social a:hover { background: var(--rcy-accent); transform: translateY(-2px); }
.rcy-footer-social .rcy-ic { width: 18px; height: 18px; }
.rcy-footer-links li { padding: 6px 0; }
.rcy-footer-links li a { font-size: 14px; color: #9CA3AF; transition: var(--rcy-transition); }
.rcy-footer-links li a:hover { color: var(--rcy-accent); padding-left: 4px; }
.rcy-footer-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.rcy-footer-tags a { padding: 6px 12px; background: rgba(255,255,255,0.06); border-radius: 20px; font-size: 12px; color: #9CA3AF; transition: var(--rcy-transition); }
.rcy-footer-tags a:hover { background: var(--rcy-accent); color: #fff; }
.rcy-footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0; text-align: center; }
.rcy-footer-bottom p { font-size: 13px; color: #6B7280; }
.rcy-footer-bottom a { color: #9CA3AF; }
.rcy-footer-bottom a:hover { color: var(--rcy-accent); }

/* ================================================================
   SCROLL TO TOP
   ================================================================ */
.rcy-scroll-top {
  position: fixed; bottom: 24px; right: 24px;
  width: 48px; height: 48px; background: var(--rcy-accent); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(200,16,46,0.3);
  opacity: 0; visibility: hidden; transition: var(--rcy-transition); z-index: 100;
}
.rcy-scroll-top.visible { opacity: 1; visibility: visible; }
.rcy-scroll-top:hover { background: var(--rcy-accent-dark); transform: scale(1.1); }

/* ================================================================
   BREAKPOINTS
   ================================================================ */
@media (min-width: 601px) {
  .rcy-container { padding: 0 24px; }
  .rcy-hero-article img { height: 380px; }
  .rcy-hero-overlay { padding: 80px 32px 32px; }
  .rcy-hero-title { font-size: 30px; }
  .rcy-hero-excerpt { font-size: 15px; }
  .rcy-news-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .rcy-card-image { height: 220px; }
  .rcy-card-title { font-size: 18px; }
  .rcy-section-title { font-size: 26px; }
  .rcy-list-card { grid-template-columns: 140px 1fr; }
  .rcy-list-card-image { width: 140px; height: 100px; }
  .rcy-list-card-title { font-size: 15px; }
  .rcy-more-news { grid-template-columns: repeat(2, 1fr); }
  .rcy-footer-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .rcy-newsletter { padding: 40px 32px; }
  .rcy-newsletter-title { font-size: 26px; }
}
@media (min-width: 1025px) {
  :root { --rcy-header-h: 72px; }
  .rcy-container { padding: 0 32px; }
  .rcy-hamburger { display: none; }
  .rcy-nav-desktop { display: flex; align-items: center; gap: 24px; }
  .rcy-nav-desktop-wrap { display: flex; align-items: center; flex: 1; justify-content: center; overflow-x: auto; scrollbar-width: none; }
  .rcy-nav-desktop-wrap::-webkit-scrollbar { display: none; }
  .rcy-hero-article img { height: 480px; }
  .rcy-hero-overlay { padding: 100px 40px 40px; }
  .rcy-hero-title { font-size: 38px; }
  .rcy-hero-excerpt { font-size: 16px; max-width: 600px; }
  .rcy-news-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .rcy-card-image { height: 240px; }
  .rcy-card-title { font-size: 19px; }
  .rcy-section-title { font-size: 28px; }
  .rcy-section { padding: 48px 0; }
  .rcy-more-news { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .rcy-list-card { grid-template-columns: 160px 1fr; padding: 16px; }
  .rcy-list-card-image { width: 160px; height: 110px; }
  .rcy-footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
  .rcy-newsletter { padding: 56px 40px; }
  .rcy-newsletter-title { font-size: 30px; }
}
@media (min-width: 1281px) {
  .rcy-news-grid { grid-template-columns: repeat(4, 1fr); }
  .rcy-hero-title { font-size: 42px; }
}
@media (max-width: 600px) and (orientation: landscape) {
  .rcy-hero-article img { height: 200px; }
  .rcy-nav-drawer { width: 60%; }
}
@media (pointer: coarse) {
  .rcy-card:hover { transform: none; }
  .rcy-list-card:hover { transform: none; }
  .rcy-scroll-top { width: 52px; height: 52px; bottom: 20px; right: 20px; }
}
@media print {
  .rcy-header, .rcy-nav-overlay, .rcy-nav-drawer, .rcy-breaking, .rcy-scroll-top, .rcy-newsletter, .rcy-ad-slot, .rcy-search-overlay, .rcy-pagination { display: none !important; }
  body { color: #000; }
  .rcy-hero-article img { height: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .rcy-breaking-track { animation: none; }
}


/* ================================================================
   SOBRESCRIBIR TEMA NEWS-STORM
   ================================================================ */
.news-storm-header-search,
.flash-news-section,
.news_storm_banner_section,
#news_storm_banner_section,
.editors-choice,
.news-storm-main-wrapper,
.news-storm-container-wrapper,
.section-splitter,
.magazine-banner,
.banner-main-part,
.banner-main-wrap,
.banner-container-wrapper,
.section-wrapper > .main-container-wrap,
.navigation .main-navigation,
.navigation .main-navigation .menu-toggle,
.loader-3,
#loader { display: none !important; }

/* Ocultar el header viejo del tema */
.site-header,
#masthead,
.rcy-topbar + .rcy-logo,
.rcy-menu { display: none !important; }

/* Sobrescribir entradas del blog */
.blog-post-container,
.blog-post-inner,
.blog-post-detail,
.entry-title,
.entry-content,
.post-meta,
.post-excerpt,
.post-categories,
.cat-links { all: unset !important; }

/* Resetear el body */
body {
  background: #FFFFFF !important;
  color: #1A1A1A !important;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  overflow-x: hidden !important;
}

/* Eliminar loader */
#loader, .loader-3, .loader-container, #preloader { display: none !important; }

/* Eliminar padding/margin del tema */
body.custom-background { background: #FFFFFF !important; }
.site { padding: 0 !important; margin: 0 !important; }

/* WP pagination */
.page-numbers {
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  color: #1A1A1A;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  transition: 0.3s ease;
  padding: 0 12px !important;
  margin: 0 3px !important;
  text-decoration: none !important;
}
.page-numbers:hover {
  background: #F8F9FA;
  border-color: #C8102E;
  color: #C8102E;
}
.page-numbers.current {
  background: #C8102E !important;
  color: #fff !important;
  border-color: #C8102E !important;
}
ul.page-numbers {
  display: flex !important;
  list-style: none !important;
  justify-content: center;
  gap: 4px;
  padding: 32px 0 !important;
  margin: 0 !important;
  flex-wrap: wrap;
}
li.page-numbers { padding: 0 !important; }

/* SVG icons base */
.rcy-ic { width: 20px; height: 20px; fill: currentColor; flex-shrink: 0; }

/* Spinner */
.rcy-spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid #C8102E;
  border-top-color: transparent;
  border-radius: 50%;
  animation: rcy-spin 0.6s linear infinite;
  vertical-align: middle;
  margin-right: 8px;
}
@keyframes rcy-spin { to { transform: rotate(360deg); } }
