@import url("pygment_highlights.css");

/* --- MY CUSTOM ELEMENTS --- */

a {
  transition: all 200ms;
}

img.paddedGalleryImg {
  margin-bottom: 10px;
  margin-top: 15px;
}

.myShadow {
  -webkit-box-shadow: 0px 0px 10px 0px #000000;
  box-shadow: 0px 0px 10px 0px #000000;
}

hr {
  height: 1px;
  background: linear-gradient(to right, #01c6ff11 0%, #01c6ffff 50%, #01c6ff11 100%);
  border: 0;
}

.myQuote {
  color: #888888;
}

a.myQuote:hover {
  color: #01c6ff;
}

code {
  color: #ffe572;
  font-family: 'Courier New', Courier, monospace;
  padding: 0.125rem 0.25rem;
  background-color: #404040;
  border-radius: 0.25rem;
}

/* BLUE STUFF */

#myBlueBox {
  background-color:#01c6ff15;
  border-color: #01c6ff;
  border-width: 3px;
  border-style: solid;
  border-radius: 10px;
  padding: 15px;
  margin: 0px;
  margin-bottom: 15px;
  transition: all 200ms;
  display: inline-block
  }

:hover#myBlueBox {
  -webkit-box-shadow: 0px 0px 15px 5px #01c6ff44;
  box-shadow: 0px 0px 15px 5px #01c6ff44;
}

/* PINK STUFF */

#myPinkBox {
  background-color:#e58be515;
  border-color: #e58be5;
  border-width: 3px;
  border-style: solid;
  border-radius: 10px;
  padding: 15px;
  margin-top: 15px;
  margin-bottom: 15px;
  margin-right: 7px;
  margin-left: 7px;
  transition: all 200ms;
  }

  :hover#myPinkBox {
    -webkit-box-shadow: 0px 0px 15px 5px #e58be544;
    box-shadow: 0px 0px 15px 5px #e58be544;
  }

.pinkBG {
  padding: 10px;
  border-radius: 10px;
  border-width: 3px;
  border-style: solid;
  border-color: #00000000;
  transition: all 200ms;
}

.pinkBG:hover {
  background-color: #e58be522;
  border-color: #e58be5;
}

/* ON HOVER EXPAND */

.hoverExpand {
  transition: all 200ms;
}

.hoverExpand:hover {
  transform: scale(1.15);
}

/* ON HOVER ROTATE */

.hoverRotateChildImg img {
  transition: all 800ms;
}

.hoverRotateChildImg:hover img {
  transform: rotate(30deg) scale(1.1);
}

/* SHIELDS */

.shield {
  transition: all 200ms;
}

.shield:hover {
  background-color:#01c6ff44;
  -webkit-box-shadow: 0px 0px 10px 3px #01c6ff44;
  box-shadow: 0px 0px 10px 3px #01c6ff44;
}

/* --- General --- */

html {
  font-size: 100%
}

body {
  font-family: 'Lora', 'Times New Roman', serif;
  font-size: 1.125rem;
  color: #cccccc;
  position: relative;
  background-color: #081020;
  overflow-wrap: break-word;
}
p {
  line-height: 1.5;
  margin: 1.875rem 0;
}
h1,h2,h3,h4,h5,h6 {
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 800;
  line-height: 1.1;
}
h1 {
  font-size: 2.25rem;
}
h2 {
  font-size: 1.875rem;
}
.myHeading {
  margin-bottom: 1.5rem;
}
h3 {
  font-size: 1.5rem;
}
h4 {
  font-size: 1.125rem;
}
h1, h2, h3, h4 {
  margin-top: 1.25rem;
}
a {
  color: #01c6ff;
}
a:hover,
a:focus {
  color: #a0e8f8;
}
blockquote {
  color: #888888;
  font-style: italic;
}
blockquote p:first-child {
  margin-top: 0;
}

hr.footer {
  margin-top: 35px;
  margin-bottom: 35px;
}

hr.small {
  max-width: 6.25rem;
  margin: 1rem auto;
  border-top-width: 0.25rem;
  border-top-style: solid;
  border-color: inherit;
  border-radius: 0.1875rem;
  background: #00000000;
}

