:root{
  --sidebar-width: 360px;
  --left-padding: 80px;
}

/* roba base */

/*body{
  background:#fff;
  color:var(--dmsc-grey);
  font-family: Arial, Helvetica, sans-serif;
}
*/

a{ color:var(--dmsc-grey); text-decoration:none; }
a:hover{ text-decoration:underline; }

#vistaDesktop .page{
  /* max-width: 1200px; */
  /* margin: 0 auto; */
}

/* per attaccare le colonne */
/*
 * 
#vistaDesktop .layoutRow{
  --bs-gutter-x: 0; 
}
*/

#vistaDesktop h1{
  font-style: italic;
  font-weight: bold;
  font-size: 1.25rem;
  margin-top:1.5rem;
  margin-bottom: 12px;
}

/* cambia il colore a link della mail quando cliccato*/ 
.email > small > a{
	color:white;
}

#vistaDesktop .mainContent{
  padding-top: 70px;
  padding-left: var(--left-padding);
  padding-right: 60px;
  padding-bottom: 60px;
  background:#fff;
}

/* blocco nome */
#vistaDesktop .headerBlock{
  display:flex;
  gap: 22px;
  align-items:flex-start;
  /* margin-bottom: 55px; */
}

#vistaDesktop .nameBar{
  width: 42px;
  height: 160px;
  background: var(--dmsc-primary-color);
}

#vistaDesktop .nameText{
  font-size: 56px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: .5px;
}

#vistaDesktop .roleText{
  font-size: 26px;
  font-style: italic;
  color: #6b6f75;
  margin-top: 8px;
}

/* sezioni */
#vistaDesktop .section{
  margin-bottom: 20px;
}

#vistaDesktop .sectionTitle{
  font-style: italic;
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 6px;
}

#vistaDesktop .sectionText{
  font-size: 16px;
  line-height: 1.35;
}

/* separatori */
#vistaDesktop .dividerLine{
  border: 0;
  border-top: 1px solid #bfc5ca;
  opacity: 1;
  margin: 18px 0;
}

#vistaDesktop .dmsclogo{
  margin-top: 70px;
  /* qui in fondo ci sta il logo */
}

#vistaDesktop .logoImgSmall{
  height: 28px;
  width: auto;
  display: block;
}

/* colonna rossa */
#vistaDesktop .profileSidebar{
  width: var(--sidebar-width);
  background: var(--dmsc-primary-color);
  color:#fff;
  padding: 60px 40px;
  min-height: 100vh;
}

/* box foto */
#vistaDesktop .photoBox{
  width: 260px;
  height: 200px;
  background:#fff;
  color:#111;
  display:flex;
  align-items:center;
  justify-content:center;
  /* margin: 0 auto 70px auto; */
  margin: 0 auto;
  /* margin-bottom: 45px;*/
  box-shadow: 0 10px 22px rgba(0,0,0,.25);
  font-weight: 700;
  overflow: hidden; /* per non sforare */
}

#vistaDesktop .profilePhoto{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
}

/* testi sidebar */
#vistaDesktop .sidebarTitle{
  font-style: italic;
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 12px;
}

#vistaDesktop .sidebarText{
  font-size: 15px;
  line-height: 1.45;
}

/* righe contatto */
#vistaDesktop .contactRow{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  margin-bottom: 12px;
}

#vistaDesktop .icon{
  width: 20px;
  text-align:center;
  font-size: 18px;
  line-height: 1;
}

#vistaDesktop .groupTitle{
  word-spacing: 18px; /* per farlo largo */
}

/*  MOBILE  */
#vistaMobile .siteHeader{
  background:#fff;
}

#vistaMobile .siteHeaderInner{
  display:flex;
  align-items:center;
  padding: 14px 14px;
}

#vistaMobile .logoImg{
  height: 52px;
  width: auto;
  display:block;
}

#vistaMobile .headerActions{
  margin-left:auto;
  display:flex;
  align-items:center;
  gap: 18px;
}

