body {
  max-width: 1200px;
  margin: auto;
  padding: 2em;
  line-height: 1.75em;
  background-color: #fafafa;
}

/* header and footer areas */
.menu { padding: 0; }
.menu li { display: inline-block; }
.article-meta, .menu a {
  text-decoration: none;
/*  background: #eee; 
  padding: 5px;*/
  border-radius: 5px;
}
.menu, .article-meta, footer { text-align: center; }
.title { font-size: 1.1em; }
footer a { text-decoration: none; }
hr {
  border: 1px solid black;
}

/* code */
pre {
  border: 1px solid #ddd;
  box-shadow: 5px 5px 5px #eee;
  padding: 1em;
  overflow-x: auto;
}
code { background: #f9f9f9; }
pre code { background: none; }

/* misc elements */
img, iframe, video { 
  max-width: 100%; 
  border-radius: 0.5rem;
}
main { 
  hyphens: auto; 
  text-align: justify;
  text-justify: inter-word;
}
blockquote {
  background: #f9f9f9;
  border-left: 5px solid #ccc;
  padding: 3px 1em 3px;
}

table {
  margin: auto;
  border-top: 1px solid #666;
  border-bottom: 1px solid #666;
}
table thead th { border-bottom: 1px solid #ddd; }
th, td { padding: 5px; }
thead, tfoot, tr:nth-child(even) { background: #eee; }



/* Hamburger Menu */

.top-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  color: #000;
  height: 50px;
  padding: 1em;
  width:100%;
}

.menu {
  display: flex;
  flex-direction: row;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.menu > li {
  margin: 0 1rem;
  overflow: hidden;
}

.menu-button-container {
  display: none;
  height: 100%;
  width: 30px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#menu-toggle {
  display: none;
}

.menu-button,
.menu-button::before,
.menu-button::after {
  display: block;
  background-color: #000;
  position: absolute;
  height: 4px;
  width: 30px;
  transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
  border-radius: 2px;
}

.menu-button::before {
  content: '';
  margin-top: -8px;
}

.menu-button::after {
  content: '';
  margin-top: 8px;
}

#menu-toggle:checked + .menu-button-container .menu-button::before {
  margin-top: 0px;
  transform: rotate(405deg);
}

#menu-toggle:checked + .menu-button-container .menu-button {
  background: rgba(0, 0,0 , 0);
}

#menu-toggle:checked + .menu-button-container .menu-button::after {
  margin-top: 0px;
  transform: rotate(-405deg);
}

/* Mobile menu - show hamburger on tablets and below */
@media (max-width: 767px) {
  .menu-button-container {
    display: flex;
  }
  .menu {
    position: absolute;
    top: 0;
    margin-top: 90px;
    left: 0;
    z-index: 99;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    align-items: center;
  }
  #menu-toggle ~ .menu li {
    height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
  }
  #menu-toggle:checked ~ .menu li {
    border: 1px solid #333;
    height: 2.5em;
    padding: 0.5em;
    transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
  }
  .menu > li {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0.5em 0;
    width: 100%;
    color: white;
    background-color: lightgrey;
  }
  .menu > li:not(:last-child) {
    border-bottom: 1px solid #444;
  }
}

/* Tablet and up - hide hamburger menu */
@media (min-width: 768px) {
  .menu-button-container {
    display: none;
  }
  .menu {
    display: flex;
    flex-direction: row;
    position: static;
    margin-top: 0;
  }
  .menu > li {
    display: inline-block;
    margin: 0 1rem;
    padding: 0;
    width: auto;
    color: inherit;
    background-color: transparent;
    border: none;
  }
  .menu > li:not(:last-child) {
    border-bottom: none;
  }
}













/* Custom timeline based on https://www.w3schools.com/howto/howto_css_timeline.asp */


* {
  box-sizing: border-box;
}


/* The actual timeline (the vertical ruler) */
.mytimeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.mytimeline a{
   text-decoration: none;
}

