.code-board {
  background: #f5f5f5;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  overflow: hidden;
  margin: 2em 0;
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 14px;
}

.code-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f5f5f5;
  padding: 0.5em 1em 0em 1em;
  font-size: 10.5px;
  color: #888;
}


.code-actions {
  font-family: sans-serif;
  font-size: 10.5px;
  color: #bbb;
}

.code-board pre {
  margin: 0;
  padding: 1em;
  overflow-x: auto;
  background-color: #f5f5f5 !important;
  color: #111 !important;
  font-size: 14px;
}



a:link,
a:visited {
  color: black;
  text-decoration: none;
}

a:hover {
  color: blue;
  text-decoration: underline;
}


a:active {
  color: red;
}

.centered-container {
  width: 800px;
  margin: 0 auto;
}

#comment-form {
    width: 780px;
    margin: 0 auto;
    padding: 10px 10px 0 10px;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    align-items: center;
}


.author-button-container {
    display: flex;
    gap: 10px;
    width: 100%;
    margin-bottom: 10px;
    align-items: center;
}

#author {
    flex-grow: 1;
    height: 40px;
    padding: 10px;
    font-size: 14px;
    box-sizing: border-box;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
}

#body {
    width: 100%; 
    height: 100px;
    padding: 10px;
    font-size: 14px;
    resize: vertical;
    box-sizing: border-box;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
}

button[type="submit"] {
    padding: 10px 20px;
    height: 40px;
    font-size: 14px;
    cursor: pointer;
    background-color: #D66D6D;
    color: white;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    box-sizing: border-box;
}


#comments-section {
  align-self: flex-start;
  width: 100%;
}

input, textarea, button {
    font-family: inherit;
    font-size: inherit;
}



.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 20px;
}
.card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.card .date {
  padding: 5px 15px 10px 15px;
  font-size: 14px;
  color: #555;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: bold;
}


#year-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  font-size: 14px;

  padding: 6px 12px;
  border: none;          
  border-radius: 6px;


  background-image: url('data:image/svg+xml;utf8,<svg fill="gray" height="18" viewBox="0 0 24 24" width="18" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 12px;
  padding-right: 30px;

  cursor: pointer;
}