/*
Theme Name: PROFLETRAS - Programa de Mestrado Profissional em Letras (Rede Nacional)
Theme URI: https://www2.uesb/ppg/profletras
Author: Éric Santos 
Description: Site do PROFLETRAS - Programa de Mestrado Profissional em Letras (Rede Nacional)
Version: 1.0
Text Domain: PROFLETRAS, Programa de Mestrado Profissional em Letras, Rede Nacional, Uesb, Universidade Estadual do Sudoeteste da Bahia, Mestrado;
*/


/*** IDIOMAS ***/
.topo
{
    background-color: #f8b618;
}

.topo .campus-data
{
    font-family: "Google Sans", sans-serif;
    font-size: 11px;
    color: #ffffff;
    padding-top: 11px
}

.topo .idiomas
{
    padding-top: 5px;
    text-align: right
}

.topo .idiomas li
{
    list-style: none;
    display: inline;
    padding-right: 10px
}
/*** FIM IDIOMAS ***/

/*** CABEÇALHO ***/

.cabecalho
{
    background-image: url('imgs/cabecalho.jpg');
    background-attachment: fixed;
    background-position: top;
    background-size: 100%;
    height: auto;
    padding: 70px 0
}
@media (max-width: 575.98px)
{ 
    .cabecalho
{
    background-size: auto;
}
}

@media (max-width: 575.98px)
{ 
    .cabecalho .logotipo
{
    padding-top: 15px;
}
}

@media (max-width: 575.98px)
{ 
    .cabecalho .brasao
{
    padding-top: 20px;
}
}
/*** FIM CABEÇALHO ***/


/*** MENU PRINCIPAL ***/
.navbar-custom {
    position: relative;
    z-index: 1000;

    width: 100%;
    padding: 0;

    background-color: #005da3;
}

.navbar-custom > .container {
    position: relative;
}

.navbar-custom .navbar-collapse {
    justify-content: center;
}

.navbar-custom .navbar-nav {
    align-items: center;
    margin: 0;
    padding: 0;
}

.navbar-custom .navbar-nav > .menu-item {
    position: relative;
}

.navbar-custom .navbar-nav > .menu-item > .nav-link {
    display: flex;
    align-items: center;
    gap: 7px;

    padding: 18px 20px;

    font-family: "Special Gothic Condensed One", sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.02em;
    text-transform: uppercase;

    color: #ffffff;

    transition:
        color 0.25s ease,
        background-color 0.25s ease;
}

.navbar-custom .navbar-nav > .menu-item > .nav-link:hover,
.navbar-custom .navbar-nav > .menu-item > .nav-link:focus,
.navbar-custom .navbar-nav > .menu-item.current-menu-item > .nav-link,
.navbar-custom .navbar-nav > .menu-item.current-menu-parent > .nav-link,
.navbar-custom .navbar-nav > .menu-item.current-menu-ancestor > .nav-link {
    color: #005da3;
    background-color: #ffffff;
}

/* ==================================================
   BOTÃO MOBILE
================================================== */

.navbar-custom .navbar-toggler {
    align-items: center;
    gap: 10px;

    margin: 10px 0;
    padding: 8px 12px;

    color: #ffffff;
    background-color: transparent;

    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 5px;

    box-shadow: none;
}

.navbar-custom .navbar-toggler:hover,
.navbar-custom .navbar-toggler:focus {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.08);

    box-shadow: none;
}

.navbar-custom .navbar-toggler:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 3px;
}

.navbar-custom .navbar-toggler-icon {
    width: 24px;
    height: 24px;
}

.navbar-custom .texto-menu {
    font-family: "Special Gothic Condensed One", sans-serif;
    font-size: 19px;
    font-weight: 400;
    line-height: 1;
    text-transform: uppercase;
}

/* ==================================================
   PRIMEIRO NÍVEL DE DROPDOWN
================================================== */

.navbar-custom .dropdown-menu {
    min-width: 240px;
    margin: 0;
    padding: 8px 0;

    background-color: #ffffff;

    border: 0;
    border-radius: 0 0 8px 8px;

    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
}

.navbar-custom .dropdown-menu .menu-item {
    position: relative;
}

.navbar-custom .dropdown-menu .dropdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    width: 100%;
    padding: 11px 18px;

    font-family: "Special Gothic Condensed One", sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.2;
    white-space: normal;

    color: #005da3;
    background-color: transparent;

    transition:
        color 0.25s ease,
        background-color 0.25s ease,
        padding-left 0.25s ease;
}

