/* Shared random gallery above newsletter */
#footer-random-gallery{
  width:100%;
  max-width:1740px;
  margin-right:auto;
  margin-bottom:0;
  margin-left:auto;
  overflow:hidden;
}

#footer-random-gallery .footer-random-gallery-inner{
  box-sizing:border-box;
  width:100%;
  max-width:none;
  min-width:0;
  margin:0;
  padding-right:24px;
  padding-left:24px;
}

#footer-random-gallery .footer-random-gallery-copy{
  box-sizing:border-box;
  display:block;
  width:100%;
  max-width:760px;
  min-width:0;
  margin:0;
  padding:0;
}

#footer-random-gallery .footer-random-gallery-title,
#footer-random-gallery .footer-random-gallery-description{
  box-sizing:border-box;
  display:block;
  width:100%;
  max-width:100%;
  min-width:0;
  margin-right:0;
  margin-left:0;
  padding:0;
  text-align:left;
  white-space:normal;
  overflow:visible;
  text-overflow:clip;
  word-break:normal;
  overflow-wrap:anywhere;
}

#footer-random-gallery .footer-random-gallery-description{
  margin-bottom:22px;
  line-height:1.55;
}

#footer-random-gallery .footer-random-gallery-all-link{
  display:inline-flex;
  min-height:46px;
  align-items:center;
  justify-content:center;
  gap:10px;
  margin-bottom:34px;
  padding:10px 18px;
  border:1px solid rgba(255,255,255,.48);
  border-radius:999px;
  background:rgba(255,255,255,.08);
  color:#fff!important;
  font-size:14px;
  font-weight:700;
  line-height:1;
  text-decoration:none!important;
  backdrop-filter:blur(4px);
  -webkit-backdrop-filter:blur(4px);
  transition:background-color .2s ease,border-color .2s ease,transform .2s ease;
}

#footer-random-gallery .footer-random-gallery-all-link i{
  font-size:15px;
  line-height:1;
  transition:transform .2s ease;
}

#footer-random-gallery .footer-random-gallery-all-link:hover,
#footer-random-gallery .footer-random-gallery-all-link:focus-visible{
  border-color:var(--theme-primary,#c39c64);
  background:var(--theme-primary,#c39c64);
  color:#fff!important;
}

#footer-random-gallery .footer-random-gallery-all-link:hover i,
#footer-random-gallery .footer-random-gallery-all-link:focus-visible i{
  transform:translateX(3px);
}

#footer-random-gallery .footer-random-gallery-slide{
  width:400px!important;
  height:300px!important;
  flex:0 0 400px;
}

#footer-random-gallery .footer-random-gallery-slide>a{
  display:block;
  width:100%;
  height:100%;
}

#footer-random-gallery .footer-random-gallery-image{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}

.footer-newsletter-after-gallery{
  margin-top:32px!important;
}

@media(max-width:767.98px){
  #footer-random-gallery{
    width:100%!important;
    max-width:100%!important;
    overflow:hidden!important;
  }

  #footer-random-gallery .footer-random-gallery-inner{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    padding-right:16px!important;
    padding-left:16px!important;
    overflow:hidden;
  }

  #footer-random-gallery .footer-random-gallery-copy{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    flex:none!important;
  }

  #footer-random-gallery .footer-random-gallery-title{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin-bottom:18px!important;
    font-size:clamp(32px,10vw,44px);
    line-height:1.08;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
  }

  #footer-random-gallery .footer-random-gallery-description{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin-bottom:18px!important;
    font-size:15px;
    line-height:1.55;
    white-space:normal!important;
    word-break:normal!important;
    overflow-wrap:anywhere!important;
  }

  #footer-random-gallery .footer-random-gallery-all-link{
    min-height:44px;
    margin-bottom:28px;
    padding:10px 16px;
    font-size:13px;
  }

  #footer-random-gallery .footer-random-gallery-slide{
    width:280px!important;
    height:210px!important;
    flex:0 0 280px;
  }

  .footer-newsletter-after-gallery{
    margin-top:24px!important;
  }
}