/* fix in-page anchors to not be behind fixed header */
:target:before {
  content: "";
  display: block;
  height: 3.125rem; /* navbar height */
  margin: -3.125rem 0 0;
}

::-moz-selection {
  text-shadow: none;
  background-color: #B4D5FE55;
}
::selection {
  text-shadow: none;
  background-color: #B4D5FE55;
}
img::selection {
  color: #fff;
  background: transparent;
}
img::-moz-selection {
  color: #fff;
  background: transparent;
}

img {
  max-width: 100%;
}

.linked-section {
  padding-top: 3.75rem;
  margin-top: -1.5625rem;
}

/* --- Navbar --- */
.navbar-custom {
  background: #081020;
  border-bottom: 1px solid #01c6ff;
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  -webkit-transition: padding .5s ease-in-out;
  -moz-transition: padding .5s ease-in-out;
  transition: padding .5s ease-in-out;
}

.navbar-custom,
.navbar-custom.top-nav-short {
  padding-top: 0;
  padding-bottom: 0;
}

.navbar-custom .navbar-brand {
  line-height: 1.5;
  padding: 0.625rem;
  font-size: 1.125rem;
}

.navbar-custom .navbar-nav .nav-item {
  text-transform: uppercase;
  font-size: 0.8125rem;
  letter-spacing: 0.0625rem;
}

.navbar-custom .navbar-nav .nav-link {
  padding-top: 0;
  padding-bottom: 0;
  line-height: 1.25rem;
  padding-top: 0.9375rem;
  padding-bottom: 0.9375rem;
}

.navbar-custom .navbar-brand,
.navbar-custom .navbar-nav .nav-link {
  font-weight: 800;
  color: #01c6ff;
}
.navbar-custom .navbar-nav .nav-link.active-now {
  background-color: #0f1e3c;
  border-radius: 10px;
  border: 1px solid #01c6ff88;
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}
.navbar-custom .navbar-nav .nav-link.sponsor {
  font-weight: 800;
  color: #e58be5;
}

.tag-button {
  margin: 0.3125rem;
  background-color: #0f1e3c;
  border-radius: 10px;
  border: 1px solid #01c6ff88;
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
  color: #cccccc;
}
.tag-button:hover {
  background-color: #081020;
  color: #cccccc;
}

.navbar-toggler {
  font-size: 1rem;
  margin: 0.5rem 0;
  border-color: #01c6ff44 !important;
  background-color: #0f1e3c;
}
.navbar-custom .navbar-toggler:focus,
.navbar-custom .navbar-toggler:hover {
  background-color: initial;
}

.navbar-custom .navbar-toggler[aria-expanded="true"] {
  background-color: rgba(0, 0, 0, 0.2);
}

@media (max-width: 399px) {
  .download-chart-container {
    height: 260px;
  }
}
@media (min-width: 400px) and (max-width: 499px) {
  .download-chart-container {
    height: 310px;
  }
}
@media (min-width: 500px) {
  .download-chart-container {
    height: 360px;
  }
}

@media (min-width: 1200px) {
  .navbar-custom .navbar-nav .nav-item {
    display: flex;
    flex-direction: row;
    align-items: center;
  }

  .navbar-custom.top-nav-short .navbar-brand.active-now,
  .navbar-custom.top-nav-short .navbar-nav .nav-link.active-now {
    background-color: #0f1e3c;
    border-radius: 10px;
    border: 1px solid #01c6ff88;
    padding-top: 0.1rem;
    padding-bottom: 0.1rem;
  }
  .navbar-custom .navbar-brand.active-now {
    background-color: #0f1e3c;
    border-radius: 10px;
    border: 1px solid #01c6ff88;
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
  }

  .navbar-custom {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
  }

  .navbar-expand-xl .navbar-nav .nav-link {
    padding-left: 0.9375rem;
    padding-right: 0.9375rem;
  }

  .navbar-expand-xl .navbar-nav .nav-item:last-child .nav-link {
    padding-right: 0;
  }
}

