/* ============================================= REGRAS GERAIS ========================================== */

:root {
    --tema: #4484c7;
    /*--sombra: #8b8b8b;*/
}

h1, h3, h3 a {
  color: var(--tema);
  text-decoration: none;
}

h3 {
  font-size: 24px;
  /* Qwen */
}

main {
    width: 65vw;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem;
}

body {
  color: #444;
  font-size: 14px;
  line-height: 160%;
}

.maintenance-page #page-title {
    text-align: center;
}

.maintenance-page #content-content h1 {
    text-align: center;
}

body:not(.path-frontpage) .content_top {
  padding: 20px 0;
}

/* Margin-top apenas em páginas internas, não na home */
body:not(.path-frontpage) .region-content {
  margin-top: 2rem;
}



h1 {
  font-size: 26px;
  margin-bottom: 3rem;
}

h1 span.field--name-title {
  font-size: 26px;
}

ul li {
  list-style-type: none;
}

a:hover {
  text-shadow: 1px 2px 3px #aaa !important;
  text-decoration: none;
}

.view p {
  margin: 0 0 5px 0;
  padding: 0;
}

.views-row {
  padding-top: 20px;
  padding-bottom: 15px;
  border-bottom: 1px dashed #91c0ce;
}

.views-row-last {
  border-bottom: none;
}

.view img {
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
  /*margin: 0 auto 30px auto;*/
  margin-top: 0;
  border: 1px solid #cacaca;
  max-width: 533px;
  /*height: auto;*/
  margin-right: 10px;
  .carousel-inner & {
    border: none;
    border-radius: 0;
  }
}

.views-field-edit-node span a {
  color: #000;
  font-size: 11px;
  padding: 2px 10px;
  border-radius: 20px;
  background: linear-gradient(90deg, #e3aa00 36%, #faaa39 70%);
  box-shadow: 0 0 6px rgba(37, 50, 50, 0.35);
  margin-top: 10px;
  display: inline-block;
}

/* ============================================= HEADER ================================================ */

#header-top {
  border-top: none;
  margin-top: -11px;
}

/* ============================================= FRONT PAGE ============================================= */
/* --------------------------------------------- BANDEIRAS ---------------------------------------------- */

/*menu bandeiras*/

#block-block-8,
#block-block-9
    {
        display: block;
        height: 20px;
        margin: 15px 0 0 0 !important;
        padding: 0 !important;
    }

#block-block-8 ul li a span,
#block-block-9 ul li a span
    {
       font-size: 1px;
       line-height: 1px;
       color: transparent;
    }

#block-block-8 ul,
#block-block-9 ul
    {
        margin: 0 !important;
        padding: 0 !important;
    }

#block-block-8 li,
#block-block-9 li
    {
        display: inline-block;
        margin: 0 5px 0 0 !important;
        padding: 0 !important;
        height: 20px;
        width:30px;
    }

#block-block-8 li a,
#block-block-9 li a
    {
       display: block;
    }

#block-block-8 li a:hover,
#block-block-9 li a:hover
    {
        opacity: 0.6;
        filter: alpha(opacity=60);
        -webkit-box-shadow: 0px 0px 2px 2px rgba(0,0,0,0.20);
        box-shadow: 0px 0px 2px 2px rgba(0,0,0,0.20);
    }

#block-block-8 a[href="/argentina"],
#block-block-9 a[href="/argentina"]
    {
        background: url(../images/argentina_menu.jpg) no-repeat center bottom;
        background-size: 30px 22px !important;
    }

#block-block-8 a[href="/bolivia"],
#block-block-9 a[href="/bolivia"]
    {
        background: url(../images/bolivia_menu.jpg) no-repeat center bottom;
        background-size: 30px 22px !important;
    }

#block-block-8 a[href="/brasil"],
#block-block-9 a[href="/brasil"]
    {
        background: url(../images/brasil_menu.jpg) no-repeat center bottom;
        background-size: 30px 22px !important;
    }

#block-block-8 a[href="/chile"],
#block-block-9 a[href="/chile"]
    {
        background: url(../images/chile_menu.jpg) no-repeat center bottom;
        background-size: 30px 22px !important;
    }

#block-block-8 a[href="/colombia"],
#block-block-9 a[href="/colombia"]
    {
        background: url(../images/colombia_menu.jpg) no-repeat center bottom;
        background-size: 30px 22px !important;
    }

#block-block-8 a[href="/costa-rica"],
#block-block-9 a[href="/costa-rica"]
    {
        background: url(../images/costa_rica_menu.jpg) no-repeat center bottom;
        background-size: 30px 22px !important;
    }

#block-block-8 a[href="/cuba"],
#block-block-9 a[href="/cuba"]
    {
        background: url(../images/cuba_menu.jpg) no-repeat center bottom;
       background-size: 30px 22px !important;
    }

#block-block-8 a[href="/equador"],
#block-block-9 a[href="/ecuador"]
    {
        background: url(../images/equador_menu.jpg) no-repeat center bottom;
        background-size: 30px 22px !important;
    }

#block-block-8 a[href="/mexico"],
#block-block-9 a[href="/mexico"]
    {
        background: url(../images/mexico_menu.jpg) no-repeat center bottom;
        background-size: 30px 22px !important;
    }

#block-block-8 a[href="/paraguai"],
#block-block-9 a[href="/paraguay"]
    {
        background: url(../images/paraguai_menu.jpg) no-repeat center bottom;
        background-size: 30px 22px !important;
    }

#block-block-8 a[href="/peru"],
#block-block-9 a[href="/peru"]
    {
        background: url(../images/peru_menu.jpg) no-repeat center bottom;
        background-size: 30px 22px !important;
    }

#block-block-8 a[href="/uruguai"],
#block-block-9 a[href="/uruguay"]
    {
        background: url(../images/uruguai_menu.jpg) no-repeat center bottom;
        background-size: 30px 22px !important;
    }

/* --------------------------------------------- IDIOMAS ------------------------------------------------ */

/* menu linguas */
.region.region-header-top-right
    {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        margin:0;
        padding: 5px 0 0 0;

}
ul.language-switcher-locale-url {
        padding: 0;
        width: 140px;
        margin-right: 0;
        margin-left: 50px;
        margin-top: 10px;
        height: 22px;
    }

#block-locale-language-content.block {}

#block-locale-language
    {
        margin-top: 10px;
        height: 22px;

    }

ul.language-switcher-locale-url li
    {
        list-style: none;
        display: inline-table;
        margin-right: 15px;
    }

