
.em{color:#202934;font:1.03rem/1.65 system-ui,sans-serif}
.em section{padding:clamp(1.3rem,4vw,3.2rem) 0;border-bottom:1px solid #d8dcde}
.em h1,.em h2,.em h3{line-height:1.13;letter-spacing:-.025em;text-wrap:balance}
.em h1,.em h2{font-family:Georgia,serif;font-weight:normal}
.em h1{font-size:clamp(2.2rem,4.5vw,4rem)}.em h2{font-size:clamp(1.65rem,3.1vw,2.75rem)}
.em a{color:#235265;text-underline-offset:.22em}.em .cta,.em button{display:inline-block;background:#213f4a;color:white;padding:.75rem 1.25rem;border:0;border-radius:.2rem;font:inherit;cursor:pointer}
.em img{max-width:100%;height:auto;display:block}
.em .grid,.em .gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,15rem),1fr));gap:1.25rem}
.em .grid article{padding:0 0 1rem}.em .grid img,.em .gallery img{width:100%;aspect-ratio:4/3;object-fit:cover}
.em #introduction-1{display:grid;grid-template-columns:1.05fr 1fr;align-items:center;gap:2rem}
.em #introduction-1 img{width:100%;border-radius:.3rem}
.em .brief,.em form{padding:clamp(1.2rem,4vw,3rem);background:#edf2f2;margin:1.5rem 0}
.em p{max-width:69ch}.em summary{cursor:pointer;font-weight:600}.em details{padding:1rem 0;border-bottom:1px solid #d8dcde}
.em .service>img{width:min(100%,32rem);max-height:24rem;object-fit:contain;background:#f3f4f3}
.em form label{display:block;margin:1rem 0}.em input,.em textarea{display:block;width:100%;padding:.7rem;font:inherit;box-sizing:border-box;border:1px solid #78858b;border-radius:.2rem}.em #rezultat{margin-top:1rem}
@media(max-width:700px){.em #introduction-1{grid-template-columns:1fr;gap:1rem}.em .gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}

.em .gallery figure{margin:0;min-width:0}.em .gallery figcaption{margin:.45rem 0 .9rem;font-size:.94rem;line-height:1.35}.em .gallery a{display:block}.em .gallery img{border-radius:.25rem}

.em .examples .gallery{grid-template-columns:repeat(2,minmax(0,1fr));max-width:54rem}
.em .examples img{object-fit:contain;background:#f2f1ee}
.em .service>img{float:right;margin:0 0 1.2rem 2rem;width:38%;max-height:19rem}
.em .service:after{content:"";display:block;clear:both}
.em .service>section{clear:both}
.em .service>h2{margin-top:0}
.em .service>img:not(:first-child){clear:right}
.em .brief{border-left:4px solid #618293;border-radius:3px}
.em .brief a.cta{margin-top:.4rem}
@media(max-width:700px){.em .service>img{float:none;width:100%;height:14rem;margin:0 0 1rem}.em .examples .gallery{grid-template-columns:1fr}.em .brief,.em form{margin-inline:0}.em a{overflow-wrap:anywhere}}

/* Dwie ilustracje usługowe w szkicu haftu, także po opakowaniu zdjęcia w akapit przez WordPress. */
.em-haft .em .service {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas: "tytul czapki" "opis opisczapki" "foto fotoczapki" "film film";
  gap: .75rem clamp(1rem, 3vw, 2rem);
  align-items: start;
}
.em-haft .em .service::after { display: none; }
.em-haft .em .service > img, .em-haft .em .service > p { grid-area: fotoczapki; }
.em-haft .em .service > h2 { grid-area: tytul; }
.em-haft .em .service > h3 { grid-area: czapki; }
.em-haft .em .service > h2 + p { grid-area: opis; }
.em-haft .em .service > h3 + p { grid-area: opisczapki; }
.em-haft .em .service > :first-child { grid-area: foto; }

.em-haft .em .service > section { grid-area: film; }
.em-haft .em .service > :is(h2,h3,p) { margin: 0; }
.em-haft .em .service > img,
.em-haft .em .service > p img {
  float: none; margin: 0 auto; width: 100%; height: clamp(15rem, 32vw, 24rem);
  max-height: none; object-fit: contain; background: #f3f4f3;
}
@media (max-width: 700px) {
  .em-haft .em .service {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "tytul" "opis" "foto" "czapki" "opisczapki" "fotoczapki" "film";
  }
  .em-haft .em .service > h3 { margin-top: 1rem; }
}

#em-wynik-zapytania { scroll-margin-top: 6rem; }
#em-wynik-zapytania:not(:empty) { background: #edf2f2; border-left: 4px solid #235265; padding: 1rem; font-weight: 600; }

/* Dopasuj pole zdjęcia do jego naturalnych proporcji. */
.em .grid img, .em .gallery img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 26rem;
  aspect-ratio: auto;
  background: transparent;
}
.em .gallery figure { align-self: start; }
.em .gallery figure a { width: fit-content; max-width: 100%; }
.em .service > img, .em .service > p > img {
  width: auto; height: auto; max-width: 38%; max-height: 20rem;
  background: transparent;
}
/* Kolumny dopasowane do oryginalnej szerokości fotografii (468 px). */
.em-haft .em .service {
  grid-template-columns: repeat(2, minmax(0, 468px));
  column-gap: 1rem;
  justify-content: center;
}
.em-haft .em .service > img, .em-haft .em .service > p img {
  width: 100%; max-width: 100%; height: auto; max-height: none;
  margin: 0; background: transparent;
}
.em-haft .em .service > p { max-width: 100%; }
@media (max-width: 700px) {
  .em .service > img, .em .service > p > img { max-width: 100%; }
  .em-haft .em .service { grid-template-columns: minmax(0, 468px); }
}

.em-haft .wp-block-gallery.em-przyklady {
  display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; align-items: start;
}
.em-haft .wp-block-gallery.em-przyklady figure.wp-block-image {
  width: 100%; margin: 0; display: block;
}
.em-haft .wp-block-gallery.em-przyklady figure.wp-block-image img {
  display: block; width: 100%; height: auto; object-fit: contain;
}
.em-haft .wp-block-gallery.em-przyklady figure.wp-block-image figcaption {
  position: static; background: transparent; color: inherit; text-align: start; padding: .4rem 0;
}
@media (max-width:700px) {
  .em-haft .wp-block-gallery.em-przyklady { grid-template-columns: 1fr; }
}

/* Reguły włączają się tylko wtedy, gdy w prywatnym szkicu wyrenderowano nagłówek. */
.em-solo-header {background:#313942;color:#fff}
.em-solo-header > div {max-width:72rem;margin:auto;padding:12px 20px;display:flex;align-items:center;justify-content:space-between;gap:1rem}
.em-solo-header img {display:block;width:auto;height:42px}
.em-solo-header nav {display:flex;flex-wrap:wrap;align-items:center;gap:.5rem 1.5rem}
.em-solo-header nav a {color:white;font:600 1rem/1.5 system-ui,sans-serif;text-decoration:none}
.em-solo-header a:hover,.em-solo-header a:focus-visible {text-decoration:underline}

body.em-haft.em-solo-preview .entry-hero-container-inner {background:#fff}
body.em-haft.em-solo-preview .entry-hero .entry-header {min-height:0;padding:1.5rem 1rem}
body.em-haft.em-solo-preview .content-area {margin-top:0}
.em-solo-preview .em .service {grid-template-areas:"foto fotoczapki" "tytul czapki" "opis opisczapki" "film film";padding-top:1rem}
.em-solo-preview .em .service > h2,.em-solo-preview .em .service > h3 {font:700 clamp(1.3rem,2.5vw,1.9rem)/1.2 system-ui,sans-serif}
.em-solo-preview .em .service img {border-radius:4px}
body.em-haft.em-solo-preview .wp-block-gallery {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:clamp(8px,1.5vw,18px);margin-inline:0;box-sizing:border-box;width:100%;max-width:100%;background:#010618}
body.em-haft.em-solo-preview .wp-block-gallery > figure.wp-block-image {width:100%!important;max-width:none!important;height:auto;min-width:0;align-self:start;margin:0}
body.em-haft.em-solo-preview .wp-block-gallery > figure.wp-block-image > a {width:100%;display:block}
body.em-haft.em-solo-preview .wp-block-gallery > figure.wp-block-image img {display:block;width:100%!important;max-width:100%;height:auto!important;aspect-ratio:auto;object-fit:contain}
body.em-haft.em-solo-preview .wp-block-gallery > figure.wp-block-image figcaption {color:white;background:#010618;position:static;margin:0;padding:.4rem;text-align:left}
@media(max-width:700px){
 .em-solo-header > div {flex-wrap:wrap;gap:.5rem;padding:10px 14px}
 .em-solo-header nav {gap:.35rem .85rem}
 .em-solo-header nav a {font-size:.9rem}
 .em-solo-preview .em .service {grid-template-areas:"foto" "tytul" "opis" "fotoczapki" "czapki" "opisczapki" "film"}
 body.em-haft.em-solo-preview .wp-block-gallery {grid-template-columns:minmax(0,1fr)}
}

/* Galeria szkicu: każdy rząd zajmuje tylko wysokość zdjęć i podpisów. */
body.em-haft.em-solo-preview .wp-block-gallery.has-nested-images {
  display: flex !important;
  flex-flow: row wrap !important;
  gap: 0 !important;
  align-items: flex-start !important;
  align-content: flex-start !important;
  justify-content: flex-start !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  background: transparent;
  padding: 0;
}
body.em-haft.em-solo-preview .wp-block-gallery.has-nested-images > figure.wp-block-image {
  flex: none !important;
  width: var(--em-photo-width, calc(50% - 4px)) !important;
  display: block !important;
  box-sizing: border-box;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.em-haft.em-solo-preview .wp-block-gallery.has-nested-images > figure.wp-block-image > a {
  display: block;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
}
body.em-haft.em-solo-preview .wp-block-gallery.has-nested-images > figure.wp-block-image img {
  contain-intrinsic-size: none !important;
  aspect-ratio: var(--em-photo-ratio, auto) !important;
  max-height: none !important;
  min-height: 0 !important;
  margin: 0 !important;
}
body.em-haft.em-solo-preview .wp-block-gallery.has-nested-images > figure.wp-block-image figcaption {
  color: inherit;
  background: transparent;
  height: auto !important;
  min-height: 0 !important;
  padding: .25em 0 0;
}
body.em-haft.em-solo-preview .wp-block-gallery.has-nested-images > figcaption {width: 100%}
@media (max-width: 700px) {
  body.em-haft.em-solo-preview .wp-block-gallery.has-nested-images > figure.wp-block-image {width: 100% !important}
}

body.em-haft.em-solo-preview .wp-block-gallery.has-nested-images > figure.wp-block-image:nth-of-type(odd):not(:last-of-type) {margin-right: 8px !important}
body.em-haft.em-solo-preview .wp-block-gallery.has-nested-images > figure.wp-block-image:nth-of-type(n+3) {margin-top: 8px !important}
@media (max-width: 700px) {
  body.em-haft.em-solo-preview .wp-block-gallery.has-nested-images > figure.wp-block-image:nth-of-type(n) {margin-right: 0 !important}
  body.em-haft.em-solo-preview .wp-block-gallery.has-nested-images > figure.wp-block-image:nth-of-type(n+2) {margin-top: 8px !important}
}

/* Dopasuj pary zdjęć do szerokości działu „Nasze realizacje”. */
.em-realizacje #gallery-1 .gallery {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0;
}
.em-realizacje #gallery-1 .gallery > figure {
  flex: none;
  box-sizing: border-box;
  margin: 0;
  width: var(--em-photo-width, calc(50% - 4px));
}
.em-realizacje #gallery-1 .gallery > figure:nth-of-type(odd):not(:last-of-type) { margin-right: 8px; }
.em-realizacje #gallery-1 .gallery > figure:nth-of-type(n+3) { margin-top: 8px; }
.em-realizacje #gallery-1 .gallery figure a,
.em-realizacje #gallery-1 .gallery figure img { display: block; width: 100%; }
.em-realizacje #gallery-1 .gallery img {
  height: auto;
  max-height: none;
  aspect-ratio: var(--em-photo-ratio, auto);
  contain-intrinsic-size: none;
}
.em-realizacje #gallery-1 .gallery figure p { margin: 0; }
.em-realizacje #gallery-1 .gallery figcaption { margin: .25rem 0 0; }
@media (max-width: 700px) {
  .em-realizacje #gallery-1 .gallery > figure { width: 100%; }
  .em-realizacje #gallery-1 .gallery > figure:nth-of-type(n) { margin-right: 0; }
  .em-realizacje #gallery-1 .gallery > figure:nth-of-type(n+2) { margin-top: 8px; }
}

/* Strona główna EM Studio */
body.em-start .entry-hero, body.em-start .entry-header .entry-title { display:none; }
body.em-start .content-area { margin-block:0; }
body.em-start .entry-content-wrap { padding:clamp(16px,3vw,42px); }
body.em-start .entry-content { margin-top:0; }
.em-start .em-solo-header > div { flex-wrap:wrap; }
.em-start .em-solo-header nav { column-gap:1rem; }
.em-start .em > section { padding-block:clamp(24px,4vw,54px); }
.em-start .em h2 { margin:0 0 1rem; }
.em-start .em #introduction-1 { background:#edf3f2; padding:clamp(16px,3vw,36px); gap:clamp(16px,3vw,38px); }
.em-start .em #introduction-1 h1 { font:normal clamp(2rem,3.6vw,3.5rem)/1.08 Georgia,serif; margin:0 0 1rem; }
/* Proporcje kart i kolejność treści zgodne z sekcją usług Solo. */
.em-start .em #services-1 .grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:32px 24px; }
.em-start .em #services-1 article { padding:0; min-width:0; }
.em-start .em #services-1 article img { width:100%; max-height:none; }
.em-start .em #services-1 .em-service-photo { display:block; position:relative; overflow:hidden; padding-top:75%; border-radius:4px; }
.em-start .em #services-1 .em-service-photo img { position:absolute; inset:0; top:0; left:0; height:100%; object-fit:cover; object-position:var(--em-focus,center); }
.em-start .em #services-1 article h3 { margin:.75rem 0 .3rem; font-size:1.25rem; }
.em-start .em #services-1 article p { margin:0; }
.em-start .em #services-1 .grid { margin-bottom:1.25rem; }
@media(max-width:991px){ .em-start .em #services-1 .grid { grid-template-columns:minmax(0,1fr); } }
.em-start #video-1 .em-film { margin:1rem 0; width:100%; padding-top:56.25%; position:relative; background:#202934; overflow:hidden; border-radius:4px; }
.em-start #video-1 .em-film button,.em-start #video-1 .em-film iframe { position:absolute; top:0; left:0; width:100%; height:100%; padding:0; border:0; }
.em-start #video-1 .em-film img { width:100%; height:100%; object-fit:cover; }
.em-start #video-1 .em-film button::after { content:"▶"; position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); background:#a41923; color:white; border-radius:.6rem; padding:.45em 1em; font-size:1.6rem; }
.em-start .em #video-1,.em-start .em #contact-1 { border-top:3px solid #698591; }
.em-start .em #contact-1 p { margin:.45rem 0; }
.em-start .em form { margin-top:.5rem; }
.em-start .em form p { margin:.5em 0; }
.em-start .em form input,.em-start .em form textarea { max-width:100%; }
@media(max-width:700px) {
  .em-start .em #services-1 .grid { grid-template-columns:1fr; }
  .em-start .em-solo-header > div { padding:12px 16px; gap:8px; }
  .em-start .em-solo-header nav { gap:6px 14px; }
  .em-start .em-solo-header nav a { font-size:.95rem; }
}

button.em-powrot {
  position: fixed; right: 16px; bottom: 16px;
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 900; width: 48px; height: 48px;
  display: grid; place-items: center; padding: 0;
  border: 1px solid #fff; border-radius: 50%;
  background: #213f4a; color: white;
  font: 600 26px/1 system-ui,sans-serif; cursor: pointer;
  box-shadow: 0 2px 8px #172a3240;
}
button.em-powrot[hidden] { display: none; }
button.em-powrot:focus-visible { outline: 3px solid #1873a6; outline-offset: 2px; }

/* Strony oferty, kontakt i realizacje */
.em-podstrona .entry-hero .entry-header { min-height:0; padding:1.5rem 1rem; }
.em-podstrona .content-area { margin-block:0; }
.em-podstrona .entry-content-wrap { padding:clamp(16px,3vw,42px); }
.em-podstrona .em-solo-header > div { flex-wrap:wrap; }
.em-podstrona .em .service,.em-podstrona .em #contact-1 { padding:clamp(16px,3vw,32px); background:#edf3f2; border-radius:4px; }
.em-podstrona .em .service img { float:none; display:block; width:100%; height:auto; max-width:100%; max-height:none; margin:0 0 1rem; background:none; }
.em-podstrona .em .service p:last-child { margin-bottom:0; }
.em-podstrona .em .examples .gallery { max-width:100%; align-items:start; }
.em-podstrona .em .examples figure a,.em-podstrona .em .examples figure img { width:100%; height:auto; max-height:none; }
.em-podstrona .em .examples figcaption { margin:.35rem 0 0; }
.em-podstrona .em #contact-1 p { margin:.55rem 0; }
.em-podstrona .em #contact-1 > a { display:inline-block; margin-top:.5rem; }
@media(min-width:701px){
 .em-podstrona .em .service:has(img) { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,1fr); gap:.5rem 2rem; align-content:center; }
 .em-podstrona .em .service:has(img) > img,.em-podstrona .em .service > p:has(img) { grid-column:1; grid-row:1/3; align-self:center; margin:0; }
 .em-podstrona .em .service:has(img) > h2 { grid-column:2; margin:0; align-self:end; }
 .em-podstrona .em .service:has(img) > h2 + p { grid-column:2; margin:0; }
}
body .em .em-extra-grid,body.em-realizacje #gallery-1 .gallery.em-extra-grid {display:grid;grid-template-columns:repeat(var(--em-count,2),minmax(0,1fr));gap:12px;align-items:start;width:100%;max-width:none;grid-column:1/-1;clear:both}
.em .em-cols-1 {--em-count:1}.em .em-cols-2 {--em-count:2}.em .em-cols-3 {--em-count:3}.em .em-cols-4 {--em-count:4}
body .em .em-extra-grid > figure,body.em-realizacje #gallery-1 .gallery.em-extra-grid > figure:nth-of-type(n) {width:100%;margin:0;min-width:0}
body .em .em-extra-grid figure a,body .em .em-extra-grid figure img {float:none;display:block;width:100%;max-width:100%;height:auto;max-height:none;margin:0}
.em-extra-grid figcaption {margin:.35em 0 0;line-height:1.35}
@media(max-width:700px){body .em .em-extra-grid,body.em-realizacje #gallery-1 .gallery.em-extra-grid {grid-template-columns:minmax(0,1fr)}}

/* Podstrony usług: wysokość galerii wynika z widocznych zdjęć i podpisów. */
body.em-podstrona:not(.em-realizacje):not(.em-start) .em :is(.examples .gallery, .em-extra-grid) {
  display: grid;
  grid-template-columns: repeat(var(--em-count, 2), minmax(0, 1fr));
  grid-template-rows: none;
  grid-auto-rows: max-content;
  align-content: start;
  align-items: start;
  gap: 12px;
  height: auto;
  min-height: 0;
  padding: 0;
}
body.em-podstrona:not(.em-realizacje):not(.em-start) .em :is(.examples .gallery, .em-extra-grid) figure,
body.em-podstrona:not(.em-realizacje):not(.em-start) .em :is(.examples .gallery, .em-extra-grid) figure a,
body.em-podstrona:not(.em-realizacje):not(.em-start) .em :is(.examples .gallery, .em-extra-grid) figure p {
  display: block;
  position: static;
  box-sizing: border-box;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: auto;
  margin: 0;
  padding: 0;
}
body.em-podstrona:not(.em-realizacje):not(.em-start) .em :is(.examples .gallery, .em-extra-grid) figure img {
  position: static;
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: auto;
  contain-intrinsic-size: none;
  margin: 0;
  padding: 0;
}
body.em-podstrona:not(.em-realizacje):not(.em-start) .em :is(.examples .gallery, .em-extra-grid) > p:empty,
body.em-podstrona:not(.em-realizacje):not(.em-start) .em :is(.examples .gallery, .em-extra-grid) > br { display: none; }
@media (max-width: 700px) {
  body.em-podstrona:not(.em-realizacje):not(.em-start) .em :is(.examples .gallery, .em-extra-grid) { grid-template-columns: minmax(0, 1fr); }
}

/* Akcent EM Studio na przyciskach wyceny i wysłania formularza. */
.em .cta, .em form button[type="submit"] { background-color:#80243e; color:#fff; }
.em .cta:hover, .em form button[type="submit"]:hover { background-color:#641b30; color:#fff; }
.em .cta:focus-visible, .em form button[type="submit"]:focus-visible { outline:3px solid #80243e; outline-offset:3px; }

/* Subpage title belongs to the dark area above the content card. */
body:is(.em-podstrona,.em-haft.em-solo-preview) .entry-hero,
body:is(.em-podstrona,.em-haft.em-solo-preview) .entry-hero-container-inner {
    height: auto;
    min-height: 0;
    padding-block: 0;
    background: #2c3646;
}
body:is(.em-podstrona,.em-haft.em-solo-preview) .entry-hero .hero-section-overlay {
    display: none;
}
body:is(.em-podstrona,.em-haft.em-solo-preview) .entry-hero .entry-header {
    min-height: 0;
    height: auto;
    padding-block: 8px;
    margin-block: 0;
}
body:is(.em-podstrona,.em-haft.em-solo-preview) .entry-hero .entry-title {
    font-size: clamp(1rem, 1.5vw, 1.3rem);
    line-height: 1.3;
    color: #fff;
    margin-block: 0;
}
body:is(.em-podstrona,.em-haft.em-solo-preview) .content-area {
    margin-block-start: 0;
}
body.em-podstrona.em-realizacje .em > #gallery-1:first-child {
    padding-block-start: 0;
}

/* W kolumnach następna fotografia zaczyna się tuż pod poprzednim podpisem. */
body.em-podstrona:not(.em-naszywki):not(.em-realizacje) .em :is(.examples .gallery,.em-extra-grid) {
    display: block;
    column-count: var(--em-count, 2);
    column-gap: 12px;
    width: 100%;
    max-width: none;
}
body.em-podstrona:not(.em-naszywki):not(.em-realizacje) .em :is(.examples .gallery,.em-extra-grid) > figure {
    display: inline-block;
    break-inside: avoid;
    vertical-align: top;
    margin: 0 0 12px;
}
body.em-podstrona:not(.em-realizacje) .em :is(.examples .gallery,.em-extra-grid) figcaption {
    position: static;
    margin: .35rem 0 0;
}
@media (max-width:700px) {
    body.em-podstrona:not(.em-naszywki):not(.em-realizacje) .em :is(.examples .gallery,.em-extra-grid) {
        column-count: min(var(--em-count, 1), 2);
    }
}

/* A saved section photo gets its width from the column, even before the image loads. */
body .em figure.em-section-figure,
body .em figure.em-section-figure > a {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}
body .em figure.em-section-figure > a {
    display: block;
    position: static;
    height: auto;
}
body .em figure.em-section-figure img.em-section-image {
    display: block;
    position: static;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
}
