:is(.page-template-amr1,
    .page-template-amr2,
    .page-template-amr3,
    .page-template-amr4,
    .page-template-amr6,
    .page-template-amr7,
    .single-pripadova-studie,
    .page-template-amr5) #body-wrapper {
  padding-top: 0;
  padding-bottom: 0;
}

:is(.page-template-amr1,
    .page-template-amr2,
    .page-template-amr3,
    .page-template-amr4,
    .page-template-amr6,
    .page-template-amr7,
    .single-pripadova-studie,
    .page-template-amr5) #body-wrapper :is(p, li) {
  color: #141414;
  font-size: 16px;
  line-height: 24px;
}

:is(.page-template-amr1,
    .page-template-amr2,
    .page-template-amr3,
    .page-template-amr4,
    .page-template-amr6,
    .page-template-amr7,
    .single-pripadova-studie,
    .page-template-amr5) .navbar {
  border: 0;
}

.amr-product__status-ce {
    color: #f20000;
    font-weight: 600;
    margin: 0 0 16px;
}
.amr-studies-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.amr-study-card {
    display: flex;
    flex-direction: column;
}

.amr-study-card__thumb-wrap {
    height: 267px;
    overflow: hidden;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}
.amr-study-card-text {
      border: 1px solid #ebebeb;
      border-top: none;
      padding: 24px;
}

.amr-study-card__thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.amr-study-card__title, .amr-study-card__title a {
    font-size: 16px;
    font-family: 'Campton-Medium';
    line-height: 1.3;
    margin: 0px;
    color: #22376d;
    margin-bottom: 16px;
}







.faq {
  padding: 28px 60px 40px 60px;
}

