/* ====== Home / Index — compact, clean, tunable ====== */
:root{
  /* knobs */
  --avatar-size: 220px;          /* desktop avatar size */
  --hero-col:   260px;           /* left column width */
  --social-btn: 42px;            /* circle button size */
  --social-ico: 24px;            /* icon (SVG) size inside */
  --social-gap: .65rem;          /* gap between buttons */
  --brand-link: #0f3d99;         /* used in news dot */
}

/* Hero layout: photo column + text */
.md-typeset .hero{
  display: grid;
  grid-template-columns: var(--hero-col) 1fr;
  gap: 1.5rem;
  align-items: start;
  margin: .5rem 0 1rem;
}

/* Left column: stack photo then icons, centered */
.md-typeset .hero-left{
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Avatar (grayscale → color on hover) */
.md-typeset .avatar{
  width: var(--avatar-size);
  height: var(--avatar-size);
  object-fit: cover;
  border-radius: 9999px;
  display: block;
  border: 0;
  background: transparent;
  filter: grayscale(100%);
  transition: filter .25s ease;
}
.md-typeset .avatar:hover,
.md-typeset .hero-left:hover .avatar{ filter: none; }
@media (hover: none){ .md-typeset .avatar{ filter: none; } }

/* Social icons row */
.md-typeset .social{
  margin-top: .6rem;
  display: flex;
  gap: var(--social-gap);
  justify-content: center;
}
.md-typeset .social a.icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--social-btn);
  height: var(--social-btn);
  border-radius: 9999px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: var(--brand-purple, #5b21b6);
  text-decoration: none;
}
/* Ensure inner SVG respects our size (override older rules if any) */
.md-typeset .social a.icon svg,
.md-typeset .social a.icon .md-icon,
.md-typeset .social a.icon .twemoji{
  width: var(--social-ico) !important;
  height: var(--social-ico) !important;
  flex: 0 0 auto;
}
.md-typeset .social a.icon:hover{
  border-color: var(--brand-purple, #5b21b6);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--brand-purple, #5b21b6) 20%, transparent);
}

/* Optional small header above bio, if present */
.md-typeset .hero-right > h3{ margin: 0 0 .25rem 0; }

/* Mobile */
@media (max-width: 680px){
  .md-typeset .hero{ grid-template-columns: 1fr; }
  .md-typeset .social{ justify-content: flex-start; }
  :root{
    --avatar-size: 160px;
    --hero-col: 1fr;
    --social-btn: 46px;
    --social-ico: 26px;
    --social-gap: .55rem;
  }
}

/* ===== News timeline ===== */
.md-typeset .news-timeline{
  list-style: none;
  padding: 0;
  margin: .4rem 0 0 0;
}
.md-typeset .news-timeline li{
  position: relative;
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: .6rem .8rem;
  align-items: start;
  padding: .45rem 0 .55rem 1.1rem;
  border-top: 1px dashed #e5e7eb;
}
.md-typeset .news-timeline li:first-child{
  border-top: 0;
  padding-top: 0;
}
.md-typeset .news-timeline li::before{
  content: "";
  position: absolute;
  left: 0;
  top: .8em;
  width: 8px; height: 8px;
  border-radius: 999px;
  background: var(--brand-link);
}
.md-typeset .news-timeline time{
  font-variant-numeric: tabular-nums;
  color: #6b7280;
  font-size: .9rem;
  line-height: 1.2;
  white-space: nowrap;
}
.md-typeset .news-timeline span{ line-height: 1.35; }
@media (max-width: 680px){
  .md-typeset .news-timeline{ margin-top: .2rem; }
  .md-typeset .news-timeline li{
    grid-template-columns: 1fr;
    padding-left: 1.1rem;
    gap: .35rem;
  }
  .md-typeset .news-timeline time{ font-size: .86rem; }
}




/* --- Slightly smaller text in the hero-right column --- */
.md-typeset .hero-right {
  font-size: 0.75rem;     /* about 10% smaller */
  line-height: 1.55;     /* keep readable spacing */
}