@media (max-width: 1199px) {
  .navbar-custom .navbar-collapse {
    display: block;
    position: absolute;
    top: 100%;
    right: 1rem;
    min-width: 180px;
    background: #081020;
    border: 1px solid #01c6ff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    padding: 0.5rem;
    margin-top: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
  }

  .navbar-custom .navbar-collapse.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 200ms ease, transform 200ms ease;
  }

  .navbar-custom .navbar-nav .nav-link {
    padding: 0.6rem 0.9375rem;
    border: 1px solid transparent;
  }

  .navbar-custom .navbar-nav .nav-link.active-now {
    padding: 0.6rem 0.9375rem;
  }
}
.navbar-custom .navbar-brand:hover,
.navbar-custom .navbar-brand:focus ,
.navbar-custom .navbar-nav .nav-link:hover,
.navbar-custom .navbar-nav .nav-link:focus,
.navbar-custom .navbar-nav .nav-link.sponsor:hover,
.navbar-custom .navbar-nav .nav-link.sponsor:focus {
  color: #ffcc00 ;
}

.navbar-custom .avatar-container {
  position: absolute;
  left: 50%;
  width: 3.125rem;
  bottom: -1.5rem;
  transition: opacity 0.5s ease-in-out;
  -webkit-transition: opacity 0.5s ease-in-out;
  -moz-transition: opacity 0.5s ease-in-out;
}
.navbar-custom.top-nav-short .avatar-container,
.navbar-custom #main-navbar.show ~ .avatar-container,
.navbar-custom #main-navbar.collapsing ~ .avatar-container {
  opacity: 0;
  visibility: hidden;
  transition: visibility linear 0.5s, opacity 0.5s ease-in-out;
  -webkit-transition: visibility linear 0.5s, opacity 0.5s ease-in-out;
  -moz-transition: visibility linear 0.5s, opacity 0.5s ease-in-out;
}

.navbar-custom .avatar-container .avatar-img-border {
  width: 100%;
  margin-left: -50%;
}
.navbar-custom .avatar-container .avatar-img {
  width: 100%;
  display: block;
}

.avatar-img {
  border-color: #01c6ff;
  border-width: 1px;
  border-style: solid;
  border-radius: 18%;
  -webkit-box-shadow: 0px 0px 5px 3px #01c6ff44;
  box-shadow: 0px 0px 5px 3px #01c6ff44;
}

@media (min-width: 1200px) {
  .navbar-custom.top-nav-regular .avatar-container {
    width: 6.25rem;
    bottom: -1.9375rem;
  }

  .navbar-custom.top-nav-regular .avatar-container .avatar-img-border {
    width: 100%;
  }

  .navbar-custom.top-nav-regular .avatar-container .avatar-img {
    width: 100%;
  }
}

/* --- Footer --- */

footer {
  padding: 1.875rem 0;
  border-top: 1px #01c6ff solid;
  font-size: 0.875rem;
  background: #081020;
}

footer a {
  color: #01c6ff;
}

footer a:hover,
footer a:focus {
  color: #a0e8f8;
}

footer .list-inline {
  margin: 0;
  padding: 0;
}
footer .copyright {
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  text-align: center;
  margin-bottom: 8px;
  margin-top: 0;
  color: #888888;
}

@media (min-width: 768px) {
  footer {
    padding: 3.125rem 0;
  }
  footer .footer-links {
    font-size: 1.125rem;
  }
  footer .copyright {
    font-size: 1rem;
  }
}

@media (max-width: 767px) {
  footer .list-inline > li:not(:last-child):after {
    content: "\A";
    white-space: pre;
  }
}

@media (min-width: 768px) {
  footer .list-inline-left {
    float: left;
  }

  footer .list-inline-right {
    float: right;
  }
}

/* --- Tags --- */

.blog-tags {
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 0.9375rem;
  margin: 1.875rem 0;
}

.blog-tags span {
  color: #cccccc;
  opacity: 0.8;
}

.blog-tags .list-inline-item {
  margin-right: 0;
}

.blog-tags a {
  color: #cccccc;
  text-decoration: none;
  padding: 0 0.3125rem;
  opacity: 0.8;
  border: 1px solid transparent;
  border-radius: 0.1875rem;
}

