/* ============================================================
   DIGIVEO.COM — HOMEPAGE STYLES (Child Theme)
   Font: Nunito cargado via wp_enqueue_style en functions.php
   ============================================================ */

#digiveo-home, #digiveo-home * {
  box-sizing: border-box;
  font-family: 'Nunito', sans-serif;
}
#digiveo-home a { text-decoration: none; }
#digiveo-home p { margin: 0 0 10px; }
#digiveo-home h2 { margin: 0; padding: 0; border: none; }
#digiveo-home ul, #digiveo-home li { list-style: none; margin: 0; padding: 0; }

/* ── Section header ── */
#digiveo-home .dv-sec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
#digiveo-home .dv-sec-title {
  font-size: 1.15rem;
  font-weight: 900;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: none;
}
#digiveo-home .dv-sec-title::before {
  content: '';
  display: inline-block;
  width: 4px; height: 22px;
  background: linear-gradient(180deg, #00bcd4, #7c3aed);
  border-radius: 4px;
  flex-shrink: 0;
}
#digiveo-home .dv-see-all {
  font-size: 0.83rem;
  font-weight: 700;
  color: #00bcd4;
}
#digiveo-home .dv-see-all:hover { color: #0097a7; }

/* ── PARTE 1 — ENTRADA DESTACADA ── */
#digiveo-home .dv-feat-card {
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  overflow: hidden;
  display: block;
  color: inherit;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
  background: #fff;
}
#digiveo-home .dv-feat-card:hover {
  border-color: #ff6600;
  box-shadow: 0 20px 60px rgba(255,102,0,0.12);
  transform: translateY(-3px);
  color: inherit;
}
#digiveo-home .dv-feat-thumb {
  background: linear-gradient(135deg, #0d1f3c, #1a0a2e, #0a1a14);
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  position: relative;
  overflow: hidden;
}
#digiveo-home .dv-feat-thumb img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
#digiveo-home .dv-feat-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 40%, white);
}
#digiveo-home .dv-feat-body {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#digiveo-home .dv-badges-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
  align-items: center;
}
#digiveo-home .dv-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 11px;
  border-radius: 100px;
  line-height: 1.6;
  white-space: nowrap;
}
#digiveo-home .dv-bh { background: rgba(255,102,0,.12); color: #ff6600; border: 1px solid rgba(255,102,0,.25); }
#digiveo-home .dv-bc { background: rgba(0,188,212,.1); color: #0097a7; border: 1px solid rgba(0,188,212,.2); }
#digiveo-home .dv-bn { background: rgba(22,163,74,.1); color: #16a34a; border: 1px solid rgba(22,163,74,.2); }
#digiveo-home .dv-bp { background: rgba(124,58,237,.1); color: #7c3aed; border: 1px solid rgba(124,58,237,.2); }
#digiveo-home .dv-stars {
  color: #f5a623;
  font-size: 0.95rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 4px;
}
#digiveo-home .dv-stars small { color: #94a3b8; font-size: 0.75rem; }
#digiveo-home .dv-feat-h2 {
  font-size: 1.35rem;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.25;
  margin: 0 0 10px;
  padding: 0;
  border: none;
}
#digiveo-home .dv-feat-p {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.7;
  margin: 0 0 14px;
}
#digiveo-home .dv-feat-meta {
  display: flex;
  flex-direction: row;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.77rem;
  color: #94a3b8;
  margin-bottom: 20px;
}
#digiveo-home .dv-btn-orange {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #ff6600, #e55a00);
  color: #fff;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 12px 24px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(255,102,0,0.3);
  transition: transform 0.2s;
  border: none;
  width: auto;
}
#digiveo-home .dv-feat-card:hover .dv-btn-orange { transform: translateX(4px); }