ul.language-switcher-locale-url li a, ul.language-switcher-locale-url li
    {
        font-size: 11px;
    }

ul.language-switcher-locale-url li.en a.language-link.active
    {
        padding: 2px 6px;
        border-radius: 10px;
        background: #243360;
        color: #fff !important;
    }

ul.language-switcher-locale-url li.pt-br a.language-link.active
    {
        padding: 2px 6px;
        border-radius: 10px;
        background: green;
        color: yellow !important;
    }

ul.language-switcher-locale-url li.es a.language-link.active
    {
        padding: 2px 6px;
        border-radius: 10px;
        background: #FEC026;
        color: #B10029 !important;
    }

ul.language-switcher-locale-url li a
    {
        color: #5b5b5b !important;
    }


ul.language-switcher-locale-url li a:hover
    {
        text-decoration: none !important;
    }

/* --------------------------------------------- REDES SOCIAIS ------------------------------------------ */

#block-block-7 {
  margin: 10px 0 0 0;
  padding: 0;
  width: 70px;
  height: 24px;
}

#block-block-7 p a {
  display: inline-block;
  margin-right: 7px;
}

/* --------------------------------------------- TESTEIRA ----------------------------------------------- */

/* ===== TOP HEADER (ACIMA DA TESTEIRA) ===== */
.top-header-wrapper {
  background-color: #ffffff;
  padding: 0.5rem 0;
  /*border-bottom: 1px solid #dee2e6;*/
}

.top-header-wrapper .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Links de idioma */
.language-switcher {
  display: flex;
  gap: 0.5rem;
}

.lang-link {
  color: #4484c7;
  text-decoration: none;
  font-weight: 500;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.lang-link:hover {
  background-color: #e9ecef;
  text-decoration: none;
}

.lang-link.active {
  background-color: #4484c7;
  color: #fff;
}

/* Redes sociais */
.social-links {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.social-links a {
  color: #4484c7;
  font-size: 1.25rem;
  transition: color 0.2s;
  text-decoration: none;
}

.social-links a:hover {
  color: #2c5282;
}

/* ===== TESTEIRA (mantém como está) ===== */
.region-header {
  background: url(../images/fundo-testeira.jpg) no-repeat center !important;
  background-repeat: no-repeat;
  background-position: center;
  /*margin-top: -0.7rem;*/
  height: 9rem;
}


/* --------------------------------------------- BLOCK SEARCH/BUSCA ------------------------------------*/

/*
header {
  height: 100px;
  overflow: hidden;
}
*/
#block-search-form {
  width: 300px;
  margin-left: auto;
  position: absolute;
  right: 10px;
  top: 20px; /* ajuste conforme necessário */
}

/* -------------------------------------------- CARROSSEL ---------------------------------------------- */

.carousel .carousel-caption {
  background-color: #4484c7;
  color: #fff;
  width: 100%;
  padding: 5px 20px 10px 20px !important; /* top, right, bottom, left */
  text-align: center;
  text-transform: uppercase;
  position: static !important;
  bottom: auto !important;
  left: auto !important;
}

/* --------------------------------------------- MENU PRIMARIO SUPERFISH ------------------------------- */

#superfish-1 {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-around;
}

/* --------------------------------------------- BREADCRUMBS -------------------------------------------- */

#top-content {
  background-color: #F4F7FB;
  padding: 20px 0;
}

/* MAIN CONTENT */
#main-content {
  padding: 30px 0 30px 0;
}

/* --------------------------------------------- CAROUSEL ----------------------------------------------- */

#banner-inside {
  padding-top: 0px;
  margin-bottom: 0px;
}

.carousel-caption h3 {
  font-size: 16px;
}
.carousel-caption h3 a {
  color: #fff;
}
.carousel-control.right .icon-next
    {
        left: 2px;
        right: auto;
        text-align: center;
    }
.carousel-control .icon-next::before {
  content: '\e080';
}

/* SLIDESHOW - NOVOS ICONES */
/* Ajuste para o botão Anterior (Prev) */
.carousel-control .icon-prev::before,
.carousel-control .glyphicon-chevron-left::before {
    content: "\e079" !important;
    font-family: 'Glyphicons Halflings' !important;
    font-size: 30px;
}

/* Ajuste para o botão Próximo (Next) */
.carousel-control .icon-next::before,
.carousel-control .glyphicon-chevron-right::before {
    content: "\e080" !important;
    font-family: 'Glyphicons Halflings' !important;
    font-size: 30px;
}

.carousel-control .icon-prev::before,
.carousel-control .icon-next::before {
    position: relative;
    top: 2px; /* Aumente este valor em pixels até que fique centralizado */
}

/* --------------------------------------------- NOTICIAS HOME ------------------------------------------ */

/*
.view-display-id-block_1 .views-row {
  display: grid;
  grid-template-columns: 1fr 3fr;
  grid-template-rows: auto;
  column-gap: 10px;
  grid-template-areas:
    "imagem titulo"
    "imagem texto";
}

.views-field-field-imagem-destaque-home {
  grid-area: imagem;
}
.views-field-title {
  grid-area: titulo;
}
.views-field-body {
  grid-area: texto;
}
.view-display-id-block_1 h3 {
  margin-top: 0;

  a {
    font-size: 17px;
  }
}
*/
/* Estilos comuns aos dois tipos de link */
a.more-link,
#block-block-6 p a {
  display: inline-block;
  color: #ffffff;
  font-size: 11px;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  text-shadow: 0 1px 0 #528ecc;
  background: linear-gradient(to bottom, #bddbfa 5%, #80b5ea 100%);
  background-color: #bddbfa; /* fallback */
  border-radius: 42px;
  padding: 2px 10px; /* ajuste fino para altura equivalente a 20px com line-height */
  height: 20px;
  line-height: 16px; /* ajuste para centralizar verticalmente com padding */
  box-sizing: border-box;
}

/* Estilo específico para a.more-link no hover */
a.more-link:hover {
  background: linear-gradient(to bottom, #80b5ea 5%, #bddbfa 100%);
  background-color: #80b5ea;
}

/* Estilo específico para o link dentro de #block-block-6 */
#block-block-6 {
  position: relative;
  margin-bottom: 20px;
}

#block-block-6 p a {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 12px;
  padding: 6px 10px;
  height: auto;
  line-height: 1; /* mais limpo com padding controlando a altura */
  width: auto;
  min-width: auto; /* garantir que não herde width fixa */
}