.faq-item h3 {
    font-family: 'Campton-Medium';
    margin-top: 32px;
    margin-bottom: 8px;
    font-size: 20px;
}
.amr-single-study, .amr-studies-archive {
  padding: 40px 60px;
}
.amr-studies-archive {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.amr-single-study__inner {
    display: flex;
    gap: 4%;
}
.amr-single-study__left {
  flex: 0 0 48%;
}
.amr-single-study__right {
  flex: 0 0 48%;
}
.amr-single-study__right iframe {
  max-width: 100%;
}
.amr-single-study__left h2 {
    font-family: 'Campton-Bold';
    font-size: 24px;
    line-height: 1.3;
    margin: 0 0 16px;
    font-weight: 400;
    color: #22376d;
}

.amr-studies-subtitle {
    font-family: 'Campton-Bold';
    font-size: 24px;
    line-height: 1.3;
    margin: 0 0 24px;
    font-weight: 400;
    color: #22376d;
}

@media (max-width: 980px) { 
  .faq, .amr-single-study, .amr-studies-archive {
    padding: 40px 20px;
  }
  .amr-single-study__inner {
     flex-direction: column;
     row-gap: 20px;
  }
  .amr-single-study__left {
    flex: 0 0 100%;
  }
  .amr-single-study__right {
    flex: 0 0 100%;
  }
  .amr-study-card__thumb-wrap {
      height: 200px;
      overflow: hidden;
      background: #f5f5f5;
      display: flex;
      align-items: center;
      justify-content: center;
  }
}



.amr-product-tag {

}
.amr-product-tag span {
    padding: 8px 12px;
    font-size: 14px;
    background-color: #f7f7f7;
    font-family: 'Campton-Medium';
    display: block;
}
.amr-cta-flex {
    display: flex;
    align-items: center;
    gap: 12px;
}
.amr-cta-flex-img {
background: url(/wp-content/themes/simplelift/amr/odbornik.png);
background-repeat: no-repeat;
flex: 0 0 70px;
height: 70px;
background-size: cover;
border-radius: 50%;
background-color: white;
}

.amr-hero { position: relative; background-size: cover; background-position: top;  }
.amr-hero-overlay {
    background-color: #22376d40;
    width: 100%;
    height: 100%;
    position: absolute;
}
.amr-hero__inner { position: relative; max-width: 1200px; margin: 0 auto; padding: 0 20px; color: #fff;padding: 80px 0; }
.amr-hero__title { margin: 0 0 8px; font-size: 34px; line-height: 1.15; color: #fff; font-weight: 400; }
.amr-hero__desc { margin: 0 0 32px; font-size: 18px !important;    font-family: 'Campton-Medium';     max-width: 610px !important; color: white !important;}

.amr-nav { }
.amr-nav__list { display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.amr-nav__item { }
.amr-nav__link {transition: 0.3s all ease; font-size: 14px;font-family: 'Campton-Medium';text-decoration: none; display: inline-block; padding: 8px 14px; border-radius: 0px; border: 1px solid rgba(255,255,255,.35); color: #fff; background: rgba(255,255,255,.08); backdrop-filter: blur(6px); font-weight: 500; }
.amr-nav__item--active .amr-nav__link { background: #f7c030; color: #22376d; border-color: #f7c030; }

.amr-nav__link:hover, .amr-nav__link:focus {
  background: #f7c030; color: #22376d; border-color: #f7c030;text-decoration:none; 
}

.amr-wrap { padding: 0px 0 60px; }
.amr-container { max-width: 1160px; margin: 0 auto; }
.amr-pagehead__title { font-size: 28px; line-height: 1.25; margin: 0 0 16px;font-weight:400;     color: #22376d; }
.amr-pagehead__lead { font-size: 16px; color: #4b5563; margin: 0 0 26px; }

.amr-products { display: grid;}
.amr-product { display:flex; align-items: stretch; }
.amr-product:nth-child(even) {  }

.amr-product:first-child .amr-product__content {
    border-top: 1px solid #ebebeb;
}
.amr-product:last-child .amr-product__content {
    
}

.amr-product-subtitle {
    font-family: 'Campton-Medium';
    margin-top: 32px;
    margin-bottom: 8px;
}

.amr-product-krok {
    font-size: 20px;
    margin: 0 0 16px;
    font-weight: 400;
    color: #22376d;
}
.page-template-amr5 .amr-product:first-child .amr-product__content {
  border-top: none;
}
.page-template-amr5 .amr-product:first-child  {
  padding-top: 30px;
}
.page-template-amr5 .amr-product:last-child {
padding-bottom: 30px;
}
.page-template-amr5 .amr-product {
  align-items: center;
}
.page-template-amr5 .amr-product:nth-child(even) .amr-product__content {
  order: 1;
}
.page-template-amr5 .amr-product__media {
  padding: 30px 60px;
}
.amr-product__content {
  padding: 40px 60px;
  flex: 0 0 50%;
}
.amr-product__media {
  flex: 0 0 50%;
  position: relative;
  overflow: hidden;
  min-height: 360px;
}
.amr-product__media img {  width: 100%;
width: 100%;
  height: 100%;
  object-fit: cover;   /* vyplní celý box bez deformácie */
  object-position: center;
  display: block;}
.amr-product__content .btn-primary {
  font-size: 15px !important;
  font-family: 'Campton-Medium';
  padding: 12px 32px;
}
.amr-product:nth-child(even) .amr-product__media { order: 1; }
.amr-product:nth-child(even) .amr-product__content { order: 2; }
.amr-product__title { font-family: 'Campton-Bold'; font-size: 24px; margin: 0 0 16px;    font-weight: 400;
    color: #22376d;display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px; }
.amr-product__text { margin: 0 0 24px; color: #374151; }
.amr-product__subtitle {font-size: 20px; font-family: 'Campton-Medium';     color: #0e0e0e; margin: 0 0 24px; }

.amr-product__bullets {
  list-style: none;
  padding-left: 0;
  margin: 12px 0 24px 0;
}
.amr-product__bullets li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  font-family: 'Campton-Medium';
}
.amr-product__bullets li::before {
  content: "";
  width: 15px;
  height: 15px;
  flex: 0 0 24px;
  background: url(/wp-content/themes/simplelift/images/check_yellow.svg) no-repeat center;
  background-size: contain;
}
/* --- Cena – väčšia + Campton-Bold, weight 400 --- */
.amr-product__price {
  font-size: 20px;             /* môžeš zvýšiť podľa pocitu (napr. 24px) */
  font-family: "Campton-Bold";
  font-weight: 400;
  color: #22376d;
  margin: 24px 0 24px;
}

@media (max-width: 980px) {
  .amr-product__price { font-size: 20px; }
  .amr-hero__inner {
        padding: 60px 20px;
  }
  .page-template-amr5 .amr-product__media {
    padding: 0px 20px 10px 20px;
  }
  .page-template-amr5 .amr-product__content {
    padding-bottom: 0px;
  }
  .amr-steps {
    padding: 60px 20px !important;
  }
}

@media (max-width: 980px) { .amr-product__bullets { columns: 1; -webkit-columns: 1; } }

@media (max-width: 980px) { .amr-product__bullets { columns: 1; -webkit-columns: 1; } }

.amr-btn { display: inline-block; text-decoration: none; background: #111827; color: #fff; padding: 10px 16px; border-radius: 10px; transition: transform .06s ease; }
.amr-btn:active { transform: translateY(1px); }

@media (max-width: 980px) {
  .amr-hero__title { font-size: 28px; }
  .amr-hero__desc { font-size: 16px; }
  .amr-nav__list { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .amr-product { flex-direction: column; }
  .amr-product__content {
    order: 1 !important;
    padding: 40px 20px;
    flex: none;
  }
  .amr-product__media {
    order: 2 !important;
        flex: none;
  }
  .amr-cta {
    padding: 50px 0 !important;
  }
}

@media (prefers-color-scheme: dark) {
  .amr-pagehead__lead { color: #9ca3af; }
  .amr-product__text { color: #cbd5e1; }
  .amr-btn { background: #2563eb; }
}


.is-hidden { display: none; }

.amr-help { position: fixed; left: 16px; bottom: 16px; z-index: 2000; width: 350px; max-width: calc(100% - 32px); background: #ffffff;     padding: 16px 27px 16px 16px;box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.amr-help__close { position: absolute; top: 4px; right: 4px; width: 28px; height: 28px; border: 0; background: inherit; border-radius: 6px; cursor: pointer; line-height: 1; font-size: 24px; }
.amr-help__title { font-size: 16px;   font-family: 'Campton-Medium'; color: #111827; margin: 4px 24px 6px 0; }
.amr-help__desc { font-size: 14px; color: #4b5563; margin: 0 0 12px; }
.amr-help__cta { display: inline-block;     background: #f7c030;
    color: #22376d;
    border-color: #f7c030;    padding: 8px 14px;font-family: 'Campton-Medium';}
.amr-help__cta:hover {
  opacity: 0.9;
  text-decoration: none;
}
.amr-help-open { transition: transform .15s ease, box-shadow .15s ease;
  transform-origin: center;position: fixed; left: 16px; bottom: 16px; z-index: 1000; width: 70px; height: 70px; border-radius: 52px; border: none; box-shadow: 0 10px 30px rgba(0,0,0,.12); display: grid; place-items: center; padding: 0; }
.amr-help-open:hover {
transform: scale(1.07); 
  box-shadow: 0 14px 36px rgba(0,0,0,.16);
}

@media (max-width: 480px) {
  .amr-help { width: calc(100% - 32px); }
  .amr-nav__list {
    flex-direction: column;
  }
  .amr-nav__item, .amr-nav__item span, .amr-nav__item a {
    width: 100%;
    text-align: center;
  }
}

@media (prefers-color-scheme: dark) {
  .amr-help { }
  .amr-help__close { background: #111827; color: #e5e7eb; }
  .amr-help__title { color: #e5e7eb; }
  .amr-help__desc { color: #9ca3af; }
  .amr-help-open { background: #0b0f17; border-color: #1f2937; }
}


.amr-pagehead {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  background-color: #f7f7f7;
  background-image: linear-gradient(180deg, #f9fafb 0%, #f7f7f7 40%, #f3f4f6 100%);
  padding: 60px;
}
.amr-pagehead__left {
    flex: 0 0 70%;
}
.amr-breadcrumbs {
  flex: 0 0 auto;
}
.amr-breadcrumbs__list {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
  color: #6b7280;
  font-family: 'Campton-Medium';
  font-size: 14px;
  line-height: 1;
}
.amr-breadcrumbs__link {
  text-decoration: none;
  color: #141414;
}
.amr-breadcrumbs__item span { }
.amr-breadcrumbs__item--current span {  }
.amr-breadcrumbs__sep { color: #9ca3af; }

@media (max-width: 980px) {
  .amr-pagehead { flex-direction: column; padding: 40px 20px; }
  .amr-pagehead__left {
    order: 2;
  }
  .amr-breadcrumbs { align-self: flex-start;order: 1; }
}


.amr-cta {
  background-color: #f7f7f7;
  background-image: linear-gradient(180deg, #f9fafb 0%, #f7f7f7 40%, #f3f4f6 100%);
  padding: 100px 0;
}
.amr-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 20px;
}
.amr-cta__left {
    flex: 0 0 60%;
}
.amr-cta__title {
  margin: 0 0 24px;
  font-size: 28px;
  line-height: 1.25;
  font-family: 'Campton-Bold';
  font-weight: 400;
  color: #22376d;
}
.amr-cta__desc {
  margin: 0;
  font-size: 16px;
}
.amr-cta__right {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}
.amr-cta__btn {
  font-size: 15px;
  font-family: 'Campton-Medium';
  padding: 12px 20px;
  background: #f7c030;
  color: #22376d;
  border-color: #f7c030;
  display: flex;
  align-items: center;
  gap: 12px;
}
.amr-cta__btn svg {
    width: 20px;
    height: 20px;
}
@media (max-width: 980px) {
  .amr-cta__inner { flex-direction: column; align-items: flex-start; }
  .amr-cta__btn { width: 100%; text-align: center; }
}




/* MAPA */


.amr-map{}
.amr-map__inner{position:relative;margin:0 auto;}
.amr-map__img{width:100%;height:auto;display:block;border-radius:0}
/* Obdĺžnikový hotspot s ikonou 24px vľavo */
.amr-hotspot{
  position:absolute;
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 14px;
  background:#fff;
  color:#0e0e0e;
  border:none;
  border-radius:12px;          /* oblé rohy – obdĺžnik, nie kruh */
  box-shadow:0 6px 18px rgba(0,0,0,.08);
  cursor:default;              /* celé telo nie je klikacie, len ikona */
  isolation:isolate;
  z-index:1;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
  transform-origin: center;
}

@media (max-width:980px){
.amr-hotspot-wrap {
      display: flex;
    flex-wrap: wrap;
    gap: 4%;
    padding: 0 20px;
    margin: 32px 0;
    row-gap: 12px;
}
.amr-hotspot {
        position: relative;
        left: auto !important;
        top: auto !important;
        width: 48%;
        text-align: left;
}
}

.amr-hotspot:hover {
  transform: scale(1.04);
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
}

/* voliteľne: jemný stisk pri kliku */
.amr-hotspot:active {
  transform: scale(0.98);
}
.amr-hotspot__icon{
  width:24px; height:24px;
  flex:0 0 24px;
  display:block;
  cursor:pointer;              /* klikateľná ikona */
}
.amr-hotspot__label{
  font-family:'Campton-Medium';
  font-size:14px; line-height:1.2;
  color:#0e0e0e;
}

/* Pulzujúci obrys okolo obdĺžnika (kopíruje border-radius) */
.amr-hotspot::before,
.amr-hotspot::after{
  content:"";
  position:absolute;
  inset:-3px;                  /* trochu mimo, aby halo obtekalo box */
  border-radius:inherit;
  pointer-events:none;
  z-index:-1;
  border:2px solid rgba(255,255,255,.7);
  opacity:0;
  transform:scale(1);
  animation:amr-pulse-rect 3.2s ease-out infinite;
}
.amr-hotspot::after{ animation-delay:1.1s; }

@keyframes amr-pulse-rect{
  0%   { opacity:.65; transform:scale(1); }
  60%  { opacity:0;   transform:scale(1.1); }
  100% { opacity:0;   transform:scale(1.15); }
}

/* === Spoločné základné štýly pre všetky modaly === */
.amr-modal{
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: none;
  overflow: hidden; /* lock pozadia, scroll iba vnútri contentu */
}
.amr-modal.is-open{ display: block; }

.amr-modal__overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 0;
}

.amr-modal__close{
  position: absolute;
  top: 8px;
  right: 8px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 8px;
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
  background-color: white !important;
}

/* === FORM MODAL (amr-modal--form) === */
.amr-modal--form.is-open{
  display: flex;                 /* centrovanie form okna */
  align-items: center;
  justify-content: center;
  padding: 6vh 16px;
}

.amr-modal--form .amr-modal__content{
  position: relative;
  z-index: 1;
  width: min(100%, 720px);
  max-width: 560px;              /* tvoje max-width */
  max-height: 100vh;
  margin-top: 40px;
  overflow-y: auto;              /* scroll vnútri */
  -webkit-overflow-scrolling: touch;
  background: #ffffff;
  border-radius: 0;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
  padding: 24px 40px;
  overscroll-behavior: contain;
}
.amr-modal {
  text-align: center;
}
.amr-modal form {
  margin-top: 32px;
      text-align: center;
}
.amr-modal textarea {
  height: 100px;
}
.amr-modal--form .wpcf7 label{ display:block; font-weight:400;text-align:center; }
.amr-modal--form h2{
  font-family:'Campton-Bold';
  font-size:24px;
  margin:0 0 8px;
  font-weight:400;
  color:#22376d;
  text-align: center;
}
.amr-modal--form .wpcf7-response-output {
    margin-top: 0px !important;
    padding: 14px;
    font-weight: 700;
}
@media (max-width:980px){
  .amr-modal--form .amr-modal__content{ width:92%; }
}

/* === VIDEO MODAL (amr-modal--video) === */
.amr-modal--video .amr-modal__content{
  position: relative;
  width: min(100%, 900px);
  margin: 6vh auto;
  background: #000;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
  padding: 0; /* pri videu nechceme vnútorný padding */
}

.amr-modal--video .amr-modal__close{
  background:#111827;
  color:#fff;
}

.amr-modal--video .amr-modal__frame{
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
}
.amr-modal--video .amr-modal__frame iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

@media (max-width:980px){
  .amr-modal--video .amr-modal__content{ width:94%; }
}

/* lock background scroll */
.body-modal-open{ overflow: hidden; }


.amr-section__title{font-size:24px;line-height:1.3;margin:0 0 16px;font-family:'Campton-Bold';font-weight:400;color:#22376d;padding:0 20px}
.amr-steps{padding:60px;background-color: #f7f7f7;
    background-image: linear-gradient(180deg, #f9fafb 0%, #f7f7f7 40%, #f3f4f6 100%);}
.amr-steps__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;}
.amr-step{background:#fff;border:1px solid #ebebeb;border-radius:8px;padding:16px}
.amr-step__kicker{font-size:12px;letter-spacing:.04em;color:#000000;margin-bottom:6px}
.amr-step__title{font-size:18px;font-family:'Campton-Medium';margin:0 0 8px;    color: #22376d;}
.amr-step__desc{margin:0;color:#000000;font-size:14px !important; line-height:20px !important;}
.amr-steps__cta{padding:16px 20px}
.amr-steps__cta .btn-primary{font-size:15px;font-family:'Campton-Medium';padding:12px 20px}

@media (max-width:980px){
  .amr-steps__grid{grid-template-columns:1fr 1fr}
}
@media (max-width:640px){
  .amr-steps__grid{grid-template-columns:1fr}
}
.amr-carousel {
    padding-top: 10px;
    padding-bottom: 60px;
}
.amr-carousel .box-relative{
  position: relative;
}
.amr-carousel .products {
    padding: 0 60px;
}
.amr-carousel  #featured .products .product {
    margin: 0px -0.5px !important;
}

.amr-carousel .owl-prev {
    left: -59px !important;
}


.amr-carousel .owl-next {
    right: -59px !important;
}

.text-center { text-align: center; }

.amr-steps--center .amr-section__title { padding: 0; }
.amr-steps__grid--5 { display:grid; grid-template-columns:repeat(4,1fr); gap:32px;margin-bottom: 20px;margin-top: 30px;}
.amr-step--sharp { border-radius:0;  }
.amr-step--sharp { background:#fff; border:1px solid #ebebeb; padding:24px; }
.amr-steps--center .amr-steps__cta { padding:16px 20px; }
.amr-steps--center .amr-steps__cta .btn-primary { display:inline-block; }

@media (max-width:1180px){ .amr-steps__grid--5{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:780px){ .amr-steps__grid--5{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:520px){ .amr-steps__grid--5{ grid-template-columns:1fr; } }

.amr-features { padding: 20px 0 60px; }
.amr-features__grid { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; padding:30px 60px 0 60px; }
.amr-feature { background:#fff; border:1px solid #ebebeb; border-radius:0; padding:24px;}
.amr-feature__icon { width:42px; height:42px; display:block; margin:0 0 10px; }
.amr-feature__title { font-family:'Campton-Medium'; font-size:16px; margin:0 0 8px; color:#22376d; }
.amr-feature__desc { margin:0; font-size:14px !important; line-height:20px !important; color: #22376d; }

@media (max-width:980px){
  .amr-features__grid{ grid-template-columns:repeat(2,1fr); }
  .amr-features__grid {
    padding: 20px 20px; 
  }
}
@media (max-width:640px){
  .amr-features__grid{ grid-template-columns:1fr; }
}


/* Šípky medzi krokmi */
.amr-steps__grid--5 .amr-step {
  position: relative;
}

.amr-steps__grid--5 .amr-step::after {
  content: "\276F";                  /* ❯ */
  position: absolute;
  top: 50%;
  right: -21px;                      /* jemne do medzery medzi kartami */
  transform: translateY(-50%);
  font-size: 18px;
  line-height: 1;
  color: #9ca3af;                    /* neutrálna */
  pointer-events: none;
}

/* skryť šípku na konci riadka (5 stĺpcov) */
.amr-steps__grid--5 .amr-step:nth-child(4n)::after { display: none; }

/* breakpoint 3 stĺpce */
@media (max-width: 1180px) {
  .amr-steps__grid--5 .amr-step::after { right: -10px; }
  .amr-steps__grid--5 .amr-step:nth-child(3n)::after { display: none; }
}

/* breakpoint 2 stĺpce */
@media (max-width: 780px) {
  .amr-steps__grid--5 .amr-step::after { right: -8px; }
  .amr-steps__grid--5 .amr-step:nth-child(2n)::after { display: none; }
}

/* 1 stĺpec – šípky vypnúť úplne */
@media (max-width: 520px) {
  .amr-steps__grid--5 .amr-step::after { display: none; }
}


.amr-map-grid {
  padding: 60px 60px;
}

.amr-map-grid__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.amr-map-grid__item {
  flex: 1 1 calc(25% - 24px);
  max-width: calc(25% - 24px);
  background-color: #f7f7f7;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.amr-map-grid__image {
  width: 100%;
  height: 140px;
  overflow: hidden;
}

.amr-map-grid__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.amr-map-grid__title {
  font-size: 18px;
  font-family: 'Campton-Medium';
  margin: 0 0 8px;
  padding: 0 20px;
  padding-top: 20px;
}

.amr-map-grid__text {
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  padding: 0 20px;
  padding-bottom: 20px;
}

/* responzivita */
@media (max-width: 1024px) {
  .amr-map-grid__item {
    flex: 1 1 calc(50% - 24px);
    max-width: calc(50% - 24px);
  }
}

@media (max-width: 640px) {
  .amr-map-grid__item {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .amr-map-grid {
    padding: 60px 20px;
  }
}
