body>header{grid-template-columns:260px minmax(0,1fr) 260px!important;gap:14px!important;min-height:104px!important;padding:8px 18px!important;border-radius:0!important;border-bottom:1px solid #b39255!important}.header-title:before,.header-title:after{display:none!important}.header-ornament{height:7px!important;opacity:.25!important;background-size:180px auto!important;background-position:center 49%!important}body>header h1{font-size:clamp(28px,2.5vw,36px)!important;margin:2px auto!important;line-height:1.1!important}body>header .kicker{font-family:'Palatino Linotype',Palatino,Georgia,serif!important;font-size:12px!important;font-weight:500!important;letter-spacing:1.1px!important}body>header .header-title>p{font:italic 12px/1.4 Palatino,Georgia,serif!important;max-width:none!important;margin:3px 0!important}.header-arabic-invocation{font-size:19px!important;line-height:1.2;margin-top:3px!important}.header-opening-line>span{font-size:13px!important;line-height:1.2!important}.header-opening blockquote{font-size:11px!important;line-height:1.5!important;margin:5px 0 3px!important;max-width:35ch}.header-opening .header-quote-source{display:block!important;font:8px/1.4 Times New Roman,sans-serif;color:#d3c5b3!important}.header-caliphate img,.caliphate-flag img.flag-monochrome{filter:grayscale(1) invert(1)!important;background:#000!important;border:1px solid #fff!important}.header-caliphate{background:#fff!important;padding:2px!important;border-radius:0!important}.layout{grid-template-columns:240px minmax(0,1fr)!important}.layout>aside{padding:13px 12px!important}.layout>aside h2{font-size:23px!important;margin-bottom:9px!important}.layout>aside .research-controls{padding:11px!important;margin-bottom:12px!important}.layout>aside .research-controls h3{font-size:20px!important}.layout>aside .eyebrow{font-size:9px!important}.layout>aside .research-controls p,.layout>aside .research-controls label{font-size:12px!important}.layout>aside #search{padding:9px!important;min-height:38px!important;font-size:12px!important}.layout>aside .toggles{gap:7px!important;margin:11px 0!important;font-size:12px!important}.layout>aside .place,.layout>aside .group{padding:9px!important}.layout>aside .place strong{font-size:12px!important}.layout>aside .place small{font-size:10px!important}.layout>aside .catalog-tabs button{padding:8px!important;min-height:38px!important;font-size:11px!important}.layout>aside .place-navigation{margin:9px 0!important;gap:5px}.layout>aside .place-navigation button{padding:6px!important;min-height:32px!important;font-size:10px!important}.layout>aside .hint{font-size:10px!important;padding:8px!important}.mapwrap:fullscreen .fullscreen-options{width:240px!important;max-height:calc(100vh - var(--map-toolbar-height,100px) - 110px)!important;bottom:auto!important;padding:13px!important}.fullscreen-options h2{font-size:21px!important}.fullscreen-options input,.fullscreen-options select{min-height:36px!important}.fullscreen-options .map-mode-tabs button{min-height:38px!important;padding:8px!important;font-size:14px!important}.fullscreen-options .place,.fullscreen-options .group{padding:8px!important;font-size:12px!important}.fullscreen-options .place-navigation{margin:9px 0!important}.fullscreen-options .research-controls{padding:10px!important}.mapwrap .map-toolbar .map-actions #expand-map{background:#743e50!important;color:#fffbf4!important;border:1px solid #743e50!important;font-size:13px!important;font-weight:700!important;min-height:42px!important;padding:9px 15px!important;box-shadow:0 2px 6px #422e3520!important}.mapwrap .map-toolbar .volga-tool-group{gap:0!important;border:1px solid #a6c1c9;border-radius:5px;overflow:hidden}.mapwrap .map-toolbar .volga-tool-group>button{border:0!important;border-radius:0!important}.mapwrap .map-toolbar .volga-tool-group .volga-reference-info{border-left:1px solid #a6c1c9!important;min-width:36px}.historic-map-thumbnail{display:flex!important;align-items:center;gap:8px!important}.historic-map-thumbnail:before{content:'';display:block;width:32px;height:32px;border-radius:3px;background:url('../../assets/images/al_idrisi_mapa_historico.webp') center/cover;border:1px solid #d5bdab}.map-selection-photo{margin:12px 0 16px!important}.context-rail #map-context-card .map-selection-photo img,#fullscreen-summary .map-selection-photo img{display:block!important;width:100%!important;height:150px!important;object-fit:cover!important;border:1px solid #d5bdab;border-radius:5px;cursor:zoom-in}.map-selection-photo figcaption{font:10px/1.6 Times New Roman,sans-serif!important;color:#735d56!important}.map-selection-photo summary{cursor:pointer;padding:6px 0;color:#743e50}.mapwrap:fullscreen #fullscreen-summary .map-selection-photo img{height:130px!important}.research-agent-entries{padding:22px;background:#fffbf4;border:1px solid #ddcdb8;border-top:3px solid #b39255;border-radius:7px;margin:18px 0}.research-agent-entries>h3{font:26px/1.4 Georgia,serif;margin:8px 0;color:#563947}.research-agent-entries>p{font:14px/1.8 Times New Roman,sans-serif;max-width:85ch}.research-agent-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:18px 0}.agent-profile{border:1px solid #d5bdab;border-radius:6px;background:#f7f0e4;min-width:0}.agent-profile>summary{padding:18px;cursor:pointer}.agent-profile>summary b{display:block;font:22px/1.4 Georgia,serif;color:#743e50}.agent-profile>summary span{display:block;font:13px/1.7 Times New Roman,sans-serif;margin-top:8px}.agent-profile>div{padding:0 18px 18px}.agent-profile section{border-top:1px solid #ddcdb8;margin-top:12px;padding-top:12px}.agent-profile h4{font:600 14px/1.5 Times New Roman,sans-serif}.agent-profile p{font:13px/1.8 Times New Roman,sans-serif}.agent-profile button{padding:10px;min-height:40px;background:#fffbf4;color:#743e50;border:1px solid #cdb6a1;cursor:pointer}.research-agent-entries>small{font:11px/1.7 Times New Roman,sans-serif;color:#735d56}@media(max-width:1100px){body>header{grid-template-columns:210px minmax(0,1fr) 210px!important;gap:10px!important}body>header h1{font-size:29px!important}.layout{grid-template-columns:220px minmax(0,1fr)!important}}@media(max-width:850px){body>header{grid-template-columns:minmax(0,1fr) 48px!important}.header-opening{grid-column:1/-1;grid-row:2;display:flex!important;align-items:center;gap:10px!important;padding-top:6px!important}.header-opening blockquote{margin:0!important;max-width:none!important;font-size:10px!important}.header-opening-line{min-width:130px}.header-opening .header-quote-source{min-width:75px;font-size:7px!important}.header-title{grid-column:1;grid-row:1}.head-note{grid-column:2;grid-row:1}.layout{display:block!important}.header-opening-line>span{font-size:11px!important}.research-agent-grid{grid-template-columns:1fr}}@media(max-width:500px){body>header{padding:7px 10px!important}.header-opening{display:grid!important;grid-template-columns:1fr auto!important;gap:4px!important}.header-opening-line{grid-column:1;grid-row:1}.header-opening blockquote{grid-column:1/-1;grid-row:2;font-size:10px!important}.header-opening .header-quote-source{grid-column:2;grid-row:1}.header-caliphate img{width:38px!important;height:16px!important}.mapwrap:fullscreen .fullscreen-options{width:205px!important;padding:10px!important}.research-agent-entries{padding:16px}.agent-profile>summary{padding:14px}}
body[data-atlas-view=map] .layout{grid-template-columns:240px minmax(0,1fr)!important}body[data-atlas-view=map] .layout>aside{width:auto!important;min-width:0!important;max-width:100%!important;max-height:calc(100vh - 175px)!important;margin:8px 0 8px 8px!important;border:1px solid #ddcdb8!important;border-radius:6px!important;overflow-y:auto!important}@media(max-width:1100px){body[data-atlas-view=map] .layout{grid-template-columns:220px minmax(0,1fr)!important}}@media(max-width:850px){body[data-atlas-view=map] .layout{display:block!important}body[data-atlas-view=map] .layout>aside{max-height:300px!important;margin:8px!important}}
.header-caliphate img,.caliphate-flag img.flag-monochrome{filter:grayscale(1) invert(1) contrast(10)!important}
body[data-atlas-view=map] .layout>aside{max-height:calc(100vh - 225px)!important}.mapwrap:fullscreen .fullscreen-options{max-height:calc(100vh - var(--map-toolbar-height,100px) - 155px)!important}@media(max-width:850px){body[data-atlas-view=map] .layout>aside{max-height:280px!important}}
