* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #f1eee8;
  --paper: #fffdf9;
  --surface: #f7f2eb;
  --surface-2: #f3eef8;
  --ink: #1e2544;
  --ink-2: #26305a;
  --muted: #4e5676;
  --muted-2: #616987;
  --accent: #4f63b7;
  --accent-2: #8b5ca8;
  --accent-3: #dd736d;
  --line: #d8deef;
  --warm: #efe2cb;
  --white: #ffffff;
  --shadow: 0 18px 42px rgba(54, 64, 114, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top right, rgba(139, 92, 168, 0.08), transparent 26%),
    radial-gradient(circle at left top, rgba(79, 99, 183, 0.08), transparent 30%),
    linear-gradient(180deg, #f3f1eb 0%, #ebe7df 100%);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.page-shell {
  width: min(100%, 1240px);
  min-height: 100vh;
  margin: 0 auto;
  background: var(--paper);
  box-shadow: 0 0 55px rgba(59, 70, 107, 0.14);
  border-left: 1px solid rgba(79, 99, 183, 0.08);
  border-right: 1px solid rgba(79, 99, 183, 0.08);
}

/* =========================
   Header
   ========================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 92px;
  padding: 12px 32px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  background: rgba(255, 253, 249, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(79, 99, 183, 0.12);
}

.site-header::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(79, 99, 183, 0.18) 20%,
    rgba(139, 92, 168, 0.12) 60%,
    rgba(214, 176, 112, 0.18) 80%,
    transparent 100%
  );
}

.header-left {
  grid-column: 1;
  justify-self: start;
  display: flex;
  align-items: center;
}

.company-name {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
}

.company-name .company-blue {
  color: #263f98;
}

.company-name .company-gold {
  color: #d8b070;
}

.header-logo {
  grid-column: 2;
  justify-self: center;
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  background: transparent;
  padding: 0;
}

.header-logo img {
  display: block;
  width: 74px;
  height: 74px;
  object-fit: contain;
  background: transparent;
}

/* Compatibilità con header vecchio */
.brand {
  grid-column: 1;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.9rem;
  font-weight: 700;
}

.brand img {
  width: 68px;
  height: 68px;
  object-fit: contain;
}

.brand span {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.84rem;
  color: var(--ink);
}

.main-nav {
  grid-column: 3;
  justify-self: end;
  align-self: center;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.main-nav a {
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--ink);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width 0.22s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  width: 100%;
}

/* =========================
   Elementi comuni
   ========================= */

.section-label {
  color: var(--accent-2);
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  margin-bottom: 14px;
}

.divider {
  height: 1px;
  background: linear-gradient(90deg, rgba(79, 99, 183, 0.16), rgba(139, 92, 168, 0.16));
  margin: 0 38px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  min-width: 140px;
  padding: 0 22px;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 2px solid var(--accent);
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 14px 28px rgba(79, 99, 183, 0.22);
}

.btn.outline {
  background: rgba(255, 255, 255, 0.7);
  color: var(--accent);
  border-color: rgba(79, 99, 183, 0.42);
}

.btn.outline:hover {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.btn.disabled,
.btn.disabled:hover {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
  box-shadow: none;
  background: var(--muted-2);
  border-color: transparent;
  color: var(--white);
}

.story-text h2,
.projects-section h2,
.document-preview h2,
.contact-section h2,
.download-content h2,
.project-detail-title,
.event-detail-title,
.centered-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.3rem, 4vw, 3.6rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  margin-bottom: 18px;
  color: var(--ink);
}

/* =========================
   Projects section first
   ========================= */

