.ie-hameaux-widget {
  width: 100%;
}

.ie-hameaux-widget__heading {
  color: #2f3b52;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 2rem;
}

.ie-hameaux-widget__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.ie-hameaux-widget__card {
  align-items: center;
  background: #ffffff;
  border: 1px solid #e8edf3;
  border-radius: 16px;
  box-shadow: 0 8px 18px rgba(20, 39, 67, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 112px;
  padding: 1.5rem;
  text-align: center;
}

.ie-hameaux-widget__card-title {
  color: #2f3b52;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}

.ie-hameaux-widget__trigger {
  appearance: none;
  background: transparent;
  border: 0;
  color: #2f86c7;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  margin-top: 1rem;
  padding: 0;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.ie-hameaux-widget__trigger:hover,
.ie-hameaux-widget__trigger:focus {
  color: #246b9d;
  opacity: 1;
}

body.ie-hameaux-modal-open {
  left: 0;
  overflow: hidden;
  position: fixed;
  right: 0;
  width: 100%;
}

.ie-hameaux-popup[hidden] {
  display: none;
}

.ie-hameaux-popup {
  align-items: center;
  background: rgba(15, 23, 42, 0.45);
  display: flex;
  inset: 0;
  justify-content: center;
  opacity: 0;
  padding: 1.5rem;
  position: fixed;
  transition: opacity 0.18s ease;
  z-index: 99999;
}

.ie-hameaux-popup.is-open {
  opacity: 1;
}

.ie-hameaux-popup__dialog {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.18);
  max-height: calc(100vh - 3rem);
  max-width: 920px;
  overflow: auto;
  padding: 2rem;
  position: relative;
  width: min(100%, 920px);
}

.ie-hameaux-popup__close {
  appearance: none;
  background: #2f86c7;
  border: 0;
  border-radius: 12px;
  color: #ffffff;
  cursor: pointer;
  font-size: 1.75rem;
  height: 48px;
  line-height: 1;
  position: absolute;
  right: 1.5rem;
  top: 1.5rem;
  width: 48px;
}

.ie-hameaux-popup__title {
  color: #2f3b52;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 4rem 1.5rem 0;
}

.ie-hameaux-popup__content {
  color: #5c667a;
  font-size: 1rem;
  line-height: 1.8;
}

.ie-hameaux-popup__content > :first-child {
  margin-top: 0;
}

.ie-hameaux-popup__content > :last-child {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .ie-hameaux-widget__card {
    min-height: 0;
  }

  .ie-hameaux-widget__heading {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }

  .ie-hameaux-popup {
    padding: 1rem;
  }

  .ie-hameaux-popup__dialog {
    border-radius: 16px;
    max-height: calc(100vh - 2rem);
    padding: 1.5rem;
  }

  .ie-hameaux-popup__close {
    height: 42px;
    right: 1rem;
    top: 1rem;
    width: 42px;
  }

  .ie-hameaux-popup__title {
    font-size: 1.5rem;
    margin-right: 3.5rem;
  }
}

.ie-service-widget {
  width: 100%;
}

.ie-service-widget__link {
  color: inherit;
  display: block;
  height: 100%;
  text-decoration: none;
}

.ie-service-widget__link:hover,
.ie-service-widget__link:focus {
  color: inherit;
  text-decoration: none;
}

.ie-service-widget__card.card-icon {
  align-items: center;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 5px;
  box-shadow: 0 14px 25px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: flex-start;
  min-height: 260px;
  padding: 65px 25px 45px;
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.ie-service-widget--align-left .ie-service-widget__card {
  align-items: flex-start;
  text-align: left;
}

.ie-service-widget--align-center .ie-service-widget__card {
  align-items: center;
  text-align: center;
}

.ie-service-widget--align-right .ie-service-widget__card {
  align-items: flex-end;
  text-align: right;
}

.ie-service-widget__link--linked .ie-service-widget__card {
  cursor: pointer;
}

.ie-service-widget__card:hover,
.ie-service-widget__link:hover .ie-service-widget__card,
.ie-service-widget__link:focus .ie-service-widget__card {
  background: #fafafa;
}

.ie-service-widget__icon {
  align-items: center;
  background: #00d690;
  border-radius: 50%;
  box-shadow: 0 5px 11px rgba(0, 0, 0, 0.1);
  color: #ffffff;
  display: inline-flex;
  font-size: 26px;
  height: 70px;
  justify-content: center;
  margin-bottom: 30px;
  min-height: 70px;
  min-width: 70px;
  transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
  width: 70px;
}

.ie-service-widget__title {
  color: #333333;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 10px;
  text-transform: none;
}

.ie-service-widget__content {
  color: #777777;
  width: 100%;
}

.ie-service-widget__content p {
  margin: 0 0 1rem;
}

.ie-service-widget__content > :last-child,
.ie-service-widget__content > :last-child p:last-child {
  margin-bottom: 0;
}

.ie-blog-posts-widget {
  width: 100%;
}

.ie-blog-posts-widget__grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ie-blog-posts-widget__card {
  background: #fbfaf5;
  border: 1px solid rgba(50, 93, 56, 0.12);
  border-radius: 24px;
  box-shadow: 0 18px 36px rgba(50, 93, 56, 0.08);
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.ie-blog-posts-widget__media {
  background: linear-gradient(135deg, #c7d8f4 0%, #edf1dd 100%);
  display: block;
  height: 330px;
  overflow: hidden;
  text-decoration: none;
}

.ie-blog-posts-widget__media:hover,
.ie-blog-posts-widget__media:focus {
  text-decoration: none;
}

.ie-blog-posts-widget__media:hover .ie-blog-posts-widget__image,
.ie-blog-posts-widget__media:focus .ie-blog-posts-widget__image {
  transform: scale(1.04);
}

.ie-blog-posts-widget__image {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
  width: 100%;
}

.ie-blog-posts-widget__placeholder {
  display: block;
  height: 100%;
  width: 100%;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.65), transparent 36%),
    linear-gradient(135deg, rgba(129, 158, 112, 0.95), rgba(50, 93, 56, 0.9));
}

.ie-blog-posts-widget__body {
  align-items: center;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 22px;
  padding: 38px 30px 34px;
  text-align: center;
}

.ie-blog-posts-widget__meta {
  align-items: center;
  color: #cb9a3a;
  display: inline-flex;
  font-size: 16px;
  gap: 10px;
  line-height: 1.4;
}

.ie-blog-posts-widget__meta-icon {
  color: inherit;
  display: inline-flex;
  height: 18px;
  width: 18px;
}

.ie-blog-posts-widget__meta-icon svg {
  display: block;
  fill: currentColor;
  height: 100%;
  width: 100%;
}

.ie-blog-posts-widget__title {
  color: #1d2a1e;
  font-family: "Philosopher", Georgia, serif;
  font-size: clamp(28px, 2vw, 39px);
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  text-transform: none;
}

.ie-blog-posts-widget__title a {
  color: inherit;
  text-decoration: none;
}

.ie-blog-posts-widget__title a:hover,
.ie-blog-posts-widget__title a:focus {
  color: #325d38;
  text-decoration: none;
}

.ie-blog-posts-widget__excerpt {
  color: #5f6d61;
  font-size: 18px;
  line-height: 1.75;
  margin: 0;
  max-width: 30ch;
}

.ie-blog-posts-widget__actions {
  margin-top: auto;
  padding-top: 4px;
}

.ie-blog-posts-widget__button {
  align-items: center;
  background: #8ea879;
  border-radius: 6px;
  color: #fffdf8;
  display: inline-flex;
  gap: 10px;
  justify-content: center;
  min-width: 172px;
  padding: 18px 32px;
  text-decoration: none;
  transition: background-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.ie-blog-posts-widget__button:hover,
.ie-blog-posts-widget__button:focus {
  background: #325d38;
  box-shadow: 0 14px 28px rgba(50, 93, 56, 0.18);
  color: #fffdf8;
  text-decoration: none;
  transform: translateY(-2px);
}

.ie-blog-posts-widget__button-arrow {
  font-size: 18px;
  line-height: 1;
}

@media (max-width: 1024px) {
  .ie-blog-posts-widget__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .ie-blog-posts-widget__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ie-blog-posts-widget__media {
    height: 280px;
  }

  .ie-blog-posts-widget__body {
    gap: 18px;
    padding: 28px 22px 24px;
  }

  .ie-blog-posts-widget__title {
    font-size: 32px;
  }

  .ie-blog-posts-widget__excerpt {
    font-size: 17px;
  }
}