/* Hover de enlaces Flamasats #002a5a */
a:hover,
a:focus {
  color: #002a5a !important;
}

/* Bloque de información del footer - iconos y layout */
.block-contact-inner .block {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.75rem;
  gap: 0.5rem;
}
.block-contact-inner .block:last-child {
  margin-bottom: 0;
}
.block-contact-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}
.block-contact-icon .material-icons {
  font-size: 1.125rem;
  opacity: 0.8;
}
.block-contact-data {
  flex: 1;
  min-width: 0;
}
.block-contact-label {
  font-weight: 500;
  margin-right: 0.25rem;
}

/* Logo en bloque de información del footer */
.block-contact .block-contact-logo,
.contact-rich .block-contact-logo {
  margin-bottom: 0.5rem;
}
.block-contact .block-contact-logo img,
.contact-rich .block-contact-logo img {
  max-width: 140px;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
}

body.page-password h1,
body.page-authentication h1 {
  text-align: center;
}
body.page-password #content,
body.page-authentication #content {
  max-width: 658px;
  margin: 0 auto;
}

body.page-password #content hr,
body.page-authentication #content hr,
body.page-authentication .header-nav,
body.page-authentication .breadcrumb,
body.page-authentication .header-nav,
body.page-password .breadcrumb,
body.page-password .header-nav,
body.page-password .header-nav {
  display: none !important;
} 

body.page-password .footer-container .text-sm-center,
body.page-authentication .footer-container .text-sm-center {
  border-top: none !important;
}

body.page-password header.page-header,
body.page-authentication header.page-header,
body.page-password #main footer.page-footer
{
  text-align: center;
  max-width: 658px;
  background-color: #fff;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0 !important;
  
}
body.page-authentication header.page-footer,
body.page-password #main footer.page-footer {
  padding: 1px 16px 20px 16px;
}
body.page-authentication header.page-header,
body.page-password #main header.page-header {
  padding: 16px 16px 0 16px;
}
body.page-password #main header.page-header h1,
body.page-authentication header.page-header h1 {
  margin-bottom: 0 !important;
}
@media (max-width: 768px) {
  body.page-password label {
    text-align: left !important;
    display: block;
  }
}

body.page-password section#wrapper,
body.page-authentication section#wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Limita el ancho de section#main y aplica sombra en páginas de login */
body.page-password section#wrapper > section#main,
body.page-authentication section#wrapper > section#main {
  width: auto;
  max-width: 658px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 12px 48px 0 rgba(30,36,52,0.25), 0 4px 16px 0 rgba(30,36,52,0.15);
  background: #fff;
  border-radius: 8px;
  padding: 32px 24px 28px 24px;
  box-sizing: border-box;
}


