/* cmsms stylesheet: bandb modified: Monday, September 8, 2025 11:19:21 AM */

body {
  font-family: 'Raleway', 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif;
  color: #000000;
  background: #FFFFFF;
}

:focus {outline:none !important;}
::-moz-focus-inner {border:0 !important;}


a {
  color: #A44A18;
  transition: all 0.2s ease;
}

a:hover, a.menuactive {
  color: #84754d;
}

h1 {
  font-family: 'Raleway', 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif;
  font-size: 2.8rem;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  color: #000000;
  font-weight: bold;
  text-transform: uppercase;
}

h1 a, h1 a:hover {
  color: #000000;
}

h2, h3, h4 {
  font-family: 'Raleway', 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif;
  font-size: 0.9rem;
}

h3 {
  font-size: 1.4rem;
  margin-top: 1rem;
  text-transform: uppercase;
}

#sticky-logo a {
  transition: all 0.3s ease;
  font-family: 'Raleway', 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif;
  font-size: 0rem;
  line-height: 1rem;
  color: #D2D2D0;
}

.is-stuck #sticky-logo a {
  display: block;
  font-size: 2rem;
  padding-top: 1rem;
}

#sticky-logo {
  float: left;
}

#menu-toggle {
  float: right;
}

.top-bar, .top-bar ul, .is-drilldown-submenu {
  background-color: #A5ABB0;
  z-index: 999;
}

.dropdown.menu.medium-horizontal>li.is-dropdown-submenu-parent>a:after {
  border-color: #A44A18 transparent transparent;
}

.is-dropdown-submenu .is-dropdown-submenu-parent.opens-left>a:after {
  border-color: transparent #A44A18 transparent transparent;
}

.divider {
  background: #A5ABB0;
  padding: 0.5rem;
  font-size: 2rem;
}

.divider a {
  color: #FFFFFF;
  margin: 0 0.5rem;
}

.divider a:hover {
  color: #A44A18;
}

.card-divider {
  background: #000000;
  color: #D2D2D0;
}

.button {
  background: #D2D2D0;
  color: #000000;
  border-radius: 5px;
}

.button:hover {
  background: #000000;
  color: #D2D2D0;
}

.divider .button {
  background: #000000;
  color: #D2D2D0;
  margin-bottom: 0.2rem;
}

.divider .button:hover {
  background: #A44A18;
  color: #000000;
}

#copyright {
  border-top: 0.5px solid #D2D2D0;
}

#copyright span {
  margin: 0 1rem;
}

#content-columns h4 {
  text-align: center;
  font-size: 1.1rem;
  text-transform: uppercase;
}

form {
  padding: 1rem;
}

table tbody tr:nth-child(even) {
  background-color: #FFFFFF;
}

.menu > li > a {
  display: block;
  padding: .7rem 1rem;
  line-height: 1;
  font-size: 11pt;
  color: #A44A18;
  font-weight: bold;
  transition: all 0.2s ease;
}

.menu > li > a:hover {
  color: #000000;
}

.menu > li.menuactive {
  background: #A44A18;
  border: 1px solid #A44A18;
}

.menu > li.menuactive > a {
  color: #ffffff !important;
  font-weight: bold;
}

.dropdown.menu.medium-horizontal>li.is-dropdown-submenu-parent>a:after {
  border-color: #FFFFFF transparent transparent;
}

.js-drilldown-back>a:before {
  border-color: transparent #FFFFFF transparent transparent;
}

.is-drilldown-submenu-parent>a:after {
  border-color: transparent transparent transparent #FFFFFF;
}

.conteudo {
  padding: 50px 50px 80px 50px;
}

#banner_top {
  width: 100%;
  max-width: 1440px;
  display: flex;
  flex-direction: row;
  padding: 50px 0 60px 0;
  justify-content: space-between;
}

.banner_top_img {
  max-width: 300px;
}

.banner_top_div {
  margin: 0px;
  align-items: center;
  display: flex;
  flex-direction: column;
}

#linha_topo {
  background: #A44A18;
  height: 30px;
  width: 100%;
  font-family: "Franklin Gothic",sans-serif;
  color: #FFF;
  padding: 2px 0 0 0;
}

#logo_site {
}

.row {
  max-width: 1440px;
}

