/**
 * @file
 * A place for custom styles.
 */

/* Color variables. */
:root {
  /* Cooper Theme variables */
  --sans: "franklin-gothic-urw", sans-serif;
  --cond: "franklin-gothic-urw-cond", sans-serif;
  --mono: "ibm-plex-mono", sans-serif;
  --gray: #666;
  --uva-blue: #232d4b;
  --jefferson-blue: hsla(218, 76%, 95%, 1);

  /* Gin Admin variables */
  --button-bg-color: #fff;
}

.ck-content .lede {
  color: var(--uva-blue);
  font-family: var(--comp);
  font-size: 1.625rem;
  font-weight: 500;
  letter-spacing: -0.0192307692em;
  line-height: 1.3;
}

/* Blockquote */
.ck-content blockquote:not(.pullquote) {
  font-size: 1rem;
  margin-left: 100px;
  font-style: normal;
}

/* Pullquote */
.ck-content .pullquote {
  color: var(--uva-blue);
  font-family: var(--cond);
  font-size: 36px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.3;
  margin: 0.5em auto;
  max-width: 400px;
  padding: 0;
}

.ck-content .pullquote p {
  margin: 0 0 10px;
}

.ck-content .pullquote::before {
  display: none;
}

/* Blockquote/Pullquote attribution */
.ck-content .attribution {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 15px;
}

.ck-content .attribution::before {
  content: "– ";
}

/* Images */
.ck-content .drupal-media .field_caption {
  display: none;
}

.ck-content .drupal-media {
  width: 100%;
}

.ck-content .drupal-media iframe {
  aspect-ratio: 16 / 9;
  height: auto;
  width: 100%;
}

.ck-content .drupal-media.align-left,
.ck-content .drupal-media.align-right,
.ck-content .drupal-media.align-center {
  max-width: 50%;
}

/* Footnotes */
.ck-content sup {
  top: 0;
}

.ck-content .footnote {
  color: var(--gray);
  font-family: var(--sans);
  font-size: 15px;
  letter-spacing: -0.5px;
  line-height: 22px;
}

/* Gin admin theme updates  */
.gin--horizontal-toolbar #toolbar-administration .toolbar-lining {
  overflow-x: hidden;
}

#block-gin-primary-local-tasks {
  margin-top: 15px;
}

.node-form .fieldset__description,
.node-form .form-item__description {
  max-width: 100%;
}