.blog-tags a:hover {
  opacity: 1;
  color: #cccccc;
  border-color: #cccccc;
}

/* Tags page */

#full-tags-list {
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

#full-tags-list .tag-entry {
  margin: 0 0 0.9375rem 1.5625rem;
}

#full-tags-list .tag-entry a {
  font-size: 1.25rem;
}

#full-tags-list .tag-entry .entry-date {
  color: #888888;
  font-style: italic;
  font-size: 1rem;
}

/* --- Post and page headers --- */

.intro-header {
  padding: 5rem 0 1.25rem;
  position: relative;
}
.intro-header .page-heading {
  text-align: center;
}
.intro-header .page-heading h1 {
  margin-top: 0;
  font-size: 3.125rem;
}
.intro-header .post-heading h1 {
  margin-top: 0;
  font-size: 2.1875rem;
}
.intro-header .page-heading .page-subheading,
.intro-header .post-heading .post-subheading {
  font-size: 1.6875rem;
  line-height: 1.1;
  display: block;
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 300;
  margin: 0.625rem 0 0;
}
.intro-header .post-heading .post-subheading {
  margin-bottom: 1.25rem;
}
@media (min-width: 1200px) {
  .intro-header {
    padding-top: 8.125rem;
  }
  .intro-header .page-heading h1 {
    font-size: 5rem;
  }
  .intro-header .post-heading h1 {
    font-size: 3.125rem;
  }
}

/* --- Pagination --- */

.pagination {
  margin: 0.625rem 0 0;
  justify-content: space-between;
}

.pagination.blog-pager {
  margin-top: 0;
}

.pagination .page-item.next {
  margin-left: auto;
}

@media (min-width: 768px) {
  .pagination.blog-pager {
    margin-top: 0.625rem;
  }
}

.pagination .page-item .page-link {
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  text-transform: uppercase;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 0.625rem 0.3125rem;
  background-color: #081020;
  border-radius: 10px;
  color: #cccccc;
}
@media (min-width: 768px) {
  .pagination .page-item .page-link {
    padding: 0.9375rem 1.5625rem;
  }
}
.pagination .page-item .page-link:hover,
.pagination .page-item .page-link:focus {
  color: #081020;
  border: 1px solid #a0e8f8;
  background-color: #a0e8f8;
}

/* --- Tables --- */

table {
  padding: 0;
}
table tr {
  background-color: #00000000;
  margin: 0;
  padding: 0;
}
table tr td {
  text-align: left;
  margin: 0;
  padding: 0.8125rem;
}
table tr th :first-child,
table tr td :first-child {
  margin-top: 0;
}
table tr th :last-child,
table tr td :last-child {
  margin-bottom: 0;
}

.border-none {
  border-collapse: collapse;
  border: none;
}
.border-none td {
  border: 1px solid #129ac3;
}
.border-none tr:first-child td {
  border-top: none;
  padding-top: 0.375rem;
}
.border-none tr:last-child td {
  border-bottom: none;
  padding-bottom: 0.375rem;
}
.border-none tr td:first-child {
  border-left: none;
}
.border-none tr td:last-child {
  border-right: none;
}

/* --- Code blocks --- */

pre code {
  padding: 0;
  background-color: transparent;
  border-radius: 0;
}

pre {
  font-size: 0.875rem;
  line-height: 1.5em;
  border-radius: 0.25rem;
  padding: 0.59375rem;
}
.highlight pre {
  border: none;
  background: none;
  margin: 0;
}
.highlight > pre {
  background-image: linear-gradient(
    rgba(0,0,0,0.03), rgba(0,0,0,0.03) 1.5em, rgba(0,0,0,0.02) 1.5em, rgba(0,0,0,0.02) 3em);
  background-size: auto 3em;
  background-position-y: 0.625rem;
  border: 1px solid rgba(0,0,0,0.1);
  border-left: 0.4375rem solid #444;
}
.highlight > pre:not([class~="highlight"]) { /* code block with line number */
  padding: 0;
}
.highlight table,
.highlight tr,
.highlight td { /* to be removed after fixing table styles */
  border: none;
  background: none;
  padding: 0;
  margin: 0;
}
.highlight pre.lineno {
  color: rgba(0,0,0,0.3);
  border-radius: 0;
  border-right: 2px solid #444;
}