/* ── PARTE 2 — CATEGORAS ── */
#digiveo-home .dv-cat-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 22px 14px 18px;
  text-align: center;
  display: block;
  color: inherit;
  height: 100%;
  transition: transform 0.25s, box-shadow 0.25s;
  overflow: visible;
}
#digiveo-home .dv-cat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.1);
  color: inherit;
}
#digiveo-home .cc1 { border-top: 3px solid #00bcd4; }
#digiveo-home .cc2 { border-top: 3px solid #ff6600; }
#digiveo-home .cc3 { border-top: 3px solid #16a34a; }
#digiveo-home .cc4 { border-top: 3px solid #7c3aed; }
#digiveo-home .cc5 { border-top: 3px solid #f5a623; }
#digiveo-home .dv-cat-ico {
  font-size: 2rem;
  display: block;
  margin-bottom: 10px;
  transition: transform 0.25s;
  line-height: 1;
}
#digiveo-home .dv-cat-card:hover .dv-cat-ico { transform: scale(1.18); }
#digiveo-home .dv-cat-name {
  font-size: 0.9rem;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 3px;
  display: block;
}
#digiveo-home .dv-cat-desc {
  font-size: 0.7rem;
  color: #94a3b8;
  display: block;
  margin-bottom: 8px;
}
#digiveo-home .dv-cat-arrow {
  font-size: 0.8rem;
  color: #cbd5e1;
  display: block;
  transition: transform 0.2s, color 0.2s;
}
#digiveo-home .dv-cat-card:hover .dv-cat-arrow { transform: translateX(5px); color: #94a3b8; }

/* ── PARTE 3 — ULTIMAS ENTRADAS ── */
#digiveo-home .dv-post-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: inherit;
  height: 100%;
  transition: transform 0.25s, box-shadow 0.25s;
}
#digiveo-home .dv-post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.1);
  color: inherit;
}
#digiveo-home .dv-post-img {
  height: 155px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
#digiveo-home .dv-pg1 { background: linear-gradient(135deg,#0d1f3c,#093d2e); }
#digiveo-home .dv-pg2 { background: linear-gradient(135deg,#1a0933,#0d1f3c); }
#digiveo-home .dv-pg3 { background: linear-gradient(135deg,#1a1200,#2d0a00); }
#digiveo-home .dv-pg4 { background: linear-gradient(135deg,#0a1a2a,#1a0a2e); }
#digiveo-home .dv-pg5 { background: linear-gradient(135deg,#0d2b1f,#1a1a00); }
#digiveo-home .dv-pg6 { background: linear-gradient(135deg,#1a0a1a,#0a1f1a); }
#digiveo-home .dv-post-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
#digiveo-home .dv-post-img .dv-pbadge {
  position: absolute;
  top: 10px; left: 10px;
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
  color: #fff;
  border: none;
}
#digiveo-home .pb-iptv   { background: #00bcd4; }
#digiveo-home .pb-stream { background: #ff6600; }
#digiveo-home .pb-tvbox  { background: #7c3aed; }
#digiveo-home .pb-tuto   { background: #16a34a; }
#digiveo-home .pb-hot    { background: #ef4444; }
#digiveo-home .dv-post-body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
#digiveo-home .dv-post-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.4;
  margin: 7px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}
#digiveo-home .dv-post-card:hover .dv-post-title { color: #00bcd4; }
#digiveo-home .dv-post-exc {
  font-size: 0.77rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
#digiveo-home .dv-post-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
  margin-top: auto;
}
#digiveo-home .dv-post-date { font-size: 0.7rem; color: #94a3b8; }
#digiveo-home .dv-post-more { font-size: 0.73rem; font-weight: 800; color: #00bcd4; }

