.teaching-entry{
    background-color: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    padding: 1em;
    margin: 1em;
    transition: background-color 0.2s, box-shadow 0.2s;
    color: var(--text);
    text-decoration: none;
    display: block;
}

.teaching-entry:hover {
    background-color: var(--highlight);
    box-shadow: 0 4px 16px rgba(58,82,196,0.1);
    color: var(--text);
    text-decoration: none;
}


.thumbnail {
    border: 1.5px solid var(--border);
    box-shadow: 2px 2px 8px rgba(0,0,0,0.1);
    border-radius: 10px;
    margin-bottom: 10px;
}




@media (min-width: 450px)
{
.teaching-entry{
  display:flex;
  align-items: flex-start;
}
.thumbnail-wrapper{
  flex-shrink: 0;
  max-width: 25%;
  margin-right: 1.5em;
}
.thumbnail {
  width: 250px;
  max-width: 100%;
}
}


h2.title{
    font-size:115%;
    font-weight: bold;
    color: var(--text);
    font-family: 'EB Garamond', Georgia, serif;
}

.short-description {
  font-style: italic;
  margin-bottom: 0.8em;
  color: var(--muted);
}
.info {
  font-size: 90%;
}

.info ul{
  margin: 0;
  padding: 0;
}

.text-entry {
  margin-left: 2em;
}

.text-entry a{
  color: var(--accent);
}
.text-entry a:hover{
  color: var(--accent-dk);
}

.archive-link{
  margin-top: 2em;
}

@media (max-width: 600px)
{
.teaching-entry {
    margin-right: 1em;
    display: block;
}
.thumbnail-wrapper{
  width: 250px;
  max-width: 80%;
  margin: auto;
  display: block;
}
}