/* Make line numbers unselectable: excludes line numbers from copy-paste user ops */
.lineno {
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
.lineno::selection, .lineno::-moz-selection {
  background: none;
}

/* Fix table border github gist snippets */

.gist, .gist-file table tr {
  border: unset;
}

.gist, .gist-file table tr td {
  border: unset;
}

/* --- Misc blog post styles --- */

.blog-post :first-child {
  margin-top: 0;
}

.blog-post img {
  max-width: 100%;
}

.blog-post blockquote {
  padding: 0.625rem 1.25rem;
  margin: 0 0 1.25rem;
  font-size: 1.1rem;
  border-left: 0.3125rem solid #eee;
}

.blog-post blockquote p:last-child {
  margin-bottom: 0;
}

/* Search bar */
#beautifuljekyll-search-overlay {
  z-index: 999999;
  position: fixed;
  background: rgba(8, 16, 32, 0.9);
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  text-align: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 200ms ease, transform 200ms ease, visibility 0s linear 200ms;
}
#beautifuljekyll-search-overlay.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0s;
}
#nav-search-exit {
  position: absolute;
  top: 1.5rem;
  cursor: pointer;
  right: 25%;
  margin-right: 2rem;
  color: #cccccc;
  font-size: 2rem;
  line-height: 2rem;
  font-weight: bold;
  background: transparent;
  border: none;
  padding: 0;
  transition: color 200ms ease;
}
#nav-search-exit:hover,
#nav-search-exit:focus-visible {
  color: #a0e8f8;
}
#nav-search-input {
  text-align: center;
  background: #0f1e3c;
  margin: auto;
  display: block;
  font-size: 2rem;
  width: 50%;
  transition: width 300ms ease, border-color 200ms ease;
  color: #cccccc;
  border-radius: 5rem;
  outline: none;
  border: 1px solid #01c6ff;
  padding: 0 3rem;
}
@media (max-width: 1199px) {
  #nav-search-input {
    width: 75%;
  }
  #nav-search-exit {
    right: 12.5%;
  }
}
@media (max-width: 767px) {
  #nav-search-input {
    width: 100%;
  }
  #nav-search-exit {
    right: 0;
  }
}
#nav-search-input:focus {
  border-color: #a0e8f8;
  outline: none;
}

#nav-search-input::placeholder {
  color: #888888;
}

#search-results-container {
  list-style: none;
  padding-left: unset;
  margin-top: 1.5rem;
  color: #fff;
  font-size: 1.5rem;
  max-height: calc(100vh - 6.5rem);
  overflow-y: auto;
}
#search-results-container a {
  color: #fff;
  text-decoration: none;
}
#search-results-container a:hover {
  color: #fff;
  text-decoration: underline;
}

#nav-search-icon {
  display: inline-block;
}
#nav-search-text {
  display: none;
}

/* HOMEPAGE BANNERS */

.home-banner {
  width: 100%;
  margin: 0 0 25px;
  color: #cccccc;
  text-decoration: none;
  /* reserve 2px so the borders appearing on hover don't shift content */
  border: 2px solid transparent;
  border-left-width: 4px;
  border-radius: 0 10px 10px 0;
  transition: all 200ms;
}

.home-banner:hover,
.home-banner:focus {
  text-decoration: none;
  color: #cccccc;
}

.home-banner-icon {
  flex-shrink: 0;
  font-size: 1.25rem;
}

.home-banner-title {
  flex: 1 1 auto;
  min-width: 0;
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-banner-date,
.anniv-post-sub {
  font-style: italic;
  font-size: 0.85em;
  color: #888888;
}

.home-banner-date { flex-shrink: 0; }

@media (max-width: 767px) {
  .home-banner-date {
    display: none;
  }
}

/* News banner (cyan) */

.latest-news-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  background-color: #01c6ff22;
  border-left-color: #01c6ff;
}