#block-block-6 p a:hover {
  background: linear-gradient(to bottom, #80b5ea 5%, #bddbfa 100%);
  background-color: #80b5ea;
}


/* --------------------------------------------- RODAPE GERAL --------------------------------------------*/

#subfooter {
  background-color: #e4f1f5;
}


/* --------------------------------------------- MENU PRIMARIO INFERIOR --------------------------------- */

#block-block-1, #block-block-2, #block-block-3 {
  border-bottom: 1px dashed #91c0ce;
  margin: 0 0 20px 0;
  padding: 0 0 20px 0;
}

.mrodape
    {
        display: flex;
        flex-flow: row wrap;
        justify-content: space-around;
        max-width: 1140px;
        margin: 0 auto;
        padding:0;
        list-style: none;
    }

.mrodape li
    {
        margin: 0 5px;
        padding: 0 5px;
        font-size: 12px;
    }

.mrodape li a
    {
        color: #000;
    }

.mrodape li ul
    {
        list-style: none;
        padding-left: 0;
    }

/* --------------------------------------------- ENDERECO ----------------------------------------------- */
/* --------------------------------------------- LOGOS--------------------------------------------------- */

#endereco
    {
        text-align: center;
        padding: 25px 0;
        vertical-align: middle;
        margin-top: 20px;
    }

#endereco p
    {
        margin: 0;
        font-size: 12px;
    }

#politicas
    {
        text-align: center;
        padding: 25px 0 0 0;
        vertical-align: middle;
    }

#politicas p
    {
        margin: 0;
        padding: 0;
        font-size: 12px;
    }

#politicas p a
    {
        text-align: center;
        padding: 20px 0;
        font-size: 12px;
        color: #FFEA66;
    }

#politicas p a:hover
    {
        text-decoration: none;
        text-shadow: 2px 1px 3px rgba(40,40,40,0.99);
    }

#blacklogos
    {
        display: flex !important;
        /* flex-flow: row wrap !important;*/
        flex-direction: row !important;
        justify-content: space-between !important;
        padding: 25px 0 !important;
    }
#whitelogos
    {
        display: flex !important;
        /* flex-flow: row wrap !important;*/
        flex-direction: row !important;
        justify-content: space-between !important;
        padding: 25px 0 !important;
    }

#logosesquerda
    {
       width: 470px;
    }

#logosesquerda ul
    {
        margin: 0;
        padding: 0;
    }

 #logosesquerda ul li
    {
        display: inline-block;
        margin: 0 20px 0 0;
    }

 #blacklogos #logosesquerda ul li.acesso a
    {
        display: block;
        height: 52px;
        width: 120px;
        background: url(../images/acesso.png) no-repeat;
        background-position: 0 0;
    }

 #whitelogos #logosesquerda ul li.acesso a
    {
        display: block;
        height: 52px;
        width: 120px;
        background: url(../images/acesso.png) no-repeat;
        background-position: 0 -52px;
    }

 #blacklogos #logosesquerda ul li.castelocemanos a
    {
        display: block;
        height: 56px;
        width: 40px;
        background: url(../images/120anos.png) no-repeat;
        background-position: 0 0;
    }

 #whitelogos #logosesquerda ul li.castelocemanos a
    {
        display: block;
        height: 56px;
        width: 40px;
        background: url(../images/120anos.png) no-repeat;
        background-position: 0 -58px;
    }

#blacklogos #logosesquerda ul li.AquiSUS a
    {
        display: block;
        height: 52px;
        width: 92px;
        background: url(../images/aquisomossus.png) no-repeat;
        background-position: 0 0;
    }

#whitelogos #logosesquerda ul li.AquiSUS a
    {
        display: block;
        height: 52px;
        width: 92px;
        background: url(../images/aquisomossus.png) no-repeat;
        background-position: 0 -52px;
    }
#logosdireita
    {
        width: 470px;
        width: 550px;
    }

#logosdireita ul
    {
        margin: 0;
        padding: 0;
    }

#logosdireita ul li
    {
        display: inline-table;
        padding: 0;
        margin: 0 20px 0 0;
    }

#blacklogos #logosdireita ul li a
    {
        display: block;
        height: 52px;
        width: 120px;
        background: url(../images/acesso.png) no-repeat;
        background-position: 0 0;
    }

#whitelogos #logosdireita ul li a
    {
        display: block;
        height: 52px;
        width: 120px;
        background: url(../images/acesso.png) no-repeat;
        background-position: 0 -52px;
    }

#blacklogos #logosdireita ul li.ensp a
    {
        display: block;
        height: 52px;
        width: 45px;
        background: url(../images/logo-ensp.png) no-repeat;
        background-position: 0 0;
    }

#whitelogos #logosdireita ul li.ensp a
    {
        display: block;
        height: 52px;
        width: 45px;
        background: url(../images/logo-ensp.png) no-repeat;
        background-position: 0 -52px;
    }

#blacklogos #logosdireita ul li.sus a
    {
        display: block;
        height: 52px;
        width: 98px;
        background: url(../images/sus.png) no-repeat;
        background-position: 0 0;
    }

#whitelogos #logosdireita ul li.sus a
    {
        display: block;
        height: 52px;
        width: 98px;
        background: url(../images/sus.png) no-repeat;
        background-position: 0 -52px;
    }

#blacklogos #logosdireita ul li.fiocruz a
    {
        display: block;
        height: 52px;
        width: 38px;
        background: url(../images/logofiocruz.png) no-repeat;
        background-position: 0 0;
    }

#whitelogos #logosdireita ul li.fiocruz a
    {
        display: block;
        height: 52px;
        width: 38px;
        background: url(../images/logofiocruz.png) no-repeat;
        background-position: 0 -52px;
    }

#blacklogos #logosdireita ul li.msaude
    {
        margin: 0 10px 0 0;
    }

#whitelogos #logosdireita ul li.msaude
    {
        margin: 0 5px 0 0;
        padding-bottom: 10px;
    }

#blacklogos #logosdireita ul li.msaude a
    {
        display: block;
        height: 26px;
        width: 83px;
        background: url(../images/ministeriosaude.png) no-repeat;
        background-position: 0 -26px;
        margin-bottom: 13px;
    }

#whitelogos #logosdireita ul li.msaude a
    {
        display: block;
        height: 26px;
        width: 83px;
        background: url(../images/ministeriosaude.png) no-repeat;
        background-position: 0 0;
    }

#blacklogos #logosdireita ul li.gfederal a
    {
        display: block;
        height: 52px;
        /*width: 150px;*/
        width: 117px;
        background: url(../images/governofederal.png) no-repeat;
        /*background-position: 0 -52px;*/
        background-position: 0 0;

    }

