.anes-home.page {
  max-width: 1080px;
  min-height: 0;
  margin-inline: auto;
  padding-bottom: 56px;
}

.anes-home .home-search-section {
  max-width: 820px;
  margin: 0 auto;
  padding: 64px 0 0;
}

.anes-home h1 {
  margin: 0;
  color: var(--ink);
  font-size:36px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.35;
  text-align: center;
}

.home-title-lockup {
  margin-bottom: 28px;
}

.anes-home .home-search {
  max-width: none;
  margin: 0;
  padding: 0;
}

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

.anes-home .search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 60px;
  padding: 9px 9px 9px 18px;
  border: 1px solid var(--line-strong);
  border-radius:var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.anes-home .search-box:focus-within {
  border-color: var(--blue);
  box-shadow: var(--ring);
}

.anes-home .search-box input {
  min-height: 40px;
  border: 0;
  box-shadow: none;
  font-size:16px;
}

.anes-home .search-box .button {
  flex: none;
  min-width: 88px;
}

.anes-home .home-shortcuts {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 76px 0 40px;
  padding: 0;
}

.home-shortcuts a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
  padding: 18px 18px 20px;
  border: 1px solid var(--line);
  border-radius:var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  color: var(--ink);
  transition: border-color 150ms, color 150ms;
}

.home-shortcuts a:hover {
  border-color: var(--blue);
}

.home-shortcuts a:hover .home-shortcut-label {
  color: var(--blue);
}

.home-shortcut-visual {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
  border-radius:var(--r-md);
  background: var(--blue-soft);
  color: var(--blue);
}

.home-shortcut-visual svg {
  width: 32px;
  height: 32px;
}

.home-shortcut-label {
  color: var(--ink);
  font-size:15px;
  font-weight: 650;
  line-height: 1.45;
}

.home-shortcut-desc {
  color: var(--muted);
  font-size:13px;
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.home-latest {
  max-width: none;
  margin: 0 auto;
  padding: 14px 20px 16px;
  border: 1px solid var(--line);
  border-radius:var(--r-lg);
  background: var(--surface);
}

.home-latest-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 6px;
}

.home-latest-heading h2 {
  color: var(--muted);
  font-size:13px;
  font-weight: 600;
}

.home-latest-heading > a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: var(--blue);
  font-size:13px;
  font-weight: 600;
}

.home-latest-heading > a:hover {
  text-decoration: underline;
}

.home-latest-article {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
  padding: 0;
}

.home-publication-type {
  flex: none;
}

.home-latest-article h3 {
  flex: 0 1 auto;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: var(--ink);
  font-size:15px;
  font-weight: 600;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-latest-article h3 a:hover {
  color: var(--blue);
}

.home-publication-meta {
  display: flex;
  flex: none;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  color: var(--muted);
  font-family: var(--num);
  font-size:13px;
  white-space: nowrap;
}

.anes-home #fulltext-results:not(:empty) {
  margin-top: 28px;
}

.anes-home .search-result:first-child {
  border-top-color: var(--line);
}

@media (max-width: 900px) {
  .anes-home .home-shortcuts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .anes-home.page {
    padding-bottom: 36px;
  }

  .anes-home .home-search-section {
    padding: 36px 0 0;
  }

  .anes-home h1 {
    font-size:28px;
  }

  .home-title-lockup {
    margin-bottom: 20px;
  }

  .anes-home .search-box {
    gap: 6px;
    min-height: 52px;
    padding: 6px 6px 6px 12px;
  }

  .anes-home .search-box input {
    font-size:15px;
  }

  .anes-home .search-box .button {
    min-width: 64px;
  }

  .anes-home .home-shortcuts {
    grid-template-columns: 1fr;
    gap: 0;
    margin: 56px 0 28px;
    border: 1px solid var(--line);
    border-radius:var(--r-lg);
    background: var(--surface);
  }

  .home-shortcuts a {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 14px;
    row-gap: 0;
    align-items: center;
    padding: 14px 16px;
    border: 0;
    border-top: 1px solid var(--line-soft);
    border-radius: 0;
    box-shadow: none;
  }

  .home-shortcuts a:first-child {
    border-top: 0;
    border-top-left-radius: var(--r-lg);
    border-top-right-radius: var(--r-lg);
  }

  .home-shortcuts a:last-child {
    border-bottom-right-radius: var(--r-lg);
    border-bottom-left-radius: var(--r-lg);
  }

  .home-shortcut-visual {
    grid-row: 1 / 3;
    margin-bottom: 0;
  }

  .home-latest {
    padding: 12px 16px 14px;
  }

  .home-latest-article {
    flex-wrap: wrap;
  }

  .home-latest-article h3 {
    flex: 1 1 70%;
    white-space: normal;
  }

  .home-publication-meta {
    display: none;
  }
}