#vistaMobile .iconBtn{
  border:0;
  background:transparent;
  padding:0;
  color:#111;
  line-height:1;
  display:flex;
  align-items:center;
  justify-content:center;
}

#vistaMobile .iconBtn svg{
  width: 30px;
  height: 30px;
  display:block;
}

/* hero */
/*
#vistaMobile .heroImg{
  position: relative;
  min-height: 180px;
  background:#111;
  background-size: cover;
  background-position: center;
}

#vistaMobile .heroImg::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(to top, rgba(0,0,0,.70), rgba(0,0,0,.10));
}

#vistaMobile .heroText{
  position: relative;
  color:#fff;
  padding: 1.25rem 1rem;
}
*/

.heroImg{
  position: relative;
  min-height: 180px;
  background:#111;
  background-size: cover;
  background-position: center;
}

.heroImg::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(to top, rgba(0,0,0,.70), rgba(0,0,0,.10));
}
.heroText{
  position: relative;
  color:#fff;
  padding: 1.25rem 1rem;
}

#vistaMobile .heroName{
  font-size: 1.6rem;
  font-weight: 900;
  margin: 0 0 .25rem 0;
}

#vistaMobile .heroRole{
  font-size: .95rem;
  margin:0;
  opacity: .95;
}

#vistaMobile .content{
  padding: 1rem;
}

/* foto sotto */
#vistaMobile .profilePhoto{
  width: 100%;
  max-width: 420px;
  display:block;
  margin: 0 auto;
  border-radius: 6px;
  background: var(--dmsc-lightgrey);
  box-shadow: 0 6px 16px rgba(0,0,0,.15);
}

/* card contatti */
#vistaMobile .contactCard{
  max-width: 420px;
  margin: .75rem auto 0 auto;
  border: 1px solid #d9dde2;
  border-radius: 6px;
  background:#fff;
  overflow:hidden;
}

#vistaMobile .contactRow{
  display:flex;
  gap:.5rem;
  align-items:flex-start;
  padding: .45rem .75rem;
  font-size: .92rem;
}

#vistaMobile .contactRow + .contactRow{
  border-top: 1px solid #eef1f4;
}

#vistaMobile .contactIcon{
  width: 22px;
  text-align:center;
  flex: 0 0 22px;
  opacity: .9;
}

#vistaMobile .contactText{
  word-break: break-word;
  line-height: 1.2;
}

#vistaMobile .contactLabelSmall{
  font-size: .8rem;
  opacity: .75;
}

/* box sezioni (biografia/contatti) */
#vistaMobile .sectionBox{
  max-width: 420px;
  margin: 1rem auto 0 auto;
  border: 1px solid #d9dde2;
  border-radius: 6px;
  background:#fff;
  overflow:hidden;
}

#vistaMobile .sectionHeader{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: .75rem .9rem;
  border-bottom: 2px solid #111;
  background:#fff;
}

#vistaMobile .sectionTitle{
  font-size: 1.2rem;
  font-weight: 900;
  margin:0;
  color:#111;
}

#vistaMobile .toggleBtn{
  border:0;
  background:transparent;
  padding:.25rem;
  display:flex;
  align-items:center;
  color:#111;
}

#vistaMobile .plusCircle{
  width: 30px;
  height: 30px;
  border: 2px solid #111;
  border-radius: 999px;
  display:grid;
  place-items:center;
  font-weight: 900;
  line-height: 1;
  transition: transform .2s ease;
}

/* quando è aperto gira */
#vistaMobile .toggleBtn[aria-expanded="true"] .plusCircle{
  transform: rotate(45deg);
}

#vistaMobile .sectionBody{
  padding: 1rem .9rem;
  /* ok */
}


#menuMobile{
  --bs-offcanvas-width: 78vw;
  max-width: 340px;
}

#menuMobile .menuLista{
  list-style: none;
  padding-left: 0;
  margin: 0;
}

#menuMobile .menuLista li{
  padding: 12px 0;
  border-bottom: 1px solid #eef1f4;
}

#menuMobile .menuLista a{
  display: block;
  color: var(--dmsc-grey);
  text-decoration: none;
}
