html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

body {
  margin: 0;
}

.story-widget {
  color: #666;
  font-family: "Helvetica Neue", Arial, sans-serif;
  padding: 0 20px;
}

.story-widget-not-live {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  padding: 1rem;
  font-size: 1.25rem;
  font-weight: bold;
  color: black;
}

/* Shared styles */
.story-widget .content {
  font-size: 14px;
}

.story-widget .content.no-image {
  width: 100%;
}

.story-widget .content .inner-content {
  padding: 10px;
}

.story-widget a {
  text-decoration: none;
}

.story-widget .date {
  color: #666;
  font-size: 11px;
  padding: 3px 0;
  margin: 0;
  text-transform: uppercase;
}

.story-widget .title {
  color: #333;
  font-size: 14px;
  font-weight: 600;
  margin: 5px 0;
}

.story-widget .text {
  font-size: 0.9em;
}

/* Main story */
.story-widget .main-story {
  margin-top: 20px;
}

.story-widget .main-story .image {
  line-height: 0;
  width: 100%;
  padding: 20px 0px;
}

.story-widget .main-story .content {
  width: 100%;
}

.story-widget .main-story img {
  max-width: 100%;
}

.story-widget .main-story .title {
  border-left: #ff004e 4px solid;
  margin: 10px 0;
  padding-left: 10px;
}

.story-widget .main-story .date {
  background-color: #ccc;
  padding: 10px 20px;
}

.story-widget .main-story .text {
  color: #333;
  line-height: 1.5;
}

.story-widget .main-story .inner-content {
  padding: 0;
  width: 100%;
}

/* Story items */
.story-widget .stories {
  list-style: none;
  margin: 0;
  padding: 0;
  float: left;
  top: 20px;
}

.story-widget .story {
  margin-bottom: 20px;
}

.story-widget .story .image {
  max-width: 100px;
  float: left;
  margin: 14px 20px 0 0;
  line-height: 0;
}

.story-widget .story img {
  width: 100%;
  line-height: 0;
}

.story-widget .clearfix {
  clear: both;
  visibility: hidden;
  content: ".";
}

/* Media queries */
@media (max-width: 300px) {
  .story-widget .image,
  .story-widget .content {
    width: 100%;
    max-width: 100%;
  }
  .story-widget .title {
    width: 100%;
  }
  .story-widget img {
    margin: 0;
    height: auto;
    max-width: 100%;
  }
  .story-widget .content .inner-content {
    padding: 0 0 20px;
  }
}
@media (max-width: 700px) {
  .story-widget .main-story {
    width: 100%;
  }
  .story-widget .stories {
    position: relative;
    width: 100%;
    left: 0;
  }
}
@media (min-width: 700px) {
  .story-widget .main-story {
    float: left;
    width: 350px;
  }
  .story-widget .stories {
    position: absolute;
    left: 390px;
  }
}
@media (min-width: 900px) {
  .story-widget .main-story {
    width: 480px;
  }
  .story-widget .stories {
    left: 520px;
  }
}
