/* InfoZona 9.7.58 — stable top advertising placement for main & regional sites. */
/* Its geometry is authored in HTML/CSS, before any ad network script can run. */
html body .atlas-ad-corridor--top.atlas-header-ad-reserved {
  display: block !important;
  clear: both;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin: 0 !important;
  padding: 16px 12px 20px !important;
  background: #f8faff;
  text-align: center;
  box-sizing: border-box;
  position: relative;
}
html body .atlas-header-ad-reserved__viewport {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(970px, 100%);
  height: 250px;
  min-height: 250px;
  max-height: 250px;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
  background: #f3f6fa;
  border: 1px solid #e4eaf3;
  overflow: hidden; /* provider creatives cannot invade navigation or article */
}
html body .atlas-header-ad-reserved__label {
  position: absolute;
  top: 5px;
  left: 0;
  right: 0;
  z-index: 0;
  font: 400 11px/14px system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #98a5b9;
  pointer-events: none;
}
html body .atlas-header-ad-reserved__content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  margin: 0 !important;
  padding: 19px 0 0;
  box-sizing: border-box;
  overflow: hidden;
}
/* Both main-site plugin wrappers and region Publisher wrappers fit the reserve. */
html body .atlas-header-ad-reserved__content > :is(.atlas-ad-slot-wrap, .atlas-ad-gap, .iz-rads) {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  clear: none;
  float: none;
  border: 0;
  background: transparent;
  box-shadow: none;
  box-sizing: border-box;
}
html body .atlas-header-ad-reserved__content .iz-rads__label { display: none; }
html body .atlas-header-ad-reserved__content .iz-rads__creative {
  flex: 1 1 auto;
  width: 100%;
  max-width: 100%;
  height: 100%;
  min-height: 0;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
/* Never alter the creative's intrinsic aspect ratio or force an ad to fill. */
html body .atlas-header-ad-reserved__content :is(iframe, img, video, embed, object) {
  max-width: 100%;
  max-height: 100%;
}
html body .atlas-header-ad-reserved__content :is(img, video) {
  object-fit: contain;
}
@media (max-width: 782px) {
  html body .atlas-ad-corridor--top.atlas-header-ad-reserved {
    padding: 12px 8px 16px !important;
  }
  html body .atlas-header-ad-reserved__viewport {
    width: min(336px, 100%);
    height: 280px;
    min-height: 280px;
    max-height: 280px;
  }
}

/* 9.7.59: The 970x250 / 336x280 dimension includes the entire creative.
 * The label sits above it and disappears once a real ad is delivered. */
html body .atlas-header-ad-reserved__content[data-atlas-top-banner="1"] {
  padding: 0 !important;
}
html body .atlas-header-ad-reserved__content[data-atlas-top-banner="1"] > :is(.atlas-top-banner__image, .atlas-top-banner__unit) {
  display: flex; width: 100%; height: 100%; align-items: center; justify-content: center;
  min-width: 0; min-height: 0; box-sizing: border-box;
}
html body .atlas-header-ad-reserved__content .atlas-top-banner__image-link {
  display: block; max-width: 100%; max-height: 100%; line-height: 0;
}
html body .atlas-header-ad-reserved__content .atlas-top-banner__image img {
  display: block; object-fit: contain; width: auto; height: auto;
  max-width: 100%; max-height: 100%;
}
html body .atlas-header-ad-reserved.atlas-top-banner--filled .atlas-header-ad-reserved__label {
  display: none;
}

html body .atlas-header-ad-reserved.atlas-top-banner--managed .atlas-header-ad-reserved__viewport {
  border: 0; /* Exact 970x250 / 336x280 creative box, no two-pixel inset. */
}