/* The actual timeline (the vertical ruler) */
.mytimeline::after {
  content: '';
  position: absolute;
  width: 6px;
  background-color: black;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
}

/* Container around content */
.timelinecontainer {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}

/* The circles on the timeline */
.timelinecontainer::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 25px;
  right: -17px;
  background-color: white;
  border: 4px solid #FF9F55;
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

/* Place the container to the left */
.timelineleft {
  left: 0;
}

/* Place the container to the right */
.timelineright {
  left: 50%;
}

/* Add arrows to the left container (pointing right) */
.timelineleft::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  right: 30px;
  border: medium solid #f1f1f1;
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent #f1f1f1;
}

/* Add arrows to the right container (pointing left) */
.timelineright::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  left: 30px;
  border: medium solid #f1f1f1;
  border-width: 10px 10px 10px 0;
  border-color: transparent #f1f1f1 transparent transparent;
}

/* Fix the circle for containers on the right side */
.timelineright::after {
  left: -16px;
}

/* The actual content */
.timelinecontent {
  padding: 20px 30px;
  background-color: #f1f1f1;
  position: relative;
  text-align: center;
  border-radius: 6px;
}

.notist_list {
  height: 470px;
}

.frame_notist_list {
  position: absolute; 
  left: 20px; 
  top: 80px; 
  width: 450px; 
  height: 350px; 
  border: 0px;
}

.frame_notist {
  position: absolute; 
  left: 0px; 
  top: 0px; 
  width: 100%; 
  height: 90%; 
  border: 0px;
}

#mainimg {
  width:50%;
  position: relative;
  float:left;
  padding:2em;
}

#maincontent {
  width:50%;
  position: relative;
  float:left;
  padding:2em;
}

.clear {
  content: "";
  clear: both;
  display: table;
}
/* Mobile timeline layout - single column */
@media (max-width: 767px) {
  /* Place the timeline to the left */
  .mytimeline::after {
    left: 31px;
  }

  /* Full-width containers */
  .timelinecontainer {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }

  /* Make sure that all arrows are pointing leftwards */
  .timelinecontainer::before {
    left: 60px;
    border: medium solid #f1f1f1;
    border-width: 10px 10px 10px 0;
    border-color: transparent #f1f1f1 transparent transparent;
  }

  /* Make sure all circles are at the same spot */
  .timelineleft::after, .timelineright::after {
    left: 15px;
  }

  /* Make all right containers behave like the left ones */
  .timelineright {
    left: 0%;
  }
  .icoleft{
    right: 40px; 
  }

  .notist_list {
    height: 370px;
  }
  .frame_notist_list {
    position: absolute; 
    left: 20px; 
    top: 80px; 
    width: 80%; 
    height: 250px; 
    border: 0px;
  } 
  #mainimg {
    width:100%;
  }

  #maincontent {
    width:100%;
  }
}

/* Oembed Iframe hack */
.entry-content iframe {
  width:100%;
}

.timelinecontenttitle {
  font-size: 1.4em;
}

/* flexboxxing site header */

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Header layout for medium screens - wrap menu below title */
@media (max-width: 1100px) and (min-width: 768px) {
  .top-nav {
    display: grid;
    grid-template-areas: 
      "brand hamburger"
      "menu menu";
    grid-template-columns: 1fr auto;
    align-items: center;
    height: auto;
    padding: 1em 1em 0.5em 1em;
    gap: 0.5em 0;
  }
  
  .top-nav > div:first-child {
    grid-area: brand;
  }
  
  .menu-button-container {
    grid-area: hamburger;
    display: flex;
  }
  
  .menu {
    grid-area: menu;
    justify-content: flex-start;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 0;
  }
  
  .menu > li {
    margin: 0 0.5rem 0.5rem 0;
  }
}

.brand{
  color: #1a1a1a;
  font-weight: 700;
  font-size: 28px;
  text-decoration: none;
}

