/* Content Marketing illustration: editorial workspace (.cm). Built on the shared .vz system. */
.cm__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 0.85rem;
}
.cm__cal,
.cm__art {
  display: grid;
  align-content: start;
  gap: 0.45rem;
  border: 1px solid var(--vz-line);
  border-radius: 0.9rem;
  padding: 0.7rem 0.75rem 0.8rem;
  min-width: 0;
}
.cm__week,
.cm__days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.25rem;
}
.cm__week span {
  text-align: center;
  font-size: 0.625rem;
  line-height: 1.2em;
  font-weight: 700;
  color: #6b7889;
}
.cm__day {
  position: relative;
  border-radius: 0.4rem;
  background-color: #f3f6f9;
  padding: 0.2rem 0 0.55rem;
  text-align: center;
  font-size: 0.625rem;
  line-height: 1.2em;
  font-weight: 600;
  color: #34465a;
}
.cm__day:after {
  content: "";
  position: absolute;
  right: 0.22rem;
  bottom: 0.2rem;
  left: 0.22rem;
  border-radius: 1rem;
  height: 0.2rem;
}
.cm__day--pub:after,
.cm__key--pub {
  background-color: var(--primary);
}
.cm__day--plan:after,
.cm__key--plan {
  background-color: var(--secondary);
}
.cm__day--draft:after,
.cm__key--draft {
  background-color: #b6c2cf;
}
.cm__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.7rem;
  margin-top: 0.1rem;
}
.cm__legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.625rem;
  line-height: 1.2em;
  color: #5b6b7d;
}
.cm__key {
  display: block;
  border-radius: 1rem;
  height: 0.25rem;
  width: 0.75rem;
}

/* Article preview */
.cm__arthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  margin-bottom: 0.15rem;
}
.cm__h1 {
  display: block;
  border-radius: 0.3rem;
  background-color: var(--primary);
  height: 0.7rem;
}
.cm__h1--short {
  width: 62%;
}
.cm__meta {
  display: block;
  margin: 0.1rem 0 0.2rem;
  border-radius: 1rem;
  background-color: var(--vz-bar);
  height: 0.3rem;
  width: 40%;
}
.cm__h2 {
  display: block;
  margin-top: 0.3rem;
  border-radius: 0.25rem;
  background-color: var(--secondary);
  height: 0.5rem;
  width: 48%;
}
.cm__art .vz__bar {
  height: 0.34rem;
}

/* Publishing workflow */
.cm__flow {
  margin-top: 0.85rem;
}
.cm__flow ol {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.3rem;
  margin: 0.5rem 0 0;
  padding: 0;
  list-style: none;
}
.cm__flow li {
  position: relative;
  margin: 0;
  border: 1px solid var(--vz-line);
  border-radius: 3.75rem;
  background-color: #f7f9fb;
  padding: 0.3rem 0.3rem;
  text-align: center;
  font-size: 0.6875rem;
  line-height: 1.2em;
  font-weight: 600;
  color: #5b6b7d;
}
.cm__flow .cm__stage--done {
  border-color: transparent;
  background-color: rgba(67, 183, 255, 0.2);
  color: var(--vz-text-blue);
}
.cm__flow .cm__stage--now {
  border-color: transparent;
  background-color: var(--primary);
  color: #fff;
}

