/*
 * Loaded globally and targets the "/creative" routes and listings.
 */
.creative-page {
  --creative-hero-background-color: #f6f6f6;
  --creative-hero-border-color: #d6d6d6;
  --creative-hero-text-color: #acdcff;
  --creative-hero-accent-color: #C93A7A;
  --creative-sketch-spacing: 16px;
  --page-hero-background-color: var(--creative-hero-background-color);
  --page-hero-border-color: var(--creative-hero-border-color);
  --page-hero-text-color: var(--creative-hero-text-color);
  --page-hero-accent-color: var(--creative-hero-accent-color);
}
.creative-hero {
  --page-hero-shadow-color: #000;
}
.creative-categories {
  display: flex;
  justify-content: center;
  justify-content: safe center;
  gap: 0.8em;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 1em 6%;
  scrollbar-gutter: stable;
  -webkit-overflow-scrolling: touch;
  background: #f7f7f7;
  border-bottom: 1px solid #d6d6d6;
}
.creative-category {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  color: #4e4e50;
  font-family: 'Newsreader';
  font-weight: bold;
  text-decoration: none;
  white-space: nowrap;
  padding: 0.65em 0.8em;
  border-bottom: 3px solid transparent;
}
.creative-category:hover,
.creative-category-active {
  color: var(--page-hero-accent-color);
  border-bottom-color: var(--page-hero-accent-color);
}
.creative-category span {
  font-size: 1.25em;
  line-height: 1;
}
.creative-sketches {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 2.5em;
  background: #e8e8e8;
  padding: 3em 6%;
}
.creative-sketches-header {
  grid-column: 1 / -1;
  text-align: center;
}
.creative-sketches-title {
  color: #4e4e50;
  font-size: 2.15em;
  letter-spacing: 0;
  line-height: 1.1;
  margin: 0;
}
.creative-sketches-category {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  color: var(--page-hero-accent-color);
  font-family: 'Newsreader';
  font-weight: bold;
  margin-top: 0.7em;
  text-decoration: none;
}
.creative-sketches-category:hover {
  color: #000;
}
.creative-sketches-category span {
  font-size: 1.35em;
}
.creative-sketch {
  background-color: #fff;
  border-radius: 0.4em;
  box-shadow: 0 0 1em rgba(0, 0, 0, 0.19);
  overflow: hidden;
  min-width: 0;
  text-align: left;
}
.creative-sketch > a {
  background: #333;
  line-height: 0;
  height: 0;
  overflow: hidden;
  display: block;
  padding-bottom: 74.66666%;
}
.creative-sketch:nth-child(2n) > a {
  background: #444;
}
.creative-sketch img {
  width: 100%;
  height: auto;
  opacity: 1;
  transition: opacity .25s ease-in-out;
}
.creative-sketch img:hover {
  opacity: 0.7;
}
.creative-sketch > h2 {
  font-family: 'Newsreader';
  font-weight: normal;
  font-size: 1em;
  padding: var(--creative-sketch-spacing) var(--creative-sketch-spacing) 6px;
  margin: 0;
}
.creative-sketch > h2 > a {
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
  display: block;
  overflow: hidden;
  color: #4e4e50;
  text-shadow: none;
  text-decoration: none;
}
.creative-sketch p {
  color: var(--page-hero-accent-color);
  margin: 0;
  padding: 0 var(--creative-sketch-spacing) var(--creative-sketch-spacing);
  font-size: 0.95em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.creative-sketch p a {
  color: var(--page-hero-accent-color);
  text-decoration: none;
}
.creative-sketch p a:hover {
  color: #000;
  text-decoration: none;
}
.creative-sketch-date {
  color: #777;
}
.creative-sketch-date:before {
  content: "•";
  color: #aaa;
  padding: 0 0.55em;
}
