#content-container {
  margin-top: 15px;
}

/* Advertisement Section */
.ad-section {
  display: flex;
  justify-content: center;
  align-items: center; 
  margin: 0.5rem 0;
}


.inner_ads_box {
  display: flex;
  justify-content: center;
  align-items: center; 
  padding: 10px 0;
}

#vm_desktop { min-height: 250px; }
#vm_video { max-width: 360px; margin: 20px auto; }
#slot-7 {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 360px;
  margin: 20px auto;
  box-sizing: border-box;
}
#slot-7 iframe,
#slot-7 img,
#slot-7 > div {
  max-width: 100% !important;
  box-sizing: border-box;
}
.sidebar #vm_video,
.sidebar #slot-7 { margin: 1px auto; }
#vm_horizon_sm, #vm_horizon_sm2, #vm_horizon_sm3 { min-height: 90px; }
#vm_horizon_mo, #vm_horizon_mo2, #vm_horizon_mo3 { min-height: 50px; }

@media (max-width: 1024px) {
  #vm_horizon_sm, #vm_horizon_sm2, #vm_horizon_sm3 { 
    display: none;
  }
  #vm_horizon_mo, #vm_horizon_mo2, #vm_horizon_mo3 { 
    display: block;
  }
  #vm_video {
    display: none !important;
  }
  #slot-7 {
    display: flex;
  }
}
@media (min-width: 1025px) {
  #vm_horizon_sm, #vm_horizon_sm2, #vm_horizon_sm3 { 
    display: block;
  }
  #vm_horizon_mo, #vm_horizon_mo2, #vm_horizon_mo3 { 
    display: none;
  }
  #vm_video {
    display: block;
  }
  #slot-7 {
    display: none !important;
  }
}

.custom-ads {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px 0;
  width: 100%;
  max-width: 100%;
}
.custom-ads a {
  max-width: 100%;
}
.custom-ads-pc {
  display: block;
  width: 728px;
  max-width: 100%;
  height: auto;
}
.custom-ads-mo {
  display: block;
  width: 320px;
  max-width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .custom-ads-pc {
    display: none;
  }
  .custom-ads-mo {
    display: block;
  }
}
@media (min-width: 768px) {
  .custom-ads-pc {
    display: block;
  }
  .custom-ads-mo {
    display: none;
  }
}