#blacklogos #logosdireita ul li.gfederal
    {
margin-right:0;    }

#whitelogos #logosdireita ul
    {
        position: absolute;
    }

#whitelogos #logosdireita ul li.gfederal
    {
        position: relative;
        top: 7px;
    }

span.oculta
    {
        position: absolute;
        left: -999em;
        width: 1em;
        overflow: hidden;
    }

#logo
    {
        width: 201px;
    }

/* --------------------------------------------- POLITICA  ---------------------------------------------- */

/* ============================================= OUTRAS PAGINAS ========================================= */
/* --------------------------------------------- PAGINAS PAISES ----------------------------------------- */

.field p, .view p {
  margin: 0 0 5px 0;
  padding: 0;
}

.page-node.page-node- #content-wrapper h1.page-title {
    /* VERIFICAR SE ESSA REGRA ESTA AFETANDO A PAGINA DE NOTICIAS QUE, POR ALGUM MOTIVO ESTRANHO, NAO ESTA MOSTRANDO O TITULO */
    margin: 0 0 25px 0;
    padding: 0 0 0 45px !important;
    font-size: 26px !important;
    color: #316a7c !important;
    background-repeat: no-repeat;
    background-position: 0px 5px !important;
    background-size: auto 24px;
}

/* Argentina - PT e ES */
:is(.page-node-4, .page-node-37) #content-wrapper h1.page-title {
    background-image: url('../images/argentina_menu.jpg');
}

/* Bolívia - PT e ES */
:is(.page-node-26, .page-node-38) #content-wrapper h1.page-title {
    background-image: url('../images/bolivia_menu.jpg');
}

/* Brasil - PT e ES */
:is(.page-node-27, .page-node-39) #content-wrapper h1.page-title {
    background-image: url('../images/brasil_menu.jpg');
}

/* Chile - PT e ES */
:is(.page-node-28, .page-node-40) #content-wrapper h1.page-title {
    background-image: url('../images/chile_menu.jpg');
}

/* Colômbia - PT e ES */
:is(.page-node-156, .page-node-160) #content-wrapper h1.page-title {
    background-image: url('../images/colombia_menu.jpg');
}

/* Costa Rica - PT e ES */
:is(.page-node-29, .page-node-41) #content-wrapper h1.page-title {
    background-image: url('../images/costa_rica_menu.jpg');
}

/* Cuba - PT e ES */
:is(.page-node-30, .page-node-42) #content-wrapper h1.page-title {
    background-image: url('../images/cuba_menu.jpg');
}

/* Equador - PT e ES */
:is(.page-node-31, .page-node-43) #content-wrapper h1.page-title {
    background-image: url('../images/equador_menu.jpg');
}

/* México - PT e ES */
:is(.page-node-32, .page-node-44) #content-wrapper h1.page-title {
    background-image: url('../images/mexico_menu.jpg');
}

/* Paraguai - PT e ES */
:is(.page-node-34, .page-node-46) #content-wrapper h1.page-title {
    background-image: url('../images/paraguai_menu.jpg');
}

/* Peru - PT e ES */
:is(.page-node-33, .page-node-45) #content-wrapper h1.page-title {
    background-image: url('../images/peru_menu.jpg');
}

/* Uruguai - PT e ES */
:is(.page-node-35, .page-node-47) #content-wrapper h1.page-title {
    background-image: url('../images/uruguai_menu.jpg');
}

.page-node.page-node- #content-wrapper {
  padding-top: 30px;
  padding-left: 30px;
}

/* --------------------------------------------- SECRETARIA EXECUTIVA  ---------------------------------- */

/* Aplica o grid no container principal */
.views-field-nothing .field-content {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
}

/* Imagem responsiva */
.left-block img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Título */
.views-field-nothing .right-block h3 {
  margin: 0 0 0.5rem 0;
  color: #4484c7;
  font-size: 1.3em;
  font-weight: bold;
}

/* Parágrafos */
.views-field-nothing .right-block p {
  margin: 0 0 0.3rem 0;
  font-size: 0.95em;
  line-height: 1.5;
}

/* Link de email */
.views-field-nothing .right-block a[href^="mailto:"] {
  color: #0066cc;
  text-decoration: none;
}

.views-field-nothing .right-block a[href^="mailto:"]:hover {
  text-decoration: underline;
}

/* Botão Editar - com todos os detalhes originais */
.views-field-nothing .edit-link a {
  color: rgb(0, 0, 0) !important;
  font-size: 11px !important;
  padding: 2px 10px !important;
  text-shadow: 0px 0px 0px rgba(30, 30, 30, 0) !important;
  border-radius: 20px !important;
  background: linear-gradient(0deg, rgb(227, 170, 0) 36%, rgb(250, 170, 57) 70%) !important;
  box-shadow: 0px 0px 6px rgba(37, 50, 50, 0.35) !important;
  margin-top: 10px !important;
  display: inline-block !important;
  text-decoration: none !important;
  border: none !important;
}

.views-field-nothing .edit-link a:hover {
  opacity: 0.9;
}

/* Espaçamento entre registros */
.views-row {
  margin-bottom: 2rem;
}

/* Responsivo */
@media (max-width: 768px) {
  .views-field-nothing .field-content {
    display: block;
  }

  .left-block {
    margin-bottom: 1rem;
  }
}


/* PAISES MEMBROS - INSTITUICOES PARTICIPANTES */

.view-id-paises_miembros,
.view-id-paises_membros
    {

        margin: 0 auto;

    }

.view-id-paises_miembros .view-content,
.view-id-paises_membros .view-content
    {

        margin: 0 auto;
        display: flex;
        flex-flow: row;
        flex-wrap: wrap;

    }

.view-id-paises_miembros .views-row,
.view-id-paises_membros .views-row
    {
        width: 150px;

        margin: 0 4px 20px 4px;
        padding-top: 0;
    }

.view-id-paises_miembros .views-row img,
.view-id-paises_membros .views-row img
    {
        width: 150px;
        margin-bottom: 10px;
        border: 1px solid #cacaca;
    }

.view-id-paises_miembros .views-row .views-field-title,
.view-id-paises_membros .views-row .views-field-title
    {
        text-align: center
    }

.view-id-paises_membros .views-row,
.view-id-paises_miembros .views-row
    {
        border-bottom: none;
    }

