.ocean {
  height: 0%;
  width: 100%;
  position: fixed;
  bottom: 0;
  left: 0;
  pointer-events: none;
}

.wave {
  background: url(/static/wave.svg) repeat-x;
  position: absolute;
  width: 6400px;
  top: -100px;
  left: 0;
  height: 100px;
  transform: translate(0, 0, 0);
  animation: wave 13s ease infinite;
  opacity: 0.1;
}

.wave:nth-of-type(2) {
  top: -66px;
  left: 400px;
  animation: wave 9s ease infinite;
  opacity: 0.125;
}

.wave:nth-of-type(3) {
  top: -33px;
  left: 100px;
  animation: wave 7s ease infinite;
  opacity: 0.15;
}

@keyframes wave {
  0% { margin-left: 0; }
  100% { margin-left: -1600px;}
}

.rotated {
  transform: rotate(180deg) translateY(-5px);
}

@keyframes hire-spin {
  100% {
    transform: rotate(360deg);
  }
}

.hire-spinner {
  width: 2.5rem;
  height: 2.5rem;
  border: 0.35rem solid rgba(255, 255, 255, 0.2);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: hire-spin 0.9s linear infinite;
  display: inline-block;
}

/*
.btn-icon {
  width: 42px;
  height: 42px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}
*/

/*
.btn-icon svg,
.btn-icon i {
  width: 28px;
  height: 28px;
}

*/
.blog-hero {
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025));
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
}

.blog-hero .hero-meta {
  display: flex;
  flex-direction: column;
}

.blog-card {
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.blog-card:hover {
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.25);
}

/*
*/
.card,
.blog-card,
.accordion-button {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.125), rgba(0, 0, 0, 0.1));
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.list-group-item {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0.05));
}

.card img {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.blog-card .card-media {
  border-radius: 1.25rem 1.25rem 0 0;
  overflow: hidden;
  width: 100%;
  height: 120px;
  max-height: 120px;
}

.blog-card .card-media img,
.blog-card .card-media .ratio {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.media-placeholder,
.blog-card .media-embed-soundcloud {
  min-height: 200px;
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/*
.blog-card .card-body {
  border-radius: 0 0 1.25rem 1.25rem;
}

.blog-card .card-meta {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}
*/

/*
.blog-card .card-links .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

*/

.btn-icon:hover {
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15);
}

.mini-blog-card:hover .btn-icon {
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.25);
}


/*
.home-hero img {
  width: 100%;
  height: auto;
  object-fit: cover;
  max-height: none;
}


.media-embed {
  margin-bottom: 2rem;
  border-radius: 1.25rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.post-pagination a {
  padding: 0.5rem 0;
}

*/
.markdown-body h1,
.markdown-body h2,
.markdown-body h3,
.markdown-body h4,
.markdown-body h5,
.markdown-body h6 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.markdown-body p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.markdown-body ul {
  padding-left: 1.2rem;
  margin-bottom: 1rem;
}

.markdown-body blockquote {
  border-left: 4px solid rgba(255, 255, 255, 0.35);
  padding-left: 1rem;
  margin: 1.5rem 0;
  color: rgba(255, 255, 255, 0.85);
  font-style: italic;
}

.markdown-body table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}

.markdown-body th,
.markdown-body td {
  padding: 0.6rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.markdown-body th {
  background: rgba(255, 255, 255, 0.05);
  font-weight: 600;
}

.markdown-body code {
  background: rgba(255, 255, 255, 0.08);
  padding: 0.15rem 0.35rem;
  border-radius: 0.35rem;
  font-size: 0.95em;
  font-family: ui-monospace, "Fira Code", "JetBrains Mono", Menlo, Consolas, monospace;
}

.codehilite code {
  background: none;
  padding: 0rem 0rem;
  font-size: 1em;
  font-family: ui-monospace, "Fira Code", "JetBrains Mono", Menlo, Consolas, monospace;
}

.codehilite {
  margin-bottom: 1rem;
  margin-right: 3rem;
  margin-left: 3rem;
}


pre.code-block {
  background: #0f111a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.75rem;
  padding: 1rem;
  margin-bottom: 1.5rem;
  overflow-x: auto;
}

pre.code-block code {
  font-family: ui-monospace, "Fira Code", "JetBrains Mono", Menlo, Consolas, monospace;
  font-size: 0.95em;
  color: #f5f7ff;
  display: block;
}

pre.code-block .code-kw {
  color: #7ddcfe;
  font-weight: 600;
}

main.container {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)) var(--bs-body-bg);
  border: 1px solid rgba(255, 255, 255, 0.04);
}
/*
@media (max-width: 767px) {
  .blog-hero {
    flex-direction: column;
  }

  .blog-card .card-meta {
    flex-direction: column;
  }
}

*/

.markdown-body .codehilite {
  background-color: var(--bs-body-bg);
  color: var(--bs-body-color);
  border: 1px solid var(--bs-border-color);
  border-radius: var(--bs-border-radius-lg);
  overflow: auto;
}

.markdown-body table {
  margin-bottom: 0rem;
}

.markdown-body pre {
  margin: 0;               /* let .codehilite control outer spacing */
  white-space: pre;         /* or 'pre-wrap' if you want wrapping */
}


:root[data-bs-theme="light"] .markdown-body .codehilite {
  background-color: var(--bs-light-bg-subtle);
}

:root[data-bs-theme="dark"] .markdown-body .codehilite {
  background-color: var(--bs-dark-bg-subtle);
}

:root[data-bs-theme="dark"] {
  --bs-code-color: var(--bs-primary-text-emphasis);
}

:root[data-bs-theme="light"] {
  --bs-code-color: var(--bs-primary);
}

/* .codehilite pre > span:empty { display: none; } */
