/* ==================================================
   RESET E STILI BASE
================================================== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #1b1c1e;
  color: #fff;
  font-family: 'Merriweather Sans', sans-serif;
  line-height: 1.6;
}

.container {
  max-width: 1100px;
  margin: auto;
}


/* ==================================================
   LINK E TESTO
================================================== */

a {
  position: relative;
  color: #fff;
  text-decoration: none;
  transition:
    color 0.3s ease,
    opacity 0.3s ease;
}

a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: #e63946;
  transition: width 0.3s ease;
}

a:hover {
  color: #e63946;
}

a:hover::after {
  width: 100%;
}

::selection {
  background: #e63946;
  color: #fff;
}

h1,
h2,
h3 {
  font-family: 'Merriweather Sans', sans-serif;
  font-weight: 600;
}


/* ==================================================
   HEADER E LOGO
================================================== */

.header {
  padding: 40px 0 18px;
  background: #000;
  border-bottom: 1px solid #222;
  text-align: center;
}

.header-top {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
}

.logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo img {
  display: block;
  width: 200px;
  height: auto;
  margin: 0 auto 15px;
}


/* ==================================================
   NAVIGAZIONE PRINCIPALE
================================================== */

.nav {
  position: relative;
}

.menu {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 10px 0;
  border-top: 1px solid #222;
  list-style: none;
}

.menu > li {
  position: relative;
}

.menu a,
.submenu-toggle {
  font-family: 'Merriweather Sans', sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  opacity: 0.8;
}

.menu a:hover,
.submenu-toggle:hover {
  opacity: 1;
}


/* ==================================================
   MENU HAMBURGER - BASE DESKTOP
================================================== */

.menu-toggle {
  display: none;
}


/* ==================================================
   PULSANTI POESIAS E POETAS
================================================== */

.submenu-toggle {
  position: relative;
  padding: 0;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  transition:
    color 0.3s ease,
    opacity 0.3s ease;
}

.submenu-toggle:hover {
  color: #fff;
  opacity: 1;
}

.submenu-toggle::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: #e63946;
  transition: width 0.3s ease;
}

.submenu-toggle:hover::before {
  width: 100%;
}


/* ==================================================
   SOTTOMENU DESKTOP
================================================== */

.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 100;
  min-width: 120px;
  padding: 10px;
  background: #000;
  border-top: 2px solid #e63946;
  text-align: left;
  list-style: none;
}

.menu li:hover .submenu {
  display: block;
}

.submenu li {
  padding: 5px 0;
}

.submenu a {
  display: block;
  font-size: 11px;
  white-space: nowrap;
}


/* ==================================================
   VOCE MENU ATTIVA

   TESTO BIANCO
   SOTTOLINEATURA ROSSA
================================================== */

.menu > li.active > a {
  color: #fff;
  opacity: 1;
}

.menu > li.active > a::after {
  width: 100%;
  background: #e63946;
}

.menu > li.active > a:hover,
.menu > li.active > a:focus-visible {
  color: #e63946;
}

.menu > li.active > .submenu-toggle {
  color: #fff;
  opacity: 1;
}

.menu > li.active > .submenu-toggle::before {
  width: 100%;
}


/* ==================================================
   CONTENUTO PRINCIPALE
================================================== */

.article-page {
  padding: 45px 0 75px;
}


/* ==================================================
   BREADCRUMB
================================================== */

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 25px;
  color: #c7c0b5;
  font-size: 0.9rem;
  line-height: 1.6;
}

.breadcrumb a {
  color: #c7c0b5;
}

.breadcrumb a:hover {
  color: #e63946;
}


/* ==================================================
   CONTENITORE ARTICOLO
================================================== */

.article-card {
  padding: 38px;
  background: #232426;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.28);
}


/* ==================================================
   TESTATA DELL'ARTICOLO
================================================== */

.article-header {
  max-width: 860px;
  margin: 0 auto 34px;
  text-align: center;
}


/* ==================================================
   CATEGORIA
================================================== */

.article-category {
  margin-bottom: 16px;
  color: #e63946;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}


/* ==================================================
   TITOLO ARTICOLO
================================================== */

.article-header h1 {
  margin-bottom: 22px;
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 600;
  line-height: 1.17;
}


/* ==================================================
   AUTORE, LUOGO E DATA
================================================== */

.article-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  color: #bfb7aa;
  font-size: 0.92rem;
}