.view-id-paises_membros .views-row-1 { order: 1; -webkit-order: 1;}
.view-id-paises_membros .views-row-2 { order: 2; -webkit-order: 2;}
.view-id-paises_membros .views-row-3 { order: 3; -webkit-order: 3;}
.view-id-paises_membros .views-row-4 { order: 4; -webkit-order: 4;}
.view-id-paises_membros .views-row-5 { order: 5; -webkit-order: 5;}
.view-id-paises_membros .views-row-6 { order: 6; -webkit-order: 6;}
.view-id-paises_membros .views-row-7 { order: 7; -webkit-order: 7;}
.view-id-paises_membros .views-row-8 { order: 8; -webkit-order: 8;}
.view-id-paises_membros .views-row-9 { order: 9; -webkit-order: 9;}
.view-id-paises_membros .views-row-10 { order: 10; -webkit-order: 10;}
.view-id-paises_membros .views-row-11 { order: 11; -webkit-order: 11;}
.view-id-paises_membros .views-row-12 { order: 14; -webkit-order: 14;}
.view-id-paises_membros .views-row-13 { order: 13; -webkit-order: 13;}


/* --------------------------------------------- NOTICIAS ----------------------------------------------- */
/*
.view-id-noticias .views-row {
  display: grid;
  grid-template-columns: 1fr 3fr;
  grid-template-rows: auto;
  column-gap: 10px;
  grid-template-areas:
    "imagem titulo"
    "imagem texto";
}

.views-field-field-imagem-destaque-home {
  grid-area: imagem;
}
.views-field-title {
  grid-area: titulo;
}
.views-field-body {
  grid-area: texto;
}
.view-id-noticias h3 {
  margin-top: 0;

  a {
    font-size: 17px;
  }
}
*/


/* Países relacionados lado a lado */
.field--name-field-pais-relacionado .field__items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem; /* 0.5rem entre linhas, 1rem entre colunas - verificar impacto na linha 1588 */
}

.field--name-field-pais-relacionado .field__item {
  display: inline-block;
}

.field--name-field-pais-relacionado .field__item a {
  text-decoration: none;
  color: #4484c7;
}

.field--name-field-pais-relacionado .field__item a:hover {
  text-decoration: underline;
}



.views-field-field-imagem-destaque-home {
  margin-bottom: 1rem;
}

.view-id-noticias .view-content img {
  max-width: 100%;
  height: auto;
}

.view-id-noticias .view-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
  column-gap: 3rem;
}

@media (max-width: 600px) {
  .view-id-noticias .view-content {
    grid-template-columns: 1fr; /* muda para uma coluna única */
    column-gap: 0; /* remove o espaçamento entre colunas */
  }
}

/* --------------------------------------------- ENTREVISTAS -------------------------------------------- */
.view-id-entrevista .views-row {
  display: grid;
  grid-template-columns: 1fr 8fr;
  grid-template-rows: auto;
  column-gap: 10px;
  grid-template-areas:
    "imagem titulo"
    "imagem texto";
}

.views-field-field-foto-do-entrevistado {
  grid-area: imagem;
}
.views-field-title {
  grid-area: titulo;
}
.views-field-body {
  grid-area: texto;
}
.view-id-entrevista h3 {
  margin-top: 0;

  a {
    font-size: 17px;
  }
}

/* --------------------------------------------- EXTRAS ------------------------------------------------- */
/* --------------------------------------------- PAGINACAO E AGENDA  ------------------------------------ */

/*calendario*/

div.date-nav .item-list
    {
        position: relative;
    }

ul.pager
    {
        overflow: visible;
        padding: 0;
        width: 100%;
        margin-bottom: 25px;
    }

.view .date-nav-wrapper :is(.date-prev, .date-next) {
  border-radius: 0;
  background: none;
  float: none;
  padding: 0;
  position: absolute;
  top: 0;
  right: 0;
  width: auto;
  z-index: 1;
  font-size: 12px;
  text-align: right;
}

.view .date-nav-wrapper .date-prev {
  right: 80px;
}


ul.pager li a,
ul.pager li.pager-current,
ul.pager li a:hover
    {
        padding: 2px 12px;
        display: block;
        margin:0;
        -webkit-border-radius:6px;
        -moz-border-radius: 6px;
        border-radius: 6px;
    }

.view .date-nav-wrapper .date-heading h3
    {
        line-height: 30px;
        font-size: 1.2em;
        text-transform: uppercase;
    }

body.page-agenda ol.breadcrumb li a.active
    {
        display: none;
    }

body.page-agenda ol.breadcrumb li:nth-child(2)
    {
        display: none;
    }

.view-agenda a:hover
    {
        text-decoration: none !important;
    }




/* =============== REGRAS PARA O NOVO SITE ==========================*/

/* =============================== SUPERFISH (RESPAL) =============================== */

.navbar {
  display: grid;
  justify-content: center;
  background-color: #fcfcfc;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.075), 0 10px 0 rgba(0, 0, 0, 0.01);
  height: 3.5rem;
}

.navbar a {
  text-decoration: none;
}

/* Itens do menu (links e nolink): fundo e cor */
ul.sf-menu.menu a,
ul.sf-menu.menu .nolink {
  display: grid;
  background-color: #fcfcfc;
  color: #999;
  font-size: 16px;
}

/* Accordion do Superfish (mobile) e itens visitados */
div.sf-accordion-toggle.sf-style-white a,
div.sf-accordion-toggle.sf-style-white a.sf-expanded,
ul.sf-menu.sf-style-white span.nolink,
ul.sf-menu.sf-style-white a:visited {
  background-color: #fcfcfc;
  color: #999;
  border: none;
  font-size: 16px;
}

/* Hover: fundo branco, texto azul */
ul.sf-menu.sf-style-white li:hover,
ul.sf-menu.sf-style-white li.sfHover,
ul.sf-menu.sf-style-white a:focus,
ul.sf-menu.sf-style-white a:hover,
ul.sf-menu.sf-style-white span.nolink:hover {
  background: #fff;
  color: #4484c7 !important;
  outline: 0;
}

ul.sf-menu.sf-style-white a.is-active {
  background: #fcfcfc !important;
}

/* Hover com sombra (como o site antigo) */
ul.sf-menu.sf-style-white a:hover,
ul.sf-menu.sf-style-white span.nolink:hover,
ul.sf-menu.sf-style-white li.sfHover > a,
ul.sf-menu.sf-style-white li.sfHover > span.nolink {
  text-shadow: 1px 1px 1px #999;
}

