* {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
}
html {
  height: 100%;
}
html,
body {
  padding: 0;
  margin: 0;
}
body {
  background: #fff;
  color: #444;
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  font-weight: lighter;
  margin-bottom: 1em;
}
a {
  text-decoration: none;
}
.clearfix:after {
  content: " ";
  display: block;
  clear: both;
}
.noselect {
  cursor: default;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
#container {
  padding: 2em;
}
header {
  background: #fff;
  color: #444;
  font-size: 1.8em;
  margin-bottom: 1.1em;
}
h1 {
  display: inline-block;
  font-weight: bold;
}
h1 a {
  color: #444;
}
footer {
  color: #666;
  font-size: 0.9em;
  font-style: italic;
  margin-top: 3em;
}
footer a {
  color: #17baef;
}
nav.breadcrumbs {
  border-bottom: 1px solid #ddd;
  font-size: 1.2em;
  margin-bottom: 2em;
  padding: 0em 0em 0.8em 0.1em;
}
nav.breadcrumbs a,
nav span {
  display: inline;
}
nav.breadcrumbs a {
  color: #444;
  text-decoration: none;
}
#albums,
#media {
  margin: 0em;
}
#albums a {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: inline-block;
  overflow: hidden;
  background-size: cover;
}
.caption {
  opacity: 0.7;
}
#albums .summary {
  font-size: 1.2em;
}
#albums h3 {
  font-size: 1.4em;
  margin-bottom: 0.3em;
}
.albumList,
.albumList img {
  cursor: zoom-in;
}
.video-overlay img {
  left: 50%;
  height: 48px;
  margin-left: -24px;
  margin-top: -24px;
  position: absolute;
  top: 50%;
  width: 48px;
}
#lightSlider {
  max-height: 400px;
  min-height: 400px;
}
#lightSlider li {
  height: 100%;
}
#lightSlider img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.lSSlideOuter {
  margin-bottom: 50px;
}
nav.pagination {
  color: #666;
  display: inline-block;
  font-size: 1em;
  margin-top: 2em;
  padding: 0em 0em 0.5em 0em;
}
nav.pagination .page {
  margin-right: 0.2em;
}
nav.pagination .page.current {
  font-weight: bold;
}
nav.pagination a {
  color: #666;
}
#zip {
  color: #666;
  margin-bottom: 2em;
}
#zip a {
  color: #3399ff;
}
/* 1. Fondo general oscuro (gris antracita neutro que no compite con el contraste de las fotos) */
body, html, #content, .flow-container {
  background-color: #121212 !important;
  color: #e0e0e0 !important;
}

/* 2. Cabecera y títulos en blanco roto */
header, .header-title, h1, h2, h3 {
  background-color: #121212 !important;
  color: #f5f5f5 !important;
  border-bottom: 1px solid #222222 !important;
}

/* 3. Textos secundarios, metadatos y enlaces */
a, .album-description, .photo-count, .breadcrumbs, p {
  color: #888888 !important;
  text-decoration: none !important;
}

a:hover {
  color: #ffffff !important;
}

/* 4. Separación limpia entre fotos en el muro continuo */
.flow-item {
  margin-bottom: 3.5rem !important;
}

/* 5. Asegurar que el visor PhotoSwipe mantenga su fondo negro nativo con controles originales */
.pswp__bg {
  background-color: #0d0d0d !important;
  opacity: 0.98 !important;
}

.pswp__button {
  filter: none !important;
}