.article-meta strong {
  color: #f4f1ea;
  font-weight: 600;
}

.article-meta span:not(:last-child)::after {
  content: "•";
  margin-left: 15px;
  color: #e63946;
}

/* ==================================================
   IMMAGINE PRINCIPALE - DIMENSIONE STANDARD
================================================== */

.hero-image {
  width: 100%;
  max-width: 600px;
  margin: 38px auto 45px;
  overflow: hidden;
  background: #18191b;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
}

.hero-image img {
  display: block;
  width: 100%;
  height: auto;
}


/* ==================================================
   DIDASCALIE FOTOGRAFICHE
================================================== */

.hero-image figcaption,
.inline-image figcaption,
.gallery-grid figcaption {
  padding: 10px 14px;
  color: #aaa399;
  font-size: 0.82rem;
  line-height: 1.5;
}


/* ==================================================
   CORPO DELL'ARTICOLO
================================================== */

.article-content {
  max-width: 790px;
  margin: auto;
  color: #eee9df;
  font-size: 1.06rem;
  line-height: 1.75;
}

.article-content p {
  margin-bottom: 23px;
}


/* ==================================================
   SOTTOTITOLI NEL TESTO
================================================== */

.article-content h2 {
  margin: 42px 0 18px;
  color: #fff;
  font-size: 1.55rem;
  line-height: 1.3;
}

.article-content h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  margin-top: 9px;
  background: #e63946;
}


/* ==================================================
   CORSIVO NEL TESTO
================================================== */

.article-content em {
  color: #fff;
}


/* ==================================================
   ELENCHI NEL TESTO
================================================== */

.article-content ul,
.article-content ol {
  margin: 0 0 24px 24px;
}

.article-content li {
  margin-bottom: 9px;
}


/* ==================================================
   CITAZIONI

   DA UTILIZZARE SOLO SE PRESENTI
   NELL'ARTICOLO ORIGINALE
================================================== */

.article-content blockquote {
  margin: 36px 0;
  padding: 24px 26px;
  background: rgba(255, 255, 255, 0.045);
  border-left: 4px solid #e63946;
  border-radius: 0 12px 12px 0;
  color: #fff;
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.6;
}


/* ==================================================
   IMMAGINI INSERITE NEL TESTO
================================================== */

.inline-image {
  margin: 36px 0;
  overflow: hidden;
  background: #18191b;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
}

.inline-image img {
  display: block;
  width: 100%;
  height: auto;
}


/* ==================================================
   GALLERIA FOTOGRAFICA

   FACOLTATIVA
================================================== */

.article-gallery {
  max-width: 940px;
  margin: 55px auto 0;
}

.article-gallery h2 {
  margin-bottom: 22px;
  color: #fff;
  font-size: 1.45rem;
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns:
    repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}


/* ==================================================
   SINGOLE FOTOGRAFIE GALLERIA
================================================== */

.gallery-grid figure {
  overflow: hidden;
  background: #18191b;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 14px;
}

.gallery-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-grid figure:hover img {
  transform: scale(1.035);
}


/* ==================================================
   FIRMA DELL'AUTORE

   STILE EDITORIALE
   ALLINEAMENTO A DESTRA

   SENZA RIQUADRI O LINEE DECORATIVE
================================================== */

.article-author {
  max-width: 790px;
  margin: 48px auto 0;
  padding: 0 4px;
  text-align: right;
}

.article-author p {
  margin-bottom: 5px;
  color: #aaa399;
  font-size: 0.78rem;
  font-weight: 400;
  font-style: italic;
  text-transform: none;
  letter-spacing: 0.3px;
}

.article-author h2 {
  margin: 0;
  color: #eee9df;
  font-size: 1.12rem;
  font-weight: 500;
  font-style: italic;
  line-height: 1.5;
  letter-spacing: 0.2px;
}


/* ==================================================
   NAVIGAZIONE FINALE

   TORNA ALL'ARCHIVIO 2026
================================================== */

.article-actions {
  display: flex;
  align-items: center;
  max-width: 790px;
  margin: 42px auto 0;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}


/* ==================================================
   COLLEGAMENTO DI RITORNO

   SENZA SFONDO ROSSO
================================================== */