.navbar-custom .dropdown-menu .dropdown-item:hover,
.navbar-custom .dropdown-menu .dropdown-item:focus,
.navbar-custom .dropdown-menu .current-menu-item > .dropdown-item,
.navbar-custom .dropdown-menu .current-menu-parent > .dropdown-item,
.navbar-custom .dropdown-menu .current-menu-ancestor > .dropdown-item {
    padding-left: 23px;

    color: #ffffff;
    background-color: #005da3;
}

/* ==================================================
   SETAS
================================================== */

.navbar-custom .navbar-nav > .menu-item-has-children > .nav-link::after {
    content: "";

    display: inline-block;
    flex-shrink: 0;

    width: 7px;
    height: 7px;
    margin-left: 2px;

    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;

    transform: rotate(45deg) translateY(-2px);

    transition: transform 0.25s ease;
}

.navbar-custom .dropdown-menu .menu-item-has-children > a::after {
    content: "";

    display: inline-block;
    flex-shrink: 0;

    width: 8px;
    height: 8px;

    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;

    transform: rotate(45deg);

    transition: transform 0.25s ease;
}

/* ==================================================
   DESKTOP
================================================== */

@media (min-width: 992px) {

    .navbar-custom .navbar-toggler {
        display: none !important;
    }

    .navbar-custom .navbar-collapse {
        display: flex !important;
    }

    .navbar-custom .navbar-nav {
        flex-direction: row;
    }

    .navbar-custom .navbar-nav > .menu-item > .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
    }

    .navbar-custom .dropdown-menu .dropdown-menu {
        position: absolute;
        top: -8px;
        left: 100%;

        display: none;

        margin-left: 1px;

        border-radius: 8px;
    }

    .navbar-custom
    .dropdown-menu
    .menu-item-has-children.submenu-aberto
    > .dropdown-menu {
        display: block;
    }

    .navbar-custom
    .dropdown-menu
    .menu-item-has-children:hover
    > .dropdown-menu {
        display: block;
    }

    .navbar-custom
    .dropdown-menu
    .menu-item-has-children:hover
    > a::after {
        transform: rotate(135deg);
    }
}

/* ==================================================
   MOBILE E TABLET
================================================== */

@media (max-width: 991.98px) {

    .navbar-custom {
        padding: 5px 0;
    }

    .navbar-custom .navbar-toggler {
        display: flex;
    }

    .navbar-custom .navbar-collapse {
        width: 100%;
        padding: 8px 0 15px;
    }

    .navbar-custom .navbar-nav {
        align-items: stretch;
        flex-direction: column;

        width: 100%;
    }

    .navbar-custom .navbar-nav > .menu-item {
        width: 100%;
    }

    .navbar-custom .navbar-nav > .menu-item > .nav-link {
        justify-content: space-between;

        width: 100%;
        padding: 13px 15px;

        font-size: 20px;

        border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    }

    .navbar-custom .navbar-nav > .menu-item > .nav-link:hover,
    .navbar-custom .navbar-nav > .menu-item > .nav-link:focus,
    .navbar-custom .navbar-nav > .menu-item.current-menu-item > .nav-link,
    .navbar-custom .navbar-nav > .menu-item.current-menu-parent > .nav-link,
    .navbar-custom .navbar-nav > .menu-item.current-menu-ancestor > .nav-link {
        color: #005da3;
        background-color: #ffffff;
    }

    .navbar-custom .dropdown-menu {
        position: static !important;
        transform: none !important;

        width: 100%;
        min-width: 0;
        margin: 0;
        padding: 0 0 0 15px;

        background-color: rgba(0, 0, 0, 0.13);

        border-radius: 0;
        box-shadow: none;
    }

    .navbar-custom .dropdown-menu .dropdown-menu {
        display: none;

        padding-left: 15px;

        background-color: rgba(0, 0, 0, 0.11);
    }

    .navbar-custom
    .dropdown-menu
    .menu-item-has-children.submenu-aberto
    > .dropdown-menu {
        display: block;
    }

    .navbar-custom .dropdown-menu .dropdown-item {
        padding: 11px 15px;

        font-size: 18px;
        color: #ffffff;

        border-bottom: 1px solid rgba(255, 255, 255, 0.13);
    }

    .navbar-custom .dropdown-menu .dropdown-item:hover,
    .navbar-custom .dropdown-menu .dropdown-item:focus,
    .navbar-custom .dropdown-menu .current-menu-item > .dropdown-item,
    .navbar-custom .dropdown-menu .current-menu-parent > .dropdown-item,
    .navbar-custom .dropdown-menu .current-menu-ancestor > .dropdown-item {
        padding-left: 20px;

        color: #005da3;
        background-color: #ffffff;
    }

    .navbar-custom
    .navbar-nav
    > .menu-item-has-children.submenu-aberto
    > .nav-link::after {
        transform: rotate(225deg) translateY(-2px);
    }

    .navbar-custom
    .dropdown-menu
    .menu-item-has-children
    > a::after {
        transform: rotate(135deg);
    }

    .navbar-custom
    .dropdown-menu
    .menu-item-has-children.submenu-aberto
    > a::after {
        transform: rotate(-45deg);
    }
}