.projects-section {
  padding: 68px 38px 76px;
  background:
    radial-gradient(circle at top right, rgba(139, 92, 168, 0.08), transparent 24%),
    radial-gradient(circle at left bottom, rgba(79, 99, 183, 0.08), transparent 26%),
    linear-gradient(180deg, #fffdf9 0%, #f7f2eb 100%);
}

.projects-heading {
  display: block;
  margin-bottom: 38px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.projects-cta {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.project-card {
  display: block;
  background: var(--white);
  border: 1px solid rgba(79, 99, 183, 0.15);
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(49, 59, 96, 0.06);
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    border-color 0.24s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 42px rgba(49, 59, 96, 0.14);
  border-color: rgba(79, 99, 183, 0.34);
}

.project-card-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: #fbf8f2;
}

.project-card-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.card-base {
  object-fit: cover;
  opacity: 1;
  transition: opacity 0.35s ease, transform 0.35s ease;
  z-index: 1;
}

.card-hover-poster {
  object-fit: contain;
  object-position: center;
  background: #fbf8f2;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity 0.35s ease, transform 0.35s ease;
  z-index: 2;
}

.project-card:hover .card-base,
.project-card:focus-within .card-base {
  opacity: 0;
  transform: scale(1.02);
}

.project-card:hover .card-hover-poster,
.project-card:focus-within .card-hover-poster {
  opacity: 1;
  transform: scale(1);
}

.project-card-content {
  padding: 20px;
}

.project-card-content .section-label {
  margin-bottom: 8px;
}

.project-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.58rem;
  line-height: 1;
  margin-bottom: 12px;
  color: var(--ink);
}

.project-card p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* =========================
   Story section
   ========================= */

.story-section {
  padding: 72px 38px 74px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 54px;
  background: linear-gradient(180deg, #f7f2eb 0%, #f4efe7 100%);
}

.story-text p {
  color: var(--muted);
  font-size: 0.99rem;
  line-height: 1.75;
}

.story-text p + p {
  margin-top: 14px;
}

.story-image {
  background: #1a1e33;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.story-image img {
  width: 100%;
  aspect-ratio: 1.58 / 1;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.story-image:hover img {
  transform: scale(1.02);
}

/* =========================
   Mission
   ========================= */

.mission-section {
  padding: 76px 38px 84px;
  background: var(--paper);
}

.centered {
  text-align: center;
}

.centered-title {
  text-align: center;
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 50px;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}

.mission-grid article {
  padding: 28px;
  background: linear-gradient(180deg, rgba(79, 99, 183, 0.05), rgba(139, 92, 168, 0.06));
  border: 1px solid rgba(79, 99, 183, 0.12);
}

.mission-grid h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
  margin-bottom: 14px;
  color: var(--ink);
}

.mission-grid p {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.7;
}

/* =========================
   Archivio progetti
   ========================= */

.projects-archive-hero {
  padding: 88px 38px 60px;
  max-width: 920px;
  background: var(--paper);
}

.projects-archive-hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 0.94;
  letter-spacing: 0.01em;
  margin-bottom: 20px;
  color: var(--ink);
}

.projects-archive-hero p:not(.section-label) {
  color: var(--muted);
  max-width: 760px;
  line-height: 1.75;
  font-size: 1rem;
}

.projects-archive-section {
  padding: 48px 38px 20px;
  background: var(--paper);
}

.archive-section-heading {
  margin-bottom: 28px;
}

.archive-section-heading h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  line-height: 1;
  color: var(--ink);
}

.archive-grid {
  margin-bottom: 8px;
}

.archive-placeholder {
  min-height: 90px;
  padding: 32px;
  border: 1px dashed rgba(79, 99, 183, 0.25);
  background: linear-gradient(180deg, rgba(79, 99, 183, 0.03), rgba(139, 92, 168, 0.04));
}

.archive-placeholder p {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.75;
}

/* =========================
   Detail pages
   ========================= */

.project-detail-hero,
.event-detail-hero {
  padding: 86px 38px 44px;
  background: var(--paper);
}

.project-detail-layout,
.event-detail-layout {
  padding: 48px 38px 76px;
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 56px;
  background: var(--paper);
  align-items: start;
}

.project-poster,
.event-poster {
  border: 1px solid rgba(79, 99, 183, 0.18);
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
  align-self: start;
}

.project-poster img,
.event-poster img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

.project-meta,
.event-meta {
  display: grid;
  gap: 14px;
  margin: 24px 0 30px;
  padding: 22px 0;
  border-top: 1px solid rgba(79, 99, 183, 0.18);
  border-bottom: 1px solid rgba(79, 99, 183, 0.18);
}

.project-meta p,
.event-meta p {
  color: var(--muted);
}

.project-meta strong,
.event-meta strong {
  display: inline-block;
  min-width: 82px;
  color: var(--ink);
}

.project-description,
.event-description {
  color: var(--muted);
  font-size: 1rem;
  max-width: 640px;
  line-height: 1.75;
}

.project-description p + p,
.event-description p + p {
  margin-top: 16px;
}

