/* UCAD visual theme 1.0. Native DSpace components and permissions retained. */
:root{--ucad-navy:#062b50;--ucad-ink:#092753;--ucad-blue:#0075db;--ucad-gold:#dfb65d;--ucad-muted:#64748b;--bs-primary:#0075db;--bs-link-color:#075b9b;--ds-header-bg:#fff;--ds-header-logo-height:64px;--ds-header-logo-height-xs:48px;--ds-navbar-link-color:#092753;--ds-footer-bg:#062b50}
body{color:#29394c;background:#fff;font-family:Arial,Helvetica,sans-serif} a{color:#075b9b} a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #d6ab47!important;outline-offset:4px}
.ucad-utility{height:30px;background:var(--ucad-navy);color:#fff;font:13px Georgia,serif;padding:6px max(24px,calc((100% - 1240px)/2));letter-spacing:.1px}
#main-site-header{background:#fff!important;border:0!important;border-bottom:1px solid #e8edf3!important;min-height:90px!important;box-shadow:none!important;position:relative}
#main-site-header-container{max-width:1288px;min-height:90px!important;padding:12px 24px!important}
#header-left{gap:30px!important} #header-left>a{min-width:252px;display:flex!important;align-items:center;gap:16px;text-decoration:none;position:relative}
#header-left>a:after{content:'UCAD\a Bibliothèque numérique';white-space:pre;line-height:1.03;font-family:Georgia,serif;font-size:35px;font-weight:700;color:var(--ucad-ink);display:block}
#header-logo{height:65px!important;width:65px!important;object-fit:contain!important;max-width:65px!important} #header-right{gap:8px!important} #header-right button{color:var(--ucad-ink)!important;font-size:13px}
#desktop-navbar{margin-left:auto!important} #main-site-navigation{gap:22px!important} #main-site-navigation a,#main-site-navigation button{color:var(--ucad-ink)!important;font:15px Georgia,serif!important;white-space:nowrap;padding-left:0!important;padding-right:0!important}
#header-right ds-lang-switch,#header-right ds-auth-nav-menu{position:relative} #header-right ds-context-help-toggle{font-size:12px}
.btn-primary{background:#0075db!important;border-color:#0075db!important} .btn-primary:hover{background:#005fb7!important;border-color:#005fb7!important} h1,h2,h3{color:var(--ucad-ink)}
ds-home-page{display:block} ds-home-page ds-base-home-page{display:block} body:has(ds-home-page) #main-content{padding-top:0!important} body:has(ds-home-page) main{padding-bottom:0!important}
ds-home-news .background-image-container{height:420px!important;margin:0!important;background:linear-gradient(90deg,rgba(2,35,65,.95) 0%,rgba(3,36,63,.84) 34%,rgba(4,35,58,.16) 68%,rgba(3,25,45,.03)),url('/assets/ucad/hero.webp') center center/cover!important;color:#fff;position:relative!important;overflow:hidden}
ds-home-news .background-image-container>.container{height:100%;max-width:1288px;padding:0 24px}
ds-home-news .background-image,ds-home-news .credits{display:none!important}
ds-home-news .home-news-content{padding:48px 0 0!important;margin:0!important;background:none!important;height:auto!important}
ds-home-news .home-news-content .container{padding:0!important;margin:0!important;max-width:none!important} ds-home-news .jumbotron{background:none!important;padding:0!important;margin:0!important}
.ucad-hero-copy{max-width:670px} .ucad-eyebrow{color:#efc86e;font:700 12px Georgia,serif;letter-spacing:1.35px;display:flex;align-items:center;gap:14px;margin-bottom:16px}.ucad-eyebrow:before{content:'';width:36px;height:2px;background:#e4bc65;display:block}
.ucad-hero-copy h1{font:700 clamp(34px,3.5vw,55px)/1.06 Georgia,serif!important;letter-spacing:-1.6px;color:#fff!important;margin:0 0 17px!important;text-wrap:balance}
.ucad-hero-copy p{font:19px/1.5 Georgia,serif;color:#edf2f7;max-width:600px;margin:0!important}
ds-base-home-page>.container{max-width:1288px;padding:0 24px;margin-top:-99px;position:relative;z-index:2}
ds-home-page ds-search-form{display:block;width:585px;max-width:100%;margin-bottom:86px}
ds-home-page ds-search-form .input-group{border:4px solid #fff;border-radius:6px;background:#fff;box-shadow:0 10px 30px #001a3726;min-height:54px;margin-bottom:0!important}
ds-home-page ds-search-form input{border:none!important;padding:12px 17px;font:15px Georgia,serif!important;background:#fff!important;box-shadow:none!important;border-radius:3px!important;min-width:0}
ds-home-page ds-search-form .search-button{font:15px Georgia,serif;border-radius:3px!important;padding:10px 22px!important;min-width:120px}
ds-home-page ds-search-form .search-button i{display:none}
ds-top-level-community-list{display:block;padding-bottom:24px} ds-top-level-community-list h2{font:700 32px/1.2 Georgia,serif;text-align:center;letter-spacing:-.8px;margin-bottom:18px;position:relative}
ds-top-level-community-list h2:after{content:'';display:block;height:2px;width:40px;background:#dfb65d;margin:12px auto 0}
ds-top-level-community-list p.lead{font:16px/1.5 Georgia,serif;color:#66768c;text-align:center;margin-bottom:25px}
ds-top-level-community-list ul[data-test=objects]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;padding:0;margin:0 0 12px}
ds-top-level-community-list ul[data-test=objects]>li{background:#fff;border:1px solid #e8edf2;border-radius:8px;box-shadow:0 4px 18px #09275308;padding:22px;transition:transform .2s,box-shadow .2s}
ds-top-level-community-list ul[data-test=objects]>li:hover{transform:translateY(-3px);box-shadow:0 10px 25px #09275310}
ds-top-level-community-list ul[data-test=objects]:empty{display:block;border:1px solid #e7edf4;border-radius:8px;background:#fafbfd;padding:25px;text-align:center;color:#64748b;font-size:14px}
ds-top-level-community-list ul[data-test=objects]:empty:before{content:'Les communautés et collections apparaîtront ici dès leur création.'}
ds-home-page ds-recent-item-list{display:block} body:has(ds-home-page){background:linear-gradient(#fff 540px,#f8fafc 540px,#fff 900px)}
ds-footer{display:block;margin-top:0!important} ds-footer footer{background:#062b50!important} ds-footer .top-footer{background:#fff!important;padding:0!important;margin:0!important} .ucad-about{display:none;max-width:1288px;padding:30px 24px 38px;margin:auto;grid-template-columns:1fr 1fr;gap:62px;align-items:center;text-align:left}
body:has(ds-home-page) .ucad-about{display:grid}.ucad-about-copy:before{content:'';display:block;background:#dfb65d;width:40px;height:2px;margin-bottom:19px}.ucad-about h2{font:700 35px/1.17 Georgia,serif;letter-spacing:-.8px;margin:0 0 15px;color:#092753}.ucad-about p{font:18px/1.6 Georgia,serif;color:#62718a;margin:0}.ucad-about img{width:100%;height:245px;object-fit:cover;border-radius:8px}
.ucad-footer-bar{background:#062b50;color:#fff;padding:27px max(24px,calc((100% - 1240px)/2));display:flex;align-items:center;justify-content:space-between;gap:30px;text-align:left}
.ucad-footer-brand{display:flex;align-items:center;gap:15px;min-width:245px}.ucad-footer-brand img{width:53px;height:53px;background:#fff;object-fit:contain;border-radius:50%;padding:3px}.ucad-footer-brand strong{font:700 29px/1 Georgia,serif;display:block;color:#fff}.ucad-footer-brand span{font:13px Georgia,serif;display:block;margin-top:5px;color:#e7eff9}.ucad-footer-links{display:flex;gap:25px;flex-wrap:wrap;align-items:center}.ucad-footer-links a{color:#fff!important;font:13px Georgia,serif;text-decoration:none}.ucad-footer-links a:hover{text-decoration:underline}.ucad-footer-note{font:12px/1.5 Georgia,serif;color:#d6e0ef;max-width:260px}
ds-footer .bottom-footer{background:#062b50!important;border-top:1px solid #ffffff18;padding:12px 24px!important;color:#dce7f3!important} ds-footer .bottom-footer .content-container{width:100%;max-width:1240px;display:flex;align-items:center;justify-content:space-between;gap:20px} ds-footer .bottom-footer p{font-size:11px!important;color:#b9cadd!important} ds-footer .bottom-footer ul{flex-wrap:wrap!important} ds-footer .bottom-footer .btn{font-size:11px!important;padding:3px 8px!important;color:#dce7f3!important}
@media(min-width:1200px){#header-right ds-lang-switch,#header-right ds-auth-nav-menu{position:absolute;top:-25px}#header-right ds-auth-nav-menu{right:max(24px,calc((100vw - 1240px)/2))}#header-right ds-lang-switch{right:max(152px,calc((100vw - 1240px)/2 + 130px))}#header-right ds-lang-switch button,#header-right ds-auth-nav-menu button{color:#fff!important;font-size:12px!important;padding:0 5px!important}#header-right ds-auth-nav-menu .dropdown-menu{top:26px!important}#header-right ds-lang-switch .dropdown-menu{top:26px!important}}
@media(max-width:1199px){#header-left{gap:14px!important}#header-left>a{min-width:215px}#header-left>a:after{font-size:28px}#main-site-navigation{gap:14px!important}#main-site-navigation a,#main-site-navigation button{font-size:14px!important}.ucad-footer-note{display:none}}
@media(max-width:767px){.ucad-utility{font-size:11px;text-align:center;padding:7px 10px;height:29px}#main-site-header-container{padding:9px 16px!important;min-height:76px!important}#main-site-header{min-height:76px!important}#header-left>a{min-width:0;gap:9px}#header-logo{width:43px!important;height:48px!important;max-width:43px!important}#header-left>a:after{font-size:21px;max-width:147px;line-height:1.15}#header-left{gap:0!important}#header-right{gap:0!important}#header-right ds-context-help-toggle{display:none}#header-right button{font-size:12px!important}#mobile-navbar-toggler{margin-left:8px!important}ds-home-news .background-image-container{height:450px!important;background-position:62% center!important}ds-home-news .background-image-container>.container{padding:0 22px}ds-home-news .home-news-content{padding-top:40px!important}.ucad-hero-copy{max-width:100%}.ucad-eyebrow{font-size:10px;letter-spacing:1px}.ucad-hero-copy h1{font-size:38px!important;line-height:1.1!important;letter-spacing:-1px;max-width:550px}.ucad-hero-copy p{font-size:17px;max-width:500px}ds-base-home-page>.container{padding:0 20px;margin-top:-93px}ds-home-page ds-search-form{margin-bottom:71px}ds-home-page ds-search-form input{font-family:Arial,sans-serif!important;font-size:13px!important;padding:10px!important}ds-home-page ds-search-form .search-button{min-width:92px;padding:9px 12px!important;font-size:13px}ds-top-level-community-list h2{font-size:27px}ds-top-level-community-list p.lead{font-size:15px}ds-top-level-community-list ul[data-test=objects]{grid-template-columns:1fr}.ucad-about{grid-template-columns:1fr;gap:25px;padding:25px 22px 32px}.ucad-about h2{font-size:29px}.ucad-about p{font-size:16px}.ucad-about img{height:210px}.ucad-footer-bar{flex-direction:column;align-items:flex-start;padding:27px 22px;gap:22px}.ucad-footer-links{gap:18px}ds-footer .bottom-footer .content-container{flex-direction:column;gap:8px}ds-footer .bottom-footer ul{gap:1px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
/* Official UCAD emblem with live SVG typography in native logo asset. */
#header-left>a:after{display:none!important}#header-logo{width:270px!important;max-width:270px!important;height:73px!important;object-fit:contain!important}#header-left>a{min-width:270px}
@media(max-width:1199px){#header-logo{width:230px!important;max-width:230px!important;height:65px!important}#header-left>a{min-width:230px}}
@media(max-width:767px){#header-logo{width:185px!important;max-width:185px!important;height:51px!important}#header-left>a{min-width:0!important}}

#header-logo{content:url("/assets/ucad/brand.svg")} ds-themed-header-navbar-wrapper>div{border-bottom:0!important} ds-home-news .background-image-container:before,ds-home-news .background-image-container:after{background:none!important}

@media(min-width:768px){ds-home-news .background-image-container{height:365px!important} ds-home-news .home-news-content{padding-top:35px!important}.ucad-hero-copy h1{font-size:50px!important}.ucad-about{padding-top:22px;padding-bottom:28px}.ucad-about img{height:235px}}
ds-home-news .background-image-container .container{background:transparent!important}
#header-right .dropdown-menu button{color:#092753!important}#header-right .dropdown-menu button.btn-primary{color:#fff!important}#header-right .dropdown-menu a{color:#092753!important}
ds-home-news .background-image-container .container:before,ds-home-news .background-image-container .container:after{display:none!important;background:none!important;content:none!important}ds-home-news .background-image-container .container{text-shadow:none!important}
