.pf-gallery-photos { position: relative; box-sizing: border-box; padding: 90px 0 110px; }
.pf-gallery-photos::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: var(--pf-curve-h); z-index: 2; pointer-events: none; background: var(--wp--preset--color--primary); -webkit-mask: var(--pf-wave-b) center / 100% 100% no-repeat; mask: var(--pf-wave-b) center / 100% 100% no-repeat; }
@media (max-width: 640px) { .pf-gallery-photos { padding: 64px 0 84px; } }
.pf-gallery-photos .pf-lead { max-width: 770px; margin: 0 auto 46px; text-align: center; }
.pf-gallery-photos .pf-lead h2 { margin: 8px 0 20px; }
.pf-gallery-photos .pf-lead p:not(.pf-kicker) { max-width: 710px; margin: auto; font-size: 16px; line-height: 1.85; }
.pf-gallery-photos .pf-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.pf-gallery-photos .pf-photos figure { margin: 0; background: var(--wp--preset--color--base); padding: 9px 9px 19px; box-shadow: 0 5px 20px rgba(0,0,0,.06); }
.pf-gallery-photos .pf-photos img { display: block; width: 100%; aspect-ratio: 1.25; object-fit: cover; object-position: center 32%; }
.pf-gallery-photos .pf-photos figcaption { text-align: center; color: var(--wp--preset--color--primary); font-size: 14px; font-weight: 700; padding-top: 12px; margin: 0; }
.pf-gallery-photos .pf-photos figure:first-child { grid-column: span 2; }
.pf-gallery-photos .pf-photos figure:first-child img { aspect-ratio: 2.62; object-position: center 40%; }
.pf-gallery-photos .pf-photos figure:nth-child(2) img { object-position: center 29%; }
.pf-gallery-photos .pf-photos figure:nth-child(3) img { object-position: center 30%; }
.pf-gallery-photos .pf-photos figure:nth-child(4) img { object-position: center 29%; }
.pf-gallery-photos .pf-photos figure:nth-child(5) img { object-position: center 36%; }
.pf-gallery-photos .pf-photos figure:nth-child(6) img { object-position: center 34%; }
.pf-gallery-photos .pf-photos figure:nth-child(7) img { object-position: center 29%; }
@media (max-width: 800px) { .pf-gallery-photos .pf-photos img { object-position: center 28%; } }
@media (max-width: 640px) { .pf-gallery-photos .pf-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .pf-gallery-photos .pf-photos figcaption { font-size: 12px; } }
