﻿/* === 3–4 bloky s obrázky vedle sebe === */


:root {
  --ei-text: #1f1f1c;
  --ei-muted: #5f5f5f;
  --ei-max-width: 1440px;
  --ei-gap: 32px;
}


.ei-section {
  width: 100%;
  max-width: var(--ei-max-width);
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
  color: var(--ei-text);
}


.ei-grid {
  display: grid;
  gap: var(--ei-gap);
  align-items: start;
}


.ei-grid.is-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}


.ei-grid.is-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}


.ei-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
}


.ei-image-wrap {
  width: 120px;
  height: 120px;
  margin: 0 auto 22px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  border: 1px solid #d9e1e7;
  flex-shrink: 0;
}


.ei-image-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.ei-content {
  max-width: 300px;
  margin: 0 auto;
}


.ei-title {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 700;
  text-transform: none;
  color: #0f405d;
}


.ei-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ei-text);
}


.ei-text strong {
  font-weight: 700;
}


.ei-section .ei-title a,
.ei-section .ei-text a,
.ei-section .ei-title a:link,
.ei-section .ei-text a:link,
.ei-section .ei-title a:visited,
.ei-section .ei-text a:visited {
  color: inherit;
  text-decoration: underline;
}


.ei-section .ei-title a:hover,
.ei-section .ei-text a:hover,
.ei-section .ei-title a:active,
.ei-section .ei-text a:active,
.ei-section .ei-title a:focus,
.ei-section .ei-text a:focus {
  color: inherit;
  text-decoration: underline;
}


/* TABLET */
@media (max-width: 991px) {
  .ei-grid.is-3,
  .ei-grid.is-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* MOBILE */
@media (max-width: 640px) {
  .ei-section {
    padding: 28px 16px;
  }


  .ei-grid.is-3,
  .ei-grid.is-4 {
    grid-template-columns: 1fr;
    gap: 28px;
  }


  .ei-title {
    font-size: 17px;
  }


  .ei-text {
    font-size: 14px;
  }


  .ei-image-wrap {
    width: 104px;
    height: 104px;
    margin-bottom: 18px;
  }
}