/*
 * OS Shortcodes - iframe: UAI's os-betting-child/css/main.css (.h_iframe), per host, on the plugin's
 * classes. A plain page gets Gazeta's 500px height instead of UAI's square box, which left most of
 * a short embed blank; the calculators (widget) keep UAI's 610px.
 */

.os-iframe {
  margin: var(--os-shortcodes-spacing-blocks, 24px) 0;
}

.os-iframe iframe {
  display: block;
  width: 100%;
  height: 500px;
  border: 0;
  border-radius: var(--os-shortcodes-radius, 8px);
}

/* .h_iframe.facebook */
.os-iframe--facebook iframe {
  height: 870px;
}

/* .h_iframe.tiktok, .instagram */
.os-iframe--tiktok iframe {
  width: 320px;
  max-width: 100%;
  height: 740px;
}

.os-iframe--instagram iframe {
  width: 320px;
  max-width: 100%;
  height: 600px;
}

/* .h_iframe.widget.calculator; .multiplas was taller */
.os-iframe--widget iframe {
  height: 610px;
}

.os-iframe--widget.multiplas iframe {
  height: 910px;
}

.os-iframe--twitter .twitter-tweet {
  margin: 0 auto;
}

/* @media (max-width: 1199px) */
@media (max-width: 1199px) {
  .os-iframe--youtube iframe {
    height: 200px;
  }

  .os-iframe--facebook iframe {
    height: 500px;
  }

  .os-iframe--onefootball iframe {
    height: 290px;
  }
}

/* @media (max-width: 575px): the calculators stack */
@media (max-width: 575px) {
  .os-iframe--widget iframe {
    height: 800px;
  }
}