.icoleft{
  position: absolute;
  top: 10px;
  width: 25px; 
  height: 25px; 
  z-index: 10;
}

.icoright{
  position: absolute;
  top: 10px;
  right: 40px; 
  width: 25px; 
  height: 25px; 
  z-index: 10;
}
.social_icons {
  width: 50px;
  height: 50px;
  z-index: 10;
}
.verification-class {
  width: 0px;
  height: 0px;
  z-index: 0;
}

.social-navigation {
    display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;

}
.banner {
  background-color: skyblue;
}

body #widget_home {
display: block;
padding: 10px;
width:80%;
height : 160px;
float: left;
min-height: 1px;
margin-left: 15px;
margin-right: 15px;
margin-bottom: 10px;
margin-top: 10px;
position: relative;
background: #e7e8e9;
overflow: hidden;
-moz-box-shadow: 0 0 5px 5px #888;
-webkit-box-shadow: 0 0 5px 5px#888;
box-shadow: 0 0 5px 5px #888;
border: 2px solid #DEDFD1;
}
body #featured_home {
display: block;
padding: 10px;
width:80%;
height : 260px;
float: left;
min-height: 1px;
margin-left: 15px;
margin-right: 15px;
margin-bottom: 10px;
position: relative;
background: #e7e8e9;
overflow: hidden;
-moz-box-shadow: -5px -5px 5px #888;
-webkit-box-shadow: -5px -5px 5px #888;
box-shadow: -5px -5px 5px #888;
border: 2px solid #DEDFD1;
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  body #widget_home {
    display: block;
    padding: 10px;
    width: 220px;
    height: 160px;
    float: left;
    min-height: 1px;
    margin-left: 15px;
    margin-right: 15px;
    margin-bottom: 10px;
    margin-top: 10px;
    position: relative;
    background: #e7e8e9;
    overflow: hidden;
    -moz-box-shadow: 0 0 5px 5px #888;
    -webkit-box-shadow: 0 0 5px 5px #888;
    box-shadow: 0 0 5px 5px #888;
    border: 2px solid #DEDFD1;
  }
  body #featured_home {
    display: block;
    padding: 10px;
    width: 280px;
    height: 260px;
    float: left;
    min-height: 1px;
    margin-left: 15px;
    margin-right: 15px;
    margin-bottom: 10px;
    position: relative;
    background: #e7e8e9;
    overflow: hidden;
    -moz-box-shadow: -5px -5px 5px #888;
    -webkit-box-shadow: -5px -5px 5px #888;
    box-shadow: -5px -5px 5px #888;
    border: 2px solid #DEDFD1;
  }
}
/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  body #widget_home {
    display: block;
    padding: 20px;
    width: 240px;
    height: 160px;
    float: left;
    min-height: 1px;
    margin-left: 15px;
    margin-right: 15px;
    margin-bottom: 10px;
    margin-top: 10px;
    position: relative;
    background: #e7e8e9;
    overflow: hidden;
    -moz-box-shadow: 0 0 5px 5px #888;
    -webkit-box-shadow: 0 0 5px 5px #888;
    box-shadow: 0 0 5px 5px #888;
    border: 2px solid #DEDFD1;
  }
  body #featured_home {
    display: block;
    padding: 20px;
    width: 330px;
    height: 300px;
    float: left;
    min-height: 1px;
    margin-left: 20px;
    margin-right: 15px;
    margin-bottom: 20px;
    position: relative;
    background: #e7e8e9;
    overflow: hidden;
    -moz-box-shadow: -5px -5px 5px #888;
    -webkit-box-shadow: -5px -5px 5px #888;
    box-shadow: -5px -5px 5px #888;
    border: 2px solid #DEDFD1;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  body {
    padding: 3em;
  }
  
  body #widget_home {
    width: 260px;
    padding: 25px;
  }
  
  body #featured_home {
    width: 330px;
    height: 320px;
    padding: 25px;
  }
}

.clear{
width: 100%;
height: 1px;
margin: 0 0 -1px;
clear: both;
}

