/* DAP - Archivo (.dcat-*) + widget Deportes (.dep-widget).
   Portado de "DAP Category Template" + "DAP Widget Deportes" + "DAP Modo Oscuro".
   Cambios Guille (15/06): bajo header COMPACTO y SIN caja de stats. */
.dcat-wrap{font-family:'DM Sans',sans-serif;background:#F4F7FB}
.dcat-wrap *{box-sizing:border-box}
.dcat-con{max-width:1280px;margin:0 auto;padding:0 24px}
/* Bajo header compacto (Guille): menos padding + h1 mas chico, para que el contenido aparezca rapido. */
.dcat-hero{background:#0C1835;color:#fff;padding:26px 0 30px;position:relative;overflow:hidden}
.dcat-hero::before{content:"";position:absolute;top:-100px;right:-100px;width:500px;height:500px;background:radial-gradient(circle,rgba(38,147,240,.15) 0%,transparent 60%);border-radius:50%;pointer-events:none}
.dcat-breadcrumb{display:flex;align-items:center;gap:10px;font-size:13px;color:#94a3b8;margin-bottom:16px;flex-wrap:wrap;position:relative}
.dcat-breadcrumb a{color:#94a3b8;text-decoration:none;transition:color .2s}
.dcat-breadcrumb a:hover{color:#2693F0}
.dcat-breadcrumb .sep{color:#475569;font-size:11px}
.dcat-breadcrumb .cur{color:#cbd5e1}
.dcat-title-row{margin-bottom:6px;position:relative}
.dcat-title-label{font-size:13px;font-weight:600;color:#2693F0;text-transform:uppercase;letter-spacing:1.5px;margin-bottom:8px;display:flex;align-items:center;gap:8px}
.dcat-hero h1{font-family:'Bricolage Grotesque',sans-serif;font-size:42px;font-weight:800;line-height:1.02;letter-spacing:-1.4px;color:#fff;margin:0;word-break:break-word}
.dcat-hero h1 span{color:#2693F0}
.dcat-description{font-size:15px;color:#cbd5e1;margin-top:10px;max-width:640px;line-height:1.6}
.dcat-chips{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px;position:relative}
.dcat-chip{padding:7px 14px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);border-radius:50px;font-size:13px;color:#cbd5e1;transition:all .2s;text-decoration:none}
.dcat-chip:hover{background:rgba(38,147,240,.2);border-color:#2693F0;color:#fff}
.dcat-chip.active{background:#2693F0;color:#0A1530;font-weight:600;border-color:#2693F0}
.dcat-feat{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:12px;position:relative}
.dcat-feat-lbl{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:1px;color:#94a3b8;flex-shrink:0}
.dcat-feat-lbl i{font-size:15px;color:#2693F0}
.dcat-feat-lbl2{margin-left:10px;padding-left:14px;border-left:1px solid rgba(255,255,255,.12)}
.dcat-fchip{display:inline-flex;align-items:center;padding:6px 14px;background:rgba(38,147,240,.12);border:1px solid rgba(38,147,240,.4);border-radius:50px;font-size:13px;font-weight:600;color:#dbeafe;text-decoration:none;transition:all .2s}
.dcat-fchip:hover{background:#2693F0;border-color:#2693F0;color:#0A1530;transform:translateY(-1px)}
.dcat-fchip-comp{background:rgba(255,159,28,.13);border-color:rgba(255,159,28,.45);color:#fde9c8}
.dcat-fchip-comp:hover{background:#FF9F1C;border-color:#FF9F1C;color:#0A1530}
.dcat-feat .dcat-feat-lbl i.ti-trophy{color:#FF9F1C}
.dcat-toolbar{background:#fff;border-bottom:1px solid #E2E8F0;padding:14px 0;position:sticky;top:152px;z-index:20}
.dcat-toolbar .dcat-con{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.dcat-count{font-size:13px;font-weight:600;color:#0F172A}
.dcat-count strong{color:#0A5BA8}
.dcat-tsearch{display:flex;align-items:center;background:#F6F8FC;border:1px solid #E2E8F0;border-radius:50px;padding:4px 4px 4px 14px;width:260px;transition:all .2s}
.dcat-tsearch:focus-within{border-color:#2693F0;background:#fff;box-shadow:0 0 0 4px #EBF4FF}
.dcat-tsearch i{font-size:16px;color:#64748b;margin-right:8px}
.dcat-tsearch input{flex:1;background:transparent;border:0;outline:none;font-size:13px;color:#0F172A;padding:8px 0;font-family:inherit;min-width:0}
.dcat-tsearch button{background:#2693F0;color:#0A1530;border:0;width:30px;height:30px;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.dcat-tsearch button:hover{background:#0A5BA8;color:#fff}
.dcat-layout{padding:32px 0 30px}
.dcat-grid{display:grid;grid-template-columns:1fr 340px;gap:48px;align-items:start}
.dcat-main{min-width:0}
.dcat-featured{display:grid;grid-template-columns:1.2fr 1fr;background:#fff;border:1px solid #E2E8F0;border-radius:16px;overflow:hidden;margin-bottom:28px;transition:all .3s;text-decoration:none}
.dcat-featured:hover{border-color:#2693F0;transform:translateY(-3px);box-shadow:0 12px 32px rgba(38,147,240,.08)}
.dcat-feat-img{position:relative;min-height:300px;overflow:hidden;background:#EEF2F8}
/* La foto va ABSOLUTA (igual que HAP .c-feat-img img): asi NO arrastra el alto del
   recuadro. Sin esto, una portada VERTICAL (p.ej. 720x934) estira la tarjeta enorme. */
.dcat-feat-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .6s}
.dcat-featured:hover .dcat-feat-img img{transform:scale(1.04)}
.dcat-feat-img .dcat-noi{position:absolute;inset:0;width:100%;height:100%;background:linear-gradient(135deg,#1A3A6B,#2693F0)}
.dcat-feat-pills{position:absolute;top:16px;left:16px;display:flex;gap:8px;flex-wrap:wrap}
.dcat-pill-cat{display:inline-flex;align-items:center;background:rgba(26,58,107,.95);color:#fff;padding:5px 12px;border-radius:50px;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.6px;backdrop-filter:blur(4px)}
.dcat-pill-new{display:inline-flex;align-items:center;gap:5px;background:#2693F0;color:#0A1530;padding:5px 12px;border-radius:50px;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.6px}
.dcat-feat-body{padding:28px 32px;display:flex;flex-direction:column;justify-content:center}
.dcat-feat-meta{display:flex;align-items:center;gap:10px;font-size:13px;color:#64748b;margin-bottom:14px;flex-wrap:wrap}
.dcat-feat-meta span{display:flex;align-items:center;gap:5px}
.dcat-feat-meta i{font-size:13px;color:#0A5BA8}
.dcat-dot{width:3px;height:3px;background:#94A3B8;border-radius:50%;flex-shrink:0}
.dcat-feat-body h2{font-family:'Bricolage Grotesque',sans-serif;font-size:26px;font-weight:700;line-height:1.2;letter-spacing:-.5px;color:#0F172A;margin-bottom:12px}
.dcat-feat-body .exc{font-size:15px;color:#64748b;line-height:1.65;margin-bottom:20px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.dcat-feat-cta{display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:600;color:#0A5BA8;transition:gap .2s}
.dcat-featured:hover .dcat-feat-cta{gap:14px}
.dcat-feat-cta i{font-size:16px}
.dcat-posts-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:24px;margin-bottom:40px}
.dcat-pc{display:flex;flex-direction:column;background:#fff;border:1px solid #E2E8F0;border-radius:14px;overflow:hidden;transition:all .3s;text-decoration:none}
.dcat-pc:hover{border-color:#2693F0;transform:translateY(-3px);box-shadow:0 8px 24px rgba(38,147,240,.08)}
.dcat-pc-img{position:relative;aspect-ratio:16/10;overflow:hidden;background:#EEF2F8}
.dcat-pc-img img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.dcat-pc:hover .dcat-pc-img img{transform:scale(1.05)}
.dcat-pc-img .dcat-noi{width:100%;height:100%;background:linear-gradient(135deg,#1A3A6B,#2693F0)}
.dcat-pc-pill{position:absolute;top:12px;left:12px;background:rgba(26,58,107,.95);color:#fff;padding:4px 10px;border-radius:50px;font-size:9px;font-weight:700;text-transform:uppercase;letter-spacing:.6px;backdrop-filter:blur(4px)}
.dcat-pc-body{padding:18px 20px 20px;display:flex;flex-direction:column;flex:1}
.dcat-pc-body h3{font-family:'Bricolage Grotesque',sans-serif;font-size:17px;font-weight:600;line-height:1.3;color:#0F172A;margin-bottom:8px;letter-spacing:-.3px;text-transform:uppercase}
.dcat-pc-body .exc{font-size:13px;color:#64748b;line-height:1.6;margin-bottom:14px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;flex:1}
.dcat-pc-meta{display:flex;align-items:center;gap:8px;font-size:12px;color:#64748b;padding-top:12px;border-top:1px solid #F1F5F9;flex-wrap:wrap}
.dcat-pc-meta span{display:flex;align-items:center;gap:4px}
.dcat-pc-meta i{font-size:12px;color:#0A5BA8}
.dcat-pagination{display:flex;align-items:center;justify-content:center;gap:6px;flex-wrap:wrap}
.dcat-pagination a,.dcat-pagination span{min-width:42px;height:42px;display:inline-flex;align-items:center;justify-content:center;padding:0 12px;background:#fff;border:1px solid #E2E8F0;border-radius:8px;font-size:14px;font-weight:600;color:#0F172A;text-decoration:none;transition:all .2s;gap:6px}
.dcat-pagination a:hover{border-color:#2693F0;color:#0A5BA8}
.dcat-pagination .current{background:#2693F0;border-color:#2693F0;color:#0A1530}
.dcat-pagination .dots{background:transparent;border:none;color:#64748b;letter-spacing:1px}
.dcat-pg-info{text-align:center;font-size:12px;color:#64748b;margin-top:12px}
.dcat-sidebar{display:flex;flex-direction:column;gap:24px;position:sticky;top:200px}
.dcat-rel-cats{background:#fff;border:1px solid #E2E8F0;border-radius:12px;overflow:hidden}
.dcat-rel-hd{padding:14px 20px;border-bottom:1px solid #E2E8F0;display:flex;align-items:center;justify-content:space-between}
.dcat-rel-hd h3{font-family:'Bricolage Grotesque',sans-serif;font-size:13px;font-weight:700;color:#0F172A;text-transform:uppercase;letter-spacing:1.2px}
.dcat-rel-hd i{font-size:18px;color:#0A5BA8}
.dcat-rel-cats ul{list-style:none;padding:8px 0;max-height:480px;overflow-y:auto;margin:0}
.dcat-rel-cats li a{display:flex;align-items:center;justify-content:space-between;padding:10px 20px;font-size:14px;color:#0F172A;transition:all .2s;border-left:3px solid transparent;text-decoration:none}
.dcat-rel-cats li a:hover{background:#F6F8FC;color:#0A5BA8;border-left-color:#2693F0}
.dcat-rel-cats li a.dcat-rel-active{background:#EBF4FF;color:#0A5BA8;border-left-color:#2693F0;font-weight:600}
.dcat-rel-cats li .cnt{font-size:11px;color:#94A3B8;font-weight:500}
.dcat-caf{background:linear-gradient(135deg,#1A3A6B 0%,#0F2545 100%);color:#fff;border-radius:12px;padding:24px;text-align:center;position:relative;overflow:hidden;display:flex;flex-direction:column;align-items:center}
.dcat-caf::before{content:"";position:absolute;top:-40px;right:-40px;width:120px;height:120px;background:#2693F0;opacity:.15;border-radius:50%}
.dcat-caf .ico{font-size:32px;margin-bottom:10px;color:#2693F0;position:relative}
.dcat-caf h4{font-family:'Bricolage Grotesque',sans-serif;font-size:18px;font-weight:600;margin-bottom:10px;position:relative;color:#fff}
.dcat-caf p{font-size:13px;color:#dbeaff;margin-bottom:18px;line-height:1.6;position:relative;max-width:240px}
.dcat-caf a{display:inline-flex;align-items:center;gap:8px;background:#2693F0;color:#0A1530;padding:10px 20px;border-radius:50px;font-size:13px;font-weight:700;transition:all .2s;position:relative;text-decoration:none}
.dcat-caf a:hover{background:#fff;transform:translateY(-1px)}
.dcat-no-posts{text-align:center;padding:64px 32px;color:#64748b}
.dcat-no-posts i{font-size:48px;display:block;margin-bottom:16px;color:#CBD5E0}
.dcat-no-posts h3{font-family:'Bricolage Grotesque',sans-serif;font-size:22px;color:#0F172A;margin-bottom:8px}

/* Widget Deportes (sidebar de "Todas las notas" / etiquetas). */
.dep-widget{background:#fff;border:1px solid #E2E8F0;border-radius:12px;overflow:hidden;font-family:'DM Sans',sans-serif}
.dep-widget .head{padding:16px 20px;border-bottom:1px solid #E2E8F0;display:flex;align-items:center;justify-content:space-between;background:linear-gradient(180deg,#F6F8FC,transparent)}
.dep-widget .head h3{font-family:'Bricolage Grotesque',sans-serif;font-size:14px;font-weight:700;color:#0F172A;text-transform:uppercase;letter-spacing:1.2px;margin:0}
.dep-widget .head i{font-size:20px;color:#2693F0}
.dep-widget .dep-list{list-style:none;max-height:520px;overflow-y:auto;padding:6px 0;margin:0;scrollbar-width:thin;scrollbar-color:#E2E8F0 transparent}
.dep-widget .dep-list::-webkit-scrollbar{width:8px}
.dep-widget .dep-list::-webkit-scrollbar-track{background:transparent}
.dep-widget .dep-list::-webkit-scrollbar-thumb{background:#E2E8F0;border-radius:50px;border:2px solid #fff}
.dep-widget .dep-list::-webkit-scrollbar-thumb:hover{background:#94A3B8}
.dep-widget .dep-list li{margin:0}
.dep-widget .dep-list li a{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 20px;font-size:14px;font-weight:500;color:#0F172A;text-decoration:none;transition:all .18s;border-left:3px solid transparent}
.dep-widget .dep-list li a:hover{background:#F6F8FC;color:#0A5BA8;border-left-color:#2693F0}
.dep-widget .dep-list li a.active{background:#EBF4FF;color:#0A5BA8;border-left-color:#2693F0;font-weight:700}
.dep-widget .dep-list .txt{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.dep-widget .dep-list .count{font-size:11px;color:#64748B;background:#F6F8FC;padding:2px 9px;border-radius:50px;font-weight:600;flex-shrink:0;font-variant-numeric:tabular-nums}
.dep-widget .dep-list li a:hover .count{background:#fff}
.dep-widget .dep-list li a.active .count{background:#2693F0;color:#fff}

@media(max-width:1024px){
  .dcat-grid{grid-template-columns:1fr}
  .dcat-sidebar{position:static}
  .dcat-featured{grid-template-columns:1fr}
  .dcat-feat-img{min-height:220px}
  .dcat-toolbar{top:0}
}
@media(max-width:640px){
  .dcat-con{padding:0 18px}
  .dcat-hero h1{font-size:32px}
  .dcat-posts-grid{grid-template-columns:1fr}
  .dcat-sgrid{grid-template-columns:1fr}
}

/* ===== MODO OSCURO ===== */
[data-theme="dark"] .dcat-wrap{background:#0A1426}
[data-theme="dark"] .dcat-toolbar{background:#0F1B33;border-bottom-color:#1F3050}
[data-theme="dark"] .dcat-count{color:#F1F5FB}
[data-theme="dark"] .dcat-count strong{color:#6BB5F8}
[data-theme="dark"] .dcat-tsearch{background:#16243F;border-color:#1F3050}
[data-theme="dark"] .dcat-tsearch input{color:#F1F5FB}
[data-theme="dark"] .dcat-tsearch:focus-within{background:#0F1B33;border-color:#2693F0;box-shadow:0 0 0 4px rgba(38,147,240,.18)}
[data-theme="dark"] .dcat-featured,[data-theme="dark"] .dcat-pc{background:#0F1B33;border-color:#1F3050}
[data-theme="dark"] .dcat-feat-img,[data-theme="dark"] .dcat-pc-img{background:#16243F}
[data-theme="dark"] .dcat-feat-body h2,[data-theme="dark"] .dcat-pc-body h3{color:#F1F5FB}
[data-theme="dark"] .dcat-feat-body .exc,[data-theme="dark"] .dcat-feat-meta,[data-theme="dark"] .dcat-pc-body .exc,[data-theme="dark"] .dcat-pc-meta{color:#9AA8C0}
[data-theme="dark"] .dcat-pc-meta{border-top-color:#172846}
[data-theme="dark"] .dcat-pagination a,[data-theme="dark"] .dcat-pagination span{background:#0F1B33;border-color:#1F3050;color:#F1F5FB}
[data-theme="dark"] .dcat-pagination .current{background:#2693F0;border-color:#2693F0;color:#0A1530}
[data-theme="dark"] .dcat-pg-info{color:#9AA8C0}
[data-theme="dark"] .dcat-rel-cats{background:#0F1B33;border-color:#1F3050}
[data-theme="dark"] .dcat-rel-hd{border-bottom-color:#1F3050}
[data-theme="dark"] .dcat-rel-hd h3{color:#F1F5FB}
[data-theme="dark"] .dcat-rel-cats li a{color:#F1F5FB}
[data-theme="dark"] .dcat-rel-cats li a:hover{background:#16243F;color:#6BB5F8}
[data-theme="dark"] .dcat-rel-cats li a.dcat-rel-active{background:rgba(38,147,240,.14);color:#6BB5F8}
[data-theme="dark"] .dcat-no-posts h3{color:#F1F5FB}
[data-theme="dark"] .dep-widget{background:#0F1B33;border-color:#1F3050}
[data-theme="dark"] .dep-widget .head{border-color:#1F3050;background:linear-gradient(180deg,#0A1426,transparent)}
[data-theme="dark"] .dep-widget .head h3{color:#F1F5FB}
[data-theme="dark"] .dep-widget .dep-list li a{color:#F1F5FB}
[data-theme="dark"] .dep-widget .dep-list li a:hover{background:#16243F;color:#6BB5F8;border-left-color:#4AAFEE}
[data-theme="dark"] .dep-widget .dep-list li a.active{background:rgba(38,147,240,.14);color:#6BB5F8;border-left-color:#4AAFEE}
[data-theme="dark"] .dep-widget .dep-list .count{background:#16243F;color:#9AA8C0}
[data-theme="dark"] .dep-widget .dep-list li a:hover .count{background:#0F1B33}
[data-theme="dark"] .dep-widget .dep-list li a.active .count{background:#2693F0;color:#fff}
