/*
Theme Name: the7dtchild
Author: Dream-Theme
Author URI: http://dream-theme.com/
Description: The7 child theme customizations for Studio Legale Fedele.
Version: 1.0.0
Template: dt-the7
*/

/* Mantiene cliccabile il nome nel profilo senza trattarlo come collegamento editoriale. */
.single-dt_team .uvc-main-heading h1 a.slf-contact-link,
.single-dt_team .uvc-main-heading h1 a.slf-contact-link:hover,
.single-dt_team .uvc-main-heading h1 a.slf-contact-link:focus {
  color: inherit;
  text-decoration: none !important;
}

/* Nei menu interni mostra subito i sottomenu al passaggio del mouse. */
@media (min-width: 992px) {
  .masthead .main-nav > li.dt-hovered > .sub-nav,
  .masthead .main-nav > li:hover > .sub-nav {
    visibility: visible !important;
    opacity: 1 !important;
  }
}

/* SLF mobile usability, 17 ottobre 2026. No desktop content changes. */
/* These controls only appear in The7's mobile header/menu. */
.dt-mobile-menu-icon,
.dt-close-mobile-menu-icon {
  box-sizing: border-box;
  min-width: 48px;
  min-height: 48px;
}

@media (max-width: 991px) {
  /* Primary CTA buttons, including the three introductory and method cards. */
  #content a.dt-btn {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    min-height: 48px;
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }
}

@media (max-width: 767px) {
  /* Social service prose only: preserve headings, sidebar and desktop sizes. */
  body.page-id-1961 .slf-article p,
  body.page-id-1961 .slf-article li {
    font-size: 17px;
    line-height: 1.7;
  }
}