#header-menu {
  display: flex;
  flex-direction: column;
  margin-left: 20px;
}

.img-header {
  width: 100vw;
  height: 100%;
  object-fit: contain;
}

.menu_lang {
  display: flex;
  flex-direction: row-reverse;
}

.menu_lang_position {
  position: relative;
  bottom: -20px;
}

footer {
  background: #000000;
  color: #D2D2D0;
}

footer .column {
  padding: 0 2rem;
}

footer h4 {
  margin-top: 1rem;
  color: #D2D2D0;
  font-size: 1rem;
  padding-bottom: 0.2rem;
  border-bottom: 0.5px dotted #D2D2D0;
}

footer i {
  margin-right: 0.5rem;
}

.footerISEP {
  background: #A44A18;
  font-family: 'Raleway', 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif;
  color: #FFF;
  font-size: small;
  width: 100%;
  margin: 0px;
  align-items: center;
  display: flex;
  flex-direction: column;
  padding-top: 30px;
  padding-bottom: 30px;
}

.footerISEP a {
  color: #FFF;
}

#footerISEP_container {
  width: 100%;
  max-width: 1440px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 0 20px 0 20px;
}

#footerISEP_social {
  font-size: 20pt;
  padding: 10px 0px 0px 0px;
}

#footerISEP_contact {
  padding: 15px 0px 0px 0px;
}

/* Banner topo notícias */
.img-header_news {
  width: 100vw;
  height: 500px;
  object-fit: cover;
}

/* ===== GRELHA NOTÍCIAS ===== */
.cards_news-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)); /* 4 colunas desktop */
  gap: 1.5rem;
  margin: 2rem auto 0;
  max-width: 1150px;
  width: 100%;
}

/* ===== CARTÃO NOTÍCIA ===== */
.card_news {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
  height: 100%;
}

.card_news:hover {
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
  border-color: #A44A18;
}

/* Imagem consistente (16:9) */
.card_news-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

/* Conteúdo sem fundo colorido */
.card_news-body {
  padding: 0.8rem 1rem 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
  background: #fff; /* fundo branco */
}

/* Título mais leve */
.card_news-title,
.card_news-body h2 {
  font-weight: 500; /* menos carregado que bold */
  color: #222; /* cinza escuro em vez de preto puro */
  margin: 0;
  font-size: 1rem;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* até 2 linhas */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Resumo */
.card_news-summary {
  font-size: 0.9rem;
  color: #555;
  margin: 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Data */
.card_news-date {
  padding: 0 1rem 0.8rem 1rem;
  font-size: 0.85rem;
  color: #A44A18 !important;
  text-align: right;
}

/* Categorias (se usadas) */
.cat_news {
  float: right;
  list-style: none;
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.cat_news > li {
  color: #A44A18;
  border: 1px solid #A44A18;
}

.cat_news > li > a,
.cat_news > li > span {
  display: block;
  padding: 0.7rem 1rem;
  line-height: 1;
  font-size: 11pt;
  color: #A44A18;
  text-decoration: none;
}

.cat_news > li > a:hover {
  color: #000000;
}

/* ===== RESPONSIVO ===== */
@media (max-width: 1200px) {
  .cards_news-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .cards_news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 720px;
  }
}

@media (max-width: 600px) {
  .cards_news-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
  .card_news {
    height: auto;
  }
}



#menu_bars {
  color: #A44A18;
  display: none;
  font-size: 20px;
  align-self: end;
  margin-right: 10px;
  transition: transform .5s ease-in-out;
  cursor: pointer;
  margin-top: 10px;
}

#menu_bars:hover {
  transform: rotate(180deg);
}

@media screen and (max-width: 1200px) {
  #banner_top {
    flex-direction: column;
    width: 100%;
  }

  #header-menu {
    align-items: center;
    margin-top: 20px;
  }

  .menu_lang_position {
    bottom: 0px;
  }

  #footerISEP_container {
    width: 100%;
  }
}

@media screen and (max-width: 640px) {
  #footerISEP_container {
    flex-direction: column;
    align-items: center;
    padding: 20px 0 20px 0;
  }

  #menu_bars {
    display: flex;
  }

  #header-menu {
    margin-top: 20px;
    visibility: hidden;
    height: 0px;
    transition: height 0.5s linear allow-discrete;
  }

  #header-menu.active {
    visibility: unset;
    transition: visibility 0.5s linear;
  }
}

