hr {
  margin: 20px 0;
  border: none;
  border-top: 1px solid #edf2f7;
}
body {
  background-color: #f8fafc;
  color: #4a5568;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  font-size: 1em;
  line-height: 1.5;
  margin: 0 auto 0 auto;
  max-width: 100vw;
  min-width: 100vw;
}
.content {
  max-width: 800px;
  margin: 0 auto 3em auto;
}
a {
  text-decoration: none;
  color: #4d90fe;
}
.topBar {
  background-color: #ffffff;
  border: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  margin: 15px 0;
  list-style-type: none;
}
.topBar img {
  float: left;
  margin: 8px 0px 0px 9px;
  padding-right: 10px;
  width: 28px;
  transition: transform 0.3s ease;
}
.topBar.scrolled img {
  transform: rotate(180deg);
}
.topBar a {
  outline: none;
}
.topBar .topBarLinks {
  margin: 0 auto;
}
.topBar li {
  color: #4a5568;
  display: inline-block;
  padding: 10px 14px;
  transition: all 0.2s ease;
}
.topBar li:hover:not(.social) {
  background-color: #f7fafc;
  color: #4d90fe;
}
.topBar li.social {
  float: right;
  font-size: 1em;
  padding: 10px 5px 10px 5px;
  margin-right: 3px;
}
.topBar li.social span {
  transition: transform 0.2s ease;
}
.topBar li.social:hover span {
  transform: translateY(-2px);
}
.topBar li.current {
  color: #4d90fe;
  border-bottom: 2px solid #4d90fe;
}
.topBar li .fa-twitter {
  color: #00ABF1;
}
.topBar li .fa-rss {
  color: #FD7613;
}
.topBar li .fa-strava {
  color: #ee5d2a;
}
.topBar li .fa-youtube-play {
  color: #DB1A24;
}
.topBar li .fa-bug {
  color: #8AAB1C;
}
.topBar li .fa-linkedin {
  color: #2667bc;
}

.topBar li .fa-github,
.topBar li .fa-stack-overflow {
  color: black;
}
.mainBody {
  background-color: #ffffff;
  padding: 18px 20px 40px 20px;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.mainBody > div {
  padding-top: 0;
}

.blogPost {
  margin-bottom: 60px;
  overflow-wrap: break-word;
  color: #2d3748;
}
.blogPost img,
.blogPost iframe {
  box-shadow: 7px 8px 35px 0px rgba(0, 0, 0, 0.4);
  max-width: 700px;
}
.blogPost table img {
  max-width: 350px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 600;
  line-height: 1.2;
  color: #2d3748;
}
li + li {
  padding: 5px 0;
}
article h1:nth-child(1) {
  margin-top: 20px;
}
h1 {
  font-size: 1.5em;
  line-height: 1.2em;
  margin-top: 1em;
  margin-bottom: 15px;
  padding-bottom: 4px;
  border-bottom: 1px dotted #c8c8c8;
}
h2 {
  font-size: 1.2em;
  padding-top: 10px;
}
.tag,
.yearTag {
  display: inline-block;
  background-color: #f7fafc;
  color: #4a5568;
  padding: 6px 12px;
  margin: 4px;
  text-decoration: none;
  font-size: 0.9em;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease;
}
.tag:hover,
.yearTag:hover {
  background-color: #4d90fe;
  color: white;
  border-color: #4d90fe;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(77, 144, 254, 0.2);
}
.datePosted {
  font-size: 0.75em;
  margin-top: -10px;
  padding-bottom: 10px;
}
.tagContainer {
  -webkit-column-count: 3;
  -moz-column-count: 3;
  column-count: 3;
  margin-top: 25px;
}

.tagContainer.years {
  -webkit-column-count: 3;
  -moz-column-count: 3;
  column-count: 3;
}

.navigationButtons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 40px 0;
}

.navigationButton {
  display: inline-block;
  font-size: 1.1em;
  color: #4d90fe;
  padding: 12px 24px;
  border: 1px solid #4d90fe;
  border-radius: 25px;
  transition: all 0.2s ease;
  background: transparent;
  text-align: center;
}

.navigationButton:hover {
  background-color: #4d90fe;
  color: white;
  box-shadow: 0 2px 8px rgba(77, 144, 254, 0.3);
}

