/*
 * Project33 Progress Updates — responsive content CSS
 * The old fixed-width tables have been converted to DIV-based layout.
 * Drop this file into your new site's CSS and wrap the article in your
 * normal page template.
 */
 .striped-diagonal {
  background: repeating-linear-gradient(
    45deg,
    #ff0000,
    #ff0000 20px,
    #ffffff 20px,
    #ffffff 40px
  );
}

iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
}

.progress-update {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  box-sizing: border-box;
  color: inherit;
  font-family: inherit;
  line-height: 1.55;
}

.progress-update *,
.progress-update *::before,
.progress-update *::after {
  box-sizing: border-box;
}

.progress-update__header {
background:#000;
color:#fff;
font-weight:600;
border-radius:15px;

  margin: 10px 0 1.5rem;
  padding: .35rem .8rem;
}

.progress-update__header h2 {
  margin: 0;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
}

.progress-update__body {
  width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
}

.progress-update__body p {
  margin: 0 0 1rem;
}

.progress-update__body img {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
}

.progress-update__body a {
  overflow-wrap: anywhere;
  color:#000;
}

.p33-align--center,
.p33-center {
  text-align: center;
}

.p33-align--left {
  text-align: left;
}

.p33-align--right {
  text-align: right;
}

.p33-align--justify {
  text-align: justify;
}

/* Former <table> layout converted to responsive flex rows. */
.p33-table {
  width: 100%;
  max-width: 100%;
  margin: 0 0 1rem;
}

.p33-row {
  display: flex;
  width: 100%;
  align-items: flex-start;
  margin: 0;
  padding: 0;
}

.p33-cell {
  flex: 1 1 var(--p33-cell-width, 0);
  min-width: 0;
  padding: 0;
}

.p33-cell + .p33-cell {
  /* The original pages generally had no gutter; keep the historical spacing. */
}

/* Images that were intentionally floated beside editorial text. */
.progress-update__body img.p33-img--left {
  float: left;
  max-width: 50%;
  margin: .15rem 1rem .5rem 0;
}

.progress-update__body img.p33-img--right {
  float: right;
  max-width: 50%;
  margin: .15rem 0 .5rem 1rem;
}

.progress-update__body::after {
  content: "";
  display: table;
  clear: both;
}

.progress-update__body hr {
  border: 0;
  border-top: 1px solid currentColor;
  opacity: .25;
  margin: 1.5rem 0;
}

/* Preserve responsive image-map behavior by allowing the one legacy map
   to remain at its natural size rather than making its hotspot coordinates wrong. */
.progress-update__body img[usemap] {
  max-width: none;
}

.progress-update__body map {
  display: block;
}

/* Phone layout: old side-by-side photo/text tables stack vertically. */
@media (max-width: 700px) {
  .p33-row {
    display: block;
  }

  .p33-cell {
    width: 100% !important;
    flex: none;
    margin-bottom: 1rem;
  }

  .progress-update__body img.p33-img--left,
  .progress-update__body img.p33-img--right {
    float: none;
    max-width: 100%;
    margin: .5rem auto 1rem;
  }

  .progress-update__header {
    margin-bottom: 1rem;
  }
}
