:root {
  --lyf-accent: #087f8c;
  --lyf-accent-soft: rgba(8, 127, 140, .1);
  --lyf-line: rgba(35, 53, 64, .13);
}

html { scroll-padding-top: 74px; }
body { cursor: default; }
a, button, input, textarea, select, [role="button"] { cursor: pointer; }

#page-header.nav-fixed #nav,
#nav.show {
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, .88) !important;
  border-bottom: 1px solid var(--lyf-line);
}
[data-theme="dark"] #page-header.nav-fixed #nav,
[data-theme="dark"] #nav.show {
  background: rgba(18, 22, 26, .88) !important;
}

#recent-posts > .recent-post-item,
.card-widget,
#post,
#page {
  border-radius: 6px !important;
  border: 1px solid var(--lyf-line);
  box-shadow: 0 8px 24px rgba(26, 40, 48, .06) !important;
}

#recent-posts > .recent-post-item {
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
#recent-posts > .recent-post-item:hover {
  border-color: rgba(8, 127, 140, .36);
  box-shadow: 0 12px 30px rgba(26, 40, 48, .1) !important;
}

.post-content {
  font-size: 1rem;
  line-height: 1.85;
}
.post-content p { margin: 0 0 1.2em; }
.post-content img { border-radius: 5px; }
.post-content blockquote {
  border-left: 3px solid var(--lyf-accent);
  background: var(--lyf-accent-soft);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--lyf-accent);
  outline-offset: 3px;
}

@media (max-width: 768px) {
  #recent-posts > .recent-post-item,
  .card-widget,
  #post,
  #page { border-radius: 4px !important; }
  .post-content { font-size: .97rem; line-height: 1.78; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
