:root{
  --portal-font-scale:1;
  --portal-primary:#0a3b6f;
  --portal-primary-2:#07559a;
  --portal-accent:#17a7d8;
  --portal-navy:#062744;
  --portal-ink:#17212b;
  --portal-muted:#667789;
  --portal-line:#dfe7ef;
  --portal-soft:#f4f8fb;
  --portal-white:#fff;
  --portal-radius:20px;
  --portal-shadow:0 14px 40px rgba(10,59,111,.10);
}

html{scroll-behavior:smooth;font-size:calc(16px * var(--portal-font-scale));}
body{margin:0;background:#fff;color:var(--portal-ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;line-height:1.6;overflow-x:hidden;}
a{color:var(--portal-primary-2);}
img{max-width:100%;}
.portal-main{min-height:55vh;}
.skip-link{position:fixed;left:1rem;top:-100px;z-index:20000;background:#fff;color:#000;padding:.7rem 1rem;border-radius:.5rem;box-shadow:0 8px 25px rgba(0,0,0,.2);}
.skip-link:focus{top:1rem;}

.portal-accessbar{background:var(--portal-navy);color:#fff;font-size:.78rem;}
.portal-accessbar a{color:#e9f5ff;text-decoration:none;}
.portal-accessbar a:hover{text-decoration:underline;color:#fff;}
.access-btn{border:1px solid rgba(255,255,255,.24);background:rgba(255,255,255,.07);color:#fff;border-radius:8px;min-width:32px;height:30px;padding:0 .45rem;font-size:.73rem;font-weight:800;}
.access-btn:hover,.access-btn:focus{background:#fff;color:var(--portal-navy);}
.access-link{font-weight:700;}

.portal-header{background:#fff;border-bottom:1px solid #eef2f6;}
.portal-brand{display:flex;align-items:center;gap:1rem;color:var(--portal-primary);min-width:0;}
.portal-brand img{width:76px;height:76px;object-fit:contain;flex:0 0 auto;}
.portal-brand span{display:flex;flex-direction:column;line-height:1.15;}
.portal-brand strong{font-size:clamp(1.1rem,2vw,1.52rem);font-weight:850;letter-spacing:-.025em;}
.portal-brand small{margin-top:.38rem;color:var(--portal-muted);font-size:.72rem;letter-spacing:.13em;text-transform:uppercase;font-weight:700;}
.portal-header-actions{margin-left:auto;}
.header-action{display:flex;align-items:center;gap:.55rem;padding:.65rem .8rem;border:1px solid var(--portal-line);border-radius:13px;color:var(--portal-primary);text-decoration:none;font-size:.82rem;font-weight:750;transition:.2s;}
.header-action i{font-size:1.08rem;}
.header-action:hover{transform:translateY(-2px);background:var(--portal-soft);border-color:#cad9e7;color:var(--portal-primary);}
.portal-menu-button{border:0;background:var(--portal-primary);color:#fff;border-radius:12px;width:46px;height:46px;font-size:1.65rem;display:grid;place-items:center;}

.portal-navbar{background:#fff;border-top:1px solid #f3f5f8;border-bottom:1px solid var(--portal-line);box-shadow:0 8px 24px rgba(9,45,75,.05);position:sticky;top:0;z-index:1040;padding:.15rem 0;}
.portal-navbar .nav-link{display:flex;align-items:center;gap:.42rem;color:#273a4b;font-weight:750;font-size:.82rem;padding:1rem .72rem!important;border-radius:10px;white-space:nowrap;}
.portal-navbar .nav-link:hover,.portal-navbar .nav-link:focus{color:var(--portal-primary-2);background:#f3f8fc;}
.portal-navbar .dropdown-menu{border:1px solid var(--portal-line);box-shadow:0 20px 48px rgba(6,39,68,.14);border-radius:14px;padding:.65rem;}
.portal-navbar .dropdown-item{border-radius:9px;padding:.58rem .72rem;color:#405364;font-size:.83rem;}
.portal-navbar .dropdown-item:hover{background:#eff6fb;color:var(--portal-primary);}
.portal-mega-menu{width:min(760px,88vw);}
.portal-mega-menu h6{color:var(--portal-primary);font-weight:850;font-size:.75rem;text-transform:uppercase;letter-spacing:.08em;padding:0 .72rem .4rem;margin:0;}
.portal-nav-search{padding-left:.6rem;}
.portal-nav-search form,.portal-mobile-search{display:flex;border:1px solid #d7e2ec;border-radius:12px;overflow:hidden;background:#f8fbfd;}
.portal-nav-search input,.portal-mobile-search input{border:0;outline:0;background:transparent;padding:.62rem .72rem;width:190px;font-size:.8rem;color:#263746;}
.portal-nav-search button,.portal-mobile-search button{border:0;background:var(--portal-primary);color:#fff;width:42px;}
.portal-contextbar{background:#f7fafc;border-bottom:1px solid #edf2f6;color:#5d7183;font-size:.76rem;}

.portal-offcanvas{width:min(360px,92vw)!important;}
.portal-offcanvas .offcanvas-header{border-bottom:1px solid var(--portal-line);}
.portal-offcanvas h5{font-size:1rem;font-weight:800;color:var(--portal-primary);}
.portal-mobile-search input{width:100%;flex:1;padding:.8rem;}
.portal-mobile-links{display:flex;flex-direction:column;gap:.15rem;}
.portal-mobile-links>a{padding:.7rem .8rem;border-radius:9px;text-decoration:none;color:#304556;font-weight:650;font-size:.91rem;}
.portal-mobile-links>a:hover{background:#f2f7fb;color:var(--portal-primary);}
.mobile-section-title{margin:1rem .8rem .35rem;font-size:.72rem;font-weight:850;text-transform:uppercase;letter-spacing:.1em;color:#8393a1;}

.home-hero{position:relative;background:#081f35;}
.home-hero .carousel-item{height:560px;min-height:560px;}
.home-hero .carousel-item img{width:100%;height:100%;object-fit:cover;filter:saturate(.88);}
.home-hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(4,30,53,.94) 0%,rgba(5,41,73,.79) 48%,rgba(6,43,74,.28) 78%,rgba(6,43,74,.16) 100%);z-index:2;pointer-events:none;}
.home-hero-content{position:absolute;inset:0;z-index:3;left:50%;transform:translateX(-50%);}
.min-vh-hero{height:100%;}
.hero-eyebrow{display:inline-flex;align-items:center;gap:.45rem;color:#bbebff;background:rgba(19,166,216,.13);border:1px solid rgba(145,226,255,.24);padding:.42rem .72rem;border-radius:999px;font-size:.75rem;font-weight:800;text-transform:uppercase;letter-spacing:.07em;margin-bottom:1rem;}
.home-hero h1{font-size:clamp(2rem,4.6vw,4rem);line-height:1.02;letter-spacing:-.045em;color:#fff;font-weight:900;max-width:760px;margin-bottom:1.1rem;}
.home-hero p{color:#d4e5f2;font-size:clamp(.98rem,1.4vw,1.16rem);max-width:680px;}
.portal-search-hero{display:flex;max-width:700px;background:#fff;border-radius:15px;padding:.32rem;box-shadow:0 18px 40px rgba(0,0,0,.22);margin-top:1.7rem;}
.portal-search-hero input{flex:1;border:0;outline:0;padding:.9rem 1rem;background:transparent;min-width:0;font-size:.96rem;color:#243443;}
.portal-search-hero button{display:flex;align-items:center;gap:.45rem;border:0;background:var(--portal-accent);color:#032946;border-radius:11px;padding:.76rem 1.15rem;font-weight:850;white-space:nowrap;}
.portal-search-hero button:hover{background:#4bc1e8;}
.hero-popular-links{display:flex;align-items:center;flex-wrap:wrap;gap:.55rem;margin-top:1rem;color:#c7dceb;font-size:.78rem;}
.hero-popular-links span{font-weight:700;}
.hero-popular-links a{color:#fff;text-decoration:none;background:rgba(255,255,255,.11);padding:.25rem .52rem;border-radius:999px;}
.hero-popular-links a:hover{background:rgba(255,255,255,.2);}
.hero-control{width:6%;z-index:4;opacity:.55;}

.home-shortcuts{position:relative;z-index:5;margin-top:-56px;padding-bottom:1rem;}
.shortcut-grid{display:grid;grid-template-columns:repeat(8,1fr);background:#fff;border-radius:22px;box-shadow:var(--portal-shadow);border:1px solid rgba(216,229,239,.9);overflow:hidden;}
.portal-shortcut{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;padding:1.4rem .55rem;text-decoration:none;color:#233646;border-right:1px solid #edf2f6;transition:.2s;background:#fff;}
.portal-shortcut:last-child{border-right:0;}
.portal-shortcut span{width:46px;height:46px;border-radius:14px;background:#edf6fb;color:var(--portal-primary-2);display:grid;place-items:center;font-size:1.25rem;margin-bottom:.7rem;transition:.2s;}
.portal-shortcut strong{font-size:.82rem;line-height:1.15;}
.portal-shortcut small{font-size:.69rem;color:var(--portal-muted);margin-top:.22rem;line-height:1.15;}
.portal-shortcut:hover{background:#f9fcfe;color:var(--portal-primary);transform:translateY(-2px);}
.portal-shortcut:hover span{background:var(--portal-primary);color:#fff;}

.portal-section{padding:4.8rem 0;}
.section-soft{background:var(--portal-soft);border-top:1px solid #eaf0f5;border-bottom:1px solid #eaf0f5;}
.section-heading{margin-bottom:2rem;}
.section-heading h2,.document-panel h2,.section-citizen h2,.institutional-banner h2{font-size:clamp(1.6rem,2.6vw,2.25rem);font-weight:900;letter-spacing:-.035em;color:#16334d;margin:.1rem 0 .55rem;}
.section-heading p{margin:0;color:var(--portal-muted);max-width:680px;}
.section-heading-center{max-width:720px;margin-bottom:2.4rem;}
.portal-kicker{display:inline-block;color:var(--portal-primary-2);font-size:.72rem;font-weight:900;text-transform:uppercase;letter-spacing:.11em;margin-bottom:.25rem;}
.section-link{font-size:.83rem;font-weight:800;text-decoration:none;color:var(--portal-primary-2);}
.section-link:hover{text-decoration:underline;}

.news-layout{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(300px,.9fr);gap:1.2rem;}
.news-lead-card{position:relative;border-radius:22px;overflow:hidden;min-height:470px;background:#0d273d;box-shadow:0 16px 36px rgba(8,45,75,.10);}
.news-lead-card>a{display:block;height:100%;color:#fff;text-decoration:none;}
.news-lead-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .5s;}
.news-lead-card:hover img{transform:scale(1.025);}
.news-gradient{position:absolute;inset:0;background:linear-gradient(0deg,rgba(3,25,43,.95) 0%,rgba(5,38,64,.25) 70%);}
.news-lead-content{position:absolute;left:0;right:0;bottom:0;padding:2rem;}
.news-date{font-size:.74rem;color:#c9e4f4;font-weight:700;}
.news-lead-content h3{font-size:clamp(1.4rem,2.5vw,2.15rem);line-height:1.08;font-weight:900;margin:.55rem 0 .55rem;letter-spacing:-.025em;}
.news-lead-content p{margin:0;color:#d8e6ef;font-size:.9rem;max-width:90%;}
.news-side-list{display:grid;gap:1rem;}
.news-mini-card{background:#fff;border:1px solid var(--portal-line);border-radius:17px;overflow:hidden;min-height:105px;transition:.2s;}
.news-mini-card:hover{box-shadow:0 10px 24px rgba(8,45,75,.09);transform:translateY(-2px);}
.news-mini-card>a{display:grid;grid-template-columns:122px 1fr;gap:1rem;text-decoration:none;color:inherit;height:100%;}
.news-mini-card img{width:122px;height:100%;min-height:105px;object-fit:cover;}
.news-mini-card div{padding:.85rem .85rem .85rem 0;align-self:center;}
.news-mini-card span{font-size:.68rem;color:var(--portal-muted);font-weight:700;}
.news-mini-card h3{font-size:.92rem;line-height:1.25;font-weight:800;margin:.3rem 0 0;color:#263949;}

.transparency-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;}
.transparency-card{display:flex;align-items:center;gap:.85rem;background:#fff;border:1px solid var(--portal-line);padding:1.1rem 1.05rem;border-radius:16px;text-decoration:none;color:#24394a;min-height:94px;box-shadow:0 7px 20px rgba(8,45,75,.035);transition:.2s;}
.transparency-card>i:first-child{width:46px;height:46px;border-radius:13px;background:#edf6fb;color:var(--portal-primary-2);display:grid;place-items:center;font-size:1.25rem;flex:0 0 auto;}
.transparency-card div{display:flex;flex-direction:column;min-width:0;}
.transparency-card strong{font-size:.9rem;color:#20384c;}
.transparency-card span{font-size:.7rem;color:var(--portal-muted);line-height:1.25;}
.transparency-card>i:last-child{margin-left:auto;font-size:.85rem;color:#8398a9;}
.transparency-card:hover{transform:translateY(-3px);border-color:#bcd6e8;box-shadow:0 12px 28px rgba(8,45,75,.08);}
.transparency-card-featured{background:linear-gradient(135deg,#0a3b6f,#0b5e9e);border:0;color:#fff;}
.transparency-card-featured strong,.transparency-card-featured span,.transparency-card-featured>i:last-child{color:#fff;}
.transparency-card-featured>i:first-child{background:rgba(255,255,255,.14);color:#fff;}

.document-panel{border:1px solid var(--portal-line);border-radius:22px;padding:1.6rem;background:#fff;box-shadow:0 10px 28px rgba(8,45,75,.05);}
.document-panel-header{display:flex;justify-content:space-between;align-items:end;gap:1rem;padding-bottom:1rem;border-bottom:1px solid #edf2f6;}
.document-panel-header h2{font-size:1.35rem;margin:0;}
.document-panel-header>a{font-size:.78rem;font-weight:800;text-decoration:none;}
.document-list{display:flex;flex-direction:column;}
.document-row{display:grid;grid-template-columns:44px 1fr 22px;align-items:center;gap:.85rem;padding:1rem .15rem;border-bottom:1px solid #eef3f6;text-decoration:none;color:#243847;}
.document-row:last-child{border-bottom:0;}
.document-row:hover{color:var(--portal-primary-2);}
.document-icon{width:40px;height:40px;border-radius:11px;display:grid;place-items:center;font-size:1.05rem;}
.document-icon.pdf{background:#fff0f0;color:#b93838;}
.document-icon.law{background:#fff8e6;color:#9b6a00;}
.document-row div{display:flex;flex-direction:column;min-width:0;}
.document-row strong{font-size:.82rem;line-height:1.3;}
.document-row small{font-size:.7rem;color:var(--portal-muted);line-height:1.3;margin-top:.15rem;}
.portal-empty-inline{padding:1.2rem;color:var(--portal-muted);text-align:center;background:#f8fbfd;border-radius:12px;}

.section-citizen{background:linear-gradient(135deg,#072e53 0%,#075a93 100%);color:#fff;position:relative;overflow:hidden;}
.section-citizen:before{content:"";position:absolute;width:420px;height:420px;border-radius:50%;background:rgba(255,255,255,.05);right:-160px;top:-190px;}
.section-citizen h2{color:#fff;font-size:clamp(2rem,3.2vw,2.9rem);}
.section-citizen p{color:#cfe4f2;max-width:700px;}
.portal-kicker-light{color:#87d7f3;}
.citizen-actions{display:flex;flex-wrap:wrap;gap:.8rem;margin-top:1.5rem;}
.citizen-links-card{background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.16);border-radius:20px;padding:.6rem;backdrop-filter:blur(8px);}
.citizen-links-card a{display:flex;justify-content:space-between;align-items:center;color:#fff;text-decoration:none;padding:1rem;border-radius:12px;border-bottom:1px solid rgba(255,255,255,.10);font-size:.88rem;}
.citizen-links-card a:last-child{border-bottom:0;}
.citizen-links-card a:hover{background:rgba(255,255,255,.09);}

.institutional-banner{display:flex;align-items:center;justify-content:space-between;gap:2rem;padding:2.4rem 2.6rem;border-radius:24px;background:linear-gradient(120deg,#f1f7fb,#fff);border:1px solid #dce9f2;position:relative;overflow:hidden;}
.institutional-banner>div:first-child{max-width:720px;position:relative;z-index:2;}
.institutional-banner p{color:var(--portal-muted);}
.institutional-icon{font-size:8rem;color:#d8eaf5;line-height:1;position:absolute;right:2.5rem;bottom:-1.7rem;}
.radar-card{display:grid;grid-template-columns:150px 1fr 32px;gap:1.3rem;align-items:center;border:1px solid var(--portal-line);border-radius:20px;overflow:hidden;padding:1rem;text-decoration:none;color:inherit;background:#fff;box-shadow:0 10px 26px rgba(8,45,75,.045);}
.radar-card img{width:150px;height:88px;object-fit:cover;border-radius:13px;}
.radar-card div{display:flex;flex-direction:column;}
.radar-card span{font-size:.68rem;text-transform:uppercase;letter-spacing:.08em;color:var(--portal-primary-2);font-weight:900;}
.radar-card strong{font-size:1.05rem;color:#243948;}
.radar-card small{color:var(--portal-muted);}

.portal-footer{background:#041f36;color:#d6e4ef;margin-top:0;}
.footer-brand{display:flex;align-items:center;gap:.9rem;}
.footer-brand img{object-fit:contain;}
.footer-brand div{display:flex;flex-direction:column;line-height:1.2;}
.footer-brand strong{color:#fff;font-size:1rem;}
.footer-brand span{color:#8fb1ca;font-size:.72rem;text-transform:uppercase;letter-spacing:.08em;margin-top:.25rem;}
.footer-about{font-size:.82rem;color:#a8c0d2;max-width:360px;margin:1.2rem 0;}
.footer-social{display:flex;gap:.6rem;}
.footer-social a{width:38px;height:38px;border-radius:11px;background:rgba(255,255,255,.08);display:grid;place-items:center;color:#fff;}
.portal-footer h2{font-size:.77rem;text-transform:uppercase;letter-spacing:.08em;color:#7fd4f2;font-weight:850;margin-bottom:1rem;}
.portal-footer .col-6>a,.portal-footer .col-lg-2>a{display:block;color:#b9cddd;text-decoration:none;font-size:.8rem;margin:.55rem 0;}
.portal-footer .col-6>a:hover,.portal-footer .col-lg-2>a:hover{color:#fff;text-decoration:underline;}
.footer-contact-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;margin-top:3.5rem;padding:1.4rem 0;border-top:1px solid rgba(255,255,255,.1);border-bottom:1px solid rgba(255,255,255,.1);}
.footer-contact-grid>div{display:flex;align-items:flex-start;gap:.7rem;}
.footer-contact-grid i{color:#70cce8;font-size:1.05rem;margin-top:.1rem;}
.footer-contact-grid span{display:flex;flex-direction:column;font-size:.75rem;color:#a9c0d2;line-height:1.35;}
.footer-contact-grid strong{color:#eaf5fc;margin-bottom:.15rem;}
.footer-contact-grid a{color:#a9c0d2;text-decoration:none;}
.footer-bottom{display:flex;justify-content:space-between;gap:1rem;padding-top:1.3rem;font-size:.72rem;color:#89a8bd;}
.footer-bottom>div:last-child{display:flex;gap:1rem;flex-wrap:wrap;justify-content:flex-end;}
.footer-bottom a{color:#c6d8e4;text-decoration:none;}

.juca-widget{position:fixed;right:22px;bottom:22px;z-index:1090;}
.juca-toggle{width:66px;height:66px;border-radius:50%;border:4px solid #fff;background:#fff;box-shadow:0 12px 34px rgba(6,39,68,.28);padding:3px;position:relative;transition:.2s;}
.juca-toggle:hover{transform:translateY(-3px);}
.juca-toggle img{width:100%;height:100%;object-fit:contain;border-radius:50%;}
.juca-online-dot{position:absolute;width:14px;height:14px;border-radius:50%;background:#2ac769;border:3px solid #fff;right:2px;bottom:3px;}
.juca-panel{position:absolute;right:0;bottom:80px;width:min(380px,calc(100vw - 28px));height:520px;max-height:calc(100vh - 120px);background:#fff;border:1px solid #dce7ef;border-radius:22px;box-shadow:0 22px 60px rgba(6,39,68,.26);display:flex;flex-direction:column;overflow:hidden;opacity:0;visibility:hidden;transform:translateY(12px) scale(.98);transition:.2s;}
.juca-widget.open .juca-panel{opacity:1;visibility:visible;transform:none;}
.juca-panel>header{display:flex;align-items:center;justify-content:space-between;padding:1rem;background:linear-gradient(135deg,#0a3b6f,#075e9b);color:#fff;}
.juca-panel>header>div{display:flex;align-items:center;gap:.65rem;}
.juca-panel>header img{background:#fff;border-radius:50%;padding:2px;}
.juca-panel>header span{display:flex;flex-direction:column;line-height:1.2;}
.juca-panel>header strong{font-size:.92rem;}
.juca-panel>header small{font-size:.66rem;color:#c9e6f6;margin-top:.15rem;}
.juca-close{border:0;background:rgba(255,255,255,.1);color:#fff;width:34px;height:34px;border-radius:10px;}
.juca-body{flex:1;overflow:auto;padding:1rem;background:#f5f9fc;}
.juca-message{display:flex;margin-bottom:.8rem;}
.juca-message p{max-width:88%;margin:0;padding:.72rem .82rem;border-radius:14px;font-size:.78rem;line-height:1.5;}
.juca-message.bot{flex-direction:column;align-items:flex-start;}
.juca-message.bot p{background:#fff;border:1px solid #e0e9f0;color:#304454;border-top-left-radius:5px;}
.juca-message.user{justify-content:flex-end;}
.juca-message.user p{background:var(--portal-primary);color:#fff;border-top-right-radius:5px;}
.juca-suggestions{display:flex;gap:.4rem;flex-wrap:wrap;margin-bottom:1rem;}
.juca-suggestions button{border:1px solid #cbdce8;background:#fff;color:var(--portal-primary);border-radius:999px;padding:.38rem .65rem;font-size:.7rem;font-weight:700;}
.juca-results{display:flex;flex-direction:column;gap:.35rem;margin-top:.45rem;width:100%;}
.juca-results a{display:flex;background:#eef6fb;border:1px solid #dbeaf3;color:var(--portal-primary);padding:.5rem .6rem;border-radius:9px;text-decoration:none;font-size:.72rem;font-weight:750;}
.juca-typing{display:flex;gap:4px;padding:.65rem;width:50px;border-radius:12px;background:#fff;border:1px solid #e0e9f0;margin-bottom:.7rem;}
.juca-typing span{width:6px;height:6px;background:#87a2b4;border-radius:50%;animation:jucaDot 1s infinite alternate;}
.juca-typing span:nth-child(2){animation-delay:.2s}.juca-typing span:nth-child(3){animation-delay:.4s}
@keyframes jucaDot{to{transform:translateY(-4px);opacity:.45}}
.juca-form{display:flex;gap:.4rem;padding:.7rem;background:#fff;border-top:1px solid #e2eaf0;}
.juca-form input{flex:1;min-width:0;border:1px solid #d6e2eb;border-radius:11px;padding:.7rem .75rem;outline:0;font-size:.78rem;}
.juca-form input:focus{border-color:#6fb7dd;box-shadow:0 0 0 3px rgba(23,167,216,.12);}
.juca-form button{border:0;background:var(--portal-primary);color:#fff;width:42px;border-radius:11px;}
.juca-disclaimer{font-size:.61rem;text-align:center;color:#8496a5;padding:0 .7rem .55rem;background:#fff;}

/* Padronização de todas as páginas internas existentes */
.content-body{background:#fff!important;padding-bottom:3rem;}
.content-body>.container{padding-top:1.4rem;}
.content-body .breadcrumb{font-size:.75rem;margin-bottom:1.4rem;}
.content-body .breadcrumb a{text-decoration:none;font-weight:700;}
.content-body>.container>.row.card,.content-body .card{border:1px solid var(--portal-line)!important;border-radius:18px!important;box-shadow:0 10px 30px rgba(8,45,75,.055)!important;}
.content-body h1,.content-body h2,.content-body h3,.content-body h4{letter-spacing:-.02em;}
.content-body .table{--bs-table-hover-bg:#f5f9fc;font-size:.85rem;}
.content-body .table thead th{background:#edf5fa;color:#1d4260;border-bottom:0;text-transform:uppercase;font-size:.68rem;letter-spacing:.05em;}
.content-body .form-control,.content-body .form-select{border-color:#d4e1ea;border-radius:10px;min-height:44px;}
.content-body .btn{border-radius:10px;font-weight:700;}
.page-header{box-shadow:none!important;background:linear-gradient(180deg,#f8fbfd,#fff)!important;}
.page-header h2{font-weight:900!important;letter-spacing:-.035em;}

.portal-page-section{background:linear-gradient(180deg,#f8fbfd 0,#fff 220px);}
.portal-empty-state{max-width:720px;padding:2rem;}
.portal-empty-state .empty-icon{width:82px;height:82px;border-radius:22px;background:#eaf4fa;color:var(--portal-primary);display:grid;place-items:center;font-size:2.1rem;margin:0 auto 1rem;}
.portal-empty-state h1{font-size:clamp(2rem,4vw,3.1rem);font-weight:900;letter-spacing:-.04em;color:#173852;}
.portal-empty-state p{color:var(--portal-muted);}

body.high-contrast{--portal-primary:#000;--portal-primary-2:#000;--portal-accent:#ffea00;--portal-navy:#000;--portal-ink:#000;--portal-muted:#222;--portal-line:#000;--portal-soft:#fff;background:#fff;color:#000;}
body.high-contrast a{text-decoration:underline!important;}
body.high-contrast .portal-navbar,body.high-contrast .portal-header,body.high-contrast .portal-shortcut,body.high-contrast .transparency-card,body.high-contrast .document-panel{border-color:#000!important;}
body.high-contrast .portal-search-hero button,body.high-contrast .juca-form button{background:#000;color:#ffea00;}

@media (max-width:1199.98px){
  .shortcut-grid{grid-template-columns:repeat(4,1fr);}
  .portal-shortcut:nth-child(4){border-right:0;}
  .portal-shortcut{border-bottom:1px solid #edf2f6;}
  .transparency-grid{grid-template-columns:repeat(2,1fr);}
  .footer-contact-grid{grid-template-columns:repeat(2,1fr);}
}
@media (max-width:991.98px){
  .portal-navbar{display:none;}
  .portal-contextbar{font-size:.7rem;}
  .home-hero .carousel-item{height:520px;min-height:520px;}
  .home-hero-overlay{background:linear-gradient(90deg,rgba(4,30,53,.94),rgba(5,41,73,.72));}
  .home-shortcuts{margin-top:-35px;}
  .news-layout{grid-template-columns:1fr;}
  .news-side-list{grid-template-columns:repeat(2,1fr);}
  .news-mini-card>a{grid-template-columns:110px 1fr;}
  .news-lead-card{min-height:420px;}
  .portal-section{padding:4rem 0;}
}
@media (max-width:767.98px){
  .portal-brand img{width:58px;height:58px;}
  .portal-brand strong{font-size:1rem;}
  .portal-brand small{font-size:.59rem;letter-spacing:.08em;}
  .home-hero .carousel-item{height:500px;min-height:500px;}
  .home-hero-content{width:100%;}
  .home-hero h1{font-size:2.25rem;}
  .portal-search-hero{margin-top:1.25rem;}
  .portal-search-hero button span{display:none;}
  .hero-popular-links{display:none;}
  .hero-control{display:none;}
  .shortcut-grid{grid-template-columns:repeat(2,1fr);}
  .portal-shortcut:nth-child(2n){border-right:0;}
  .home-shortcuts{margin-top:-28px;}
  .news-side-list{grid-template-columns:1fr;}
  .news-lead-card{min-height:360px;}
  .news-lead-content{padding:1.3rem;}
  .news-lead-content p{display:none;}
  .transparency-grid{grid-template-columns:1fr;}
  .institutional-banner{padding:1.7rem;}
  .institutional-icon{display:none;}
  .radar-card{grid-template-columns:92px 1fr;}
  .radar-card img{width:92px;height:76px;}
  .radar-card>i{display:none;}
  .footer-contact-grid{grid-template-columns:1fr;}
  .footer-bottom{flex-direction:column;}
  .footer-bottom>div:last-child{justify-content:flex-start;}
  .juca-widget{right:14px;bottom:14px;}
  .juca-toggle{width:58px;height:58px;}
  .juca-panel{bottom:70px;height:min(520px,calc(100vh - 95px));}
}
@media (max-width:479.98px){
  .portal-accessbar .container{justify-content:center!important;}
  .portal-accessbar .container>div:first-child{display:none!important;}
  .portal-brand{gap:.65rem;}
  .portal-brand img{width:50px;height:50px;}
  .portal-brand strong{font-size:.92rem;}
  .portal-brand small{font-size:.52rem;}
  .portal-menu-button{width:42px;height:42px;}
  .home-hero .carousel-item{height:480px;min-height:480px;}
  .home-hero h1{font-size:1.95rem;}
  .home-hero p{font-size:.92rem;}
  .portal-search-hero input{font-size:.82rem;padding:.78rem .8rem;}
  .portal-shortcut{padding:1rem .4rem;}
  .portal-shortcut span{width:40px;height:40px;}
  .portal-section{padding:3.3rem 0;}
  .news-lead-card{min-height:315px;}
  .document-panel{padding:1rem;}
  .section-heading h2,.document-panel h2{font-size:1.55rem;}
}

/* ========================================================================== 
   Portal 2026 v2 — identidade institucional inspirada em portais legislativos
   Referências visuais: organização do portal de Independência + identidade
   cromática e distribuição de serviços do portal de Arneiroz.
   ========================================================================== */
.cma-topbar{background:#0869b5;border-top:3px solid #d7b400;color:#fff;font-size:.78rem;}
.cma-topbar-inner{min-height:34px;display:flex;align-items:center;justify-content:space-between;gap:1rem;}
.cma-topbar-group{display:flex;align-items:center;gap:.15rem;min-width:0;}
.cma-top-link{display:inline-flex;align-items:center;gap:.38rem;color:#fff!important;text-decoration:none!important;border:0;background:transparent;padding:.42rem .5rem;font-size:.75rem;line-height:1;font-weight:650;white-space:nowrap;}
.cma-top-link:hover,.cma-top-link:focus{background:rgba(255,255,255,.13);color:#fff!important;outline:0;}
.cma-top-link i{font-size:.92rem;}

.cma-masthead{background:#fff;border-bottom:1px solid #e9eef2;}
.cma-masthead .container{padding-top:1.15rem;padding-bottom:1.15rem;}
.cma-masthead-grid{display:grid;grid-template-columns:minmax(330px,1fr) minmax(300px,390px) auto;gap:1.35rem;align-items:center;}
.cma-brand{display:flex;align-items:center;gap:.8rem;text-decoration:none!important;min-width:0;color:#0a3764!important;}
.cma-brand img{width:67px;height:76px;object-fit:contain;flex:0 0 auto;}
.cma-brand-text{display:flex;flex-direction:column;line-height:1.02;text-transform:uppercase;min-width:0;}
.cma-brand-text small{font-size:.58rem;letter-spacing:.16em;font-weight:800;color:#687785;margin-bottom:.28rem;}
.cma-brand-text strong{font-size:1.26rem;letter-spacing:-.02em;font-weight:900;color:#092f57;}
.cma-brand-text b{font-size:1.52rem;letter-spacing:-.035em;font-weight:900;color:#0870bd;margin-top:.18rem;}
.cma-brand-text b span{font-size:.63rem;letter-spacing:.06em;color:#657787;font-weight:800;}

.cma-header-search{height:50px;border:1px solid #d5e0e9;background:#f8fafc;display:flex;align-items:center;border-radius:4px;overflow:hidden;transition:.2s;}
.cma-header-search:focus-within{border-color:#0b72bd;box-shadow:0 0 0 3px rgba(11,114,189,.10);background:#fff;}
.cma-header-search>i{color:#96a9ba;margin-left:.85rem;font-size:1rem;}
.cma-header-search input{flex:1;min-width:0;border:0;background:transparent;outline:0;padding:.72rem .75rem;font-size:.85rem;color:#26394b;}
.cma-header-search button{height:100%;width:52px;border:0;background:#0869b5;color:#fff;font-size:1rem;display:grid;place-items:center;}
.cma-header-search button:hover{background:#07589a;}
.cma-masthead-actions{align-items:center;gap:.7rem;justify-content:flex-end;}
.cma-lai-card{height:54px;display:flex;align-items:center;gap:.65rem;border:1px solid #dde5ec;border-radius:5px;padding:.45rem .75rem;text-decoration:none!important;color:#26384a!important;background:#fff;min-width:190px;}
.cma-lai-card:hover{border-color:#b8cfdf;background:#f9fcfe;}
.cma-lai-icon{width:29px;height:29px;border-radius:50%;background:#0870bd;color:#fff;display:grid;place-items:center;flex:0 0 auto;font-weight:900;}
.cma-lai-card>span:last-child{display:flex;flex-direction:column;line-height:1.1;}
.cma-lai-card small{font-size:.65rem;color:#647687;}
.cma-lai-card strong{font-size:.76rem;color:#132f48;margin-top:.1rem;}
.cma-socials{display:flex;align-items:center;gap:.4rem;padding-left:.65rem;border-left:1px solid #e1e6eb;}
.cma-socials a{width:34px;height:34px;border-radius:50%;background:#f2f4f6;color:#788b9c;display:grid;place-items:center;text-decoration:none;}
.cma-socials a:hover{background:#0869b5;color:#fff;}
.cma-menu-button{width:44px;height:44px;border:0;background:#0869b5;color:#fff;border-radius:4px;font-size:1.6rem;display:grid;place-items:center;}
.cma-header-search-mobile{margin-top:.9rem;width:100%;}

.cma-navbar{background:#0869b5;padding:0;box-shadow:0 2px 8px rgba(6,61,104,.14);position:relative;z-index:1040;}
.cma-navbar .navbar-nav{justify-content:center;}
.cma-navbar .nav-item{display:flex;align-items:stretch;}
.cma-navbar .nav-link{display:flex;align-items:center;justify-content:center;color:#fff!important;text-transform:uppercase;font-size:.76rem;letter-spacing:.025em;font-weight:800;padding:1.05rem 1.55rem!important;border-radius:0!important;white-space:nowrap;}
.cma-navbar .nav-link:hover,.cma-navbar .nav-link:focus,.cma-navbar .nav-item.show>.nav-link{background:#117fc9;color:#fff!important;}
.cma-navbar .cma-home-item .nav-link{min-width:86px;background:#117fc9;font-size:1rem;}
.cma-navbar .dropdown-menu{margin-top:0;border:0;border-radius:0 0 7px 7px;box-shadow:0 16px 36px rgba(5,50,86,.18);padding:.6rem;}
.cma-navbar .dropdown-item{font-size:.8rem;border-radius:4px;padding:.58rem .7rem;color:#34495b;}
.cma-navbar .dropdown-item:hover{background:#edf6fc;color:#0869b5;}
.cma-mega-menu{width:min(760px,90vw);}
.cma-mega-menu h6{padding:.2rem .7rem .4rem;color:#0869b5;text-transform:uppercase;font-size:.68rem;letter-spacing:.08em;font-weight:900;}
.cma-color-stripe{height:5px;background:linear-gradient(90deg,#0878d5 0 38%,#09bc3e 38% 70%,#ffc400 70% 100%);}
.cma-locationbar{height:38px;background:#0870bd;color:#fff;display:flex;align-items:center;font-size:.74rem;}
.cma-locationbar .container{display:flex;align-items:center;gap:.4rem;}
.cma-locationbar i{font-size:.72rem;}

.cma-home-hero{position:relative;background:#dce9f1;border-bottom:1px solid #cbdbe7;overflow:hidden;}
.cma-home-hero .carousel-item{height:clamp(300px,28vw,430px);background:#dce9f1;}
.cma-home-hero .carousel-item img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;filter:none;}
.cma-home-hero .carousel-control-prev,.cma-home-hero .carousel-control-next{width:7%;opacity:.82;}
.cma-home-hero .carousel-control-prev-icon,.cma-home-hero .carousel-control-next-icon{width:40px;height:40px;border-radius:50%;background-color:rgba(0,72,126,.66);background-size:45% 45%;}
.cma-home-hero .carousel-indicators{margin-bottom:1rem;z-index:3;}
.cma-home-hero .carousel-indicators [data-bs-target]{width:9px;height:9px;border:0;border-radius:50%;margin:0 4px;background-color:#fff;box-shadow:0 1px 6px rgba(0,0,0,.34);}

.cma-quick-access{position:relative;z-index:7;margin-top:-60px;padding-bottom:2.35rem;}
.cma-quick-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:1.35rem;}
.cma-quick-card{min-height:132px;background:#fff;border:1px solid #edf0f2;border-radius:9px;box-shadow:0 8px 18px rgba(23,54,78,.14);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.65rem;text-align:center;text-decoration:none!important;color:#111d28!important;padding:1rem .7rem;transition:.18s;}
.cma-quick-card:hover{transform:translateY(-4px);box-shadow:0 14px 26px rgba(23,54,78,.18);border-color:#c8dce9;}
.cma-quick-card span{width:54px;height:54px;border-radius:50%;background:#f3f5f7;color:#0870bd;display:grid;place-items:center;font-size:1.35rem;transition:.18s;}
.cma-quick-card:hover span{background:#0870bd;color:#fff;}
.cma-quick-card strong{font-size:.88rem;font-weight:850;}

.cma-news-section{padding-top:2.2rem;}
.cma-news-titlebar{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem;border-bottom:2px solid #0870bd;margin-bottom:1.2rem;padding-bottom:.45rem;}
.cma-news-titlebar>div{display:flex;flex-direction:column;}
.cma-news-titlebar span{font-size:.67rem;line-height:1;text-transform:uppercase;letter-spacing:.09em;font-weight:900;color:#11a638;margin-bottom:.25rem;}
.cma-news-titlebar h2{margin:0;color:#132a3d;font-size:1.65rem;font-weight:900;letter-spacing:-.03em;}
.cma-news-titlebar a{font-size:.76rem;color:#0870bd;text-decoration:none;font-weight:850;white-space:nowrap;padding-bottom:.2rem;}
.cma-news-titlebar a:hover{text-decoration:underline;}
.cma-news-section .news-layout{grid-template-columns:minmax(0,2fr) minmax(320px,1fr);gap:1rem;}
.cma-news-section .news-lead-card{border-radius:4px;min-height:420px;box-shadow:0 4px 16px rgba(7,55,91,.10);}
.cma-news-section .news-mini-card{border-radius:0;box-shadow:none;border:0;border-bottom:1px solid #dce5ec;background:#fff;}
.cma-news-section .news-mini-card>a{padding:.55rem 0;grid-template-columns:106px 1fr;}
.cma-news-section .news-mini-card img{border-radius:3px;width:106px;height:68px;}
.cma-news-section .news-mini-card h3{font-size:.82rem;line-height:1.25;}
.cma-news-section .news-side-list{gap:0;}

body.high-contrast .cma-topbar,body.high-contrast .cma-navbar,body.high-contrast .cma-locationbar{background:#000!important;color:#fff!important;}
body.high-contrast .cma-color-stripe{background:#ffea00!important;}
body.high-contrast .cma-quick-card,body.high-contrast .cma-header-search,body.high-contrast .cma-lai-card{border-color:#000!important;}

@media (max-width:1199.98px){
  .cma-masthead-grid{grid-template-columns:minmax(290px,1fr) minmax(290px,350px) auto;gap:.9rem;}
  .cma-lai-card{min-width:170px;padding:.4rem .55rem;}
  .cma-navbar .nav-link{padding:1rem 1.1rem!important;font-size:.72rem;}
  .cma-quick-grid{gap:.8rem;}
}
@media (max-width:991.98px){
  .cma-topbar-services .cma-top-link span,.cma-topbar-access .cma-top-link span{display:none;}
  .cma-topbar-inner{min-height:36px;}
  .cma-top-link{width:34px;height:34px;justify-content:center;padding:0;}
  .cma-top-link i{font-size:1rem;}
  .cma-masthead .container{padding-top:.8rem;padding-bottom:.8rem;}
  .cma-masthead-grid{display:flex;align-items:center;justify-content:space-between;gap:.8rem;}
  .cma-brand img{width:50px;height:58px;}
  .cma-brand-text small{font-size:.47rem;}
  .cma-brand-text strong{font-size:1rem;}
  .cma-brand-text b{font-size:1.18rem;}
  .cma-navbar{display:none;}
  .cma-locationbar{height:32px;font-size:.68rem;}
  .cma-home-hero .carousel-item{height:330px;}
  .cma-quick-access{margin-top:-44px;}
  .cma-quick-grid{grid-template-columns:repeat(3,1fr);gap:.7rem;}
  .cma-quick-card{min-height:112px;}
  .cma-news-section .news-layout{grid-template-columns:1fr;}
}
@media (max-width:575.98px){
  .cma-topbar{border-top-width:2px;}
  .cma-topbar-inner{padding-left:.4rem;padding-right:.4rem;}
  .cma-brand{gap:.55rem;}
  .cma-brand img{width:43px;height:50px;}
  .cma-brand-text small{font-size:.4rem;letter-spacing:.1em;}
  .cma-brand-text strong{font-size:.84rem;}
  .cma-brand-text b{font-size:1rem;}
  .cma-brand-text b span{display:none;}
  .cma-header-search-mobile{height:44px;}
  .cma-locationbar{height:29px;}
  .cma-home-hero .carousel-item{height:250px;}
  .cma-home-hero .carousel-control-prev-icon,.cma-home-hero .carousel-control-next-icon{width:32px;height:32px;}
  .cma-quick-access{margin-top:-30px;padding-bottom:1.5rem;}
  .cma-quick-grid{grid-template-columns:repeat(2,1fr);gap:.55rem;}
  .cma-quick-card{min-height:100px;border-radius:7px;gap:.45rem;}
  .cma-quick-card span{width:43px;height:43px;font-size:1.1rem;}
  .cma-quick-card strong{font-size:.78rem;}
  .cma-news-section{padding-top:1.5rem;}
  .cma-news-titlebar h2{font-size:1.38rem;}
  .cma-news-titlebar a{font-size:.7rem;}
  .cma-news-section .news-lead-card{min-height:310px;}
}

/* Eventos e Galeria de Fotos */
.portal-events-page,.portal-event-detail{background:#f7f9fb;min-height:60vh;}
.events-page-heading{display:flex;align-items:center;justify-content:space-between;gap:2rem;background:#fff;border:1px solid #e0e8ef;border-radius:16px;padding:1.7rem 1.9rem;margin-bottom:1.2rem;box-shadow:0 6px 18px rgba(20,58,87,.05);}
.events-page-heading h1{margin:.2rem 0 .45rem;color:#17364f;font-size:clamp(1.8rem,3vw,2.6rem);font-weight:900;letter-spacing:-.035em;}
.events-page-heading p{margin:0;max-width:760px;color:#687c8e;font-size:.92rem;line-height:1.65;}
.events-heading-icon{width:76px;height:76px;border-radius:18px;background:#eaf5fc;color:#0870bd;display:grid;place-items:center;font-size:2rem;flex:0 0 auto;}
.events-filter{display:grid;grid-template-columns:minmax(240px,1fr) 180px auto auto;gap:.65rem;align-items:center;background:#fff;border:1px solid #e0e8ef;border-radius:12px;padding:.8rem;margin-bottom:1rem;}
.events-filter-search{height:42px;border:1px solid #d8e2ea;border-radius:7px;display:flex;align-items:center;background:#fbfcfd;overflow:hidden;}
.events-filter-search i{margin-left:.8rem;color:#8095a6;}
.events-filter-search input{border:0;outline:0;background:transparent;width:100%;height:100%;padding:.55rem .75rem;font-size:.83rem;color:#253b4e;}
.events-filter .form-select,.events-filter .btn{height:42px;font-size:.8rem;}
.events-result-bar{display:flex;justify-content:space-between;gap:1rem;align-items:center;margin:0 0 1rem;color:#718495;font-size:.76rem;padding:.25rem .15rem;}
.events-result-bar strong{color:#173d5d;}
.events-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.15rem;}
.event-card{background:#fff;border:1px solid #e0e8ef;border-radius:12px;overflow:hidden;box-shadow:0 5px 16px rgba(18,59,88,.055);transition:.2s;display:flex;flex-direction:column;min-width:0;}
.event-card:hover{transform:translateY(-3px);box-shadow:0 12px 24px rgba(18,59,88,.10);border-color:#c9dae6;}
.event-card-media{position:relative;display:block;aspect-ratio:16/10;background:#eaf0f4;overflow:hidden;}
.event-card-media img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease;}
.event-card:hover .event-card-media img{transform:scale(1.035);}
.event-cover-placeholder{width:100%;height:100%;display:grid;place-items:center;background:linear-gradient(145deg,#edf4f8,#dce8ef);color:#8ba2b3;font-size:2.3rem;}
.event-photo-count{position:absolute;right:.7rem;bottom:.7rem;background:rgba(10,42,64,.82);backdrop-filter:blur(6px);color:#fff;border-radius:999px;padding:.34rem .62rem;font-size:.66rem;font-weight:800;}
.event-card-body{padding:1rem 1.05rem 1.1rem;display:flex;flex-direction:column;flex:1;}
.event-date{font-size:.68rem;text-transform:uppercase;letter-spacing:.045em;color:#0870bd;font-weight:850;margin-bottom:.45rem;}
.event-card h2{font-size:1rem;line-height:1.35;font-weight:850;margin:0 0 .45rem;color:#17364f;}
.event-card h2 a{text-decoration:none;color:inherit;}
.event-card h2 a:hover{color:#0870bd;}
.event-card p{font-size:.77rem;line-height:1.55;color:#6c7f8f;margin:0 0 .85rem;}
.event-card-link{margin-top:auto;text-decoration:none;color:#0870bd;font-size:.74rem;font-weight:850;display:inline-flex;align-items:center;gap:.35rem;}
.event-detail-header{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr);background:#fff;border:1px solid #e0e8ef;border-radius:16px;overflow:hidden;box-shadow:0 6px 20px rgba(18,59,88,.055);margin-bottom:2rem;}
.event-detail-copy{padding:2rem;display:flex;flex-direction:column;justify-content:center;}
.event-detail-copy h1{font-size:clamp(1.85rem,3vw,2.7rem);line-height:1.15;font-weight:900;letter-spacing:-.04em;color:#17364f;margin:.2rem 0 .85rem;}
.event-detail-meta{display:flex;flex-wrap:wrap;gap:.6rem 1.2rem;font-size:.76rem;color:#607788;font-weight:750;margin-bottom:1rem;}
.event-detail-meta span{display:flex;align-items:center;gap:.4rem;}
.event-detail-meta i{color:#0870bd;}
.event-detail-description{border-top:1px solid #edf1f4;padding-top:1rem;color:#607486;font-size:.86rem;line-height:1.7;}
.event-detail-cover{min-height:340px;background:#e8eef2;}
.event-detail-cover img{width:100%;height:100%;min-height:340px;object-fit:cover;display:block;}
.event-gallery-heading{display:flex;align-items:end;justify-content:space-between;gap:1rem;margin:1.3rem 0 1rem;padding-bottom:.65rem;border-bottom:2px solid #0870bd;}
.event-gallery-heading h2{font-size:1.45rem;color:#17364f;font-weight:900;letter-spacing:-.025em;margin:.15rem 0 0;}
.event-gallery-heading>span{font-size:.72rem;color:#728797;font-weight:750;}
.event-gallery-heading>a{font-size:.75rem;text-decoration:none;color:#0870bd;font-weight:850;}
.event-photo-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.8rem;}
.event-photo{position:relative;border:0;padding:0;border-radius:9px;overflow:hidden;background:#eaf0f4;aspect-ratio:4/3;cursor:zoom-in;box-shadow:0 3px 10px rgba(15,52,79,.06);}
.event-photo img{width:100%;height:100%;object-fit:cover;transition:.25s;display:block;}
.event-photo>span{position:absolute;inset:0;display:grid;place-items:center;background:rgba(7,53,85,.0);color:transparent;font-size:1.25rem;transition:.2s;}
.event-photo:hover img{transform:scale(1.035);}
.event-photo:hover>span,.event-photo:focus-visible>span{background:rgba(7,53,85,.34);color:#fff;}
.event-no-photos{display:flex;align-items:center;justify-content:center;gap:1rem;min-height:180px;background:#fff;border:1px dashed #cddae4;border-radius:12px;color:#718596;}
.event-no-photos>i{font-size:2rem;color:#9db0bd;}.event-no-photos div{display:flex;flex-direction:column}.event-no-photos strong{color:#315068}.event-no-photos span{font-size:.78rem;margin-top:.15rem;}
.related-event-card{height:100%;display:grid;grid-template-columns:130px 1fr;background:#fff;border:1px solid #e0e8ef;border-radius:9px;overflow:hidden;text-decoration:none;color:#17364f;}
.related-event-card>img,.related-event-card>.event-cover-placeholder{width:130px;height:92px;object-fit:cover;font-size:1.4rem;}
.related-event-card>span:last-child{padding:.75rem;display:flex;flex-direction:column;justify-content:center;min-width:0;}
.related-event-card small{font-size:.65rem;color:#0870bd;font-weight:800;margin-bottom:.2rem;}
.related-event-card strong{font-size:.78rem;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.event-photo-modal-content{background:#071723;border:1px solid rgba(255,255,255,.12);border-radius:10px;overflow:hidden;}
.event-photo-modal-content .modal-header{background:#071723;color:#fff;padding:.7rem 1rem;}
.event-photo-modal-content .modal-body{background:#030b11;max-height:82vh;}
.event-photo-modal-content img{max-width:100%;max-height:82vh;object-fit:contain;display:block;margin:auto;}
body.high-contrast .event-card,body.high-contrast .events-filter,body.high-contrast .events-page-heading,body.high-contrast .event-detail-header{border-color:#000!important;}
@media(max-width:991.98px){.events-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.events-filter{grid-template-columns:1fr 160px auto;}.events-filter>.btn-outline-secondary{grid-column:1/-1}.event-detail-header{grid-template-columns:1fr}.event-detail-cover{order:-1;min-height:300px}.event-detail-cover img{min-height:300px;max-height:460px}.event-photo-grid{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:575.98px){.events-page-heading{padding:1.2rem;align-items:flex-start}.events-heading-icon{width:50px;height:50px;border-radius:12px;font-size:1.3rem}.events-page-heading p{font-size:.8rem}.events-filter{grid-template-columns:1fr;padding:.65rem}.events-filter>.btn-outline-secondary{grid-column:auto}.events-result-bar{align-items:flex-start;flex-direction:column;gap:.25rem}.events-grid{grid-template-columns:1fr}.event-card-media{aspect-ratio:16/9}.event-detail-copy{padding:1.3rem}.event-detail-cover,.event-detail-cover img{min-height:230px}.event-gallery-heading h2{font-size:1.2rem}.event-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem}.event-no-photos{padding:1rem;align-items:flex-start}.related-event-card{grid-template-columns:105px 1fr}.related-event-card>img,.related-event-card>.event-cover-placeholder{width:105px;height:82px}}
