/* AEQR · Contenido descargable — mismo lenguaje visual que el panel de coordinación:
   tarjeta con cabecera oscura para el acceso, layout claro y denso para el repositorio. */
.aeqd{
	--ink:#14131A; --soft:#6b6760; --line:#e3ddd2; --paper:#fbf9f4; --bg:#f4f2ee;
	--gold:var(--aeqd-acento,#F4BD4D); --gold-deep:#c8901f; --bad:#B91C1C;
	font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
	color:var(--ink); background:var(--bg); min-height:100vh; -webkit-tap-highlight-color:transparent;
}
.aeqd *{ box-sizing:border-box; }
.aeqd [hidden]{ display:none !important; }

/* --- acceso --- */
.aeqd__gate{ max-width:400px; margin:0 auto; padding:56px 14px 40px; }
.aeqd__card{
	background:#fff; border:1px solid var(--line); border-radius:16px; overflow:hidden;
	box-shadow:0 1px 2px rgba(20,19,26,.06), 0 24px 48px -24px rgba(20,19,26,.35);
}
.aeqd__top{ background:var(--ink); height:78px; display:flex; align-items:center; justify-content:center; padding:0 20px; }
.aeqd__ev{ font-family:Georgia,'Times New Roman',serif; font-size:16px; color:#fff; letter-spacing:.02em; }
/* !important: Elementor fuerza ".elementor img{height:auto;max-width:100%}" con más especificidad. */
.aeqd__logo{ height:50px !important; width:auto !important; max-width:none !important; object-fit:contain !important; }
.aeqd__body{ padding:26px 22px 24px; display:flex; flex-direction:column; gap:10px; text-align:center; }
.aeqd__body h2{ margin:0; font-size:19px; font-weight:600; }
.aeqd__lead{ margin:0 0 6px; font-size:13.5px; line-height:1.5; color:var(--soft); }
.aeqd__label{ font-size:12px; color:var(--soft); text-align:left; font-weight:500; }
.aeqd__input{
	font:inherit; font-size:16px; padding:12px 13px; border-radius:10px; border:1px solid var(--line);
	background:var(--paper); color:var(--ink); width:100%; letter-spacing:.04em;
}
.aeqd__input:focus{ outline:none; background:#fff; border-color:var(--gold-deep); box-shadow:0 0 0 3px rgba(244,189,77,.28); }
.aeqd__error{ color:var(--bad); font-size:13px; text-align:left; line-height:1.4; }
.aeqd__cta{
	display:block; margin-top:4px; padding:13px 18px; border:0; border-radius:10px; background:var(--gold);
	color:#1c1710 !important; font-weight:700; font-size:14.5px; cursor:pointer; width:100%; text-align:center;
	text-decoration:none !important; transition:filter .15s ease, transform .12s ease;
}
.aeqd__cta:hover{ filter:brightness(1.04); }
.aeqd__cta:active{ transform:translateY(1px); }
.aeqd__cta--sm{ margin:0; padding:10px 14px; font-size:13.5px; }
.aeqd__soporte{
	margin-top:10px; padding-top:16px; border-top:1px solid var(--line);
	display:flex; flex-direction:column; align-items:center; gap:8px; font-size:13px; color:var(--soft);
}
.aeqd__btn-ghost{
	display:inline-block; padding:9px 18px; border-radius:9px; border:1px solid var(--ink);
	color:var(--ink) !important; font-weight:600; font-size:13.5px; text-decoration:none !important; background:transparent;
}
.aeqd__btn-ghost:hover{ background:var(--ink); color:#fff !important; }
.aeqd__hp{ position:absolute !important; left:-9999px !important; width:1px; height:1px; overflow:hidden; }

/* --- repositorio --- */
.aeqd__dash{ max-width:1160px; margin:0 auto; padding:20px 20px 56px; display:flex; flex-direction:column; gap:22px; }
.aeqd__topbar{ display:flex; align-items:center; justify-content:space-between; gap:14px; flex-wrap:wrap; }
.aeqd__title-txt{ font-family:Georgia,'Times New Roman',serif; font-size:24px; color:var(--ink); }
.aeqd__logo-dash{ height:75px !important; width:auto !important; max-width:none !important; object-fit:contain !important; display:block; }
.aeqd__topbar-right{ display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.aeqd__quien{ font-size:13px; color:var(--soft); }
.aeqd__btn{
	display:inline-block; padding:9px 16px; border-radius:9px; border:1px solid var(--ink); background:var(--ink);
	color:#fff !important; font-size:13.5px; font-weight:600; text-decoration:none !important; cursor:pointer; white-space:nowrap;
}
.aeqd__btn:hover{ filter:brightness(1.2); }
.aeqd__btn--ghost{ background:transparent; color:var(--ink) !important; }
.aeqd__btn--ghost:hover{ background:var(--ink); color:#fff !important; filter:none; }
.aeqd__intro h1{ margin:0 0 4px; font-family:Georgia,'Times New Roman',serif; font-size:32px; font-weight:400; }
.aeqd__intro p{ margin:0; color:var(--soft); font-size:14.5px; }
.aeqd__grupo{ display:flex; flex-direction:column; gap:14px; }
.aeqd__grupo-head{ display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; padding-bottom:10px; border-bottom:1px solid var(--line); }
.aeqd__grupo-head h2{ margin:0; font-size:18px; font-weight:600; }
.aeqd__grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(230px,1fr)); gap:16px; }
.aeqd__item{
	background:#fff; border:1px solid var(--line); border-radius:14px; overflow:hidden;
	display:flex; flex-direction:column; gap:10px; padding-bottom:12px;
	box-shadow:0 1px 2px rgba(20,19,26,.05);
}
.aeqd__media{ background:#e9e5dc; aspect-ratio:16/10; display:flex; align-items:center; justify-content:center; overflow:hidden; }
.aeqd__media a{ display:block; width:100%; height:100%; }
.aeqd__media img{ width:100% !important; height:100% !important; object-fit:cover; display:block; }
.aeqd__media video{ width:100%; height:100%; object-fit:cover; background:#000; }
.aeqd__doc{ font-size:13px; color:var(--soft); }
.aeqd__meta{ display:flex; flex-direction:column; gap:2px; padding:0 12px; min-width:0; }
.aeqd__nombre{ font-size:13px; font-weight:600; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.aeqd__tam{ font-size:12px; color:var(--soft); }
.aeqd__item .aeqd__cta{ margin:0 12px; width:auto; }
.aeqd__vacio{ background:#fff; border:1px solid var(--line); border-radius:14px; padding:28px; text-align:center; display:flex; flex-direction:column; align-items:center; gap:12px; color:var(--soft); }

@media (max-width:560px){
	.aeqd__gate{ padding-top:28px; }
	.aeqd__dash{ padding:14px 14px 40px; }
	.aeqd__logo-dash{ height:56px !important; }
	.aeqd__intro h1{ font-size:26px; }
	.aeqd__grid{ grid-template-columns:repeat(auto-fill,minmax(160px,1fr)); gap:12px; }
}

/* --- v0.10.1: selección, íconos flotantes, ZIP y visor --- */
.aeqd__media{ position:relative; }
.aeqd__media img,.aeqd__media video{ cursor:zoom-in; }
.aeqd__item{ transition:box-shadow .15s ease, outline-color .15s ease; outline:2px solid transparent; outline-offset:-1px; }
.aeqd__item.is-sel{ outline-color:var(--gold-deep); box-shadow:0 0 0 3px rgba(244,189,77,.28); }
.aeqd__meta{ padding-bottom:2px; }

.aeqd__acciones{ position:absolute; top:10px; right:10px; display:flex; gap:8px; z-index:2; }
.aeqd__ico{
	width:36px; height:36px; padding:0; border:0; border-radius:50%; cursor:pointer;
	display:inline-flex; align-items:center; justify-content:center;
	background:rgba(20,19,26,.62); color:#fff !important; text-decoration:none !important;
	-webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px);
	transition:background .15s ease, color .15s ease, transform .12s ease;
}
.aeqd__ico:hover,.aeqd__ico:focus-visible{ background:var(--gold); color:#1c1710 !important; }
.aeqd__ico:active{ transform:scale(.94); }
.aeqd__ico:focus-visible{ outline:2px solid #fff; outline-offset:2px; }

.aeqd__chk{ position:absolute; top:10px; left:10px; z-index:2; width:26px; height:26px; margin:0; cursor:pointer; display:block; }
.aeqd__chk input{ position:absolute; inset:0; width:100%; height:100%; margin:0; opacity:0; cursor:pointer; }
.aeqd__chk span{
	position:absolute; inset:0; border-radius:7px; background:rgba(255,255,255,.92); border:1.5px solid rgba(20,19,26,.45);
	box-shadow:0 1px 3px rgba(20,19,26,.3); transition:background .12s ease, border-color .12s ease;
}
.aeqd__chk input:checked + span{ background:var(--gold); border-color:var(--gold-deep); }
.aeqd__chk input:checked + span::after{
	content:""; position:absolute; left:8px; top:3px; width:6px; height:12px;
	border:solid #1c1710; border-width:0 2.5px 2.5px 0; transform:rotate(45deg);
}
.aeqd__chk input:focus-visible + span{ outline:2px solid var(--ink); outline-offset:2px; }

.aeqd__zipform{ display:flex; align-items:center; gap:14px; flex-wrap:wrap; margin:0; }
.aeqd__todos{ display:inline-flex; align-items:center; gap:8px; font-size:13.5px; color:var(--ink); cursor:pointer; margin:0; }
.aeqd__todos input{ width:17px; height:17px; margin:0; accent-color:var(--gold-deep); cursor:pointer; }
.aeqd__count{ font-size:13px; color:var(--soft); min-width:92px; }
.aeqd__zip:disabled{ opacity:.35; cursor:not-allowed; filter:none; }
.aeqd__zip:disabled:hover{ filter:none; }

/* visor: vive fuera de .aeqd (se añade al body), por eso define sus propios valores */
html.aeqd-noscroll{ overflow:hidden; }
.aeqd-modal{
	position:fixed; inset:0; z-index:99999; background:rgba(12,11,16,.92);
	display:flex; align-items:center; justify-content:center; padding:64px 56px 32px;
	font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
}
.aeqd-modal[hidden]{ display:none !important; }
.aeqd-modal__stage{ width:100%; height:100%; display:flex; align-items:center; justify-content:center; min-width:0; }
.aeqd-modal__stage img,.aeqd-modal__stage video{
	max-width:100%; max-height:100%; width:auto !important; height:auto !important; object-fit:contain;
	border-radius:6px; box-shadow:0 20px 60px rgba(0,0,0,.5); background:#000;
}
.aeqd-modal__bar{ position:absolute; top:0; left:0; right:0; display:flex; align-items:center; gap:14px; padding:12px 16px; color:#fff; }
.aeqd-modal__nombre{ flex:1; min-width:0; font-size:14px; font-weight:600; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.aeqd-modal__bajar{
	padding:9px 16px; border-radius:9px; background:#F4BD4D; color:#1c1710 !important; font-weight:700; font-size:13.5px;
	text-decoration:none !important; cursor:pointer;
}
.aeqd-modal__bajar:hover{ filter:brightness(1.05); }
.aeqd-modal__cerrar{
	width:38px; height:38px; border:0; border-radius:50%; background:rgba(255,255,255,.14); color:#fff; font-size:26px; line-height:1;
	cursor:pointer; display:inline-flex; align-items:center; justify-content:center; padding:0 0 3px;
}
.aeqd-modal__cerrar:hover{ background:rgba(255,255,255,.28); }
.aeqd-modal__nav{
	position:absolute; top:50%; transform:translateY(-50%); width:44px; height:44px; border:0; border-radius:50%;
	background:rgba(255,255,255,.14); color:#fff; font-size:32px; line-height:1; cursor:pointer; padding:0 0 4px;
	display:inline-flex; align-items:center; justify-content:center;
}
.aeqd-modal__nav:hover{ background:rgba(255,255,255,.28); }
.aeqd-modal__nav--prev{ left:10px; }
.aeqd-modal__nav--next{ right:10px; }
.aeqd-modal.is-solo .aeqd-modal__nav{ display:none; }

@media (max-width:560px){
	.aeqd__zipform{ width:100%; justify-content:space-between; }
	.aeqd__count{ display:none; }
	.aeqd-modal{ padding:60px 8px 16px; }
	.aeqd-modal__nav{ width:38px; height:38px; font-size:28px; }
	.aeqd-modal__nav--prev{ left:4px; }
	.aeqd-modal__nav--next{ right:4px; }
}

/* --- v0.10.2: ícono de descarga y casilla, blindados contra los estilos del tema ---
   Se anclan a ".aeqd" para ganar especificidad a "a{}", "button{}" y ".elementor a{}". */
.aeqd .aeqd__media[data-zoom]{ cursor:zoom-in; }
.aeqd .aeqd__media[data-zoom]:focus-visible{ outline:3px solid var(--gold-deep); outline-offset:-3px; }

.aeqd .aeqd__acciones{ position:absolute; top:10px; right:10px; z-index:2; display:block; margin:0; padding:0; line-height:0; }
.aeqd a.aeqd__ico{
	box-sizing:border-box; display:flex; align-items:center; justify-content:center; flex:none;
	width:36px; height:36px; min-width:36px; min-height:36px; margin:0; padding:0; border:0; border-radius:50%;
	/* Tinta con anillo blanco fino: contrasta igual sobre fotos claras y oscuras. */
	background:rgba(20,19,26,.86); color:#fff !important; opacity:1 !important; line-height:0; text-decoration:none; cursor:pointer;
	box-shadow:0 0 0 1.5px rgba(255,255,255,.9), 0 4px 14px -2px rgba(0,0,0,.55);
	-webkit-backdrop-filter:none; backdrop-filter:none;
	transition:background-color .16s ease, color .16s ease, transform .16s ease, box-shadow .16s ease;
}
.aeqd a.aeqd__ico svg{ display:block; width:18px; height:18px; flex:none; stroke:currentColor !important; fill:none !important; opacity:1 !important; pointer-events:none; }
.aeqd a.aeqd__ico:hover,
.aeqd a.aeqd__ico:focus-visible{
	background:var(--gold); color:#1c1710 !important; transform:translateY(-1px);
	box-shadow:0 0 0 1.5px #fff, 0 8px 18px -4px rgba(0,0,0,.55);
}
.aeqd a.aeqd__ico:active{ transform:translateY(0) scale(.95); }
.aeqd a.aeqd__ico:focus-visible{ outline:2px solid var(--ink); outline-offset:2px; }

/* casilla: misma familia visual (esquinas suaves, sombra), centrada con el ícono */
.aeqd .aeqd__chk{ top:15px; left:15px; width:24px; height:24px; }
.aeqd .aeqd__chk span{
	border-radius:7px; background:rgba(20,19,26,.55); border:2px solid rgba(255,255,255,.95);
	box-shadow:0 4px 14px -2px rgba(0,0,0,.5);
}
.aeqd .aeqd__chk:hover span{ background:rgba(20,19,26,.8); }
.aeqd .aeqd__chk input:checked + span{ background:var(--gold); border-color:#fff; }
.aeqd .aeqd__chk input:checked + span::after{ left:6px; top:1px; }

/* --- v0.11.0: secciones (álbumes) dentro de cada evento ---
   Subtítulo → línea divisoria → grid → respiro antes de la siguiente sección. */
.aeqd .aeqd__grupo--secs .aeqd__grupo-head{ border-bottom:0; padding-bottom:0; }
.aeqd .aeqd__seccion + .aeqd__seccion{ margin-top:28px; }
.aeqd .aeqd__sec-head{
	display:flex; align-items:baseline; flex-wrap:wrap; gap:4px 14px;
	padding-bottom:10px; margin:0 0 16px; border-bottom:1px solid var(--line);
}
.aeqd .aeqd__sec-head h3{
	margin:0; font-family:Georgia,'Times New Roman',serif; font-size:23px; font-weight:400;
	line-height:1.2; letter-spacing:.005em; color:var(--ink);
}
.aeqd .aeqd__sec-n{ font-size:12.5px; color:var(--soft); }
.aeqd .aeqd__secall{
	margin:0 0 0 auto; display:inline-flex; align-items:center; gap:7px; align-self:center;
	font-size:12.5px; color:var(--soft); cursor:pointer;
}
.aeqd .aeqd__secall:hover{ color:var(--ink); }
.aeqd .aeqd__secall input{ width:16px; height:16px; margin:0; accent-color:var(--gold-deep); cursor:pointer; }
@media (max-width:560px){
	.aeqd .aeqd__sec-head h3{ font-size:20px; }
	.aeqd .aeqd__seccion + .aeqd__seccion{ margin-top:22px; }
}