.article-actions .btn {
  display: inline-flex;
  align-items: center;
  width: auto;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  color: #d9d2c7;
  cursor: pointer;
  font-family: 'Merriweather Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  text-align: left;
  line-height: 1.6;
  transition:
    color 0.3s ease,
    transform 0.3s ease;
}

.article-actions .btn::after {
  display: none;
}

.article-actions .btn:hover,
.article-actions .btn:focus-visible {
  background: transparent;
  color: #e63946;
  transform: translateX(-4px);
}


/* ==================================================
   FOOTER
================================================== */

.site-footer {
  padding: 32px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #aaa;
  font-size: 0.9rem;
  text-align: center;
}


/* ==================================================
   ELEMENTI NASCOSTI
================================================== */

[hidden] {
  display: none !important;
}


/* ==================================================
   RESPONSIVE - TABLET E MOBILE
================================================== */

@media (max-width: 768px) {


  /* ==================================================
     STRUTTURA GENERALE
  ================================================== */

  .container {
    padding: 0 14px;
  }

  .article-page {
    padding: 14px 0 42px;
  }


  /* ==================================================
     HEADER
  ================================================== */

  .header {
    padding: 14px 0 6px;
  }

  .header-top {
    margin-bottom: 4px;
  }

  .logo img {
    width: 122px;
    margin: 0 auto 3px;
  }


  /* ==================================================
     NAVIGAZIONE MOBILE
  ================================================== */

  .nav {
    position: relative;
    min-height: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }


  /* ==================================================
     HAMBURGER
  ================================================== */

  .menu-toggle {
    display: flex;
    width: 32px;
    height: 29px;
    margin: 2px 14px 2px auto;
    padding: 6px;
    flex-direction: column;
    justify-content: space-between;
    background: transparent;
    border: none;
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 19px;
    height: 2px;
    margin-left: auto;
    background: #fff;
    transition: 0.3s;
  }


  /* ==================================================
     MENU MOBILE
  ================================================== */

  .menu {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 0;
    padding: 0;
    border-top: 1px solid #222;
    background: #000;
  }

  .menu.menu-open {
    display: flex;
  }

  .menu > li {
    width: 100%;
    border-bottom: 1px solid #222;
  }

  .menu > li > a,
  .submenu-toggle {
    display: block;
    width: 100%;
    padding: 11px 18px;
    color: #fff;
    text-align: left;
    font-size: 11px;
    letter-spacing: 1.2px;
    opacity: 0.9;
  }


  /* ==================================================
     NOTÌTZIAS ATTIVA SU MOBILE

     TESTO BIANCO
     LINEA ROSSA
  ================================================== */

  .menu > li.active > a {
    color: #fff;
    font-weight: 600;
    opacity: 1;
  }

  .menu > li.active > a:hover,
  .menu > li.active > a:focus-visible {
    color: #e63946;
  }

  .menu > li.active > a::after {
    left: 18px;
    right: auto;
    bottom: 6px;
    width: 66px;
    background: #e63946;
  }


  /* ==================================================
     PULSANTI POESIAS E POETAS
  ================================================== */

  .submenu-toggle {
    position: relative;
    background: transparent;
    border: none;
    font-family: 'Merriweather Sans', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    cursor: pointer;
  }

  .submenu-toggle:hover {
    color: #fff;
  }

  .submenu-toggle::before {
    display: none;
    content: none;
  }

  .submenu-toggle::after {
    content: "+";
    position: absolute;
    right: 18px;
    top: 50%;
    width: auto;
    height: auto;
    background: none;
    color: #e63946;
    font-size: 16px;
    line-height: 1;
    transform: translateY(-50%);
    transition: none;
  }

  .has-submenu.submenu-open > .submenu-toggle::after {
    content: "−";
  }


  /* ==================================================
     SOTTOMENU MOBILE
  ================================================== */

  .menu .has-submenu > .submenu {
    display: none;
    position: static;
    top: auto;
    left: auto;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    background: #111;
    border: none;
    list-style: none;
    text-align: left;
  }

  .menu .has-submenu.submenu-open > .submenu {
    display: block;
  }

  .menu .has-submenu:hover > .submenu {
    display: none;
  }

  .menu .has-submenu.submenu-open:hover > .submenu {
    display: block;
  }

  .menu .submenu li {
    width: 100%;
    margin: 0;
    padding: 0;
    border-top: 1px solid #222;
  }


  /* ==================================================
     VOCI SOTTOMENU
  ================================================== */

  .menu .submenu a {
    position: relative;
    display: block;
    width: 100%;
    padding: 10px 18px 10px 30px;
    color: #fff;
    font-size: 10.5px;
    font-weight: 400;
    line-height: 1.4;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 1.1px;
    opacity: 1;
  }

  .menu .submenu a::after {
    content: "";
    position: absolute;
    left: 30px;
    bottom: 5px;
    width: 0;
    height: 1px;
    background: #e63946;
    transition: width 0.3s ease;
  }

  .menu .submenu a:hover {
    color: #fff;
  }

  .menu .submenu a:hover::after {
    width: calc(100% - 48px);
  }


  /* ==================================================
     ANIMAZIONE HAMBURGER
  ================================================== */

  .menu-toggle.is-open span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
  }

  .menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
  }


  /* ==================================================
     BREADCRUMB MOBILE
  ================================================== */

  .breadcrumb {
    margin: 14px auto 12px;
    gap: 4px;
    font-size: 0.72rem;
    line-height: 1.5;
  }


  /* ==================================================
     CONTENITORE ARTICOLO MOBILE
  ================================================== */

  .article-card {
    padding: 24px 18px;
    border-radius: 13px;
  }


  /* ==================================================
     TESTATA ARTICOLO MOBILE
  ================================================== */

  .article-header {
    margin-bottom: 24px;
  }

  .article-category {
    margin-bottom: 12px;
    font-size: 0.66rem;
    letter-spacing: 1.1px;
  }

  .article-header h1 {
    margin-bottom: 15px;
    font-size: 1.8rem;
    line-height: 1.22;
  }


  /* ==================================================
     AUTORE, LUOGO E DATA MOBILE
  ================================================== */

  .article-meta {
    flex-direction: column;
    gap: 3px;
    font-size: 11px;
    line-height: 1.55;
  }

  .article-meta span:not(:last-child)::after {
    display: none;
  }


  /* ==================================================
     IMMAGINE PRINCIPALE MOBILE
  ================================================== */

