/*
Theme Name: Atlético Chiquinquirá S.A.S.
Theme URI: https://www.atleticochiquinquira.com.co/
Author: Atlético Chiquinquirá S.A.S.
Description: Tema oficial de Atlético Chiquinquirá S.A.S. Portada con eventos, software para clubes, medios, servicios y tienda. Compatible con Elementor.
Version: 1.1.2
Requires at least: 6.0
Requires PHP: 7.4
License: Uso exclusivo de Atlético Chiquinquirá S.A.S.
Text Domain: atletico
*/

:root{--navy:#14243F;--navy-deep:#0D182C;--red:#C1272D;--ink:#16181D;--muted:#4A5160;--bg:#F5F3EE;--line:#E3DFD6;--soft:#D6DBE5;--green:#1D7A4A}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:110px}
body.admin-bar header.site-header{top:32px}
body{margin:0;background:var(--bg);color:var(--ink);font-family:'Libre Franklin','Helvetica Neue',Arial,sans-serif;line-height:1.6}
img{max-width:100%;display:block}
a{color:inherit}
a:focus-visible,button:focus-visible{outline:3px solid var(--red);outline-offset:3px}
.wrap{width:100%;max-width:1280px;margin:0 auto;padding:0 24px}
h1,h2,h3{font-family:'Barlow Condensed','Arial Narrow',sans-serif;font-weight:800;text-transform:uppercase;line-height:1;margin:0;color:var(--navy)}
h2{font-size:clamp(34px,5vw,56px)}
h3{font-size:28px;font-weight:700}
p{margin:0}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 26px;border-radius:999px;font-weight:600;font-size:16px;text-decoration:none;border:2px solid transparent;transition:background .15s,color .15s}
.btn-red{background:var(--red);color:#fff}.btn-red:hover{background:#a01f24}
.btn-navy{background:var(--navy);color:#fff}.btn-navy:hover{background:#0d182c}
.btn-green{background:var(--green);color:#fff}.btn-green:hover{background:#166139}
.btn-line{border-color:#fff;color:#fff}.btn-line:hover{background:rgba(255,255,255,.12)}
/* header */
header.site-header{position:sticky;top:0;z-index:20;background:#fff;border-bottom:1px solid var(--line)}
.head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-top:10px;padding-bottom:10px}
.head .logo img{width:170px;height:auto}
nav ul{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:26px}
nav a{text-decoration:none;font-weight:500;font-size:15px;color:var(--navy)}
nav a:hover{color:var(--red)}
.menu-btn{display:none;width:48px;height:48px;border:0;background:transparent;cursor:pointer;align-items:center;justify-content:center}
/* hero */
.hero{background:var(--navy);color:#fff}
.hero .wrap{display:grid;grid-template-columns:1.1fr .9fr;gap:56px;align-items:center;padding-top:88px;padding-bottom:88px}
.live{display:inline-flex;align-items:center;gap:10px;padding:8px 16px;border-radius:999px;background:rgba(255,255,255,.1);font-size:14px;font-weight:500;text-decoration:none;color:#fff}
.live i{width:8px;height:8px;border-radius:50%;background:#ff5a5f;display:block}
.hero h1{color:#fff;font-size:clamp(46px,6.4vw,88px);line-height:.95;margin:24px 0}
.hero p{font-size:20px;color:var(--soft);max-width:560px}
.hero .ctas{display:flex;flex-wrap:wrap;gap:14px;margin-top:30px}
.ph{border-radius:20px;border:2px dashed rgba(255,255,255,.4);min-height:440px;display:flex;align-items:center;justify-content:center;text-align:center;padding:24px;color:var(--soft)}
section{padding:88px 0}
.grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:32px;text-decoration:none;color:var(--ink);display:flex;flex-direction:column;gap:14px}
a.card:hover{border-color:var(--navy)}
.card p{color:var(--muted);font-size:16px}
.card.soon{background:#EBE7DD;border-style:dashed;border-color:#9AA1AD}
.sec-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:40px;flex-wrap:wrap}
.sec-head a{font-weight:600}
.event{padding:0;overflow:hidden}
.event .img{height:200px;background:#DFE3EA;display:flex;align-items:center;justify-content:center;color:var(--muted);font-size:14px}
.event .body{padding:24px;display:flex;flex-direction:column;gap:10px;align-items:flex-start}
.event .meta{font-size:13px;font-weight:600;color:var(--red)}
.software{background:#fff;border:1px solid var(--line);border-radius:24px;padding:56px;display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}
.software ul{list-style:none;padding:0;margin:22px 0;display:flex;flex-direction:column;gap:12px;font-size:17px}
.software li{display:flex;gap:12px;align-items:center}
.panel{background:var(--navy);border-radius:18px;padding:24px;color:#fff;display:flex;flex-direction:column;gap:16px}
.panel .top{display:flex;justify-content:space-between;font-size:14px;color:var(--soft)}
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.stats div{background:rgba(255,255,255,.08);border-radius:12px;padding:16px}
.stats span{display:block;font-size:13px;color:var(--soft)}
.stats b{font-family:'Barlow Condensed',sans-serif;font-size:32px}
.rows{background:#fff;border-radius:12px;padding:6px 16px;color:var(--ink)}
.rows div{display:flex;justify-content:space-between;padding:12px 0;border-bottom:1px solid var(--line);font-size:15px}
.rows div:last-child{border:0}
.ok{color:var(--green);font-weight:600}.due{color:#A8431A;font-weight:600}
.media{background:var(--navy-deep);color:#fff}
.media h2,.media h3{color:#fff}
.media .card{background:rgba(255,255,255,.06);border:0;color:#fff}
.media .card p{color:#C9D0DC}
.play{display:flex;align-items:center;gap:14px;background:#fff;color:var(--navy);border-radius:999px;padding:8px 20px 8px 8px;border:0;font:600 15px 'Libre Franklin',sans-serif;cursor:pointer;align-self:flex-start}
.play span{width:44px;height:44px;border-radius:50%;background:var(--red);display:flex;align-items:center;justify-content:center}
.big{padding:48px}.big h3{font-size:clamp(30px,3.5vw,42px);font-weight:800}
.store{background:var(--red);color:#fff;border-radius:24px;padding:56px 64px;display:flex;justify-content:space-between;align-items:center;gap:32px;flex-wrap:wrap}
.store h2{color:#fff;font-size:clamp(30px,4vw,46px);max-width:620px;margin-top:10px}
.store small{font-size:14px;font-weight:600}
footer{background:var(--navy);color:#fff;padding:72px 0 36px}
.fgrid{display:grid;grid-template-columns:1.3fr 1fr .8fr;gap:48px}
footer img{width:200px;margin-bottom:18px}
footer h3{color:#fff;font-size:30px;margin-bottom:12px}
footer h4{margin:0 0 12px;font-size:16px}
footer p,footer li{color:var(--soft);font-size:16px}
footer ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
footer ul a{text-decoration:none}footer ul a:hover{color:#fff}
.legal{border-top:1px solid rgba(255,255,255,.15);margin-top:48px;padding-top:22px;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:14px;color:#B4BCCB}
@media (max-width:960px){
  nav{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;border-bottom:1px solid var(--line)}
  nav.open{display:block}
  nav ul{flex-direction:column;align-items:stretch;gap:0;padding:8px 24px 20px}
  nav li a{display:block;padding:14px 0;border-bottom:1px solid var(--line)}
  nav li:last-child a{border:0;margin-top:12px}
  .menu-btn{display:flex}
  .head .logo img{width:140px}
  .hero .wrap,.software,.grid2{grid-template-columns:1fr}
  .grid3{grid-template-columns:1fr}
  .fgrid{grid-template-columns:1fr;gap:32px}
  .ph{min-height:220px}
  section{padding:52px 0}
  .hero .wrap{padding-top:44px;padding-bottom:52px;gap:32px}
  .software,.big{padding:26px}
  .store{padding:30px 24px}
  .hero .ctas .btn,.store .btn{width:100%}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* páginas internas y Elementor */
.page-wrap{padding:64px 0 88px}
.page-wrap .entry-title{font-size:clamp(36px,5vw,60px);margin-bottom:28px}
.entry-content{max-width:820px;font-size:17px}
.entry-content h2{margin:36px 0 14px}.entry-content p{margin:0 0 16px}
.entry-content a{color:var(--red)}
.full-width-content{width:100%}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px)}
.hero-img{border-radius:20px;width:100%;height:auto;object-fit:cover}
nav ul.sub-menu{display:none}
.hero-logo{width:100%;max-width:520px;height:auto;margin:0 auto}
@media (max-width:960px){.hero-logo{max-width:320px}}
.ally{background:#fff;border-top:1px solid var(--line);padding:32px 0}
.ally-inner{display:flex;flex-direction:column;align-items:center;gap:14px;text-align:center}
.ally-label{font-size:14px;font-weight:500;color:var(--muted);display:flex;align-items:center;gap:14px}
.ally-label::before,.ally-label::after{content:"";width:48px;height:1px;background:var(--line)}
.ally-link{display:flex;align-items:center;gap:18px;text-decoration:none;color:var(--navy)}
.ally-crest{width:88px;height:88px;border-radius:50%;overflow:hidden;flex:none;display:block}
.ally-crest img{width:100%;height:100%;object-fit:cover;transform:scale(1.14);display:block}
.ally-text{display:flex;flex-direction:column;align-items:flex-start;line-height:1.1}
.ally-text strong{font-family:'Barlow Condensed',sans-serif;font-weight:800;font-size:28px;text-transform:uppercase}
.ally-text small{font-size:14px;color:var(--muted);margin-top:4px}
.ally-link:hover strong{color:var(--red)}
@media (max-width:960px){.ally-crest{width:72px;height:72px}.ally-text strong{font-size:24px}}

/* ===== Eventos ===== */
.page-hero{background:var(--navy);color:#fff;padding:64px 0 56px}
.page-hero h1{color:#fff;font-size:clamp(40px,6vw,76px);line-height:.95;margin:10px 0 0}
.page-hero p{color:var(--soft);font-size:19px;max-width:640px;margin-top:18px}
.ev-card .ev-media{position:relative;display:block;aspect-ratio:16/10;background:var(--navy);overflow:hidden}
.ev-card .ev-media img{width:100%;height:100%;object-fit:cover}
.ev-noimg{display:flex;align-items:center;justify-content:center;width:100%;height:100%}
.ev-noimg img{width:55%!important;height:auto!important;object-fit:contain!important}
.ev-date{position:absolute;top:14px;left:14px;background:#fff;color:var(--navy);border-radius:12px;padding:8px 12px;text-align:center;font-size:13px;font-weight:600;text-transform:uppercase;line-height:1.1;min-width:58px}
.ev-date b{display:block;font-family:'Barlow Condensed',sans-serif;font-size:30px;font-weight:800}
.ev-card h3 a{text-decoration:none;color:var(--navy)}.ev-card h3 a:hover{color:var(--red)}
.ev-status{display:inline-block;font-size:13px;font-weight:600;color:var(--green)}
.ev-pronto .ev-status{color:#A8431A}.ev-cerradas .ev-status,.ev-finalizado .ev-status{color:var(--muted)}
.ev-line{color:var(--muted);font-size:15px}
.ev-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:8px}
.ev-more{font-weight:600;font-size:15px;color:var(--navy)}
.ev-finalizado .ev-media img{filter:grayscale(.35)}
.ev-empty{align-items:flex-start;max-width:720px}
.org{background:#fff;border:1px solid var(--line);border-radius:24px;padding:48px;display:flex;justify-content:space-between;align-items:center;gap:32px;flex-wrap:wrap}
.org h2{font-size:clamp(30px,4vw,44px)}.org p{color:var(--muted);font-size:17px;max-width:640px;margin-top:12px}
.ev-back{color:var(--soft);font-size:15px;display:inline-block;margin-bottom:14px}
.ev-status-light{color:#8FE3B5;display:block}
.ev-detail{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:48px;align-items:start}
.ev-cover img{width:100%;height:auto;border-radius:18px;margin-bottom:28px}
.ev-side{position:sticky;top:130px;background:#fff;border:1px solid var(--line);border-radius:20px;padding:28px;display:flex;flex-direction:column;gap:12px}
.ev-side dl{margin:0 0 8px;display:flex;flex-direction:column}
.ev-side dl div{padding:12px 0;border-bottom:1px solid var(--line)}
.ev-side dt{font-size:13px;color:var(--muted);font-weight:600}
.ev-side dd{margin:2px 0 0;font-size:16px;color:var(--ink)}
.ev-full{width:100%}
.ev-outline{border-color:var(--navy);color:var(--navy)}.ev-outline:hover{background:var(--navy);color:#fff}
.ev-share{text-align:center;font-weight:600;font-size:15px;color:var(--green);margin-top:4px}
@media (max-width:960px){.ev-detail{grid-template-columns:1fr}.ev-side{position:static}.org{padding:26px}.page-hero{padding:40px 0}}
