.container {
  max-width: 850px;
  padding-left: 10px;
  padding-right: 10px;
}

@media (max-width: 640px) {
  .post {
    flex-direction: column;
    align-items: stretch;
  }

  .hero {
    flex-direction: column;
  }

  .avatar {
    width: 60%;
  }

  .post-link {
    flex-direction: column;
  }

  .post-thumb {
    width: 75% !important;         /* let image scale to container */
    height: auto !important;
    max-height: 150px !important;        /* remove fixed height */
  }
}

.hero {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 0rem;
}

.hero-description {
  text-align: justify;
}

.hero-title {
  padding-top: 20px;
  font-weight: bold;
  font-variant-caps: small-caps;
}

.hero-links {
  font-size: 16px;
}


.hero-title::after {
  content: "";
  display: block;
  height: 3px;
  width: 40px;
  margin-top: 0.15rem;
  background-color: rgba(124,0,255,0.72);
  border-radius: 2px;
}

.hero img {
  border-radius: 6px;
  flex-shrink: 0;       /* prevents image from collapsing */
  width: 800px;
}

body {
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.6;
  background: #FAFAF7;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Inter Tight", system-ui, sans-serif;
  font-weight: 600;   /* or 700 for h1 only */
  letter-spacing: -0.00em;
} 

.post {
  margin-top: 0.5em;
  display: relative;
  gap: 1em;
  align-items: center;
  background: rgba(0,0,0,0.000);              /* whisper of contrast */
  border: 1px solid rgba(0,0,0,0.000);         /* soft edge */
  transition: background 120ms ease,
              border-color 120ms ease,
              box-shadow 120ms ease,
              transform 120ms ease;
}

.post a p {
  --pico-color: var(--pico-color-text); /* reset link text color */
  --pico-underline: transparent;        /* remove link underline color */
  color: var(--pico-color-text) !important;
}


.post-link {
  display: flex;
  gap: 1em;
  align-items: center;
  text-decoration: none;
  width: 100%;
  height: 100%;
  color: inherit !important;
}


.post-link:hover .post-title {
  text-decoration: underline;
}


.post:hover {
  background: rgba(0,0,0,0.04);               /* subtle pop */
  border-color: rgba(0,0,0,0.12);
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);     /* lift */
  transform: translateY(-1px);                /* micro-elevation */
}

.post-thumb {
  width: 80px;
  height: 80px;                               /* keeps it tidy */
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}


.post-title {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  //font-weight: bold;
  font-style: italic;
  padding-right: 10px;
}

.post-preview {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  text-align: justify;
  padding-right: 10px;
}

.pub-list {
  margin-top: 0.5rem;
  padding-left: 1.2rem;
  border-left: 2px solid rgba(0,0,0,0.1);
  text-align: justify;
}

.pub-list li {
  margin: 0.4rem 1rem;
  line-height: 1.45;
  font-size: 16px;
}

/* Hide default HR style and make it soft */
.fancy-divider {
  border: none;
  border-top: 1px solid var(--pico-muted-border-color, #ddd);
  margin: 3rem 0 1.5rem 0;
}

/* Center the GIF */
.divider-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;           /* spacing between line and glyph */
  margin: 0rem 0;      /* spacing above/below divider */
}

/* Make the GIF small and subtle */
.divider-icon img {
  width: 24px;
  height: 24px;
  opacity: 0.7;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: var(--pico-muted-border-color, #ddd); /* uses Pico vars if available */
}