.hero-image {
  max-width: 600px;
  margin: 25px auto 29px;
  border-radius: 10px;
}

  .hero-image img {
    width: 100%;
    height: auto;
  }


  /* ==================================================
     DIDASCALIE MOBILE
  ================================================== */

  .hero-image figcaption,
  .inline-image figcaption,
  .gallery-grid figcaption {
    padding: 8px 10px;
    font-size: 10.5px;
    line-height: 1.5;
  }


  /* ==================================================
     TESTO ARTICOLO MOBILE
  ================================================== */

  .article-content {
    font-size: 13.5px;
    line-height: 1.75;
  }

  .article-content p {
    margin-bottom: 17px;
  }


  /* ==================================================
     SOTTOTITOLI MOBILE
  ================================================== */

  .article-content h2 {
    margin: 30px 0 14px;
    font-size: 18px;
    line-height: 1.35;
  }

  .article-content h2::after {
    width: 42px;
    margin-top: 7px;
  }


  /* ==================================================
     ELENCHI MOBILE
  ================================================== */

  .article-content ul,
  .article-content ol {
    margin: 0 0 18px 19px;
  }

  .article-content li {
    margin-bottom: 7px;
  }


  /* ==================================================
     CITAZIONI MOBILE
  ================================================== */

  .article-content blockquote {
    margin: 25px 0;
    padding: 18px 17px;
    border-left-width: 3px;
    border-radius: 0 10px 10px 0;
    font-size: 15px;
    line-height: 1.65;
  }


  /* ==================================================
     IMMAGINI NEL TESTO MOBILE
  ================================================== */

  .inline-image {
    margin: 25px 0;
    border-radius: 10px;
  }

  .inline-image img {
    width: 100%;
    height: auto;
  }


  /* ==================================================
     GALLERIA MOBILE
  ================================================== */

  .article-gallery {
    margin: 36px auto 0;
  }

  .article-gallery h2 {
    margin-bottom: 16px;
    font-size: 17px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .gallery-grid figure {
    border-radius: 10px;
  }

  .gallery-grid img {
    width: 100%;
    aspect-ratio: auto;
    height: auto;
    object-fit: contain;
  }

  .gallery-grid figure:hover img {
    transform: none;
  }


  /* ==================================================
     FIRMA AUTORE MOBILE
  ================================================== */

  .article-author {
    margin: 35px auto 0;
    padding: 0 2px;
    text-align: right;
  }

  .article-author p {
    margin-bottom: 4px;
    font-size: 10.5px;
  }

  .article-author h2 {
    font-size: 15px;
    line-height: 1.5;
  }


  /* ==================================================
     NAVIGAZIONE FINALE MOBILE
  ================================================== */

  .article-actions {
    flex-direction: row;
    margin: 30px auto 0;
    padding-top: 20px;
  }

  .article-actions .btn {
    width: auto;
    padding: 0;
    font-size: 12px;
    text-align: left;
  }


  /* ==================================================
     FOOTER MOBILE
  ================================================== */

  .site-footer {
    padding: 25px 16px;
    font-size: 11.5px;
    line-height: 1.6;
  }

}


