.marketing-card-container {
  container-type: inline-size;
  width: 100%;
}

.marketing-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

.marketing-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.marketing-card__label {
  font-family: 'Lato', Helvetica, Arial, sans-serif;
  font-weight: 500;
  font-size: 12px;
  line-height: 18px;
  color: #404040;
}

.marketing-card__logo {
  display: block;
  width: 121px;
  height: 24px;
}

.marketing-card__divider {
  height: 1px;
  background: #d4d4d4;
  width: 100%;
}

.marketing-card__body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.marketing-card__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.marketing-card__title {
  font-family: 'Lato', Helvetica, Arial, sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: #171717;
  margin: 0;
}

.marketing-card__subtitle {
  font-family: 'Lato', Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #525252;
  margin: 0;
}

.marketing-card__actions {
  display: flex;
  align-items: flex-start;
}

.marketing-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 10px;
  background: #fafafa;
  border-radius: 4px;
  border: none;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.05),
    inset 0 0 0 1px rgba(0, 0, 0, 0.18),
    inset 0 -2px 0 0 rgba(0, 0, 0, 0.05);
  font-family: 'Lato', Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 20px;
  color: #404040;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.marketing-card__cta:hover {
  background: #f5f5f5;
  text-decoration: none;
  color: #404040;
}

.marketing-card__cta svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.marketing-card__disclaimer {
  font-family: 'Lato', Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 18px;
  color: #737373;
  margin: 0;
}

.marketing-card__disclaimer a {
  color: #737373;
  text-decoration: underline;
}

.marketing-card__disclaimer a:hover {
  color: #525252;
}

@container (min-width: 500px) {
  .marketing-card__body {
    flex-direction: row;
    align-items: center;
  }

  .marketing-card__text {
    flex: 1;
    min-width: 0;
  }

  .marketing-card__actions {
    flex-shrink: 0;
  }
}
