.quicklookup {
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  width: 380px;
  max-width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #037338;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
}
.quicklookup a {
  text-decoration: none;
}
.quicklookup__header {
  position: relative;
  height: 274px;
  flex: 0 0 auto;
}
.quicklookup__photo {
  position: absolute;
  inset: 0 0 21px 0;
  border-radius: 16px 16px 0 0;
  background: url("/img/default_img/blocks/quicklookup/header-photo.png") center/cover no-repeat;
}
.quicklookup__logo {
  position: absolute;
  left: 110px;
  top: 30px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: url("/img/default_img/blocks/quicklookup/logo.png") center/cover no-repeat, #fff;
  box-shadow: 0 0 0 8px rgba(194, 213, 32, 0.36);
}
.quicklookup__caption {
  position: absolute;
  left: 0;
  right: 0;
  top: 198px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(1, 116, 53, 0) 0%, rgba(1, 116, 53, 0.8) 100%);
}
.quicklookup__title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  color: #fff;
}
.quicklookup__chevron {
  position: absolute;
  left: 50%;
  top: 252px;
  transform: translateX(-50%);
  width: 100px;
  height: 20px;
  color: #c8d95d;
  opacity: 0.9;
  line-height: 0;
}
.quicklookup__grid {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 24px 16px;
  align-content: space-between;
}

.ql-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 94px;
  padding: 16px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  text-align: center;
  cursor: pointer;
  transition: background 0.16s ease, transform 0.16s ease;
}
.ql-tile:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}
.ql-tile__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: #0d0d0d;
}
.ql-tile__icon img {
  width: 28px;
  height: 28px;
  -o-object-fit: contain;
     object-fit: contain;
}
.ql-tile__label {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  color: #fff;
  text-wrap: pretty;
}
.ql-tile__label-line {
  display: block;
}

.stats {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  background: rgb(246, 247, 244);
  border-radius: 8px;
  padding: 24px 30px;
}
.stats__item {
  display: flex;
  align-items: center;
  gap: 16px;
}
.stats__icon {
  width: 48px;
  height: 48px;
  flex: none;
  display: grid;
  place-items: center;
}
.stats__icon img {
  width: 48px;
  height: 48px;
  -o-object-fit: contain;
     object-fit: contain;
}
.stats__text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stats__value {
  font-weight: 700;
  font-size: 24px;
  color: #037338;
  line-height: 1.1;
}
.stats__label {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #333;
}

.quicklinks {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #e8f3e9;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
}
.quicklinks a {
  text-decoration: none;
}
.quicklinks__head {
  position: relative;
  height: 60px;
}
.quicklinks__photo {
  position: absolute;
  inset: 0;
  background: url("/img/default_img/social/sidebar-header.png") center 65%/cover no-repeat;
}
.quicklinks__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(1, 116, 53, 0) 0%, rgba(1, 116, 53, 0.8) 100%);
}
.quicklinks__title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
}
.quicklinks__ribbon {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 20px;
}
.quicklinks__ribbon img {
  width: 100%;
  display: block;
}
.quicklinks__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 40px 16px 20px;
  list-style: none;
  margin: 0;
}
.quicklinks__list li {
  padding: 0;
  margin: 0;
}

.qlink {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 12px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  text-decoration: none;
  transition: box-shadow 0.16s ease, transform 0.16s ease;
}
.qlink:hover {
  box-shadow: 0 6px 18px rgba(1, 116, 53, 0.16);
  transform: translateY(-1px);
}
.qlink__logo {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  background: #e8f3e9;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #017435;
}
.qlink__text {
  font-size: 16px;
  line-height: 1.4;
  color: #017435;
  text-wrap: pretty;
}

@media (max-width: 768px) {
  .stats {
    padding: 24px 50px;
    grid-template-columns: 1fr;
  }
  .stats__item {
    gap: 42px;
  }
  .quicklookup {
    width: 100%;
  }
  .quicklookup__header {
    height: 240px;
  }
  .quicklookup__logo {
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 140px;
  }
  .quicklookup__caption {
    top: 174px;
  }
  .quicklookup__chevron {
    top: 228px;
  }
}
@media screen and (min-width: 1200px) and (max-width: 1320px) {
  .stats {
    display: flex;
    justify-content: space-between;
  }
}
