/*
  Homepage layout tuned toward hhsandoval.github.io–style (two-column minimal).
  Link blue --pub-link-blue matches paper titles and email.
*/

:root {
  --pub-link-blue: #0f83c6;
}

.wrapper::after {
  content: "";
  display: table;
  clear: both;
}

body.minimal-site {
  font-size: 15px;
  line-height: 1.55;
  color: #3f4a5a;
  padding: 40px 36px 60px;
}

/* Hover bold only where we want it (not global on all <a>) */
.nav-site-link:hover,
.mail-link:hover,
footer.site-footer-minimal a:hover,
.citation-lead-link:hover {
  font-weight: 600;
}

.site-icon-link:hover {
  font-weight: 400;
}

/* Left column — name first, then photo */
header.site-sidebar {
  width: 270px;
}

header.site-sidebar h1.site-name {
  font-size: 2.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #1e293b;
  margin: 0 0 14px;
  line-height: 1.15;
}

.site-photo {
  margin: 0 0 14px;
}

.site-photo img {
  display: block;
  width: 100%;
  max-width: 280px;
  height: auto;
  border-radius: 6px;
}

.site-affil {
  margin: 0 0 8px !important;
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.35;
}

.site-econ-verse {
  margin: 0 0 12px !important;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #334155;
}

.site-econ {
  font-weight: 400;
}

.site-verse-inline {
  color: #64748b;
  font-style: italic;
}

.site-icon-row {
  margin: 0 0 0 !important;
  line-height: 1.2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
}

.site-icon-row .ai {
  font-size: 1.18rem;
}

.site-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.site-icon-orcid {
  color: #a6ce39 !important;
}

.site-icon-orcid:hover {
  color: #8fb82d !important;
}

.site-icon-scholar {
  color: #4285f4 !important;
}

.site-icon-scholar:hover {
  color: #3367d6 !important;
}

.site-icon-github {
  color: #24292f !important;
}

.site-icon-github:hover {
  color: #000 !important;
}

.site-icon-github .github-icon {
  display: block;
  width: 20px;
  height: 20px;
}

.site-icon-linkedin {
  color: #0a66c2 !important;
}

.site-icon-linkedin:hover {
  color: #004182 !important;
}

.site-icon-linkedin .linkedin-icon {
  display: block;
}

.site-email {
  margin: 0.35rem 0 0 !important;
  line-height: 1.25 !important;
}

.mail-link {
  font-size: 0.82rem;
  font-family: ui-monospace, "Cascadia Code", Menlo, Consolas, monospace;
  word-break: break-all;
  color: var(--pub-link-blue);
  text-decoration: none;
}

.mail-link:hover {
  color: #0a6aa8;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Main column — same base size as publication titles */
section.site-main {
  font-size: 15px;
  color: #3f4a5a;
}

section.site-main .site-lead {
  font-size: 15px;
  line-height: 1.55;
}

section.site-main > p:first-of-type {
  margin-top: 0;
}

section.site-main strong {
  color: #1e293b;
}

.home-nav-center {
  text-align: center;
  margin: 1.1rem 0 1.25rem;
  font-size: 15px;
}

.nav-site-link {
  color: #e57373;
  text-decoration: none;
}

.nav-site-link:hover {
  color: #d65a5a;
}

.home-nav-center .nav-sep {
  margin: 0 0.5em;
  color: #cbd5e1;
}

footer.site-footer-minimal {
  position: static !important;
  float: none !important;
  clear: both;
  width: 100%;
  max-width: 860px;
  margin: 2em auto 0;
  padding-top: 1rem;
  border-top: 1px solid #e8e8e8;
}

footer.site-footer-minimal p {
  margin: 0 0 0.5em;
}

footer.site-footer-minimal a {
  color: var(--pub-link-blue);
}

@media print, screen and (max-width: 960px) {
  body.minimal-site {
    padding: 24px 18px 40px;
  }

  header.site-sidebar {
    padding-right: 0;
  }

  header.site-sidebar h1.site-name {
    font-size: 1.75rem;
  }
}
