/* ASIDE STYLE */
aside {
  float: left;
  width: 25%;
  padding-left: 20px;
  margin-top: 20px;
  position:relative;
}

a {
  list-style-type: none;
  text-decoration: none;
}

/* Responsive layout - when the screen is less than 800px wide, 
make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 800px) {
  aside {
    width: 100%;
    padding: 0;
  }
}

.fakeimg {
  background-color: #aaa;
  width: 100%;
  padding: 20px;
}

.aside-card {
  background-color: var(--card-color);
  padding: 20px;
  margin-bottom: 20px;
}

/* VERY IMPORTANT FOR CARD APPEARANCE */
/* Clear floats after the columns */
.content:after {
  content: "";
  display: table;
  clear: both;
}

aside .aside-card ul {
  list-style-type: none;
}

aside .aside-card ul li {
  padding: 4px 0;
  transition: transform 0.3s ease;
}

aside .aside-card ul li:hover {
  transform: translateX(10px);
}

aside .aside-card ul li a {
  color: var(--font-color);
  text-decoration: none;
}

aside .aside-card ul li a:hover {
  color: var(--primary-color);
}

.tag-count {
  color: white;
  background-color: var(--secondary-color);
  padding: 0 10px;
  border-radius: 4px;
  font-size: 0.7em;
}

.tags-icon {
  color: var(--primary-color);
  font-size: 0.6em;
}

.profile-card {
  display: flex;
  align-items: center;
  background-color: var(--card-color);
  padding: 20px;
  margin-bottom: 20px;
}
.profile-image img {
  border-radius: 50%;
  width: 100px;
  height: 100px;
  object-fit: cover;
}
.profile-info {
  margin-left: 20px;
}
.profile-info h3 {
  margin: 0;
  font-size: 1em;
  color: var(--font-color);
}
.profile-info p {
  margin: 10px 0;
  color: #666;
}
.profile-social {
  margin-top: 10px;
}
.profile-social a {
  margin: 0 5px;
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}
.profile-social a:hover {
  color: var(--secondary-color);
}


/* Media Query for screens with width less than or equal to 320px */
@media (max-width: 1200px) {
  .profile-card {
    flex-direction: column;
    align-items: center;
  }

  .profile-info {
    margin-left: 0;
    text-align: center;
  }

  .profile-info h3 {
    font-size: 1.2em; /* Adjust font size for smaller screens */
  }

  .profile-social a {
    margin: 5px; /* Adjust margin for better spacing on smaller screens */
  }
}

.monthly-archive .archive-year > a {
  display: flex;
  align-items: center;
  font-weight: bold;
  cursor: pointer;
  margin-bottom: 5px;
}
.monthly-archive .arrow {
  display: inline-block;
  width: 1em;
  margin-right: 5px;
  transition: transform 0.2s ease;
}
.monthly-archive .months-list li a {
  padding-left: 20px;
  display: flex;
  align-items: center;
}
.monthly-archive .tags-icon {
  margin-right: 5px;
}

.see-all-tags-btn {
  display: inline-block;         /* shrink to content, no full width */
  margin: 1rem 0 0 0;            /* space above, flush left */
  padding: 0.6rem 1.2rem;
  background: var(--primary-color, #0073aa);
  color: #fff;
  text-align: center;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}

.see-all-tags-btn:hover {
  background: var(--secondary-color, #005177);
  color: #fff;
}
