.wr-secondary-link > a {
	font-size: 15px !important;
	font-weight: 400 !important;
	line-height: 1.5 !important;
	color: #68737d !important;
}

@media (max-width: 782px) {
	.wr-secondary-link > a {
		font-size: 14px !important;
	}
}

/* Menu principale: evidenziazione e voce attiva */
.main-navigation .main-menu > li:hover > a,
.main-navigation .main-menu > li:focus-within > a,
.main-navigation .main-menu > li.current-menu-item > a,
.main-navigation .main-menu > li.current_page_item > a,
.main-navigation .main-menu > li.current-menu-parent > a,
.main-navigation .main-menu > li.current-menu-ancestor > a {
	color: #B45F06 !important;
}

/* Sottomenu: sfondo grigio chiaro, testo nero e hover arancione */
.main-navigation .main-menu .sub-menu {
  background: #f3f3f3 !important;
}
.main-navigation .main-menu .sub-menu > li,
.main-navigation .main-menu .sub-menu > li > a {
  background: transparent !important;
}
.main-navigation .main-menu .sub-menu > li > a {
  color: #111111 !important;
}
.main-navigation .main-menu .sub-menu > li:hover,
.main-navigation .main-menu .sub-menu > li:focus-within,
.main-navigation .main-menu .sub-menu > li.current-menu-item,
.main-navigation .main-menu .sub-menu > li.current_page_item {
  background: transparent !important;
}
.main-navigation .main-menu .sub-menu > li:hover > a,
.main-navigation .main-menu .sub-menu > li:focus-within > a,
.main-navigation .main-menu .sub-menu > li.current-menu-item > a,
.main-navigation .main-menu .sub-menu > li.current_page_item > a {
  color: #B45F06 !important;
  background: transparent !important;
}

/* Menu mobile: sottovoci visibili nel menu hamburger */
@media screen and (max-width: 782px) {
	.main-navigation .main-menu > li.menu-item-has-children > .sub-menu {
		display: block !important;
		position: static !important;
		top: auto !important;
		left: auto !important;
		width: 100% !important;
		margin: 0 !important;
		visibility: visible !important;
		opacity: 1 !important;
	}
}

/* News: immagine della macchina da scrivere nella fascia sotto il logo e il menu */
body.page-id-7 #page {
  position: relative;
  isolation: isolate;
  background: transparent;
}
body.page-id-7 #page::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 420px;
  z-index: -1;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.82), rgba(255,255,255,.86)), url("https://wrmilanoavvocati.com/wp-content/uploads/2020/06/typewriter-writing-vintage-office.jpg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}
body.page-id-7 #masthead,
body.page-id-7 #content {
  position: relative;
  z-index: auto;
  background: transparent;
}
body.page-id-7 #post-7 .entry-header {
  background: transparent;
}
body.page-id-7 #post-7 .wp-block-cover {
  display: none !important;
}
body.page-id-7 #post-7 .wp-block-spacer.desktop-only {
  display: none !important;
}
body.page-id-7 #masthead img {
  mix-blend-mode: multiply;
}
@media screen and (max-width: 782px) {
  body.page-id-7 #page::before {
    height: 440px;
    background-position: center center;
  }
}


/* Pagina News: rimuove le righe decorative sopra e sotto il titolo */
body.page-id-7 #post-7 .entry-title::before,
body.page-id-7 #post-7 .entry-title::after {
  visibility: hidden !important;
}


/* Landing professionali: ripristino delle immagini di apertura */
body.page-id-3760 #page,
body.page-id-3761 #page,
body.page-id-3762 #page {
  position: relative;
  isolation: isolate;
  background: transparent;
}
body.page-id-3760 #page::before,
body.page-id-3761 #page::before,
body.page-id-3762 #page::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 480px;
  z-index: -1;
  pointer-events: none;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}
body.page-id-3760 #page::before {
  background-image: linear-gradient(rgba(255,255,255,.72), rgba(255,255,255,.78)), url("https://wrmilanoavvocati.com/wp-content/uploads/2026/11/hero-diritto-immobiliare-wr.webp");
}
body.page-id-3761 #page::before {
  background-image: linear-gradient(rgba(255,255,255,.72), rgba(255,255,255,.78)), url("https://wrmilanoavvocati.com/wp-content/uploads/2026/11/hero-diritto-successorio-wr.png");
}
body.page-id-3762 #page::before {
  background-image: linear-gradient(rgba(255,255,255,.72), rgba(255,255,255,.78)), url("https://wrmilanoavvocati.com/wp-content/uploads/2026/11/hero-responsabilita-medica-wr.png");
}
body.page-id-3760 #masthead,
body.page-id-3761 #masthead,
body.page-id-3762 #masthead,
body.page-id-3760 #content,
body.page-id-3761 #content,
body.page-id-3762 #content,
body.page-id-3760 #primary,
body.page-id-3761 #primary,
body.page-id-3762 #primary,
body.page-id-3760 #main,
body.page-id-3761 #main,
body.page-id-3762 #main,
body.page-id-3760 article.page,
body.page-id-3761 article.page,
body.page-id-3762 article.page,
body.page-id-3760 .entry-header,
body.page-id-3761 .entry-header,
body.page-id-3762 .entry-header,
body.page-id-3760 .entry-content,
body.page-id-3761 .entry-content,
body.page-id-3762 .entry-content {
  background: transparent !important;
}
body.page-id-3760 #masthead img,
body.page-id-3761 #masthead img,
body.page-id-3762 #masthead img {
  mix-blend-mode: multiply;
}
@media screen and (max-width: 782px) {
  body.page-id-3760 #page::before,
  body.page-id-3761 #page::before,
  body.page-id-3762 #page::before {
    height: 640px;
    background-position: center 38%;
  }
}
.wr-secondary-link > a {
	font-size: 15px !important;
	font-weight: 400 !important;
	line-height: 1.5 !important;
	color: #68737d !important;
}