.current {
  border-bottom: 1px solid #4d90fe;
}
input,
textarea {
  background-color: #fff;
  border: 1px solid #ccc;
  color: #808185;
  display: block;
  margin: 5px 0 15px 0;
  padding: 5px;
  width: 200px;
}
input[type="submit"],
textarea[type="submit"],
input[type="button"],
textarea[type="button"] {
  font-size: 0.5em;
}
input[type="submit"]:hover,
textarea[type="submit"]:hover,
input[type="button"]:hover,
textarea[type="button"]:hover {
  background-color: #4d90fe;
  border-bottom: 1px solid #4d90fe;
  color: white;
}
input:not([type="submit"]):not([type="button"]),
textarea:not([type="submit"]):not([type="button"]) {
  color: black;
}
textarea {
  width: 400px;
  height: 100px;
}

@media only screen and (max-width: 443px) {
  .topBarLinks .filters {
    display: none;
  }
}

@media only screen and (max-width: 363px) {
  .topBarLinks .projects{
    display: none;
  }
}

@media only screen and (max-width: 269px) {
  .topBarLinks .running {
    display: none;
  }
}

.image-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: start;
}

.image-item {
  flex: 0 0 50%;
  padding: 5px;
  box-sizing: border-box;
}

.image-item img {
  width: 100%;
  height: auto;
}

.video-thumbnail {
    position: relative;
    display: inline-block;
}
.video-thumbnail img {
    display: block;
}
.video-thumbnail .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    z-index: 1;
}

.blogPostPreviewLink {
  text-decoration: none;
}

.blogPostPreview {
  padding: 20px;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease-in-out;
  position: relative;
  margin-bottom: 24px;
}

.blogPostPreview h1 a {
  color: #4d90fe;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

.blogPostPreview:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: #a0aec0;
}

.blogPostPreview:hover h1 a {
  text-decoration: underline;
}

.blogPostPreview h1 {
  font-size: 1.5em;
  margin-top: 0;
  margin-bottom: 10px;
  transition: color 0.2s ease;
  border-bottom: none;
  padding-bottom: 0;
}

.blogPostPreview .datePosted {
  font-size: 0.75em;
  margin-top: -10px;
  padding-bottom: 10px;
  margin-bottom: 20px;
  border-bottom: 1px dotted #e2e8f0;
}

.blogPostPreview .preview {
  margin: 20px 0;
  color: #4a5568;
  line-height: 1.7;
  font-size: 1.05em;
  overflow: hidden;
}

.blogPostPreview .previewImage {
  float: left;
  max-width: 200px;
  margin: 0 20px 10px 0;
  border-radius: 8px;
}

.previewContainer {
  background-color: #fafbfc;
  padding-top: 3px;
}

.blogPostPreview .readMore a {
  text-decoration: none;
}

.blogPostPreview .readMore span {
  color: #4d90fe;
  font-weight: 500;
  transition: all 0.2s ease-in-out;
  position: relative;
  padding-right: 18px;
}

.blogPostPreview:hover .readMore span {
  color: #2b6cb0;
  text-decoration: underline;
}

.blogPostPreview .readMore span::after {
  content: '→';
}

.allPostsSection {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #edf2f7;
}

.allPostsSection h2 {
    color: #2d3748;
    font-size: 1.5em;
    margin-bottom: 25px;
}

.postList {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 10px;
}

.postListItem {
    display: flex;
    align-items: baseline;
    padding: 10px 0;
    transition: background-color 0.2s ease;
}

.postListItem:hover {
    background-color: #f7fafc;
}

.postListItem .postDate {
    flex-shrink: 0;
    width: 140px;
    color: #718096;
    font-size: 0.9em;
}

.postListItem .postTitle {
    color: #4d90fe;
    font-size: 1.1em;
    text-decoration: none;
    line-height: 1.4;
}

.postListItem .postTitle:hover {
    text-decoration: underline;
}

.viewAllPosts {
    margin-top: 40px;
    margin-bottom: 20px;
    text-align: center;
}

.viewAllLink {
    display: inline-block;
    font-size: 1.1em;
    color: #4d90fe;
    padding: 12px 24px;
    border: 1px solid #4d90fe;
    border-radius: 25px;
    transition: all 0.2s ease;
}

.viewAllLink:hover {
    background-color: #e2e8f0;
}

