/* Camada visual FAO UFMG - ID 120 anos
   vinho #80011c | dourado envelhecido #ae791d | cinza claro #d9d9d9 | azul petroleo #17364a */
:root{--fao-grena:#6e1230;--fao-vinho:#80011c;--fao-vinho-esc:#5c0014;--fao-dourado:#ae791d;--fao-dourado-claro:#d9a647;--fao-cinza:#d9d9d9;--fao-cinza-bg:#f3f3f3;--fao-petroleo:#17364a;--fao-petroleo-esc:#0f2534}

/* Tipografia: Montserrat (substituta livre da Gotham) nos titulos */
h1,h2,h3,h4,.menu a,.quick-access ul a,.btn,.fao-hero-title{font-family:"Montserrat","Open Sans",sans-serif}
.main-section>header h1,.main-section header h1{font-weight:800;color:var(--fao-petroleo);letter-spacing:-.01em}

/* Cabecalho vinho + faixa em seta (petroleo -> dourado) da ID */
body .header{background:var(--fao-grena);box-shadow:none}
body .header-search button{color:var(--fao-grena)}
.fao-band{position:relative;height:10px;background:var(--fao-petroleo);overflow:hidden}
.fao-band:after{content:"";position:absolute;right:0;top:0;height:100%;width:14%;background:var(--fao-dourado);clip-path:polygon(0 0,100% 0,100% 100%,0 100%,6px 50%);border-left:3px solid #fff}

/* Menu lateral azul petroleo, ativo em vinho com marcador dourado */
body .menu a{background:var(--fao-petroleo);color:#fff;font-weight:600;letter-spacing:.02em;border-left:4px solid transparent;transition:background .2s,border-color .2s}
body .menu .current-menu-item a,body .menu .current-menu-parent a,body .menu a:hover,body .menu li.active a{background:var(--fao-vinho);border-left-color:var(--fao-dourado)}
body .menu ul.sub-menu{background:var(--fao-petroleo-esc)}
body .menu ul.sub-menu li a{background:transparent;color:#fff;font-weight:500;border-left:0}
body .menu ul.sub-menu li a:hover{background:rgba(255,255,255,.08)}

/* Acesso rapido dourado */
body .quick-access ul a{background:var(--fao-dourado);color:#fff;font-weight:700;letter-spacing:.06em;border-radius:4px;transition:background .2s}
body .quick-access ul a:hover{background:var(--fao-vinho);color:#fff}

/* Botoes */
body .btn,body input[type=submit]{background-color:var(--fao-vinho);color:#fff;border-radius:999px;padding-left:28px;padding-right:28px;font-weight:600}
body .btn:hover,body input[type=submit]:hover{background-color:var(--fao-petroleo)}

/* Rodape azul petroleo com filete dourado */
body .footer-sign{background:var(--fao-petroleo);border-top:6px solid var(--fao-dourado)}
body .footer-sign p{color:#e8e8e8}

/* Apresentacao */
.main-section.intro{border-left:6px solid var(--fao-dourado);padding-left:24px}
.main-section.intro h1{color:var(--fao-vinho)}
.main-section.intro:before{content:"120 ANOS DA FAO UFMG";display:block;font-family:"Quicksand",sans-serif;font-weight:600;font-size:13px;letter-spacing:.18em;color:var(--fao-dourado);margin-bottom:6px}

/* Noticias em cards */
.news .news-items{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:24px}
.news .news-item{width:auto!important;margin:0!important;float:none!important;background:#fff;border:1px solid #e6e6e6;border-top:4px solid var(--fao-vinho);border-radius:8px;box-shadow:0 2px 6px rgba(23,54,74,.06);transition:transform .2s,box-shadow .2s}
.news .news-item:hover{transform:translateY(-3px);box-shadow:0 12px 28px -12px rgba(23,54,74,.35)}
.news .news-link{display:block;padding:20px 22px;text-decoration:none}
.news .news-header h1{font-size:18px!important;line-height:1.35;font-weight:700;color:var(--fao-petroleo);margin:0 0 8px}
.news .news-header time{font-size:13px;font-weight:600;color:var(--fao-dourado)}
.news .news-excerpt{font-size:14px;line-height:1.55;color:#444;margin-top:10px;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.news .btn-center{margin-top:32px}

/* Listagem de noticias / arquivo */
.news-list .news-list-item h3{font-family:"Montserrat",sans-serif;font-weight:700;color:var(--fao-petroleo)}
.news-list .news-list-item time{color:var(--fao-dourado);font-weight:600}
.news-list .news-list-item a:hover h3{color:var(--fao-vinho)}

/* Hero (banner da home) */
.fao-hero{position:relative;background:var(--fao-petroleo)}
.fao-hero-item{position:relative;min-height:460px;background-size:cover;background-position:center;display:flex;align-items:center}
.fao-hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(15,37,52,.94) 0%,rgba(23,54,74,.82) 38%,rgba(128,1,28,.55) 72%,rgba(128,1,28,.15) 100%)}
.fao-hero-content{position:relative;z-index:1;max-width:1170px;width:100%;margin:0 auto;padding:64px 24px 80px}
.fao-hero-content>*{max-width:640px}
.fao-hero-kicker{font-family:"Quicksand",sans-serif;font-weight:600;font-size:14px;letter-spacing:.2em;text-transform:uppercase;color:var(--fao-dourado-claro);margin:0 0 14px}
.fao-hero-title{font-weight:800;font-size:46px;line-height:1.08;color:#fff;margin:0 0 18px;letter-spacing:-.02em}
.fao-hero-desc{font-size:18px;line-height:1.6;color:#e6e6e6;margin:0 0 28px}
.fao-hero-btn{display:inline-block;background:var(--fao-dourado);color:#fff!important;font-family:"Montserrat",sans-serif;font-weight:700;padding:14px 30px;border-radius:999px;text-decoration:none!important;transition:background .2s,transform .2s}
.fao-hero-btn:hover{background:var(--fao-vinho);transform:translateY(-2px)}
.fao-hero .owl-dots{position:absolute;left:0;right:0;bottom:22px;text-align:center}
.fao-hero .owl-dots .owl-dot span{display:block;width:34px;height:4px;margin:0 4px;border-radius:2px;background:rgba(255,255,255,.4)}
.fao-hero .owl-dots .owl-dot.active span{background:var(--fao-dourado)}
.fao-hero .owl-dots .owl-dot{background:none;border:0;padding:6px 0;cursor:pointer}
.fao-hero .owl-nav{position:absolute;right:24px;bottom:14px}
.fao-hero .owl-nav button{background:rgba(255,255,255,.12)!important;color:#fff!important;border:0;width:40px;height:40px;border-radius:50%;font-size:22px!important;margin-left:6px;cursor:pointer}
.fao-hero .owl-nav button:hover{background:var(--fao-dourado)!important}
@media (max-width:768px){.fao-hero-item{min-height:380px}.fao-hero-title{font-size:32px}.fao-hero-desc{font-size:16px}.fao-hero .owl-nav{display:none}}
@media (prefers-reduced-motion:reduce){.news .news-item,.fao-hero-btn{transition:none}.news .news-item:hover,.fao-hero-btn:hover{transform:none}}

/* Ajustes de especificidade (tema pai usa .menu-and-content .main-section>header h1) */
.menu-and-content .main-section>header h1{font-family:"Montserrat","Open Sans",sans-serif;font-weight:800;color:var(--fao-petroleo);letter-spacing:-.01em}
.menu-and-content .main-section.intro>header h1{color:var(--fao-vinho)}
.news .news-figure{display:none}
.news .news-link .news-header{margin:0;padding:0}
.news .news-item:after{display:none}
@media (max-width:768px){.menu-and-content .main-section>header h1{font-size:26px;line-height:1.2}}

/* Hero: altura unica para todos os slides (evita salto do autoHeight do owl) */
.fao-hero-item{height:500px;min-height:0;overflow:hidden;background-position:center 40%}
.fao-hero-content{padding:48px 24px 64px}
.fao-hero .owl-height{height:auto!important}
/* faixa dos indicadores nao pode bloquear o clique nas setas */
.fao-hero .owl-dots{pointer-events:none}
.fao-hero .owl-dots .owl-dot{pointer-events:auto}
.fao-hero .owl-nav{z-index:2}
@media (max-width:768px){.fao-hero-item{height:480px}.fao-hero-content{padding:32px 20px 56px}}