/*** INTERNAS ***/
.internas
{
    padding: 30px 0;
}

.internas h2
{
    color: #005da3;
    font-family: "Special Gothic Condensed One", sans-serif;
    font-weight: 500;
}

.internas h3, .internas h3 a
{
    color: #f8b618;
    font-family: "Special Gothic Condensed One", sans-serif;
    font-weight: 300;

    text-decoration: none;
}

.internas .data-post
{
    font-size:13px;
    color:#b1b1b1;
    font-family:"Google Sans", sans-serif;
}

.internas .texto-post, .internas .resumo-post, .internas .conteudo-resultados, .internas p
{
    color: #838282;
    font-family: "Google Sans", sans-serif;
    font-weight: 400
}

.internas .imagem-destacada
{
    padding: 10px 0 20px;
}

 /*botão */
.btn-outline-primary{
    background: #f8b618;
    border: 2px solid #f8b618;
    color: #ffffff;
    font-family: "Google Sans", sans-serif;
    font-weight: 500;
    padding: 6px 14     px;
    border-radius: 6px;
    transition: all .25s ease;

    margin-top: -10px;
    margin-bottom: 30px;
}

.btn-outline-primary:hover{
    background: #d99d12;
    border-color: #d99d12;
    color: #ffffff;
    transform: translateY(-2px);
}


/*** CENTRO 1 ***/
.centro1
{
    padding: 30px 0
}

.centro1 h1
{
    color: #f8b618;
    font-family: "Special Gothic Condensed One", sans-serif;
    font-weight: 500;
}

.centro1 p
{
    color: #838282;
    font-family: "Google Sans", sans-serif;
    font-weight: 400
}

.centro1 .lista
{
    padding-bottom: 5px;
}

.centro1 .lista img
{
    transform: scale(0.8);
}

.centro1 .lista .nomes, .centro1 .lista a
{
    color: #005da3;
    font-family: "Special Gothic Condensed One", sans-serif;
    font-size: 17px;
    padding-left: 3px;
    text-decoration: none;
}

/*** CENTRO 2 ***/
.centro2
{
    padding: 30px 0
}

.centro2 h1
{
    color: #005da3;
    font-family: "Special Gothic Condensed One", sans-serif;
    font-weight: 500;
}

/* destaques */
.secao-destaques {
    width: 100%;
    font-family: "Google Sans", sans-serif;
}

#sliderDestaques {
    position: relative;
    overflow: hidden;
    background-color: #111111;
}

/* Link envolvendo imagem e título */
.destaque-link {
    position: relative;
    display: block;
    color: #ffffff;
    text-decoration: none;
}

/* Imagem */
.destaque-imagem {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* Caso o post não tenha imagem destacada */
.destaque-sem-imagem {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 500px;
    background-color: #dddddd;
    color: #838282;
}

/* Barra preta transparente */
.destaque-legenda {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 22px 30px 42px;
    background: rgba(0, 0, 0, 0.72);
    transition: background-color 0.25s ease;
}

/* Título */
.destaque-legenda h4 {
    max-width: 900px;
    margin: 0;
    color: #f8b618;
    font-family: "Special Gothic Condensed One", sans-serif;
    text-decoration: none;
    line-height: 1.25;
}

/* Efeito ao passar o mouse */
.destaque-link:hover .destaque-legenda {
    background: rgba(0, 0, 0, 0.86);
}

.destaque-link:hover .destaque-legenda h4 {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 5px;
}

/* Bolinhas */
#sliderDestaques .carousel-indicators {
    right: 0;
    bottom: 12px;
    left: 0;
    z-index: 5;
    margin: 0;
}