@media (max-width: 782px) {
	.wr-secondary-link > a {
		font-size: 14px !important;
	}
}

/* Menu principale: evidenziazione e voce attiva */
.main-navigation .main-menu > li:hover > a,
.main-navigation .main-menu > li:focus-within > a,
.main-navigation .main-menu > li.current-menu-item > a,
.main-navigation .main-menu > li.current_page_item > a,
.main-navigation .main-menu > li.current-menu-parent > a,
.main-navigation .main-menu > li.current-menu-ancestor > a {
	color: #B45F06 !important;
}

/* Sottomenu su sfondo scuro: arancione più luminoso per il contrasto */
.main-navigation .main-menu .sub-menu > li:hover > a,
.main-navigation .main-menu .sub-menu > li:focus-within > a,
.main-navigation .main-menu .sub-menu > li.current-menu-item > a,
.main-navigation .main-menu .sub-menu > li.current_page_item > a {
	color: #F28A3C !important;
}

/* Menu mobile: sottovoci visibili nel menu hamburger */
@media screen and (max-width: 782px) {
	.main-navigation .main-menu > li.menu-item-has-children > .sub-menu {
		display: block !important;
		position: static !important;
		top: auto !important;
		left: auto !important;
		width: 100% !important;
		margin: 0 !important;
		visibility: visible !important;
		opacity: 1 !important;
	}
}

/* News: immagine della macchina da scrivere nella fascia sotto il logo e il menu */
body.page-id-7 #page {
  position: relative;
  isolation: isolate;
  background: transparent;
}
body.page-id-7 #page::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 420px;
  z-index: -1;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.82), rgba(255,255,255,.86)), url("https://wrmilanoavvocati.com/wp-content/uploads/2020/06/typewriter-writing-vintage-office.jpg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}
body.page-id-7 #masthead,
body.page-id-7 #content {
  position: relative;
  z-index: auto;
  background: transparent;
}
body.page-id-7 #post-7 .entry-header {
  background: transparent;
}
body.page-id-7 #post-7 .wp-block-cover {
  display: none !important;
}
body.page-id-7 #post-7 .wp-block-spacer.desktop-only {
  display: none !important;
}
body.page-id-7 #masthead img {
  mix-blend-mode: multiply;
}
@media screen and (max-width: 782px) {
  body.page-id-7 #page::before {
    height: 440px;
    background-position: center center;
  }
}


/* Pagina News: rimuove le righe decorative sopra e sotto il titolo */
body.page-id-7 #post-7 .entry-title::before,
body.page-id-7 #post-7 .entry-title::after {
  visibility: hidden !important;
}


/* Landing professionali: ripristino delle immagini di apertura */
body.page-id-3760 #page,
body.page-id-3761 #page,
body.page-id-3762 #page {
  position: relative;
  isolation: isolate;
  background: transparent;
}
body.page-id-3760 #page::before,
body.page-id-3761 #page::before,
body.page-id-3762 #page::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 480px;
  z-index: -1;
  pointer-events: none;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}
body.page-id-3760 #page::before {
  background-image: linear-gradient(rgba(255,255,255,.72), rgba(255,255,255,.78)), url("https://wrmilanoavvocati.com/wp-content/uploads/2026/11/hero-diritto-immobiliare-wr.webp");
}
body.page-id-3761 #page::before {
  background-image: linear-gradient(rgba(255,255,255,.72), rgba(255,255,255,.78)), url("https://wrmilanoavvocati.com/wp-content/uploads/2026/11/hero-diritto-successorio-wr.png");
}
body.page-id-3762 #page::before {
  background-image: linear-gradient(rgba(255,255,255,.72), rgba(255,255,255,.78)), url("https://wrmilanoavvocati.com/wp-content/uploads/2026/11/hero-responsabilita-medica-wr.png");
}
body.page-id-3760 #masthead,
body.page-id-3761 #masthead,
body.page-id-3762 #masthead,
body.page-id-3760 #content,
body.page-id-3761 #content,
body.page-id-3762 #content,
body.page-id-3760 #primary,
body.page-id-3761 #primary,
body.page-id-3762 #primary,
body.page-id-3760 #main,
body.page-id-3761 #main,
body.page-id-3762 #main,
body.page-id-3760 article.page,
body.page-id-3761 article.page,
body.page-id-3762 article.page,
body.page-id-3760 .entry-header,
body.page-id-3761 .entry-header,
body.page-id-3762 .entry-header,
body.page-id-3760 .entry-content,
body.page-id-3761 .entry-content,
body.page-id-3762 .entry-content {
  background: transparent !important;
}
body.page-id-3760 #masthead img,
body.page-id-3761 #masthead img,
body.page-id-3762 #masthead img {
  mix-blend-mode: multiply;
}
@media screen and (max-width: 782px) {
  body.page-id-3760 #page::before,
  body.page-id-3761 #page::before,
  body.page-id-3762 #page::before {
    height: 640px;
    background-position: center 38%;
  }
}