/* Container geral */
.container-max {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: #333;
}

/* Título principal */
.container-max h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

/* Parágrafos introdutórios */
.container-max p {
  max-width: 1000px;
}

.linhas-acao-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;    /* 2 colunas */
  gap: 32px;
  margin-top: 32px;
  margin-bottom: 40px;
}

.linha-acao {
  border: 1px solid #c06d2e;
  background-color: #ffffff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  margin-bottom: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.linha-acao:hover {
  background-color: #fcf8f3;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.linha-acao h3 {
  color: #c06d2e;
  margin-top: 0;
  text-transform: uppercase;
}

.linha-acao p {
  margin-bottom: 0;
  color: #333;
}

/* Responsivo para tablets/mobile */
@media (max-width: 1000px) {
  .linhas-acao-grid {
    grid-template-columns: 1fr; /* passa para 1 coluna */
    gap: 20px;
  }
}

.equipa {
  padding: 20px;
}

.equipa h2 {
  font-family: 'Montserrat', sans-serif;  
  font-size: 1.5rem;
  font-weight: 600;
  border-bottom: 2px solid #000;
  padding-bottom: 5px;
  width: 100%; 
  margin-top: 40px;
  margin-bottom: 20px;
}

.grupo-pessoas {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 20px;
}

.pessoa {
  text-align: center;
  width: 140px;
}

.pessoa img {
  width: 120px;
  height: 150px;
  object-fit: cover;
  border-radius: 6px;
}


.pessoa p {
  margin-top: 8px;
  font-size: 0.9rem;
}
.botao-circular {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background-color: #8B7C5A; /* tom terra/verde seco */
  color: #ffffff;
  text-decoration: none;
  font-family: 'Raleway', sans-serif;
  font-weight: bold;
  font-size: 20px;
  transition: background-color 0.3s ease, color 0.3s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.botao-circular:hover {
  background-color: #CCC5B9; /* areia claro */
  color: #000000; /* texto escuro para melhor contraste */
}
  /* Cabeçalho com ícone do projeto, texto e logos adicionais tudo na mesma linha */
.project-header {
  display: flex;
  align-items: flex-start;
  gap: 3rem;
  margin-bottom: 2rem;
}

/* Logótipo do projeto */
.project-logo {
  width: 150px;
  height: 150px;
  border-radius: 8px;
  flex-shrink: 0;
}

/* Container que junta título/subtítulo + ícones extra */
.project-main {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  flex: 1;
  gap: 2rem;
  flex-wrap: wrap;
}

/* Título e subtítulo do projeto */
.project-text {
  flex: 1;
}

.project-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 0.3rem;
  color: #111;
}

.project-subtitle {
  font-size: 1.1rem;
  color: #555;
}

/* Ícones adicionais (figuras) ao lado direito */
.project-icons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: right;
  justify-content: flex-start;
  margin-top: 0.5rem;
}

.project-icons img {
  height: 50px;
  width: auto;
  border-radius: 4px;
  object-fit: contain;
}

/* Grelha fixa com 2 colunas para info do projeto */
.project-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Sempre 2 colunas */
  gap: 1.5rem;
  max-width: 1000px;
}


  .info-box {
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease;
  }

  .info-box:hover {
    transform: translateY(-3px);
  }

  .info-box h4 {
    margin: 0 0 0.5rem;
    font-size: 1rem;
    text-transform: uppercase;
    color: #a0522d;
    letter-spacing: 0.05em;
  }

  .info-box p {
    margin: 0;
    font-weight: 500;
    font-size: 1.2rem;
    color: #222;
  }