/* Primeiro nível sem maiúsculas; submenus com maiúsculas */
ul#superfish-main > li > a,
ul#superfish-main > li > span.nolink {
  text-transform: uppercase;
  font-weight: 700;
}

ul#superfish-main ul a,
ul#superfish-main ul span.nolink {
  text-transform: none;
}

/* Sobrescreve o azul dos links visitados */
ul#superfish-main a,
ul#superfish-main a:visited,
ul#superfish-main span.nolink {
  color: #999;
  font-size: 14px;
  line-height: 150%
}

ul#superfish-main a:hover,
ul#superfish-main span.nolink:hover,
ul#superfish-main li.sfHover > a,
ul#superfish-main li.sfHover > span.nolink {
  color: #4484c7 !important;
  text-shadow: 1px 1px 1px #999;
  background: transparent !important;
}

/* teste de inspeção do hover */
ul#superfish-main li:hover,
ul#superfish-main li.sfHover {
  background: #fcfcfc !important;
}

#block-respalsubtheme-endereco p,
#block-respalsubtheme-politicadeacesso p {
    color: #444;
    text-align: center;
}

ul#superfish-main {
  display: flex;
  gap: 40px;
}

footer {
    background-color: #e4f1f5;
}













/* ============================================================
   7. FOOTER
   ============================================================ */

footer {
  display: grid;
  justify-content: center;
  background-color: #e4f1f5;
  font-size: 0.8rem;
}

footer .region-footer .navbar-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  flex-direction: row;
  column-gap: 2rem;
  row-gap: 5rem;
  border-bottom: 1px dashed #09a;
  padding: 2rem 1rem;
  max-width: 85vw;
  margin: 0 auto;
  margin-bottom: 1.5rem;
}

footer .region-footer .navbar-nav ul {
  list-style-type: none;
  padding: 0;
}

footer .region-footer .navbar-nav > .nav-item > .nav-link {
  font-size: 0.85rem;
  font-weight: bold;
}

footer .region-footer .navbar-nav > .nav-item > ul > .nav-item > .dropdown-item:after {
  content: "▼";
  font-size: 0.6rem;
  margin-left: 0.3rem;
  vertical-align: middle;
}

footer .region-footer .navbar-nav ul ul > .nav-item > .nav-link:before {
  content: "•";
  margin-right: 0.3rem;
}

footer.footer-dark a {
  color: #444;
  text-decoration: none;
}

footer.footer-dark .navbar-nav a:hover {
  background-color: #f8f9fa;
  color: #369;
}

#block-respalsubtheme-logosparagraph .field__item:nth-child(3) {
  padding-right: 10rem;
}

.text-light {
  color: #444 !important;
}

/* Navegação secundária (menu do rodapé) */
#block-cep-subtheme-navegacaoprincipal-2 li a {
  color: #444 !important;
  text-decoration: none;
}

#block-cep-subtheme-navegacaoprincipal-2 li a:hover {
  text-decoration: underline;
}

#block-cep-subtheme-navegacaoprincipal-2 .is-active {
  color: #444;
}

/* Endereço do rodapé */
#block-cep-subtheme-enderecofooter {
  display: grid;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  color: #444;
  border-bottom: 1px dashed #444;
}

/* Logos do rodapé */
#block-cep-subtheme-logos ul {
  display: flex;
  flex-direction: row;
  justify-content: center;
  column-gap: 2rem;
  place-items: center;
  flex-flow: row wrap;
  list-style: none;
  flex-basis: auto;
  padding: 2rem;
  border-bottom: 1px dashed #444;
}

#block-cep-subtheme-logos li:nth-child(3) {
  padding-right: 12rem;
}

/* Política de acesso */
#block-cep-subtheme-politicadeacesso {
  display: flex;
  justify-content: center;
  padding-top: 3rem;
  color: #444;
}

#block-cep-subtheme-politicadeacesso a {
  color: #99120c;
  text-decoration: none;
}

#block-cep-subtheme-politicadeacesso a:hover {
  text-decoration: underline;
}

/* Layout dos logos em linha (campo do parágrafo) */
.field--name-field-logos {
  display: flex !important;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: center;
}

.logo-item {
  flex: 0 0 auto;
}

.field__item:nth-child(3) {
  /*padding-right: 10rem;*/
}

.logo-link {
  display: block;
  transition: opacity 0.3s ease;
}

.logo-link:hover {
  opacity: 0.8;
}

.logo-link img,
.logo-item img {
  max-height: 80px;
  width: auto;
  display: block;
}

/* Ocultar menu do rodapé em telas menores */
@media screen and (max-width: 992px) {
  #block-deptsubtheme-menu-footer {
    display: none;
  }
}


/* ===== CARROSSEL - IMAGEM OCUPANDO TODO O CONTAINER ===== */
.highlighted .carousel-item img,
.highlighted .carousel-inner img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  display: block;
  margin: 0 auto;
}

/* Containers internos sem padding extra */
.highlighted .carousel-item .row,
.highlighted .carousel-item .col-12 {
  margin: 0 !important;
  padding: 0 !important;
  max-width: 100% !important;
}

/* ===== BULLETS NO CANTO SUPERIOR DIREITO ===== */
.highlighted .carousel-indicators {
  position: absolute;
  top: 20px !important;
  right: 20px !important;
  left: auto !important;
  bottom: auto !important;
  margin: 0 !important;
  z-index: 10;
  justify-content: flex-end;
}