.latest-news-banner:hover,
.latest-news-banner:focus {
  background-color: #01c6ff33;
  border-top-color: #01c6ff88;
  border-right-color: #01c6ff88;
  border-bottom-color: #01c6ff88;
}

.latest-news-banner .home-banner-icon { color: #01c6ff; }

/* On-this-day banner (amber) */

.anniv-banner {
  display: block;
  background-color: #ffcc0022;
  border-left-color: #ffcc00;
}

.anniv-banner:hover {
  background-color: #ffcc0033;
  border-top-color: #ffcc0088;
  border-right-color: #ffcc0088;
  border-bottom-color: #ffcc0088;
}

.anniv-banner > summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  cursor: pointer;
  list-style: none;
}

.anniv-banner > summary::-webkit-details-marker { display: none; }

.anniv-banner > summary::after {
  content: "▾";
  margin-left: auto;
  color: #ffcc00;
  transition: transform 200ms;
}

.anniv-banner[open] > summary::after { transform: rotate(180deg); }

.anniv-banner .home-banner-icon { color: #ffcc00; }

.anniv-banner ul {
  list-style: none;
  margin: 0;
  padding: 0 18px 12px 52px;
}

.anniv-banner ul a {
  display: block;
  padding: 8px 0;
  color: #cccccc;
  text-decoration: none;
}

.anniv-banner ul a:hover .anniv-post-title,
.anniv-banner ul a:focus .anniv-post-title {
  color: #01c6ff;
}

.anniv-post-title {
  display: block;
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.anniv-post-sub {
  display: block;
  margin-top: 2px;
}

/* NEWS POST CARDS */

.news-cards {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 24px 0;
}

.news-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 18px;
  padding: 14px;
  background: #ffffff08;
  border: 2px solid #ffffff15;
  border-radius: 10px;
  transition: background 200ms, border-color 200ms;
}

.news-card:hover {
  background: #01c6ff11;
  border-color: #01c6ff66;
}

.news-card-title-link {
  color: #cccccc;
  text-decoration: none;
}

.news-card-title-link:hover,
.news-card-title-link:focus {
  color: #a0e8f8;
  text-decoration: none;
}

.news-card-title-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 10px;
}

.news-card-thumb {
  align-self: center;
  justify-self: center;
}

.news-card-thumb img {
  max-width: 180px;
  height: auto;
  border-radius: 6px;
  display: block;
}

.news-card-thumb.no-img {
  color: #666666;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.85rem;
}

.news-card-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.news-card-title {
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 800;
  font-size: 1.875rem;
  margin: 0 0 6px;
  line-height: 1.2;
  color: inherit;
}

.news-card-meta {
  font-family: 'Lora', 'Times New Roman', serif;
  font-style: italic;
  font-size: 1.125rem;
  color: #888888;
  margin-bottom: 10px;
}

.news-card-excerpt {
  font-size: 1.125rem;
  line-height: 1.5;
  margin: 0;
  flex: 1;
}

.news-card .blog-tags {
  margin: 0.625rem 0 0;
}

@media (max-width: 600px) {
  .news-card {
    grid-template-columns: 1fr;
  }
  .news-card-thumb img {
    max-width: 100%;
  }
}

/* --- Accessibility: keyboard focus indicators --- */

/* Default focus ring for interactive elements. Uses the site's accent color
   so it's visible on every background the site uses. */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible,
input:focus-visible {
  outline: 2px solid #01c6ff;
  outline-offset: 2px;
}

/* Match the hover styles for missing focus-visible companions */
a.myQuote:focus-visible {
  color: #01c6ff;
}

.tag-button:focus-visible {
  background-color: #081020;
  color: #cccccc;
}

.blog-tags a:focus-visible {
  opacity: 1;
  color: #cccccc;
  border-color: #cccccc;
}

#search-results-container a:focus-visible {
  color: #fff;
  text-decoration: underline;
}

/* News cards: focus inside the card via its title-link should highlight the
   whole card the same way as hover does. */
.news-card:focus-within {
  background: #01c6ff11;
  border-color: #01c6ff66;
}