</style>
.horizontal-nav {
  list-style: none;
  display: flex;
  gap: 30px;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.horizontal-nav li {
  position: relative;
}

.horizontal-nav a {
  text-decoration: none;
  color: #a0522d;
  font-weight: bold;
}

.horizontal-nav li:hover > .submenu {
  display: block;
}

.submenu {
  display: none;
  position: absolute;
  top: 100%;
  background: white;
  list-style: none;
  padding: 10px;
  border: 1px solid #ccc;
}

.submenu li {
  margin: 0;
}
.contact-section {
  display: flex;
  justify-content: space-between;
  align-items: center; /* centraliza verticalmente os blocos */
  flex-wrap: wrap;
  gap: 2rem;
}

.contact-blocks {
  display: flex;
  flex-direction: column;
  justify-content: center; /* centra os blocos dentro da coluna */
  flex: 1;
}

.contact-description-box {
  background-color: #f3f3f3;
  padding: 1.5rem;
  border-radius: 6px;
  flex: 1;
}



.contact-block {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.contact-block .icon img {
  width: 28px;
  height: auto;
  margin-top: 5px;
}

.contact-block .info h5 {
  margin: 0;
  font-size: 1.1em;
  color: #a0522d;
}

.contact-block .info p {
  margin: 5px 0 0 0;
  line-height: 1.5;
}
.publicacoes-bloco {
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    background: #f9f9f9;
    padding: 1rem;
  }

  summary {
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1rem;
    color: #a0522d;
  }

  details[open] summary {
    color: #7b3e1c;
  }

  .publicacoes-bloco ul {
    margin-top: 0.5rem;
    padding-left: 1.5rem;
  }

}
.missao-flex {
  display: flex;
  align-items: flex-start;
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.missao-foto {
  width: 420px;
  max-width: 100%;
  border-radius: 14px;
  box-shadow: 0 3px 16px rgba(0,0,0,0.10);
}

.missao-texto {
  flex: 1 1 0;
}

/* Responsivo para mobile */
@media (max-width: 950px) {
  .missao-flex {
    flex-direction: column;
    gap: 1.2rem;
  }
  .missao-foto {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    display: block;
  }
}

.orientacoes-todas {
  background: #f9f9f9;
  padding: 1rem 1.5rem;
  border: 1px solid #ddd;
  border-radius: 6px;
}

.orientacoes-bloco details {
  margin-bottom: 0.8rem;
}

.orientacoes-bloco summary {
  font-size: 1.05rem;
  font-weight: 600;
  color: #8b4513; /* mesmo tom castanho das publicações */
  cursor: pointer;
}

.orientacoes-bloco p {
  margin: 0.3rem 0 0.6rem 1rem;
  line-height: 1.4;
}

/* Container geral centrado e mais largo */
.pg-wrap {
  max-width: 1200px;       /* ↑ aumenta a largura total */
  margin: 0 auto;
  padding: 0 16px;
}

/* Título principal */
.pg-title-section {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: bold;
  font-size: 1.6rem;
  text-align: left;        /* à esquerda */
}

/* Grid responsivo: 2 colunas largas; 1 coluna em ecrãs estreitos */
.pg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(520px, 1fr)); /* ↑ caixas mais largas */
  gap: 28px;
}

/* Cartão */
.pg-card {
  border: 1px solid #e6a77a;
  border-radius: 12px;
  padding: 18px 18px 22px;
  background: #fff;
  transition: box-shadow .2s ease;
}
.pg-card:hover {
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

/* Imagem com slot fixo (mesma altura/aspeto visual) sem cortar conteúdo */
.pg-img {
  width: 100%;
  height: 220px;           /* slot consistente */
  object-fit: contain;     /* não corta a imagem */
  display: block;
  margin: 0 auto 14px auto;
}

/* Títulos dentro das caixas em preto */
.pg-card h3 {
  font-size: 1.2rem;
  color: #000;             /* preto */
  margin: 0 0 .6rem 0;
  line-height: 1.35;
}

/* Texto */
.pg-card p {
  margin: 0 0 .6rem 0;
  line-height: 1.55;
  color: #333;
}
.pg-card ul {
  margin: .4rem 0 0 1.2rem;
  padding: 0;
}
.pg-card li {
  margin: .25rem 0;
  line-height: 1.5;
}

/* Link das imagens */
.pg-card a {
  text-decoration: none;
}

.parceria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.parceria-box {
  border: 1px solid #d95f19;
  background-color: #ffffff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.parceria-box img {
  width: 70px;
  height: auto;
  object-fit: contain;
}

.parceria-texto h3 {
  margin-top: 0;
  margin-bottom: 10px;
  color: #d95f19;
  text-transform: uppercase;
  font-size: 1.1em;
}

.parceria-texto p {
  margin: 0;
  color: #333;
}