.highlighted .carousel-indicators button {
  width: 12px !important;
  height: 12px !important;
  border-radius: 50% !important;
  margin: 0 5px !important;
  background-color: rgba(255, 255, 255, 0.6) !important;
  border: none !important;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.highlighted .carousel-indicators button.active {
  background-color: #ffffff !important;
  opacity: 1 !important;
}

/* ===== CAPTION DO CARROSSEL ===== */
.highlighted .carousel-caption {
  position: static !important;
  background-color: #4484c7;
  color: #fff;
  width: 100%;
  padding: 15px 20px 10px !important;
  text-align: center;
  text-transform: uppercase;
}

/* Link do título sem underline */
.highlighted .carousel-caption h3 a {
  color: #fff;
  text-decoration: none !important;
}

.highlighted .carousel-caption h3 a:hover {
  color: #fff;
  text-decoration: none !important;
}



/* ===== SETAS DO CARROSSEL - SVG GROSSAS ===== */

.view-id-carousel {
  margin-bottom: 1.5rem;
}

/* Remover as setas padrão do Bootstrap */
.highlighted .carousel-control-prev-icon,
.highlighted .carousel-control-next-icon {
  background-image: none !important;
  width: 50px !important;
  height: 50px !important;
  background-color: #ffffff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  position: relative;
}

/* Seta anterior (esquerda) em SVG */
.highlighted .carousel-control-prev-icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='8' stroke-linecap='round' stroke-linejoin='round'><polyline points='15 18 9 12 15 6'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* Seta próxima (direita) em SVG */
.highlighted .carousel-control-next-icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='8' stroke-linecap='round' stroke-linejoin='round'><polyline points='9 18 15 12 9 6'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* Ajustar os botões de controle */
.highlighted .carousel-control-prev,
.highlighted .carousel-control-next {
  opacity: 1 !important;
  width: 60px !important;
}

/* Efeito hover nas setas */
.highlighted .carousel-control-prev:hover .carousel-control-prev-icon,
.highlighted .carousel-control-next:hover .carousel-control-next-icon {
  background-color: #f5f5f5;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.highlighted .carousel-control-prev:hover .carousel-control-prev-icon::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='8' stroke-linecap='round' stroke-linejoin='round'><polyline points='15 18 9 12 15 6'/></svg>");
}

.highlighted .carousel-control-next:hover .carousel-control-next-icon::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='8' stroke-linecap='round' stroke-linejoin='round'><polyline points='9 18 15 12 9 6'/></svg>");
}


/* ===== LOGO COM CSS SPRITE (PT em cima, ES embaixo) ===== */
.navbar-brand .site-logo {
  width: 230px;
  height: 118px;
  overflow: hidden;
  display: block;
  margin: 0 auto;
}

.navbar-brand .site-logo img {
  width: 230px;
  height: 236px;
  object-fit: none;
  display: block;
}

html[lang="pt-br"] .navbar-brand .site-logo img {
  object-position: 0 0;
}

html[lang="es"] .navbar-brand .site-logo img {
  object-position: 0 -118px;
}


/* ===== LANGUAGE SWITCHER CUSTOM ===== */
#block-respalsubtheme-languageswitcher .field__item {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

#block-respalsubtheme-languageswitcher .field__item br {
  display: none; /* Remove a quebra de linha */
}

#block-respalsubtheme-languageswitcher a {

  padding: 2px 6px;
  padding: 0.2rem;
  border-radius: 10px;
  text-decoration: none;
  /*font-weight: 600;*/
  font-size: 0.65rem; /* Reduzido de 0.9rem */
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

/* ===== QUANDO O IDIOMA É PORTUGUÊS ===== */
html[lang="pt-br"] #block-respalsubtheme-languageswitcher a:first-of-type {
  background-color: #2e7d32;
  color: #ffd700 !important;
  border-color: #2e7d32;
}

html[lang="pt-br"] #block-respalsubtheme-languageswitcher a:first-of-type:hover {
  background-color: #1b5e20;
  color: #ffeb3b !important;
}

html[lang="pt-br"] #block-respalsubtheme-languageswitcher a:last-of-type {
  background-color: #e0e0e0;
  color: #666 !important;
  border-color: #bdbdbd;
}

html[lang="pt-br"] #block-respalsubtheme-languageswitcher a:last-of-type:hover {
  background-color: #f5f5f5;
  color: #333 !important;
}

/* ===== QUANDO O IDIOMA É ESPANHOL ===== */
html[lang="es"] #block-respalsubtheme-languageswitcher a:last-of-type {
  background-color: #ffd700;
  color: #c62828 !important;
  border-color: #ffd700;
}

html[lang="es"] #block-respalsubtheme-languageswitcher a:last-of-type:hover {
  background-color: #ffeb3b;
  color: #b71c1c !important;
}

html[lang="es"] #block-respalsubtheme-languageswitcher a:first-of-type {
  background-color: #e0e0e0;
  color: #666 !important;
  border-color: #bdbdbd;
}

html[lang="es"] #block-respalsubtheme-languageswitcher a:first-of-type:hover {
  background-color: #f5f5f5;
  color: #333 !important;
}


/* ===== ALINHAR GRUPO (IDIOMA + REDES) TOTALMENTE À DIREITA ===== */

/* Força a região a ocupar 100% da largura e empurrar tudo para a direita */
.region-top-header {
  display: flex;
  align-items: center;
  justify-content: flex-end !important;
  width: 100%;
  gap: 1rem; /* Espaço entre os botões de idioma e os ícones sociais */
}

/* Remove margens verticais padrão dos blocos que podem desalinhar */
.region-top-header .block {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Reduz o padding direito do container do Bootstrap para aproximar da borda da tela */
/* Ajuste o valor (0.5rem, 0, ou 1rem) conforme o quão "encostado" você quer */
.top-header-wrapper .container {
  padding-right: 4.5rem !important;
}

/* Garante que o parágrafo das redes sociais não tenha margem */
#block-bootstrap-business-block-7 .field__item p {
  margin: 0 !important;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

/* Garante que os botões de idioma fiquem lado a lado */
#block-respalsubtheme-languageswitcher .field__item {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

#block-respalsubtheme-languageswitcher .field__item br {
  display: none;
}



/* Tags lado a lado */

.field--name-field-tags {
  margin-top: 1rem;
}

.field--name-field-tags .field__items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.field--name-field-tags .field__item {
  display: inline-block;
}

.field--name-field-tags .field__item a {
  text-decoration: none;
  color: #4484c7;
}

.field--name-field-tags .field__item a:hover {
  text-decoration: underline;
}


#block-respalsubtheme-endereco {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px dashed #09a;
}

#block-respalsubtheme-logosparagraph {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px dashed #09a;
}

/* ===== BLOCO NATIVO DE IDIOMA - LAYOUT HORIZONTAL ===== */

/* Container dos links */

.block-language-blocklanguage-content {
  margin-right: 6rem;
}

