/* makman.si – photo downloads + Instagram thank-you note */
.mak-dl-all-wrap { margin-top: 6px; text-align: center; }
.mak-dl-all {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 4px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 13px; font-weight: 300;
  letter-spacing: .03em; text-transform: lowercase;
  color: rgba(255,255,255,.6); background: none; border: 0;
  cursor: pointer; transition: color .2s;
}
.mak-dl-all span { border-bottom: 1px solid transparent; transition: border-color .2s; }
.mak-dl-all:hover, .mak-dl-all:focus-visible { color: #fff; outline: none; }
.mak-dl-all:hover span, .mak-dl-all:focus-visible span { border-bottom-color: rgba(255,255,255,.6); }
.mak-dl-all:disabled { cursor: progress; }
.mak-dl-all svg { width: 14px; height: 14px; }

/* lightbox button – sits left of the theme's close button */
#lightbox-img-wrap .mak-dl-one {
  position: fixed; top: 0; right: 48px; z-index: 1004;
  width: 40px; height: 40px; cursor: pointer; opacity: 1; outline: none;
  display: flex; align-items: center; justify-content: center;
}
#lightbox-img-wrap .mak-dl-one:focus-visible .mak-dl-one__circle { box-shadow: 0 0 0 2px #000; }
#lightbox-img-wrap .mak-dl-one .mak-dl-one__circle {
  display: flex; align-items: center; justify-content: center;
  width: 90%; height: 90%;
  border-radius: 50%; background: #fff; color: #000;
  transition: transform .15s;
}
#lightbox-img-wrap .mak-dl-one:hover .mak-dl-one__circle { transform: scale(1.08); }
#lightbox-img-wrap .mak-dl-one svg { width: 17px; height: 17px; }

/* thank-you toast */
.mak-toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 2000;
  display: flex; align-items: center; gap: 4px;
  max-width: calc(100vw - 32px);
  padding: 12px 8px 12px 18px;
  background: #1c1c1c; color: #fff;
  border: 1px solid rgba(255,255,255,.15); border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,.35);
  font-family: sans-serif; font-size: 14px; line-height: 1.4;
  opacity: 0; transform: translate(-50%, 16px); pointer-events: none;
  transition: opacity .3s, transform .3s;
}
.mak-toast.is-visible { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.mak-toast__link { color: #fff; text-decoration: none; }
.mak-toast__link:hover .mak-toast__handle { text-decoration: underline; }
.mak-toast__handle { font-weight: bold; white-space: nowrap; }
.mak-toast__close {
  flex: none; width: 28px; height: 28px; margin-left: 6px;
  border: 0; background: transparent; color: rgba(255,255,255,.6);
  font-size: 20px; line-height: 1; cursor: pointer; border-radius: 50%;
}
.mak-toast__close:hover { color: #fff; background: rgba(255,255,255,.1); }
.mak-dl-all { text-decoration: none; }
.mak-dl-hint {
  max-width: 320px; margin: 6px auto 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 12px; font-weight: 300;
  line-height: 1.4; color: rgba(255,255,255,.45);
}

/* big page titles (project pages + contact) */
.page-header .title {
  font-size: clamp(40px, 10vw, 128px);
  line-height: .95;
  padding-bottom: 0;
}
.page-header .description:empty { display: none; }