.img_gadget {
  max-width: 85%;
  max-height: 200px;
  margin-top: 10px;
}

.gadget_center {
    text-align: center;
}

/* Project section styles */
.project-section-header {
    width: 100%;
    background-color: #f8f9fa;
    border: 2px solid #dee2e6;
    margin: 20px 0;
    padding: 15px 0;
    text-align: center;
    box-shadow: 5px 5px 5px #888;
}

.project-section-title {
    margin: 0;
    color: #495057;
    font-size: 1.5em;
}

.project-links {
    text-align: center;
    margin-top: 10px;
}

/* Image styles for projects */
.project-image-svg {
    width: 90%;
    max-width: 400px;
    height: auto;
}

.project-image-regular {
    max-width: 90%;
    max-height: 400px;
}

.project-list-image-svg {
    width: 85%;
    height: auto;
}

.project-list-image-regular {
    max-width: 100%;
    max-height: 200px;
}

.project-list-image-square {
    width: 180px;
    height: 180px;
}

/* Timeline navigation styles */
.timeline-nav-left {
    float: left;
}

.timeline-nav-right {
    margin-right: 0px;
    float: right;
}

/* OEmbed container styles */
.oembed-container {
    margin: 1rem 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

/* Noti.st specific container sizing */
.oembed-container .frame_notist_list {
    position: relative;
    width: 100%;
    max-width: 450px;
    height: 350px;
    left: 0;
    top: 0;
    margin: 0 auto;
    display: block;
}

.oembed-container .frame_notist {
    position: relative;
    width: 100%;
    max-width: 960px;
    height: 540px;
    left: 0;
    top: 0;
    margin: 0 auto;
    display: block;
}


.oembed-container-auto {
    position: relative;
    padding-bottom: 55.25%;
    height: 0;
    overflow: hidden;
}


/* Event text positioning */
.event-text-overlay {
    display: block;
    position: absolute;
    width: 90%;
    bottom: 5px;
}
#maincontent p:first-of-type {
  margin-top: -2px;
}



/* General Responsive styles */
@media (max-width: 1024px ) {
    body {
        padding: 1em;
    }
}

/* --- Mobile and Tablet specific styles --- */

/* Header and Navigation */
@media (max-width: 767px) {
    .site-header {
        flex-direction: column;
    }
}

/* Main content and layout */
@media (max-width: 767px) {
    #mainimg, #maincontent {
        width: 100%;
        padding: 1em 0;
    }
}

/* Timeline */
@media (max-width: 767px) {
    .mytimeline::after {
        left: 31px;
    }

    .timelinecontainer {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timelinecontainer::before {
        left: 60px;
        border: medium solid #f1f1f1;
        border-width: 10px 10px 10px 0;
        border-color: transparent #f1f1f1 transparent transparent;
    }

    .timelineleft::after, .timelineright::after {
        left: 15px;
    }

    .timelineright {
        left: 0%;
    }
    
    /* Breadcrumb mobile styles */
    .breadcrumb {
        font-size: 0.8rem;
    }
    
    .breadcrumb-separator {
        margin: 0 0.3rem;
    }
    
    .breadcrumb-current {
        max-width: 150px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    /* Navigation mobile styles */
    .nav-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .nav-link {
        padding: 0.75rem;
    }
    
    .nav-title {
        font-size: 0.9rem;
    }
    
    .nav-link-next .nav-title,
    .nav-link-next .nav-date,
    .nav-link-next .nav-event {
        text-align: left;
    }
    
    .nav-link-next .nav-direction {
        justify-content: flex-start;
    }
}

/* Single column layout for very small screens */
@media (max-width: 480px) {
    .prev-next-nav {
        margin: 2rem 0 1rem 0;
    }
    
    .nav-title {
        font-size: 0.85rem;
    }
    
    .nav-direction {
        font-size: 0.75rem;
    }
}

/* Project and Gadget Grids */
.project-grid, .gadget-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.project-card, .gadget-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    background-color: #fff;
    text-align: center;
}

.project-card img, .gadget-card img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 10px;
}

