/* 
Theme Name: MP
Theme URI: 
Author: Luis Tojal
Author URI: Luis Tojal
Description:
Version:
Requires at least: 5.9
Tested up to: 7.2
Requires PHP: 8.0
Text domain: mp
Domain Path: /languages

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


*/

:root {
  --wp--style--global--content-size: 1300px;
  --wp--style--global--wide-size: 1900px;
}


body, a, p, span, div, label {
  font-family: var(--wp--preset--font-family--mp-grotesk), sans-serif;
}
a
p {
  font-size: var(--wp--preset--font-size--medium);
font-style: normal;
font-weight: 500;
line-height: normal;
color: white;
}
  
    .wp-block-create-block-wp-hamburger-navbar {
      width: 100%;
    }


    @media (max-width: 768px) {
    .hide-on-mobile {
        display: none !important;
    }
    .tt1 {
  padding-top: 36px;
  padding-bottom: 0px !important;
}

    .lang {
      text-align: end;
    }
}


html {
  scroll-behavior: smooth;
}

.contain {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 0 6% 0 8.5%;
}

.tt1 {
  color:#FFFFFF;

font-size: 44px;
font-style: normal;
font-weight: 500;
line-height: 52px; /* 118.182% */
padding-bottom: 11px;
}

  .profile-hero-content {
  font-size: var(--wp--preset--font-size--large);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    padding: 0 8.5% 0 8.5% !important;
  }
  

  .ft-pd {
    padding: 82px 8.5% 82px 8.5% !important;
  }
  
  /* Garante que <br> dentro de <p> sejam respeitados */
p {
  white-space: pre-line;
  overflow-wrap: break-word;
}

body p,
.wp-block-paragraph {
  margin-bottom: 1.5em;
  white-space: pre-line;}
 
  p {
    white-space: pre-line !important;
  }
  :where(.is-layout-flow) > *:first-child {
    margin-block-start: 24px !important;
  }
  
  .op {
    opacity: 0.6;
  }

  .p-b {
    font-size: var(--wp--preset--font-size--title-2);
  }
@media (min-width: 768px) {
  .hd-dk {
    display:none
  }
}

@media (max-width: 769px) {
  .pad-adjust {
    padding-left: 8% !important;
    padding-right: 8% !important;
  }
  .max-img {
        max-height: 646px;
    object-position: top;
}
  .hd-mb {
    display:none
  }
  .hd-dk {
    padding-right: 0px !important;
  }
}

p.has-text-align-left.lang.has-mp-white-color {
    margin-top: 0px !important;
    text-align: left;
  }

  :root :where(.is-layout-flow) > :first-child {
    margin-block-start: 0 !important;
}


.wp-block-group.shadow.header-group.has-mp-blue-background-color.has-background.is-content-justification-space-between.is-layout-flex.wp-container-core-group-is-layout-764c4fc0.wp-block-group-is-layout-flex {
    position: absolute;
    display: flex;
    width: 100%;
}

/* Layout horizontal e espaçamento */
footer .mp-lang-switcher {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  line-height: 1;
}

/* Cor/estados no footer (fundo azul) */
footer .mp-lang-switcher .menu-item {
  color: #fff;             /* branco no footer */
  text-decoration: none;
  opacity: .8;             /* inativo um pouco mais claro */
  font-size: 16p  x;
font-style: normal;
font-weight: 400;
line-height: 14.056px; /* s137.5% */
font-family: var(--wp--preset--font-family--mp-grotesk), sans-serif;
line-height: 137%;
}

footer .mp-lang-switcher .menu-item.is-active {
  opacity: 1;
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: 137%;
}

footer .mp-lang-sep { opacity: .6; }

footer .mp-lang-switcher .menu-item {
  margin: 0px;
}

.h-100 > figure {
  height: 100%;
}
body {
max-width: 2420px;
    margin: 0 auto !important;
    background-color: white;
}



    @media (max-width: 782px) {
	
   .gap-footer   {
    gap: 16px;
}
.hide-mobile  {
    display: none;
}
}

#sessoes {
        padding: 0 8.5%;
}

.nav-footer {
      display: flex;
    flex-direction: column;
}

.wp-block-mp-blocks-profile-hero.alignfull {
  --hero-bg-pos: 75% 20%;
  background-size: cover;
  background-repeat: no-repeat;
}

/* Tablet */
@media (min-width: 768px) {
  .wp-block-mp-blocks-profile-hero.alignfull {
    --hero-bg-pos: 70% 30%;
  }

}

/* Desktop */
@media (min-width: 1024px) {
  .wp-block-mp-blocks-profile-hero.alignfull {
    --hero-bg-pos: center;
  }

}


/* Desktop */
@media (max-width: 1024px) {
  .wp-block-mp-blocks-profile-hero.profile-hero.alignfull.content-center {
    --hero-bg-pos: center;
    background-position: 70% 30% !important;
  }
  .wp-block-mp-blocks-profile-hero.profile-hero.alignfull.content-center {
  justify-content: end !important;
}

}



li.mp-wlsw__item {
color: white !important;}


/* Base */
.mp-wlsw { --mp-gap: .75rem; --mp-active-weight: 700; font: inherit; }

/* Inline por defeito */
.mp-wlsw .mp-wlsw__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--mp-gap);
  align-items: center;
  font-size: 16px;
}

/* Modo lista */
.mp-wlsw.mp-wlsw--list .mp-wlsw__list { display: block; }
.mp-wlsw.mp-wlsw--list .mp-wlsw__item { margin-bottom: .35rem; }

.mp-wlsw--upper { text-transform: uppercase; }

.mp-wlsw__link { color: white;text-decoration: none; opacity: .85; }
.mp-wlsw__link:hover { opacity: 1; }
.mp-wlsw__link.is-active,
.mp-wlsw__link[aria-current="page"] {
  font-weight: var(--mp-active-weight);
  opacity: 1;
  color: white;
}

.mp-wlsw__flag {
  width: 18px;
  height: auto;
  vertical-align: middle;
  margin-right: .35rem;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0,0,0,.06);
}

.dp-block a {
	display: block;
}

.wp-element-button {
	white-space: nowrap;
	display: flex !important;
    justify-content: center;
}

.wp-block-button__link {
	white-space: nowrap;
	display: flex !important;
    justify-content: center;
}

a.wp-block-button__link.has-label-font-size.has-custom-font-size.wp-element-button  {
	white-space: nowrap;
	display: flex !important;
    justify-content: center;
}

.est {
	white-space: nowrap;
	display: flex !important;
    justify-content: center;
}

.hd {
  display: none !important;
}

ul {
margin: 0 !important}

.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
margin: 0 !important}

@media (max-width: 767px) {
.only-desktop {
display: none !important;
}

.mobile-nav-footer {
flex-direction: column-reverse !important;
    gap: 5px !important;
    padding-top: var(--wp--preset--spacing--30) !important;
}


}
  @media (min-width: 768px) {

.hide-left-image {
display:none !important;
}
}

@media (max-width: 1080px) {
.flex-base {
flex-basis: 68% !important;
}


}

.back-pos {
background-position: top;
}


 @media (min-width: 782px) {

.justify-end > p {
	text-align: end;
}
	.justify-start-mp {
		justify-content: flex-end;
		}
}

 @media (max-width: 782px) {

.justify-start-mp {
	justify-content: flex-start;
}

}

.wp-block-post-content {
	position: relative;
    z-index: 1;
}