#sliderDestaques .carousel-indicators button {
    width: 10px;
    height: 10px;
    margin: 0 5px;
    border: 0;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.55);
    opacity: 1;
    transition:
        background-color 0.25s ease,
        transform 0.25s ease;
}

#sliderDestaques .carousel-indicators button.active {
    background-color: #f8b618;
    transform: scale(1.2);
}

/* Tablet */
@media (max-width: 991.98px) {

    .destaque-imagem,
    .destaque-sem-imagem {
        height: 420px;
    }

}

/* Celular */
@media (max-width: 575.98px) {

    .destaque-imagem,
    .destaque-sem-imagem {
        height: 300px;
    }

    .destaque-legenda {
        padding: 16px 18px 38px;
    }

    .destaque-legenda h4 {
        line-height: 1.3;
    }

    #sliderDestaques .carousel-control-prev,
    #sliderDestaques .carousel-control-next {
        width: 15%;
        opacity: 0.8;
    }
}

/* lista de matérias */
.lista-informacoes {
    margin: 0 0 30px;
    padding: 0;
    list-style: none;
    border-bottom: none;
    overflow: hidden;
}

/* Cada item da lista */
.lista-informacoes li {
    border-bottom: 1px solid #e5e5e5;
}

/* Efeito zebrado */
.lista-informacoes li:nth-child(odd) {
    background: #ffffff;
}

.lista-informacoes li:nth-child(even) {
    background: #f0f0f0;
}

/* Links */
.lista-informacoes li a {
    display: block;
    padding: 16px 20px;
    color: #838282;
    font-family: "Google Sans", sans-serif;
    font-size: 16px;
    font-weight: 300;
    text-decoration: none;
    transition: all .25s ease;
}

/* Hover */
.lista-informacoes li a:hover {
    color: #000;
    padding-left: 28px;
}

.data-informacao{
    display:block;
    font-size:13px;
    color:#b1b1b1;
    margin-bottom:4px;
    font-family:"Google Sans", sans-serif;
}

.titulo-informacao{
    display:block;
    color:#838282;
    font-size:16px;
    font-weight:500;
}

 /*botão */
.btn-informacoes{
    background: #f8b618;
    border: 2px solid #f8b618;
    color: #ffffff;
    font-family: "Google Sans", sans-serif;
    font-weight: 500;
    padding: 12px 28px;
    border-radius: 6px;
    transition: all .25s ease;
}

.btn-informacoes:hover{
    background: #d99d12;
    border-color: #d99d12;
    color: #ffffff;
    transform: translateY(-2px);
}

@media only screen and (max-width: 601px)
{
    .espacamento
{
    padding: 20px 0;
}
}

/*** BUSCA ***/
.busca 
{
    position: relative;
    padding: 20px 0;
    background: #f5f5f5;
}

.busca-container {
    position: relative;
    width: 100%;
}

.busca-site {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: stretch;

    width: 100%;

    background: #ffffff;
    border: 2px solid #e4e4e4;
    border-radius: 10px;

    overflow: hidden;

    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.busca-site:focus-within {
    border-color: #f8b618;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.campo-busca {
    flex: 1;
    min-width: 0;

    padding: 16px 22px;

    font-family: "Google Sans", sans-serif;
    font-size: 17px;
    color: #595959;

    background: transparent;
    border: 0;
    outline: 0;
}

.campo-busca::placeholder {
    color: #9b9b9b;
}

.campo-busca::-webkit-search-cancel-button {
    cursor: pointer;
}

.botao-busca {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 68px;
    min-width: 68px;

    padding: 0;

    color: #ffffff;
    background: #f8b618;

    border: 0;
    cursor: pointer;

    transition:
        background-color 0.3s ease,
        transform 0.3s ease;
}

.botao-busca:hover,
.botao-busca:focus-visible {
    background: #df9d07;
}

.botao-busca:active {
    transform: scale(0.95);
}

.botao-busca svg {
    display: block;
}

.sugestoes-busca {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    z-index: 100;

    display: none;

    width: 100%;

    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 18px;

    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.14);

    overflow: hidden;
}

.sugestoes-busca.ativo {
    display: block;
}

.lista-sugestoes {
    display: flex;
    flex-direction: column;
}

.sugestao-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    padding: 14px 20px;

    color: #595959;
    text-decoration: none;

    border-bottom: 1px solid #eeeeee;

    transition:
        background-color 0.25s ease,
        padding-left 0.25s ease;
}

