/* Detalle de campaña — estilos encapsulados, Joomla 6.1.x */
.og-cd{--og-accent:#ec5b13;--og-accent-hover:#ba430b;--og-control:#a63b08;--og-control-hover:#8d3106;max-width:80rem;margin:0 auto 3rem;padding:1rem;color:inherit}
.og-cd *{box-sizing:border-box}
.og-cd-hero{position:relative;min-height:8.3rem;margin:0 0 2rem;padding:0 0 1.1rem}
.og-cd-hero-line{position:absolute;bottom:0;left:0;right:0;height:2.8rem;background:var(--og-accent)}
.og-cd-hero-content{position:relative;z-index:1;display:flex;align-items:end;gap:1rem;padding:1rem 1rem 0;min-height:7.1rem}
.og-cd-hero-image{width:8rem;height:5.9rem;object-fit:cover;background:#eee;border:2px solid #fff;flex:0 0 auto}
.og-cd-title{font-size:clamp(1.5rem,2.6vw,2rem);font-weight:750;line-height:1.2;color:#161616;background:#fff;margin:0 0 1.1rem;padding:.2rem .6rem}
.og-cd-description{margin:1rem 0 2.4rem;line-height:1.65;max-width:74ch}
.og-cd-description p:last-child{margin-bottom:0}
.og-cd-filter-nav{margin-bottom:2rem}
.og-cd-filter-list{display:flex;flex-wrap:wrap;list-style:none;gap:.55rem;margin:0;padding:0}
.og-cd-filter-list a{display:inline-block;padding:.35rem .85rem;border:1px solid #c0c0c0;border-radius:2rem;color:#333;text-decoration:none;font-size:.92rem}
.og-cd .og-cd-filter-list a[aria-current="page"],.og-cd .og-cd-filter-list a[aria-current="page"]:visited{background:var(--og-control);border-color:var(--og-control);color:#fff!important;font-weight:700;text-decoration:none}
.og-cd-section{margin:0 0 3.8rem}
.og-cd-section-title{display:flex;align-items:center;gap:.45rem;color:#bd430b;font-size:clamp(1.3rem,2vw,1.65rem);font-weight:750;margin:0 0 1.25rem}
.og-cd-section-icon{color:var(--og-accent);font-size:1.25em;line-height:1}
.og-cd-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2.1rem 3rem;align-items:start}
.og-cd-resource{min-width:0;max-width:31rem}
.og-cd-resource-title{font-size:1.02rem;line-height:1.45;color:#ae3d09;font-weight:700;margin:0 0 .55rem}
.og-cd-image-link{display:block;max-width:100%;width:100%;text-decoration:none}
.og-cd-image-link img{width:100%;height:auto;max-height:18rem;aspect-ratio:16/9;object-fit:cover;display:block}
/* Cápsulas: tres columnas y miniaturas uniformes, sin deformar las imágenes. */
.og-cd .og-cd-grid-albums{grid-template-columns:repeat(3,minmax(0,1fr));gap:1.75rem}
.og-cd .og-cd-grid-albums .og-cd-resource{width:100%;max-width:none}
.og-cd .og-cd-grid-albums .og-cd-image-link{width:100%;aspect-ratio:4/3;overflow:hidden;background:#f2f2f2}
.og-cd .og-cd-grid-albums .og-cd-image-link img{display:block;width:100%;height:100%;max-height:none;aspect-ratio:auto;object-fit:cover;object-position:center}
@media (max-width:900px){.og-cd .og-cd-grid-albums{grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem}}
@media (max-width:600px){.og-cd .og-cd-grid-albums{grid-template-columns:1fr}}
.og-cd-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem;margin-top:.5rem}
.og-cd-button{display:inline-block;min-height:2.5rem;padding:.58rem 1rem;border-radius:3rem;background:var(--og-control);color:#fff!important;text-align:center;text-decoration:none!important;font-weight:650;font-size:.9rem;line-height:1.4}
.og-cd .og-cd-button:hover,.og-cd .og-cd-button:focus-visible{background:var(--og-control-hover);color:#fff!important}
.og-cd-resource audio{display:block;width:100%;margin:.7rem 0 .45rem}
.og-cd-audio-download{display:block;padding:.6rem 1rem;background:#ececec;color:#a33b08;text-align:center;font-weight:600;text-decoration:none;font-size:.85rem}
.og-cd-audio-download:hover{background:#dedede}
.og-cd-empty{padding:1rem;border:1px solid #ddd}
.og-cd :focus-visible{outline:3px solid #005fcc;outline-offset:3px}
@media(max-width:700px){.og-cd{padding:.75rem}.og-cd-grid{grid-template-columns:1fr;gap:1.7rem}.og-cd-hero-content{padding:.5rem .3rem 0;gap:.55rem}.og-cd-hero-image{width:6rem;height:4.5rem}.og-cd-hero-line{height:2rem}.og-cd-title{margin-bottom:.75rem}.og-cd-section{margin-bottom:2.5rem}}
@media(prefers-reduced-motion:reduce){.og-cd *, .og-cd *::before,.og-cd *::after{scroll-behavior:auto!important;transition:none!important}}

/* Contraste AA y retroalimentación del estado activo: color de texto siempre legible. */
.og-cd .og-cd-filter-list a[aria-current="page"]:hover,
.og-cd .og-cd-filter-list a[aria-current="page"]:focus-visible {
    background:var(--og-control-hover);border-color:var(--og-control-hover);color:#fff!important;
}
.og-cd .og-cd-filter-list a:not([aria-current="page"]):hover,
.og-cd .og-cd-filter-list a:not([aria-current="page"]):focus-visible{
    background:#f2f2f2;color:#202020!important;border-color:#555;
}
.og-cd .og-cd-button:visited{color:#fff!important}
.og-cd .og-cd-audio-download:focus-visible{color:#7c2c05;text-decoration:underline}
@media (forced-colors:active){
 .og-cd .og-cd-filter-list a[aria-current="page"]{border:2px solid Highlight;outline:1px solid CanvasText}
 .og-cd .og-cd-button{border:1px solid ButtonText}
}