.project-trailer {
  margin-top: 36px;
}

.project-trailer-text {
  color: var(--muted);
  margin-bottom: 18px;
  max-width: 580px;
  line-height: 1.7;
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: #141826;
  box-shadow: var(--shadow);
  border: 1px solid rgba(79, 99, 183, 0.18);
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.set-gallery {
  margin-top: 40px;
}

.set-gallery-text {
  color: var(--muted);
  margin-bottom: 18px;
  max-width: 600px;
  line-height: 1.7;
}

.set-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.set-grid img {
  width: 100%;
  aspect-ratio: 1.2 / 1;
  object-fit: cover;
  border: 1px solid rgba(79, 99, 183, 0.16);
  box-shadow: 0 10px 24px rgba(49, 59, 96, 0.08);
}

.back-actions {
  margin-top: 32px;
}

/* =========================
   Documents
   ========================= */

.document-preview {
  margin: 0 38px;
  padding: 58px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  background: linear-gradient(180deg, #fffdf9 0%, #f8f4ee 100%);
  border-top: 1px solid rgba(79, 99, 183, 0.18);
  border-bottom: 1px solid rgba(79, 99, 183, 0.18);
}

.document-preview p {
  max-width: 640px;
  color: var(--muted);
  line-height: 1.7;
}

.documents-hero {
  padding: 88px 38px 72px;
  max-width: 960px;
  background: var(--paper);
}

.documents-hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  text-transform: uppercase;
  font-size: clamp(3rem, 6vw, 5.1rem);
  line-height: 0.92;
  letter-spacing: 0.03em;
  margin-bottom: 24px;
  color: var(--ink);
}

.documents-hero p {
  color: var(--muted);
  max-width: 700px;
  line-height: 1.75;
}

.documents-list {
  padding: 58px 38px 20px;
  display: grid;
  gap: 24px;
  background: var(--paper);
}

.download-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 32px;
  border: 1px solid rgba(79, 99, 183, 0.16);
  background: var(--white);
  box-shadow: 0 12px 28px rgba(49, 59, 96, 0.05);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.download-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(49, 59, 96, 0.12);
  border-color: rgba(79, 99, 183, 0.34);
}

.download-card.featured {
  border: 2px solid rgba(79, 99, 183, 0.26);
}

.file-badge {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.download-content p:not(.section-label) {
  color: var(--muted);
  max-width: 560px;
  line-height: 1.7;
}

.download-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.document-contact {
  margin-top: 50px;
}

/* =========================
   Contact section
   ========================= */

.contact-section {
  margin: 72px 38px;
  padding: 52px 48px;
  background: linear-gradient(135deg, #1f2550 0%, #2f3a78 55%, #6b57b8 100%);
  color: var(--white);
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 44px;
  align-items: center;
  box-shadow: 0 22px 45px rgba(41, 51, 97, 0.22);
}

.contact-section .section-label {
  color: #f2d7ac;
}

.contact-section h2 {
  color: var(--white);
  margin-bottom: 14px;
}

.contact-copy {
  max-width: 520px;
}

.contact-intro {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 460px;
  margin-top: 8px;
}

.contact-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.contact-actions .btn.primary {
  background: var(--white);
  color: #23316b;
  border-color: var(--white);
  box-shadow: 0 14px 28px rgba(20, 26, 55, 0.18);
}

.contact-actions .btn.primary:hover {
  background: #f4f2ff;
  color: #23316b;
}

.contact-actions .btn.outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
}

.contact-actions .btn.outline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.62);
}

.contact-list {
  display: grid;
  gap: 16px;
}

.contact-list p {
  display: grid;
  gap: 4px;
  margin: 0;
}

.contact-list strong {
  color: #f6e1bb;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.contact-list a {
  color: #f8f5ff;
  font-size: 1rem;
  line-height: 1.5;
  word-break: break-word;
}

.contact-list a:hover {
  text-decoration: underline;
}

.site-footer {
  padding: 28px 38px 40px;
  text-align: center;
  color: #6f7084;
  font-size: 0.82rem;
  border-top: 1px solid rgba(79, 99, 183, 0.12);
}

