/**
 * Footer band — D7 #block-block-8 / menu-menu-cuoi / block-9 / block-7.
 */

.site-footer {
  padding: 0;
  background: transparent;
  color: inherit;
}

/* Trước khi deploy region--footer mới: lưới tương tự D7. */
.site-footer .region-footer:not(.shp-footer-band) {
  display: grid;
  gap: 1rem;
  padding: 20px 10px;
  background: #093f63;
  color: #fff;
}

.site-footer .region-footer:not(.shp-footer-band) .footer-home {
  display: none;
}

@media (min-width: 992px) {
  .site-footer .region-footer:not(.shp-footer-band) {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    align-items: start;
  }

  .site-footer .region-footer:not(.shp-footer-band) #block-songhanhphuc-footer-facebook {
    grid-column: 2;
    grid-row: 1 / span 3;
  }

  .site-footer .region-footer:not(.shp-footer-band) #block-songhanhphuc-footer-menu,
  .site-footer .region-footer:not(.shp-footer-band) #block-songhanhphuc-footer-contact {
    grid-column: 1;
  }
}

.site-footer .site-container {
  padding-inline: 0;
  max-width: 100%;
}

.shp-footer-band {
  background: #093f63;
  padding: 20px 10px;
  color: #fff;
}

.shp-footer-band__inner {
  width: min(100%, var(--shp-width, 1278px));
  margin-inline: auto;
}

.shp-footer-band .block {
  margin: 0;
}

/* Menu cuối */
.shp-footer-main {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.shp-footer-main__nav {
  margin-bottom: 0;
}

.shp-footer-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 20px;
  min-height: 60px;
  align-items: center;
  line-height: 65px;
  margin: 0;
  padding: 0;
}

.shp-footer-menu .menu-item {
  list-style: none;
}

.shp-footer-menu a {
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.shp-footer-menu a:hover,
.shp-footer-menu a:focus-visible {
  color: #f35923;
  text-decoration: none;
}

#block-songhanhphuc-footer-menu h2 {
  position: absolute !important;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  width: 1px;
  height: 1px;
}

/* Liên hệ (block-9) */
.shp-footer-contact .copy-right {
  display: none;
}

.shp-footer-contact {
  margin-top: 0;
}

.shp-footer-contact .by-vinno {
  max-width: 738px;
  margin: 0 auto;
  padding-top: 18px;
  margin-top: 0;
  border-top: 1px solid #ddd;
  color: #fff;
  font-size: 14px;
  line-height: 1.65;
  text-align: center;
}

.shp-footer-contact .by-vinno i {
  font-style: italic;
  font-weight: 700;
}

.shp-footer-contact .by-vinno a {
  color: #646464;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}

.shp-footer-contact .by-vinno a:hover {
  color: #ee5d1f;
}

/* Facebook (block-7) */
.shp-footer-social .block__content > div {
  display: inline-block;
  max-width: 500px;
  margin-left: auto;
  padding-right: 15px;
  text-align: right;
}

.shp-footer-social .fb-page {
  max-width: 338px;
}

.shp-footer-social .fb-page,
.shp-footer-social iframe {
  max-width: 100%;
  height: 128px !important;
  min-height: 128px;
  overflow: hidden;
}

@media (max-width: 991px) {
  .shp-footer-contact .by-vinno {
    border-top: 0;
    padding-top: 0;
  }

  .shp-footer-social .block__content > div {
    margin-inline: auto;
    text-align: center;
    padding-right: 0;
  }
}