/* Styles for callout boxes */
.callout-box {
  background: var(--white);
  box-shadow: 0 0 1rem 0 rgba(0, 0, 0, 0.11);
  padding: 1.5rem 1.875rem 2.25rem;
  font-size: 14px;
  margin-bottom: 1.5rem;
}

@media print, screen and (min-width: 768px) {
  .callout-box {
    padding: 1.5rem;
  }
}

.callout-box *:first-child {
  margin-block-start: 0;
  margin-top: 0;
}

.callout-box h2 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.callout-box p,
.callout-box ul,
.callout-box ol {
  font-size: 14px;
}

@media print, screen and (max-width: 39.9375em) {
  .callout-box {
    margin-top: 28px;
  }
}

.callout-box .btn {
  border-radius: 2px;
  background: var(--white);
  border: none;
  cursor: pointer;
  display: inline-block;
  position: relative;
  -webkit-transition:
    color 0.5s cubic-bezier(0.82, 0.06, 0.14, 0.97),
    background 0.5s cubic-bezier(0.82, 0.06, 0.14, 0.97),
    border 0.5s cubic-bezier(0.82, 0.06, 0.14, 0.97);
  transition:
    color 0.5s cubic-bezier(0.82, 0.06, 0.14, 0.97),
    background 0.5s cubic-bezier(0.82, 0.06, 0.14, 0.97),
    border 0.5s cubic-bezier(0.82, 0.06, 0.14, 0.97);
  font-family: var(--sans-serif);
  border-width: 0.1875rem;
  border-style: solid;
  color: var(--gray--dark);
  z-index: 2;
  line-height: 1.1;
  letter-spacing: 0.0625rem;
  text-decoration: none;
  margin-right: 0.3125rem;
  margin-bottom: 0.3125rem;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 0.875rem;
  padding: 0.9375rem 1.25rem 0.85rem;
  border-color: var(--secondary--fuchsia);
}

.callout-box .btn.external {
  padding-right: 1.75rem;
}

.callout-box .btn.external::after {
  content: "";
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1em;
  height: 1em;
  background: url("external-link-icon.svg") no-repeat center center;
  background-size: contain;
}

.callout-box .office-hours-section:not(:first-child) {
  margin-top: var(--spacing--medium);
}

.callout-box .office-hours-section h3 {
  margin-bottom: 0;
}

.callout-box .office-hours-section .office-hours-component {
  margin-top: 14px;
  margin-bottom: 14px;
}

/* Landing page callout box adjustments */
@media print, screen and (max-width: 39.9375em) {
  .landing-page .callout-box {
    margin-top: 40px;
  }
}
@media print, screen and (min-width: 48em) {
  .landing-page .callout-box {
    position: sticky;
    top: 120px;
  }
}

/* Sticky aside callout for hero and person detail */
@media print, screen and (min-width: 48em) {
  .hero--general + .wysiwyg-block .callout-box,
  .person--detail aside,
  .person--detail .callout-box {
    position: sticky;
    top: 7.5em;
  }
}

.hero--general + .wysiwyg-block .callout-box p,
.hero--general + .wysiwyg-block .callout-box ul,
.hero--general + .wysiwyg-block .callout-box ol,
.person--detail aside p,
.person--detail aside ul,
.person--detail aside ol,
.person--detail .callout-box p,
.person--detail .callout-box ul,
.person--detail .callout-box ol {
  font-size: 14px;
}
@media print, screen, (min-width: 48.0625em) and (max-width: 74.9375em) {
  .callout-box .btn {
    padding: 1rem 1.75rem;
  }
  .callout-box .btn.external::after {
    right: 0.25rem;
  }
}
.callout-box .btn:hover:not(:disabled)::before,
.callout-box .btn:hover:not(:disabled)::after,
.callout-box .btn:focus:not(:disabled)::before,
.callout-box .btn:focus:not(:disabled)::after {
  color: var(--white);
}