/* ── PARTE 4 — TOP 8 APPS ── */
#digiveo-home .dv-app-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  transition: transform 0.2s, box-shadow 0.2s;
  height: 100%;
}
#digiveo-home .dv-app-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
  border-color: #cbd5e1;
}
#digiveo-home .dv-app-icon {
  width: 52px; height: 52px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  position: relative;
}
#digiveo-home .dv-aic { background: linear-gradient(135deg,#e0f7fa,#b2ebf2); }
#digiveo-home .dv-aip { background: linear-gradient(135deg,#ede9fe,#ddd6fe); }
#digiveo-home .dv-aio { background: linear-gradient(135deg,#fff7ed,#fed7aa); }
#digiveo-home .dv-aig { background: linear-gradient(135deg,#dcfce7,#bbf7d0); }
#digiveo-home .dv-app-rank {
  position: absolute;
  top: -6px; left: -6px;
  width: 20px; height: 20px;
  border-radius: 50%;
  font-size: 0.6rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  color: #fff;
  line-height: 1;
}
#digiveo-home .dv-rk1 { background: #f5a623; }
#digiveo-home .dv-rk2 { background: #94a3b8; }
#digiveo-home .dv-rk3 { background: #cd7f32; }
#digiveo-home .dv-rk4,
#digiveo-home .dv-rk5,
#digiveo-home .dv-rk6,
#digiveo-home .dv-rk7,
#digiveo-home .dv-rk8 { background: #cbd5e1; color: #64748b; }
#digiveo-home .dv-app-info { flex: 1; min-width: 0; }
#digiveo-home .dv-app-name {
  font-size: 0.9rem;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}
#digiveo-home .dv-app-cat {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 4px;
  display: block;
}
#digiveo-home .dv-atc { color: #0097a7; }
#digiveo-home .dv-atp { color: #7c3aed; }
#digiveo-home .dv-ato { color: #ea580c; }
#digiveo-home .dv-atg { color: #16a34a; }
#digiveo-home .dv-app-stars {
  font-size: 0.72rem;
  color: #f5a623;
  margin-bottom: 5px;
  display: block;
}
#digiveo-home .dv-app-stars small { color: #94a3b8; }
#digiveo-home .dv-app-tags {
  display: flex;
  flex-direction: row;
  gap: 5px;
  flex-wrap: wrap;
}
#digiveo-home .dv-atag {
  font-size: 0.6rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 100px;
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #e2e8f0;
  display: inline-block;
}
#digiveo-home .dv-atag-free { background: #dcfce7; color: #16a34a; border-color: #bbf7d0; }
#digiveo-home .dv-atag-fm   { background: #eff6ff; color: #2563eb; border-color: #bfdbfe; }
#digiveo-home .dv-atag-paid { background: #fff7ed; color: #ea580c; border-color: #fed7aa; }
#digiveo-home .dv-app-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  flex-shrink: 0;
}
#digiveo-home .dv-dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 8px 14px;
  border-radius: 10px;
  color: #fff;
  white-space: nowrap;
  transition: transform 0.2s;
  border: none;
}
#digiveo-home .dv-dl-btn:hover { transform: translateY(-2px); color: #fff; }
#digiveo-home .dv-dl-c { background: linear-gradient(135deg,#00bcd4,#0097a7); }
#digiveo-home .dv-dl-p { background: linear-gradient(135deg,#7c3aed,#5b21b6); }
#digiveo-home .dv-dl-o { background: linear-gradient(135deg,#ea580c,#c2410c); }
#digiveo-home .dv-dl-g { background: linear-gradient(135deg,#16a34a,#15803d); }
#digiveo-home .dv-app-plat { font-size: 0.6rem; color: #94a3b8; text-align: right; display: block; }

/* Apps footer */
#digiveo-home .dv-apps-footer {
  background: linear-gradient(135deg,#0f172a,#1e293b);
  border-radius: 14px;
  padding: 20px 24px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 16px;
}
#digiveo-home .dv-apps-footer p { font-size: 0.87rem; color: #94a3b8; margin: 0; flex: 1; }
#digiveo-home .dv-apps-footer strong { color: #f8fafc; }
#digiveo-home .dv-apps-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.15);
  color: #f8fafc;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 10px;
  white-space: nowrap;
}
#digiveo-home .dv-apps-all:hover { background: rgba(255,255,255,.15); color: #fff; }

/* ── Responsive ── */
@media (max-width: 575px) {
  #digiveo-home .dv-feat-body { padding: 20px 16px; }
  #digiveo-home .dv-feat-h2 { font-size: 1.15rem; }
  #digiveo-home .dv-btn-orange { width: 100%; justify-content: center; }
  #digiveo-home .dv-app-card { flex-wrap: wrap; }
  #digiveo-home .dv-app-right { width: 100%; flex-direction: row; justify-content: space-between; }
}
