.about-photo picture {
  display: block;
  width: 100%;
  height: 100%;
}

.cookie-settings-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}

.cookie-settings-button:hover {
  color: var(--text, #f2f2f2);
}

.cookie-consent {
  position: fixed;
  z-index: 1000;
  right: 16px;
  bottom: 16px;
  left: 16px;
  display: grid;
  width: min(calc(100% - 32px), 760px);
  margin-inline: auto;
  padding: 20px;
  border: 1px solid #444;
  border-radius: 4px;
  background: #111;
  box-shadow: 0 18px 48px rgb(0 0 0 / 35%);
  color: #f2f2f2;
  gap: 16px;
}

.cookie-consent[hidden] {
  display: none;
}

.cookie-consent-copy {
  display: grid;
  gap: 7px;
}

.cookie-consent-copy strong {
  font-family: Manrope, system-ui, sans-serif;
  font-size: 18px;
}

.cookie-consent-copy p {
  max-width: 68ch;
  margin: 0;
  color: #c8c8c8;
  font-size: 14px;
  line-height: 1.55;
}

.cookie-consent-actions,
.cookie-dialog-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.consent-button,
.consent-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  border: 1px solid #686868;
  border-radius: 4px;
  background: transparent;
  color: #f2f2f2;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 180ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 180ms cubic-bezier(0.22, 1, 0.36, 1),
    color 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.consent-button:hover,
.consent-link:hover {
  border-color: #f2f2f2;
  background: #f2f2f2;
  color: #141414;
}

.consent-button-primary {
  border-color: #981b1e;
  background: #981b1e;
  color: #fff;
}

.consent-button-primary:hover {
  border-color: #b52327;
  background: #b52327;
  color: #fff;
}

.cookie-dialog {
  width: min(calc(100% - 32px), 590px);
  max-height: min(760px, calc(100dvh - 32px));
  padding: 0;
  overflow: auto;
  border: 1px solid #444;
  border-radius: 4px;
  background: #111;
  color: #f2f2f2;
}

.cookie-dialog::backdrop {
  background: rgb(0 0 0 / 72%);
}

.cookie-dialog-inner {
  display: grid;
  padding: clamp(22px, 5vw, 34px);
  gap: 20px;
}

.cookie-dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.cookie-dialog h2 {
  margin: 0;
  font-family: Manrope, system-ui, sans-serif;
  font-size: clamp(1.7rem, 5vw, 2.45rem);
  line-height: 1.05;
}

.cookie-dialog p {
  margin: 0;
  color: #c8c8c8;
  line-height: 1.6;
}

.cookie-dialog-close {
  display: inline-grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  padding: 0;
  place-items: center;
  border: 1px solid #555;
  border-radius: 4px;
  background: transparent;
  color: #f2f2f2;
  cursor: pointer;
}

.cookie-dialog-close svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.cookie-current-choice {
  padding: 14px 16px;
  border-left: 3px solid #981b1e;
  background: #1a1a1a;
  font-size: 14px;
}

html.cookie-dialog-open {
  overflow: hidden;
}

@media (max-width: 560px) {
  .cookie-consent {
    right: 10px;
    bottom: 10px;
    left: 10px;
    width: calc(100% - 20px);
    padding: 17px;
  }

  .cookie-consent-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cookie-consent-actions .consent-link {
    grid-column: 1 / -1;
  }

  .cookie-dialog-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cookie-dialog-actions .consent-button,
  .cookie-dialog-actions .consent-link {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .consent-button,
  .consent-link {
    transition-duration: 0.01ms !important;
  }
}