.block-language-blocklanguage-content ul {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.block-language-blocklanguage-content li {
  display: inline-block;
  margin: 0;
}

/* Links do bloco nativo */
.block-language-blocklanguage-content a {
  display: inline-block;
  padding: 0.1rem 0.4rem;      /* bem menor: menos altura e menos largura */
  border-radius: 999px;        /* formato de pílula */
  text-decoration: none;
  font-weight: 600;
  font-size: 0.65rem;          /* texto menor */
  line-height: 1.4;            /* controla a altura interna */
  transition: all 0.3s ease;
  border: 1px solid transparent; /* borda mais fina */
}

/* Português Ativo */
html[lang="pt-br"] .block-language-blocklanguage-content a[hreflang="pt-br"] {
  background-color: #2e7d32;
  color: #ffd700 !important;
  border-color: #2e7d32;
}

html[lang="pt-br"] .block-language-blocklanguage-content a[hreflang="pt-br"]:hover {
  background-color: #1b5e20;
  color: #ffeb3b !important;
}

/* Espanhol Inativo (quando em PT) */
html[lang="pt-br"] .block-language-blocklanguage-content a[hreflang="es"] {
  background-color: #e0e0e0;
  color: #666 !important;
  border-color: #bdbdbd;
}

html[lang="pt-br"] .block-language-blocklanguage-content a[hreflang="es"]:hover {
  background-color: #f5f5f5;
  color: #333 !important;
}

/* Espanhol Ativo */
html[lang="es"] .block-language-blocklanguage-content a[hreflang="es"] {
  background-color: #ffd700;
  color: #c62828 !important;
  border-color: #ffd700;
}

html[lang="es"] .block-language-blocklanguage-content a[hreflang="es"]:hover {
  background-color: #ffeb3b;
  color: #b71c1c !important;
}

/* Português Inativo (quando em ES) */
html[lang="es"] .block-language-blocklanguage-content a[hreflang="pt-br"] {
  background-color: #e0e0e0;
  color: #666 !important;
  border-color: #bdbdbd;
}

html[lang="es"] .block-language-blocklanguage-content a[hreflang="pt-br"]:hover {
  background-color: #f5f5f5;
  color: #333 !important;
}

#block-respalsubtheme-endereco p, #block-respalsubtheme-politicadeacesso p {
  font-size: 14px;
}

#block-respalsubtheme-politicadeacesso a {
  color: #4484c7 !important;
}

/* 1. Prepara a transição suave para TODAS as imagens dentro de links */
a img {
  transition: opacity 0.3s ease-in-out !important;
  opacity: 1 !important;
}

a:hover img {
  opacity: 0.7 !important;
}






.field--name-field-pais-relacionado {
  margin-top: 2rem;
}

.glightbox-clean .gslide-image img,
.glightbox-clean .gslide-image .gslide-image-inner {
  max-width: 95% !important;
  max-height: 90vh !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain; /* Garante que a imagem inteira seja visível */
}

.field--name-field-fotos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
}

.field--name-field-fotos .field__item {
  margin: 0;
}

.field--name-field-fotos img {
  height: 220px;   /* altura da "row" */
  width: auto;     /* largura segue a proporção */
  display: block;
  border-radius: 8px;
}










/* ============================================
   DESTAQUE DO DIA CORRENTE NO FULLCALENDAR
   ============================================ */

/* Remove o background rosa/vermelho padrão do dia atual */
.fc .fc-day-today {
  background-color: transparent !important;
}

/* Adiciona borda azul destacada ao dia atual */
.fc .fc-daygrid-day.fc-day-today {
  border: 2px solid #347efe !important;
  border-radius: 8px;
  position: relative;
}

/* Mantém o hover funcionando mesmo no dia atual */
.fc .fc-daygrid-day.fc-day-today:hover {
  background-color: rgba(52, 126, 254, 0.12) !important;
}

/* Destaca o número do dia atual */
.fc .fc-daygrid-day.fc-day-today .fc-daygrid-day-number {
  color: #347efe;
  font-weight: 700;
  background-color: rgba(52, 126, 254, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
}

/* Se quiser um indicador visual extra (pequeno ponto azul no canto) */
.fc .fc-daygrid-day.fc-day-today::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 6px;
  height: 6px;
  background-color: #347efe;
  border-radius: 50%;
}

/* ============================================
   ESTILO "PÍLULA" PARA BOTÕES DO FULLCALENDAR
   ============================================ */

/* 1. Container da toolbar - remove espaçamentos estranhos */
.fc .fc-toolbar {
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* 2. Botões base - remove o cinza feio */
.fc .fc-button {
  background-color: #f8f9fa !important;
  border: 1px solid #dee2e6 !important;
  color: #495057 !important;
  border-radius: 50rem !important; /* Formato pílula */
  padding: 0.375rem 1rem !important;
  font-weight: 500 !important;
  font-size: 0.875rem !important;
  transition: all 0.2s ease-in-out !important;
  box-shadow: none !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}

/* 3. Hover suave */
.fc .fc-button:hover {
  background-color: #e9ecef !important;
  border-color: #adb5bd !important;
  color: #212529 !important;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08) !important;
}

/* 4. Botão ativo (Mês/Semana/Dia selecionado) */
.fc .fc-button-active,
.fc .fc-button:active {
  background-color: #347efe !important;
  border-color: #347efe !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(52, 126, 254, 0.3) !important;
}

/* 5. Hover no botão ativo */
.fc .fc-button-active:hover {
  background-color: #2563eb !important;
  border-color: #2563eb !important;
  transform: translateY(-1px);
}

/* 6. Setas de navegação (anterior/próximo) */
.fc .fc-prev-button,
.fc .fc-next-button {
  padding: 0.375rem 0.75rem !important;
  min-width: 2.5rem;
}

/* 7. Ícones das setas - ajusta tamanho */
.fc .fc-prev-button .fc-icon,
.fc .fc-next-button .fc-icon {
  font-size: 1rem !important;
  line-height: 1 !important;
}

/* 8. Remove bordas duplas entre botões adjacentes (grupo de botões) */
.fc .fc-button-group .fc-button {
  border-radius: 0 !important;
  margin-left: -1px !important;
}

/* 9. Primeira e última borda do grupo */
.fc .fc-button-group .fc-button:first-child {
  border-top-left-radius: 50rem !important;
  border-bottom-left-radius: 50rem !important;
  margin-left: 0 !important;
}

.fc .fc-button-group .fc-button:last-child {
  border-top-right-radius: 50rem !important;
  border-bottom-right-radius: 50rem !important;
}

/* 10. Foco acessível */
.fc .fc-button:focus {
  outline: none !important;
  box-shadow: 0 0 0 0.2rem rgba(52, 126, 254, 0.25) !important;
}

.field--name-field-imagem-destaque-home {
  margin-bottom: 1.5rem;
}

.page-node-type-pais .region-content {
  position: relative;
}

.field--name-field-bandeira-do-pais {
  position: absolute;
  top: -135px;
}

.page-node-type-pais .region-content .block-page-title-block h1 {
  margin-left: 55px; /* Ajuste conforme necessário (45px da bandeira + 10px de respiro) */
}