.sugestao-item:hover,
.sugestao-item:focus-visible {
    padding-left: 25px;
    color: #595959;
    background: #faf7ed;
}

.sugestao-informacoes {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.sugestao-tipo {
    font-size: 11px;
    font-weight: 700;
    color: #f0a600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.sugestao-titulo {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
}

.sugestao-seta {
    flex-shrink: 0;

    font-size: 28px;
    line-height: 1;
    color: #f8b618;
}

.ver-todos-resultados {
    display: block;

    padding: 15px 20px;

    font-size: 14px;
    font-weight: 700;
    text-align: center;
    color: #ffffff;
    text-decoration: none;

    background: #f8b618;

    transition: background-color 0.3s ease;
}

.ver-todos-resultados:hover {
    color: #ffffff;
    background: #df9d07;
}

.busca-carregando,
.busca-mensagem {
    padding: 20px;

    font-size: 14px;
    text-align: center;
    color: #838282;
}

@media (max-width: 575.98px) {

    .busca {
        padding: 30px 0;
    }

    .campo-busca {
        padding: 14px 18px;
        font-size: 15px;
    }

    .botao-busca {
        width: 58px;
        min-width: 58px;
    }

    .sugestoes-busca {
        border-radius: 14px;
    }

    .sugestao-item {
        padding: 13px 16px;
    }
}

/*** CONTATO ***/
.contato
{
    padding: 10px 0 30px 0;
}

.contato p
{
    color: #676767;
    font-family: "Google Sans", sans-serif;
    font-weight: 200
}

.contato p b
{
    font-weight: 1000
}

/*** RODAPÉ ***/
.rodape
{
    padding: 10px 0 30px 0;
    background-color: #507a43;
}

.rodape img
{
    transform: scale(0.6);
}
@media only screen and (max-width: 601px)
{
    .rodape img
{
    transform: scale(0.7);
}
}

.rodape article
{
    color: white;
    font-family: "Google Sans", sans-serif;
    font-weight: 100;
    font-size: 11px;
}

.rodape article b
{
    font-weight: 800
}


/*** PAGINAÇÃO ***/
/* Área geral da paginação */
.paginacao {
    margin-top: 40px;
    font-family: "Google Sans", sans-serif;
}

/* Remove margens padrão do WordPress */
.paginacao .navigation {
    margin: 0;
}

/* Organiza os números horizontalmente */
.paginacao .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

/* Números, anterior e próxima */
.paginacao .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;

    background-color: #f0f0f0;
    border: 1px solid #e3e3e3;
    border-radius: 6px;

    color: #838282;
    font-family: "Google Sans", sans-serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;

    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

/* Hover */
.paginacao a.page-numbers:hover {
    background-color: #f8b618;
    border-color: #f8b618;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Página atual */
.paginacao .page-numbers.current {
    background-color: #f8b618;
    border-color: #f8b618;
    color: #ffffff;
    cursor: default;
}

/* Reticências */
.paginacao .page-numbers.dots {
    min-width: auto;
    padding: 0 5px;
    background: transparent;
    border-color: transparent;
    color: #838282;
}

/* Botões Anterior e Próxima */
.paginacao .page-numbers.prev,
.paginacao .page-numbers.next {
    padding: 0 20px;
}

/* Ajustes para celular */
@media (max-width: 575.98px) {

    .paginacao {
        margin-top: 30px;
    }

    .paginacao .nav-links {
        gap: 6px;
    }

    .paginacao .page-numbers {
        min-width: 36px;
        height: 36px;
        padding: 0 10px;
        font-size: 14px;
    }

    .paginacao .page-numbers.prev,
    .paginacao .page-numbers.next {
        padding: 0 13px;
    }
}

/***  PARCEIROS ***/
.parceiros
{
    padding:60px 0;
    background:#fff;
}

.parceirosSwiper
{
    overflow:hidden;
}

.parceirosSwiper .swiper-wrapper
{
    transition-timing-function:linear;
}

.parceirosSwiper .swiper-slide
{
    display:flex;
    justify-content:center;
    align-items:center;
    width:auto;
}

.parceirosSwiper img
{
    max-height:70px;
    width:auto;
    transition:.35s;
    filter:grayscale(100%);
    opacity:.65;
}

.parceirosSwiper a:hover img
{
    opacity:1;
    filter:none;
    transform:scale(1.08);
}