@media (max-width: 767px) {
    .project-grid, .gadget-grid {
        grid-template-columns: 1fr;
    }
}

/* Notice/Admonition Styles */
/* Light theme */
.notice {
    --title-color: #fff;
    --title-background-color: #6be;
    --content-color: #444;
    --content-background-color: #e7f2fa;
}

.notice.info {
    --title-background-color: #fb7;
    --content-background-color: #fec;
}

.notice.tip {
    --title-background-color: #5a5;
    --content-background-color: #efe;
}

.notice.warning {
    --title-background-color: #c33;
    --content-background-color: #fee;
}

/* Dark theme */
@media (prefers-color-scheme:dark) {
    .notice {
        --title-color: #fff;
        --title-background-color: #069;
        --content-color: #ddd;
        --content-background-color: #023;
    }

    .notice.info {
        --title-background-color: #a50;
        --content-background-color: #420;
    }

    .notice.tip {
        --title-background-color: #363;
        --content-background-color: #121;
    }

    .notice.warning {
        --title-background-color: #800;
        --content-background-color: #400;
    }
}

body.dark .notice {
    --title-color: #fff;
    --title-background-color: #069;
    --content-color: #ddd;
    --content-background-color: #023;
}

body.dark .notice.info {
    --title-background-color: #a50;
    --content-background-color: #420;
}

body.dark .notice.tip {
    --title-background-color: #363;
    --content-background-color: #121;
}

body.dark .notice.warning {
    --title-background-color: #800;
    --content-background-color: #400;
}

/* Content */
.notice {
    padding: 18px;
    line-height: 24px;
    margin-bottom: 24px;
    border-radius: 4px;
    color: var(--content-color);
    background: var(--content-background-color);
}

.notice p:last-child {
    margin-bottom: 0
}

/* Title */
.notice-title {
    margin: -18px -18px 12px;
    padding: 4px 18px;
    border-radius: 4px 4px 0 0;
    font-weight: 700;
    color: var(--title-color);
    background: var(--title-background-color);
}

/* Icon */
.icon-notice {
    display: inline-flex;
    align-self: center;
    margin-right: 8px;
}

.icon-notice img,
.icon-notice svg {
    height: 1em;
    width: 1em;
    fill: currentColor;
}

.icon-notice img,
.icon-notice.baseline svg {
    top: .125em;
    position: relative;
}

/* FontAwesome inline SVG */
.inline-svg {
    display: inline-block;
    height: 1em;
    width: 1em;
    vertical-align: -0.125em;
}

.inline-svg svg {
    height: 100%;
    width: 100%;
    fill: currentColor;
}

/* OEmbed Styles */

.oembed-error {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 15px;
    margin: 10px 0;
    text-align: center;
    color: #6c757d;
}

.oembed-error p {
    margin: 0;
    font-size: 0.9rem;
}

