@media (hover: hover) and (pointer: fine) {
  .sd-card {
    transition: transform 0.15s ease, box-shadow 0.15s ease;
  }
  .sd-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,.18), 0 0 0 2px var(--pst-color-primary, #1f77b4);
    cursor: pointer;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sd-card { transition: none !important; }
  .sd-card:hover { transform: none !important; }
}

.grid .sd-card {
  margin-bottom: 0 !important;
}

:root {
  --accent-color: #13979F;
}

/* Links */
a {
  color: #13979F;
}

a:hover,
a:focus {
  color: #0f7a80; /* slightly darker */
}

/* Keep headings black, even if they contain links */
h1, h2, h3, h4, h5, h6,
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
  color: #000 !important;
}

/* nav links */
.sidebar a,
.wy-menu a,
.navbar a {
  color: #13979F;
}

div.rendered_html h1 { font-size: 2.0rem; }
div.rendered_html h2 { font-size: 1.6rem; }
div.rendered_html h3 { font-size: 1.3rem; }
div.rendered_html h4 { font-size: 1.1rem; }