.attachment-widget {
  padding: 50px 0 54px;
  background: var(--white, #fff);
}

.attachment-widget__header {
  margin-bottom: 30px;
  text-align: center;
}

.attachment-widget__title {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.5px;
  color: #1d1a17;
}

.attachment-widget__divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  line-height: 0;
}

.attachment-widget__divider img {
  display: block;
  height: 18px;
  width: auto;
}

.attachment-widget__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}

.attachment-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--white, #fff);
  border: 1px solid #ececec;
  border-radius: 12px;
}

.attachment-card__top {
  position: relative;
  aspect-ratio: 4 / 1;
  overflow: hidden;
  background: repeating-linear-gradient(135deg, #e8772e 0 2px, #ef8540 2px 16px);
}

.attachment-card__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.attachment-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(20, 12, 4, 0.45), rgba(20, 12, 4, 0));
  pointer-events: none;
}

.attachment-card__icon {
  position: absolute;
  left: 22px;
  bottom: 16px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #e8772e;
}

.attachment-card__icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.attachment-card__icon svg {
  display: block;
  width: 22px;
  height: 22px;
  stroke: #e8772e;
}

.attachment-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 11px;
  padding: 24px 24px 26px;
}

.attachment-card__title {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.25;
  color: #1d1a17;
}

.attachment-card__description {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 14.5px;
  font-weight: 400;
  line-height: 1.55;
  color: #6b6760;
}

.attachment-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-top: 4px;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  color: #e8772e;
  text-decoration: none;
  transition: color 0.2s ease;
}

.attachment-card__btn-arrow {
  flex-shrink: 0;
}

.attachment-card__btn:hover,
.attachment-card__btn:focus-visible {
  color: #c9651f;
  text-decoration: none;
}

@media (min-width: 768px) {
  .attachment-widget__inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .attachment-widget__inner {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .attachment-widget {
    padding-top: 40px;
    padding-bottom: 44px;
  }

  .attachment-widget__title {
    font-size: 22px;
  }

  .attachment-card__icon {
    left: 18px;
  }

  .attachment-card__body {
    padding: 24px 20px 22px;
  }
}