/* =========================
   Tablet
   ========================= */

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr;
    padding: 18px 22px;
    gap: 12px;
    text-align: center;
  }

  .header-left,
  .brand,
  .header-logo,
  .main-nav {
    grid-column: auto;
    justify-self: center;
  }

  .main-nav {
    width: 100%;
    gap: 18px;
    justify-content: center;
    padding-top: 8px;
  }

  .header-logo img {
    width: 58px;
    height: 58px;
  }

  .brand img {
    width: 60px;
    height: 60px;
  }

  .company-name {
    font-size: 1.45rem;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
  }

  .divider {
    margin: 0 24px;
  }

  .projects-section,
  .story-section,
  .mission-section,
  .project-detail-hero,
  .project-detail-layout,
  .event-detail-hero,
  .event-detail-layout,
  .documents-hero,
  .documents-list,
  .projects-archive-hero,
  .projects-archive-section {
    padding-left: 24px;
    padding-right: 24px;
  }

  .story-section,
  .project-detail-layout,
  .event-detail-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .projects-grid,
  .mission-grid,
  .set-grid {
    grid-template-columns: 1fr;
  }

  .document-preview {
    margin: 0 24px;
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .contact-section {
    margin: 56px 24px;
    padding: 34px 24px;
    grid-template-columns: 1fr;
  }

  .contact-copy {
    max-width: 100%;
  }

  .download-card {
    grid-template-columns: 1fr;
  }

  .download-actions {
    justify-content: flex-start;
  }

  .document-preview .btn,
  .download-actions .btn {
    width: auto;
  }
}

/* =========================
   Phone
   ========================= */

@media (max-width: 520px) {
  .site-header {
    padding: 16px 20px;
  }

  .header-logo img {
    width: 52px;
    height: 52px;
  }

  .company-name {
    font-size: 1.2rem;
    justify-content: center;
    gap: 6px;
  }

  .brand img {
    width: 52px;
    height: 52px;
  }

  .brand span {
    font-size: 0.78rem;
  }

  .main-nav {
    gap: 14px;
  }

  .main-nav a {
    font-size: 0.72rem;
  }

  .projects-section,
  .story-section,
  .mission-section,
  .documents-hero,
  .documents-list,
  .project-detail-hero,
  .project-detail-layout,
  .event-detail-hero,
  .event-detail-layout,
  .projects-archive-hero,
  .projects-archive-section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .projects-section h2,
  .story-text h2,
  .document-preview h2,
  .contact-section h2,
  .download-content h2,
  .project-detail-title,
  .event-detail-title {
    font-size: 2.25rem;
  }

  .documents-hero h1,
  .projects-archive-hero h1 {
    font-size: 2.55rem;
    line-height: 0.94;
  }

  .contact-section {
    margin: 48px 20px;
  }

  .contact-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-actions .btn {
    min-width: 160px;
  }

  .btn {
    min-width: 120px;
  }
}
.set-item {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  width: 100%;
}

.set-item img {
  width: 100%;
  aspect-ratio: 1.2 / 1;
  object-fit: cover;
  border: 1px solid rgba(79, 99, 183, 0.16);
  box-shadow: 0 10px 24px rgba(49, 59, 96, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.set-item:hover img {
  transform: scale(1.02);
  box-shadow: 0 16px 30px rgba(49, 59, 96, 0.14);
}

/* Lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.lightbox.open {
  display: block;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 12, 24, 0.86);
  backdrop-filter: blur(4px);
}

.lightbox-content {
  position: relative;
  z-index: 2;
  width: min(92vw, 1200px);
  height: min(88vh, 820px);
  margin: 4vh auto;
  display: grid;
  grid-template-columns: 70px 1fr 70px;
  align-items: center;
}

.lightbox-image-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.lightbox-image-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #111;
}

.lightbox-close {
  position: absolute;
  top: -6px;
  right: 0;
  width: 48px;
  height: 48px;
  border: 0;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: scale(1.04);
}

.lightbox-nav {
  width: 52px;
  height: 52px;
  border: 0;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: scale(1.04);
}

.lightbox-prev {
  justify-self: start;
}

.lightbox-next {
  justify-self: end;
}

body.lightbox-open {
  overflow: hidden;
}

@media (max-width: 700px) {
  .lightbox-content {
    width: 94vw;
    height: 84vh;
    grid-template-columns: 52px 1fr 52px;
  }

  .lightbox-close {
    top: -10px;
    right: 0;
  }

  .lightbox-nav {
    width: 44px;
    height: 44px;
    font-size: 1.9rem;
  }
}