/*
  Custom overrides for site text/link color.
  Change --accent-color to update blue text across the site.
*/

:root {
  /* Warm orange accent */
  --accent-color: #ff8a00;
}

/* Links */
a {
  color: var(--accent-color) !important;
}
a:hover, a:focus {
  color: var(--accent-color) !important;
}

/* Utility class used throughout the theme */
.text-primary {
  color: var(--accent-color) !important;
}

/* Common headings/subheadings that use the primary color */
.slider-text .subheading,
.slider-text h2 span,
.page .heading,
.resume-wrap .date,
#navi li a.current,
.counter-wrap .text p span.number {
  color: var(--accent-color) !important;
}

/* Publication thumbnails and actions */
.pub-thumb {
  float: right;
  width: 120px;
  height: 80px;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-size: 12px;
  font-style: italic;
  margin-left: 15px;
  margin-bottom: 6px;
  overflow: hidden;
}
.pub-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pub-actions .btn {
  padding: .15rem .4rem;
}
@media (max-width: 576px) {
  .pub-thumb {
    float: none;
    width: 100%;
    height: auto;
    max-height: 220px;
    margin: 0 0 8px 0;
  }
}

/* Make primary buttons follow accent color */
.btn-outline-primary {
  color: var(--accent-color) !important;
  border-color: var(--accent-color) !important;
}
.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background-color: var(--accent-color) !important;
  border-color: var(--accent-color) !important;
  color: #fff !important;
}
.btn-primary {
  background-color: var(--accent-color) !important;
  border-color: var(--accent-color) !important;
}