/* Styles for the all posts page */
.postList {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.postListItem {
    display: flex;
    align-items: baseline;
    padding: 12px 16px;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.postListItem:hover {
    background-color: #f7fafc;
}

.postListItem .postDate {
    flex-shrink: 0;
    width: 140px;
    color: #718096;
    font-size: 0.9em;
}

.postListItem .postTitle {
    color: #4d90fe;
    font-size: 1.1em;
    text-decoration: none;
    line-height: 1.4;
}

.postListItem .postTitle:hover {
    text-decoration: underline;
}

.postInfo {
    flex: 1;
}

.postTags {
    font-size: 0.9em;
    color: #718096;
    margin-left: 5px;
}

.postTags a {
    color: #718096;
    text-decoration: none;
}

.postTags a:hover {
    color: #4d90fe;
    text-decoration: underline;
}

/* For markdown pages (like projects, about, etc.) */
.mainBody > div > h1:first-child,
.mainBody > div > h2:first-child {
  margin-top: 0;
  padding-top: 10px;
}

/* Style the filters page container */
.filtersContainer {
  background-color: #fafbfc;
}

.books-container {
  margin-top: 20px;
}

.book-entry {
  margin-bottom: 20px;
  padding: 0 0 15px 0;
  border-bottom: 1px solid #edf2f7;
}

.book-entry h3 {
  color: #4d90fe;
  margin: 0 0 5px 0;
  font-size: 1.2em;
  border: none;
}

.book-entry h3 a {
  color: #4d90fe;
  text-decoration: none;
}

.book-entry h3 a:hover {
  text-decoration: none;
}

.book-details {
  line-height: 1.4;
}

.book-author {
  color: #2d3748;
  font-size: 1em;
}

.book-meta {
  font-size: 0.9em;
  color: #718096;
  margin-top: 5px;
}

.books-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 20px;
}

.book-card {
  background-color: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 20px;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.book-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.book-card h3 {
  margin-top: 0;
  font-size: 1.1em;
}

.book-card h3 a {
  color: #2d3748;
}

.book-card h3 a:hover {
  color: #4d90fe;
}

.advice-container {
  margin-top: 20px;
}

.advice-entry {
  margin-bottom: 30px;
}

.advice-entry .question {
  font-weight: 600;
  color: #2d3748;
  font-size: 1.1em;
  margin-bottom: 10px;
}

.advice-entry .answer {
  color: #4a5568;
  padding-left: 20px;
  border-left: 2px solid #4d90fe;
}

.socialShare {
  margin-top: 30px;
  padding-top: 20px;
}

.shareLabel {
  color: #4a5568;
  margin-right: 10px;
  font-weight: 500;
}

.shareButtons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.shareButton {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  color: white;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s;
}

.shareButton i {
  margin-right: 8px;
}

.shareButton.twitter {
  background-color: #000000;
  padding: 8px 16px;  /* Same padding on both sides since there's no icon */
}

.shareButton.twitter:hover {
  background-color: #333333;
}

.shareButton.facebook {
  background-color: #1877f2;
}

.shareButton.facebook:hover {
  background-color: #0d65d9;
}

.shareButton.copylink {
  background-color: #4a5568;
}

.shareButton.copylink:hover {
  background-color: #2d3748;
}

.shareButton.copylink.copied {
  background-color: #48bb78;
}

.shareButton.copylink.copied:hover {
  background-color: #48bb78;
}

.shareButton.twitter i {
  font-size: 0.9em;  /* Slightly smaller icon */
  width: 14px;       /* Fixed width to match other icons */
  text-align: center;
}

.shareButton.linkedin {
  background-color: #0077b5;
}

.shareButton.linkedin:hover {
  background-color: #006399;
}

.shareButton.hackernews {
  background-color: #ff6600;
}

.shareButton.hackernews:hover {
  background-color: #e55a00;
}

.shareButton.reddit {
  background-color: #ff4500;
}

.shareButton.reddit:hover {
  background-color: #e63e00;
}

.shareButton.email {
  background-color: #ea4335;
}

.shareButton.email:hover {
  background-color: #d33a2c;
}

@media only screen and (max-width: 600px) {
  .shareButton span.button-text {
    display: none;
  }
  .shareButton {
    padding: 10px !important;
    min-width: 42px;
    justify-content: center;
  }
  .shareButtons {
    justify-content: center;
    gap: 8px;
    row-gap: 8px;
    flex-wrap: wrap;
  }
}

.family-photo {
  float: left;
  margin-right: 20px;
  margin-bottom: 1em;
  border: 1px solid black;
}

@media (max-width: 600px) {
  .family-photo {
    float: none;
    display: block;
    margin: 0 auto 20px auto;
    max-width: 100%;
    height: auto;
  }
}

.social-menu {
  float: right;
  position: relative;
  height: 39px;
  display: flex;
  align-items: center;
  margin-right: 0px;
}

.social-trigger {
  cursor: pointer;
  padding: 10px 14px;
  display: flex;
  align-items: center;
}

.social-trigger .fa-user {
  color: #2d3748;
  font-size: 1em;
  margin-right: 13px;
  display: inline-flex;
  align-items: center;
  height: 16px;
  transition: color 0.2s ease;
}

.social-trigger:hover .fa-user {
  color: #4d90fe;
}

.social-links {
  gap: 15px;
  list-style: none;
  margin: 0;
  padding: 8px 0;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.social-links li a span {
  transition: transform 0.2s ease;
}

.social-links li a:hover span {
  transform: translateY(-2px);
}

.social-links .fa-twitter {
  color: #00ABF1;
}

.social-links .fa-strava {
  color: #ee5d2a;
}

.social-links .fa-github {
  color: black;
}

.social-links .fa-linkedin {
  color: #2667bc;
}

.social-links .fa-stack-overflow {
  color: #f48024;
}

.social-links .fa-instagram {
  color: #e4405f;
}

@media (max-width: 768px) {
  .social-links {
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }
}

.other-container {
    display: grid;
    gap: 20px;
    margin: 30px 0;
    max-width: 700px;
}

.other-entry {
    position: relative;
    display: block;
    margin-bottom: 15px;
    padding: 24px 32px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #edf2f7;
    transition: all 0.2s ease;
}

.other-entry:hover {
    border-color: #4d90fe;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(77, 144, 254, 0.1);
}

.other-entry h3 {
    font-size: 1.3em;
    margin: 0 0 8px 0;
}

.other-entry h3 a {
    color: #4d90fe;
    text-decoration: none;
}

.other-entry a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.other-details {
    color: #718096;
    font-size: 0.95em;
    line-height: 1.5;
}

/* Shared styles for cards across pages */
.card-container {
    margin-top: 20px;
}

.card-entry {
    margin-bottom: 20px;
    padding: 24px 32px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #edf2f7;
    transition: all 0.2s ease;
}

.card-entry:hover {
    border-color: #4d90fe;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(77, 144, 254, 0.1);
}

.card-entry h3 {
    font-size: 1.3em;
    margin: 0 0 8px 0;
    color: #4d90fe;
}

.card-entry h3 a {
    color: #4d90fe;
    text-decoration: none;
    transition: color 0.2s ease;
}

.card-entry h3 a:hover {
    color: #4d90fe;
}

/* Add styling for non-linked titles */
.card-entry h3.no-link {
    color: #2d3748;
}

.card-details {
    color: #718096;
    font-size: 0.95em;
    line-height: 1.5;
}

/* Project specific styles */
.project-entry {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.project-image {
    flex-shrink: 0;
    width: 96px;
    height: 96px;
    object-fit: contain;
}

.project-content {
    flex: 1;
}

.project-links {
    margin-top: 18px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.project-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 32px;
    box-sizing: border-box;
    gap: 5px;
    padding: 5px;
    border-radius: 5px;
    font-size: 0.9em;
    color: white;
    transition: background-color 0.2s ease;
    text-decoration: none;
    background-color: #6b7280;
}

.project-icon-link:hover {
    color: white;
    text-decoration: none;
    background-color: #4b5563;
}

.project-icon-link i {
    font-size: 1.1em;
}

/* Website icon styling */
.project-icon-link[title="Website"] {
    background-color: #10b981;
}

.project-icon-link[title="Website"]:hover {
    background-color: #059669;
}

/* GitHub icon styling */
.project-icon-link[title="GitHub"] {
    background-color: #374151;
}

.project-icon-link[title="GitHub"]:hover {
    background-color: #1f2937;
}

/* Audible icon styling */
.audible-link {
    background-color: #f7931e;
}

.audible-link:hover {
    background-color: #e67e22;
}

/* Interview specific styles */
.interview-entry {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.interview-content {
    flex: 1;
}

.interview-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 8px 0 12px 0;
    font-size: 0.9em;
    color: #6b7280;
}

.interview-date {
    font-weight: 500;
    color: #4a5568;
}

.interview-platform {
    background-color: #f3f4f6;
    color: #374151;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8em;
    font-weight: 500;
}

.interview-channel {
    color: #6b7280;
    font-style: italic;
}

.interview-links {
    margin-top: 18px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.interview-link {
    background-color: #3b82f6;
}

.interview-link:hover {
    background-color: #2563eb;
}

/* Footer styles */
.site-footer {
    background-color: #ffffff;
    border-top: 1px solid #e2e8f0;
    margin-top: 40px;
    padding: 25px 0 15px 0;
    box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.05);
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    padding: 0 20px;
}

.footer-section h4 {
    color: #2d3748;
    font-size: 1em;
    font-weight: 600;
    margin: 0 0 10px 0;
    padding-bottom: 4px;
    border-bottom: 1px solid #4d90fe;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section li {
    margin-bottom: 4px;
}

.footer-section a {
    color: #4a5568;
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 0.85em;
}

.footer-section a:hover {
  color: #4d90fe;
}

.footer-section a i.fa-external-link-alt {
  font-size: 0.8em;
  margin-left: 4px;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.footer-section a:hover i.fa-external-link-alt {
  opacity: 1;
}

.footer-bottom {
    max-width: 800px;
    margin: 0 auto;
    padding: 15px 20px 0 20px;
    border-top: 1px solid #e2e8f0;
    margin-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: #6b7280;
    font-size: 0.8em;
    margin: 0;
}

@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .site-footer {
        padding: 20px 0 10px 0;
        margin-top: 30px;
    }
}

/* Add media query for mobile devices */
@media only screen and (max-width: 600px) {
    .tagContainer, .tagContainer.years {
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2;
    }
    .tag, .yearTag {
        font-size: 0.8em;
        padding: 4px 8px;
    }
}

/* Running page styles */
.running-container {
  max-width: 100%;
}

.runs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.run-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.run-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: #4d90fe;
}

.run-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.run-title {
  margin: 0;
  font-size: 1.1rem;
}

.run-title a {
  color: #2d3748;
  transition: color 0.2s ease;
  font-weight: 600;
}

.run-date {
  font-size: 0.85em;
  color: #718096;
  font-weight: 500;
}

.run-description {
  color: #4a5568;
  margin-bottom: 16px;
  line-height: 1.5;
}

.run-links {
  margin-top: 10px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.run-parts {
  font-weight: 500;
  color: #4a5568;
}

.strava-link {
  background-color: #fc4c02;
}

.strava-link:hover {
  background-color: #e44402;
}

.run-image {
  margin-top: 15px;
}
.run-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.run-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.run-images .run-image img {
  height: 120px;
  width: 100%;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .runs-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .run-card {
    padding: 16px;
  }
  
  .run-title {
    font-size: 1.1em;
  }
}

.filters-link-container {
  margin: 12px 0 8px 0;
  text-align: right;
}

.advanced-filters-link {
  font-size: 0.9em;
  color: #4a5568;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.2s ease-in-out;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
}

.advanced-filters-link:hover {
  color: #4d90fe;
  background-color: #eff6ff;
  border-color: #93c5fd;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.advanced-filters-link i {
  margin-right: 6px;
}

.postList {
  list-style: none;
  padding: 0;
}

.blog-link {
  background-color: #4d90fe;
}
.blog-link:hover {
  background-color: #357ae8;
}

.action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 32px;
  box-sizing: border-box;
  gap: 5px;
  padding: 5px;
  border-radius: 5px;
  font-size: 0.9em;
  color: white;
  transition: background-color 0.2s ease;
  text-decoration: none;
}

.action-link:hover {
  color: white;
  text-decoration: none;
}

.action-link i {
  font-size: 1.1em;
}

.advice-cards-container {
  margin-top: 20px;
}

.advice-card {
  background-color: #f7fafc;
  border-left: 3px solid #4d90fe;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 0 8px 8px 0;
}

.advice-card p {
  margin: 0;
  line-height: 1.6;
}

.website-link {
  background-color: #10b981;
}
.website-link:hover {
  background-color: #059669;
}

.github-link {
  background-color: #374151;
}
.github-link:hover {
  background-color: #1f2937;
}

/* Book-specific styles within project structure */
.book-author {
  color: #6b7280;
  font-size: 0.9em;
  margin-bottom: 4px;
}

.book-meta {
  color: #9ca3af;
  font-size: 0.85em;
  font-style: italic;
}

/* Image optimization styles */
img {
  max-width: 100%;
  height: auto;
  content-visibility: auto;
  contain-intrinsic-size: 0 500px;
}

.previewImage {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  transition: transform 0.2s ease;
  will-change: transform;
}

.previewImage:hover {
  transform: scale(1.02);
}

.blogPost img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
  will-change: transform;
}

.blogPost img:hover {
  transform: scale(1.01);
}

/* Optimize image loading */
img[loading="lazy"] {
  content-visibility: auto;
  contain-intrinsic-size: 0 500px;
}

/* Responsive images */
@media (max-width: 768px) {
  .blogPost img {
    max-width: 100%;
    margin: 10px 0;
  }
  
  .previewImage {
    max-width: 100%;
  }
}
