/* ========== Layout ========== */
.gnTagList-container {
  box-sizing: border-box;
  width: 100%;
  max-width: 1100px;
  margin: 15px auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 1fr 250px;
  gap: 24px;
}

@media (max-width: 899px) {
  .gnTagList-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 599px) {
  .gnTagList-container {
    display: flex;
    flex-direction: column;
    margin: 10px auto;
    padding-left: 6px;
    padding-right: 6px;
  }
}

/* ========== Cards ========== */
.gnTagList-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: fadeInUp 0.4s ease;
}

.gnTagList-card {
  background: #ffffff;
  padding: 16px;
  border-radius: 12px;
  margin-bottom: 22px;
  border: 1px solid rgba(0,0,0,0.08);
  display: flex;
  gap: 14px;
  align-items: flex-start;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gnTagList-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* Thumbnail */
.gnTagList-thumb {
  flex: 0 0 110px;
  width: 110px;
  height: 75px;
  border-radius: 8px;
  background: #ffc40033;
  color: #003b31;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gnTagList-card > div:not(.gnTagList-thumb) {
  flex: 1 1 auto;
  min-width: 0;
}

.gnTagList-card h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.3;
  color: #000;
}

.gnTagList-card p {
  margin: 8px 0 0;
  color: #333;
  font-size: 14px;
}

.gnTagList-meta {
  font-size: 13px;
  color: #777;
  margin-top: 6px;
}

@keyframes fadeInUp {
  from {opacity: 0; transform: translateY(10px);}
  to {opacity: 1; transform: translateY(0);}
}

/* ========== Sidebar ========== */
.gnTagList-aside {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  padding: 16px;
  border: 1px solid rgba(0,0,0,0.08);
  height: fit-content;
}

.gnTagList-aside h4 {
  margin: 0 0 10px 0;
  font-size: 16px;
  color: #003b31;
}

.gnTagList-aside a {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  color: #000;
  font-size: 14px;
  transition: background 0.2s ease, color 0.2s ease;
}

.gnTagList-aside a:hover {
  background: #003b31;
  color: #ffc400;
}

/* ========== Pagination ========== */
.gnTagList-pagination {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 20px;
}

.gnTagList-btn {
  background: #003b31;
  color: #ffffff;
  border-radius: 8px;
  border: 1px solid #003b31;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s ease;
}

.gnTagList-btn:hover {
  background: #ffc400;
  color: #003b31;
  border-color: #ffc400;
}


/* ========== Mobile tweaks ========== */
@media (max-width: 599px) {
  .gnTagList-card {
    padding: 12px;
    gap: 12px;
    align-items: center;
    margin-bottom: 5px;
    border-radius: 0 10px;
  }

  .gnTagList-thumb {
    flex: 0 0 80px;
    width: 80px;
    height: 60px;
  }

  .gnTagList-card h3 {
    font-size: 15px;
  }

  .gnTagList-card p {
    font-size: 13px;
  }
}