.oembed-error a {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.oembed-error a:hover {
    text-decoration: underline;
}

/* Breadcrumb Navigation */
.breadcrumb {
    margin: 1rem 0;
    font-size: 0.9rem;
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-link {
    color: #666;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-link:hover {
    color: #333;
    text-decoration: underline;
}

.breadcrumb-current {
    color: #333;
    font-weight: 500;
}

.breadcrumb-separator {
    margin: 0 0.5rem;
    color: #999;
    user-select: none;
}

/* Previous/Next Navigation */
.prev-next-nav {
    margin: 3rem 0 2rem 0;
    border-top: 1px solid #e1e5e9;
    padding-top: 2rem;
}

.nav-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 100%;
}

.nav-item {
    min-height: 80px;
}

.nav-link {
    display: block;
    padding: 1rem;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.2s ease;
    height: 100%;
    box-sizing: border-box;
}

.nav-link:hover {
    border-color: #666;
    background-color: #f8f9fa;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.nav-direction {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.nav-link-prev .nav-direction {
    justify-content: flex-start;
}

.nav-link-next .nav-direction {
    justify-content: flex-end;
}

.nav-arrow {
    font-size: 1rem;
    margin: 0 0.5rem;
}

.nav-label {
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-title {
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.3;
    margin-bottom: 0.25rem;
}

.nav-link-next .nav-title {
    text-align: right;
}

.nav-date {
    font-size: 0.8rem;
    color: #888;
}

.nav-event {
    font-size: 0.75rem;
    color: #666;
    font-style: italic;
    margin-top: 0.2rem;
}

.nav-link-next .nav-date {
    text-align: right;
}

/* Project Links and Related Timeline Entries Styles */
.related-projects, .related-timeline-entries {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.related-projects h3, .related-timeline-entries h3 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: #495057;
    font-size: 1.2rem;
}

/* Timeline Section Styles */
.timeline-section {
    margin-bottom: 2rem;
}

.timeline-section:last-child {
    margin-bottom: 0;
}

.timeline-section-title {
    margin-top: 0;
    margin-bottom: 1rem;
    color: #343a40;
    font-size: 1.05rem;
    font-weight: 600;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e9ecef;
}

.project-links-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.timeline-entries-grid {
    column-count: auto;
    column-width: 280px;
    column-gap: 1rem;
    margin-top: 1rem;
}

.project-link-item {
    background: white;
    border-radius: 6px;
    border: 1px solid #dee2e6;
    transition: all 0.2s ease;
}

.timeline-entry-card {
    background: white;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    min-height: 120px;
    break-inside: avoid;
    margin-bottom: 1rem;
    width: 100%;
}

.project-link-item:hover, .timeline-entry-card:hover {
    border-color: #007bff;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
    transform: translateY(-2px);
}

.project-link, .timeline-entry-card-link {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    text-decoration: none;
    color: inherit;
    height: 100%;
    justify-content: space-between;
}

.project-link:hover, .timeline-entry-card-link:hover {
    text-decoration: none;
    color: inherit;
}

.project-link strong {
    color: #007bff;
    font-size: 1.1rem;
}

.project-description {
    display: block;
    margin-top: 0.5rem;
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Timeline Card Styles */
.timeline-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    gap: 0.5rem;
    flex-shrink: 0;
}

.timeline-card-date {
    background: #007bff;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.timeline-card-activity {
    background: #f8f9fa;
    color: #495057;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.timeline-card-title {
    color: #212529;
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.3;
    margin-bottom: 0.75rem;
    flex-grow: 1;
}

.timeline-card-event {
    color: #28a745;
    font-size: 0.8rem;
    font-style: italic;
    margin-top: auto;
    flex-shrink: 0;
    line-height: 1.2;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .timeline-entries-grid {
        column-count: 1;
        column-gap: 0;
    }
    
    .timeline-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        margin-bottom: 0.5rem;
    }
    
    .timeline-card-activity {
        align-self: flex-start;
    }
    
    .related-projects, .related-timeline-entries {
        padding: 1rem;
        margin-left: -1rem;
        margin-right: -1rem;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
}

@media (max-width: 480px) {
    .timeline-entries-grid {
        column-gap: 0;
    }
    
    .timeline-entry-card {
        min-height: 100px;
        margin-bottom: 0.75rem;
    }
    
    .timeline-entry-card-link {
        padding: 0.75rem;
    }
    
    .timeline-card-title {
        font-size: 0.85rem;
        line-height: 1.25;
        margin-bottom: 0.5rem;
    }
    
    .timeline-card-date {
        font-size: 0.7rem;
        padding: 0.2rem 0.4rem;
    }
    
    .timeline-card-activity {
        font-size: 0.65rem;
        padding: 0.2rem 0.4rem;
    }
}

/* Work in Progress Notification */
.work-in-progress {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 5px;
    padding: 15px;
    margin: 10px 0;
    color: #856404;
}