.compact-header {
  min-height: 78px;
  padding: 12px 4%;
  gap: 24px;
}
.compact-header .brand > img {
  width: 36px;
  height: 42px;
}
.compact-header .brand > span {
  font-size: 30px;
}
.compact-header nav {
  gap: clamp(16px, 2.1vw, 32px);
  font-size: 14px;
}
.compact-header nav > a,
.compact-header .nav-more > summary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  white-space: nowrap;
}
.compact-header nav .sponsor-nav {
  padding: 8px 12px;
}
.compact-header .brand small {
  display: none;
}
.nav-more {
  position: relative;
}
.nav-more > summary {
  list-style: none;
  cursor: pointer;
  gap: 7px;
}
.nav-more > summary::-webkit-details-marker {
  display: none;
}
.nav-more-links {
  position: absolute;
  z-index: 25;
  right: -18px;
  top: calc(100% + 8px);
  display: grid;
  width: 190px;
  padding: 10px 16px;
  border: 1px solid var(--strong-line);
  background: var(--paper);
  box-shadow: 0 10px 25px #10251a1a;
}
.compact-header .nav-more-links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  white-space: nowrap;
}
.five-categories {
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-rows: repeat(2, minmax(215px, 22vw));
  gap: 14px;
}
.five-categories .main-photo {
  grid-column: 1;
  grid-row: 1 / 3;
}
.five-categories .photo > img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.five-categories .photo > span {
  left: 20px;
  right: 20px;
  bottom: 20px;
}
.five-categories .photo b {
  font-size: clamp(24px, 2.6vw, 38px);
}
.login-main {
  display: grid;
  justify-items: center;
  padding: 56px 20px;
}
.login-card {
  width: min(100%, 430px);
}
.login-card h1 {
  font-size: 52px;
  margin-bottom: 12px;
}
.login-card p {
  margin-bottom: 18px;
}
.login-form {
  display: grid;
  gap: 18px;
}
.login-form label {
  display: grid;
  gap: 6px;
  font-weight: 700;
}
.login-form input {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--strong-line);
  background: var(--surface);
  color: var(--ink);
  border-radius: 0;
  font: inherit;
}
.login-card button {
  cursor: pointer;
}
.login-form button:disabled {
  opacity: 0.6;
  cursor: wait;
}
.login-actions {
  display: grid;
  justify-items: start;
  gap: 8px;
  margin-top: 20px;
}
.login-actions button {
  background: transparent;
  border: 0;
  color: inherit;
  min-height: 44px;
  text-decoration: underline;
  text-underline-offset: 4px;
  padding: 4px 0;
  text-align: left;
  font: inherit;
}
#login-status {
  border-left: 3px solid var(--accent-text);
  padding-left: 12px;
  margin: 20px 0;
}
#login-status:empty {
  display: none;
}
@media (max-width: 1040px) {
  .compact-header {
    gap: 16px;
  }
  .compact-header .header-give {
    display: none;
  }
}
@media (min-width: 761px) {
  .compact-header .menu-toggle {
    display: none;
  }
  .compact-header nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: auto;
    order: initial;
    padding: 0;
    gap: clamp(14px, 2vw, 30px);
  }
  .compact-header {
    flex-wrap: nowrap;
  }
  .compact-header .header-actions {
    margin-left: 0;
  }
}
@media (max-width: 960px) {
  .five-categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(3, 240px);
  }
  .five-categories .main-photo {
    grid-column: 1;
    grid-row: 1 / 3;
  }
}
@media (max-width: 760px) {
  .compact-header {
    min-height: 70px;
    padding: 10px 5%;
    gap: 10px;
  }
  .compact-header .header-actions {
    margin-left: auto;
  }
  .compact-header .menu-toggle {
    display: flex;
    order: 3;
    min-height: 44px;
  }
  .compact-header nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    order: 4;
    gap: 4px;
    padding: 6px 0 10px;
    font-size: 15px;
  }
  .compact-header nav.is-open {
    display: flex;
  }
  .nav-more {
    width: 100%;
  }
  .nav-more-links {
    position: static;
    width: 100%;
    border: 0;
    border-left: 1px solid var(--strong-line);
    box-shadow: none;
    margin: 4px 0 0 8px;
  }
}
@media (max-width: 560px) {
  .five-categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 300px 210px 210px;
    gap: 10px;
  }
  .five-categories .main-photo {
    grid-column: 1 / -1;
    grid-row: 1;
  }
  .five-categories .photo > span {
    left: 14px;
    right: 14px;
    bottom: 14px;
    font-size: 8px;
  }
  .five-categories .photo b {
    font-size: clamp(21px, 5.3vw, 29px);
  }
}
