
.mayak-pair{display:grid;grid-template-columns:1fr 1fr;gap:var(--gap)}
.mayak-pair figure{min-width:0}.mayak-pair .image-button{height:100%}
.mayak-pair .image-button img{height:100%;aspect-ratio:1.5;object-fit:cover}
.mayak-pair.symbols .image-button img{object-fit:contain;background:#1c3c37}
.mayak-pair.logo-pattern{grid-template-columns:1.35fr 1fr}
.mayak-pair.logo-pattern .image-button img{aspect-ratio:1.6;object-fit:cover}
.mayak-pair.logo-pattern figure:first-child img{object-fit:contain;background:#1c3c37}
.mayak-case .gallery>figure+figure{margin-top:var(--gap)}
.mayak-case .mayak-palette{display:grid;grid-template-columns:2fr 1fr 1fr;margin-top:var(--gap);border:1px solid var(--line);border-radius:5px;overflow:hidden}
.mayak-palette div{padding:24px;display:flex;flex-direction:column;justify-content:space-between;gap:48px;font-size:var(--aux)}
.mayak-palette div:nth-child(1){background:#1c3c37;color:white}.mayak-palette div:nth-child(2){background:#ff5f00;color:#1c3c37}.mayak-palette div:nth-child(3){background:white;color:#1c3c37}
.mayak-case .credits{padding-bottom:var(--section)}
.mayak-viewer[open]{display:flex;flex-direction:column;gap:16px}.mayak-viewer img{width:100%;height:75vh;object-fit:contain;min-height:0;flex:1}.mayak-viewer p{font-size:16px;line-height:1.4;max-width:1000px}.mayak-viewer button{align-self:flex-end;padding:12px 22px;border:1px solid #888;background:transparent;color:#fff;cursor:pointer}
@media(max-width:760px){.mayak-pair,.mayak-pair.logo-pattern{grid-template-columns:1fr}.mayak-pair .image-button img{height:auto;aspect-ratio:auto}.mayak-pair.logo-pattern .image-button img{aspect-ratio:1.6}.mayak-palette div{padding:16px;gap:32px}.mayak-palette{overflow-wrap:anywhere}.mayak-case .masthead h1{max-width:100%}}
