.reference-portal { --reference-blue:#00445e; --reference-masthead:150px; background:#f4f6f7; }
.reference-portal .reference-brand-caption { display:none; }
.reference-portal .civic-rail-end { display:none; }
.reference-portal .civic-navigation > a,.reference-portal .civic-navigation .nav-dropdown > a { gap:10px; font-size:.78rem; line-height:1.28; font-weight:650; text-transform:uppercase; }
.reference-portal .civic-navigation a > .portal-icon { width:18px; height:18px; flex:none; color:#667686; }
.reference-portal .civic-navigation .reference-nav-leaf:not(:has(.portal-icon)),.reference-portal .nav-dropdown > a:not(:has(.portal-icon)) { padding-left:28px; }
.reference-portal .civic-navigation > .reference-doc-green,.reference-portal .civic-navigation > .reference-doc-blue,.reference-portal .reference-doc-green > a,.reference-portal .reference-doc-blue > a { padding:11px 13px; border-radius:18px; text-transform:none; font-size:.9rem; color:white; margin:4px 0; }
.reference-portal .civic-navigation > .reference-doc-green,.reference-portal .reference-doc-green > a { background:#217b43; }
.reference-portal .civic-navigation > .reference-doc-blue,.reference-portal .reference-doc-blue > a { background:var(--reference-blue); }
.reference-portal .civic-navigation :is(.reference-doc-green,.reference-doc-blue) .portal-icon { color:inherit; }
.reference-portal .reference-search-bar { background:var(--reference-blue); padding:10px 24px; }
.reference-portal .reference-search-bar form { max-width:1000px; margin:0 auto; display:flex; align-items:center; border-radius:99px; background:#fff; overflow:hidden; }
.reference-portal .reference-search-bar input { flex:1; min-width:0; padding:10px 17px; background:transparent; border:0; }
.reference-portal .reference-search-bar button { flex:none; background:transparent; color:var(--reference-blue); border:0; width:48px; height:42px; display:grid; place-items:center; }
.reference-portal .reference-search-bar .portal-icon { width:22px; height:22px; }
.reference-portal :is(a,button,input):focus-visible { outline:2px solid #ba5917; outline-offset:2px; }
.reference-portal .reference-search-bar :focus-visible { outline-offset:-3px; }
.reference-portal .civic-hero { color:#104e45; background:transparent; padding:36px 0 12px; }
.reference-portal .civic-hero > .container { background:linear-gradient(180deg,transparent 80%,#4164a4 80%),linear-gradient(90deg,#b6dfcf 0 71%,#398874 71% 84%,#d1daef 84%); border-radius:12px; padding:22px clamp(18px,4vw,46px) 76px; }
.reference-portal .civic-hero .civic-hero-title { color:inherit; font-size:clamp(2rem,4vw,3.7rem); max-width:19ch; }
.reference-portal .civic-hero .civic-country,.reference-portal .civic-hero-bottom > p,.reference-portal .civic-hero a { color:#104e45; }
.reference-portal .civic-hero .civic-primary-link > span { background:#104e45; color:white; }
.reference-portal .civic-hero .civic-primary-link { background:#b6dfcf; padding:5px; }
.reference-news { padding-block:40px; color:var(--reference-blue); }
.reference-news h2 { margin:0 0 26px; font-size:1.65rem; }
.reference-news h2::after { content:""; display:block; width:54px; height:4px; margin-top:8px; background:#ea7b24; }
.reference-news-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; margin-bottom:20px; }
.reference-news-card { overflow:hidden; border-radius:12px; background:white; border:1px solid #dce4e8; }
.reference-news-card > img,.reference-news-visual { width:100%; aspect-ratio:3.5/1; object-fit:cover; display:block; }
.reference-news-visual { background:linear-gradient(110deg,#b6dfcf 54%,#d1daef 54% 85%,#398874 85%); }
.reference-news-card > div:last-child { padding:20px; }
.reference-news-card h3 { margin:4px 0 8px; font-size:1.25rem; letter-spacing:-.025em; }
.reference-news-card time { font-size:.8rem; color:#505d67; }
@media(min-width:981px){
 .reference-portal { --civic-rail:240px; padding-top:var(--reference-masthead); }
 .reference-portal .civic-rail { inset:var(--reference-masthead) auto 0 0; padding:0 12px 20px; overflow-y:auto; }
 .reference-portal .civic-rail-head { position:fixed; inset:0 0 auto 0; height:var(--reference-masthead); background:#fff; padding:18px 30px; border-bottom:1px solid #dce4e8; }
 .reference-portal .civic-brand { display:flex; align-items:center; gap:18px; height:100%; }
 .reference-portal .civic-brand img { width:76px; height:76px; }
 .reference-portal .civic-brand-rule { display:none; }
 .reference-portal .civic-brand strong { font-size:1.25rem; line-height:1.1; color:#171e26; }
 .reference-portal .reference-brand-caption { display:grid; gap:3px; padding-left:22px; border-left:1px solid #c7d1d9; color:#202832; max-width:310px; font-size:.92rem; line-height:1.32; }
 .reference-portal .reference-brand-caption b { font-size:1.2rem; }
 .reference-portal .civic-navigation { border:0; margin:0; padding-top:0; }
 .reference-portal .civic-rail-end { display:block; flex:none; padding:24px 12px 0; }
 .reference-portal .civic-search-link { min-height:44px; text-decoration:none; }
 .reference-portal .civic-search-link:hover span { text-decoration:underline; }
 .reference-portal .civic-rail-country { margin-top:16px; }
}
@media(max-width:600px){
 .reference-portal .reference-search-bar { padding-inline:16px; }
 .reference-portal .civic-hero > .container { background:linear-gradient(180deg,#b6dfcf 0 90%,#4164a4 90%); padding-bottom:48px; }
 .reference-portal .civic-hero-bottom { display:block; }
 .reference-portal .civic-primary-link { max-width:none; }
 .reference-news-grid { grid-template-columns:1fr; }
}
