:root{--ucc-primary:#ca0049;--ucc-ink:#202838;--ucc-muted:#697386;--ucc-line:#e7eaf0;--ucc-soft:#f7f8fb}
.ucc-hero{background:linear-gradient(120deg,#24152e 0%,#4b1637 48%,#ca0049 100%);color:#fff;border-radius:18px;margin:8px 0 30px;overflow:hidden;position:relative}.ucc-hero-inner{max-width:980px;margin:auto;padding:48px 24px 44px;text-align:center}.ucc-eyebrow{font-size:.76rem;font-weight:800;letter-spacing:.18em;opacity:.82}.ucc-hero h2{font-size:clamp(2rem,4vw,3.25rem);font-weight:800;line-height:1.1;margin:12px 0}.ucc-hero p{font-size:1.08rem;opacity:.9;margin:0 0 25px}.ucc-search{display:flex;max-width:800px;margin:0 auto;background:#fff;border-radius:12px;padding:6px;box-shadow:0 12px 35px #130b1938;gap:6px}.ucc-search input{flex:1;min-width:0;border:0!important;box-shadow:none!important;padding:14px 17px;font-size:1rem;color:#202838;background:transparent}.ucc-search button{border:0;border-radius:9px;background:var(--ucc-primary);color:#fff;padding:0 22px;font-weight:700;white-space:nowrap}.ucc-layout{display:grid;grid-template-columns:235px minmax(0,1fr);gap:28px}.ucc-sidebar{border:1px solid var(--ucc-line);border-radius:14px;padding:18px;height:max-content;background:#fff}.ucc-sidebar h3{font-size:1rem;margin:0 0 12px}.ucc-category-accordion>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;cursor:pointer;list-style:none;font-weight:800;font-size:1rem;padding:2px 2px 14px}.ucc-category-accordion>summary::-webkit-details-marker{display:none}.ucc-accordion-chevron{transition:transform .2s ease;color:var(--ucc-primary);font-size:1.25rem}.ucc-category-accordion:not([open]) .ucc-accordion-chevron{transform:rotate(-90deg)}.ucc-category-list{max-height:65vh;overflow-y:auto;padding-right:3px}.ucc-category{display:block;padding:10px 12px;border-radius:8px;color:var(--ucc-ink);text-decoration:none;margin:2px 0;font-size:.93rem}.ucc-category:hover,.ucc-category.active{background:#fff0f5;color:var(--ucc-primary);font-weight:700}.ucc-category{border:1px solid transparent;transition:background .16s ease,border-color .16s ease}.ucc-category:hover{border-color:#f5d3e0}.ucc-results-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 18px}.ucc-results-head h3{margin:0;font-size:1.45rem;font-weight:800}.ucc-results-head p{margin:4px 0 0;color:var(--ucc-muted);font-size:.9rem}.ucc-sort{display:flex;align-items:center;gap:8px;color:var(--ucc-muted);font-size:.88rem}.ucc-sort select{max-width:180px;border:1px solid var(--ucc-line);border-radius:8px;padding:8px 10px;background:#fff}.ucc-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.ucc-card{border:1px solid #dfe3ea;border-radius:16px;overflow:hidden;background:linear-gradient(160deg,#fff 0%,#fffafd 58%,#f8f9ff 100%);display:flex;flex-direction:column;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;box-shadow:0 2px 8px rgba(32,40,56,.035)}.ucc-card:hover{transform:translateY(-5px);border-color:#e8a8c1;box-shadow:0 16px 34px rgba(202,0,73,.12),0 4px 12px rgba(32,40,56,.05)}.ucc-card-body{background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(252,250,253,.98))}.ucc-card-image{height:170px;display:block;position:relative;background:#eef0f5;overflow:hidden}.ucc-card-image img{width:100%;height:100%;object-fit:cover}.ucc-card-category{position:absolute;left:12px;top:12px;background:#fff;color:var(--ucc-primary);border-radius:5px;padding:5px 8px;font-size:.72rem;font-weight:800;max-width:85%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ucc-card-body{padding:15px;display:flex;flex:1;flex-direction:column}.ucc-course-code{font-size:.72rem;letter-spacing:.08em;color:var(--ucc-muted);font-weight:700;text-transform:uppercase}.ucc-card h4{font-size:1.03rem;line-height:1.35;margin:7px 0 9px;font-weight:800}.ucc-card h4 a{color:var(--ucc-ink);text-decoration:none}.ucc-card h4 a:hover{color:var(--ucc-primary)}.ucc-summary{font-size:.87rem;color:var(--ucc-muted);line-height:1.55;margin:0 0 13px}.ucc-price-row{display:flex;align-items:center;margin:0 0 4px}.ucc-price{display:inline-flex;align-items:center;border-radius:7px;padding:5px 9px;background:#fff0f5;color:var(--ucc-primary);font-weight:900;font-size:1rem;letter-spacing:.01em}.ucc-rating{display:flex;align-items:center;gap:6px;font-size:.8rem;margin-top:auto;padding:5px 0 13px;color:var(--ucc-ink)}.ucc-stars{color:#f5a623;letter-spacing:1px;white-space:nowrap}.ucc-review-count{color:var(--ucc-muted)}.ucc-card-footer{border-top:1px solid var(--ucc-line);padding-top:12px;display:flex;align-items:center;justify-content:space-between;gap:8px}.ucc-selfpaced{font-size:.76rem;color:var(--ucc-muted)}.ucc-buy{background:var(--ucc-primary);color:#fff!important;text-decoration:none!important;padding:9px 11px;border-radius:8px;font-size:.8rem;font-weight:800;white-space:nowrap}.ucc-buy:hover{background:#a9003c}.ucc-empty{text-align:center;padding:55px 15px;background:var(--ucc-soft);border-radius:14px}.ucc-empty-icon{font-size:3rem;color:#c0c6d2}.ucc-empty h3{margin:10px 0}.ucc-empty p{color:var(--ucc-muted)}.ucc-pagination{display:flex;gap:7px;justify-content:center;margin:25px 0}.ucc-pagination a{padding:8px 12px;border:1px solid var(--ucc-line);border-radius:7px;text-decoration:none}.ucc-pagination a.active{background:var(--ucc-primary);border-color:var(--ucc-primary);color:#fff}.ucc-reviews{margin:42px 0 20px}.ucc-reviews>h3{font-weight:800}.ucc-review-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.ucc-review{border:1px solid var(--ucc-line);border-radius:12px;padding:16px}.ucc-review h4{margin:7px 0;font-size:1rem}.ucc-review p{font-size:.9rem;color:var(--ucc-muted)}.ucc-review small{color:var(--ucc-muted)}@media(max-width:1100px){.ucc-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:767px){.ucc-layout{grid-template-columns:1fr;gap:18px}.ucc-sidebar{display:block}.ucc-category-list{max-height:45vh}.ucc-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ucc-card-image{height:135px}.ucc-card-body{padding:12px}.ucc-card-footer{align-items:flex-start;flex-direction:column}.ucc-buy{width:100%;text-align:center}.ucc-results-head{align-items:flex-start;flex-direction:column}.ucc-review-grid{grid-template-columns:1fr}.ucc-hero-inner{padding:34px 16px}.ucc-search button{padding:0 12px}}@media(max-width:440px){.ucc-grid{grid-template-columns:1fr}.ucc-card-image{height:190px}.ucc-card-footer{flex-direction:row;align-items:center}.ucc-buy{width:auto}}

/* Hierarchical category accordion: top-level categories and nested children, up to three levels. */
.ucc-category-node{border-top:1px solid #edf0f4;margin:2px 0}.ucc-category-node:first-of-type{border-top:0}.ucc-category-node>summary{display:flex;align-items:center;justify-content:space-between;gap:8px;cursor:pointer;list-style:none;padding:11px 7px;font-weight:700;color:var(--ucc-ink);border-radius:8px}.ucc-category-node>summary::-webkit-details-marker{display:none}.ucc-category-node>summary:hover{background:#fff5f8;color:var(--ucc-primary)}.ucc-category-node[open]>summary .ucc-accordion-chevron{transform:rotate(180deg)}.ucc-category-children{padding:0 0 8px 10px;margin-left:5px;border-left:2px solid #f5d3e0}.ucc-category-level-2>summary{font-size:.92rem;font-weight:600;padding:8px 7px}.ucc-category-level-3{font-size:.88rem;padding-left:7px}.ucc-category-viewall{font-size:.82rem!important;font-weight:700;color:var(--ucc-primary)!important;background:#fff5f8;margin-bottom:5px!important}.ucc-category-node .ucc-category-node{border-top:1px dashed #e8eaf0}.ucc-category-node .ucc-category-node:first-of-type{border-top:0}.ucc-category-list>.ucc-category-node{margin-bottom:3px}


/* Enhanced category navigation: layered surfaces, vivid active states and animated hover. */
.ucc-sidebar{background:linear-gradient(155deg,#fff 0%,#fff9fc 55%,#f8f7ff 100%);border:1px solid #e5dfe8;box-shadow:0 12px 32px rgba(49,20,44,.07);position:relative;overflow:hidden}
.ucc-sidebar:before{content:"";position:absolute;inset:0 0 auto;height:4px;background:linear-gradient(90deg,#ca0049,#f36ba0,#8d5be8)}
.ucc-category-accordion>summary{padding-top:6px;font-size:1.03rem}
.ucc-category-list{scrollbar-width:thin;scrollbar-color:#e5a2bf transparent}
.ucc-category-list>.ucc-category{margin:6px 0;padding:11px 13px;border-radius:10px;background:rgba(255,255,255,.72);border:1px solid #f0e8ef;font-weight:600;transition:transform .18s ease,box-shadow .18s ease,background .18s ease}
.ucc-category-list>.ucc-category:hover{transform:translateX(3px);background:#fff0f6;box-shadow:0 5px 13px rgba(202,0,73,.08)}
.ucc-category-list>.ucc-category.active{background:linear-gradient(110deg,#ca0049,#e33277);color:#fff;border-color:transparent;box-shadow:0 7px 16px rgba(202,0,73,.2)}
.ucc-category-node{border:1px solid #eee5ed!important;border-radius:10px;margin:7px 0!important;background:rgba(255,255,255,.7);overflow:hidden;transition:border-color .2s ease,box-shadow .2s ease}
.ucc-category-node[open]{border-color:#f0c4d5!important;box-shadow:0 5px 14px rgba(70,25,55,.055)}
.ucc-category-node>summary{padding:12px 10px;background:linear-gradient(100deg,rgba(255,255,255,.96),rgba(255,245,250,.92));font-weight:750;transition:background .18s ease,color .18s ease}
.ucc-category-node>summary:hover{background:linear-gradient(100deg,#fff0f6,#f5efff);color:var(--ucc-primary)}
.ucc-category-level-1>summary{font-size:.94rem}
.ucc-category-level-2{margin:6px 0 6px 5px!important;border-radius:8px!important;background:#fcfbff}
.ucc-category-level-2>summary{font-size:.89rem;padding:10px 9px}
.ucc-category-level-3{border:0!important;border-radius:7px!important;background:transparent;margin:3px 0!important}
.ucc-category-level-3 .ucc-category{padding:9px 10px;margin:3px 0;border-radius:7px;font-size:.86rem}
.ucc-category-children{padding:5px 8px 9px 11px;margin-left:8px;border-left:2px solid #f1c7d9}
.ucc-category-viewall{display:block!important;border:1px solid #f6d9e5!important;background:#fff5f9!important;border-radius:8px!important;padding:8px 10px!important}
.ucc-category-viewall:hover{background:#ffe8f1!important;transform:translateX(2px)}
.ucc-accordion-chevron{display:inline-flex;align-items:center;justify-content:center;width:25px;height:25px;border-radius:7px;background:#fff0f5;font-size:1rem;font-weight:800}
.ucc-category-node[open]>summary .ucc-accordion-chevron{background:#ca0049;color:#fff}
/* Stronger price and more visible rating stars. */
.ucc-price{color:#ca0049;font-size:1.2rem;font-weight:900;padding:6px 10px;background:linear-gradient(110deg,#fff0f5,#fff8fb);border:1px solid #f6d5e2}
.ucc-stars{font-size:1.18rem;line-height:1.2;letter-spacing:1.5px;color:#f4a51c;text-shadow:0 1px 0 rgba(150,90,0,.08)}
.ucc-rating{gap:7px}
.ucc-review .ucc-stars{font-size:1.35rem}
@media(max-width:767px){.ucc-sidebar{box-shadow:0 7px 20px rgba(49,20,44,.06)}.ucc-category-list>.ucc-category{padding:10px 11px}}

/* v1.0.9: enforce the catalogue enhancements and avoid stale/theme-overridden styling. */
.ucc-sidebar{background:linear-gradient(145deg,#fff 0%,#fff7fb 58%,#f7f4ff 100%)!important;border:1px solid #e6dce6!important;border-radius:16px!important;box-shadow:0 12px 30px rgba(61,19,48,.10),inset 0 1px 0 #fff!important;padding:18px!important;}
.ucc-category-accordion>summary{display:flex!important;align-items:center!important;justify-content:space-between!important;list-style:none!important;cursor:pointer!important;padding:8px 9px 14px!important;font-weight:800!important;color:#272334!important;border-bottom:1px solid #f0e2eb!important;}
.ucc-category-accordion>summary::-webkit-details-marker,.ucc-category-node>summary::-webkit-details-marker{display:none!important;}
.ucc-category-accordion>summary::marker,.ucc-category-node>summary::marker{content:""!important;display:none!important;}
.ucc-category-list{padding:8px 1px 2px!important;scrollbar-width:thin!important;scrollbar-color:#e5a2bf transparent!important;}
.ucc-category-node{display:block!important;border:1px solid #eee1eb!important;border-radius:11px!important;margin:7px 0!important;background:linear-gradient(110deg,#fff 0%,#fff8fb 100%)!important;overflow:hidden!important;box-shadow:0 2px 6px rgba(47,24,43,.025)!important;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease!important;}
.ucc-category-node:hover{border-color:#e8a2bd!important;box-shadow:0 6px 15px rgba(202,0,73,.09)!important;transform:translateY(-1px)!important;}
.ucc-category-node>summary{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;list-style:none!important;cursor:pointer!important;padding:11px 10px!important;color:#30263a!important;background:linear-gradient(100deg,#fff 0%,#fff5fa 100%)!important;font-weight:700!important;}
.ucc-category-node>summary:hover{color:#ca0049!important;background:linear-gradient(100deg,#fff0f6,#f5efff)!important;}
.ucc-category-node>summary .ucc-accordion-chevron,.ucc-category-accordion>summary .ucc-accordion-chevron{display:inline-flex!important;flex:0 0 23px!important;align-items:center!important;justify-content:center!important;width:23px!important;height:23px!important;border-radius:7px!important;background:#fff0f5!important;color:#ca0049!important;font-size:15px!important;font-weight:900!important;}
.ucc-category-node[open]>summary .ucc-accordion-chevron,.ucc-category-accordion[open]>summary .ucc-accordion-chevron{background:#ca0049!important;color:#fff!important;}
.ucc-category-children{padding:5px 8px 9px 11px!important;margin:0 0 0 8px!important;border-left:2px solid #f1c7d9!important;background:rgba(255,255,255,.7)!important;}
.ucc-category-viewall{display:block!important;padding:9px 10px!important;margin:3px 0 6px!important;border:1px solid #f6d9e5!important;border-radius:8px!important;background:#fff5f9!important;color:#ca0049!important;font-weight:750!important;text-decoration:none!important;}
.ucc-category{display:block!important;padding:9px 10px!important;margin:3px 0!important;border-radius:8px!important;color:#303044!important;text-decoration:none!important;transition:all .18s ease!important;}
.ucc-category:hover{background:#fff0f6!important;color:#ca0049!important;transform:translateX(2px)!important;}
.ucc-category.active{background:linear-gradient(110deg,#ca0049,#e33277)!important;color:#fff!important;font-weight:800!important;box-shadow:0 5px 13px rgba(202,0,73,.18)!important;}
.ucc-price-row .ucc-price,.ucc-price{display:inline-flex!important;align-items:center!important;color:#ca0049!important;font-size:1.25rem!important;line-height:1.25!important;font-weight:900!important;letter-spacing:.01em!important;padding:6px 11px!important;border:1px solid #f3c7d8!important;border-radius:9px!important;background:linear-gradient(110deg,#fff0f5,#fff9fc)!important;}
.ucc-rating .ucc-stars,.ucc-stars{display:inline-block!important;color:#f0a21a!important;font-size:1.35rem!important;line-height:1.15!important;letter-spacing:1.5px!important;text-shadow:0 1px 0 rgba(150,90,0,.08)!important;white-space:nowrap!important;}
.ucc-rating{gap:8px!important;}
.ucc-review .ucc-stars{font-size:1.45rem!important;}

/* v1.1.2: give the category sidebar more room while preserving responsive layout. */
.ucc-layout{grid-template-columns:minmax(270px,300px) minmax(0,1fr)!important;gap:30px!important}
.ucc-sidebar{min-width:0}
@media(max-width:1100px){.ucc-layout{grid-template-columns:minmax(250px,275px) minmax(0,1fr)!important;gap:22px!important}}
@media(max-width:767px){.ucc-layout{grid-template-columns:minmax(0,1fr)!important;gap:18px!important}}


/* v1.1.3: explicitly widen the category column and invalidate older layout rules. */
body.path-local-coursecatalog .ucc-layout, .ucc-layout {
  display: grid !important;
  grid-template-columns: minmax(320px, 350px) minmax(0, 1fr) !important;
  column-gap: 32px !important;
  align-items: start !important;
}
body.path-local-coursecatalog .ucc-sidebar, .ucc-sidebar {
  width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}
@media (max-width: 1200px) {
  body.path-local-coursecatalog .ucc-layout, .ucc-layout {
    grid-template-columns: minmax(285px, 310px) minmax(0, 1fr) !important;
    column-gap: 24px !important;
  }
}
@media (max-width: 767px) {
  body.path-local-coursecatalog .ucc-layout, .ucc-layout {
    grid-template-columns: minmax(0, 1fr) !important;
    row-gap: 18px !important;
  }
}

/* v1.1.8 featured / hot course slider */
.ucc-hot{margin:8px 0 28px;padding:22px;border:1px solid #f0dce6;border-radius:18px;background:linear-gradient(130deg,#fff 0%,#fff7fb 56%,#f8f4ff 100%);box-shadow:0 10px 28px rgba(53,20,45,.07)}
.ucc-hot-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.ucc-hot-kicker{font-size:.7rem;letter-spacing:.16em;font-weight:900;color:#ca0049}.ucc-hot-heading h2{margin:3px 0;font-size:1.55rem;font-weight:850;color:#202838}.ucc-hot-heading p{margin:0;color:#697386;font-size:.9rem}.ucc-hot-controls{display:flex;gap:8px}.ucc-hot-controls button{width:40px;height:40px;border:1px solid #f0c5d7;border-radius:50%;background:#fff;color:#ca0049;font-size:1.7rem;line-height:1;cursor:pointer;box-shadow:0 4px 12px rgba(202,0,73,.08)}.ucc-hot-controls button:hover{background:#ca0049;color:#fff}.ucc-hot-viewport{overflow:hidden;scrollbar-width:none;padding:2px 1px 12px;overscroll-behavior-x:contain}.ucc-hot-track{display:flex;gap:16px;align-items:stretch}.ucc-hot-card{flex:0 0 calc((100% - (var(--ucc-hot-gap, 16px) * (var(--ucc-hot-count, 3) - 1)))/var(--ucc-hot-count, 3));min-width:0;border:1px solid #e3e5eb;border-radius:14px;overflow:hidden;background:#fff;display:flex;flex-direction:column;scroll-snap-align:start;box-shadow:0 3px 10px rgba(32,40,56,.045);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.ucc-hot-viewport[data-per-view="1"]{--ucc-hot-count:1}.ucc-hot-viewport[data-per-view="2"]{--ucc-hot-count:2}.ucc-hot-viewport[data-per-view="3"]{--ucc-hot-count:3}.ucc-hot-viewport[data-per-view="4"]{--ucc-hot-count:4}.ucc-hot-viewport[data-per-view="5"]{--ucc-hot-count:5}.ucc-hot-card:hover{transform:translateY(-3px);border-color:#e9a7c2;box-shadow:0 12px 24px rgba(202,0,73,.11)}.ucc-hot-image{height:155px;display:block;background:#f0f1f5;overflow:hidden}.ucc-hot-image img{width:100%;height:100%;object-fit:cover}.ucc-hot-body{padding:14px;display:flex;flex-direction:column;flex:1}.ucc-hot-category{font-size:.73rem;font-weight:800;color:#ca0049}.ucc-hot-body h3{font-size:1rem;line-height:1.35;margin:6px 0 8px;font-weight:800}.ucc-hot-body h3 a{color:#202838;text-decoration:none}.ucc-hot-body p{font-size:.84rem;line-height:1.5;color:#697386;margin:0 0 12px}.ucc-hot-bottom{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:auto;padding:7px 0 12px}.ucc-hot-bottom strong{color:#ca0049;font-size:1.08rem;font-weight:900}.ucc-hot-stars{color:#f4a51c;letter-spacing:1px;white-space:nowrap}.ucc-hot-cta{display:flex;justify-content:space-between;align-items:center;padding:9px 11px;background:#ca0049;color:#fff!important;border-radius:8px;text-decoration:none!important;font-size:.82rem;font-weight:800}.ucc-hot-cta:hover{background:#a9003c}@media(max-width:767px){.ucc-hot{padding:15px}.ucc-hot-card{flex-basis:calc((100% - 12px)/2)}.ucc-hot-image{height:130px}}@media(max-width:440px){.ucc-hot-card{flex-basis:88%}.ucc-hot-heading h2{font-size:1.3rem}}
