/* Remove nested box border */
.sidebar div.hs_cos_wrapper {
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.button--rounded-rect {
  width: 100%;
}

/* Center ads for mobile widths */
.sidebar div.hs_cos_wrapper > p {
  text-align: center;
}

/* Hide close button on desktop */
.close-subscribe {
  display: none;
}
  
@media (max-width: 767px) and (min-width: 360px) and (min-height: 540px) {
  /* Hides Blog Subscribe Sidebar Box 
  .widget-type-custom_widget:has(> .widget-type-blog_subscribe > .hs_cos_wrapper_type_blog_subscribe) {
    display: none;
  }
  */
  /* Fixed Email Subscription 
  .site-footer-new > .site-footer__subscribe.fixed-subscribe {
    position: fixed;
    bottom: 0;
    left: 0;
    padding: 25px;
    width: 100%;
    background: #f5f8fb;
    border-top: none;
    z-index: 2;
  }
  
  .site-footer__subscribe.fixed-subscribe p {
    font-size: 12px !important;
    margin-bottom: 0;
  }
  */
  /* Close Button 
  .close-subscribe {
    display: inline;
    position: absolute;
    top: 0;
    right: 0;
    padding: 0 8px 4px;
    font-size: 1.2rem;
    line-height: 1;
    color: black;
    background-color: #ccc;
    cursor: pointer;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }
  .close-subscribe:hover {
    background-color: #aaa;
    transition: background-color 200ms linear;
  }
  
  .site-footer {
    margin-bottom: 200px;
  }
}

@media (max-width: 479px) and (min-width: 360px) and (min-height: 540px) {
  .site-footer {
    margin-bottom: 300px;
  }
}*/