/* V47 — pôsteres grandes em duas linhas, com profundidade e movimento discreto. */
.home #featuredSection{padding:28px 24px 26px!important;margin-top:24px;margin-bottom:24px;border:1px solid #829fa83d;border-radius:26px;background:radial-gradient(ellipse at 0 0,#254d68,transparent 58%),linear-gradient(140deg,#122e47,#0a2035 70%);box-shadow:inset 0 1px #d8e9ef22,0 18px 40px #0b284724;overflow:hidden}
.featuredPhotoHeading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:16px}.home #featuredSection h2{margin:0;font-size:29px;line-height:1.2;letter-spacing:-.7px;color:#f2f7fc}.home #featuredSection h2 .headingAccent{color:#e3c991}
.featuredPhotoControls{display:flex;gap:9px;flex-shrink:0}.featuredPhotoControls button{display:grid;place-items:center;width:46px;height:46px;padding:0;border:1px solid #ccad6d88;border-radius:13px;background:linear-gradient(145deg,#365b74,#142e46);color:#f8e4bd;box-shadow:inset 0 1px #f9e4b635,0 5px 12px #0003;cursor:pointer;transition:transform .25s,background .25s;touch-action:manipulation}.featuredPhotoControls button:hover{transform:translateY(-2px);background:#365b74}.featuredPhotoControls button:disabled{opacity:.35;cursor:default;transform:none}.featuredPhotoControls button:focus-visible{outline:3px solid #f0d49b;outline-offset:3px}
.home #featuredCards.featuredPhotoRail{display:block!important;max-width:100%;overflow-x:auto;overflow-y:hidden;padding:22px 8px 28px;scrollbar-width:thin;scrollbar-color:#c7b27e66 #ffffff0b;overscroll-behavior-x:contain;perspective:1400px}
.home .featuredPhotoGrid{display:grid;grid-template-rows:repeat(2,minmax(0,1fr));grid-auto-flow:column;grid-auto-columns:480px;gap:24px;width:max-content;padding-right:10px;align-items:stretch;perspective:1400px}
.home .featuredPhotoFrame{position:relative;isolation:isolate;display:block;width:480px;aspect-ratio:3/2;height:auto;padding:7px;border:1px solid #d7c497a6;border-radius:18px;background:linear-gradient(145deg,#d7e0e4,#6b889c 35%,#d7bd85 72%,#23455b);box-shadow:inset 0 1px #fff9,inset 0 -2px #07192c55,0 6px 0 #020e1b66,0 16px 22px #020c1a88,0 0 18px #b5d7f218;text-decoration:none;overflow:hidden;transform-style:preserve-3d;transform-origin:center;animation:featuredGalleryFloat 8s ease-in-out infinite alternate;transition:box-shadow .3s,border-color .3s;will-change:transform}
.home .featuredPhotoFrame:nth-child(2n){animation-delay:-4s}.home .featuredPhotoFrame:nth-child(3n){animation-delay:-2s}
.home .featuredPhotoFrame:before{content:"";position:absolute;inset:0;z-index:2;border:1px solid #ffefd54d;border-radius:18px;box-shadow:inset 0 0 8px #c4e7f52e;pointer-events:none}
.home .featuredPhotoFrame .featuredPhotoPoster{position:absolute;inset:7px;display:block;width:calc(100% - 14px);height:calc(100% - 14px);margin:0;padding:4px;border:0;border-radius:11px;background:linear-gradient(145deg,#f5f7fa,#e8eff4);object-fit:contain;object-position:center;box-sizing:border-box}
.home .featuredPhotoFrame:hover{border-color:#f4dca5;box-shadow:inset 0 1px #fff9,0 7px 0 #020e1b66,0 20px 30px #020c1aaa,0 0 24px #b5d7f236}
.home .featuredPhotoFrame:focus-visible{outline:3px solid #f4dca5;outline-offset:4px}
.featuredPhotoFallback{display:none;position:absolute;inset:10px;align-items:center;justify-content:center;flex-direction:column;gap:9px;border-radius:11px;background:#eef4f8;color:#365872;text-align:center;font-size:16px}.featuredPhotoFallback>span{font-size:30px}.featuredPhotoFallback small{font-size:12px}
.home .featuredPhotoFrame.has-missing-poster .featuredPhotoPoster{display:none}.home .featuredPhotoFrame.has-missing-poster .featuredPhotoFallback{display:flex}
@keyframes featuredGalleryFloat{from{transform:translate3d(0,1px,0) rotateX(.6deg) rotateY(-1deg)}to{transform:translate3d(0,-3px,5px) rotateX(-.6deg) rotateY(1deg)}}
.motionPaused .featuredPhotoFrame,.a11yReduceMotion .featuredPhotoFrame{animation:none!important;transform:none!important;transition:none!important}
@media(max-width:850px){.home .featuredPhotoGrid{grid-auto-columns:400px}.home .featuredPhotoFrame{width:400px}}
@media(max-width:650px){.home #featuredSection{padding:21px 12px 18px!important;margin-top:18px;margin-bottom:20px;border-radius:21px}.featuredPhotoHeading{gap:12px;margin-bottom:10px}.home #featuredSection h2{font-size:23px;line-height:1.2}.featuredPhotoControls{gap:7px}.featuredPhotoControls button{width:44px;height:44px;border-radius:12px}.home .featuredPhotoGrid{grid-auto-columns:min(84vw,370px);gap:24px}.home .featuredPhotoFrame{width:min(84vw,370px);padding:5px;border-radius:15px}.home .featuredPhotoFrame:before{border-radius:15px}.home .featuredPhotoFrame .featuredPhotoPoster{inset:5px;width:calc(100% - 10px);height:calc(100% - 10px);padding:2px;border-radius:10px}.home #featuredCards.featuredPhotoRail{padding:17px 5px 23px}}
@media(prefers-reduced-motion:reduce){.home .featuredPhotoFrame{animation:none;transform:none;will-change:auto}.featuredPhotoControls button,.home .featuredPhotoFrame{transition:none}}

.home .institutionLogo{width:150px;height:114px;padding:10px 9px;gap:8px;border-radius:13px}
.home .institutionLogo img{width:110px;height:43px;object-fit:contain}
@media(max-width:900px) and (min-width:651px){.home .institutionLogo{width:132px;height:102px;padding:9px 8px;gap:7px}.home .institutionLogo img{width:96px;height:37px}}
@media(max-width:650px){.home .institutionLogo{width:clamp(80px,calc((100vw - 40px)/3.4),108px);height:94px;padding:8px 6px;gap:6px;border-radius:10px}.home .institutionLogo img{width:100%;max-width:86px;height:30px}.home .institutionLogo strong{font-size:9px;line-height:1.3}.home .institutionLogo small{font-size:8px;line-height:1.3}}
.home #featuredSection h2 .headingAccent{background:none;-webkit-text-fill-color:currentColor;color:#e3c991}
/* A moldura inteira cabe no trilho móvel, inclusive nos menores telefones. */
@media(max-width:650px){.home #featuredSection{container-type:inline-size}.home .featuredPhotoGrid{grid-auto-columns:min(74vw,340px)}.home .featuredPhotoFrame{width:min(74vw,340px)}}
@supports(width:1cqw){@media(max-width:650px){.home .featuredPhotoGrid{grid-auto-columns:min(84vw,370px,calc(100cqw - 20px))}.home .featuredPhotoFrame{width:min(84vw,370px,calc(100cqw - 20px))}}}
