.storm-ad-container {
    margin: 20px 0;
    text-align: center;
}

.storm-ad-container img {
    display: block;
    border: 0;
}

.storm-ad-link {
    display: inline-block;
    transition: opacity 0.3s ease;
    text-decoration: none;
}

.storm-ad-link:hover {
    opacity: 0.95;
}

.storm-ad-special-shell .storm-ad-container{margin:0!important;background:#fff;border-radius:12px;box-shadow:0 8px 28px rgba(0,0,0,.28);overflow:hidden}
.storm-ad-vignette-backdrop .storm-ad-container{margin:0!important}
@media (max-width: 1024px){
  .storm-ad-floating-left,.storm-ad-floating-right{display:none!important}
}
@media (max-width: 782px){
  .storm-ad-sticky-top,.storm-ad-sticky-bottom{max-width:calc(100vw - 20px)!important}
  .storm-ad-special-shell .storm-ad-link,
  .storm-ad-special-shell img,
  .storm-ad-special-shell .storm-ad-container{max-width:calc(100vw - 20px)!important;width:auto!important;height:auto!important}
}


.storm-video-ad-overlay .storm-ad-container{width:100%!important;max-width:100%!important;margin:0 auto!important;text-align:center;}
.storm-video-ad-overlay .storm-ad-link,.storm-video-ad-overlay img{max-width:100%!important;height:auto!important;}
.storm-video-ad-overlay .storm-ad-container iframe{max-width:100%!important;}
@media (max-width:768px){.storm-video-ad-overlay{padding:10px!important}.storm-video-ad-overlay .storm-video-ad-box-wrap{max-width:min(94%,320px)!important}}


.storm-ad-special-shell{overflow:visible!important;isolation:isolate;}
.storm-ad-special-close{
  position:absolute!important;
  top:6px!important;
  right:6px!important;
  z-index:2147483647!important;
  pointer-events:auto!important;
}
.storm-ad-special-shell iframe,
.storm-ad-special-shell ins,
.storm-ad-special-shell embed,
.storm-ad-special-shell object{
  position:relative;
  z-index:1;
}
.storm-ad-special-shell .storm-ad-container,
.storm-ad-special-shell .storm-ad-link,
.storm-ad-special-shell img{
  position:relative;
  z-index:1;
}


/* Storm Ad Rotator - Notificação / balão no topo */
.storm-ad-notification-top{
  animation:stormAdNotificationDrop .28s ease-out both;
}
.storm-ad-notification-card .storm-ad-container{
  margin:0!important;
  background:transparent!important;
  box-shadow:none!important;
  border-radius:0!important;
  overflow:visible!important;
}
.storm-ad-notification-top iframe,
.storm-ad-notification-top img{
  max-width:calc(100vw - 48px)!important;
}
@keyframes stormAdNotificationDrop{
  from{opacity:0;transform:translate(-50%,-14px);}
  to{opacity:1;transform:translate(-50%,0);}
}
@media (max-width:782px){
  .storm-ad-notification-top{top:10px!important;left:10px!important;right:10px!important;transform:none!important;max-width:calc(100vw - 20px)!important;}
  .storm-ad-notification-card{width:100%!important;box-sizing:border-box!important;}
  .storm-ad-notification-card .storm-ad-container,
  .storm-ad-notification-card .storm-ad-link{max-width:100%!important;width:100%!important;}
  .storm-ad-notification-card img{width:100%!important;height:auto!important;max-width:100%!important;}
}

/* Storm Ad Rotator 2.0.0 - YouTube */
.storm-ad-container[data-ad-type="youtube"]{
  overflow:visible;
}
.storm-youtube-embed{
  width:100%;
  max-width:100%;
  background:#000;
}
.storm-youtube-embed iframe{
  display:block;
  max-width:100%!important;
  min-width:200px;
  min-height:200px;
}
.storm-ad-special-shell:has(.storm-ad-container[data-ad-type="youtube"]){
  padding-top:38px;
  background:#111;
  border-radius:12px;
}
.storm-ad-special-shell:has(.storm-ad-container[data-ad-type="youtube"]) .storm-ad-special-close{
  top:4px!important;
  right:4px!important;
}
@media (max-width:520px){
  .storm-ad-container[data-ad-type="youtube"]{
    width:min(100%, 480px)!important;
    max-width:100%!important;
    height:auto!important;
  }
  .storm-youtube-embed iframe{
    width:100%!important;
    height:auto!important;
    aspect-ratio:16 / 9;
    min-width:200px;
    min-height:200px;
  }
}
