/* Автор Бородин Павел - Первые - firsts.ru */
.firsts-gallery {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px;margin:1rem 0}
.firsts-gallery a {display:flex;flex-direction:column;position:relative;background:#eee;min-width:0;color:#222}
.firsts-gallery img {width:100%;aspect-ratio:3 / 2;object-fit:cover}
.firsts-gallery strong {display:block;padding:.6rem .8rem;background:rgba(194,50,160,.85);color:#fff}
.firsts-gallery-header {display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.firsts-gallery-header a {text-decoration:underline}
@media (max-width:767px) {.firsts-gallery {grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}
@media (max-width:420px) {.firsts-gallery {grid-template-columns:1fr}}
.firsts-gallery a {overflow:hidden}
.firsts-gallery img {aspect-ratio:1 / 1}
.firsts-gallery strong {position:absolute;left:0;right:0;bottom:0}
.firsts-sale-footer {color:#fff; line-height:1.55}
.firsts-sale-footer strong {display:block; color:#a2c614; font-size:1.2rem; margin-bottom:.25rem}
.firsts-sale-footer p,.firsts-sale-contact p {margin:0 0 .25rem}
.firsts-sale-footer a {color:#fff; text-decoration:underline}
.firsts-sale-contact {padding-block:2.75rem; text-align:center}
.firsts-sale-contact a {color:inherit; text-decoration:underline}
