/* Albums photographiques de Nazarian Espaces Verts. */
.nev-flickr-section {
  background: #f4f6ef;
  color: #233c2f;
  padding: clamp(2.5rem, 5vw, 4.5rem) 1.25rem;
}
.nev-flickr-shell,
.nev-flickr-compact > div {
  max-width: 72rem;
  margin-inline: auto;
}
.nev-flickr-shell h2 {
  max-width: 25em;
  margin: 0 0 1.45rem;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  font-size: clamp(1.7rem, 3.2vw, 2.7rem);
  line-height: 1.13;
  text-wrap: balance;
  color: #223b2e;
}
.nev-flickr-grid {
  display: grid;
  gap: clamp(.85rem, 2.4vw, 1.35rem);
  grid-template-columns: minmax(0, 1fr);
}
.nev-flickr-grid .nev-flickr-card {
  display: block;
  min-width: 0;
  overflow: hidden;
  color: #21382b;
  background: #fff;
  border: 1px solid #d5dfd1;
  border-radius: .9rem;
  text-decoration: none;
  box-shadow: 0 3px 14px #253c2510;
}
.nev-flickr-card figure { margin: 0; height: 100%; }
.nev-flickr-frame { display: block; overflow: hidden; background: #dce5d8; }
.nev-flickr-grid .nev-flickr-frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  margin: 0;
  object-fit: cover;
  object-position: 50% 45%;
}
.nev-flickr-grid .nev-flickr-card figcaption {
  display: flex;
  min-height: 4.3rem;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .45rem .8rem;
  margin: 0;
  padding: .85rem 1rem 1rem;
  text-align: left;
  font-family: inherit;
  font-style: normal;
  line-height: 1.35;
}
.nev-flickr-card figcaption strong { color: #21382b; font-size: 1rem; font-weight: 700; }
.nev-flickr-open,
.nev-flickr-section .nev-flickr-all {
  color: #355432;
  font-size: .84rem;
  font-weight: 650;
}
.nev-flickr-open { white-space: nowrap; }
.nev-flickr-section .nev-flickr-all { display: inline-block; margin-top: 1.2rem; text-decoration: underline; text-underline-offset: .2em; }
.nev-flickr-card:hover .nev-flickr-open { text-decoration: underline; text-underline-offset: .16em; }
.nev-flickr-grid a:focus-visible { outline: 3px solid #245e42; outline-offset: 3px; }
#chantiers ~ .nev-flickr-grid { margin-block: 1.2rem 1.8rem; }
.nev-flickr-compact {
  background: #f4f6ef;
  color: #243d2f;
  padding: 1.15rem 1.25rem;
}
.nev-flickr-compact > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem 1.25rem;
}
.nev-flickr-compact p { margin: 0; font: 600 1.1rem/1.3 Georgia, serif; }
.nev-flickr-compact .nev-flickr-grid { display: block; }
.nev-flickr-compact .nev-flickr-card { background: transparent; border: 0; box-shadow: none; }
.nev-flickr-compact figure { display: flex; align-items: center; gap: .75rem; }
.nev-flickr-compact .nev-flickr-frame { flex: 0 0 5.5rem; border-radius: .55rem; }
.nev-flickr-compact .nev-flickr-card figcaption { display: grid; min-height: 0; gap: .2rem; padding: .25rem; }
.nev-flickr-compact .nev-flickr-card figcaption strong { font-size: .9rem; }
@media (min-width: 43rem) {
  .nev-flickr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 57rem) {
  .nev-flickr-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .nev-flickr-frame img { transition: transform .35s ease-out; }
  .nev-flickr-card:hover .nev-flickr-frame img { transform: scale(1.025); }
}
