.internal-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.internal-page main {
  flex: 1;
}

.internal-videos h1 {
  font-size: 48px;
  line-height: 1.1;
}

.login-form {
  width: 100%;
  max-width: 400px;
}

.login-form h2 {
  margin-bottom: 24px;
  font-size: 24px;
  line-height: 1.25;
}

.login-field {
  margin-bottom: 20px;
}

.login-field label {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 700;
}

.login-field input {
  display: block;
  width: 100%;
  min-width: 0;
  height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.login-field input:focus-visible,
.logout-button:focus-visible {
  outline: 2px solid var(--accent-dark);
  outline-offset: 3px;
}

.login-form .button {
  width: 100%;
  border: 1px solid var(--accent-dark);
  background: var(--accent-dark);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.login-form .button:hover {
  background: #1e2b21;
}

.login-error {
  padding: 12px 14px;
  border-left: 3px solid #9b3131;
  background: #faeeee;
  color: #7a2020;
}

.internal-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}

.internal-heading h1 {
  margin: 0;
}

.logout-button {
  min-height: 44px;
  padding: 8px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--accent-dark);
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.video-entry {
  max-width: 640px;
}

.video-entry h2 {
  margin-bottom: 8px;
  font-size: 24px;
  line-height: 1.25;
}

.video-meta {
  margin-bottom: 18px;
  color: var(--muted);
}

.video-entry video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 20 / 11;
  object-fit: contain;
  background: #000;
}

@media (max-width: 560px) {
  .internal-videos h1 {
    font-size: 32px;
  }
}
