/* Categorías reales de LifterLMS en los ocho universos */
.ag-universe-intro{background:linear-gradient(110deg,#FFF9FC 0%,#EAE7EF 100%);border-bottom:1px solid #E0D6E4;padding:55px 0}
.ag-universe-intro-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(290px,.75fr);align-items:center;gap:48px}
.ag-universe-intro-text h1{font:500 clamp(38px,4.5vw,60px)/1.13 Georgia,'Times New Roman',serif;letter-spacing:-.025em;color:#493851;margin:13px 0 18px}
.ag-universe-intro-text p{font-size:16px;color:#665D6D;line-height:1.75;max-width:550px}
.ag-universe-number{display:inline-flex;align-items:center;margin:9px 0 15px;border-radius:99px;border:1px solid #DBC8E5;background:#FFFFFFB8;color:#8050A7;padding:6px 15px;font-size:13px;font-weight:850}
.ag-universe-back{display:block;color:#A01B74;font-size:14px;font-weight:800;width:max-content;max-width:100%;margin-top:13px}
.ag-universe-back:hover{text-decoration:underline}
.ag-universe-hero-photo{border-radius:21px;overflow:hidden;border:1px solid #E2D9E7;background:white;box-shadow:0 14px 35px rgba(61,58,70,.08)}
.ag-universe-hero-photo img{display:block;width:100%;aspect-ratio:1.5/1;object-fit:cover}
.ag-universe-list{background:#FFF9FC}
.ag-universe-course-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.ag-universe-course-card{background:white;border:1px solid #E7DEEB;border-radius:18px;overflow:hidden;box-shadow:0 8px 20px rgba(61,58,70,.055);transition:transform .25s ease,box-shadow .25s ease}
.ag-universe-course-card:nth-child(4n+1){border-bottom:3px solid #FF3FA4}
.ag-universe-course-card:nth-child(4n+2){border-bottom:3px solid #8A5CF6}
.ag-universe-course-card:nth-child(4n+3){border-bottom:3px solid #D9B65B}
.ag-universe-course-card:nth-child(4n){border-bottom:3px solid #CAB5E5}
.ag-universe-course-card:hover{transform:translateY(-3px);box-shadow:0 15px 29px rgba(61,58,70,.1)}
.ag-universe-course-link{display:flex;flex-direction:column;height:100%;color:#3D3A46}
.ag-universe-course-link:focus-visible,.ag-universe-switch a:focus-visible{outline:3px solid #8A5CF6;outline-offset:3px}
.ag-universe-course-image{background:#EAE7EF;aspect-ratio:1.6/1;overflow:hidden}
.ag-universe-course-image img{display:block;width:100%;height:100%;object-fit:contain}
.ag-universe-course-copy{padding:18px 19px 20px;display:flex;flex-direction:column;flex:1}
.ag-universe-course-tag{font-size:10px;letter-spacing:.09em;font-weight:900;color:#8A5CF6;margin-bottom:12px}
.ag-universe-course-copy h3{font:600 21px/1.3 Georgia,'Times New Roman',serif;color:#493A50;margin:0 0 25px}
.ag-universe-course-cta{display:flex;justify-content:space-between;gap:14px;align-items:center;padding-top:13px;border-top:1px solid #EAE7EF;margin-top:auto;color:#A31B73;font-size:13px;font-weight:850}
.ag-universe-course-cta span{font-size:21px;color:#8A5CF6;line-height:1}
.ag-universe-pagination{text-align:center;margin:32px auto 0}
.ag-universe-pagination .page-numbers{display:inline-block;margin:4px;padding:8px 13px;border:1px solid #DED3E4;border-radius:9px;color:#5B4671}
.ag-universe-pagination .page-numbers.current{background:#8A5CF6;border-color:#8A5CF6;color:white}
.ag-universe-all-courses{text-align:center;margin-top:33px}
.ag-universe-all-courses .button{border-radius:99px}
.ag-universe-empty{text-align:center;padding:35px;border:1px solid #E7DFE9;border-radius:17px;background:white}
.ag-universe-nav-section{background:#F2ECF5;border-top:1px solid #E7DFE9}
.ag-universe-switch{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}
.ag-universe-switch a{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:17px;background:white;border:1px solid #E4DDE8;border-radius:13px;color:#4A3A50;font-size:13px;font-weight:850;line-height:1.45}
.ag-universe-switch a:hover{border-color:#B29ACD;color:#8A5CF6}
.ag-universe-switch a.is-current{border-color:#BA98D9;background:#FCF9FF}
.ag-universe-switch small{display:grid;place-items:center;flex:0 0 26px;height:26px;font-size:11px;color:#7D56A1;background:#F2EAF7;border-radius:50%}
@media(max-width:900px){.ag-universe-intro-grid{gap:24px}.ag-universe-course-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ag-universe-switch{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.ag-universe-intro{padding:35px 0}.ag-universe-intro-grid{grid-template-columns:1fr;gap:22px}.ag-universe-hero-photo{max-width:540px}.ag-universe-intro-text h1{font-size:38px}.ag-universe-course-grid{grid-template-columns:1fr;gap:16px;max-width:500px;margin:auto}.ag-universe-course-copy h3{font-size:21px}.ag-universe-switch{grid-template-columns:1fr 1fr;gap:9px}.ag-universe-switch a{padding:12px;font-size:12px;min-height:66px}.ag-universe-switch small{flex-basis:24px;height:24px}}
@media(max-width:390px){.ag-universe-switch{grid-template-columns:1fr}.ag-universe-switch a{min-height:48px}}
@media(prefers-reduced-motion:reduce){.ag-universe-course-card{transition:none}}