/* ==================================================
   RESPONSIVE - SMARTPHONE PICCOLI
================================================== */

@media (max-width: 480px) {

  .container {
    padding: 0 12px;
  }

  .article-page {
    padding: 12px 0 35px;
  }

  .article-card {
    padding: 22px 16px;
  }

  .article-header h1 {
    font-size: 1.65rem;
  }

  .article-content {
    font-size: 13px;
  }

  .article-content h2 {
    font-size: 17px;
  }

  .article-content blockquote {
    padding: 16px 15px;
    font-size: 14px;
  }

  .article-author h2 {
    font-size: 14px;
  }

}


/* ==================================================
   STAMPA DAL BROWSER

   NON SERVE UN PULSANTE DEDICATO
================================================== */

@media print {

  .header,
  .breadcrumb,
  .article-actions,
  .site-footer {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .article-page {
    padding: 0;
  }

  .article-card {
    padding: 0;
    background: #fff;
    border: none;
    border-radius: 0;
    box-shadow: none;
  }

  .article-header h1,
  .article-content,
  .article-content h2,
  .article-content em,
  .article-author h2 {
    color: #000;
  }

  .article-category {
    color: #555;
  }

  .article-meta,
  .article-meta strong,
  .article-content p,
  .hero-image figcaption,
  .inline-image figcaption,
  .gallery-grid figcaption,
  .article-author p {
    color: #333;
  }

  .article-content h2::after {
    background: #777;
  }

  .article-content blockquote {
    background: #f3f3f3;
    border-color: #888;
    color: #000;
  }

  .hero-image,
  .inline-image,
  .gallery-grid figure {
    background: #fff;
    border-color: #ddd;
  }

  .gallery-grid figure {
    break-inside: avoid;
  }

}


/* ==================================================
   LIGHTBOX FOTOGRAFICO - STILI AGGIUNTIVI
   Non modifica le regole precedenti dell'articolo.
================================================== */

.article-gallery .gallery-grid img,
.article-content .inline-image img {
  cursor: zoom-in;
}

.article-gallery .gallery-grid img:focus-visible,
.article-content .inline-image img:focus-visible {
  outline: 3px solid #e63946;
  outline-offset: -3px;
}

.photo-lightbox[hidden] {
  display: none !important;
}

.photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 64px 62px 40px;
  background: rgba(0, 0, 0, 0.94);
  color: #fff;
}

.photo-lightbox__image {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 135px);
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: none;
}

.photo-lightbox__counter {
  font-size: 0.85rem;
  line-height: 1.4;
  color: #e9e9e9;
  text-align: center;
}

.photo-lightbox__control {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  background: rgba(38, 38, 38, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  color: #fff;
  font: inherit;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.photo-lightbox__control:hover,
.photo-lightbox__control:focus-visible {
  background: #e63946;
  color: #fff;
}

.photo-lightbox__control:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.photo-lightbox__close {
  top: 12px;
  right: 14px;
}

.photo-lightbox__prev {
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
}

.photo-lightbox__next {
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
}

.photo-lightbox__control[hidden] {
  display: none !important;
}

@media (max-width: 768px) {
  .photo-lightbox {
    padding: 66px 10px 42px;
  }

  .photo-lightbox__image {
    max-height: calc(100vh - 150px);
  }

  .photo-lightbox__prev { left: 6px; }
  .photo-lightbox__next { right: 6px; }

  .photo-lightbox__prev,
  .photo-lightbox__next {
    top: auto;
    bottom: 7px;
    transform: none;
  }
}

@media print {
  .photo-lightbox { display: none !important; }
}
