/* Layout refinements only — colors stay on the original theme (style.css) */

html {
  scroll-behavior: smooth;
}

#projects,
#experience,
#publications,
#honor {
  scroll-margin-top: 2rem;
}

.section-block {
  padding: 4rem 0;
}

#coolib-aside .coolib-footer {
  display: block !important;
  position: relative;
  bottom: auto;
  margin-top: 2rem;
  padding: 0 1.5rem;
}

.blog-entry {
  margin-bottom: 2rem;
  height: calc(100% - 2rem);
}

.blog-entry .img.img-2 {
  height: 220px;
}

.blog-entry .img.img-3 {
  height: 140px;
  background-size: contain !important;
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.25rem;
}

.social-links {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.social-links a {
  font-size: 1.25rem;
  text-decoration: none;
}

#wrapper {
  width: 100%;
}

#wrapper section.item ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#wrapper section.item ul li {
  padding: 0.85rem 0;
  border-bottom: 1px solid #eee;
  line-height: 1.6;
}

#wrapper section.item ul li:last-child {
  border-bottom: none;
}

.honor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  max-width: 960px;
  margin: 0 auto;
}

.honor-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 1.25rem;
  border: 1px solid #eee;
  border-radius: 4px;
}

.honor-icon {
  flex-shrink: 0;
  font-size: 1.25rem;
  color: #A42D00;
  padding-top: 0.15rem;
}

.honor-text {
  font-weight: bold;
  color: #A42D00;
  line-height: 1.5;
}

.honor-rank {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.9rem;
  font-weight: normal;
  color: #777;
}

@media (max-width: 991.98px) {
  .blog-entry {
    margin-bottom: 1.5rem;
    height: auto;
  }
}