/* Floating cards */
.cm__brief,
.cm__topics {
  padding: 0.85rem 0.95rem 0.95rem;
}
.cm__brief ul {
  display: grid;
  gap: 0.5rem;
  margin: 0.6rem 0 0;
  padding: 0;
  list-style: none;
}
.cm__brief li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.2em;
  font-weight: 600;
  color: var(--headerColor);
}
.cm__brief li svg {
  flex: none;
  border-radius: 50%;
  background-color: rgba(67, 183, 255, 0.2);
  padding: 3px;
  height: 1.2rem;
  width: 1.2rem;
  color: var(--vz-text-blue);
}
.cm__open i {
  display: block;
  flex: none;
  box-sizing: border-box;
  border: 2px solid #9aa8b8;
  border-radius: 50%;
  height: 1.2rem;
  width: 1.2rem;
}
.cm__cluster {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 0.45rem;
}
.cm__cluster svg {
  flex: none;
}
.cm__cluster path {
  fill: none;
  stroke: var(--secondary);
  stroke-width: 2;
  stroke-linecap: round;
}
.cm__sat {
  fill: #fff;
  stroke: var(--secondary);
  stroke-width: 2.4;
}
.cm__pillar {
  fill: var(--primary);
}
.cm__cluster span {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.cm__cluster b {
  font-size: 0.8125rem;
  line-height: 1.2em;
  font-weight: 700;
  color: var(--headerColor);
}
.cm__cluster small {
  font-size: 0.6875rem;
  line-height: 1.25em;
  color: #5b6b7d;
}
@media only screen and (min-width: 64rem) {
  .cm .vz__stage {
    padding-bottom: 7rem;
  }
  .cm__brief {
    bottom: 0;
    left: -1.5rem;
    width: 14rem;
  }
  .cm__topics {
    right: -1.5rem;
    bottom: 1.25rem;
    width: 14.5rem;
  }
}

/* Phones and tablets: the two cards sit side by side over the lower edge of the workspace. */
@media only screen and (max-width: 63.999rem) {
  .cm .vz__stage {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: 0 0.65rem;
    padding: 0 0.25rem;
  }
  .cm .vz__card {
    grid-column: 1 / -1;
  }
  .cm .vz__body {
    padding-bottom: 1.5rem;
  }
  .cm__brief,
  .cm__topics {
    position: relative;
    z-index: 2;
    margin-top: -0.9rem;
    padding: 0.7rem 0.7rem 0.8rem;
  }
  .cm__brief {
    margin-left: 0.4rem;
  }
  .cm__topics {
    margin-right: 0.4rem;
  }
  .cm__brief li {
    font-size: 0.6875rem;
  }
  .cm__cluster {
    gap: 0.45rem;
  }
  .cm__cluster svg {
    height: 2.75rem;
    width: 2.75rem;
  }
  .cm__cluster b {
    font-size: 0.75rem;
  }
}
@media only screen and (max-width: 30rem) {
  .cm__grid {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }
  /* Compact on phones: two weeks of the calendar and a shorter article preview. */
  .cm__day:nth-child(n + 15) {
    display: none;
  }
  .cm__h2,
  .cm__more {
    display: none;
  }
  .cm__cal,
  .cm__art {
    padding: 0.6rem 0.65rem 0.7rem;
  }
  .cm__flow {
    margin-top: 0.65rem;
  }
}

/* Dark mode */
html.dark-mode .cm__day {
  background-color: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.85);
}
html.dark-mode .cm__day--pub:after,
html.dark-mode .cm__key--pub {
  background-color: #fff;
}
html.dark-mode .cm__day--draft:after,
html.dark-mode .cm__key--draft {
  background-color: rgba(255, 255, 255, 0.28);
}
html.dark-mode .cm__week span,
html.dark-mode .cm__legend span,
html.dark-mode .cm__cluster small {
  color: rgba(255, 255, 255, 0.68);
}
html.dark-mode .cm__h1 {
  background-color: #fff;
}
html.dark-mode .cm__flow li {
  background-color: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.7);
}
html.dark-mode .cm__flow .cm__stage--done {
  background-color: rgba(67, 183, 255, 0.2);
  color: var(--secondary);
}
html.dark-mode .cm__flow .cm__stage--now {
  background-color: var(--secondary);
  color: var(--primary);
}
html.dark-mode .cm__brief li,
html.dark-mode .cm__cluster b {
  color: #fff;
}
html.dark-mode .cm__pillar {
  fill: var(--secondary);
}
html.dark-mode .cm__sat {
  fill: #08141e;
}
