/* Hide repository link in header */
.md-header__source {
  display: none !important;
}

/* Hero section: photo + intro (home page) */
.hero-section {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.hero-section .hero-photo {
  flex-shrink: 0;
}

.hero-section .hero-photo img {
  width: 220px;
  height: 220px;
  object-fit: contain;
  object-position: center center;
  border-radius: 30%;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.hero-section .hero-content {
  flex: 1;
  min-width: 0;
}

.hero-section .hero-content h1 {
  margin-top: 0;
  margin-bottom: 0.35em;
}

.hero-section .hero-tagline {
  color: var(--md-default-fg-color--light, #666);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

/* Contact strip (icons/links) */
.hero-contact {
  margin-top: 1rem;
}

.hero-contact ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.hero-contact li {
  margin: 0;
}

.hero-contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  color: var(--md-primary-fg-color, #3949ab);
  font-weight: 500;
}

.hero-contact a:hover {
  text-decoration: underline;
}

/* About page: side-by-side profile */
.about-profile {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 2rem;
}

.about-profile .about-photo {
  flex-shrink: 0;
}

.about-profile .about-photo img {
  width: 280px;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.about-profile .about-text {
  flex: 1;
  min-width: 0;
}

.about-profile .about-text h1 {
  margin-top: 0;
}

/* Awards: consistent image styling */
.award-image {
  margin: 0.75rem 0 1rem 0;
}

.award-image img {
  max-width: 100%;
  width: 420px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

/* Section spacing */
.md-typeset .hero-section + hr,
.md-typeset hr + h2 {
  margin-top: 2rem;
}

.md-typeset h2 {
  margin-top: 2.25rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid var(--md-default-fg-color--lightest, #eee);
}
