.offer-photo{display:grid;grid-template-columns:minmax(0,1fr);position:relative;isolation:isolate;aspect-ratio:1.3;overflow:hidden;background:#e6d7d3;border-radius:26px 4px 26px 4px;margin-bottom:24px}
.offer-photo-frame{position:relative;min-width:0;min-height:0;overflow:hidden}
.offer-photo-frame img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .65s cubic-bezier(.2,.65,.2,1)}
.offer-photo--pair{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}
.offer-photo--pair .offer-photo-frame:nth-child(2){border-top-left-radius:34px;border-bottom-right-radius:22px}
.offer-photo--home{height:100%;aspect-ratio:auto;margin:0;border-radius:inherit}
.course-image .offer-photo-frame img{height:100%;width:100%}
.offer-panel .offer-photo{width:calc(100% + 18px);margin:-9px -9px 24px}
@media(hover:hover){.offer-panel:hover .offer-photo-frame img,.course-image:hover .offer-photo-frame img{transform:scale(1.035)}}
@media(max-width:650px){.offer-panel .offer-photo{width:calc(100% + 14px);margin:-7px -7px 22px}.offer-photo{aspect-ratio:1.15}.offer-photo--home{aspect-ratio:auto}.offer-photo--pair{gap:4px}}
@media(prefers-reduced-motion:reduce){.offer-photo-frame img{transition:none}.offer-panel:hover .offer-photo-frame img,.course-image:hover .offer-photo-frame img{transform:none}}
